CN108199976A - Switching equipment, exchange system and the data transmission method for uplink of RapidIO networks - Google Patents

Switching equipment, exchange system and the data transmission method for uplink of RapidIO networks Download PDF

Info

Publication number
CN108199976A
CN108199976A CN201711469173.8A CN201711469173A CN108199976A CN 108199976 A CN108199976 A CN 108199976A CN 201711469173 A CN201711469173 A CN 201711469173A CN 108199976 A CN108199976 A CN 108199976A
Authority
CN
China
Prior art keywords
switching equipment
data frame
phy module
physical port
physical
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.)
Granted
Application number
CN201711469173.8A
Other languages
Chinese (zh)
Other versions
CN108199976B (en
Inventor
陶常勇
刘勤让
沈剑良
宋克
吕平
杨镇西
朱珂
汪欣
谭力波
付豪
张楠
陈艇
黄雅静
李沛杰
张帆
李宏
刘长江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TIANJIN XINHAICHUANG TECHNOLOGY Co.,Ltd.
Original Assignee
Tianjin Binhai New Area Information Technology Innovation Center
Tianjin Core Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tianjin Binhai New Area Information Technology Innovation Center, Tianjin Core Technology Co Ltd filed Critical Tianjin Binhai New Area Information Technology Innovation Center
Priority to CN201711469173.8A priority Critical patent/CN108199976B/en
Publication of CN108199976A publication Critical patent/CN108199976A/en
Application granted granted Critical
Publication of CN108199976B publication Critical patent/CN108199976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction

Abstract

The present invention provides a kind of switching equipment, exchange system and the data transmission method for uplink of RapidIO networks;Wherein, virtual phy module is connect respectively with multiple physical ports;Multiple physical ports are connect with same external switching equipment;Switching matrix receives data flow, and data flow is sent to virtual phy module;When virtual phy module receives data flow, physical port is chosen according to the residual caching capacity of multiple physical ports, the data frame in data flow is distributed to the physical port of selection;Physical port receives the data frame of virtual phy module assignment, transmission data frame.The present invention is used by setting virtual phy module that can bundle multiple physical ports, data frame is dynamically distributed between multiple physical ports according to residual caching capacity, realize the load balancing of redundant link between switching equipment, so as to reduce the probability that communication bandwidth obstruction occurs for RapidIO networks, network stabilization and reliability are improved.

Description

Switching equipment, exchange system and the data transmission method for uplink of RapidIO networks
Technical field
The present invention relates to RapidIO technical fields, more particularly, to a kind of switching equipment of RapidIO networks, exchange system System and data transmission method for uplink.
Background technology
RapidIO has high bandwidth, low delay, high efficiency, high reliability etc. as a kind of embedded system interconnection technique Advantage can provide good solution for high performance embedded system intraconnection.The physical layer of RapidIO has realized Kind flow-control mechanism so that the physical layer of entire RapidIO networks both can guarantee that RapidIO data frames will not be abandoned arbitrarily, It can guarantee that each data frame in same data flow does not change in the sequencing after RapidIO forwardeds again, embody The characteristics of going out RapidIO network high reliability.As the scale of RapidIO networks is increasing, bandwidth demand is higher and higher, group It is easy to generate the choke point of bandwidth during net.In the prior art, to solve the problems, such as bandwidth bottleneck, there are two types of following manner:
The agreement regulation of 2.2 version of first, RapidIO, the port width of RapidIO can support 1x, 2x, 4x, 8x with And up to the operating mode of 16x, port speed can support 1.25G, 2.5G, 5G and the up to operating mode of 6.25G, The bandwidth of port can be promoted by the port width and port speed that increase RapidIO;Which can be delayed to a certain extent The influence that solution network bandwidth bottleneck is brought, however this mode has the disadvantage that:RapidIO port widths cannot be unlimited It improves, when port width as defined in RapidIO agreements is more than 1, needs to realize link alignment with tying up on the data path of bottom Fixed operation, with being gradually increased for port width, the offset (skew) between each link of same port becomes difficult to eliminate.Separately Outside, the raising that RapidIO port speeds cannot be unlimited, higher port speed, it is meant that the physical medium connection of physical layer (PMA) design can be more complicated, and when hardware design needs to consider the influence of dispersion, crosstalk, attenuation etc..
Second, by adjusting group network topological structure and route table items, the business of high bandwidth is split to other network roads On diameter, network bottleneck can also be solved the problems, such as;Such as an independent control plane is designed over the entire network, it can realize The bandwidth bottleneck point of network is redistributed and is utilized;This mode has the disadvantage that:The change cost of network topology is too high, and one A network once builds completion, and network topology is with regard to substantially stationary, once network topology changes, it is meant that in whole network All nodes being related to are required for changing, and under certain application scenarios, this can hardly be realized.In which, network bandwidth Distribution is rigid, such as to realize that elasticity is adaptive, need the participation of extremely complex control plane.RapidIO agreements regulation, Data flow with same source ID, purpose ID and priority cannot be out of order in transmission process, also means that same number It need to be forwarded according to RapidIO data frames all in stream according to same network path.If necessary to realize the business of high bandwidth It is split on other network paths, it is meant that this fractionation is a kind of rigid fractionation, it is assumed that the required bandwidth of the business is Dynamic change, for example, certain a period of time the business bandwidth be lower, then it is vacant out bandwidth can only also slattern.
In conclusion it is higher for the probability that communication bandwidth obstruction occurs in existing RapidIO networks, cause network steady The problem of qualitative and reliability is poor, not yet proposes effective solution.
Invention content
In view of this, the purpose of the present invention is to provide a kind of switching equipment, exchange system and the data of RapidIO networks Sending method to reduce the probability that communication bandwidth obstruction occurs for RapidIO networks, improves network stabilization and reliability.
In a first aspect, an embodiment of the present invention provides a kind of switching equipment of RapidIO networks, it is provided on switching equipment Switching matrix, virtual phy module and multiple physical ports;Switching matrix is connect with virtual phy module;Virtual phy Module is connect respectively with multiple physical ports;Multiple physical ports are connect with same external switching equipment;Switching matrix is used for Data flow is received, data flow is sent to virtual phy module;Virtual phy module is used for upon receiving the data stream, root Physical port is chosen according to the residual caching capacity of multiple physical ports, the data frame in data flow is distributed to the physics end of selection Mouthful;Physical port is used to receive the data frame of virtual phy module assignment, transmission data frame.
With reference to first aspect, an embodiment of the present invention provides the first possible embodiment of first aspect, wherein, on It states virtual phy module and includes sequence identification device;Sequence identification device is used to distribute to corresponding physical port when each data frame When, the allocation order number of data frame is recorded, in transmission data frame to the physical port chosen, carries allocation order number.
The possible embodiment of with reference to first aspect the first, an embodiment of the present invention provides second of first aspect Possible embodiment, wherein, above-mentioned physical port includes sequentially connected cache module, physical layer block and receives and dispatches at a high speed Device;Cache module is connect with virtual phy module;Routing table is preserved in physical layer block;High-speed transceiver is exchanged with outside Equipment connects.
Second of possible embodiment with reference to first aspect, an embodiment of the present invention provides the third of first aspect Possible embodiment, wherein, the frame that above-mentioned physical layer block is used to allocation order number being added to data frame originates command character In Cmd fields in.
The third possible embodiment with reference to first aspect, an embodiment of the present invention provides the 4th kind of first aspect Possible embodiment, wherein, above-mentioned physical layer block is additionally operable to work as receives same external exchange by multiple physical ports During the data flow that equipment is sent, the allocation order number of each data frame in data flow is extracted from Cmd fields, by data frame and right The allocation order number answered is sent to virtual phy module;Virtual phy module is additionally operable to arrange data according to allocation order number Data frame after sequence is sent to switching matrix by frame.
Second aspect, an embodiment of the present invention provides a kind of exchange system of RapidIO networks, which includes at least two A above-mentioned switching equipment;Multiple physical ports on first switching equipment respectively with physical ports one multiple on the second switching equipment One is correspondingly connected with.
With reference to second aspect, an embodiment of the present invention provides the first possible embodiment of second aspect, wherein, on It states the physical port on the first switching equipment and is exchanged by optical fiber, coaxial cable, twisted-pair feeder or backboard PCB trace with second and set Standby corresponding physical port connection.
With reference to second aspect, an embodiment of the present invention provides second of possible embodiment of second aspect, wherein, on It states system and includes multiple switching equipment and multiple endpoint devices.
The third aspect, an embodiment of the present invention provides a kind of data transmission method for uplink of RapidIO networks, method is applied to upper State switching equipment;Method includes:Switching matrix receives data flow, and data flow is sent to virtual phy module;Physical vlan Layer module chooses physical port upon receiving the data stream, according to the residual caching capacity of multiple physical ports, will be in data flow Data frame distribute to the physical port of selection;Physical port receives the data frame of virtual phy module assignment, transmission data Frame.
With reference to the third aspect, an embodiment of the present invention provides the first possible embodiment of the third aspect, wherein, on It states virtual phy module and includes sequence identification device;Method further includes:When each data frame is distributed to corresponding physical port, Sequence identification device records the allocation order number of data frame, in transmission data frame to the physical port chosen, carries allocation order Number.
The embodiment of the present invention brings following advantageous effect:
An embodiment of the present invention provides a kind of switching equipment, exchange system and the data transmission method for uplink of RapidIO networks, empty Intend physical layer block to connect respectively with multiple physical ports;Multiple physical ports are connect with same external switching equipment;Virtually When physical layer block receives the data flow of switching matrix transmission, physics is chosen according to the residual caching capacity of multiple physical ports Port distributes the data frame in data flow to the physical port of selection;The physical port receives virtual phy module assignment Data frame, transmission data frame;In this mode, made by setting virtual phy module that can bundle multiple physical ports With dynamically distributing data frame between multiple physical ports according to residual caching capacity, realize redundant link between switching equipment Load balancing, so as to reduce the probability that communication bandwidth obstruction occurs for RapidIO networks, improve network stabilization and reliable Property.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims And specifically noted structure is realized and is obtained in attached drawing.
For the above objects, features and advantages of the present invention is enable to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution of the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is a kind of partial structural diagram of RapidIO networks provided in an embodiment of the present invention;
Fig. 2 is the structure diagram of the switching equipment of the first RapidIO network provided in an embodiment of the present invention;
Fig. 3 is the structure diagram of the switching equipment of second of RapidIO networks provided in an embodiment of the present invention;
Fig. 4 is that the switching equipment provided in an embodiment of the present invention using RapidIO networks carries out what data sent and received Schematic diagram;
Fig. 5 is the structure diagram of the exchange system of the first RapidIO network provided in an embodiment of the present invention;
Fig. 6 is the structure diagram of the exchange system of second of RapidIO networks provided in an embodiment of the present invention;
Fig. 7 is a kind of flow chart of the data transmission method for uplink of RapidIO networks provided in an embodiment of the present invention.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiment be part of the embodiment of the present invention rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Lower all other embodiments obtained, shall fall within the protection scope of the present invention.
A kind of partial structural diagram of RapidIO networks shown in Figure 1;As RapidIO network sizes are more next Bigger, networking structure also becomes increasingly complex, and leads to easily occur bandwidth choke point in networking structure;Networking knot as shown in Figure 1 In structure, the number of 5 responsible EP (Endpoint, endpoint device) 1 of SW (Switch, switching equipment), EP2, EP3, EP4 and external equipment According to transmission;SW6 is responsible for the data transmission of EP5, EP6, EP7, EP8 and external equipment;Therefore, it is readily become between SW5 and SW6 Bandwidth choke point becomes the bandwidth bottleneck of the RapidIO networks.
In view of in existing RapidIO networks occur communication bandwidth obstruction probability it is higher, cause network stabilization and The problem of reliability is poor, an embodiment of the present invention provides a kind of switching equipment of RapidIO networks, exchange system and data hairs Delivery method;The technology can be applied in RapidIO networks, between the network node that bandwidth obstruction easily occurs, to solve network In bandwidth bottleneck;The technology can also be applied in other internet, have in the scene for solving bandwidth bottleneck demand.This Relevant software or hardware realization may be used in invention, is described below by embodiment.
Embodiment one:
The structure diagram of the switching equipment of the first RapidIO network shown in Figure 2;It is set on the switching equipment There are switching matrix 10, virtual phy module 11 and multiple physical ports;Switching matrix 10 is connect with virtual phy module 11; Virtual phy module 11 is connect respectively with multiple physical ports;Multiple physical ports are connect with same external switching equipment;
It is illustrated so that virtual phy module 11 is connect respectively with two physical ports as an example in Fig. 2, respectively physics Port 12 and physical port 13;In the present embodiment, the physical port particular number of a virtual phy module connection does not limit It is fixed, but in general, multiple physical ports of same virtual phy module connection are connect with same external switching equipment.
Data flow is sent to virtual phy module 11 by above-mentioned switching matrix 10 for receiving data flow;The virtual object Layer module 11 is managed for upon receiving the data stream, physical port being chosen according to the residual caching capacity of multiple physical ports, it will Data frame in data flow is distributed to the physical port of selection;The physical port is used to receive the number of virtual phy module assignment According to frame, transmission data frame.
For example, the data flow that switching matrix is sent to virtual phy module includes multiple data frames, in general, same data Data frame in stream has identical source ID (Identification, identity), purpose ID and priority;With a data For stream includes 10 data frames, the remaining cache of above-mentioned virtual phy module monitors physical port 12 and physical port 13 holds Amount, the residual caching capacity can be the quantity of remaining data block (block) in caching;If the remaining cache of physical port 12 Capacity is more, and the residual caching capacity of physical port 13 is less, illustrates that physical port 12 is more idle, and physical port 13 is more busy It is commonplace;At this point, virtual phy module can only choose physical port 12,10 data frames are all distributed to physical port 12; The virtual phy module can also choose physical port 12 and physical port 13, specific remaining slow according to two physical ports It deposits capacity and 10 data frames is respectively allocated to physical port 12 and physical port 13, for example, physical port 12 distributes 7 data Frame, physical port 13 distribute 3 data frames.
Since multiple physical ports of a virtual phy module connection are connect with same external switching equipment, pass through Multiple physical ports send a data flows or the physical port transmission data stream for selecting residual caching capacity more, can be with It avoids a certain physical port data volume excessive, network bandwidth obstruction occurs.
An embodiment of the present invention provides a kind of switching equipment of RapidIO networks, virtual phy module and multiple physics Port connects respectively;Multiple physical ports are connect with same external switching equipment;Virtual phy module receives exchange square During the data flow that paroxysm is sent, physical port is chosen according to the residual caching capacity of multiple physical ports, by the data in data flow Frame is distributed to the physical port of selection;The physical port receives the data frame of virtual phy module assignment, transmission data frame;This In kind mode, used by setting virtual phy module that can bundle multiple physical ports, existed according to residual caching capacity Data frame is dynamically distributed between multiple physical ports, realizes the load balancing of redundant link between switching equipment, so as to reduce The probability of communication bandwidth obstruction occurs for RapidIO networks, improves network stabilization and reliability.
Embodiment two:
The structure diagram of the switching equipment of second of RapidIO network shown in Figure 3;The switching equipment is being implemented It is realized on the basis of the switching equipment provided in example one;Switching matrix 10, virtual phy module are provided on the switching equipment 11 and multiple physical ports;Switching matrix 10 is connect with virtual phy module 11;Virtual phy module 11 and multiple physics Port connects respectively;Multiple physical ports are connect with same external switching equipment;
Further, above-mentioned virtual phy module includes sequence identification device 110;The sequence identification device 110 is used for when every When a data frame is distributed to corresponding physical port, the allocation order number of data frame is recorded, in transmission data frame to the object chosen When managing port, allocation order number is carried.
By setting sequence identification device that can make external friendship for multiple data frame recording allocation orders number in data flow Change planes when receiving these data frames by one or more physical ports, can according to allocation order number to these data frames again Sequence forms correct data frame sequence, ensures that data frame meets in transmission process in RapidIO agreements, same data flow The requirement of order-preserving.
Further, above-mentioned physical port includes sequentially connected cache module, physical layer block and high-speed transceiver;It is slow Storing module is connect with virtual phy module;Routing table is preserved in physical layer block;High-speed transceiver and external switching equipment Connection.
In actual implementation, which can be realized by hardware configuration, such as use RAM (Random Access Memory, random access memory), Hash table, CAM (Content Addressable Memory, content addressable storage Device) realizations such as table.
In Fig. 3, physical port 12 includes cache module 121, physical layer block 122 and high-speed transceiver 123;Physical port 13 include cache module 131, physical layer block 132 and high-speed transceiver 133;
In RapidIO networks, RapidIO data frames and command character are serial bit streams on physical transport medium, are passed through Serioparallel exchange and the demarcation of data frame and command character can be achieved after high-speed transceiver;The rate and port number of the high-speed transceiver (lane) port width and port speed of port entity are determined.If the lane quantity of high-speed transceiver is more than 1, just Need to realize the alignment between lane inside the high-speed transceiver, but without two high-speed transceivers in port 1 and port 2 it Between realize lane between alignment operation.
Above-mentioned physical layer block is receiving parsing and CRC check of the direction completion to RapidIO data frame heads, and according to frame Destination address (D_ID) in head goes to complete routing table look-up in routing table.In a transmit direction, physical layer block completes frame head Encapsulation and CRC generations.In addition, the physical layer block also needs to realize all command characters defined in RapidIO agreements Parsing, generation and the relevant processing of (control symbol), including RapidIO agreement LP-Serial Physical The realization method of the link level flow control of specific definition in Layer Specification.
Above-mentioned cache module provides the temporary place of data frame in transmitting-receiving both direction, is cached in transmitting-receiving both direction Unit controls independently of each other.It is according to data block (block) tissue inside cache module, the size of each block passes through Carefully design is crossed, at most can completely preserve a RapidIO data frame.In a transmit direction, data frame to be sent is temporary There are in the buffer unit of sending direction, while queue is established according to the priority of frame to be sent, which frame should postpone deposit receipt It reads and sends in member, to be determined according to the scheduling result of priority query.It is general using stringent excellent in RapidIO networks First grade (SP) method is scheduled.In a receive direction, priority scheduling queue is no longer set up in buffer unit, but according to elder generation Into the working method first gone out, the data frame of reception is submitted to virtual phy.
In Fig. 3,2 port entities (physical port 12 and physical port 13) are mounted below virtual phy module, virtually Physical layer block and the port entity of its mounting are properly termed as a logic port;When the two physical ports work in it is empty When intending the pattern of physical layer block binding, which in a transmit direction, data frame to be sent is assigned to In two port entities, specific distribution method is to cache residue by monitoring the transmission of physical port 12 and physical port 13 Data frame is sent on the most ports of remaining block by the quantity of block.In a receive direction, virtual phy module needs Realize reordering for the data frame sent on physical port 12 and physical port 13, the reception sequence of data frame and transmission after sequence The transmission sequence of square virtual phy module is completely the same.
Further, above-mentioned physical layer block is used to allocation order number being added in the frame starting command character of data frame In Cmd fields.The physical layer block is additionally operable to when the number that same external switching equipment transmission is received by multiple physical ports During according to stream, the allocation order number of each data frame in data flow is extracted from Cmd fields, by data frame and corresponding allocation order Number it is sent to virtual phy module;Virtual phy module is additionally operable to arrange data frame according to allocation order number, after sequence Data frame be sent to switching matrix.
Table 1
In order to realize above-mentioned sequencing schemes, the present embodiment has done certain extension on the basis of original RapidIO agreements, Above-mentioned table 1 show the short command character of RapidIO protocol definitions, according to the protocol definition of RapidIO2.2 versions, works as Stype1 Value be 0x0 when, show the command character for frame originate (start-of-packet) command character, must be one after CRC-5 fields The starting of a RapidIO data frames.Short command character and long command character two kinds of forms defined in RapidIO agreements, both The command character only different from specific form, the definition of each field is completely the same in command character, so in the present embodiment only It is illustrated by taking short command character as an example.Defined in agreement in frame originates command character, Cmd fields perseverance is 0, and other values are by agreement Reserved.The present embodiment has used the reserved value of Cmd fields, it is proposed that a kind of Cmd words originated using frame in command character The method that section carries the allocation order number of data frame receives direction physical port 12 and physics end to realize in above-mentioned logic port The rearrangement of data frame between mouth 13.
Specifically, in a transmit direction, virtual phy module safeguards that a transmission frame sequential counter (is equivalent to above-mentioned Sequence identification device), bit wide 3bit, initial value 0.In the physical layer frame format description of RapidIO agreements, ACK_ID is defined Field indicates the transmission frame sequence number in a physical port, for realizing that frame retransmits in link level flow control and order-preserving passes Defeated, in order to be distinguished with ACK_ID fields, the present embodiment is named as the frame sequential counter that virtual phy module is safeguarded FRAM_ID, FRAM_ID are used to refer to show the transmission frame sequence number in a logic port.Whenever virtual phy module is to object When managing port 12 or one data frame of transmission of physical port 13, FRAM_ID adds 1, while the current value of the counter can be with number Enter the physical layer block in port according to frame, it is when the physical layer block carries out the generation of frame starting command character, above-mentioned frame is suitable The value of sequence counter FRAM_ID is assigned to Cmd fields.In a receive direction, frame is originated and controlled by the physical layer block in port The value of Cmd fields in symbol extracts, and as FRAM_ID with virtual phy module is given on reception data frame, should Virtual phy module resequences data frame further according to the sequencing of FRAM_ID.
Switching equipment using RapidIO networks shown in Figure 4 carries out the schematic diagram that data send and receive;Virtually Physical layer block 30 and virtual phy module 31 are separately positioned in two platform switching equipment;Virtual phy module 30 passes through Physical port A and physical port B connected to it send seven data frames in a data flow respectively;Wherein, data frame exists Before distribution to physical port, corresponding FRAM_ID values are generated by frame sequential counter;The data that physical port A is sent In frame, FRAM_ID values are respectively 1,3,4,6;In the data frame that physical port B is sent, FRAM_ID values are respectively 2,5,7;And it counts The data frame marked according to the ACK-ID values in frame is the sequence inside each physical port;Virtual phy module 31 receives object During seven data frames that reason port A and physical port B is sent respectively, data frame is resequenced according to FRAM_ID values.
Embodiment three:
Corresponding to the switching equipment for the RapidIO networks that above-described embodiment provides, the first shown in Figure 5 The structure diagram of the exchange system of RapidIO networks;The system includes at least two above-mentioned switching equipment;First switching equipment On multiple physical ports connect one to one respectively with physical ports multiple on the second switching equipment.
As shown in figure 5, the physical port in 501 and second switching equipment 51 of physical port in the first switching equipment 50 511 connections;Physical port 502 in first switching equipment 50 is connect with the physical port 512 in the second switching equipment 51;It can be with Understand, between the first switching equipment and the second switching equipment, the particular number of the physical port to connect one to one is not done herein It limits.
Further, the physical port on above-mentioned first switching equipment passes through optical fiber, coaxial cable, twisted-pair feeder or backboard The physical port connection corresponding on the second switching equipment of PCB (Printed Circuit Board, printed circuit board) cabling. Virtual phy on first switching equipment and the second switching equipment connects multipair port, forms multiple links, this is multiple Multilink bundling together, is used as a logical links.
The structure diagram of the exchange system of second of RapidIO network shown in Figure 6;The system includes multiple friendships Exchange device and multiple endpoint devices.In Fig. 6, which includes six switching equipment and eight endpoint devices;Wherein, SW5 In two physical ports connect one to one respectively with two physical ports in SW6.In practical application, two in SW5 The port width or port speed of a physical port may be the same or different.
The exchange system of RapidIO networks provided in an embodiment of the present invention, the RapidIO networks provided with above-described embodiment Switching equipment have identical technical characteristic, so can also solve the technical issues of identical, reach identical technique effect.
Example IV:
Corresponding to above-described embodiment provide RapidIO networks switching equipment and exchange system, shown in Figure 7 one The flow chart of the data transmission method for uplink of kind RapidIO networks;This method is applied to above-mentioned switching equipment;This method includes following step Suddenly:
Step S702, switching matrix receive data flow, data flow are sent to virtual phy module;
Step S704, virtual phy module upon receiving the data stream, are held according to the remaining cache of multiple physical ports Amount chooses physical port, and the data frame in data flow is distributed to the physical port of selection;
Step S706, physical port receive the data frame of virtual phy module assignment, transmission data frame.
Further, above-mentioned virtual phy module includes sequence identification device;The above method further includes:When each data frame When distribution is to corresponding physical port, sequence identification device records the allocation order number of data frame, in transmission data frame to selection During physical port, allocation order number is carried.
The data transmission method for uplink of RapidIO networks provided in an embodiment of the present invention, the RapidIO provided with above-described embodiment The switching equipment and exchange system of network have identical technical characteristic, so can also solve the technical issues of identical, reach phase Same technique effect.
An embodiment of the present invention provides a kind of switching equipment, exchange system and the data transmission method for uplink of RapidIO networks, Between the physical layer and transport layer of RapidIO agreements, a virtual phy module is devised, by multiple physical layer entity (phases When in physical port) it hangs under same virtual phy module, and based on this this, it is also proposed that one kind is in multiple RapidIO nets The method that dynamic load sharing is realized between the physical port of network.
An embodiment of the present invention provides a kind of switching equipment, exchange system and the data transmission method for uplink of RapidIO networks, On the basis of not changing the RapidIO network architectures, one kind is devised between two switching equipment, N number of physical port is (logical Often, N<8) logic port is bound, while by the binding link, frame rises in expanded definition RapidIO agreements The Cmd fields of beginning command character realize the sequentially transmission of the data frame between logic port.
An embodiment of the present invention provides a kind of switching equipment, exchange system and the data transmission method for uplink of RapidIO networks, real Following technique effect is showed:(1) load balancing between dynamic implement redundant link;Data frame is root in a logic port It is dynamically distributed according to the bandwidth usage of each physical port and certain allocation algorithm.(2) binding of physical port is not by hardware The limitation of design, in a logic port, each physical port can be operated under different port width and port speed. (3) while network congestion is solved by promoting bandwidth, without being modified to network-based control plane.(4) to agreement Expanded definition is only occurred between the logic port of two bindings, does not have any influence to the other parts of network.(5) in logic In a plurality of data link in port, realize the fine granularity load balancing implementation method as unit of data frame, avoid by The rigidity that data flow carries out network path divides, the highly efficient bandwidth resources being utilized.
The meter of the switching equipment of RapidIO networks, exchange system and data transmission method for uplink that the embodiment of the present invention is provided Calculation machine program product, the computer readable storage medium including storing program code, the instruction that said program code includes can For performing the method described in previous methods embodiment, specific implementation can be found in embodiment of the method, and details are not described herein.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected or be integrally connected;It can To be mechanical connection or be electrically connected;It can be directly connected, can also be indirectly connected by intermediary, Ke Yishi Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition Concrete meaning in invention.
If the function is realized in the form of SFU software functional unit and is independent product sale or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially in other words The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention. And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
In the description of the present invention, it should be noted that term " " center ", " on ", " under ", "left", "right", " vertical ", The orientation or position relationship of the instructions such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to Convenient for the description present invention and simplify description rather than instruction or imply signified device or element must have specific orientation, With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ", " third " is only used for description purpose, and it is not intended that instruction or hint relative importance.
Finally it should be noted that:Embodiment described above, only specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the art In the technical scope disclosed by the present invention, it can still modify to the technical solution recorded in previous embodiment or can be light It is readily conceivable that variation or equivalent replacement is carried out to which part technical characteristic;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover the protection in the present invention Within the scope of.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.

Claims (10)

1. a kind of switching equipment of RapidIO networks, which is characterized in that switching matrix, virtual is provided on the switching equipment Physical layer block and multiple physical ports;
The switching matrix is connect with the virtual phy module;The virtual phy module and multiple physical ports It connects respectively;Multiple physical ports are connect with same external switching equipment;
The data flow is sent to the virtual phy module by the switching matrix for receiving data flow;
The virtual phy module is used for when receiving the data flow, according to the remaining cache of multiple physical ports Capacity chooses the physical port, and the data frame in the data flow is distributed to the physical port of selection;
The physical port is used to receive the data frame of the virtual phy module assignment, sends the data frame.
2. switching equipment according to claim 1, which is characterized in that the virtual phy module includes sequence identification Device;
The sequence identification device is used to, when each data frame is distributed to the corresponding physical port, record the data The allocation order number of frame when sending the data frame to the physical port chosen, carries the allocation order number.
3. switching equipment according to claim 2, which is characterized in that the physical port includes sequentially connected caching mould Block, physical layer block and high-speed transceiver;
The cache module is connect with the virtual phy module;Routing table is preserved in the physical layer block;The height Fast transceiver is connect with the external switching equipment.
4. switching equipment according to claim 3, which is characterized in that the physical layer block is used for the allocation order Number be added to the data frame frame starting command character in Cmd fields in.
5. switching equipment according to claim 4, which is characterized in that the physical layer block is additionally operable to when by multiple institutes When stating physical port and receiving the data flow that the same external switching equipment is sent, the number is extracted from the Cmd fields According to the allocation order number of the data frame each in stream, the data frame and the corresponding allocation order number are sent to described Virtual phy module;
The virtual phy module is additionally operable to arrange the data frame according to the allocation order number, by the number after sequence The switching matrix is sent to according to frame.
6. a kind of exchange system of RapidIO networks, which is characterized in that the system comprises at least two claim 1-5 to appoint Switching equipment described in meaning one;
Multiple physical ports on first switching equipment connect one to one respectively with physical ports multiple on the second switching equipment.
7. system according to claim 6, which is characterized in that the physical port on first switching equipment passes through light The physical port connection corresponding on second switching equipment of fibre, coaxial cable, twisted-pair feeder or backboard PCB trace.
8. system according to claim 6, which is characterized in that the system comprises multiple switching equipment and multiple ends Point device.
9. a kind of data transmission method for uplink of RapidIO networks, which is characterized in that it is arbitrary that the method is applied to claim 1-5 Switching equipment described in one;The method includes:
Switching matrix receives data flow, and the data flow is sent to virtual phy module;
The virtual phy module is chosen when receiving the data flow according to the residual caching capacity of multiple physical ports Physical port distributes the data frame in the data flow to the physical port of selection;
The physical port receives the data frame of the virtual phy module assignment, sends the data frame.
10. according to the method described in claim 9, it is characterized in that, the virtual phy module includes sequence identification device;Institute The method of stating further includes:
When each data frame is distributed to the corresponding physical port, the sequence identification device records the data frame Allocation order number when sending the data frame to the physical port chosen, carries the allocation order number.
CN201711469173.8A 2017-12-28 2017-12-28 Switching equipment, switching system and data sending method of RapidIO network Active CN108199976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711469173.8A CN108199976B (en) 2017-12-28 2017-12-28 Switching equipment, switching system and data sending method of RapidIO network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711469173.8A CN108199976B (en) 2017-12-28 2017-12-28 Switching equipment, switching system and data sending method of RapidIO network

Publications (2)

Publication Number Publication Date
CN108199976A true CN108199976A (en) 2018-06-22
CN108199976B CN108199976B (en) 2021-05-04

Family

ID=62585702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711469173.8A Active CN108199976B (en) 2017-12-28 2017-12-28 Switching equipment, switching system and data sending method of RapidIO network

Country Status (1)

Country Link
CN (1) CN108199976B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286471A (en) * 2018-09-30 2019-01-29 中国人民解放军战略支援部队信息工程大学 CRC check method and device towards SRIO controller
CN111107017A (en) * 2019-12-06 2020-05-05 苏州浪潮智能科技有限公司 Method, equipment and storage medium for processing switch message congestion
CN114095580A (en) * 2021-11-16 2022-02-25 天津市滨海新区信息技术创新中心 RapidIO low-delay and high-transmission-efficiency architecture implementation method and electronic equipment
CN114124858A (en) * 2022-01-29 2022-03-01 飞腾信息技术有限公司 Control method and control device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1097535A (en) * 1993-01-29 1995-01-18 L.M.埃利克逊电话股份有限公司 Controlled access atm switch
US6347089B1 (en) * 1997-07-02 2002-02-12 Advanced Communication Devices Corp. Simplified ethernet frame switching system architecture without local buffer requirement
US6963535B2 (en) * 2000-12-28 2005-11-08 Intel Corporation MAC bus interface
CN1717669A (en) * 2002-11-26 2006-01-04 思科技术公司 Apparatus and method for distributing buffer status information in a switching fabric
CN1783828A (en) * 2004-12-02 2006-06-07 华为技术有限公司 Space division exchanging device and information element exchanging method
CN101106523A (en) * 2007-08-03 2008-01-16 重庆邮电大学 A buffering structure for sectioned share optical loop switching network
CN101404645A (en) * 2008-04-29 2009-04-08 华为技术有限公司 Multiport Ethernet interface, its implementing method and physical layer interface
CN104601494A (en) * 2015-01-08 2015-05-06 中国科学院空间应用工程与技术中心 FC-AE exchanger and exchanging method
CN105812225A (en) * 2016-05-04 2016-07-27 烽火通信科技股份有限公司 Virtual Ethernet communication component irrelevant to interface and method thereof for realizing communication
CN105847033A (en) * 2016-02-26 2016-08-10 重庆世纪之光科技实业有限公司 Scheduling method, device and system
CN105897621A (en) * 2016-07-01 2016-08-24 中国航空无线电电子研究所 Gigabit AFDX (Avionics Full Duplex Switched Ethernet) switcher based on CIOQ (Combined Input and Output Queuing) structure and switching method thereof
CN105959241A (en) * 2016-04-27 2016-09-21 西安空间无线电技术研究所 Unified scheduling method for space-borne photovoltaic hybrid exchange system
CN107343231A (en) * 2017-09-04 2017-11-10 南京曦光信息科技有限公司 Asymmetric caching and forwarding module and the Packet Switch Node and network that are made from it

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1097535A (en) * 1993-01-29 1995-01-18 L.M.埃利克逊电话股份有限公司 Controlled access atm switch
US6347089B1 (en) * 1997-07-02 2002-02-12 Advanced Communication Devices Corp. Simplified ethernet frame switching system architecture without local buffer requirement
US6963535B2 (en) * 2000-12-28 2005-11-08 Intel Corporation MAC bus interface
CN1717669A (en) * 2002-11-26 2006-01-04 思科技术公司 Apparatus and method for distributing buffer status information in a switching fabric
CN1783828A (en) * 2004-12-02 2006-06-07 华为技术有限公司 Space division exchanging device and information element exchanging method
CN101106523A (en) * 2007-08-03 2008-01-16 重庆邮电大学 A buffering structure for sectioned share optical loop switching network
CN101404645A (en) * 2008-04-29 2009-04-08 华为技术有限公司 Multiport Ethernet interface, its implementing method and physical layer interface
CN104601494A (en) * 2015-01-08 2015-05-06 中国科学院空间应用工程与技术中心 FC-AE exchanger and exchanging method
CN105847033A (en) * 2016-02-26 2016-08-10 重庆世纪之光科技实业有限公司 Scheduling method, device and system
CN105959241A (en) * 2016-04-27 2016-09-21 西安空间无线电技术研究所 Unified scheduling method for space-borne photovoltaic hybrid exchange system
CN105812225A (en) * 2016-05-04 2016-07-27 烽火通信科技股份有限公司 Virtual Ethernet communication component irrelevant to interface and method thereof for realizing communication
CN105897621A (en) * 2016-07-01 2016-08-24 中国航空无线电电子研究所 Gigabit AFDX (Avionics Full Duplex Switched Ethernet) switcher based on CIOQ (Combined Input and Output Queuing) structure and switching method thereof
CN107343231A (en) * 2017-09-04 2017-11-10 南京曦光信息科技有限公司 Asymmetric caching and forwarding module and the Packet Switch Node and network that are made from it

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286471A (en) * 2018-09-30 2019-01-29 中国人民解放军战略支援部队信息工程大学 CRC check method and device towards SRIO controller
CN109286471B (en) * 2018-09-30 2021-01-22 中国人民解放军战略支援部队信息工程大学 CRC (Cyclic redundancy check) method and device for SRIO (serial peripheral input/output) controller
CN111107017A (en) * 2019-12-06 2020-05-05 苏州浪潮智能科技有限公司 Method, equipment and storage medium for processing switch message congestion
CN114095580A (en) * 2021-11-16 2022-02-25 天津市滨海新区信息技术创新中心 RapidIO low-delay and high-transmission-efficiency architecture implementation method and electronic equipment
CN114124858A (en) * 2022-01-29 2022-03-01 飞腾信息技术有限公司 Control method and control device

Also Published As

Publication number Publication date
CN108199976B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
US11601359B2 (en) Resilient network communication using selective multipath packet flow spraying
CN108199976A (en) Switching equipment, exchange system and the data transmission method for uplink of RapidIO networks
US8705363B2 (en) Packet scheduling method and apparatus
EP1728366B1 (en) A method for congestion management of a network, a signalling protocol, a switch, an end station and a network
JP4903815B2 (en) Method and system for improving traffic distribution over a communications network
CN108667739A (en) Jamming control method, apparatus and system
CN102546384B (en) Dynamic resource management method
CN106664290A (en) Data transmission method and device for photoelectric hybrid network
KR20190091558A (en) Method, apparatus, and communication system for transmitting a service flow based on flexible ethernet
WO2016019554A1 (en) Queue management method and apparatus
CN108173782A (en) The method, apparatus and storage medium of transmitting data stream in virtual private cloud
CN111585911B (en) Method for balancing network traffic load of data center
CN113746751A (en) Communication method and device
CN103905327B (en) Stream state information based content-centric network congestion control method and system thereof
CN104580066A (en) QoS (Quality of Service) implementation method of enterprise-level multimedia communication based on OpenFlow network
CN106294191B (en) The method for handling table, the method and apparatus for accessing table
CN101836196B (en) Methods and systems for providing efficient provisioning of data flows
CN102223311A (en) Queue scheduling method and device
CN108804535A (en) Software definition storage with network hierarchy(SDS)System
CN110351199A (en) Flow smoothing method, server and forwarding device
CN109428842A (en) A kind of QoS information transfer approach and device
CN114900469B (en) Method, system, equipment and medium for controlling data flow of multi host network card
CN103929378B (en) The communication link distribution of cross-domain data transmission and cross-domain data transmission method and system
CN114205299A (en) Message control method and node equipment
CN107113244B (en) Data forwarding method, device and system

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
TA01 Transfer of patent application right

Effective date of registration: 20200528

Address after: 300450 Binhai New Area, Binhai - Zhongguancun Science Park Rongsheng Plaza, No. 4 Building 702-7, Tianjin

Applicant after: TIANJIN XINHAICHUANG TECHNOLOGY Co.,Ltd.

Address before: 300450 Binhai New Area, Binhai - Zhongguancun Science Park Rongsheng Plaza, No. 4 Building 702-7, Tianjin

Applicant before: TIANJIN XINHAICHUANG TECHNOLOGY Co.,Ltd.

Applicant before: INFORMATION TECHNOLOGY INNOVATION CENTER OF TIANJIN BINHAI NEW AREA

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant