CN114050890B - Multi-type information transmission device suitable for optical fiber network - Google Patents
Multi-type information transmission device suitable for optical fiber network Download PDFInfo
- Publication number
- CN114050890B CN114050890B CN202111329236.6A CN202111329236A CN114050890B CN 114050890 B CN114050890 B CN 114050890B CN 202111329236 A CN202111329236 A CN 202111329236A CN 114050890 B CN114050890 B CN 114050890B
- Authority
- CN
- China
- Prior art keywords
- data
- optical fiber
- module
- type
- transmission
- 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.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 146
- 239000013307 optical fiber Substances 0.000 title claims abstract description 79
- 230000003287 optical effect Effects 0.000 claims description 45
- 238000005070 sampling Methods 0.000 claims description 27
- 238000004891 communication Methods 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 238000004064 recycling Methods 0.000 claims description 2
- 238000000034 method Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 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
- 238000005516 engineering process Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
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 application relates to a multi-type information transmission device suitable for 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 transmitting ports, data receiving ports, an encoding module, a decoding module and an optical fiber receiving and transmitting integrated module; the input end of each type of data transmission port is connected with the signal output end of the corresponding type of test equipment, and the output end of each type of data transmission 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 receiving and transmitting integrated module is connected with the output end of the encoding module, the data output end of the optical fiber receiving 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 present application relates to the field of data transmission technologies, and in particular, to a multi-type information transmission device adapted to an optical fiber network.
Background
In the data transmission process based on the optical fiber network, data of each test device needs to be transmitted through the optical fiber network. Since the process involves multiple types of test equipment, such as analog, switching, RS422 serial data, and LVDS buses. If each test device is directly connected to the optical fiber network, the following problems exist:
(1) A corresponding number of fiber buses need to be designed;
(2) Ensuring that the optical fiber bus is 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 collect and transmit data after receiving an instruction of acquiring the data of the upper computer, and the process is easy to cause transmission delay;
in summary, the above process cannot meet the real-time requirements of communication and data acquisition among distributed nodes in the data transmission process based on the optical fiber network, and the problem of remote transmission of signals, and meanwhile, is difficult to adapt to the complex working time sequence problem required in the data transmission process.
Therefore, there is a need for a multi-type information transmission device capable of adapting to an optical fiber network, so as 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 above analysis, the present application aims to provide a multi-type information transmission device 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 application discloses a multi-type information transmission device suitable for an optical fiber network, which comprises: the device comprises a plurality of types of data transmission ports, data receiving ports, an encoding module, a decoding module and an optical fiber receiving and transmitting integrated module; wherein,
the input end of each type of data transmission port is connected with the signal output end of the corresponding type of test equipment, and the output end of each type of data transmission 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 receiving and transmitting integrated module is connected with the output end of the encoding module, the data output end of the optical fiber receiving integrated module is connected with the input end of the decoding module, and the optical fiber interface is connected with an optical fiber network and used for exchanging optical signals with the optical fiber network.
Based on the scheme, the application also makes the following improvements:
further, the device also comprises a data acquisition module arranged between the data transmission 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 collecting 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 test sampling data of each type of test equipment to obtain corresponding data frames, and send the encoded data frames to the optical fiber transceiver module, so that the optical fiber transceiver module converts the encoded data frames into corresponding optical signals, and transmits the converted optical signals to an optical fiber network.
Further, the data frame includes the following fields in order: a frame head synchronous mark, a data source node ID, the number of times a data frame has been forwarded, a data length, a high-order start address, a low-order start address, transmission effective data, a check code and a frame end mark; wherein,
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 the transmission data starting address and the transmission effective data; the transmission data starting address consists of the high-order starting address and the low-order starting address;
the high-order initial address is used for representing a special storage address of the current information transmission device, and the special storage address is matched with the data source node ID;
the low-order initial address is used for representing the initial transmission address for storing each type of data sending port and data receiving port in the current information transmission device and transmitting the effective transmission data, and the initial transmission address is matched with the data sending port and the data receiving port;
the transmission valid data consists of one or more valid data.
Further, the encoding module encodes the test sample data of each type of test equipment 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 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 initial address;
generating information of test sampling data matched with the current type of test equipment in the data frame, wherein the information comprises data length, low-order initial address, transmission effective data and check code;
and combining the generated information in turn according to the data frame format to obtain the encoded data frame.
Further, the optical fiber transceiver module is configured to receive an optical signal from an optical fiber network, parse the optical signal to obtain a data frame, determine whether a data source node ID of the parsed data frame is a data source node ID of a current multi-type information transmission device,
if yes, recycling the data frame;
if not, transmitting the data frame to the decoding module; and modifying the data frame forwarding times of the data frame, and then converting the data frame into corresponding optical signals and transmitting the optical signals to an optical fiber network.
Further, 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 initial address is not the high-order initial 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 initial address, and sending the transmission effective data in the data frame to the matched data receiving port.
Further, the apparatus also includes a data reconstruction module disposed between the decoding module and the data receiving port;
the data reconstruction module is configured to reconstruct the transmission valid data based on the reconstruction parameters of the data receiving port, and send the reconstructed transmission valid data to the matched data receiving port.
Further, each field in the data frame is in 16 bits;
if the optical signal is also in 16bit units, directly performing the inter-conversion between the data frame and the optical signal;
if the optical signal takes 32 bits as a unit, sequentially combining two adjacent fields in the data frame, and then performing the 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 sending port and the data receiving port are analog quantity, switching value, RS422 serial communication, 1M1553B, 4M1553B, CAN bus or LVDS bus.
Compared with the prior art, the application has at least one of the following beneficial effects:
according to the multi-type information transmission device suitable for the optical fiber network, provided by the application, the plurality of types of data transmission ports and the plurality of types of data receiving ports are arranged to be respectively connected with the plurality of types of test equipment, so that the plurality of types of 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 the optical signals, the method of adopting and forwarding simultaneously is adopted, so that the instantaneity 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 application also defines the format of the data frame, wherein, the high-order initial address is used for representing the special storage address of the current information transmission device, and the special storage address is matched with the data source node ID; and the low-order initial address is used for representing the initial transmission address for storing each type of data sending port and data receiving port in the current information transmission device to transmit the transmission effective data, and the initial transmission address is matched with the data sending port and the data receiving port. By setting the data frame in the mode, the forwarding judging process of the optical fiber receiving and transmitting integrated module can be simplified, meanwhile, the decoding module can be convenient to quickly determine whether the received data frame is sent to the current multi-type information transmission device, and if yes, the data receiving port for transmitting effective data can be quickly positioned according to the low-order initial address. Therefore, the optical signals sent by the multi-type information transmission device and the optical signals sent by the upper computer to the multi-type information transmission device can be reliably and rapidly transmitted in the optical fiber network.
In the application, the technical schemes can be mutually combined to realize more preferable combination schemes. Additional features and advantages of the application 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 application. The objectives and other advantages of the application may 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 application, like reference numerals being used to refer to like parts throughout the several views.
Fig. 1 is a schematic structural diagram of a multi-type information transmission device adapted to an optical fiber network according to an embodiment of the present application.
Detailed Description
The following detailed description of preferred embodiments of the application is made in connection with the accompanying drawings, which form a part hereof, and together with the description of the embodiments of the application, are used to explain the principles of the application and are not intended to limit the scope of the application.
The embodiment of the application discloses a multi-type information transmission device suitable for an optical fiber network, a structural schematic diagram is shown in fig. 1, and the device comprises: the device comprises a plurality of types of data transmission ports, data receiving ports, an encoding module, a decoding module and an optical fiber receiving and transmitting integrated module; the input end of each type of data transmission port is connected with the signal output end of the corresponding type of test equipment, and the output end of each type of data transmission 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 receiving and transmitting integrated module is connected with the output end of the encoding module, the data output end of the optical fiber receiving integrated module is connected with the input end of the decoding module, and the optical fiber interface is connected with an optical fiber network and 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 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 collecting 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 test sampling data of each type of test equipment to obtain corresponding data frames, and send the encoded data frames to the optical fiber transceiver module, so that the optical fiber transceiver module converts the encoded data frames into corresponding optical signals, and transmits the converted optical signals to an optical fiber network.
Preferably, to illustrate the encoding process of the encoding module, so that the technician can better implement the present embodiment, this embodiment illustrates an alternative format of the data frame; and actually exemplifies with a unit of 16 bits as a field: specifically, the data frame includes the following fields in order:
(1) Frame head synchronous sign
The frame head synchronizing mark is used for determining the beginning of a data frame, and the upper 8 bits and the lower 8 bits are respectively a frame head synchronizing mark 1 and a frame head synchronizing mark 2. In practical implementation, the frame header synchronization flag is a fixed value, for example, the frame header synchronization flag is fixed to 0x55AA.
(2) Data Source node ID
The data source node ID is used to uniquely characterize the node ID of the current information transmission device. The information transmission device is used as a node in the optical fiber network, and unique node IDs which are unique identifiers of the nodes are allocated in advance by the optical fiber network.
(3) The number of times the data frame has been forwarded
The number of times a data frame has been forwarded is used to represent the number of nodes through which the current data frame passes. When the number of forwarding is greater than the upper limit (e.g., 160), the data frame is determined to be illegal "rogue frames" and no longer forwarded for reclamation.
(4) Data length
The data length is the total length of the transmission data starting address and the transmission effective data, and the data length is expressed as N, and then the data length comprises 16 bits higher than AddrH, 16 bits lower than AddrL and N-2 effective data.
(5) Transmitting data start address
The transmission data start address comprises the high-order start address (AddrH high) and the low-order start address (AddrL low); in particular, the method comprises the steps of,
the high-order initial address is used for representing a special storage address of the current information transmission device, and the special storage address is matched with the data source node ID; illustratively, in this embodiment, the content of the lower 8 bits of the AddrH upper 16 bits is the same as the content of the lower 8 bits of the data source node ID, as shown in table 2, and in this way, it is convenient for the user to quickly and intuitively determine the matching relationship between the data source node ID and the upper start address of each information transmission device, and meanwhile, the difficulty and complexity of programming implementation are reduced.
And the low-order initial address is used for representing the initial transmission address for storing each type of data sending port and data receiving port in the current information transmission device to transmit the transmission effective data, and the initial transmission address is matched with the data sending port and the data receiving port.
(6) Transmitting payload data
The transmission valid data consists of one or more valid data.
In the process of encoding the received test sample data by the information transmission device, the data source node ID in the data frame is the data source node ID of the current information transmission device, the high-order start address is the special storage address of the current information transmission device, the low-order start address is the start transmission address of the data transmission port corresponding to the current type of test sample data, and the transmission valid data in the data frame is obtained based on the test sample 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 ports of the information transmission devices, so that the upper computer in the optical fiber network may generate a data frame according to the 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 initial address is a special storage address of the information transmission device to be controlled, the low-order initial address is an initial transmission address of the data sending port of the information transmission device to be controlled, and the transmission effective data is specific control data. Since the information transmission device and the host 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 itself by analyzing the data frame.
The low-order start address corresponds to the data receiving port and the data transmitting port, and transmits valid data. The specific correspondence may be specifically determined according to the size of the memory allocated to each information transmission device, the number of data transmission ports and data reception ports involved in the information transmission device, and the like, and the embodiment is not specifically limited. Meanwhile, in order to facilitate the user to better understand the corresponding relationship between the low-order start address and the transmission valid data, table 1 also provides examples of low-order start address allocation and valid data stored in each address.
Meanwhile, it should be noted that, in the process of outputting data, the test sample data of each type of data sending port needs to be sorted according to the valid data form in table 1, so as to obtain valid data for transmission, and the low-order start address is used for determining the corresponding start transmission address. Illustratively, when encoding switching value data, the low-order start address is 0x0002, and at this time, the 1 st bit transmission valid data is 12-channel data acquired by switching value; accordingly, stored in the low-order start address +1 (i.e., low-order address 0x 0003) is a switching value acquisition counter for use as a time stamp for acquiring the data.
Table 1 low-order address allocation and valid data examples stored at each address
(7) Check code
The check code can be selected from CRC check code, the 5+N th 16bit of the data frame is the CRC check code of the data frame, the calculation of the CRC check code is from the 04 th 16bit of the data frame to the 4+N 16bit, the CRC check algorithm adopts the international standard CRC-CCITT data check method with the 16bit width, namely the generation polynomial is G (x) =x 16 +x 12 +x 5 +1 cyclic redundancy check method.
(8) An end of frame flag;
6+N th 16 bits of the data frame are end-of-frame flags, which are used to mark the end of the data frame, and are fixed to 0xFFFF.
Examples of data frames are shown in table 2.
Table 2 data frame example
Preferably, the encoding module encodes the test sample data of each type of test equipment 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 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 initial 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 current type of test equipment in the data frame, wherein the information comprises data length, low-order initial address, transmission effective data and check code; specifically, a low-order initial address is determined according to a data sending port corresponding to test sampling data, then the test sampling data are sorted according to a format of table 1 to form transmission effective data, then the data length is determined, and finally a corresponding check code is generated according to the data length, the low-order initial address and the transmission effective data.
And combining the generated information in turn according to the data frame format to obtain the encoded 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 signals are generated by other multi-type information transmission devices or upper computers; in a data frame corresponding to an optical signal generated by an upper computer, a data source node ID is the 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 transmission port of the information transmission device to be controlled, and effective data is transmitted as control data;
specifically, the optical fiber transceiver module is configured to receive an optical signal from an optical fiber network, parse the optical signal to obtain a data frame, determine whether a data source node ID of the parsed data frame is a data source node ID of a current multi-type information transmission device,
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 recovered;
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 this time, the data frame forwarding times of the data frame are modified, and then the data frame is converted into corresponding optical signals and transmitted to the optical fiber network.
Preferably, the judging process of the data frame forwarding times can be further increased: and if the modified data frame forwarding frequency exceeds the forwarding frequency upper limit, recovering the data frame, otherwise, converting the data frame into a corresponding optical signal and transmitting the corresponding optical signal to an optical fiber network. To avoid "rogue frames" being transmitted in the fiber optic network.
In the process of interconversion of 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 interconversion 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 the 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, a low-order start address, and transmission valid data in the data frame; if the high-order start address is not the high-order start address of the current multi-type information transmission device, the data frame is not related to the current multi-type information transmission device, and the data frame is discarded; if yes, the data frame is related to the current multi-type information transmission device, a matched data receiving port is determined according to the low-order initial address, and transmission effective data in the data frame is sent 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; the data reconstruction module is configured to reconstruct the transmission valid data based on the reconstruction parameters of the data receiving port, and send the reconstructed transmission valid 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, switching, RS422 serial communication, 1M1553B, 4M1553B, CAN bus or LVDS bus. It should be noted that, because the manners of collecting and receiving data by the ports of different types are different, the manners of collecting and receiving data by the data transmitting port and the data receiving port corresponding to each type are also different. In the practical implementation process, a technician can set the corresponding data sending port and the corresponding data receiving port according to the types. In fig. 1, the data transmitting port corresponding to the analog is an a/D conversion port, and the data receiving port corresponding to the analog is a D/a conversion port; the data transmitting port and the data receiving port corresponding to the switching value are level conversion ports; the data transmitting 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 transmitting port and the data receiving port are the same, the sampling parameter of the data transmitting port is matched with the reconstruction parameter of the data receiving port. Illustratively, the sampling parameter is sampling frequency at the data transmission port of analog or switching type; and a data receiving port of analog quantity or switching quantity type, and reconstructing parameters to reconstruct frequency. Here, the sampling frequency and the reconstruction frequency should be kept identical.
In addition, for the RS422 serial communication type, the sampling parameter of the data transmitting port and the reconstruction parameter of the data receiving port both include the baud rate, the parity bit;
for the 1M1553B and 4M1553B types, the sampling parameters of the data transmission port and the reconstruction parameters of the data receiving port both comprise an operation mode and BC\RT\MT.
Those skilled in the art will appreciate that all or part of the flow of the methods of the embodiments described above may be accomplished by way of a computer program to instruct associated hardware, where the program may be stored on a computer readable storage medium. Wherein the computer readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory, etc.
The present application is not limited to the above-mentioned embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present application are intended to be included in the scope of the present application.
Claims (4)
1. A multi-type information transmission apparatus adapted to an optical fiber network, comprising: the device comprises a plurality of types of data transmission ports, data receiving ports, an encoding module, a decoding module and an optical fiber receiving and transmitting integrated module; wherein,
the input end of each type of data transmission port is connected with the signal output end of the corresponding type of test equipment, and the output end of each type of data transmission 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 receiving and transmitting integrated module is connected with the output end of the encoding module, the data output end of the optical fiber receiving integrated module is connected with the input end of the decoding module, and the optical fiber interface is connected with an optical fiber network and is used for exchanging optical signals with the optical fiber network;
the device also comprises a data acquisition module arranged between the data transmission port and the coding module;
the data acquisition module is used for respectively setting sampling parameters of each type of data transmission port; the system is also used for respectively collecting 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;
the coding module is used for respectively coding test sampling data of each type of test equipment to obtain corresponding data frames, and sending the coded data frames to the optical fiber transceiver module so that the optical fiber transceiver module converts the coded data frames into corresponding optical signals and transmits the converted optical signals to an optical fiber network;
the data frame comprises the following fields in sequence: a frame head synchronous mark, a data source node ID, the number of times a data frame has been forwarded, a data length, a high-order start address, a low-order start address, transmission effective data, a check code and a frame end mark; wherein,
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 the transmission data starting address and the transmission effective data; the transmission data starting address consists of the high-order starting address and the low-order starting address;
the high-order initial address is used for representing a special storage address of the current information transmission device, and the special storage address is matched with the data source node ID;
the low-order initial address is used for representing the initial transmission address for storing each type of data sending port and data receiving port in the current information transmission device and transmitting the effective transmission data, and the initial transmission address is matched with the data sending port and the data receiving port;
the transmission valid data consists of one or more valid data;
the encoding module encodes test sampling data of each type of test equipment to obtain corresponding data frames 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 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 initial address;
generating information of test sampling data matched with the current type of test equipment in the data frame, wherein the information comprises data length, low-order initial address, transmission effective data and check code;
sequentially combining the generated information according to the data frame format to obtain an encoded data frame;
the optical fiber receiving and transmitting integrated module is used for receiving the optical signal from the optical fiber network, analyzing the optical signal to obtain a data frame, judging whether the data source node ID in the analyzed data frame is the data source node ID of the current multi-type information transmission device,
if yes, recycling the data frame;
if not, transmitting the data frame to the decoding module; meanwhile, modifying the data frame forwarding times in the data frame, and then converting the data frame into corresponding optical signals and transmitting the optical signals to an optical fiber network;
the decoding module is used for decoding the received data frame to obtain a high-order initial address, a low-order initial address and transmission effective data in the data frame;
if the high-order initial address is not the high-order initial 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 initial address, and sending the transmission effective data in the data frame to the matched data receiving port.
2. The apparatus for transmitting multi-type information adapted to an optical fiber network according to claim 1, further comprising a data reconstruction module disposed between the decoding module and the data receiving port;
the data reconstruction module is configured to reconstruct the transmission valid data based on the reconstruction parameters of the data receiving port, and send the reconstructed transmission valid data to the matched data receiving port.
3. The multi-type information transmission apparatus adapted to an optical fiber network according to claim 1, wherein each field in the data frame is in units of 16 bits;
if the optical signal is also in 16bit units, directly performing the inter-conversion between the data frame and the optical signal;
if the optical signal takes 32 bits as a unit, sequentially combining two adjacent fields in the data frame, and then performing the 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.
4. The multi-type information transmission device adapted to an optical fiber network according to claim 1, wherein the types of the data transmitting port and the data receiving port are analog quantity, switching value, 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 CN114050890A (en) | 2022-02-15 |
CN114050890B true 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.2011,全文. * |
模拟数字信号光纤传输系统的实现;赵同刚;高英;周鑫;王力;;半导体光电(第01期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114050890A (en) | 2022-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101645502B1 (en) | Multi-protocol sereds phy apparatus | |
CN110417630B (en) | 1553B-compatible time-triggered Ethernet switching device and method | |
CN103534968B (en) | The coding of a kind of ethernet physical layer, coding/decoding method and device | |
CN112330456A (en) | Ultra-low-delay hardware accelerated market data stream analysis system | |
CN104081701B (en) | Communication means, system and the device of optical network system | |
CN114070885B (en) | Multi-type information transmission method suitable for optical fiber network | |
CN112118197B (en) | Overhead monitoring method and device and computer readable storage medium | |
EP2187566A1 (en) | Method and device for realizing data error reporting | |
CN111835494B (en) | Multi-channel network data transmission system and method | |
CN114070405B (en) | Optical fiber network system based on multi-type test equipment | |
CN111064545A (en) | Device and method for realizing private network ground inspection with SPW interface based on FPGA | |
CN110474692B (en) | Optical communication device, optical communication system, data transmission method and storage medium | |
CN114050890B (en) | Multi-type information transmission device suitable for optical fiber network | |
CN112968750B (en) | Satellite image compressed data block analysis method and system based on AOS frame | |
US20240106542A1 (en) | Encoding method, decoding method, and optical module | |
CN114040018A (en) | Data receiving and transmitting method and device based on JSON data format | |
CN114070404B (en) | Optical fiber network working method based on multi-type test equipment | |
CN117692112A (en) | Control method, system, equipment and storage medium for redundant serial communication | |
CN113676386A (en) | FC-AE-1553 bus protocol message communication system | |
CN102420675B (en) | Methods and devices for transmitting and receiving using state information of buffer of data message | |
CN116723250A (en) | Compression method of DL/T645 frame and data transmission system | |
CN112486885B (en) | Data frame generation method, storage medium and computer equipment | |
CN111490984B (en) | Network data coding and encryption algorithm thereof | |
CN110138505B (en) | CRC calculation method and system for heterogeneous protocol conversion | |
KR20070119015A (en) | Method and testing arrangement for testing a device using 8b/10b encoding and an 8b/10b encoder and decoder |
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 |