A method and system for high speed data transmission over optical fiber

By generating relay information in the fiber optic data transmission system and storing it in the relay memory, combined with the data matching method of registers, the problem of data loss in fiber optic data transmission is solved, and high-speed and reliable data transmission is achieved.

CN115801512BActive Publication Date: 2026-05-22HUNAN AEROSPACE ELECTROMECHANICAL EQUIP & SPECIAL MATERIAL INST
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUNAN AEROSPACE ELECTROMECHANICAL EQUIP & SPECIAL MATERIAL INST
Filing Date
2022-11-29
Publication Date
2026-05-22

Smart Images

  • Figure CN115801512B_ABST
    Figure CN115801512B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of data transmission, and discloses a high-speed data transmission method and system based on optical fibers, which are applied to a high-speed data transmission system based on optical fibers, and the system comprises a relay memory and a register. The method comprises the following steps: a sending end generates corresponding relay information based on all to-be-transmitted data, stores the relay information into the relay memory, and stores the to-be-transmitted data into the register; the to-be-transmitted data is sent to a receiving end through the register, wherein each to-be-transmitted data corresponds to the relay information in a one-to-one manner; the receiving end reads the relay information in the relay memory, and sends the relay information to the register; and the register sends corresponding to-be-transmitted data to the receiving end according to the one-to-one correspondence relationship between the relay information and the to-be-transmitted data. The application solves the problem that the existing data transmission mode has low efficiency and reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data transmission technology, and in particular to a high-speed data transmission method and system based on optical fiber. Background Technology

[0002] With the rapid development of communication technology, real-time, high-speed, and reliable data transmission is widely used in various fields. Depending on the type of data being transmitted, different data modes are involved in the transmission process. Therefore, the choice of communication strategy determines the efficiency and reliability of communication. Currently, when using optical fiber for data transmission, due to the high data transmission speed of optical fiber, when multiple data streams are transmitted simultaneously, data loss is likely to occur, making it difficult to guarantee that the received data is the required data. This results in low efficiency and reliability of data transmission. It is evident that existing data transmission methods suffer from low efficiency and reliability. Summary of the Invention

[0003] This invention provides a high-speed data transmission method and system based on optical fiber to solve the problems of low efficiency and reliability in existing data transmission methods.

[0004] To achieve the above objectives, the present invention employs the following technical solution:

[0005] In a first aspect, the present invention provides a high-speed data transmission method based on optical fiber, applied to a high-speed data transmission system based on optical fiber, the system comprising: a relay memory and a register, the method comprising:

[0006] The transmitting end generates corresponding relay information based on all the data to be transmitted, stores the relay information in the relay memory, stores the data to be transmitted in the register, and sends the data to be transmitted to the receiving end through the register. Each piece of data to be transmitted corresponds one-to-one with the relay information.

[0007] The receiving end reads the relay information from the relay memory and sends the relay information to the register. The register sends the corresponding data to be transmitted to the receiving end according to the one-to-one correspondence between the relay information and the data to be transmitted.

[0008] Optionally, storing the relay information in the relay memory includes:

[0009] The relay information is sent to the relay memory, which generates corresponding sub-address information based on the relay information. The relay information is then stored in the corresponding sub-address within the relay memory based on the sub-address information, and the sub-address information is stored.

[0010] The relay memory generates the corresponding frame sequence number information based on the sub-address information and sends the frame sequence number information to the receiving end.

[0011] Optionally, sending the data to be transmitted to the receiving end via the register includes:

[0012] The relay memory receives frame sequence number information from the receiving end and sends the corresponding relay information to the receiving end according to the frame sequence number information. After receiving the relay information, the receiving end sends the relay information to the register, and the register sends the corresponding data to be transmitted to the receiving end according to the relay information.

[0013] Optionally, the receiving end reads the relay information from the relay memory, including:

[0014] The receiving end selects the corresponding frame sequence number information according to the data acquisition requirements and sends the frame sequence number information to the relay memory;

[0015] The relay memory sends the corresponding relay information to the receiving end based on the frame sequence number information.

[0016] Optionally, the register sends the corresponding data to be transmitted to the receiving end according to the one-to-one correspondence between the relay information and the data to be transmitted, including:

[0017] The register performs data matching on the data to be transmitted based on the relay information from the receiving end. It matches the corresponding data to be transmitted according to the one-to-one correspondence between the relay information and the data to be transmitted, and then sends the corresponding data to be transmitted to the receiving end.

[0018] Optionally, the data to be transmitted includes: urgent data to be transmitted and weekly data to be transmitted; the register includes: an urgent register and a period register; the urgent data to be transmitted is stored in the urgent register; and the weekly data to be transmitted is stored in the period register.

[0019] In a second aspect, embodiments of this application provide a high-speed data transmission system based on optical fiber, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the steps of any of the methods described in the first aspect above.

[0020] Beneficial effects:

[0021] The high-speed data transmission method based on optical fiber provided by this invention stores the data to be transmitted in a register, generates corresponding relay information based on the data to be transmitted, and stores the relay information in a relay memory. When receiving data, it is only necessary to read the corresponding relay information in the relay memory and send the relay information to the register to receive the corresponding data to be transmitted, thereby improving the efficiency and reliability of data transmission.

[0022] It is worth noting that this method achieves high-speed and high-reliability data transmission based on optical fiber communication. In the short frame transmission mode of the optical fiber bus, time-division multiplexing is used to achieve effective data transmission within a 5ms period, improving data transmission efficiency and ensuring that neither data nor time is lost. When the receiving end receives data, it adopts a question-and-answer transmission method. If an error occurs during the intermediate transmission process, the current frame will be retransmitted, which greatly improves accuracy while ensuring data transmission efficiency. Attached Figure Description

[0023] Figure 1 This is a flowchart illustrating a preferred embodiment of the high-speed data transmission method based on optical fiber according to the present invention. Detailed Implementation

[0024] The technical solution of the present invention will be clearly and completely described below. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0025] Unless otherwise defined, the technical or scientific terms used in this invention shall have the ordinary meaning understood by one of ordinary skill in the art to which this invention pertains. The terms "first," "second," and similar terms used in this invention do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms "an" or "a," and similar terms do not indicate a quantity limitation, but rather indicate the presence of at least one. The terms "connected" or "linked," and similar terms, are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up," "down," "left," "right," etc., are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship also changes accordingly.

[0026] Please see Figure 1 This application provides a high-speed data transmission method based on optical fiber, applied to a high-speed data transmission system based on optical fiber. The system includes a relay memory and registers. The method includes:

[0027] The transmitting end generates corresponding relay information based on all the data to be transmitted, stores the relay information in the relay memory, stores the data to be transmitted in the register, and sends the data to be transmitted to the receiving end through the register. Each piece of data to be transmitted corresponds one-to-one with the relay information.

[0028] The receiving end reads the relay information from the relay memory and sends the relay information to the register. The register sends the corresponding data to be transmitted to the receiving end according to the one-to-one correspondence between the relay information and the data to be transmitted.

[0029] Optionally, storing the relay information in the relay memory includes:

[0030] The relay information is sent to the relay memory, which generates corresponding sub-address information based on the relay information. The relay information is then stored in the corresponding sub-address within the relay memory based on the sub-address information, and the sub-address information is stored.

[0031] The relay memory generates the corresponding frame sequence number information based on the sub-address information and sends the frame sequence number information to the receiving end.

[0032] In the above embodiments, by storing the data to be transmitted in a register, generating corresponding relay information based on the data to be transmitted, and storing the relay information in a relay memory, when receiving data, it is only necessary to read the corresponding relay information in the relay memory and send the relay information to the register to receive the corresponding data to be transmitted.

[0033] Optionally, sending the data to be transmitted to the receiving end via the register includes:

[0034] The relay memory receives frame sequence number information from the receiving end and sends the corresponding relay information to the receiving end according to the frame sequence number information. After receiving the relay information, the receiving end sends the relay information to the register, and the register sends the corresponding data to be transmitted to the receiving end according to the relay information.

[0035] Optionally, the receiving end reads the relay information from the relay memory, including:

[0036] The receiving end selects the corresponding frame sequence number information according to the data acquisition requirements and sends the frame sequence number information to the relay memory;

[0037] The relay memory sends the corresponding relay information to the receiving end based on the frame sequence number information.

[0038] Optionally, the register sends the corresponding data to be transmitted to the receiving end according to the one-to-one correspondence between the relay information and the data to be transmitted, including:

[0039] The register performs data matching on the data to be transmitted based on the relay information from the receiving end. It matches the corresponding data to be transmitted according to the one-to-one correspondence between the relay information and the data to be transmitted, and then sends the corresponding data to be transmitted to the receiving end.

[0040] Optionally, the data to be transmitted includes: urgent data to be transmitted and weekly data to be transmitted; the register includes: an urgent register and a period register; the urgent data to be transmitted is stored in the urgent register; and the weekly data to be transmitted is stored in the period register.

[0041] In the above embodiment, the emergency pending data queue stores a maximum of 128 emergency pending data entries, and the write entry offset address for the emergency pending data queue is 0x48 (i.e., the emergency pending data (CBE) index is written through register offset 0x48). The emergency pending data has the same CB configuration content as the normal weekly pending data. When the weekly pending data is executed, if the emergency pending data queue is not empty, the emergency pending data will be executed first. Each message is executed only once. When the emergency pending data queue is empty, the emergency pending data operation ends.

[0042] The week is expected to transmit data. For example, the first message is sent from NC to sub-address 1 of NT1. The message length is 64B, the message execution time is 200μs, and a single buffer is used.

[0043] The second message is sent from sub-address 2 of NT1 to NC. The message length is 64KB, the total data length is 300MB, the message execution time is 500μs, a circular buffer is used, the buffer multiple is 8, that is, the data area is 8 messages long, and the interrupt reporting frequency is 2, that is, an interrupt is reported once every 2 executions of this message.

[0044] The third message is sent from sub-address 3 of NT1 to sub-address 4 of NT2. The message length is 128 bytes, the message execution time is 500 μs, and a single buffer is used.

[0045] All of the above messages are executed using stack A. Since the maximum message length is 64KB, sending 300MB of data requires the second message to be executed 4800 times in a loop.

[0046] This application also provides a high-speed data transmission system based on optical fiber, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the steps of the above-described data transmission method.

[0047] The data transmission system described above can implement various embodiments of the data transmission method described above and achieve the same beneficial effects, which will not be elaborated here.

[0048] The preferred embodiments of the present invention have been described in detail above. It should be understood that those skilled in the art can make numerous modifications and variations based on the concept of the present invention without creative effort. Therefore, all technical solutions that can be obtained by those skilled in the art based on the concept of the present invention through logical analysis, reasoning, or limited experimentation on the basis of existing technology should be within the scope of protection defined by the claims.

Claims

1. A high-speed data transmission method based on optical fiber, applied to a high-speed data transmission system based on optical fiber, the system comprising: Relay memory and register, characterized in that the method includes: The transmitting end generates corresponding relay information based on all the data to be transmitted, stores the relay information in the relay memory, stores the data to be transmitted in the register, and sends the data to be transmitted to the receiving end through the register. Each piece of data to be transmitted corresponds one-to-one with the relay information. The receiving end reads the relay information from the relay memory and sends the relay information to the register. The register sends the corresponding data to be transmitted to the receiving end according to the one-to-one correspondence between the relay information and the data to be transmitted. The step of storing the relay information into the relay memory includes: The relay information is sent to the relay memory, which generates corresponding sub-address information based on the relay information. The relay information is then stored in the corresponding sub-address within the relay memory based on the sub-address information, and the sub-address information is stored. The relay memory generates corresponding frame sequence number information based on the sub-address information and sends the frame sequence number information to the receiving end; By storing the data to be transmitted in a register and generating corresponding relay information based on the data to be transmitted, and storing the relay information in a relay memory, when receiving data, it is only necessary to read the corresponding relay information in the relay memory and send the relay information to the register to receive the corresponding data to be transmitted.

2. The high-speed data transmission method based on optical fiber according to claim 1, characterized in that, The step of sending the data to be transmitted to the receiving end through the register includes: The relay memory receives frame sequence number information from the receiving end and sends the corresponding relay information to the receiving end according to the frame sequence number information. After receiving the relay information, the receiving end sends the relay information to the register, and the register sends the corresponding data to be transmitted to the receiving end according to the relay information.

3. The high-speed data transmission method based on optical fiber according to claim 1, characterized in that, The receiving end reads the relay information from the relay memory, including: The receiving end selects the corresponding frame sequence number information according to the data acquisition requirements and sends the frame sequence number information to the relay memory; The relay memory sends the corresponding relay information to the receiving end based on the frame sequence number information.

4. The high-speed data transmission method based on optical fiber according to claim 1, characterized in that, The register, based on the one-to-one correspondence between the relay information and the data to be transmitted, sends the corresponding data to be transmitted to the receiving end, including: The register performs data matching on the data to be transmitted based on the relay information from the receiving end. It matches the corresponding data to be transmitted according to the one-to-one correspondence between the relay information and the data to be transmitted, and then sends the corresponding data to be transmitted to the receiving end.

5. The high-speed data transmission method based on optical fiber according to claim 1, characterized in that, The data to be transmitted includes: urgent data to be transmitted and weekly data to be transmitted. The registers include: an emergency register and a period register. The urgent data to be transmitted is stored in the emergency register, and the weekly data to be transmitted is stored in the period register.

6. A high-speed data transmission system based on optical fiber, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of any of the methods described in claims 1-5.