Disclosure of Invention
The invention aims to provide a photoelectric interconnection network architecture 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 architecture, where the optical electrical interconnection network architecture 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, the resource node, the resource network interface, and the routing controller are electrically connected, the circuit router is electrically connected with the routing controller, the optical-to-electrical conversion interface is electrically connected with the resource network interface and the optical path router, respectively, and the optical path router is also electrically connected with 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 the 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 data packet 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 the photoelectric conversion interface;
after the data packets are transmitted by the optical path router, the data packets are transmitted to the resource nodes through the photoelectric conversion interface and counted;
and finishing counting, releasing the transmission link and finishing 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.
Receiving the link configuration data packet, transmitting a configuration request, and obtaining a configuration completion signal, includes:
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, and then transmits the link configuration data packet to a destination routing controller to complete link configuration of the optical router and modify 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 an optical-electrical interconnection network architecture and a data transmission method, wherein the optical-electrical interconnection network architecture comprises a resource node, a resource network interface, a routing controller, a circuit router, an optical-electrical conversion interface and an optical path router, wherein the resource node, the resource network interface and the routing controller are electrically connected; 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 data packets are transmitted by the optical path router, the data packets are transmitted to the resource nodes through the photoelectric conversion interface 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.
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 drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
In the description of the present invention, it is to be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on the orientations or positional relationships illustrated in the drawings, and are used merely for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present invention. Further, 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 architecture, where the optical electrical interconnection network architecture 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, 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 architecture 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, where 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, and the optical path router 6 is further electrically connected to the routing controller 3, where a topology of the optical-electrical interconnection network is as shown in fig. 2, and first performs data packing on routing information generated by the resource node 1 through a pseudo-random sequence method through the resource network interface 2 to form a link configuration data packet, and extracts routing information in the link configuration data packet, calculating the routing hop count from a source node to a destination node and the number of transmission data packets, determining the transmission mode, when the transmission mode is optical path router 6 transmission, using the routing controller 3 to transmit a configuration request according to the routing information in the link configuration data packet, configuring the link of the optical path router 6, after the transmission link configuration of the optical path router 6 is completed, the resource network interface 2 receives a configuration completion signal, the resource node 1 generates a data packet according to the configuration completion signal, using the optical-to-electrical conversion interface 5 to convert an optical signal into an optical signal to be transmitted in the optical path router 6, after the optical signal is transmitted to the destination node, the optical-to-electrical conversion interface 5 transmits the optical signal to the resource node 1, when the data packet is transmitted to the resource node 1, counting the transmitted data packets, and when the number of the received data packets is equal to the number of data packets in the routing information, after the data transmission is completed, the resource network interface 2 generates a data transmission completion signal and sends 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, the data transmission of the optoelectronic interconnection network is completed, the transmission delay is reduced, the anti-interference performance and the communication bandwidth are improved, the FPGA is used for development, the design of the optoelectronic interconnection network is realized through the optoelectronic conversion interface 5, and the design and the development and the lower use cost are facilitated.
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 electrically connected to the transmission mode controller 23, respectively, 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 sent to the transmission mode controller 23, the transmission mode controller 23 extracts routing information in the link configuration data packet, calculates the number of routing hops from a source node to a destination node and the number of transmission data packets, determines a transmission mode, and when the resource node 1 generates valid data, the data packet packer 22 is used to perform data packing, and transmitting to a transmission mode controller 23, where the transmission mode controller 23 determines a data transmission mode according to the number of route hops from the source node to the destination node in the link configuration data packet and the number of transmitted data packets, so as to improve the data transmission speed and reduce the data transmission delay.
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, 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 path 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 used to solve the problems of clock rate matching and phase compensation, and send the data packets as differential data signals through parallel-to-serial conversion.
In this embodiment, the optical-to-electrical conversion interface 5 includes a data buffer module 51, a data conversion module 52 and a high-speed serial transceiver 53, the data buffer module 51, the data conversion module 52 and the high-speed serial transceiver 53 are electrically connected in sequence, and the structure of the optical-to-electrical conversion interface is as shown in fig. 4, when a 32-bit data packet sent from the resource network interface 2 enters the data buffer module 51 for buffering, the data buffer 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 conversion into the data format of the AXI4_ Stream protocol and is sent to the high-speed serial transceiver 53, after the data packet is encoded by 64/66B in the high-speed serial transceiver 53, the data enters a sending buffer area for solving the problems of clock rate matching and phase compensation, and then, sending out data as differential data signals through parallel-serial conversion, and adopting the high-speed serial transceiver 53 based on the FPGA as a physical layer circuit of the photoelectric conversion interface 5, connecting parallel data with the high-speed serial transceiver 53 through an AXI4_ Stream protocol conversion interface, then coding the parallel data through 64/66B, performing parallel-serial conversion to obtain differential data signals, and connecting SFP 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 means of a pseudo-random sequence, 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, and the routing information calculation module 231 in the transmission mode controller 23 extracts the routing information in the link configuration data packet, and determines, by using the switch 232, that the data transmission of the link configuration data packet is the transmission of the circuit router 4 or the transmission of the optical path router 6 according to the routing information, if the data transmission is the transmission of the circuit router 4, then, the data packet is directly transmitted to the resource network interface 2 for buffer transmission by using a packet switching mode, if the data packet is transmitted by the optical path router 6, then, the data packet is transmitted by using a circuit transmission manner, 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, the next hop direction is determined according to the routing information, 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 waits at the current routing controller 3 until obtaining the 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 optical-electrical conversion interface 5 converts a 32-bit effective data packet sent by the resource network interface 2 into a data packet with a data bit width of 64 bits, 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 a 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 an optical-electrical interconnection network architecture and a data transmission method, wherein the optical-electrical interconnection network architecture comprises 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 respectively electrically connected with the resource network interface 2 and the routing controller 3, the optical-electrical conversion interface 5 is respectively electrically connected with the resource network interface 2 and the optical path router 6, the optical 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, transmitting the data packet to the resource node 1 through the photoelectric conversion interface 5 and counting; 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 as defined by the appended claims.