Disclosure of Invention
The invention aims to provide a photoelectric interconnection network system and a data transmission method, which can reduce transmission time delay and improve anti-interference performance and communication bandwidth.
In order to achieve the above object, in a first aspect, the present invention provides an optical electrical interconnection network system, which includes a resource node, a resource network interface, a routing controller, a circuit router, an optical-to-electrical conversion interface, and an optical path router, where the resource node, the resource network interface, and the routing controller are electrically connected, the circuit router is electrically connected to the routing controller, the optical-to-electrical conversion interface is electrically connected to the resource network interface and the optical path router, respectively, and the optical path router is further electrically connected to the routing controller,
the resource node is used for generating and receiving link configuration data and valid data;
the resource network interface is used for packaging data and controlling the transmission mode of a data packet;
the routing controller is configured to transmit a configuration request according to the routing information in the link configuration data packet, configure the link of the optical router, and release the link according to the information of the link release signal;
the circuit router is used for transmitting data packets of the electric signals and related control signals;
the photoelectric conversion interface is used for converting the data packet of the electric signal into the data packet of the optical signal;
and the optical path router is used for transmitting data packets of optical signals.
Wherein the resource network interface comprises a link configuration resource packer, a data packet packer and a transmission mode controller, the link configuration resource packer and the data packet packer are respectively electrically connected with the transmission mode controller,
the link configuration resource packer is used for forming a link configuration data packet by the routing information in the link configuration data generated by the resource node;
the data packet packer is used for forming effective data generated by the resource nodes into data packets;
and the transmission mode controller is used for judging the transmission mode according to the link configuration data packet and transmitting the data packet.
Wherein the transmission mode controller comprises a routing information calculation module and a switch, the routing information calculation module is electrically connected with the link configuration resource packer, the switch is electrically connected with the data packet packer,
the routing information calculation module is used for extracting routing information in the link configuration data packet, calculating the number of routing hops from a source node to a destination node and the number of transmission data packets, and judging a transmission mode;
the switch is used for transmitting the data packet to the router.
Wherein, the photoelectric conversion interface comprises a data cache module, a data conversion module and a high-speed serial transceiver, the data cache module, the data conversion module and the high-speed serial transceiver are electrically connected in turn,
the data cache module is used for matching data transmission bit width, improving the data transmission efficiency and performing clock domain crossing processing on the data;
the data conversion module is used for converting the data packet format into an AXI4_ Stream protocol format and sending the AXI4_ Stream protocol format to the high-speed serial transceiver;
the high-speed serial transceiver is used for solving the problems of clock rate matching and phase compensation and sending the data packet out in a differential data signal through parallel-serial conversion.
In a second aspect, the present invention provides a data transmission method for an optical electrical interconnection network, including:
transmitting the link configuration data packet to a routing controller network through a transmission mode controller;
receiving the link configuration data packet, and transmitting a configuration request to obtain a configuration completion signal;
generating a data packet according to the configuration completion signal, and transmitting the data packet to the optical path router through a photoelectric conversion interface;
after the transmission of the optical path router, transmitting the data packet to the resource node through the photoelectric conversion interface and counting;
and completing counting, releasing the transmission link and completing data transmission of the photoelectric interconnection network.
Wherein, the transmitting the link configuration data packet to the route controller network through the transmission mode controller includes:
the method comprises the steps of enabling a resource node to generate routing information data through a pseudo-random sequence method, packaging the routing information through a resource network interface to obtain a link configuration data packet, extracting the routing information in the link configuration data packet through a transmission mode controller, and transmitting the link configuration data packet to a routing controller network according to the routing information.
Wherein, receiving the link configuration data packet, and transmitting the configuration request to obtain a configuration completion signal, comprises:
after receiving the link configuration data packet, the routing controller transmits a configuration request according to the routing information of the link configuration data packet until a configuration request permission signal is obtained, transmits the link configuration data packet to a destination routing controller, completes the link configuration of the optical router, and modifies the link configuration data packet to obtain a configuration completion signal.
Wherein, the generating the data packet according to the configuration completion signal, and transmitting the data packet to the optical path router through the photoelectric conversion interface comprises:
and after the configuration completion signal is transmitted to the resource node through photoelectric conversion, the resource node generates a data packet and transmits the data packet to the optical path router through photoelectric conversion.
After the transmission of the optical path router, the data packets are transmitted to the resource nodes through the photoelectric conversion interface and counted, including:
and after the data packets are transmitted by the optical path router, transmitting the data packets to the resource nodes through the photoelectric conversion interface, counting the transmitted data packets, marking that the data packets are completely transmitted when the count value of the data packets reaches the number of the data packets in the link configuration data packets, and sending a data transmission completion signal.
Wherein, the counting, the transmission link release and the data transmission of the optoelectronic interconnection network are completed, and the method comprises the following steps:
and receiving the data transmission completion signal, sending a link release signal, releasing all links of the optical path router occupied by the data, and completing data transmission of the photoelectric interconnection network.
The invention relates to a photoelectric interconnection network system and a data transmission method, wherein the photoelectric interconnection network system comprises a resource node, a resource network interface, a routing controller, a circuit router, a photoelectric conversion interface and a light path router, wherein the resource node, the resource network interface and the routing controller are electrically connected, the circuit router is respectively electrically connected with the resource network interface and the routing controller, the photoelectric conversion interface is respectively electrically connected with the resource network interface and the light path router, and the light path router is also electrically connected with the routing controller, and transmits a link configuration data packet to a routing controller network through a transmission mode controller; receiving the link configuration data packet, and transmitting a configuration request to obtain a configuration completion signal; generating a data packet according to the configuration completion signal, and transmitting the data packet to the optical path router through the photoelectric conversion interface; after the transmission of the optical path router, transmitting the data packet to the resource node through the photoelectric conversion interface and counting; and counting is completed, the transmission link is released, data transmission of the photoelectric interconnection network is completed, transmission delay is reduced, and anti-interference performance and communication bandwidth are improved.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and intended to explain the present invention and should not be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "length", "width", "upper" and "lower" are used herein,
The orientations and positional relationships indicated by "bottom", "inner", "outer", and the like are based on the orientations and positional relationships shown in the drawings and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the indicated device or element must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the present invention. In addition, in the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Referring to fig. 1, the present invention provides an optical electrical interconnection network system, which includes a resource node 1, a resource network interface 2, a routing controller 3, a circuit router 4, an optical electrical conversion interface 5 and an optical path router 6, wherein the resource node 1, the resource network interface 2 and the routing controller 3 are electrically connected, the circuit router 4 is electrically connected to the resource network interface 2, the optical electrical conversion interface 5 is electrically connected to the resource network interface 2 and the optical path router 6, respectively, the optical path router 6 is further electrically connected to the routing controller 3,
the resource node 1 is used for generating and receiving link configuration data and valid data;
the resource network interface 2 is used for packaging data and controlling the transmission mode of data packets;
the routing controller 3 is configured to transmit a configuration request according to the routing information in the link configuration data packet, configure the link of the optical router 6, and release the link according to the information of the link release signal;
the circuit router 4 is used for transmitting data packets of the electric signals and related control signals;
the photoelectric conversion interface 5 is configured to convert a data packet of an electrical signal into a data packet of an optical signal;
the optical path router 6 is configured to transmit a data packet of an optical signal.
In this embodiment, the optical electrical interconnection network system includes a resource node 1, a resource network interface 2, a routing controller 3, a circuit router 4, an optical electrical conversion interface 5 and an optical circuit router 6, the resource node 1, the resource network interface 2 and the routing controller 3 are electrically connected, the circuit router 4 is electrically connected to the resource network interface 2, the optical electrical conversion interface 5 is electrically connected to the resource network interface 2 and the optical circuit router 6, respectively, the optical circuit router 6 is also electrically connected to the routing controller 3, wherein, as shown in fig. 2, the topology of the optical electrical interconnection network is that routing information generated by the resource node 1 by a pseudo-random sequence method is first packetized through the resource network interface 2 to form a link configuration data packet, and routing information in the link configuration data packet is extracted, the number of source node to destination node hops and the number of transmission data packets are calculated, and the number of transmission data packets are determined, when the transmission mode is optical circuit router 6, the optical circuit router performs switching on the optical circuit network signal transmission from the optical circuit interface to the optical circuit network interface 3, and performs switching on the optical circuit signal transmission from the optical circuit interface to the optical circuit network interface 6, and performs switching on the optical circuit signal transmission from the optical circuit interface 1 to the optical circuit interface 6, and performs switching on the optical circuit switching between the optical circuit 1 and the optical circuit interface 6, and counting the transmitted data packets, when the number of the received data packets is equal to the number of the data packets in the routing information, completing data transmission, generating a data transmission completion signal by the resource network interface 2, sending the data transmission completion signal to the routing controller 3 to release the transmission link of the optical router 6, when the transmission link of the optical router 6 is completed, completing data transmission of the optical-electrical interconnection network, reducing transmission delay, improving interference resistance and communication bandwidth, and utilizing the FPGA to develop and the photoelectric conversion interface 5 to realize the design of the optical-electrical interconnection network, thereby facilitating design and development and lower use cost.
Further, the resource network interface 2 includes a link configuration resource packer 21, a data packet packer 22 and a transmission mode controller 23, the link configuration resource packer 21 and the data packet packer 22 are respectively electrically connected to the transmission mode controller 23,
the link configuration resource packer 21 is configured to form a link configuration data packet from the routing information in the link configuration data generated by the resource node 1;
the data packet packer 22 is configured to form a data packet from the valid data generated by the resource node 1;
the transmission mode controller 23 is configured to determine a transmission mode according to the link configuration data packet, and transmit the data packet.
In this embodiment, the resource network interface 2 includes a link configuration resource packer 21, a data packet packer 22, and a transmission mode controller 23, the link configuration resource packer 21 and the data packet packer 22 are respectively electrically connected to the transmission mode controller 23, and the structure of the resource network interface is as shown in fig. 3, before a data packet of the resource node 1 arrives, routing information is first transmitted, the routing information enters the link configuration data packet packer 22 to form a link configuration data packet, the link configuration data packet is transmitted to the transmission mode controller 23, the transmission mode controller 23 extracts the routing information in the link configuration data packet, calculates the number of routing hops from the source node to the destination node and the number of transmission data packets, determines a transmission mode, when the resource node 1 generates valid data, the data packet packer 22 is used to pack the data, and transmits the data to the transmission mode controller 23, and the transmission mode controller 23 determines a transmission mode of the data according to the number of routing hops from the source node to the destination node in the link configuration data packet and the number of transmission data packets, determines a transmission mode of the data, so as to increase a transmission speed of the data, and reduce a time delay of the data.
Further, the transmission mode controller 23 includes a routing information calculation module 231 and a switch 232, the routing information calculation module is electrically connected to the link configuration resource packer 21, the switch 232 is electrically connected to the data packet packer 22,
the routing information calculation module is used for extracting routing information in the link configuration data packet, calculating the number of routing hops from a source node to a destination node and the number of transmission data packets, and judging the transmission mode;
the switch 232 is configured to transmit the data packet to the router.
In this embodiment, the transmission controller 23 includes a routing information calculation module 231 and a switch 232, the routing information calculation module is electrically connected to the link configuration resource packer 21, and the switch 232 is electrically connected to the packet packer 22, as shown in fig. 3, the routing information calculation module 231 is used to extract the routing information in the link configuration packet, so that the transmission controller 23 can determine the transmission mode, and the switch 232 transmits the corresponding packet to the corresponding circuit router 4 or the corresponding optical router 6 according to the determination result.
Further, the photoelectric conversion interface 5 comprises a data buffer module 51, a data conversion module 52 and a high-speed serial transceiver 53, wherein the data buffer module 51, the data conversion module 52 and the high-speed serial transceiver 53 are electrically connected in sequence,
the data cache module 51 is configured to match a data transmission bit width, improve data transmission efficiency, and perform clock domain crossing processing on data;
the data conversion module 52 is configured to convert the format of the data packet into the AXI4_ Stream protocol format and send the converted data packet to the high-speed serial transceiver 53;
the high-speed serial transceiver 53 is configured to solve the problems of clock rate matching and phase compensation, and send the data packet as a differential data signal through parallel-to-serial conversion.
In this embodiment, the photoelectric conversion interface 5 includes a data cache module 51, a data conversion module 52 and a high-speed serial transceiver 53, the data cache module 51, the data conversion module 52 and the high-speed serial transceiver 53 are electrically connected in sequence, and the structure thereof is as shown in fig. 4, when a 32-bit data packet sent from the resource network interface 2 enters the data cache module 51 for caching, the data cache module 51 receives a control signal sent from the data conversion module 52 for reading data, the bit width of the read data is 64 bits, the data enters the data conversion module 52 for being converted into the data format of the AXI4_ Stream protocol and is sent to the high-speed serial transceiver 53, after a data packet in the high-speed serial transceiver 53 is encoded by 64/66B, data enters a sending buffer area for solving the problems of clock rate matching and phase compensation, then the data is sent out in a differential data signal through parallel-serial conversion, the high-speed serial transceiver 53 based on the FPGA is adopted as a physical layer circuit of the photoelectric conversion interface 5, parallel data is connected with the high-speed serial transceiver 53 through an AXI4_ Stream protocol conversion interface, then the parallel data is encoded by 64/66B, and is converted into a differential data signal through parallel-serial conversion, and SFP is connected to form the photoelectric conversion interface 5, so that the transmission mode of the data is changed, the congestion degree of a network is reduced, and the data transmission efficiency is improved.
Referring to fig. 5, the present invention provides a method for transmitting data in an optical electrical interconnection network, including:
and S101, transmitting the link configuration data packet to a routing controller network through a transmission mode controller.
Specifically, by using a pseudo-random sequence method, the resource node 1 generates routing information data, the link configuration resource packer 21 in the resource network interface 2 packs the routing information to obtain a link configuration data packet, the routing information calculation module 231 in the transmission mode controller 23 extracts the routing information in the link configuration data packet, the switch 232 determines, according to the routing information, that the data transmission of the link configuration data packet is the circuit router 4 transmission or the optical path router 6 transmission, if the data transmission is the circuit router 4 transmission, the packet switching mode is used to directly transmit the data packet to the resource network interface 2 for cache transmission, and if the data transmission is the optical path router 6 transmission, the circuit transmission mode is used to transmit the data packet, and the link configuration data packet is transmitted to the routing controller 3 for link configuration.
And S102, receiving the link configuration data packet, and transmitting a configuration request to obtain a configuration completion signal.
Specifically, after receiving the link configuration data packet, the routing controller 3 transmits a configuration request according to the routing information of the link configuration data packet, specifically, in the routing controller 3, according to the routing information, a next hop direction is determined, and a configuration request is sent, so that after obtaining a configuration request permission signal of the next routing controller 3, the link configuration data packet is transmitted, otherwise, the link configuration data packet is waited at the current routing controller 3 until obtaining a configuration request permission signal, and is transmitted until being transmitted to the destination routing controller 3, so that the path configuration of the optical path router 6 is completed, and the link configuration data packet is modified, so that a configuration completion signal is obtained.
And S103, generating a data packet according to the configuration completion signal, and transmitting the data packet to the optical path router through the photoelectric conversion interface.
Specifically, the configuration completion signal is transmitted to the resource node 1, the resource node 1 generates a data packet after receiving the configuration completion signal, the 32-bit effective data packet sent by the resource network interface 2 is converted into a data packet with a data bit width of 64 bits by using the photoelectric conversion interface 5, the data format of the AXI4_ Stream protocol is sent to the high-speed serial transceiver 53, the data packet in the high-speed serial transceiver 53 is encoded by 64/66B, and then the data enters the sending buffer area for solving the problems of clock rate matching and phase compensation, and then the data is sent as a differential data signal by parallel-to-serial conversion, sent as an optical signal by SFP, and transmitted to the optical router 6 by using an optical fiber.
And S104, after the transmission of the optical path router, transmitting the data packet to the resource node through the photoelectric conversion interface and counting.
Specifically, after the transmission of the optical router 6 is completed, the optical router transmits the data packet to the destination resource node 1 through the photoelectric conversion interface 5, counts the transmitted data packet, and when the count value of the data packet reaches the number of data packets in the link configuration data packet, it indicates that all the data packets are transmitted, and simultaneously sends out a data transmission completion signal.
And S105, completing counting, releasing a transmission link, and completing data transmission of the photoelectric interconnection network.
Specifically, after the transmission is completed, the data transmission completion signal is received, a link release signal is sent, the occupation of the current routing controller 3 is released, and the link is released until the link release signal is transmitted to the source routing controller 3, the links of the optical path router 6 occupied by all data are released, and the data transmission of the optical electrical interconnection network is completed.
The invention relates to a photoelectric interconnection network system and a data transmission method, wherein the photoelectric interconnection network system comprises a resource node 1, a resource network interface 2, a routing controller 3, a circuit router 4, a photoelectric conversion interface 5 and a light path router 6, wherein the resource node 1, the resource network interface 2 and the routing controller 3 are electrically connected, the circuit router 4 is respectively electrically connected with the resource network interface 2 and the routing controller 3, the photoelectric conversion interface 5 is respectively electrically connected with the resource network interface 2 and the light path router 6, the light path router 6 is also electrically connected with the routing controller 3, and transmits a link configuration data packet to a routing controller 3 network through a transmission mode controller 23; receiving the link configuration data packet, and transmitting a configuration request to obtain a configuration completion signal; generating a data packet according to the configuration completion signal, and transmitting the data packet to the optical path router 6 through the photoelectric conversion interface 5; after the transmission of the optical path router 6, the data packets are transmitted to the resource node 1 through the photoelectric conversion interface 5 and counted; and counting is completed, the transmission link is released, data transmission of the photoelectric interconnection network is completed, transmission time delay is reduced, and anti-interference performance and communication bandwidth are improved.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.