CN117221422A - Fusion method of Ethernet protocol and optical fiber bus protocol - Google Patents

Fusion method of Ethernet protocol and optical fiber bus protocol Download PDF

Info

Publication number
CN117221422A
CN117221422A CN202311295538.5A CN202311295538A CN117221422A CN 117221422 A CN117221422 A CN 117221422A CN 202311295538 A CN202311295538 A CN 202311295538A CN 117221422 A CN117221422 A CN 117221422A
Authority
CN
China
Prior art keywords
service data
peer
protocol frame
optical fiber
fiber bus
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.)
Pending
Application number
CN202311295538.5A
Other languages
Chinese (zh)
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.)
719th Research Institute Of China State Shipbuilding Corp
Original Assignee
719th Research Institute Of China State Shipbuilding Corp
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 719th Research Institute Of China State Shipbuilding Corp filed Critical 719th Research Institute Of China State Shipbuilding Corp
Priority to CN202311295538.5A priority Critical patent/CN117221422A/en
Publication of CN117221422A publication Critical patent/CN117221422A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the disclosure provides a fusion method of an Ethernet protocol and an optical fiber bus protocol; is applied to the technical field of communication. The method comprises the steps that user service data are split into service data with high time certainty and reliable transmission and service data of peer-to-peer flexible communication or service data are received by a user layer, the service data with high time certainty and reliable transmission and service data of peer-to-peer flexible communication are respectively packaged by a data multiplexing layer or received optical fiber bus protocol frames and Ethernet communication protocol frames are split into corresponding service data, addressing and controlling are respectively carried out on the transmitted/received optical fiber bus protocol frames and Ethernet communication protocol frames by a MAC layer, and the optical fiber bus protocol frames and Ethernet communication protocol frames are respectively transmitted/received by a PHY layer. In this way, the complexity of user layer data scheduling can be reduced, the data transmission efficiency can be improved, and the application scene of the fusion protocol in the physical layer transmission medium can be enlarged.

Description

Fusion method of Ethernet protocol and optical fiber bus protocol
Technical Field
The disclosure relates to the field of communication technologies, and in particular, to a fusion method of an ethernet protocol and an optical fiber bus protocol.
Background
In some high-reliability communication fields, an optical fiber bus protocol is often adopted to realize high-reliability transmission of time certainty, and a physical layer transmission medium is coaxial cable or optical fiber, so that the communication method cannot immediately initiate communication according to the self requirement of a user; in order to solve the problem of instant messaging, an Ethernet communication mechanism is adopted, the communication mechanism can flexibly schedule data, and a physical layer transmission medium is twisted pair or optical fiber, but the communication mechanism also has certain defects, such as uncertainty in time delay of data packet transmission to a destination end, and can not meet the instruction transmission requirement of a control system with strong real-time performance.
In order to consider the time certainty of the transmission of the optical fiber bus protocol and the flexibility of the application layer of the Ethernet protocol, the prior art adopts the optical fiber as a transmission medium, utilizes the optical fiber bus protocol to transmit data, maps the Ethernet protocol on the upper layer of the protocol, provides an Ethernet data delivery interface for the user layer, and realizes the flexible delivery of the application layer data. This method has the following problems: for data suitable for transmission in a twisted pair transmission medium, the physical layer transmission medium cannot meet the requirements thereof; mapping the Ethernet protocol on the fiber bus protocol can lead to multi-layer nesting of the transmission protocol, increase the protocol overhead and reduce the data transmission efficiency.
Disclosure of Invention
The disclosure provides a fusion method, a device, equipment and a storage medium of an Ethernet protocol and an optical fiber bus protocol.
According to a first aspect of the present disclosure, a method for converged transmission of an ethernet protocol and a fiber bus protocol is provided. The method comprises the following steps:
in a user layer, acquiring user service data, and splitting the user service data into service data with high time certainty and reliable transmission and service data of peer-to-peer flexible communication;
at the data multiplexing layer, respectively packaging the service data with high reliability of time certainty and the service data of peer-to-peer flexible communication; the service data with high time certainty and reliable transmission are packaged into an optical fiber bus protocol frame according to an optical fiber bus protocol frame format, and the service data of peer-to-peer flexible communication are packaged into an Ethernet communication protocol frame according to an Ethernet communication protocol frame format;
addressing and controlling the fiber bus protocol frame and the Ethernet communication protocol frame respectively in the MAC layer;
at the PHY layer, the fiber bus protocol frames and the ethernet communication protocol frames are transmitted, respectively.
In some implementations of the first aspect, addressing and controlling the fiber bus protocol frames includes:
Determining a destination device according to the source address identifier and the destination address identifier in the fiber bus protocol frame so as to transmit through a physical layer;
addressing and controlling ethernet communication protocol frames, comprising:
determining a destination device according to a source address identifier and a destination address identifier in an Ethernet communication protocol frame; so as to be transmitted through the physical layer.
In some implementations of the first aspect, at the PHY layer, transmitting the fiber bus protocol frame and the ethernet communication protocol frame, respectively, includes:
at the PHY layer, the twisted pair of ethernet is used as a transmission medium to transmit the fiber bus protocol frame and the ethernet communication protocol frame, respectively.
In some implementations of the first aspect, the method further includes:
the sending process of the service data is split into periodic transmission, and the period length can be adjusted according to the parameter configuration of the user layer; wherein,
in one period, dividing time slices into time deterministic high-reliability transmission time and peer-to-peer flexible communication time; the time slices can be divided according to the service data transmitted with high reliability of time certainty and the data volume of the service data of peer-to-peer flexible communication;
addressing and controlling the fiber bus protocol frames in the time deterministic high-reliability transmission time;
At peer-to-peer flexible communication times, ethernet communication protocol frames are addressed and controlled.
According to a first aspect of the present disclosure, there is also provided a method for converged reception of an ethernet protocol and a fiber bus protocol. The method comprises the following steps:
at the PHY layer, respectively receiving an optical fiber bus protocol frame and an Ethernet communication protocol frame;
at the MAC layer, addressing and controlling the received optical fiber bus protocol frame and Ethernet communication protocol frame respectively;
splitting a received optical fiber bus protocol frame and an Ethernet communication protocol frame into corresponding service data in a data multiplexing layer; the optical fiber bus protocol frame is split into service data with high time certainty and reliable transmission, and the Ethernet communication protocol frame is split into service data for peer-to-peer flexible communication;
at the user layer, the service data with high certainty and reliability of the receiving time and the service data of peer-to-peer flexible communication are combined into the service data.
In some implementations of the first aspect, addressing and controlling the received fiber optic bus protocol frames includes:
determining receiving equipment according to a source address identifier and a destination address identifier in the received optical fiber bus protocol frame so as to process the received optical fiber bus protocol frame through a data multiplexing layer;
Addressing and controlling the received ethernet communication protocol frames, comprising:
the receiving device is determined according to the source address identification and the destination address identification in the received Ethernet communication protocol frame so as to process the received Ethernet communication protocol frame through the data multiplexing layer.
In some implementations of the first aspect, at the PHY layer, receiving a fiber bus protocol frame and an ethernet communication protocol frame, respectively, includes:
at the PHY layer, twisted pair ethernet lines are used as transmission media to receive the fiber bus protocol frames and the ethernet communication protocol frames, respectively.
In some implementations of the first aspect, the method further includes:
the receiving process of the service data is divided into periodic transmission, and the period length can be adjusted according to the parameter configuration of the user layer; wherein,
in one period, dividing time slices into time deterministic high-reliability transmission time and peer-to-peer flexible communication time; the time slices can be divided according to the service data transmitted with high reliability of time certainty and the data volume of the service data of peer-to-peer flexible communication;
addressing and controlling the received fiber bus protocol frames at the time of high-reliability transmission with high time certainty;
At peer-to-peer flexible communications times, received Ethernet communications protocol frames are addressed and controlled.
According to a second aspect of the present disclosure, there is provided a converged transmitting and receiving apparatus of an ethernet protocol and a fiber bus protocol. The device comprises:
the user layer module is used for acquiring user service data, splitting the user service data into service data with high time certainty and reliable transmission and service data of peer-to-peer flexible communication, and receiving and combining the service data with high time certainty and service data of peer-to-peer flexible communication into service data;
the data multiplexing module is used for respectively packaging the service data with high reliability of time certainty and the service data of peer-to-peer flexible communication; the service data with high time certainty and reliable transmission are packaged into an optical fiber bus protocol frame according to an optical fiber bus protocol frame format, the service data of peer-to-peer flexible communication are packaged into an Ethernet communication protocol frame according to an Ethernet communication protocol frame format, and the service data are further used for respectively splitting the received optical fiber bus protocol frame and the Ethernet communication protocol frame into corresponding service data; the optical fiber bus protocol frame is split into service data with high time certainty and reliable transmission, and the Ethernet communication protocol frame is split into service data for peer-to-peer flexible communication;
The MAC layer module is used for respectively addressing and controlling the optical fiber bus protocol frame and the Ethernet communication protocol frame, and also used for respectively addressing and controlling the received optical fiber bus protocol frame and the received Ethernet communication protocol frame;
and the physical layer module is used for respectively transmitting the optical fiber bus protocol frame and the Ethernet communication protocol frame and also respectively receiving the optical fiber bus protocol frame and the Ethernet communication protocol frame.
According to a third aspect of the present disclosure, an electronic device is provided. The electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method as described above.
According to a fifth aspect of the present disclosure, the disclosed embodiments provide a computer program product comprising a computer program which, when executed by a processor, implements a method as described above.
In the method, user data are acquired at a user layer, the user service data are split into service data with high time certainty and reliable transmission and service data of peer-to-peer flexible communication, the service data with high time certainty and reliable transmission are packaged into an optical fiber bus protocol frame according to an optical fiber bus protocol frame format by a data multiplexing layer, the service data of peer-to-peer flexible communication are packaged into an Ethernet communication protocol frame according to an Ethernet communication protocol frame format, an MAC layer respectively addresses and controls the optical fiber bus protocol frame and the Ethernet communication protocol frame to determine target equipment, and the optical fiber bus protocol frame and the Ethernet communication protocol frame are respectively sent to the target equipment at a physical layer; and simultaneously, the physical layer respectively receives the optical fiber bus protocol frame and the Ethernet communication protocol frame, the MAC layer respectively addresses and controls the received optical fiber bus protocol frame and the Ethernet communication protocol frame to determine the receiving equipment, the data multiplexing layer respectively splits the received optical fiber bus protocol frame and the Ethernet communication protocol frame into corresponding service data, and the receiving equipment in the user layer receives and merges the split corresponding service data into the service data. In this way, the complexity of user layer data scheduling can be reduced, the data transmission efficiency is improved, the transmission of multiple protocol data on the same physical layer transmission medium is realized, and the application scene of the fusion protocol in the physical layer transmission medium is enlarged.
It should be understood that what is described in this summary is not intended to limit the critical or essential features of the embodiments of the disclosure nor to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. For a better understanding of the present disclosure, and without limiting the disclosure thereto, the same or similar reference numerals denote the same or similar elements, wherein:
fig. 1 shows a flowchart of a fusion transmission method of an ethernet protocol and an optical fiber bus protocol provided in an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a method for fusion reception of an ethernet protocol and an optical fiber bus protocol according to an embodiment of the present disclosure;
FIG. 3 is a block diagram of a converged transmitting and receiving device of an Ethernet protocol and a fiber bus protocol provided by an embodiment of the present disclosure;
fig. 4 illustrates a block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments in this disclosure without inventive faculty, are intended to be within the scope of this disclosure.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Aiming at the problems in the background art, the embodiment of the disclosure provides a fusion method and a fusion device of an Ethernet protocol and an optical fiber bus protocol. Specifically, user data is acquired at a user layer, the user service data is split into service data with high time certainty and reliable transmission and service data of peer-to-peer flexible communication, the service data with high time certainty and reliable transmission is packaged into an optical fiber bus protocol frame according to an optical fiber bus protocol frame format by a data multiplexing layer, the service data of peer-to-peer flexible communication is packaged into an Ethernet communication protocol frame according to an Ethernet communication protocol frame format, an MAC layer respectively addresses and controls the optical fiber bus protocol frame and the Ethernet communication protocol frame to determine target equipment, and the optical fiber bus protocol frame and the Ethernet communication protocol frame are respectively sent to the target equipment at a physical layer; and simultaneously, the physical layer respectively receives the optical fiber bus protocol frame and the Ethernet communication protocol frame, the MAC layer respectively addresses and controls the received optical fiber bus protocol frame and the Ethernet communication protocol frame to determine the receiving equipment, the data multiplexing layer respectively splits the received optical fiber bus protocol frame and the Ethernet communication protocol frame into corresponding service data, and the receiving equipment in the user layer receives and merges the split corresponding service data into the service data. In this way, the complexity of user layer data scheduling can be reduced, the data transmission efficiency is improved, the transmission of multiple protocol data on the same physical layer transmission medium is realized, and the application scene of the fusion protocol in the physical layer transmission medium is enlarged.
The following describes in detail, by means of specific embodiments, a method and an apparatus for fusing an ethernet protocol and an optical fiber bus protocol provided in the embodiments of the present disclosure with reference to the accompanying drawings.
Fig. 1 shows a flowchart of a method for fusion transmission of an ethernet protocol and an optical fiber bus protocol according to an embodiment of the present disclosure, where method 100 includes the following steps:
s110, at the user layer, user service data is acquired, and the user service data is split into service data with high time certainty and reliable transmission and service data of peer-to-peer flexible communication.
In some embodiments, the highly time-deterministic and reliable transmission of traffic data corresponds to a fiber bus protocol;
the traffic data for peer-to-peer flexible communications corresponds to an ethernet communication protocol.
S120, respectively packaging the service data with high time certainty and reliable transmission and the service data of peer-to-peer flexible communication in a data multiplexing layer; the service data with high time certainty and reliable transmission are packaged into an optical fiber bus protocol frame according to an optical fiber bus protocol frame format, and the service data with peer-to-peer flexible communication are packaged into an Ethernet communication protocol frame according to an Ethernet communication protocol frame format.
S130, addressing and controlling the fiber bus protocol frame and the Ethernet communication protocol frame respectively at the MAC layer.
In some embodiments, addressing and controlling the fiber bus protocol frames includes:
determining a destination device according to the source address identifier and the destination address identifier in the fiber bus protocol frame so as to transmit through a physical layer;
addressing and controlling ethernet communication protocol frames, comprising:
determining a destination device according to a source address identifier and a destination address identifier in an Ethernet communication protocol frame; so as to be transmitted through the physical layer.
In some embodiments, addressing and controlling the fiber bus protocol frames further comprises:
preprocessing service data to be sent by user equipment in an optical fiber bus protocol frame, requesting a routing manager to allocate a first memory address for buffering the service data to be sent, after the routing manager responds to the request, buffering the service data to be sent by the user equipment, and sending the first memory address to target equipment by the routing manager;
addressing and controlling the ethernet communication protocol frames, further comprising:
and preprocessing service data to be sent by the user equipment in the Ethernet communication protocol frame, requesting to allocate a second memory address for buffering the service data to be sent to the routing manager, after the routing manager responds to the request, buffering the service data to be sent by the user equipment, and sending the second memory address to the destination equipment by the routing manager.
In some embodiments, the MAC layer is implemented using a mature IP core inside the FPGA.
S140, at the PHY layer, the fiber bus protocol frame and the Ethernet communication protocol frame are respectively transmitted.
In some embodiments, at the PHY layer, transmitting the fiber bus protocol frame and the ethernet communication protocol frame, respectively, includes:
at the PHY layer, the twisted pair of ethernet is used as a transmission medium to transmit the fiber bus protocol frame and the ethernet communication protocol frame, respectively.
In some embodiments, at the PHY layer, the fiber bus protocol frames and the ethernet communication protocol frames are transmitted separately, further comprising:
writing the cached business data to be sent by the user equipment into a first memory address in the destination equipment so as to transmit the business data to be sent by the user equipment to the destination equipment;
and writing the cached service data to be sent by the source Ethernet equipment into a second memory address in the destination Ethernet equipment so as to send the service data to be sent by the source Ethernet equipment to the destination equipment.
In some embodiments, the PHY layer is implemented with a stand-alone integrated circuit; the chip type of the integrated circuit comprises MARVEL.
In some embodiments, the user layer is connected with the CPU through an AXI bus or a PCIe interface in the FPGA, develops an optical fiber bus protocol stack and an Ethernet protocol stack according to a hardware description language, and interacts with the MAC layer through a data multiplexing layer respectively; wherein,
The optical fiber bus protocol stack comprises an optical fiber bus protocol frame;
the ethernet protocol stack includes ethernet communication protocol frames.
In some embodiments, the method 100 further comprises:
the sending process of the service data is split into periodic transmission, and the period length can be adjusted according to the parameter configuration of the user layer; wherein,
in one period, dividing time slices into time deterministic high-reliability transmission time and peer-to-peer flexible communication time; the time slices can be divided according to the service data transmitted with high reliability of time certainty and the data volume of the service data of peer-to-peer flexible communication;
addressing and controlling the fiber bus protocol frames in the time deterministic high-reliability transmission time;
at peer-to-peer flexible communication times, ethernet communication protocol frames are addressed and controlled.
Fig. 2 shows a flowchart of a method for fusion reception of an ethernet protocol and a fiber bus protocol according to an embodiment of the present disclosure, where method 200 includes the following steps:
s210, at the PHY layer, respectively receiving the fiber bus protocol frame and the Ethernet communication protocol frame.
In some embodiments, at the PHY layer, receiving a fiber bus protocol frame and an ethernet communication protocol frame, respectively, includes:
At the PHY layer, twisted pair ethernet lines are used as transmission media to receive the fiber bus protocol frames and the ethernet communication protocol frames, respectively.
In some embodiments, at the PHY layer, the fiber bus protocol frames and the ethernet communication protocol frames are received separately, further comprising:
and at the PHY layer, reading the business data written in the first memory address in the target equipment and reading the business data written in the second memory address in the target equipment.
In some embodiments, the PHY layer is implemented with a stand-alone integrated circuit; the chip type of the integrated circuit comprises MARVEL.
S220, addressing and controlling the received fiber bus protocol frame and Ethernet communication protocol frame respectively at the MAC layer.
In some embodiments, addressing and controlling received fiber optic bus protocol frames includes:
determining receiving equipment according to a source address identifier and a destination address identifier in the received optical fiber bus protocol frame so as to process the received optical fiber bus protocol frame through a data multiplexing layer;
addressing and controlling the received ethernet communication protocol frames, comprising:
the receiving device is determined according to the source address identification and the destination address identification in the received Ethernet communication protocol frame so as to process the received Ethernet communication protocol frame through the data multiplexing layer.
In some embodiments, addressing and controlling the received fiber optic bus protocol frames further comprises:
preprocessing the service data in the read first memory address, requesting to allocate a third memory address for receiving the service data cache in the first memory address to a routing manager, after the routing manager responds to the request, completing the cache of the service data in the first memory address, and sending the third memory address to a receiving device by the routing manager so that the receiving device caches the received service data to the third memory address;
addressing and controlling the received ethernet communication protocol frame, further comprising:
preprocessing the service data in the read second memory address, requesting to allocate a fourth memory address for receiving the service data cache in the second memory address to the routing manager, after the routing manager responds to the request, completing the cache of the service data in the second memory address, and sending the fourth memory address to the receiving device by the routing manager so that the receiving device caches the received service data to the fourth memory address.
In some embodiments, the MAC layer is implemented using a mature IP core inside the FPGA.
S230, respectively splitting the received optical fiber bus protocol frame and the Ethernet communication protocol frame into corresponding service data at a data multiplexing layer; the optical fiber bus protocol frame is split into service data with high time certainty and reliable transmission, and the Ethernet communication protocol frame is split into service data for peer-to-peer flexible communication. S240, at the user layer, the service data with high certainty and reliability of the receiving time and the service data of peer-to-peer flexible communication are combined into the service data.
In some embodiments, the highly time-deterministic and reliable transmission of traffic data corresponds to a fiber bus protocol;
the traffic data for peer-to-peer flexible communications corresponds to an ethernet communication protocol.
In some embodiments, the user layer is connected with the CPU through an AXI bus or a PCIe interface in the FPGA, develops an optical fiber bus protocol stack and an Ethernet protocol stack according to a hardware description language, and interacts with the MAC layer through a data multiplexing layer respectively; wherein,
the optical fiber bus protocol stack comprises an optical fiber bus protocol frame;
the ethernet protocol stack includes ethernet communication protocol frames.
In some embodiments, the method 200 further comprises:
the receiving process of the service data is divided into periodic transmission, and the period length can be adjusted according to the parameter configuration of the user layer; wherein,
In one period, dividing time slices into time deterministic high-reliability transmission time and peer-to-peer flexible communication time; the time slices can be divided according to the service data transmitted with high reliability of time certainty and the data volume of the service data of peer-to-peer flexible communication;
addressing and controlling the received fiber bus protocol frames at the time of high-reliability transmission with high time certainty;
at peer-to-peer flexible communications times, received Ethernet communications protocol frames are addressed and controlled.
According to the embodiment of the disclosure, user data is acquired at a user layer, the user service data is split into service data with high time certainty and reliable transmission and service data of peer-to-peer flexible communication, the service data with high time certainty and reliable transmission is packaged into an optical fiber bus protocol frame according to an optical fiber bus protocol frame format by a data multiplexing layer, the service data of peer-to-peer flexible communication is packaged into an Ethernet communication protocol frame according to an Ethernet communication protocol frame format, and an MAC layer respectively addresses and controls the optical fiber bus protocol frame and the Ethernet communication protocol frame to determine a destination device, and the optical fiber bus protocol frame and the Ethernet communication protocol frame are respectively sent to the destination device at a physical layer; and simultaneously, the physical layer respectively receives the optical fiber bus protocol frame and the Ethernet communication protocol frame, the MAC layer respectively addresses and controls the received optical fiber bus protocol frame and the Ethernet communication protocol frame to determine the receiving equipment, the data multiplexing layer respectively splits the received optical fiber bus protocol frame and the Ethernet communication protocol frame into corresponding service data, and the receiving equipment in the user layer receives and merges the split corresponding service data into the service data. In this way, the complexity of user layer data scheduling can be reduced, the data transmission efficiency is improved, the transmission of multiple protocol data on the same physical layer transmission medium is realized, and the application scene of the fusion protocol in the physical layer transmission medium is enlarged.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present disclosure is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present disclosure. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all alternative embodiments, and that the acts and modules referred to are not necessarily required by the present disclosure.
The foregoing is a description of embodiments of the method, and the following further describes embodiments of the present disclosure through examples of apparatus.
Fig. 3 is a block diagram of a device for fusion transmission and reception of an ethernet protocol and a fiber bus protocol according to an embodiment of the present disclosure. The apparatus 300 includes:
the user layer module 310 is configured to obtain user service data, split the user service data into service data with high time certainty and reliable transmission and service data for peer-to-peer flexible communication, and receive and combine the service data with high time certainty and service data for peer-to-peer flexible communication into service data.
A data multiplexing module 320, configured to encapsulate service data with high reliability and high time certainty and service data for peer-to-peer flexible communication, respectively; the service data with high time certainty and reliable transmission are packaged into an optical fiber bus protocol frame according to an optical fiber bus protocol frame format, the service data of peer-to-peer flexible communication are packaged into an Ethernet communication protocol frame according to an Ethernet communication protocol frame format, and the service data are further used for respectively splitting the received optical fiber bus protocol frame and the Ethernet communication protocol frame into corresponding service data; the optical fiber bus protocol frame is split into service data with high time certainty and reliable transmission, and the Ethernet communication protocol frame is split into service data for peer-to-peer flexible communication.
The MAC layer module 330 is configured to address and control the optical fiber bus protocol frame and the ethernet communication protocol frame, respectively, and is also configured to address and control the received optical fiber bus protocol frame and the ethernet communication protocol frame, respectively.
In some embodiments, when sending service data, the module 330 is specifically configured to:
addressing and controlling the fiber bus protocol frames, comprising:
determining a destination device according to the source address identifier and the destination address identifier in the fiber bus protocol frame so as to transmit through a physical layer;
Addressing and controlling ethernet communication protocol frames, comprising:
determining a destination device according to a source address identifier and a destination address identifier in an Ethernet communication protocol frame; so as to be transmitted through the physical layer.
In some embodiments, when receiving service data, the module 330 is specifically configured to:
addressing and controlling the received fiber optic bus protocol frames, comprising:
determining receiving equipment according to a source address identifier and a destination address identifier in the received optical fiber bus protocol frame so as to process the received optical fiber bus protocol frame through a data multiplexing layer;
addressing and controlling the received ethernet communication protocol frames, comprising:
the receiving device is determined according to the source address identification and the destination address identification in the received Ethernet communication protocol frame so as to process the received Ethernet communication protocol frame through the data multiplexing layer.
The physical layer module 340 is configured to send the optical fiber bus protocol frame and the ethernet communication protocol frame respectively, and receive the optical fiber bus protocol frame and the ethernet communication protocol frame respectively.
In some embodiments, when sending service data, the module 340 is specifically configured to:
at the PHY layer, transmitting the fiber bus protocol frame and the ethernet communication protocol frame respectively includes:
At the PHY layer, the twisted pair of ethernet is used as a transmission medium to transmit the fiber bus protocol frame and the ethernet communication protocol frame, respectively.
In some embodiments, when receiving service data, the module 340 is specifically configured to:
at the PHY layer, respectively receiving an optical fiber bus protocol frame and an ethernet communication protocol frame, including:
at the PHY layer, twisted pair ethernet lines are used as transmission media to receive the fiber bus protocol frames and the ethernet communication protocol frames, respectively.
In some embodiments, when sending the service data, the apparatus 300 is further configured to:
the sending process of the service data is split into periodic transmission, and the period length can be adjusted according to the parameter configuration of the user layer; wherein,
in one period, dividing time slices into time deterministic high-reliability transmission time and peer-to-peer flexible communication time; the time slices can be divided according to the service data transmitted with high reliability of time certainty and the data volume of the service data of peer-to-peer flexible communication;
addressing and controlling the fiber bus protocol frames in the time deterministic high-reliability transmission time;
at peer-to-peer flexible communication times, ethernet communication protocol frames are addressed and controlled.
In some embodiments, when receiving service data, the apparatus 300 is further configured to:
The receiving process of the service data is divided into periodic transmission, and the period length can be adjusted according to the parameter configuration of the user layer; wherein,
in one period, dividing time slices into time deterministic high-reliability transmission time and peer-to-peer flexible communication time; the time slices can be divided according to the service data transmitted with high reliability of time certainty and the data volume of the service data of peer-to-peer flexible communication;
addressing and controlling the received fiber bus protocol frames at the time of high-reliability transmission with high time certainty;
at peer-to-peer flexible communications times, received Ethernet communications protocol frames are addressed and controlled.
It can be appreciated that each module/unit in the detection apparatus 300 shown in fig. 3 has a function of implementing each step in the detection method 100 and the method 200 provided in the embodiments of the present disclosure, and can achieve corresponding technical effects, which are not described herein for brevity.
Fig. 4 illustrates a block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure. Electronic device 400 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic device 400 may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 4, the electronic device 400 includes a computing unit 401 that can perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 402 or a computer program loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data required for the operation of the electronic device 400 may also be stored. The computing unit 401, ROM402, and RAM403 are connected to each other by a bus 404. An I/O interface 405 is also connected to bus 404.
Various components in electronic device 400 are connected to I/O interface 405, including: an input unit 406 such as a keyboard, a mouse, etc.; an output unit 407 such as various types of displays, speakers, and the like; a storage unit 408, such as a magnetic disk, optical disk, etc.; and a communication unit 409 such as a network card, modem, wireless communication transceiver, etc. The communication unit 409 allows the electronic device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 401 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 401 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 401 performs the various methods and processes described above, such as methods 100 and 200. For example, in some embodiments, methods 100 and 200 may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 400 via the ROM402 and/or the communication unit 409. When the computer program is loaded into RAM403 and executed by computing unit 401, one or more steps of method 100 and/or 200 described above may be performed. Alternatively, in other embodiments, computing unit 401 may be configured to perform methods 100 and 200 in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems-on-chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the present disclosure further provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are configured to cause a computer to perform the methods 100 and 200, and achieve corresponding technical effects achieved by performing the methods according to the embodiments of the present disclosure, which are not described herein for brevity.
Additionally, the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the methods 100 and 200.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: display means for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed aspects are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (9)

1. The fusion transmission method of the Ethernet protocol and the optical fiber bus protocol is characterized by comprising the following steps:
in a user layer, acquiring user service data, and splitting the user service data into service data with high time certainty and reliable transmission and service data of peer-to-peer flexible communication;
at the data multiplexing layer, respectively packaging the service data with high reliability of time certainty and the service data of peer-to-peer flexible communication; the service data with high time certainty and reliable transmission are packaged into an optical fiber bus protocol frame according to an optical fiber bus protocol frame format, and the service data of peer-to-peer flexible communication are packaged into an Ethernet communication protocol frame according to an Ethernet communication protocol frame format;
addressing and controlling the optical fiber bus protocol frame and the Ethernet communication protocol frame respectively at the MAC layer;
and at the PHY layer, the optical fiber bus protocol frame and the Ethernet communication protocol frame are respectively transmitted.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
addressing and controlling the fiber bus protocol frames, comprising:
determining a destination device according to the source address identifier and the destination address identifier in the fiber bus protocol frame so as to transmit through a physical layer;
Addressing and controlling the ethernet communication protocol frame, comprising:
determining a destination device according to a source address identifier and a destination address identifier in an Ethernet communication protocol frame; so as to be transmitted through the physical layer.
3. The method of claim 1, wherein the step of determining the position of the substrate comprises,
at the PHY layer, transmitting the optical fiber bus protocol frame and the ethernet communication protocol frame respectively includes:
at the PHY layer, the twisted pair of ethernet is used as a transmission medium to transmit the fiber bus protocol frame and the ethernet communication protocol frame, respectively.
4. The method according to claim 1, characterized in that the method further comprises:
the sending process of the service data is split into periodic transmission, and the period length can be adjusted according to the parameter configuration of the user layer; wherein,
in one period, dividing time slices into time deterministic high-reliability transmission time and peer-to-peer flexible communication time; the time slices can be divided according to the data volume of the service data which is transmitted with high reliability and the service data which is flexibly communicated by peer-to-peer;
addressing and controlling the fiber bus protocol frames in the time deterministic high-reliability transmission time;
at peer-to-peer flexible communication times, ethernet communication protocol frames are addressed and controlled.
5. The fusion receiving method of the Ethernet protocol and the optical fiber bus protocol is characterized by comprising the following steps:
at the PHY layer, respectively receiving an optical fiber bus protocol frame and an Ethernet communication protocol frame;
at the MAC layer, addressing and controlling the received optical fiber bus protocol frame and Ethernet communication protocol frame respectively;
splitting a received optical fiber bus protocol frame and an Ethernet communication protocol frame into corresponding service data in a data multiplexing layer; the optical fiber bus protocol frame is split into service data with high time certainty and reliable transmission, and the Ethernet communication protocol frame is split into service data for peer-to-peer flexible communication;
and receiving the service data which is transmitted with high time certainty and reliability and the service data which is in peer-to-peer flexible communication at the user layer, and combining the service data into the service data.
6. The method of claim 5, wherein the step of determining the position of the probe is performed,
addressing and controlling the received fiber optic bus protocol frames, comprising:
determining receiving equipment according to a source address identifier and a destination address identifier in the received optical fiber bus protocol frame so as to process the received optical fiber bus protocol frame through a data multiplexing layer;
addressing and controlling the received ethernet communication protocol frames, comprising:
The receiving device is determined according to the source address identification and the destination address identification in the received Ethernet communication protocol frame so as to process the received Ethernet communication protocol frame through the data multiplexing layer.
7. The method of claim 5, wherein the step of determining the position of the probe is performed,
at the PHY layer, respectively receiving an optical fiber bus protocol frame and an ethernet communication protocol frame, including:
at the PHY layer, twisted pair ethernet lines are used as transmission media to receive the fiber bus protocol frames and the ethernet communication protocol frames, respectively.
8. The method according to claim 5, further comprising:
the receiving process of the service data is divided into periodic transmission, and the period length can be adjusted according to the parameter configuration of a user layer; wherein,
in one period, dividing time slices into time deterministic high-reliability transmission time and peer-to-peer flexible communication time; the time slices can be divided according to the data volume of the service data which is transmitted with high reliability and the service data which is flexibly communicated by peer-to-peer;
addressing and controlling the received fiber bus protocol frames at the time of high-reliability transmission with high time certainty;
at peer-to-peer flexible communications times, received Ethernet communications protocol frames are addressed and controlled.
9. An ethernet and fiber optic bus protocol converged transmitting and receiving apparatus, comprising:
the user layer module is used for acquiring user service data, splitting the user service data into service data with high time certainty and reliable transmission and service data of peer-to-peer flexible communication, and receiving and combining the service data with high time certainty and service data of peer-to-peer flexible communication into service data;
the data multiplexing module is used for respectively packaging the service data with high reliability of time certainty and the service data of peer-to-peer flexible communication; the service data with high time certainty and reliable transmission are packaged into an optical fiber bus protocol frame according to an optical fiber bus protocol frame format, the service data of peer-to-peer flexible communication are packaged into an Ethernet communication protocol frame according to an Ethernet communication protocol frame format, and the service data are further used for respectively splitting the received optical fiber bus protocol frame and the Ethernet communication protocol frame into corresponding service data; the optical fiber bus protocol frame is split into service data with high time certainty and reliable transmission, and the Ethernet communication protocol frame is split into service data for peer-to-peer flexible communication;
the MAC layer module is used for respectively addressing and controlling the optical fiber bus protocol frame and the Ethernet communication protocol frame, and also used for respectively addressing and controlling the received optical fiber bus protocol frame and the received Ethernet communication protocol frame;
And the physical layer module is used for respectively transmitting the optical fiber bus protocol frame and the Ethernet communication protocol frame and also respectively receiving the optical fiber bus protocol frame and the Ethernet communication protocol frame.
CN202311295538.5A 2023-10-08 2023-10-08 Fusion method of Ethernet protocol and optical fiber bus protocol Pending CN117221422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311295538.5A CN117221422A (en) 2023-10-08 2023-10-08 Fusion method of Ethernet protocol and optical fiber bus protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311295538.5A CN117221422A (en) 2023-10-08 2023-10-08 Fusion method of Ethernet protocol and optical fiber bus protocol

Publications (1)

Publication Number Publication Date
CN117221422A true CN117221422A (en) 2023-12-12

Family

ID=89051047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311295538.5A Pending CN117221422A (en) 2023-10-08 2023-10-08 Fusion method of Ethernet protocol and optical fiber bus protocol

Country Status (1)

Country Link
CN (1) CN117221422A (en)

Similar Documents

Publication Publication Date Title
CN107395572B (en) Data processing method and Internet of things gateway
CN113285931B (en) Streaming media transmission method, streaming media server and streaming media system
CN110058937B (en) Method, apparatus and medium for scheduling dedicated processing resources
US10091063B2 (en) Technologies for directed power and performance management
CN114500633B (en) Data forwarding method, related device, program product and data transmission system
CN114125983A (en) Routing method, session management entity, system and medium for mobile network user plane
CN115514718B (en) Data interaction method, control layer and equipment based on data transmission system
CN116303171A (en) Data interaction method and device between servers, electronic equipment and medium
CN110247847B (en) Method and device for back source routing between nodes
CN117221422A (en) Fusion method of Ethernet protocol and optical fiber bus protocol
CN113726881B (en) Communication connection establishment method, related device and computer readable storage medium
CN115567602A (en) CDN node back-to-source method, device and computer readable storage medium
US10129147B2 (en) Network-on-chip flit transmission method and apparatus
CN113905248B (en) Live video data transmission method, device, equipment and storage medium
CN114928581B (en) CAN message forwarding method, device, equipment and storage medium based on AUTOSAR architecture
CN114827055B (en) Data mirroring method and device, electronic equipment and switch cluster
CN114928490B (en) Multi-terminal network management and control method and device in container scene, storage medium and electronic equipment
CN114615273B (en) Data transmission method, device and equipment based on load balancing system
CN115242733B (en) Message multicast method, multicast gateway, electronic device and storage medium
CN115396367B (en) Traffic scheduling method and device, electronic equipment and storage medium
CN114785864B (en) Data interaction method, system, electronic equipment and storage medium
CN115296952B (en) Equipment scheduling method, device, equipment and storage medium
CN116132418A (en) Streaming media transmission method and device, electronic equipment and storage medium
CN117651078A (en) Data transmission method and device, electronic equipment and storage medium
CN117914836A (en) Vehicle service processing method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination