Modular switch and network architecture

文档序号:1231348 发布日期:2020-09-08 浏览:10次 中文

阅读说明:本技术 一种模块化交换机及网络架构 (Modular switch and network architecture ) 是由 贾成刚 国晓博 任智源 李春风 程文驰 齐忠杰 于 2020-05-09 设计创作,主要内容包括:本发明公开的模块化交换机,涉及网络技术领域,包括控制层和数据层,所述控制层包括总线模块、计算模块、传输模块,其中,计算模块包括路由寻址单元、同步单元及流量监控单元,其中,路由寻址单元用于对收到的数据包进行解析,得到数据包的目的地址并判断目的地址是否存在于流表集中,若是,则传输数据包,若否,则对目的地址进行广播寻址,得到目的地址的路径信息,流量监控单元用于根据网络设备间的链路速率,确定预设时间段内各个网络设备端口的数据流量,传输模块包括流表生成单元及数据校验单元,能够较好地处理高动态、大规模、低时延的卫星网络,功能模块化,可以迅速部署新的功能,可扩展性强。(The invention discloses a modularized switch, which relates to the technical field of networks and comprises a control layer and a data layer, wherein the control layer comprises a bus module, a calculation module and a transmission module, the calculation module comprises a route addressing unit, a synchronization unit and a flow monitoring unit, the route addressing unit is used for analyzing a received data packet to obtain a destination address of the data packet and judging whether the destination address exists in a flow table set or not, if so, the data packet is transmitted, if not, the destination address is broadcast addressed to obtain path information of the destination address, the flow monitoring unit is used for determining the data flow of each network equipment port in a preset time period according to the link rate among network equipment, the transmission module comprises a flow table generation unit and a data verification unit, and can better process a satellite network with high dynamic, large scale and low time delay, the functions are modularized, new functions can be rapidly deployed, and the expandability is strong.)

1. A modular switch comprising a control layer and a data layer, wherein the control layer comprises a bus module, a computation module, and a transmission module, wherein:

the calculation module comprises a route addressing unit, a synchronization unit and a flow monitoring unit, wherein,

the routing and addressing unit is used for analyzing the received data packet to obtain a destination address of the data packet and judging whether the destination address exists in a flow table set or not, if so, the data packet is transmitted, and if not, the destination address is subjected to broadcast addressing to obtain path information of the destination address;

the information synchronization unit is used for monitoring whether the topological structure is changed or not, and if the topological structure is changed, rewriting corresponding flow table entries and informing all distributed switches in the whole network;

the flow monitoring unit is used for determining the data flow of each network equipment port in a preset time period according to the link rate among the network equipment;

the transmission module comprises a flow table generating unit and a data checking unit, wherein:

the flow table generating unit is used for generating a flow table and issuing the flow table;

the data checking unit is used for checking the consistency of the data on each distributed switch in the whole network by adopting a final consistency algorithm so as to ensure that the same whole network information network topology is maintained by each switch and the data can be correctly transmitted;

and the bus module is used for analyzing the corresponding service function according to the service requirement and scheduling the calculation module and the transmission module according to the service function.

2. The modular switch as recited in claim 1, wherein the compute module further comprises:

and the path planning unit is used for planning an optimal path for the data packet according to the source address and the destination address of the data packet, and ensuring that the data packet accurately and quickly reaches the destination.

3. The modular switch as recited in claim 1, wherein the transport module further comprises:

and the service quality guarantee unit is used for allocating and scheduling resources according to the requirements of the users and providing different service qualities for different data streams.

4. The modular switch as recited in claim 1, wherein the transport module further comprises:

and the speed control unit is used for controlling the data input speed and the data output speed of the network equipment according to the quantity and the flow of each network equipment port.

5. A network architecture based on a modular switch according to any of claims 1-4, characterized in that it comprises a physical device layer consisting of a plurality of terminals and a network management layer consisting of a plurality of modular switches.

Technical Field

The invention relates to the technical field of networks, in particular to a modular switch and a network architecture.

Background

With the continuous development of network technology, the complexity of the network is continuously improved, the task content processed by the network is more and more complex, and the existing network architecture is more and more unconscious when aiming at a large-scale, high-dynamic and low-delay network, so that a novel switch aiming at the large-scale, high-dynamic and low-delay network needs to be designed, so that the novel switch can be better adapted to some special large-scale, high-dynamic and low-delay network application scenes.

The traditional switch has three data packet switching modes, namely a direct connection mode, a storage forwarding mode and a free segmentation mode.

When the through switch detects a data packet through the input port of the Ethernet switch in the through switching mode, the header of the data packet is checked to obtain the destination address of the data packet, an internal dynamic lookup table is started to be converted into a corresponding output port, the input port and the output port are connected at the intersection, and the data packet is directly connected to the corresponding port, so that the switching function is realized.

The storage forwarding is one of the most widely used technologies in the field of computer networks, and a controller of an ethernet switch firstly caches data packets coming from an input port, firstly checks whether the data packets are correct, and filters out conflicting data packets. And after the data packet is determined to be correct, the destination address is obtained, the output port address which is to be sent is found through the lookup table, and then the packet is sent out. As such, the store-and-forward method has a large delay in data processing, which is a disadvantage, but it can perform error detection on a packet entering the switch.

A free-segment switch is a switch between a pass-through switch and a store-and-forward switch. Before forwarding, the method checks whether the length of a data packet is enough to 64 bytes (512 bits), and if the length of the data packet is less than 64 bytes, the data packet is discarded if the data packet is a false packet; if it is larger than 64 bytes, the packet is transmitted. The data processing speed of this method is faster than the store-and-forward method, but slower than the pass-through method.

Disclosure of Invention

To overcome the deficiencies of the prior art, embodiments of the present invention provide a modular switch and a network architecture.

In a first aspect, a modular switch provided in an embodiment of the present invention includes: control layer and data layer, the control layer includes bus module, calculation module, transmission module, wherein:

the calculation module comprises a route addressing unit, a synchronization unit and a flow monitoring unit, wherein,

the routing and addressing unit is used for analyzing the received data packet to obtain a destination address of the data packet and judging whether the destination address exists in a flow table set or not, if so, the data packet is transmitted, and if not, the destination address is subjected to broadcast addressing to obtain path information of the destination address;

the information synchronization unit is used for monitoring whether the topological structure is changed or not, and if the topological structure is changed, rewriting corresponding flow table entries and informing all distributed switches in the whole network;

the flow monitoring unit is used for determining the data flow of each network equipment port in a preset time period according to the link rate among the network equipment;

the transmission module comprises a flow table generating unit and a data checking unit, wherein:

the flow table generating unit is used for generating a flow table and issuing the flow table;

the data checking unit is used for checking the consistency of the data on each distributed switch in the whole network by adopting a final consistency algorithm so as to ensure that the same whole network information network topology is maintained by each switch and the data can be correctly transmitted;

and the bus module is used for analyzing the corresponding service function according to the service requirement and scheduling the calculation module and the transmission module according to the service function.

Preferably, the flow rate monitoring unit is further configured to monitor an input speed and an output speed of the data and limit the input speed and the output speed of the data.

Preferably, the calculation module further comprises:

and the path planning unit is used for planning an optimal path for the data packet according to the source address and the destination address of the data packet, and ensuring that the data packet accurately and quickly reaches the destination.

Preferably, the transmission module further includes:

and the speed control unit is used for controlling the data input speed and the data output speed of the network equipment according to the quantity and the flow.

Preferably, the transmission module further includes:

and the service quality guarantee module is used for allocating and scheduling resources according to the requirements of the users and providing different service qualities for different data streams.

In a second aspect, an embodiment of the present invention provides a network architecture based on the modular switch in the first aspect, which includes a physical device layer composed of multiple terminals and a network management layer composed of multiple modular switches.

The modular switch provided by the embodiment of the invention has the following beneficial effects:

(1) adapting high dynamic networks

Due to the distributed characteristic, the new node is simpler and faster to access the network, so that the method has strong adaptability to a high-dynamic network.

(2) Adapting to large-scale networks

Because the addressing algorithm of the routing addressing unit is improved and the information synchronization unit is added, the routing addressing does not generate a large amount of repeated packets to occupy network resources like the traditional network, and is more suitable for a large-scale network environment.

(3) Link utilization may be increased

Through the speed control unit and the flow monitoring unit, each modular switch can monitor the state of the link connected with the modular switch in real time, when congestion or damage occurs, the bus module can call the QOS module, and the routing addressing unit searches a non-congested suboptimal link for data or quickly searches a new path for a broken data link.

(4) Strong expandability

Since the functions of the modular switch are modular, new functions can be more easily and efficiently deployed on the modular switch by taking advantage of the status of the bus modules in commanding the modular switch to invoke.

Drawings

Fig. 1 is a schematic structural diagram of a modular switch provided in an embodiment of the present invention;

fig. 2 is a network architecture based on modular switches according to an embodiment of the present invention.

Detailed Description

The invention is described in detail below with reference to the figures and the embodiments.

As shown in fig. 1, a modular switch provided in an embodiment of the present invention includes a control layer and a data layer, where the control layer includes a bus module, a computation module, and a transmission module, where:

the calculation module comprises a route addressing unit, a synchronization unit and a flow monitoring unit, wherein,

the route addressing unit is used for analyzing the received data packet to obtain a destination address of the data packet and judging whether the destination address exists in the flow table set, if so, the data packet is transmitted, and if not, the destination address is subjected to broadcast addressing to obtain path information of the destination address.

The information synchronization unit is used for monitoring whether the topological structure is changed or not, and if the topological structure is changed, rewriting the corresponding flow table entry and informing each distributed switch in the whole network.

When some equipment changes (on line or off line), the corresponding switch will find the situation, and it will update the routing table maintained in its own and trigger the information synchronization unit to synchronize the information to other switches in the whole network.

The flow monitoring unit is used for determining the data flow of each network equipment port in a preset time period according to the link rate among the network equipment and determining the flow according to the quantity.

The transmission module comprises a flow table generating unit and a data checking unit, wherein:

the flow table generating unit is used for generating a flow table and issuing the flow table.

The data checking unit is used for checking the consistency of the data on each distributed switch in the whole network by adopting a final consistency algorithm so as to ensure that the same whole network information network topology is maintained by each switch and the data can be correctly transmitted.

When the network situation dynamics is strong, a plurality of terminal devices can change, so that a plurality of distributed switches simultaneously initiate synchronous requests, and the problem of data synchronization consistency is caused. In order to ensure that each switch maintains the same whole network node information table and prevent different whole network node information tables from appearing among the switches, the updated data is synchronously checked. The checking algorithm adopts a final consistency algorithm, namely consistency checking frequency is related to network situation, and when the network dynamic is not strong, the consistency checking frequency is reduced; when the network dynamics is large, it indicates that the network is changed drastically, and if the frequency of data consistency check is not increased, it is difficult to ensure the consistency of data on different switches. The content of the synchronization request is the changing network topology information.

The bus module is used for analyzing the corresponding service function according to the service requirement and scheduling the calculation module and the transmission module according to the service function.

The bus module is a module for keeping monitoring state for the incoming and outgoing data packets and the incoming and outgoing tasks, and is used as a function center of the whole modularized switch to call and organize each function module, and the bus module predefines module calling methods of various service types.

The bus module processes two kinds of information, namely control information and transmission information.

Control information may be understood as the task that the bus module receives to cause a topology change. Taking limiting the transmission rate on a certain path as an example, the bus module receives a task, so that the data transmission rate of the 8800 port of the switch is reduced to be below 500KB/s, at this time, the bus module calls the speed control unit and the traffic monitoring unit, and after the transmission rate is reduced for the corresponding port, the traffic monitoring unit is further used for confirming whether the transmission rate reaches the standard.

The transmission information can be understood as a task that the service bus receives a transmission data packet, the bus module firstly calls the routing addressing unit, firstly looks up a destination address of the data packet, inquires the flow table set to determine whether the destination address exists in the flow table set, and if the destination address exists in the flow table set, calls the flow table generation and issuing module to directly issue a corresponding flow table to start transmission. If the flow table set does not contain the flow table item of the destination address, the routing addressing unit is used for broadcasting and addressing the destination address to obtain the path information of the destination address, and the path information is delivered to the information synchronization unit to inform the whole network and then delivered to the flow table generation unit to issue the flow table for transmission.

Optionally, the calculation module further includes a path planning unit, configured to plan an optimal path for the data packet according to the source address and the destination address of the data packet, so as to ensure that the data packet accurately and quickly reaches the destination.

Optionally, the transmission module further includes a speed control unit, configured to control a data input speed and a data output speed of the network device according to the volume flow.

As a specific example, when the rate of a communication link suddenly increases, to avoid congestion, the rate of the output port of the corresponding network device is increased by decreasing the QOS value of the port of the corresponding network device and increasing the QOS value of the port of the corresponding network device.

Optionally, the transmission module further includes a quality of service guarantee module, configured to allocate and schedule resources according to a requirement of a user, and provide different quality of service for different data streams.

As a specific embodiment, the modular switch provided in the embodiment of the present invention utilizes raspberry pi 3 generation as a node in a topology, deploys a Docker simulation switch on the node and builds a distributed modular switch controller, so as to simulate a real large-scale, high-dynamic, low-latency network data transmission and switch modular control process.

The modular switch provided by the embodiment of the invention comprises a control layer and a data layer, wherein the control layer comprises a bus module, a calculation module and a transmission module, the calculation module comprises a route addressing unit, a synchronization unit and a flow monitoring unit, the route addressing unit is used for analyzing a received data packet, obtaining a destination address of the data packet and judging whether the destination address exists in a flow table set or not, if so, the data packet is transmitted, if not, the destination address is broadcast addressed to obtain path information of the destination address, the information synchronization unit is used for monitoring whether a topological structure is changed or not, and if so, a corresponding flow table entry is rewritten and each distributed switch in the whole network is notified; the flow monitoring unit is used for determining the data flow of each network equipment port in a preset time period according to the link rate among the network equipment, the transmission module comprises a flow table generating unit and a data checking unit, wherein the flow table generating unit is used for generating a flow table and issuing the flow table, the data checking unit is used for checking the consistency of data on each distributed switch of the whole network by adopting a final consistency algorithm so as to ensure that the same whole network information network topology is maintained by each switch, the data can be correctly transmitted, the bus module is used for analyzing the corresponding service function according to the service requirement and scheduling the calculation module and the transmission module according to the service function, the satellite network with high dynamic, large scale and low time delay can be better processed, the function is modularized, a new function can be rapidly deployed, and the expandability is strong.

An embodiment of the present invention further provides a network architecture based on modular switches, as shown in fig. 2, the network architecture includes a physical device layer composed of multiple terminals and a network management layer composed of multiple modular switches.

In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

It will be appreciated that the relevant features of the method and apparatus described above are referred to one another.

It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.

The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种变电站通信系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!