CN111641568B - Modular switch and network architecture - Google Patents
Modular switch and network architecture Download PDFInfo
- Publication number
- CN111641568B CN111641568B CN202010388031.4A CN202010388031A CN111641568B CN 111641568 B CN111641568 B CN 111641568B CN 202010388031 A CN202010388031 A CN 202010388031A CN 111641568 B CN111641568 B CN 111641568B
- Authority
- CN
- China
- Prior art keywords
- data
- unit
- destination address
- network
- data packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Abstract
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.
Description
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 and 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 arriving at 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, acquiring a destination address, finding an output port address to be sent through the lookup table, and then sending the packet out. As such, the store-and-forward scheme 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 switches maintain the same whole network information network topology and ensure that 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 data 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 to 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 the method is more suitable for 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 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-congestion 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 bus module receiving a task to cause a topology change. Taking limiting the transmission rate on a certain path as an example, the bus module receives a task to reduce the data transmission rate of the 8800 port of the switch to be below 500KB/s, at this time, the bus module invokes the speed control unit and the traffic monitoring unit, and after reducing the transmission rate for the corresponding port, the traffic monitoring unit is further used to determine 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 quantity 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 data flow of each network equipment port in a preset time period according to link rate among 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 in the whole network by adopting a final consistency algorithm so as to ensure that the switches maintain the same whole network information network topology, and the bus module is used for analyzing corresponding service functions according to service requirements and scheduling the calculation module and the transmission module according to the service functions, so that a high-dynamic, large-scale and low-delay satellite network can be well processed, the functions are modularized, new functions 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.
Claims (5)
1. A modular switch, comprising a control layer and a data layer, wherein the control layer comprises a bus module, a calculation 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 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 items and informing all distributed switches of 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 data 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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010388031.4A CN111641568B (en) | 2020-05-09 | 2020-05-09 | Modular switch and network architecture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010388031.4A CN111641568B (en) | 2020-05-09 | 2020-05-09 | Modular switch and network architecture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111641568A CN111641568A (en) | 2020-09-08 |
CN111641568B true CN111641568B (en) | 2022-09-06 |
Family
ID=72331868
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010388031.4A Active CN111641568B (en) | 2020-05-09 | 2020-05-09 | Modular switch and network architecture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111641568B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6141344A (en) * | 1998-03-19 | 2000-10-31 | 3Com Corporation | Coherence mechanism for distributed address cache in a network switch |
US6501761B1 (en) * | 1999-02-25 | 2002-12-31 | Fairchild Semiconductor Corporation | Modular network switch with peer-to-peer address mapping communication |
CN101009628A (en) * | 2007-01-09 | 2007-08-01 | 杭州华为三康技术有限公司 | Update method and device for multicast list in the change of switching network topology |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10301265A1 (en) * | 2003-01-15 | 2004-07-29 | Siemens Ag | Data packet routing method for packet-oriented data network using routing table for providing alternate transmission paths for each data packet target address |
CN101136730A (en) * | 2007-10-19 | 2008-03-05 | 武汉烽火网络有限责任公司 | Credible synchronization method of distributed network equipment |
CN103684848B (en) * | 2013-10-24 | 2018-01-05 | 浙江中控研究院有限公司 | A kind of non-management type industrial ethernet switch automatically configured and its implementation |
CN104980373B (en) * | 2014-04-04 | 2018-06-19 | 上海宽带技术及应用工程研究中心 | A kind of system and method for controlling server and its application |
CN107770062A (en) * | 2016-08-16 | 2018-03-06 | 北京金山云网络技术有限公司 | A kind of data packet sending method, device and the network architecture |
-
2020
- 2020-05-09 CN CN202010388031.4A patent/CN111641568B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6141344A (en) * | 1998-03-19 | 2000-10-31 | 3Com Corporation | Coherence mechanism for distributed address cache in a network switch |
US6501761B1 (en) * | 1999-02-25 | 2002-12-31 | Fairchild Semiconductor Corporation | Modular network switch with peer-to-peer address mapping communication |
CN101009628A (en) * | 2007-01-09 | 2007-08-01 | 杭州华为三康技术有限公司 | Update method and device for multicast list in the change of switching network topology |
Non-Patent Citations (1)
Title |
---|
交换机原理及应用;吕斌;《电脑知识与技术》;20090405(第10期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111641568A (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108777633B (en) | Intention pattern type industrial SDN northbound interface system supporting data scheduling and interaction method | |
CN107347198B (en) | Speed limiting method, speed limiting control node and speed limiting equipment | |
EP1172973B1 (en) | Improved internet protocol packet router | |
JP2002532002A (en) | Telecommunications conference system and method | |
CN101820435A (en) | Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system | |
CN111555974B (en) | Data packet processing method and device, terminal equipment and storage medium | |
US20190238949A1 (en) | Multicast service providing method and software defined networking controller | |
CN105721328B (en) | VRRP load balancing method, device and router | |
CN103281257A (en) | Method and device for processing protocol message | |
CN111478793B (en) | Service request processing method and device, terminal equipment and storage medium | |
CN111641568B (en) | Modular switch and network architecture | |
JP2002531964A (en) | A method for reliably transmitting on-time packets containing time-sensitive data | |
CN111740922B (en) | Data transmission method, device, electronic equipment and medium | |
JP2002532004A (en) | Telecommunications apparatus and method for packet transmission using individual collision domains | |
KR20140039014A (en) | Switch migration method for software-defined-networks with a plurality of controllers | |
CN106533771B (en) | Network equipment and control information transmission method | |
CN106254267B (en) | Data forwarding path adjusting method and gateway equipment | |
CN116455817A (en) | Software-defined cloud network fusion architecture and route implementation method | |
CN102694734A (en) | Multicasting method of double-layer switching equipment based on Linux kernel bridge | |
CN113489613B (en) | Message forwarding method and device | |
CN106131914B (en) | Service request processing method and processing device | |
JP2011114632A (en) | Band control system, load distribution device, and band control device | |
EP3985991A1 (en) | Bandwidth assignment method and apparatus, and bandwidth check method and apparatus | |
CN111294406B (en) | Software defined network controller hybrid mapping method | |
KR101544592B1 (en) | Dynamic Queue Allocation Scheme Method and Apparatus for High Availability Distributed Embedded Network Transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |