An optical fiber data transmission system and method
By using the data selection and encoding modules in the fiber optic data transmission system, data is transmitted based on priority order, which solves the problem of increased delay in the synchronization pulse signal, achieves low-latency and stable signal transmission, reduces costs, and improves system compatibility.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- WUHAN PUSAISI INSTR CO LTD
- Filing Date
- 2023-02-20
- Publication Date
- 2026-05-08
AI Technical Summary
Existing data transmission systems cannot guarantee low and stable transmission delays for synchronization pulse signals, especially when there are large amounts of continuous data and bursty data at the same time, the transmission delay of synchronization pulse signals increases.
A fiber optic data transmission system is adopted. By setting a data selection module based on a pre-defined data transmission priority, the synchronization pulse signal, byte data, and control commands are transmitted in descending order of priority. Encoding and decoding are performed through the fiber optic transmission line to ensure low latency and stability of the synchronization pulse signal.
It significantly reduces the end-to-end transmission delay of the synchronization pulse signal, improves signal quality, reduces the cost of fiber optic data transmission systems, and enhances system compatibility and scalability.
Smart Images

Figure CN116319596B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data transmission technology, and specifically to an optical fiber data transmission system and method. Background Technology
[0002] In modern data transmission, the data to be transmitted includes both large, continuous data (e.g., bytes) and relatively small, discontinuous data with high burstiness (e.g., synchronization pulse signals). These two types of data place different demands on data transmission systems. Large, continuous data requires the system to have high bandwidth. Small, discontinuous data with high burstiness requires the system to respond promptly upon receipt, transmitting the data to the receiving end in the shortest possible time, with transmission delay unaffected by other factors.
[0003] The existing solution is to directly use the Serial Peripheral Interface (SPI) for data communication. However, this approach has the following technical problems: when both types of data exist simultaneously, the transmission of a large amount of continuous data will lead to an increase in the transmission delay of the synchronization pulse signal. In other words, it is impossible to guarantee that the transmission delay of the synchronization pulse signal is low and stable. Summary of the Invention
[0004] In view of this, it is necessary to provide an optical fiber data transmission system and method to solve the technical problem in the prior art that it is impossible to guarantee low transmission delay and stable delay of the synchronization pulse signal.
[0005] On one hand, the present invention provides an optical fiber data transmission system, including an optical fiber transmission line and a first optical fiber data transmission sub-board and a second optical fiber data transmission sub-board connected to both ends of the optical fiber transmission line. The first optical fiber data transmission sub-board includes a field-programmable gate array (FPGA) and a high-speed serial transceiver. The FPGA includes a data receiving module, a data selection module, and a data encoding module.
[0006] The data receiving module is used to acquire first data to be transmitted and transmit the first data to be transmitted to the data selection module. The first data to be transmitted is at least one of a first synchronization pulse signal, a first byte of data, and a first control command.
[0007] The data selection module is used to transmit the first synchronization pulse signal, the first byte of data, and the first control command to the data encoding module in descending order of data transmission priority based on a preset data transmission priority.
[0008] The data encoding module is used to encode the first synchronization pulse signal, the first byte data and the first control command to obtain first encoded data, and transmit the first encoded data to the high-speed serial transceiver;
[0009] The high-speed serial transceiver is used to transmit the first encoded data to the second fiber optic data transmission subboard via the fiber optic transmission line.
[0010] In some possible implementations, the data transmission priority of the first synchronization pulse signal is higher than the data transmission priority of the first control command, and the data transmission priority of the first control command is higher than the data transmission priority of the first byte of data.
[0011] In some possible implementations, the field-programmable gate array further includes a data decoding module and a data output module;
[0012] The high-speed serial transceiver is also used to transmit the second encoded data generated by the second optical fiber data transmission subboard to the data decoding module;
[0013] The data decoding module is used to decode the second encoded data to obtain the second decoded data, and transmit the second decoded data to the data output module;
[0014] The data output module is used to generate and output second data to be transmitted based on the second decoded data. The second data to be transmitted is at least one of a second synchronization pulse signal, a second byte of data, and a second control command.
[0015] In some possible implementations, the data receiving module includes a pulse acquisition encoding submodule, a data transmission submodule, and a control command encoding submodule;
[0016] The pulse acquisition and encoding submodule is used to acquire an initial synchronization pulse signal, encode the initial synchronization pulse signal to obtain a first synchronization pulse signal, and transmit the first synchronization pulse signal to the data selection module;
[0017] The data sending submodule is used to receive and store the first byte of data, and transmit the first byte of data to the data selection module;
[0018] The control command encoding submodule is used to receive an initial control command, encode the initial control command according to a preset encoding protocol to obtain a first control command, store the first control command and transmit it to the data selection module.
[0019] In some possible implementations, the data decoding module includes a data decoding submodule and a data parsing submodule;
[0020] The data decoding submodule is used to decode the second encoded data to obtain the second preliminary decoded data;
[0021] The data parsing submodule is used to parse the second decoded data to obtain the second decoded data, which includes second pulse decoded data, second byte data, and second control command decoded data.
[0022] In some possible implementations, the data output module includes a pulse signal output submodule, a byte data output submodule, and a control command output submodule;
[0023] The pulse signal output submodule is used to receive the second pulse decoding data, generate the second synchronization pulse signal based on the second pulse decoding data, and output it.
[0024] The byte data output submodule is used to cache and output the second byte data;
[0025] The control command output submodule is used to decode the second control command decoding data according to a preset decoding protocol, obtain the second control command, cache the second control command, and output it.
[0026] In some possible implementations, the pulse signal output submodule includes a pulse decoding submodule and a pulse generation submodule;
[0027] The pulse decoding submodule is used to receive the second pulse decoding data and decode the second pulse decoding data to obtain the second synchronization pulse signal;
[0028] The pulse generation submodule is used to output the second synchronization pulse signal.
[0029] In some possible implementations, the first fiber optic data transmission subboard further includes an optical module connected between the high-speed serial transceiver and the fiber optic transmission line, the optical module being used to perform photoelectric conversion on the first encoded data and the second encoded data.
[0030] On the other hand, the present invention also provides an optical fiber data transmission method applied to a first optical fiber data transmission subboard, the optical fiber data transmission method comprising:
[0031] Acquire first data to be transmitted, wherein the first data to be transmitted is at least one of a first synchronization pulse signal, a first byte of data, and a first control command;
[0032] Based on the preset data transmission priority, the first synchronization pulse signal, the first byte of data, and the first control command are transmitted in descending order of data transmission priority.
[0033] The first synchronization pulse signal, the first byte of data, and the first control command are encoded to obtain first encoded data;
[0034] The first encoded data is transmitted to the second fiber optic data transmission subboard via an optical fiber transmission line.
[0035] On the other hand, the present invention also provides an optical fiber data transmission method applied to a first optical fiber data transmission subboard, the optical fiber data transmission method comprising:
[0036] Receive the second encoded data generated by the second fiber optic data transmission subboard;
[0037] The second encoded data is decoded to obtain the second decoded data;
[0038] The second data to be transmitted is generated and output based on the second decoded data. The second data to be transmitted is at least one of the second synchronization pulse signal, the second byte data, and the second control command.
[0039] The beneficial effects of the above embodiments are as follows: The optical fiber data transmission system provided by the present invention, by setting the data selection module to transmit the first synchronization pulse signal, the first byte data, and the first control command to the data encoding module in descending order of data transmission priority based on a pre-set data transmission priority, can solve the problem of increased transmission delay of the first synchronization pulse signal caused by the transmission of a large amount of continuous first byte data and the first control command, significantly reduce the end-to-end transmission delay of the first synchronization pulse signal, stabilize the delay of the first synchronization pulse signal, and improve the quality of the first synchronization pulse signal received by the second optical fiber data transmission subboard.
[0040] Furthermore, the present invention only requires a single optical fiber transmission line, a first optical fiber data transmission sub-board, and a second optical fiber data transmission sub-board to achieve the transmission of multiple types of data, thereby reducing the cost of the optical fiber data transmission system. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1A schematic diagram of an embodiment of the optical fiber data transmission system provided by the present invention;
[0043] Figure 2 A schematic diagram of an embodiment of the first optical fiber data transmission subboard provided by the present invention;
[0044] Figure 3 A schematic flowchart of an embodiment of the optical fiber data transmission method provided by the present invention;
[0045] Figure 4 This is a schematic flowchart of another embodiment of the optical fiber data transmission method provided by the present invention. Detailed Implementation
[0046] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0047] It should be understood that the illustrative drawings are not drawn to scale. The flowcharts used in this invention illustrate operations implemented according to some embodiments of the invention. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or performed simultaneously. Furthermore, those skilled in the art, guided by the content of this invention, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.
[0048] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0049] This invention provides an optical fiber data transmission system and method, which will be described below.
[0050] Figure 1 This is a schematic diagram of an embodiment of the optical fiber data transmission system provided by the present invention. Figure 2 This is a schematic diagram of an embodiment of the first optical fiber data transmission subboard provided by the present invention, as shown below. Figure 1 and Figure 2As shown, the optical fiber data transmission system 10 includes an optical fiber transmission line 100 and a first optical fiber data transmission sub-board 200 and a second optical fiber data transmission sub-board 300 connected to both ends of the optical fiber transmission line 100. The first optical fiber data transmission sub-board 200 includes a field-programmable gate array (FPGA) 210 and a high-speed serial transceiver 220. The FPGA 210 includes a data receiving module 211, a data selection module 212, and a data encoding module 213.
[0051] The data receiving module 211 is used to acquire the first data to be transmitted and transmit the first data to be transmitted to the data selection module 212. The first data to be transmitted is at least one of the first synchronization pulse signal, the first byte of data and the first control command.
[0052] The data selection module 212 is used to transmit the first synchronization pulse signal, the first byte of data, and the first control command to the data encoding module 213 in descending order of data transmission priority based on a preset data transmission priority.
[0053] The data encoding module 213 is used to encode the first synchronization pulse signal, the first byte of data and the first control command to obtain the first encoded data, and transmit the first encoded data to the high-speed serial transceiver 220;
[0054] The high-speed serial transceiver 220 is used to transmit the first encoded data to the second fiber optic data transmission subboard 300 via the fiber optic transmission line 100.
[0055] Compared with the prior art, the optical fiber data transmission system 10 provided in this embodiment of the invention, by setting the data selection module 212 to transmit the first synchronization pulse signal, the first byte data, and the first control command to the data encoding module 213 in descending order of data transmission priority, can solve the problem of increased transmission delay of the first synchronization pulse signal caused by the transmission of a large amount of continuous first byte data and the first control command. It can significantly reduce the end-to-end transmission delay of the first synchronization pulse signal, stabilize the delay of the first synchronization pulse signal, and improve the quality of the first synchronization pulse signal received by the second optical fiber data transmission subboard 300.
[0056] Furthermore, in this embodiment of the invention, only one optical fiber transmission line 100, a first optical fiber data transmission sub-board 200, and a second optical fiber data transmission sub-board 300 are needed to realize the transmission of multiple types of data, thereby reducing the cost of the optical fiber data transmission system 10.
[0057] The specific method by which the data encoding module 213 encodes the first synchronization pulse signal, the first byte of data, and the first control command is as follows: according to the IEEE 802.3 Gigabit Ethernet protocol, the received 8-bit first data to be transmitted is converted into 10-bit first encoded data.
[0058] Since the optical fiber data transmission system 10 needs to ensure the low latency of the synchronization pulse signal, in a specific embodiment of the present invention, the data transmission priority of the first synchronization pulse signal is higher than the data transmission priority of the first control command, and the data transmission priority of the first control command is higher than the data transmission priority of the first byte of data.
[0059] By setting the data transmission priority of the first synchronization pulse signal to be the highest, this embodiment of the invention can ensure that the delay of the first synchronization pulse signal during transmission is low, thereby improving the signal quality of the first synchronization pulse signal received by the second optical fiber data transmission subboard 300.
[0060] The maximum number of channels for the first synchronization pulse signal is 16. By setting up the transmission of 16 channels of the first synchronization pulse signal, the conflict problem caused by the simultaneous transition of multiple synchronization pulse signals is solved, and high-concurrency, low-latency transmission of synchronization pulse signals is achieved.
[0061] To achieve bidirectional data transmission, i.e., data can be transmitted both from the first fiber optic data transmission subboard 200 to the second fiber optic data transmission subboard 300, and vice versa, in some embodiments of the present invention, such as... Figure 2 As shown, the field-programmable gate array 210 also includes a data decoding module 214 and a data output module 215;
[0062] The high-speed serial transceiver 220 is also used to transmit the second encoded data generated by the second fiber optic data transmission subboard 300 to the data decoding module 214;
[0063] The data decoding module 214 is used to decode the second encoded data, obtain the second decoded data, and transmit the second decoded data to the data output module 215;
[0064] The data output module 215 is used to generate and output second data to be transmitted based on the second decoded data. The second data to be transmitted is at least one of a second synchronization pulse signal, a second byte of data, and a second control command.
[0065] In this embodiment of the invention, a high-speed serial transceiver 220 is used to transmit the second encoded data generated by the second optical fiber data transmission sub-board 300 to the data decoding module 214, and the second data to be transmitted is output through the data decoding module 214 and the data output module 215, thereby realizing bidirectional data transmission between the first optical fiber data transmission sub-board 200 and the second optical fiber data transmission sub-board 300.
[0066] The data decoding module 214 decodes the second encoded data to obtain the second decoded data in the following way: according to the IEEE 802.3 Gigabit Ethernet protocol, the 10-bit second encoded data is decoded into 8-bit second decoded data.
[0067] In some embodiments of the present invention, such as Figure 2 As shown, the data receiving module 211 includes a pulse acquisition encoding submodule 2111, a data transmission submodule 2112, and a control command encoding submodule 2113;
[0068] The pulse acquisition and encoding submodule 2111 is used to acquire the initial synchronization pulse signal, encode the initial synchronization pulse signal to obtain the first synchronization pulse signal, and transmit the first synchronization pulse signal to the data selection module 212.
[0069] The data sending submodule 2112 is used to receive and store the first byte of data, and transmit the first byte of data to the data selection module 212;
[0070] The control command encoding submodule 2113 is used to receive the initial control command, encode the initial control command according to the preset encoding protocol to obtain the first control command, store the first control command and transmit it to the data selection module 212.
[0071] Specifically, the pulse acquisition and encoding submodule 2111 acquires the initial synchronization pulse signal by simultaneously capturing the logic level changes of the initial synchronization pulse signal. The initial synchronization pulse signal is then encoded into a 4-byte first synchronization pulse signal.
[0072] The preset encoding protocol in the control command encoding submodule 2113 is the IEEE 802.3 Gigabit Ethernet protocol.
[0073] It should be noted that: In this embodiment of the invention, the initial control command is encoded by the control command encoding submodule 2113 according to a preset encoding protocol to obtain the first control command. The actual function of the first control command can be customized according to the IEEE 802.3 Gigabit Ethernet protocol. Subsequently, the function of the optical fiber data transmission system 10 can be expanded by transmitting the first control command, without affecting the transmission of pulse synchronization signals and byte data, thereby improving the compatibility and scalability of the optical fiber data transmission system 10.
[0074] In some embodiments of the present invention, such as Figure 2 As shown, the data decoding module 214 includes a data decoding submodule 2141 and a data parsing submodule 2142;
[0075] The data decoding submodule 2141 is used to decode the second encoded data to obtain the second preliminary decoded data;
[0076] The data parsing submodule 2142 is used to parse the second decoded data to obtain the second decoded data, which includes the second pulse decoded data, the second byte data, and the second control command decoded data.
[0077] Specifically, the data decoding submodule 2141 performs the following process: According to the IEEE 802.3 Gigabit Ethernet protocol, it decodes the 10-bit second encoded data into 8-bit second preliminary decoded data. The data parsing submodule 2142 performs the following process: it parses the second decoded data to determine the second pulse decoded data, the second byte data, and the second control command decoded data within the second decoded data.
[0078] In specific embodiments of the present invention, such as Figure 2 As shown, the data output module 215 includes a pulse signal output submodule 2151, a byte data output submodule 2152, and a control command output submodule 2153;
[0079] The pulse signal output submodule 2151 is used to receive the second pulse decoding data, generate a second synchronization pulse signal based on the second pulse decoding data, and output it.
[0080] The byte data output submodule 2152 is used to buffer and output the second byte of data;
[0081] The control command output submodule 2153 is used to decode the second control command decoding data according to a preset decoding protocol, obtain the second control command, buffer the second control command, and output it.
[0082] In this embodiment of the invention, by setting a pulse signal output submodule 2151, a byte data output submodule 2152, and a control command output submodule 2153 to output a second synchronization pulse signal, a second byte data, and a second control command respectively, the data type of the output can be determined by different output submodules, thereby improving the reliability of data transmission in the optical fiber data transmission system 10.
[0083] The preset decoding protocol is the IEEE 802.3 Gigabit Ethernet protocol.
[0084] Since the final output second synchronization pulse signal should be a signal with varying levels, and the second pulse decoded data is 4 bytes of data, therefore, in a specific embodiment of the present invention, as follows: Figure 2 As shown, the pulse signal output submodule 2151 includes a pulse decoding submodule 21511 and a pulse generation submodule 21512;
[0085] The pulse decoding submodule 21511 is used to receive the second pulse decoding data and decode the second pulse decoding data to obtain the second synchronization pulse signal;
[0086] The pulse generation submodule 21512 is used to output the second synchronization pulse signal.
[0087] By setting up a pulse decoding submodule 21511 and a pulse generation submodule 21512, this embodiment of the invention can ensure that the output second synchronization pulse signal is a signal with varying levels, thereby improving the intuitiveness and invariance of the synchronization pulse signal.
[0088] Since the voltage environments of the first fiber optic data transmission sub-board 200 and the second fiber optic data transmission sub-board 300 may differ, in the prior art, to ensure data transmission reliability, if the first fiber optic data transmission sub-board 200 and the second fiber optic data transmission sub-board 300, operating at different voltages, need to communicate, a voltage isolation design is required on the communication interface. However, the voltage isolation chip used in the voltage isolation design is affected by the isolation voltage level, communication rate, and latency factors of the communication system, often resulting in designers being unable to find a suitable voltage isolation chip. To solve this technical problem, in some embodiments of the present invention, such as... Figure 2 As shown, the first optical fiber data transmission sub-board 200 also includes an optical module 230 connected between the high-speed serial transceiver 220 and the optical fiber transmission line 100. The optical module 230 is used to perform photoelectric conversion on the first encoded data and the second encoded data.
[0089] By setting up an optical module 230, the first encoded data and the second encoded data can be photoelectrically converted before being transmitted between the first optical fiber data transmission sub-board 200 and the second optical fiber data transmission sub-board 300. This provides voltage isolation for the circuit systems at both ends of the communication without the need to find a suitable voltage isolation chip, thus conveniently and quickly achieving voltage isolation and further improving the data transmission reliability and accuracy of the optical fiber data transmission system 10.
[0090] Furthermore, the data is converted into optical signals by the optical module 230 before being output. The data transmission uses optical signals, which reduces the interference of the external electromagnetic environment on the signal and further improves the data transmission reliability and accuracy of the fiber optic data transmission system 10.
[0091] It should be understood that the structure of the second fiber optic data transmission sub-board 300 is exactly the same as that of the first fiber optic data transmission sub-board 200, and will not be described in detail here.
[0092] On the other hand, embodiments of the present invention also provide an optical fiber data transmission method, applied to a first optical fiber data transmission subboard 200; such as Figure 3 As shown, the fiber optic data transmission methods include:
[0093] S301. Obtain first data to be transmitted, wherein the first data to be transmitted is at least one of a first synchronization pulse signal, a first byte of data, and a first control command;
[0094] S302. Based on the preset data transmission priority, the first synchronization pulse signal, the first byte of data, and the first control command are transmitted in descending order of data transmission priority.
[0095] S303: Encode the first synchronization pulse signal, the first byte of data, and the first control command to obtain the first encoded data;
[0096] S304. Transmit the first encoded data to the second fiber optic data transmission subboard 300 via the fiber optic transmission line.
[0097] The above process describes the transmission of first data to be transmitted from the first fiber optic data transmission subboard 200 to the second fiber optic data transmission subboard 300. To achieve bidirectional data transmission, this embodiment of the invention also provides a process for transmitting data from the second fiber optic data transmission subboard 300 to the second fiber optic data transmission subboard. Specifically, this embodiment of the invention also provides a fiber optic data transmission method applied to the first fiber optic data transmission subboard 200; for example... Figure 4 As shown, the fiber optic data transmission methods include:
[0098] S401, Receive the second encoded data generated by the second optical fiber data transmission sub-board 300;
[0099] S402. Decode the second encoded data to obtain the second decoded data;
[0100] S403. Generate and output second data to be transmitted based on the second decoded data. The second data to be transmitted is at least one of the second synchronization pulse signal, the second byte data, and the second control command.
[0101] In this embodiment of the invention, steps S401-S403 are used to transmit data from the second optical fiber data transmission subboard 300 to the first optical fiber data transmission subboard. Combined with steps S301-S304, bidirectional data transmission can be achieved.
[0102] It should be noted that the steps in the methods of the above embodiments can be added or expanded according to the various modules or units in the optical fiber data transmission system. For details, please refer to the description in the embodiments of the optical fiber data transmission system, which will not be repeated here.
[0103] The optical fiber data transmission system and method provided by the present invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A fiber optic data transmission system, characterized in that, The system includes an optical fiber transmission line and a first optical fiber data transmission sub-board and a second optical fiber data transmission sub-board connected to both ends of the optical fiber transmission line. The first optical fiber data transmission sub-board includes a field-programmable gate array (FPGA) and a high-speed serial transceiver. The FPGA includes a data receiving module, a data selection module, and a data encoding module. The data receiving module is used to acquire first data to be transmitted and transmit the first data to be transmitted to the data selection module. The first data to be transmitted is at least one of a first synchronization pulse signal, a first byte of data, and a first control command. The data selection module is used to transmit the first synchronization pulse signal, the first byte data, and the first control command to the data encoding module in descending order of data transmission priority based on a preset data transmission priority. The data transmission priority of the first synchronization pulse signal is higher than that of the first control command, and the data transmission priority of the first control command is higher than that of the first byte data. The data encoding module is used to encode the first synchronization pulse signal, the first byte data and the first control command to obtain first encoded data, and transmit the first encoded data to the high-speed serial transceiver; The high-speed serial transceiver is used to transmit the first encoded data to the second fiber optic data transmission subboard via the fiber optic transmission line.
2. The optical fiber data transmission system according to claim 1, characterized in that, The field-programmable gate array also includes a data decoding module and a data output module; The high-speed serial transceiver is also used to transmit the second encoded data generated by the second optical fiber data transmission subboard to the data decoding module; The data decoding module is used to decode the second encoded data to obtain the second decoded data, and transmit the second decoded data to the data output module; The data output module is used to generate and output second data to be transmitted based on the second decoded data. The second data to be transmitted is at least one of a second synchronization pulse signal, a second byte of data, and a second control command.
3. The optical fiber data transmission system according to claim 1, characterized in that, The data receiving module includes a pulse acquisition encoding submodule, a data transmission submodule, and a control command encoding submodule; The pulse acquisition and encoding submodule is used to acquire an initial synchronization pulse signal, encode the initial synchronization pulse signal to obtain a first synchronization pulse signal, and transmit the first synchronization pulse signal to the data selection module; The data sending submodule is used to receive and store the first byte of data, and transmit the first byte of data to the data selection module; The control command encoding submodule is used to receive an initial control command, encode the initial control command according to a preset encoding protocol to obtain a first control command, store the first control command and transmit it to the data selection module.
4. The optical fiber data transmission system according to claim 2, characterized in that, The data decoding module includes a data decoding submodule and a data parsing submodule; The data decoding submodule is used to decode the second encoded data to obtain the second preliminary decoded data; The data parsing submodule is used to parse the second decoded data to obtain the second decoded data, which includes second pulse decoded data, second byte data, and second control command decoded data.
5. The optical fiber data transmission system according to claim 4, characterized in that, The data output module includes a pulse signal output submodule, a byte data output submodule, and a control command output submodule; The pulse signal output submodule is used to receive the second pulse decoding data, generate the second synchronization pulse signal based on the second pulse decoding data, and output it. The byte data output submodule is used to cache and output the second byte data; The control command output submodule is used to decode the second control command decoding data according to a preset decoding protocol, obtain the second control command, cache the second control command, and output it.
6. The optical fiber data transmission system according to claim 5, characterized in that, The pulse signal output submodule includes a pulse decoding submodule and a pulse generation submodule; The pulse decoding submodule is used to receive the second pulse decoding data and decode the second pulse decoding data to obtain the second synchronization pulse signal; The pulse generation submodule is used to output the second synchronization pulse signal.
7. The optical fiber data transmission system according to claim 2, characterized in that, The first fiber optic data transmission subboard further includes an optical module connected between the high-speed serial transceiver and the fiber optic transmission line, the optical module being used to perform photoelectric conversion on the first encoded data and the second encoded data.
8. A method for transmitting data via optical fiber, characterized in that, The fiber optic data transmission method, applied to the first fiber optic data transmission subboard, includes: Acquire first data to be transmitted, wherein the first data to be transmitted is at least one of a first synchronization pulse signal, a first byte of data, and a first control command; Based on a pre-set data transmission priority, the first synchronization pulse signal, the first byte of data, and the first control command are transmitted in descending order of data transmission priority. The data transmission priority of the first synchronization pulse signal is higher than that of the first control command, and the data transmission priority of the first control command is higher than that of the first byte of data. The first synchronization pulse signal, the first byte of data, and the first control command are encoded to obtain first encoded data; The first encoded data is transmitted to the second fiber optic data transmission subboard via an optical fiber transmission line; Receive the second encoded data generated by the second fiber optic data transmission subboard; The second encoded data is decoded to obtain the second decoded data; The second data to be transmitted is generated and output based on the second decoded data. The second data to be transmitted is at least one of the second synchronization pulse signal, the second byte data, and the second control command.
Citation Information
Patent Citations
Transmission terminal, receiving terminal, multi-channel video optical fiber transmission system and multi-channel video optical fiber transmission method
CN102523436A
A data switching device and method, a data acquisition device and method and a system
CN109644290A