CN101277196A - Communication system, communication method and cable fastener plate based on PCIE switching network - Google Patents

Communication system, communication method and cable fastener plate based on PCIE switching network Download PDF

Info

Publication number
CN101277196A
CN101277196A CNA2007100909940A CN200710090994A CN101277196A CN 101277196 A CN101277196 A CN 101277196A CN A2007100909940 A CNA2007100909940 A CN A2007100909940A CN 200710090994 A CN200710090994 A CN 200710090994A CN 101277196 A CN101277196 A CN 101277196A
Authority
CN
China
Prior art keywords
pcie
message
control device
card board
cable card
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
CNA2007100909940A
Other languages
Chinese (zh)
Other versions
CN101277196B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2007100909940A priority Critical patent/CN101277196B/en
Priority to PCT/CN2007/070413 priority patent/WO2008119221A1/en
Publication of CN101277196A publication Critical patent/CN101277196A/en
Application granted granted Critical
Publication of CN101277196B publication Critical patent/CN101277196B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a communication system based on a PCIE switching network which includes a main control board, a line card board and a PCIE switching equipment. The line card board includes a control device and an adaptation device; the adaptation device converts message came from the line card board control device into PCIE message, and transmits to the main control board or other line card boards through the PCIE switching equipment; the adaptation device receives PCIE message transmitted by the main control board or other line card board through the PCIE switching device, and converts to adaptation message of the control device for transmitting to the control device. The invention also provides a communication method and a line card board based on PCIE switching network. In the embodiment of the invention, the adaptation device added between the PCIE switcher and the line card control device of communication equipment for example gateway, route also like, can realize adaptation with interface bus and PCIE bus of the control device, and the control device of PCIE bus to the line card board transparent.

Description

A kind of communication system, communication means and cable card board based on the PCIE switching network
Technical field
The present invention relates to the network exchange technical field, relate in particular to a kind of communication system, communication means and cable card board based on the PCIE switching network.
Background technology
Along with PCIE (PCI Express, the PCI expansion) issue of standard, More and more factories begins to release the chip based on PCI (Peripheral Component Interconnect, Peripheral Component Interconnect) Express standard, for example: based on the interchanger of PCIE; Reach the communication equipment based on the PCIE interchanger such as router, switch, gateway.
With reference to figure 1, in the prior art based on the distributed system architecture of PCIE interchanger, realize the Data-carrying plane by the PCIE bus between master control borad and the cable card board.The PCIE interchanger provides a plurality of PCIE interfaces to be connected to master control borad and cable card board, master control borad CPU (Central Processor Unit, central processing unit) finishes the configuration in the PCIE terminal space of the configuration of PCIE interchanger and cable card board, guarantee that different cable card boards can carry out data communication by the PCIE switching network, cable card board message processing engine can adopt CPU, NP (Networks Processor Unit, network processing unit) or ASIC (Application Specific IntegratedCircuit, application-specific integrated circuit (ASIC)) etc.
Because the PCIE standard is the standard of new issue, industry is that computer system is used based on the chip of PCIE interface mostly, chip based on communication equipment still is fewer, especially high performance CPU based on the PCIE interface, NP, asic chip are still less, even some chip belt PCIE interface, but performance can not satisfy the demands or other interfaces can not satisfy the demand of communication equipment.
Summary of the invention
The embodiment of the invention provides a kind of communication system based on the PCIE switching network, communication means and cable card board, is difficult for the defective of compatible with PCI E with the communication equipment that solves prior art.
For achieving the above object, the embodiment of the invention provides a kind of communication system based on the PCIE switching network, comprising: master control borad, cable card board and PCIE switching equipment, and described cable card board comprises control device and adaptive device;
Described adaptive device will be converted to the PCIE message from the message of this cable card board control device, by described PCIE switching equipment the PCIE message be sent to master control borad or other cable card board; And receive the PCIE message that master control borad or other cable card board send by described PCIE switching equipment, the PCIE message is converted to the adaptive message of described control device sends to described control device.
Described adaptive device comprises up adaptation unit and descending adaptation unit,
Described up adaptation unit will be converted to the PCIE message from the message of this cable card board control device, send to master control borad or other cable card board by described PCIE switching equipment;
Described descending adaptation unit receives master control borad or other cable card board by the PCIE message that described PCIE switching equipment sends, and is converted to the adaptive message of described control device and sends to described control device.
Described up adaptation unit specifically comprises:
Split subelement, be used for the message that described control device is sent is split into the message of a plurality of PCIE full-lengths;
PCIE head encapsulation subelement, the message with described a plurality of PCIE length-specifics adds the PCIE heading respectively, generates one group of PCIE message, sends to the PCIE switching equipment.
Described up adaptation unit comprises that also score clamp address obtains subelement, obtains score clamp address from the message that described control device sends, and is encapsulated in the PCIE heading by described PCIE head encapsulation subelement.
Described descending adaptation unit specifically comprises:
PCIE decapsulation subelement will remove the PCIE heading from the PCIE message of PCIE switching equipment, obtain one group of PCIE message;
The framing subelement, the message that described PCIE message is assembled into adaptive described control device sends to described control device.
Described descending adaptation unit also comprises the framing detection sub-unit, is used to detect whether the PCIE message of sending from the PCIE switching equipment is one group of complete message.
Comprise the control device of being with the PCIE interface in the described master control borad, or do not add the north bridge chips of band PCIE interface with the control device of PCIE interface.
Described adaptive device is integrated with described control device or separate.
The embodiment of the invention also provides a kind of cable card board based on the PCIE switching network, comprises control device and adaptive device;
Described adaptive device will be converted to the PCIE message from the message of this cable card board control device, by described PCIE switching equipment described PCIE message be sent to master control borad or other cable card board; And receive the PCIE message that master control borad or other cable card board send by described PCIE switching equipment, described PCIE message is converted to the adaptive message of described control device sends to described control device.
Described adaptive device comprises up adaptation unit and descending adaptation unit,
Described up adaptation unit will be converted to the PCIE message from the message of this cable card board control device, send to master control borad or other cable card board by described PCIE switching equipment;
Described descending adaptation unit receives master control borad or other cable card board by the PCIE message that described PCIE switching equipment sends, and is converted to the adaptive message of described control device and sends to described control device.
Described up adaptation unit specifically comprises:
Split subelement, be used for the message that described control device is sent is split into the message of a plurality of PCIE length-specifics;
PCIE head encapsulation subelement, the message with described a plurality of PCIE length-specifics adds the PCIE heading respectively, generates one group of PCIE message, sends to the PCIE switching equipment.
Described up adaptation unit comprises that also score clamp address obtains subelement, receive the message that described control device sends to the address information of carrying the score clamp of described adaptive device, and from described message, obtain score clamp address, be encapsulated in the PCIE heading by described PCIE head encapsulation subelement.
Described up adaptation unit also comprises the priority classification unit, described control device sends in the message of described adaptive device and also carries precedence information, described priority of messages rank is determined by described precedence information in described priority classification unit, and the respective priority sign is encapsulated in the described PCIE heading by described PCIE head encapsulation subelement.
After described score clamp address obtains subelement and obtains described address information or described priority classification unit and obtain precedence information, with described address information in the described message or precedence information deletion.
Described descending adaptation unit specifically comprises:
PCIE decapsulation subelement will remove the PCIE heading from the PCIE message of PCIE switching equipment, obtain one group of PCIE message;
The framing subelement, the message that described PCIE message is assembled into adaptive described control device sends to described control device.
Described descending adaptation unit also comprises the framing detection sub-unit, is used to detect whether the PCIE message of sending from the PCIE switching equipment is one group of complete message.
Described testing conditions comprises: discontinuous, the message length in address is less than not receiving next message in length-specific or the Preset Time in the PCIE heading.
Described descending adaptation unit also comprises a plurality of formation subelements, stores the PCIE message from other cable card board and master control borad respectively.
The embodiment of the invention also provides a kind of communication means based on the PCIE switching network, comprising:
The PCIE message be will be converted to from the message of this cable card board control device, master control borad or other cable card board sent to by described PCIE switching equipment;
And receive master control borad or other cable card board by the PCIE message that described PCIE switching equipment sends, be converted to the adaptive message of described control device and send to described control device.
The message that described control device is sent splits into the message of a plurality of PCIE length-specifics; Message with described a plurality of PCIE length-specifics adds the PCIE heading respectively, generates one group of PCIE message, sends to the PCIE switching equipment;
To remove the PCIE heading from the PCIE message of PCIE switching equipment, obtain the PCIE message of one group of length-specific; The message that described PCIE message is assembled into adaptive described control device sends to described control device then.
From the message that described control device sends, obtain score clamp address, be encapsulated in the PCIE heading by described PCIE head encapsulation subelement.
From the message that described control device sends, obtain precedence information, determine described priority of messages rank, the corresponding priorities sign is encapsulated in the described PCIE heading by described PCIE head encapsulation subelement.
The described PCIE heading that will remove from the PCIE message of PCIE switching equipment also comprises before: detect whether the PCIE message of sending from the PCIE switching equipment is one group of complete message, wherein, described testing conditions comprises: discontinuous, the message length in address is less than not receiving next message in full-length or the Preset Time in the PCIE heading.
The described PCIE heading that will remove from the PCIE message of PCIE switching equipment also comprises before: will store into respectively in the different formations from the PCIE message of other cable card board and master control borad.
Compared with prior art, the embodiment of the invention has the following advantages:
In the embodiments of the invention, between as the PCIE interchanger of communication equipments such as gateway, router and cable card board control device, increase an adaptive device, realize the adaptive of the interface bus of control device and PCIE bus, making the PCIE bus is transparent for the control device of cable card board.
Description of drawings
Fig. 1 is based on the structure chart of PCIE switching network in the prior art;
Fig. 2 is a kind of distributed switching network communicating system structure chart based on PCIE bus and Ethernet of the embodiment of the invention;
Fig. 3 is a kind of master control borad structure chart in the embodiment of the invention;
Fig. 4 is the communication system architecture figure that the control device in a kind of cable card board does not carry the PCIE interface function in the embodiment of the invention;
Fig. 5 is the data forwarding flow chart of cable card board among Fig. 4 embodiment of the present invention;
Fig. 6 is an adaptive device structure chart among Fig. 4 embodiment of the present invention;
Fig. 7 is that control device sends the message format structure chart among Fig. 4 embodiment of the present invention;
Fig. 8 enters the different queue schematic diagram to the different messages of originating among Fig. 4 embodiment of the present invention;
Fig. 9 is Fig. 4 embodiment message conversion schematic diagram of the present invention;
Figure 10 is PCIE message format figure among Fig. 4 embodiment of the present invention;
Figure 11 is another kind of based on the adaptive figure of the system communication bus of PCIE switching network among Fig. 4 embodiment of the present invention.
Embodiment
The embodiment of the invention provides a kind of distributed switching network communicating system based on PCI Express (being called for short PCIE) bus and Ethernet, as shown in Figure 2, comprise: master control borad, cable card board and switching equipment, wherein, switching equipment comprises PCIE crosspoint and Ethernet crosspoint.The PCIE crosspoint provides a plurality of PCIE interfaces to be connected to the control unit of master control borad and cable card board, and the control unit of master control borad is configured by the space of PCIE bus to the PCIE of PCIE crosspoint and cable card board; The Ethernet crosspoint provides a plurality of Ethernet interfaces, be connected to the control unit of master control borad and cable card board, the control unit of master control borad is communicated by letter by the control unit of Ethernet interface and cable card board, cable card board routing address information is configured, guarantees that different cable card boards can communicate by the PCIE crosspoint.Wherein, the control unit of master control borad is CPU, and the control unit of business board is CPU or NP or ASIC.
Under the normal condition, the control plane that is made of the Ethernet crosspoint mainly is functions such as the maintenance, management of the configuration of finishing cable card board, route forwarding table, do not carry out data message forwarding, the bandwidth ratio that needs is less, general middle and high end communication equipment uses gigabit Ethernet just can satisfy, and also can adopt Fast Ethernet or ten thousand mbit ethernets etc. to replace gigabit Ethernet.PCIE crosspoint carrying datum plane information, after the spatial configuration of master control borad to the PCIE bus of PCIE crosspoint and cable card board, each cable card board is directly finished forwarding of data by the PCIE crosspoint, need not to pass through master control borad, this distributed forwarding makes master control borad only do the business of control plane, thereby guarantee system high efficiency, reliability service, especially use two master control borads mutually as after the backup, the reliability of system is further strengthened.
PCIE crosspoint and Ethernet crosspoint are connected to all cable card boards and master control borad, under the normal condition, carry out data forwarding by the PCIE crosspoint, and the Ethernet crosspoint carries out control channel information and transmits; When the PCIE crosspoint can not use because of breaking down, the data that Ethernet crosspoint (this moment adopt ten thousand mbit ethernet crosspoints good especially) can carry all datum plane and control plane, and the forwarding of datum plane still can be accomplished distributed forwarding; When Ethernet switching chip can not be used, the PCIE crosspoint can carry the business of all datum plane and control plane; For the reliability that guarantees to realize, the control plane data that prevented the datum plane traffic congestion, under these kinds situation, can restricting data plane flow.
In the embodiment of the invention, the PCIE crosspoint can provide a plurality of independently PCIE universal serial bus, these independently universal serial bus both can independently become a PCIE circuit, also can a plurality of line bundles on a logic serial transmission line, each cable card board is connected with crosspoint by a logic serial transmission line.In order to satisfy forwarding performance, the data of binding circuit determine that according to the bandwidth that system need provide in PCIExpress 1.0 standards, 1 passage can be supported 2.5Gbps, and 4 passages can be supported 10Gbps, and 16 passages can be supported the bandwidth of 40Gbps; In the PCIE2.0 standard, 1 passage can be supported 5Gbps, and 4 passages can be supported the bandwidth of 20Gbps, and the logic serial transmission line can design according to user's demand.
In the embodiment of the invention, master control borad comprises as shown in Figure 3: control unit, RAM (Random-Access Memory, random access memory) and FLASH (flash memory), wherein, control unit further comprises CPU, PCIE root complex subelement and Ethernet medium control sub unit.PCIE root complex (PCI Express Root complex) unit provides PCIE bus interface; The Ethernet media control unit realizes gigabit ethernet interface, is used to provide Ethernet interface.CPU by PCIE root complex subelement and PCIE crosspoint to the cable card board data plane configuration; Realize the cable card board control plane is disposed by Ethernet media control unit and Ethernet crosspoint.Above-mentioned control unit can be realized with SoC (the System on Chip) processor of band Ethernet interface function and PCIE interface function, certainly the SoC processor also can be with PCIE bus interface and Ethernet interface, can realize with the external north bridge equipment combination that PCIE bus and Ethernet interface are provided.But the SoC chip of integrated generally speaking PCIE root complex function and Ethernet MCI function is more cheap, and cost performance is more excellent, but treatment effeciency is low relatively.
In the embodiment of the invention, when cable card board adopted NP, ASIC, CPU or multi-core CPU as control unit, whole system can reach very high performance.Therefore, cable card board further comprises: control unit, RAM and FLASH, and wherein, control unit specifically comprises: CPU, PCIE terminal, Ethernet medium control sub unit and external interface subelement; CPU control PCIE terminal is communicated by letter with the PCIE root complex subelement of master control borad; And control Ethernet medium control sub unit is carried out control plane by Ethernet crosspoint and master control borad and is communicated by letter; And control external interface subelement and PERCOM peripheral communication.
If the CPU in the foregoing description, NP and ASIC etc. do not support the PCIE interface function, then can be by on cable card board, increasing adaptive device, reach and use CPU, NP and the ASIC equal controller of not supporting the PCIE interface function on cable card board, promptly the PCIE terminal places the outside of control device.This kind is based on the communication system of PCIE switching network, as Fig. 4, comprise: master control borad, cable card board and PCIE switching equipment, this PCIE switching equipment is for having only the switching equipment of PCIE crosspoint among Fig. 2, cable card board comprises control device and adaptive device, the control device of cable card board can be CPU, NP or asic chip, chip does not provide the PCIE bus interface, for example the interface of cable card board control device is SPI4 (System Packet Interface Level 4, the 4th grade of system's packet interface), XGMII (10G Media Independent Interface, the 10G Media Independent Interface) bus such as, it is adaptive to the PCIE bus to finish control device by adaptive device.Control device in the master control borad can provide CPU (the Central Processor Unit of PCIE bus interface, CPU), also can be the CPU that the PCIE bus interface is not provided, when use does not provide the CPU of PCIE bus interface, systematic function is than the CPU fashion that the PCIE bus interface is provided, but needs increase adaptive device.Adaptive device can be by FPGA, ASIC or other software program or hardware circuit realization, and promptly the mode by the CPU+ north bridge realizes.
The data forwarding process of cable card board as shown in Figure 5 among Fig. 4, after the control device of cable card board receives message, search and transmit, increase score clamp address information and message priority information front at current message, constitute new message and pass through SPI4, interfaces such as XGMII send to the adaptive device of cable card board, adaptive device extracts score clamp address information and message priority information from the message that receives after, delete the information that is increased by the cable card board control device, be split as the message of length-specific, and according to information such as score clamp address information of extracting and message priority composition PCIE header, be added in the message front, be encapsulated as the PCIE message, send to the another one cable card board by the PCIE switching equipment, after this another cable card board adaptive device receives the PCIE message, remove the PCIE header, pass through framing again, extract original message, pass through SPI4, interfaces such as XGMII are transmitted to the control device of this another cable card board, then message are forwarded.For the cable card board control device, sending is the SPI4/XGMII message, and receiving also is the SPI4/XGMII message, and PCIE is just as a tunnel, and the control device of cable card board is indifferent to the PCIE switching equipment and how is realized flow control, service quality assurance etc.
The adaptive device structure specifically comprises up adaptation unit and descending adaptation unit as shown in Figure 6.Up adaptation unit will be converted to the PCIE message from the message of this cable card board control device, send to master control borad or other cable card board by the PCIE switching equipment; Descending adaptation unit receives master control borad or other cable card board by the PCIE message that the PCIE switching equipment sends, and is converted to the adaptive message of control device and sends to control device.
Wherein, up adaptation unit specifically comprises: physical layer and link layer receive subelement 1, fractionation subelement, PCIE head encapsulation subelement and physical layer and link layer sends subelement 2; Wherein, physical layer and link layer receive subelement 1, the physical layer of the message that processing control apparatus sends out and link layer, different control device interfaces needs different physical layer and link layer process subelement, as control device is the SPI4 interface, then this physical layer and link layer receive and handle the identification that subelement 1 is finished the SPI4 message, extract the protocol layer message; If control device is the XGMII interface, then physical layer and link layer receive physical layer and the link layer process that subelement 1 is finished 10GE Ethernet message.Split the message that subelement is used for message is split into a plurality of PCIE full-lengths.PCIE head encapsulation subelement, the message with a plurality of PCIE length-specifics adds the PCIE heading respectively, generates one group of PCIE message.Physical layer and link layer send physical layer and the link layer process that subelement 2 is handled the PCIE interface, and realize the PCIE termination function, and the PCIE message is sent to the PCIE switching equipment.
Descending adaptation unit specifically comprises: physical layer and link layer send subelement 1, framing subelement, a PCIE decapsulation subelement and physical layer and link layer receives subelement 2.Physical layer and link layer send physical layer and the link layer packaging that subelement 1 is finished the protocol layer message, send to the SPI4 interface of control device; PCIE decapsulation subelement will remove the PCIE heading from the PCIE message of PCIE switching equipment, obtain the PCIE message of one group of full-length; The framing subelement is assembled into the message of adaptive described control device with described PCIE message, promptly according to being carried at source ID in the PCIE heading (number being made up of the Bus number of transmitting terminal, device number, function) information and address information reconstructed file.Physical layer and link layer receive physical layer and the link layer that subelement 2 is handled the PCIE interfaces, and realize the PCIE termination function, and the message of adaptive described control device is sent to this control device.
Up adaptation unit comprises that also score clamp address obtains subelement, obtains score clamp address from the message that described control device sends, and is encapsulated in the PCIE heading by described PCIE head encapsulation subelement.Because the message that adaptive device nonrecognition control device sends; transmit at switching network in order to satisfy the PCIE message correctly; requirement sends on the heading at control device and carries a destination address; header has increased PCIE address header and reserve bytes as shown in Figure 7; this destination address (promptly is carried at the address information of PCIE in the message of control device transmission for the address of distributing to the score clamp based on the PCIE switching equipment; these message right and wrong PCIE message; address information is placed into header herein; any adjustment address location; perhaps the change without prejudice to this principle all is the scope of this patent protection); so that be encapsulated in the PCIE heading that sends to the PCIE switching equipment, cable card board heading address comes from the control plane of system.
Up adaptation unit also comprises the priority classification unit, determines described priority of messages rank, and the corresponding priority level sign is encapsulated in the described PCIE heading by described PCIE head encapsulation subelement.As shown in Figure 7, reserve bytes is in order to guarantee byte-aligned and compatible extended function later on, as expanding QoS (Quality of Service, service quality) function, control message priority etc.As in extended function, defining priority of messages, adaptive device is TC (the Traffic Class of this priority mapping to the PCIE heading, traffic classification), thereby go into different virtual passage VC (the Virtual Channel of switching network, tunnel), realize the different data messages and the service message of the different wiring boards of classification processing, realize different QoS.
Descending adaptation unit also comprises the framing detection sub-unit, is used to detect whether the PCIE message of sending from the PCIE switching equipment is one group of complete message.Wherein, testing conditions comprises: discontinuous, the message length in address is less than not receiving next message in full-length or the Preset Time in the PCIE heading.
In order to guarantee the correctness of framing, requirement can not the entanglement order in the PCIE switching network from the message of same cable card board, the reception cable card board need be discerned the message from the separate sources of switching equipment, therefore, receive the descending adaptation unit of cable card board and require to comprise a plurality of formations, as shown in Figure 8, the quantity that the quantitative requirement of formation is no less than cable card board and master control borad subtracts 1, the corresponding source ID of each formation, when the Requester id field in receiving the PCIE heading is identical with the source ID of this formation, the PCIE message enters this formation, has guaranteed finishing of framing.
The present invention also provides a kind of switching network communication implementation method, may further comprise the steps:
Step s101, master control borad carries out spatial configuration to the PCIE bus of PCIE crosspoint and cable card board.Wherein, the PCIE crosspoint provides a plurality of PCIE interfaces to be connected to the control unit of master control borad and cable card board, and the control unit of master control borad is configured by the space of PCIE bus to the PCIE of PCIE crosspoint and cable card board; The control unit of master control borad is communicated by letter by the control unit of Ethernet interface and cable card board, and cable card board routing address information is configured, and guarantees that different cable card boards can communicate by the PCIE crosspoint.Wherein, the control unit of master control borad is CPU, and the control unit of business board is CPU or NP or ASIC.
In addition, the PCIE crosspoint is visited addressing system for the message transmissions of different wiring boards according to the address, obtains to be no less than a VC and TC passage for each physical circuit, and optimum VC and the quantity of TC are no less than the quantity of system's Support Line clamp and master control borad; And,,, realize that classification handles the different data messages and the service message of different cable card boards perhaps with the mapping relations of data message perhaps with the mapping relations of cable card board by the corresponding relation of VC, TC and different physical channels is set, realize different QoS.
Step s102, cable card board carries out datum plane communication by the PCIE crosspoint.PCIE crosspoint carrying datum plane information, after the spatial configuration of master control borad to the PCIE bus of PCIE crosspoint and cable card board, each cable card board is directly finished forwarding of data by the PCIE crosspoint, need not to pass through master control borad, this distributed forwarding makes master control borad only do the business of control plane, thereby guarantee system high efficiency, reliability service, especially use two master control borads mutually as after the backup, the reliability of system is further strengthened.
Wherein, cable card board carries out datum plane communication can be divided into both direction, and one is up direction: send data by cable card board to the PCIE crosspoint; Another is a down direction, by the data of cable card board reception from the PCIE crosspoint.The PCIE message be will be converted to from the message of this cable card board control device at up direction, master control borad or other cable card board sent to by the PCIE crosspoint.Specifically comprise: the message that control device is sent splits into the message of a plurality of PCIE length-specifics, respectively a plurality of PCIE messages is added the PCIE heading, generates one group of PCIE message, sends to the PCIE crosspoint.Comprise the score clamp address and the precedence information that carry in the message of control device transmission in the PCIE heading.
Receive master control borad or other cable card board by the PCIE message that the PCIE crosspoint sends at down direction, be converted to the adaptive message of control device and send to control device.Specifically comprise: will store into respectively from the PCIE message of other cable card board and master control borad in the different formations; PCIE message from the PCIE crosspoint in each formation is removed the PCIE heading, obtain the PCIE message of one group of full-length; The message that then the PCIE message is assembled into adaptive control device sends to control device.
Because PCIE standard criterion regulation, the maximum message segment length of PCIE crosspoint support is the 4K byte, message length changes in the scope of 0 to 4K byte, the message burst changes bigger, impact to the PCIE crosspoint is bigger, is easy to cause the PCIE crosspoint congested or efficient is low, therefore, require adaptive device that the message that receives was split before entering the PCIE crosspoint in the embodiment of the invention, as be split as length-specifics such as length 128 bytes or 256 bytes.Message after the fractionation has been added the PCIE heading, so that constitute the PCIE message of standard, can be identified and transmit in the PCIE crosspoint.In addition on the one hand, be packaged into the PCIE message when being forwarded to the another one cable card board, this cable card board adaptive device must can be discerned the PCIE message, and the message of fractionation is carried out framing, and framing becomes original message in the control corresponding device.
For simplified design, guarantee with the quality services that satisfies Business Processing in order to reduce the bus adapter cost simultaneously, the embodiment of the invention has been simplified the processing layer data message routing mode that defines in the PCIE standard, only need to support the memory write mode, this mode can guarantee that the PCIE bandwidth obtains optimum utilance, and for the message transmissions of different wiring boards according to based on address visit addressing system.For simplified design, do not do any identification for the processing layer data message that control device sends out, only need be used as payload (Payload) to message and handle, to the control device that is forwarded to the another one cable card board, the PCIE crosspoint for the processing layer message just as a tunnel.
Below with slice length be 256 bytes be example to message split, PCIE heading encapsulation process, and PCIE message framing process describes, as shown in Figure 9.The payload that sends to all messages (except last message of section) of PCIE crosspoint all is 256 bytes, the address information that comprises in the PCIE heading increases by 256 successively, after the PCIE crosspoint receives the PCIE message, address information according to message is forwarded on the corresponding cable card board, after cable card board receives message, go into different formations according to the source ID that carries in the message PCIE heading (number forming) by the Bus number of transmitting terminal, device number, function.Adaptive device can judge whether a complete framing according to following three kinds of measures: the address is not to increase continuously 256 o'clock in the PCIE heading, is a framing ENMES; The PCIE message length is a framing ENMES during less than 256 bytes; Though the address is continuous, message length is 256 bytes, does not receive next message in the scheduled time, is a framing ENMES.
Figure 10 is the data message form of PCIE standard specification definition, the Address address field of the corresponding Figure 10 of the address information of Fig. 7 and Fig. 9, Requester ID is the data that the Bus number, device number, function of the port number are formed, so that come out from the PCIE crosspoint at message, adaptive device enters different formations according to the message separate sources, is convenient to framing.
Further, in order to guarantee the autgmentability backward of system, protection user's investment, adaptive device and control device can be integrated or separate in the embodiment of the invention.When high performance control device based on the PCIE interface occurs, in current cable card board, use the expansion control device of band PCIE interface.As two cable card boards in Figure 11 left side, by using the control device of band expansion, can compatible current system, use the control device of expansion in these two cable card boards respectively, the control device that this control device is integrated among the present invention and the function of adaptive device, support the physical layer and the link layer protocol of PCIE terminal, have section and the framing function of finishing message, when this cable card board will send message, control device is cut into 256 byte-sized to the message that will send, encapsulation PCIE heading, and same message address increases by 256, carries the PCIE source id information of this veneer in the heading.Split encapsulation and send over and original cable card board is the Ethernet message of XGMII interface by switching network, after control device receives message, address and PCIE source id information according to the PCIE heading, message stores in the different memory headrooms, finishes the framing of message by software or hardware.
In addition, in order to guarantee the stability of system, when detecting data channel and break down, the notice master control borad is communicated by letter datum plane with cable card board and is switched to the Ethernet crosspoint; When detecting control channel and breaking down, the notice master control borad is communicated by letter control plane with cable card board and is switched to the PCIE crosspoint.
The embodiment of the invention is simplified the PCIE bus design by tunneling technique, reduces the QoS of adaptive cost of bus and raising entire switching network; And by realizing that in adaptive device the cable card board message splits and framing, and the message that makes fractionation is nested in the PCIE Frame fully, thereby the control device of cable card board is freed fully from the PCIE agreement, improved the utilance of control device, and the message after splitting more helps transmitting in the PCIE switching network, reduce the burst transfer bandwidth, guaranteed the stability of switching network, provide reliable switched environment for service quality guarantees service.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (24)

1. communication system based on the PCIE switching network, comprising: master control borad, cable card board and PCIE switching equipment is characterized in that described cable card board comprises control device and adaptive device;
Described adaptive device will be converted to the PCIE message from the message of this cable card board control device, by described PCIE switching equipment described PCIE message be sent to master control borad or other cable card board; And receive the PCIE message that master control borad or other cable card board send by described PCIE switching equipment, described PCIE message is converted to the adaptive message of described control device sends to described control device.
2. according to claim 1 based on the communication system of PCIE switching network, it is characterized in that described adaptive device comprises up adaptation unit and descending adaptation unit,
Described up adaptation unit will be converted to the PCIE message from the message of this cable card board control device, send to master control borad or other cable card board by described PCIE switching equipment;
Described descending adaptation unit receives master control borad or other cable card board by the PCIE message that described PCIE switching equipment sends, and is converted to the adaptive message of described control device and sends to described control device.
As described in the claim 2 based on the communication system of PCIE switching network, it is characterized in that described up adaptation unit specifically comprises:
Split subelement, be used for the message that described control device is sent is split into the message of a plurality of PCIE length-specifics;
PCIE head encapsulation subelement, the message with described a plurality of PCIE length-specifics adds the PCIE heading respectively, generates one group of PCIE message, sends to the PCIE switching equipment.
As described in the claim 3 based on the communication system of PCIE switching network, it is characterized in that, described up adaptation unit comprises that also score clamp address obtains subelement, receive the message that described control device sends to the address information of carrying the score clamp of described adaptive device, and from described message, obtain score clamp address, be encapsulated in the PCIE heading by described PCIE head encapsulation subelement.
As described in the claim 2 based on the communication system of PCIE switching network, it is characterized in that described descending adaptation unit specifically comprises:
PCIE decapsulation subelement will remove the PCIE heading from the PCIE message of PCIE switching equipment, obtain one group of PCIE message;
The framing subelement, the message that described PCIE message is assembled into adaptive described control device sends to described control device.
As described in the claim 5 based on the communication system of PCIE switching network, it is characterized in that described descending adaptation unit also comprises the framing detection sub-unit, be used to detect whether the PCIE message of sending from the PCIE switching equipment is one group of complete message.
As in the claim 1 to 6 as described in each based on the communication system of PCIE switching network, it is characterized in that, comprise the control device of band PCIE interface in the described master control borad, or do not add the north bridge chips of band PCIE interface with the control device of PCIE interface.
As in the claim 1 to 6 as described in each based on the communication system of PCIE switching network, it is characterized in that described adaptive device is integrated with described control device or separate.
9. the cable card board based on the PCIE switching network is characterized in that, comprises control device and adaptive device;
Described adaptive device will be converted to the PCIE message from the message of this cable card board control device, by described PCIE switching equipment described PCIE message be sent to master control borad or other cable card board; And receive the PCIE message that master control borad or other cable card board send by described PCIE switching equipment, described PCIE message is converted to the adaptive message of described control device sends to described control device.
As described in the claim 9 based on the cable card board of PCIE switching network, it is characterized in that described adaptive device comprises up adaptation unit and descending adaptation unit,
Described up adaptation unit will be converted to the PCIE message from the message of this cable card board control device, send to master control borad or other cable card board by described PCIE switching equipment;
Described descending adaptation unit receives master control borad or other cable card board by the PCIE message that described PCIE switching equipment sends, and is converted to the adaptive message of described control device and sends to described control device.
11. as described in the claim 10 based on the cable card board of PCIE switching network, it is characterized in that described up adaptation unit specifically comprises:
Split subelement, be used for the message that described control device is sent is split into the message of a plurality of PCIE length-specifics;
PCIE head encapsulation subelement, the message with described a plurality of PCIE length-specifics adds the PCIE heading respectively, generates one group of PCIE message, sends to the PCIE switching equipment.
12. as described in the claim 11 based on the cable card board of PCIE switching network, it is characterized in that, described up adaptation unit comprises that also score clamp address obtains subelement, receive the message that described control device sends to the address information of carrying the score clamp of described adaptive device, and from described message, obtain score clamp address, be encapsulated in the PCIE heading by described PCIE head encapsulation subelement.
13. as described in the claim 12 based on the cable card board of PCIE switching network, it is characterized in that, described up adaptation unit also comprises the priority classification unit, described control device sends in the message of described adaptive device and also carries precedence information, described priority of messages rank is determined by described precedence information in described priority classification unit, and the respective priority sign is encapsulated in the described PCIE heading by described PCIE head encapsulation subelement.
14. as described in the claim 13 based on the cable card board of PCIE switching network, it is characterized in that, after described score clamp address obtains subelement and obtains described address information or described priority classification unit and obtain precedence information, with described address information in the described message or precedence information deletion.
15. as described in the claim 10 based on the cable card board of PCIE switching network, it is characterized in that described descending adaptation unit specifically comprises:
PCIE decapsulation subelement will remove the PCIE heading from the PCIE message of PCIE switching equipment, obtain one group of PCIE message;
The framing subelement, the message that described PCIE message is assembled into adaptive described control device sends to described control device.
16. as described in the claim 15 based on the cable card board of PCIE switching network, it is characterized in that described descending adaptation unit also comprises the framing detection sub-unit, be used to detect whether the PCIE message of sending from the PCIE switching equipment is one group of complete message.
17. as described in the claim 16 based on the cable card board of PCIE switching network, it is characterized in that described testing conditions comprises: discontinuous, the message length in address is less than not receiving next message in length-specific or the Preset Time in the PCIE heading.
18. as described in the claim 15 based on the cable card board of PCIE switching network, it is characterized in that described descending adaptation unit also comprises a plurality of formation subelements, store PCIE message respectively from other cable card board and master control borad.
19. the communication means based on the PCIE switching network is characterized in that, comprising:
The PCIE message be will be converted to from the message of this cable card board control device, master control borad or other cable card board sent to by described PCIE switching equipment;
And receive master control borad or other cable card board by the PCIE message that described PCIE switching equipment sends, be converted to the adaptive message of described control device and send to described control device.
20. as described in the claim 19 based on the communication means of PCIE switching network, it is characterized in that,
The message that described control device is sent splits into the message of a plurality of PCIE length-specifics; Message with described a plurality of PCIE length-specifics adds the PCIE heading respectively, generates one group of PCIE message, sends to the PCIE switching equipment;
To remove the PCIE heading from the PCIE message of PCIE switching equipment, obtain one group of PCIE message; The message that described PCIE message is assembled into adaptive described control device sends to described control device then.
21. as described in the claim 20 based on the communication means of PCIE switching network, it is characterized in that, from the message that described control device sends, obtain score clamp address, be encapsulated in the PCIE heading by described PCIE head encapsulation subelement.
22. as described in the claim 20 based on the communication means of PCIE switching network, it is characterized in that, from the message that described control device sends, obtain precedence information, determine described priority of messages rank, the corresponding priorities sign is encapsulated in the described PCIE heading by described PCIE head encapsulation subelement.
23. as described in the claim 20 based on the communication means of PCIE switching network, it is characterized in that, the described PCIE heading that will remove from the PCIE message of PCIE switching equipment also comprises before: detect whether the PCIE message of sending from the PCIE switching equipment is one group of complete message, wherein, described testing conditions comprises: discontinuous, the message length in address is less than not receiving next message in length-specific or the Preset Time in the PCIE heading.
24. as described in the claim 20 based on the communication means of PCIE switching network, it is characterized in that the described PCIE heading that will remove from the PCIE message of PCIE switching equipment also comprises before: will store into respectively in the different formations from the PCIE message of other cable card board and master control borad.
CN2007100909940A 2007-03-30 2007-03-30 Communication system, communication method and cable fastener plate based on PCIE switching network Expired - Fee Related CN101277196B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2007100909940A CN101277196B (en) 2007-03-30 2007-03-30 Communication system, communication method and cable fastener plate based on PCIE switching network
PCT/CN2007/070413 WO2008119221A1 (en) 2007-03-30 2007-08-03 A data packet exchange method, device and circuit board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100909940A CN101277196B (en) 2007-03-30 2007-03-30 Communication system, communication method and cable fastener plate based on PCIE switching network

Publications (2)

Publication Number Publication Date
CN101277196A true CN101277196A (en) 2008-10-01
CN101277196B CN101277196B (en) 2011-09-28

Family

ID=39996236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100909940A Expired - Fee Related CN101277196B (en) 2007-03-30 2007-03-30 Communication system, communication method and cable fastener plate based on PCIE switching network

Country Status (1)

Country Link
CN (1) CN101277196B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150527B (en) * 2007-11-09 2010-09-01 杭州华三通信技术有限公司 A PCIE data transmission method, system and device
CN101895398A (en) * 2010-07-15 2010-11-24 华为技术有限公司 Method and device for data communication
WO2011157138A2 (en) * 2011-05-31 2011-12-22 华为技术有限公司 Multi-core router
CN101604284B (en) * 2009-07-24 2012-05-23 杭州华三通信技术有限公司 Method for saving starting information, and multi-single-board device
CN102495920A (en) * 2011-11-21 2012-06-13 南京中兴特种软件有限责任公司 Integrated logic analysis module based on PCIe (peripheral component interconnection express) for FPGA (field programmable gate array)
CN102821082A (en) * 2011-06-10 2012-12-12 成都市华为赛门铁克科技有限公司 Data transmission method, device and system
CN102870381A (en) * 2012-06-29 2013-01-09 华为技术有限公司 PCIE switching system, apparatus and switching method
CN103023824A (en) * 2012-12-11 2013-04-03 华为技术有限公司 Peripheral component interconnect-express (PCIe) based data transmission system and method
CN106559255A (en) * 2015-09-30 2017-04-05 联发科技股份有限公司 Circuit module and the method communicated with another device
CN107547450A (en) * 2017-07-28 2018-01-05 新华三技术有限公司 Data adding method and device between a kind of plate
CN109347818A (en) * 2018-10-12 2019-02-15 华东师范大学 A kind of document transmission system of restructural 10,000,000,000 communication of agreement
CN115617733A (en) * 2022-12-19 2023-01-17 井芯微电子技术(天津)有限公司 RapidIO network message conversion method, system and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100428684C (en) * 2003-08-18 2008-10-22 华为技术有限公司 Scheme with external channels
CN1307560C (en) * 2004-03-25 2007-03-28 威盛电子股份有限公司 Data picking method and system thereof

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150527B (en) * 2007-11-09 2010-09-01 杭州华三通信技术有限公司 A PCIE data transmission method, system and device
CN101604284B (en) * 2009-07-24 2012-05-23 杭州华三通信技术有限公司 Method for saving starting information, and multi-single-board device
CN101895398A (en) * 2010-07-15 2010-11-24 华为技术有限公司 Method and device for data communication
CN101895398B (en) * 2010-07-15 2012-07-25 华为技术有限公司 Method and device for data communication
US8891526B2 (en) 2010-07-15 2014-11-18 Huawei Technologies Co., Ltd. Data communication method and data communication apparatus
WO2011157138A2 (en) * 2011-05-31 2011-12-22 华为技术有限公司 Multi-core router
WO2011157138A3 (en) * 2011-05-31 2012-04-26 华为技术有限公司 Multi-core router
CN102821082A (en) * 2011-06-10 2012-12-12 成都市华为赛门铁克科技有限公司 Data transmission method, device and system
CN102495920A (en) * 2011-11-21 2012-06-13 南京中兴特种软件有限责任公司 Integrated logic analysis module based on PCIe (peripheral component interconnection express) for FPGA (field programmable gate array)
CN102495920B (en) * 2011-11-21 2014-06-25 南京中新赛克科技有限责任公司 Integrated logic analysis module based on PCIe (peripheral component interconnection express) for FPGA (field programmable gate array)
WO2014000271A1 (en) * 2012-06-29 2014-01-03 华为技术有限公司 Pcie switching system, apparatus and switching method
CN102870381A (en) * 2012-06-29 2013-01-09 华为技术有限公司 PCIE switching system, apparatus and switching method
CN102870381B (en) * 2012-06-29 2015-09-09 华为技术有限公司 A kind of PCIE switching system, device and switching method
WO2014089980A1 (en) * 2012-12-11 2014-06-19 华为技术有限公司 Pcie-based data transmission system and method
CN103023824A (en) * 2012-12-11 2013-04-03 华为技术有限公司 Peripheral component interconnect-express (PCIe) based data transmission system and method
CN103023824B (en) * 2012-12-11 2015-08-26 华为技术有限公司 Based on data transmission system and the method for peripheral component interface express passway PCIe
US9632963B2 (en) 2012-12-11 2017-04-25 Huawei Technologies Co., Ltd. System and method for transmitting data based on PCIe
CN106559255A (en) * 2015-09-30 2017-04-05 联发科技股份有限公司 Circuit module and the method communicated with another device
CN107547450A (en) * 2017-07-28 2018-01-05 新华三技术有限公司 Data adding method and device between a kind of plate
CN107547450B (en) * 2017-07-28 2020-04-17 新华三技术有限公司 Method and device for adding data between boards
CN109347818A (en) * 2018-10-12 2019-02-15 华东师范大学 A kind of document transmission system of restructural 10,000,000,000 communication of agreement
CN115617733A (en) * 2022-12-19 2023-01-17 井芯微电子技术(天津)有限公司 RapidIO network message conversion method, system and equipment

Also Published As

Publication number Publication date
CN101277196B (en) 2011-09-28

Similar Documents

Publication Publication Date Title
CN101277195B (en) Switching network communication system, implementing method and switching unit
CN101277196B (en) Communication system, communication method and cable fastener plate based on PCIE switching network
CN101252537B (en) Switching network communicating system, method and master control board
JP4040762B2 (en) Method and apparatus for transmitting packet data from a medium access controller
US7042891B2 (en) Dynamic selection of lowest latency path in a network switch
EP1454440B1 (en) Method and apparatus for providing optimized high speed link utilization
US20020118692A1 (en) Ensuring proper packet ordering in a cut-through and early-forwarding network switch
EP1891778B1 (en) Electronic device and method of communication resource allocation.
US7324537B2 (en) Switching device with asymmetric port speeds
JP2004215267A (en) Single/multi channel converter/bridge between ethernet interface and atm interface, and its operation method
JP2000503828A (en) Method and apparatus for switching data packets over a data network
EP0685951B1 (en) Line interface devices for fast-packet networks
KR20070069822A (en) Switching system and its mechanism which enables data-switching of variable-length packets and heterogeneous network packets
JP2016501475A (en) Router for passive interconnection and distributed switchless switching
JP2016501474A (en) Distributed switchless interconnection
CN1747606B (en) Service data transmission method and apparatus thereof
CN101895398B (en) Method and device for data communication
US9036640B2 (en) Encapsulation of data
US6330248B1 (en) Arrangement for transmitting data packets from a media access controller across multiple physical links
US7164698B1 (en) High-speed line interface for networking devices
US20140133852A1 (en) Passive connectivity optical module
US8131854B2 (en) Interfacing with streams of differing speeds
WO2018196833A1 (en) Message sending method and message receiving method and apparatus
US7042845B1 (en) System and method for time division multiplexed switching of data using a high-speed packet switch
JP2009218940A (en) Transmission apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110928

Termination date: 20200330