CN114070885A - Multi-type information transmission method adaptive to optical fiber network - Google Patents

Multi-type information transmission method adaptive to optical fiber network Download PDF

Info

Publication number
CN114070885A
CN114070885A CN202111329237.0A CN202111329237A CN114070885A CN 114070885 A CN114070885 A CN 114070885A CN 202111329237 A CN202111329237 A CN 202111329237A CN 114070885 A CN114070885 A CN 114070885A
Authority
CN
China
Prior art keywords
data
optical fiber
information transmission
data frame
fiber network
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
Application number
CN202111329237.0A
Other languages
Chinese (zh)
Other versions
CN114070885B (en
Inventor
郭卓锋
姚军
田禹泽
常晓航
苏银科
顿新箎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Electromechanical Engineering Research Institute
Original Assignee
Beijing Electromechanical Engineering Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Electromechanical Engineering Research Institute filed Critical Beijing Electromechanical Engineering Research Institute
Priority to CN202111329237.0A priority Critical patent/CN114070885B/en
Publication of CN114070885A publication Critical patent/CN114070885A/en
Application granted granted Critical
Publication of CN114070885B publication Critical patent/CN114070885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

The invention discloses a multi-type information transmission method adaptive to an optical fiber network, belongs to the technical field of data transmission, and solves 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. A multi-type information transmission method adapted to an optical fiber network, comprising: respectively connecting various types of test equipment to a data sending port and a data receiving port of a multi-type information transmission device, and connecting the multi-type information transmission device to an optical fiber network; respectively collecting test sampling data of each type of test equipment and coding the test sampling data to obtain corresponding data frames; and converting the data frame into an optical signal, and uploading the optical fiber signal to an optical fiber network.

Description

Multi-type information transmission method adaptive to optical fiber network
Technical Field
The invention relates to the technical field of data transmission, in particular to a multi-type information transmission method suitable for 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, a multi-type information transmission method adaptable to an optical fiber network is needed 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 method 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 embodiment of the invention discloses a multi-type information transmission method adapted to an optical fiber network, which comprises the following steps:
respectively connecting various types of test equipment to a data sending port and a data receiving port of a multi-type information transmission device, and connecting the multi-type information transmission device to an optical fiber network;
respectively collecting test sampling data of each type of test equipment and coding the test sampling data to obtain corresponding data frames;
and converting the data frame into an optical signal, and uploading the optical fiber signal to an optical fiber network.
On the basis of the above scheme, the present embodiment further makes the following improvements:
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.
Further, the data source node ID is a node ID uniquely representing a current information transmission apparatus;
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 data frame is obtained 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 method further comprises:
receiving an optical signal from an optical fiber network and analyzing to obtain a data frame; the 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;
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 so, recovering the data frame; if not, modifying the data frame forwarding times in the data frame, and then converting the data frame into a corresponding optical signal and transmitting the optical signal to the optical fiber network.
Further, if the analyzed data source node ID in the data frame is not the data source node ID of the current multi-type information transmission apparatus, the following steps are also executed:
judging whether the high-order starting address in the data frame is the high-order starting address of the current multi-type information transmission device, if not, discarding the data frame; if yes, determining a matched data receiving port according to the low-order initial address in the data frame, and sending the transmission effective data in the data frame to the matched data receiving port.
Further, the sending the transmission valid data in the data frame to the matched data receiving port includes:
and carrying out data reconstruction on the transmission effective data, and then sending the reconstructed transmission effective data to a 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.
Further, the multi-type information transmission apparatus used in executing the method includes: 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.
Compared with the prior art, the invention can realize at least one of the following beneficial effects:
according to the multi-type information transmission method adaptive to the optical fiber network, the various types of test equipment are respectively connected to the data sending port and the data receiving port of the multi-type information transmission device, and the multi-type information transmission device is connected to the optical fiber network, so that the various types of test equipment can be connected to the optical fiber network through the device, the difficulty of accessing the test equipment to 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 flow chart of a multi-type information transmission method adapted to an optical fiber network according to an embodiment of the present invention.
Fig. 2 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 method adapted to an optical fiber network, a flow chart is shown as figure 1, and the method comprises the following steps:
step S1: respectively connecting various types of test equipment to a data sending port and a data receiving port of a multi-type information transmission device, and connecting the multi-type information transmission device to an optical fiber network;
step S2: respectively collecting test sampling data of each type of test equipment and coding the test sampling data to obtain corresponding data frames;
step S3: and converting the data frame into an optical signal, and uploading the optical fiber signal to an optical fiber network.
The above steps describe the process of the multi-type information transmission apparatus uploading optical signals to the optical fiber network. Meanwhile, each of the multi-type information transmission apparatuses may also function as a signal receiving apparatus, at which time the following processes are performed:
receiving an optical signal from an optical fiber network and analyzing to obtain a data frame; the 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;
judging whether the data source node ID in the parsed data frame is the data source node ID of the 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 recycled;
if not, 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 in 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.
Preferably, if the parsed data source node ID in the data frame is not the data source node ID of the current multi-type information transmission apparatus, the following is further performed: judging whether a high-order initial address in a data frame is the high-order initial address of the current multi-type information transmission device, if not, indicating that the data frame is irrelevant to the current multi-type information transmission device, and discarding the data frame; if the data frame is related to the current multi-type information transmission device, determining a matched data receiving port according to a low-order initial address in the data frame, and sending the transmission effective data in the data frame to the matched data receiving port. In a specific implementation process, data reconstruction is performed on the transmission effective data, and then the reconstructed transmission effective data is sent to a matched data receiving port.
A schematic structural diagram of a multi-type information transmission apparatus used in this embodiment is shown in fig. 2, and the apparatus includes: 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
Figure BDA0003348070180000101
Figure BDA0003348070180000111
(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
Figure BDA0003348070180000121
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. 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 device, and if so, recover 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.
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, 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.
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 method for multi-type information transmission adapted to an optical fiber network, the method comprising:
respectively connecting various types of test equipment to a data sending port and a data receiving port of a multi-type information transmission device, and connecting the multi-type information transmission device to an optical fiber network;
respectively collecting test sampling data of each type of test equipment and coding the test sampling data to obtain corresponding data frames;
and converting the data frame into an optical signal, and uploading the optical fiber signal to an optical fiber network.
2. The method for multi-type information transmission adapted to an optical fiber network according to claim 1, wherein the data frame comprises the following fields in sequence: 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.
3. The multi-type information transmission method adapted to an optical fiber network according to claim 2,
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.
4. The method for multi-type information transmission adapted to optical fiber network of claim 3, wherein the data frame is obtained 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.
5. The method for multi-type information transmission adapted to an optical fiber network according to any one of claims 2-4, further comprising:
receiving an optical signal from an optical fiber network and analyzing to obtain a data frame; the 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;
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 so, recovering the data frame; if not, modifying the data frame forwarding times in the data frame, and then converting the data frame into a corresponding optical signal and transmitting the optical signal to the optical fiber network.
6. The multi-type information transmission method adapted to an optical fiber network according to claim 5, further performing, if the data source node ID in the parsed data frame is not the data source node ID of the current multi-type information transmission apparatus:
judging whether the high-order starting address in the data frame is the high-order starting address of the current multi-type information transmission device, if not, discarding the data frame; if yes, determining a matched data receiving port according to the low-order initial address in the data frame, and sending the transmission effective data in the data frame to the matched data receiving port.
7. The method for transmitting the multi-type information adapted to the optical fiber network according to claim 6, wherein the sending the transmission valid data in the data frame to the matched data receiving port comprises:
and carrying out data reconstruction on the transmission effective data, and then sending the reconstructed transmission effective data to a matched data receiving port.
8. The method for multi-type information transmission adapted to optical fiber network according to claim 5, 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.
9. The method for transmitting the multiple types of information adapted to the optical fiber network according to claim 1, wherein the types of the data transmitting port and the data receiving port are analog, switching, RS422 serial communication, 1M1553B, 4M1553B, CAN bus or LVDS bus.
10. The method for multi-type information transmission adapted to an optical fiber network according to claim 1, wherein the multi-type information transmission apparatus used in performing the method 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.
CN202111329237.0A 2021-11-10 2021-11-10 Multi-type information transmission method suitable for optical fiber network Active CN114070885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111329237.0A CN114070885B (en) 2021-11-10 2021-11-10 Multi-type information transmission method suitable for optical fiber network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111329237.0A CN114070885B (en) 2021-11-10 2021-11-10 Multi-type information transmission method suitable for optical fiber network

Publications (2)

Publication Number Publication Date
CN114070885A true CN114070885A (en) 2022-02-18
CN114070885B CN114070885B (en) 2023-11-28

Family

ID=80274830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111329237.0A Active CN114070885B (en) 2021-11-10 2021-11-10 Multi-type information transmission method suitable for optical fiber network

Country Status (1)

Country Link
CN (1) CN114070885B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114567416A (en) * 2022-04-06 2022-05-31 西安羚控电子科技有限公司 TCP-based data transmission verification-free method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0687122A2 (en) * 1994-06-10 1995-12-13 Harris Corporation Integrated network switch supporting a wide range of functions
WO2000019672A1 (en) * 1998-09-28 2000-04-06 Raytheon Company Method and system for communicating information in a network
US6507923B1 (en) * 1999-04-19 2003-01-14 I-Tech Corporation Integrated multi-channel fiber channel analyzer
WO2006000243A1 (en) * 2004-06-28 2006-01-05 Telecom Italia S.P.A. A method and an apparatus for preventing traffic interruptions between client ports exchanging information through a communication network
CN1791057A (en) * 2004-12-15 2006-06-21 华为技术有限公司 Method for transmitting data service in OTN and its device
CN101520944A (en) * 2008-02-29 2009-09-02 天津天地伟业数码科技有限公司 Data transmission system and data transmission method for monitoring terminal
CN104427377A (en) * 2013-09-09 2015-03-18 杭州海康威视数字技术股份有限公司 Multi-type-service point-to-point optical transceiver
WO2016154358A1 (en) * 2015-03-26 2016-09-29 Amazon Technologies, Inc. Optical transmittal storage networks
CN112085007A (en) * 2020-10-09 2020-12-15 长春工程学院 Electrical equipment testing system and method based on intelligentization of visible light communication Internet of things

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0687122A2 (en) * 1994-06-10 1995-12-13 Harris Corporation Integrated network switch supporting a wide range of functions
WO2000019672A1 (en) * 1998-09-28 2000-04-06 Raytheon Company Method and system for communicating information in a network
US6507923B1 (en) * 1999-04-19 2003-01-14 I-Tech Corporation Integrated multi-channel fiber channel analyzer
WO2006000243A1 (en) * 2004-06-28 2006-01-05 Telecom Italia S.P.A. A method and an apparatus for preventing traffic interruptions between client ports exchanging information through a communication network
CN1791057A (en) * 2004-12-15 2006-06-21 华为技术有限公司 Method for transmitting data service in OTN and its device
CN101520944A (en) * 2008-02-29 2009-09-02 天津天地伟业数码科技有限公司 Data transmission system and data transmission method for monitoring terminal
CN104427377A (en) * 2013-09-09 2015-03-18 杭州海康威视数字技术股份有限公司 Multi-type-service point-to-point optical transceiver
WO2016154358A1 (en) * 2015-03-26 2016-09-29 Amazon Technologies, Inc. Optical transmittal storage networks
CN112085007A (en) * 2020-10-09 2020-12-15 长春工程学院 Electrical equipment testing system and method based on intelligentization of visible light communication Internet of things

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
M.G ET AL: "Fast and broadband fiber dispersion measurement with dense wavelength sampling", 《OPT.EXPRESS》 *
赵光: "光纤网络资源的智能化管理方法研究", 《中国优秀硕士学位论文全文数据库》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114567416A (en) * 2022-04-06 2022-05-31 西安羚控电子科技有限公司 TCP-based data transmission verification-free method and system
CN114567416B (en) * 2022-04-06 2024-06-07 西安羚控电子科技有限公司 TCP-based data transmission verification-free method and system

Also Published As

Publication number Publication date
CN114070885B (en) 2023-11-28

Similar Documents

Publication Publication Date Title
CN101267210B (en) Data decoding and coding and receiving/transmission method and device
US8326988B2 (en) Systems and methods for data alignment
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
CN101425871B (en) Multi-element error correcting code transmitting and receiving apparatus, data communication system and related method
CN106598889A (en) SATA (Serial Advanced Technology Attachment) master controller based on FPGA (Field Programmable Gate Array) sandwich plate
US20070073508A1 (en) Testing apparatus for optical access network
KR20060025202A (en) Method and apparatus for providing forward error correction
CN114070885A (en) Multi-type information transmission method adaptive to optical fiber network
CN1177442C (en) Ethernet adapting appts.
CN101345745A (en) Data framing method and equipment thereof
CN114070405A (en) Optical fiber network system based on multi-type test equipment
CN112968750B (en) Satellite image compressed data block analysis method and system based on AOS frame
CN111835494B (en) Multi-channel network data transmission system and method
CN114050890A (en) Multi-type information transmission device adaptive to optical fiber network
CN115442572A (en) Data transmission method and device
CN114070404B (en) Optical fiber network working method based on multi-type test equipment
CN1119884C (en) Error detection method for high speed data transmission
CN112947151B (en) Efficient filtering method and device based on double CAN buses of vehicle
CN108833018B (en) Networking communication system and method
CN110138505B (en) CRC calculation method and system for heterogeneous protocol conversion
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
CN108347292A (en) A kind of the data decoding method and device of Physical Coding Sublayer
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