CN114050890A - Multi-type information transmission device adaptive to optical fiber network - Google Patents
Multi-type information transmission device adaptive to optical fiber network Download PDFInfo
- Publication number
- CN114050890A CN114050890A CN202111329236.6A CN202111329236A CN114050890A CN 114050890 A CN114050890 A CN 114050890A CN 202111329236 A CN202111329236 A CN 202111329236A CN 114050890 A CN114050890 A CN 114050890A
- Authority
- CN
- China
- Prior art keywords
- data
- optical fiber
- data frame
- type
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 132
- 239000013307 optical fiber Substances 0.000 title claims abstract description 87
- 230000003044 adaptive effect Effects 0.000 title abstract description 5
- 238000012360 testing method Methods 0.000 claims abstract description 50
- 230000003287 optical effect Effects 0.000 claims description 42
- 238000005070 sampling Methods 0.000 claims description 30
- 238000006243 chemical reaction Methods 0.000 claims description 7
- 238000004891 communication Methods 0.000 claims description 6
- 239000000835 fiber Substances 0.000 claims description 5
- 239000000126 substance Substances 0.000 claims description 4
- 238000000034 method Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000003750 conditioning effect Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 239000002904 solvent Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/25—Arrangements specific to fibre transmission
- H04B10/2589—Bidirectional transmission
- H04B10/25891—Transmission components
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/50—Transmitters
- H04B10/516—Details of coding or modulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
- H04L1/0063—Single parity check
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0078—Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
- H04L1/0083—Formatting with frames or packets; Protocol or part of protocol for error control
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Optical Communication System (AREA)
Abstract
The invention relates to a multi-type information transmission device adaptive to an optical fiber network, belongs to the technical field of data transmission, and is used for solving the problem that the prior art cannot meet the requirements of real-time performance and reliability of data transmission based on the optical fiber network. The device comprises a plurality of types of data sending ports, a plurality of types of data receiving ports, a coding module, a decoding module and an optical fiber transceiving integrated module; the input end of each type of data sending port is connected with the signal output end of the corresponding type of test equipment, and the output end of each type of data sending port is connected with the input end of the coding module; the input end of each type of data receiving port is connected with the output end of the decoding module, and the output end of each type of data receiving port is connected with the signal input end of the corresponding type of test equipment; the data input end of the optical fiber transceiving integrated module is connected with the output end of the coding module, the data output end of the optical fiber transceiving integrated module is connected with the input end of the decoding module, and the optical fiber interface is connected with an optical fiber network.
Description
Technical Field
The invention relates to the technical field of data transmission, in particular to a multi-type information transmission device adaptive to an optical fiber network.
Background
In the data transmission process based on the optical fiber network, the data of each test device needs to be transmitted through the optical fiber network. The process involves various types of test equipment, such as analog quantity, switching quantity, RS422 serial port data, LVDS bus and the like. If each test device is directly connected to the optical fiber network, the following problems exist:
(1) a corresponding number of fiber optic buses need to be designed;
(2) the optical fiber bus needs to be ensured to be matched with a hardware interface of each test device;
(3) the specific situation of each test device needs to be considered;
(4) in the existing mode, the test equipment starts to acquire and transmit data after receiving a data acquisition instruction of an upper computer, and the transmission delay is easily caused in the process;
in conclusion, the above process cannot meet the real-time requirement of communication and data acquisition between distributed nodes and the problem of long-distance transmission of signals in the data transmission process based on the optical fiber network, and is difficult to adapt to the problem of complex working timing sequence required in the data transmission process.
Therefore, there is a need for a multi-type information transmission device adaptable to an optical fiber network, which is used to meet the requirements of real-time performance and reliability in the data transmission process based on the optical fiber network.
Disclosure of Invention
In view of the foregoing analysis, embodiments of the present invention provide a multi-type information transmission apparatus adapted to an optical fiber network, so as to solve the problem that the prior art cannot meet the requirements of real-time performance and reliability in the data transmission process based on the optical fiber network.
The invention discloses a multi-type information transmission device adapted to an optical fiber network, which comprises: the optical fiber transceiver module comprises a plurality of types of data sending ports, data receiving ports, an encoding module, a decoding module and an optical fiber transceiver module; wherein the content of the first and second substances,
the input end of each type of data sending port is connected with the signal output end of the corresponding type of test equipment, and the output end of each type of data sending port is connected with the input end of the coding module;
the input end of each type of data receiving port is connected with the output end of the decoding module, and the output end of each type of data receiving port is connected with the signal input end of the corresponding type of test equipment;
the data input end of the optical fiber transceiving integrated module is connected with the output end of the coding module, the data output end of the optical fiber transceiving integrated module is connected with the input end of the decoding module, the optical fiber interface is connected with an optical fiber network, and the optical fiber interface is used for exchanging optical signals with the optical fiber network.
On the basis of the scheme, the invention also makes the following improvements:
further, the device also comprises a data acquisition module arranged between the data sending port and the coding module;
the data acquisition module is used for respectively setting sampling parameters of each type of data transmission port; and the device is also used for respectively acquiring the test sampling data of each type of test equipment according to the set sampling parameters and sending the test sampling data to the coding module.
Further, the encoding module is configured to encode the test sampling data of each type of test device to obtain a corresponding data frame, and send the encoded data frame to the optical fiber transceiving module, so that the optical fiber transceiving module converts the encoded data frame into a corresponding optical signal and transmits the converted optical signal to an optical fiber network.
Further, the data frame sequentially includes the following fields: frame header synchronization mark, data source node ID, the number of times the data frame has been forwarded, data length, high-order start address, low-order start address, transmission effective data, check code, and frame end mark; wherein the content of the first and second substances,
the data source node ID is used for uniquely representing the node ID of the current information transmission device;
the data length is the total length of a transmission data starting address and transmission effective data; the transmission data starting address consists of the high-order starting address and the low-order starting address;
the high-order starting address is used for representing a special storage address of the current information transmission device, and the special storage address is matched with the ID of the data source node;
the low-order initial address is used for representing and storing the initial transmission address of each type of data sending port and data receiving port in the current information transmission device for transmitting the effective data, and the initial transmission address is matched with the data sending port and the data receiving port;
the transmission effective data is composed of one or more effective data.
Further, the encoding module encodes the test sample data of each type of test device to obtain a corresponding data frame by performing the following operations:
generating a frame header synchronization mark indicating the start of a data frame and a frame end mark indicating the end of the data frame;
generating information which is matched with the current multi-type information transmission device in the data frame, wherein the information comprises a data source node ID, data frame forwarding times and a high-order starting address;
generating information of test sampling data matched with the test equipment of the current type in the data frame, wherein the information comprises data length, a low-order start address, transmission effective data and a check code;
and sequentially combining the generated information according to the data frame format to obtain the coded data frame.
Further, the optical fiber transceiving module is configured to receive an optical signal from an optical fiber network and analyze the optical signal to obtain a data frame, and determine whether a data source node ID of the analyzed data frame is a data source node ID of a current multi-type information transmission apparatus,
if yes, recovering the data frame;
if not, transmitting the data frame to the decoding module; meanwhile, the data frame forwarding times of the data frame are modified, and then the data frame is converted into a corresponding optical signal and transmitted to the optical fiber network.
Further, the decoding module is configured to decode the received data frame to obtain a high-order start address and a low-order start address in the data frame and to transmit valid data;
if the high-order starting address is not the high-order starting address of the current multi-type information transmission device, discarding the data frame; if yes, determining a matched data receiving port according to the low-order starting address, and sending the transmission effective data in the data frame to the matched data receiving port.
Further, the device also comprises a data reconstruction module arranged between the decoding module and the data receiving port;
and the data reconstruction module is used for reconstructing the transmission effective data based on the reconstruction parameters of the data receiving port and sending the reconstructed transmission effective data to the matched data receiving port.
Further, each field in the data frame is in units of 16 bits;
if the optical signal also takes 16 bits as a unit, the mutual conversion of the data frame and the optical signal is directly executed;
if the optical signal takes 32 bits as a unit, sequentially combining two adjacent fields in the data frame, and then performing interconversion between the data frame and the optical signal; at this time, the number of valid data in the transmission valid data is an even number.
Further, the types of the data transmitting port and the data receiving port are analog quantity, switching quantity, RS422 serial communication, 1M1553B, 4M1553B, CAN bus or LVDS bus.
Compared with the prior art, the invention can realize at least one of the following beneficial effects:
the multi-type information transmission device adaptive to the optical fiber network is provided with the multi-type data sending ports and the multi-type data receiving ports and is used for being connected with the multi-type test equipment respectively, the multi-type test equipment can be connected to the optical fiber network through the device, the difficulty of accessing the test equipment into the optical fiber network and the complexity of the whole network structure are effectively reduced, and the connection reliability of the optical fiber network is effectively improved.
Meanwhile, in the process of transmitting optical signals, the method is realized by adopting a mode of transmitting while collecting, so that the real-time performance in the data transmission process can be effectively improved, and the data transmission requirement of an optical fiber network can be met;
in addition, the invention also limits the format of the data frame, wherein, the high-order starting address is used for representing the special storage address of the current information transmission device, and the special storage address is matched with the ID of the data source node; and the low-order initial address is used for representing and storing the initial transmission address for transmitting the effective data of each type of data transmitting port and data receiving port in the current information transmission device, and the initial transmission address is matched with the data transmitting port and the data receiving port. The data frame is set in such a way, the forwarding judgment process of the optical fiber transceiving integrated module can be simplified, meanwhile, the decoding module can conveniently and quickly determine whether the received data frame is sent to the current multi-type information transmission device, and if so, the data receiving port with the effect of quickly positioning and transmitting effective data can be further positioned according to the low-order starting address. Therefore, the optical signals sent by the multi-type information transmission device and the optical signals sent to the multi-type information transmission device by the upper computer can be transmitted reliably and quickly in the optical fiber network.
In the invention, the technical schemes can be combined with each other to realize more preferable combination schemes. Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
The drawings are only for purposes of illustrating particular embodiments and are not to be construed as limiting the invention, wherein like reference numerals are used to designate like parts throughout.
Fig. 1 is a schematic structural diagram of a multi-type information transmission apparatus adapted to an optical fiber network according to an embodiment of the present invention.
Detailed Description
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate preferred embodiments of the invention and together with the description, serve to explain the principles of the invention and not to limit the scope of the invention.
The embodiment of the invention discloses a multi-type information transmission device adapted to an optical fiber network, a structural schematic diagram is shown in figure 1, and the device comprises: the optical fiber transceiver module comprises a plurality of types of data sending ports, data receiving ports, an encoding module, a decoding module and an optical fiber transceiver module; the input end of each type of data sending port is connected with the signal output end of the corresponding type of test equipment, and the output end of each type of data sending port is connected with the input end of the coding module; the input end of each type of data receiving port is connected with the output end of the decoding module, and the output end of each type of data receiving port is connected with the signal input end of the corresponding type of test equipment; the data input end of the optical fiber transceiving integrated module is connected with the output end of the coding module, the data output end of the optical fiber transceiving integrated module is connected with the input end of the decoding module, the optical fiber interface is connected with an optical fiber network, and the optical fiber interface is used for exchanging optical signals with the optical fiber network.
Preferably, the device further comprises a data acquisition module arranged between the data transmission port and the encoding module; the data acquisition module is used for respectively setting sampling parameters of each type of data transmission port; and the device is also used for respectively acquiring the test sampling data of each type of test equipment according to the set sampling parameters and sending the test sampling data to the coding module.
Preferably, the encoding module is configured to encode the test sampling data of each type of test device to obtain a corresponding data frame, and send the encoded data frame to the optical fiber transceiving module, so that the optical fiber transceiving module converts the encoded data frame into a corresponding optical signal and transmits the converted optical signal to an optical fiber network.
Preferably, in order to explain the encoding process of the encoding module and facilitate technicians to implement the scheme better, the embodiment exemplifies an optional format of the data frame; and the practical example is carried out by taking 16 bits as a unit of the field: specifically, the data frame sequentially includes the following fields:
(1) frame header synchronization mark
The frame header synchronization mark is used for determining the start of the data frame, and the high 8 bits and the low 8 bits are respectively a frame header synchronization mark 1 and a frame header synchronization mark 2. In practical implementation, the frame header synchronization flag is a fixed value, for example, the frame header synchronization flag is fixed to 0x55 AA.
(2) Data Source node ID
The data source node ID is used to uniquely characterize the node ID of the current information transfer device. The information transmission device is a node in the optical fiber network, and a unique node ID is assigned in advance by the optical fiber network and is a unique identifier of the node.
(3) Number of times data frame has been forwarded
The number of times the data frame has been forwarded is used to indicate the number of nodes through which the current data frame has passed. When the forwarding number is larger than the upper limit of the forwarding times (such as 160), the data frame is determined as an illegal 'rogue frame' and is not forwarded any more, and the recovery processing is performed.
(4) Data length
The data length is the total length of the transmission data starting address and the transmission effective data, and is represented as N, and then the data length includes 16 bits higher than AddrH, 16 bits lower than AddrL, and N-2 effective data.
(5) Starting address of transmission data
The transmission data start address comprises the upper start address (AddrH high) and the lower start address (AddrL low); in particular, the amount of the solvent to be used,
the high-order starting address is used for representing a special storage address of the current information transmission device, and the special storage address is matched with the ID of the data source node; illustratively, in this embodiment, the content of the lower 8 bits of the 16-bit high of addr is the same as the content of the lower 8 bits of the data source node ID, as shown in table 2, by this way, it is convenient for the user to quickly and intuitively determine the matching relationship between the data source node ID and the high start address of each information transmission device, and at the same time, the difficulty and complexity of programming implementation are reduced.
And the low-order initial address is used for representing and storing the initial transmission address for transmitting the effective data of each type of data transmitting port and data receiving port in the current information transmission device, and the initial transmission address is matched with the data transmitting port and the data receiving port.
(6) Transmitting useful data
The transmission effective data is composed of one or more effective data.
It should be noted that, in the process of encoding the received test sampling data by the information transmission apparatus, the data source node ID in the data frame is the data source node ID of the current information transmission apparatus, the high-order start address is the special storage address of the current information transmission apparatus, the low-order start address is the start transmission address of the data sending port corresponding to the current type of test sampling data, and the transmission valid data in the data frame is obtained based on the test sampling data.
In the data transmission process of the optical fiber network, the upper computer in the optical fiber network may also send control data to the data receiving port of each information transmission device, so the upper computer in the optical fiber network may also generate a data frame according to the above format, except that in the data frame generated by the upper computer, the data source node ID is the node ID of the upper computer, the high-order start address is the special storage address of the information transmission device to be controlled, the low-order start address is the start transmission address of the data sending port of the information transmission device to be controlled, and the transmission effective data is specific control data. Because the information transmission device and the upper computer in the optical fiber network both generate the data frame according to the format, the information transmission device receives the optical signal from the optical fiber network, can analyze the optical signal into the data frame, and can determine whether the signal is useful for the information transmission device by analyzing the data frame.
The low-order initial address corresponds to the data receiving port, the data sending port and the transmission effective data. The specific correspondence relationship may be determined according to the size of the memory allocated to each information transmission device, the number of data transmission ports and data reception ports related to the information transmission device, and the like, and the embodiment is not particularly limited. Meanwhile, table 1 also gives examples of the allocation of the lower start address and the valid data stored in each address, so that the user can better understand the corresponding relationship between the lower start address and the valid data to be transmitted.
Meanwhile, it should be noted that, in the data output process, the test sampling data of each type of data sending port needs to be sorted according to the form of the valid data in table 1, so as to obtain the transmission valid data, and the low-order start address is used for determining the corresponding start transmission address. Illustratively, when the switching value data is encoded, the low-order start address is 0x0002, and at this time, the 1 st bit transmission effective data is 12 channels of data acquired by the switching value; accordingly, stored in the lower start address +1 (i.e., the lower address 0x0003) is a switching amount acquisition counter for serving as a time stamp for acquiring the data.
TABLE 1 example of lower order address allocation and valid data stored per address
(7) Check code
The check code can be selected from a CRC check code, the 5+ N16 th bit of the data frame is the CRC check code of the data frame, the calculation of the CRC check code is started from the 04 th 16bit of the data frame to the 4+ N16 th bit, the CRC check algorithm adopts a CRC-CCITT data check method of the 16bit wide international standard, namely, the generated polynomial is G (x) x16+x12+x5+1 cyclic redundancy check.
(8) An end of frame flag;
the 6+ N16 bits of the data frame are frame end marks for marking the end of the data frame, and the 16 bits are fixed to 0 xFFFF.
An example of a data frame is shown in table 2.
Table 2 data frame example
Preferably, the encoding module encodes the test sample data of each type of test device into a corresponding data frame by performing the following operations:
generating a frame header synchronization mark indicating the start of a data frame and a frame end mark indicating the end of the data frame;
generating information which is matched with the current multi-type information transmission device in the data frame, wherein the information comprises a data source node ID, data frame forwarding times and a high-order starting address; specifically, the number of data frame forwarding times of the first-encoded data frame is 0;
generating information of test sampling data matched with the test equipment of the current type in the data frame, wherein the information comprises data length, a low-order start address, transmission effective data and a check code; specifically, a low-order start address is determined according to a data sending port corresponding to the test sampling data, then the test sampling data is sorted according to a format of table 1 and transmission effective data is formed, then the data length is determined, and finally a corresponding check code is generated according to the data length, the low-order start address and the transmission effective data.
And sequentially combining the generated information according to the data frame format to obtain the coded data frame.
The optical fiber transceiver module in this embodiment not only converts and transmits the optical signal of the data frame output by the encoding module, but also receives the optical signal from the optical fiber network. The received optical signal is generated by other multi-type information transmission devices or an upper computer; in a data frame corresponding to an optical signal generated by an upper computer, a data source node ID is a node ID of the upper computer, a high-order initial address is a special storage address of an information transmission device to be controlled, a low-order initial address is an initial transmission address of a data sending port of the information transmission device to be controlled, and effective data are transmitted to be control data;
specifically, the optical fiber transceiving module is configured to receive an optical signal from an optical fiber network and analyze the optical signal to obtain a data frame, and determine whether a data source node ID of the analyzed data frame is a data source node ID of a current multi-type information transmission apparatus,
if yes, the data frame sent by the current multi-type information transmission device is received again, and at the moment, the data frame is recycled;
if not, transmitting the data frame to the decoding module; the data frame is indicated to be the data frame of other multi-type information transmission devices, and is irrelevant to the current multi-type information transmission device, at the moment, the data frame forwarding times of the data frame are modified, and then the data frame is converted into a corresponding optical signal and is transmitted to the optical fiber network.
Preferably, the determination process of the number of data frame forwarding times may also be increased: if the forwarding times of the modified data frame exceed the upper limit of the forwarding times, the data frame is recovered, otherwise, the data frame is converted into a corresponding optical signal and transmitted to the optical fiber network. To avoid transmission of "rogue frames" in the fiber optic network.
In the process of mutual conversion between a data frame and an optical signal, when each field in the data frame takes 16 bits as a unit, if the optical signal also takes 16 bits as a unit, the mutual conversion between the data frame and the optical signal is directly executed; if the optical signal takes 32 bits as a unit, sequentially combining two adjacent fields in the data frame, and then performing interconversion between the data frame and the optical signal; at this time, the number of valid data in the transmission valid data is an even number.
Preferably, in this embodiment, the decoding module is configured to decode a received data frame to obtain a high-order start address and a low-order start address in the data frame and to transmit valid data; if the high-order starting address is not the high-order starting address of the current multi-type information transmission device, the data frame is indicated to be irrelevant to the current multi-type information transmission device, and the data frame is discarded; if so, indicating that the data frame is related to the current multi-type information transmission device, determining a matched data receiving port according to the low-order starting address, and sending the transmission effective data in the data frame to the matched data receiving port.
Preferably, the apparatus further comprises a data reconstruction module disposed between the decoding module and the data receiving port; and the data reconstruction module is used for reconstructing the transmission effective data based on the reconstruction parameters of the data receiving port and sending the reconstructed transmission effective data to the matched data receiving port.
Preferably, the types of the data transmitting port and the data receiving port in this embodiment are analog quantity, switching quantity, RS422 serial communication, 1M1553B, 4M1553B, CAN bus or LVDS bus. It should be noted that, because the different types of ports have different data collecting and receiving manners, the data sending port and the data receiving port corresponding to each type also have different data collecting and receiving manners. In the actual implementation process, a technician can set the corresponding data sending port and the data receiving port according to the type. Exemplarily, in fig. 1, a data sending port corresponding to an analog quantity is an a/D conversion port, and a data receiving port corresponding to the analog quantity is a D/a conversion port; the data transmitting port and the data receiving port corresponding to the switching value are both level conversion ports; the data sending port and the data receiving port corresponding to the RS422 serial communication are both signal conditioning ports.
It should be noted that, if the types of the data sending port and the data receiving port are the same, the sampling parameter of the data sending port matches with the reconstruction parameter of the data receiving port. Illustratively, the sampling parameter is a sampling frequency of an analog quantity or switching quantity type data transmission port; and the reconstruction parameter is reconstruction frequency of the analog quantity or switching quantity type data receiving port. Here, the sampling frequency and the reconstruction frequency should be kept identical.
In addition, for the RS422 serial communication type, the sampling parameters of the data sending port and the reconstruction parameters of the data receiving port both comprise baud rate and parity check bits;
for the types 1M1553B and 4M1553B, the sampling parameters of the data transmitting port and the reconstruction parameters of the data receiving port both comprise a working mode and BC \ RT \ MT.
Those skilled in the art will appreciate that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program, which is stored in a computer readable storage medium, to instruct related hardware. The computer readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention.
Claims (10)
1. A multi-type information transmission apparatus adapted to an optical fiber network, comprising: the optical fiber transceiver module comprises a plurality of types of data sending ports, data receiving ports, an encoding module, a decoding module and an optical fiber transceiver module; wherein the content of the first and second substances,
the input end of each type of data sending port is connected with the signal output end of the corresponding type of test equipment, and the output end of each type of data sending port is connected with the input end of the coding module;
the input end of each type of data receiving port is connected with the output end of the decoding module, and the output end of each type of data receiving port is connected with the signal input end of the corresponding type of test equipment;
the data input end of the optical fiber transceiving integrated module is connected with the output end of the coding module, the data output end of the optical fiber transceiving integrated module is connected with the input end of the decoding module, the optical fiber interface is connected with an optical fiber network, and the optical fiber interface is used for exchanging optical signals with the optical fiber network.
2. The multi-type information transmission apparatus adapted to an optical fiber network according to claim 1, further comprising a data acquisition module disposed between the data transmission port and the encoding module;
the data acquisition module is used for respectively setting sampling parameters of each type of data transmission port; and the device is also used for respectively acquiring the test sampling data of each type of test equipment according to the set sampling parameters and sending the test sampling data to the coding module.
3. The apparatus of claim 2, wherein the encoding module is configured to encode the test sampling data of each type of test device to obtain a corresponding data frame, and send the encoded data frame to the fiber transceiver module, so that the fiber transceiver module converts the encoded data frame into a corresponding optical signal and transmits the converted optical signal to the fiber network.
4. The multi-type information transmission apparatus adapted to an optical fiber network according to claim 3, wherein the data frame comprises the following fields in order: frame header synchronization mark, data source node ID, the number of times the data frame has been forwarded, data length, high-order start address, low-order start address, transmission effective data, check code, and frame end mark; wherein the content of the first and second substances,
the data source node ID is used for uniquely representing the node ID of the current information transmission device;
the data length is the total length of a transmission data starting address and transmission effective data; the transmission data starting address consists of the high-order starting address and the low-order starting address;
the high-order starting address is used for representing a special storage address of the current information transmission device, and the special storage address is matched with the ID of the data source node;
the low-order initial address is used for representing and storing the initial transmission address of each type of data sending port and data receiving port in the current information transmission device for transmitting the effective data, and the initial transmission address is matched with the data sending port and the data receiving port;
the transmission effective data is composed of one or more effective data.
5. The multi-type information transmission apparatus adapted to an optical fiber network according to claim 4, wherein the encoding module encodes the test sample data of each type of test device to obtain the corresponding data frame by performing the following operations:
generating a frame header synchronization mark indicating the start of a data frame and a frame end mark indicating the end of the data frame;
generating information which is matched with the current multi-type information transmission device in the data frame, wherein the information comprises a data source node ID, data frame forwarding times and a high-order starting address;
generating information of test sampling data matched with the test equipment of the current type in the data frame, wherein the information comprises data length, a low-order start address, transmission effective data and a check code;
and sequentially combining the generated information according to the data frame format to obtain the coded data frame.
6. The multi-type information transmission apparatus adapted to an optical fiber network according to claim 4 or 5, wherein the optical fiber transceiving module is configured to receive an optical signal from the optical fiber network and analyze the optical signal to obtain a data frame, and determine whether a data source node ID in the analyzed data frame is a data source node ID of the current multi-type information transmission apparatus,
if yes, recovering the data frame;
if not, transmitting the data frame to the decoding module; meanwhile, the data frame forwarding times in the data frame are modified, and then the data frame is converted into a corresponding optical signal and transmitted to the optical fiber network.
7. The apparatus for transmitting multiple types of information adapted to an optical fiber network according to claim 6, wherein the decoding module is configured to decode the received data frame to obtain a high-order start address, a low-order start address and transmission valid data in the data frame;
if the high-order starting address is not the high-order starting address of the current multi-type information transmission device, discarding the data frame; if yes, determining a matched data receiving port according to the low-order starting address, and sending the transmission effective data in the data frame to the matched data receiving port.
8. The apparatus for multi-type information transmission adapted to an optical fiber network according to claim 7, further comprising a data reconstruction module disposed between the decoding module and the data receiving port;
and the data reconstruction module is used for reconstructing the transmission effective data based on the reconstruction parameters of the data receiving port and sending the reconstructed transmission effective data to the matched data receiving port.
9. The apparatus for multi-type information transmission adapted to an optical fiber network according to claim 6, wherein each field in the data frame is in units of 16 bits;
if the optical signal also takes 16 bits as a unit, the mutual conversion of the data frame and the optical signal is directly executed;
if the optical signal takes 32 bits as a unit, sequentially combining two adjacent fields in the data frame, and then performing interconversion between the data frame and the optical signal; at this time, the number of valid data in the transmission valid data is an even number.
10. The multi-type information transmission apparatus adapted to an optical fiber network according to claim 1, wherein the data transmission port and the data reception port are of analog, switching, RS422 serial communication, 1M1553B, 4M1553B, CAN bus or LVDS bus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111329236.6A CN114050890B (en) | 2021-11-10 | 2021-11-10 | Multi-type information transmission device suitable for optical fiber network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111329236.6A CN114050890B (en) | 2021-11-10 | 2021-11-10 | Multi-type information transmission device suitable for optical fiber network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114050890A true CN114050890A (en) | 2022-02-15 |
CN114050890B CN114050890B (en) | 2023-11-14 |
Family
ID=80208561
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111329236.6A Active CN114050890B (en) | 2021-11-10 | 2021-11-10 | Multi-type information transmission device suitable for optical fiber network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114050890B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6507923B1 (en) * | 1999-04-19 | 2003-01-14 | I-Tech Corporation | Integrated multi-channel fiber channel analyzer |
CN102158282A (en) * | 2010-12-06 | 2011-08-17 | 上海申瑞电力科技股份有限公司 | Optical fiber longitudinal difference protection device and synchronous communication method thereof |
CN102883110A (en) * | 2012-09-19 | 2013-01-16 | 旗瀚科技有限公司 | Video signal switching matrix system and system main board and service daughter board thereof |
CN103329462A (en) * | 2011-01-22 | 2013-09-25 | 维尔塞特公司 | Frame formatting for high rate optical communications |
CN109004991A (en) * | 2018-08-02 | 2018-12-14 | 深圳大学 | A kind of anti-intercepting and capturing FSO- optical fiber hybrid network |
CN111836024A (en) * | 2020-04-30 | 2020-10-27 | 电子科技大学 | Hybrid network system design based on video transmission |
CN111866405A (en) * | 2020-07-08 | 2020-10-30 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Video matrix equipment based on optical fiber transmission |
CN112804264A (en) * | 2021-04-01 | 2021-05-14 | 北京小鸟科技股份有限公司 | Method, system and equipment for self-adaptive switching of multiple coding standards and transmission interfaces |
WO2021175418A1 (en) * | 2020-03-04 | 2021-09-10 | Telefonaktiebolaget Lm Ericsson (Publ) | Operation of an optical transceiver |
-
2021
- 2021-11-10 CN CN202111329236.6A patent/CN114050890B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6507923B1 (en) * | 1999-04-19 | 2003-01-14 | I-Tech Corporation | Integrated multi-channel fiber channel analyzer |
CN102158282A (en) * | 2010-12-06 | 2011-08-17 | 上海申瑞电力科技股份有限公司 | Optical fiber longitudinal difference protection device and synchronous communication method thereof |
CN103329462A (en) * | 2011-01-22 | 2013-09-25 | 维尔塞特公司 | Frame formatting for high rate optical communications |
CN102883110A (en) * | 2012-09-19 | 2013-01-16 | 旗瀚科技有限公司 | Video signal switching matrix system and system main board and service daughter board thereof |
CN109004991A (en) * | 2018-08-02 | 2018-12-14 | 深圳大学 | A kind of anti-intercepting and capturing FSO- optical fiber hybrid network |
WO2021175418A1 (en) * | 2020-03-04 | 2021-09-10 | Telefonaktiebolaget Lm Ericsson (Publ) | Operation of an optical transceiver |
CN111836024A (en) * | 2020-04-30 | 2020-10-27 | 电子科技大学 | Hybrid network system design based on video transmission |
CN111866405A (en) * | 2020-07-08 | 2020-10-30 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Video matrix equipment based on optical fiber transmission |
CN112804264A (en) * | 2021-04-01 | 2021-05-14 | 北京小鸟科技股份有限公司 | Method, system and equipment for self-adaptive switching of multiple coding standards and transmission interfaces |
Non-Patent Citations (2)
Title |
---|
THANAA HUSSEIN ABD; S. A. ALJUNID; HILAL ADNAN FADHIL; R. A AHMAD; N. M. SAAD: "A new technique for reduction of Multi-Access Interference in SAC-OCDMA system using different optical filters", IEEE * |
赵同刚;高英;周鑫;王力;: "模拟数字信号光纤传输系统的实现", 半导体光电, no. 01 * |
Also Published As
Publication number | Publication date |
---|---|
CN114050890B (en) | 2023-11-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101267210B (en) | Data decoding and coding and receiving/transmission method and device | |
RU2597467C2 (en) | Method and device for adaptation of reliability of data transmission in serial bus system | |
CN101651683B (en) | Method for generating analysis source code of signaling message | |
CN111064545B (en) | Device and method for realizing private network ground inspection with SPW interface based on FPGA | |
CN106598889A (en) | SATA (Serial Advanced Technology Attachment) master controller based on FPGA (Field Programmable Gate Array) sandwich plate | |
KR20060025202A (en) | Method and apparatus for providing forward error correction | |
CN1177442C (en) | Ethernet adapting appts. | |
CN101345745A (en) | Data framing method and equipment thereof | |
CN114070885A (en) | Multi-type information transmission method adaptive to optical fiber network | |
US6195768B1 (en) | System and method for monitoring high speed data bus | |
CN114070405A (en) | Optical fiber network system based on multi-type test equipment | |
CN111698271A (en) | HDLC protocol IP core | |
CN110474692A (en) | A kind of optical communication equipment, optical communication system, data transmission method and storage medium | |
CN114050890A (en) | Multi-type information transmission device adaptive to optical fiber network | |
CN111835494B (en) | Multi-channel network data transmission system and method | |
CN115442572A (en) | Data transmission method and device | |
US9337959B2 (en) | Defect propagation of multiple signals of various rates when mapped into a combined signal | |
CN101442380B (en) | Method and apparatus for testing error rate based on high speed serial interface encoded mode | |
CN114070404A (en) | Optical fiber network working method based on multi-type test equipment | |
CN104468255B (en) | Air conduct measurement and the redundant data interactive system of management information transmission | |
US20050002265A1 (en) | Header compression | |
CN110138505B (en) | CRC calculation method and system for heterogeneous protocol conversion | |
CN108833018B (en) | Networking communication system and method | |
CN113867234A (en) | Redundant communication system and method based on communication port of field bus PA coupler | |
CN112486885A (en) | Data frame generation method, storage medium and computer equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |