CN112118042A - Data transmission method and device based on satellite-borne optical fiber interface - Google Patents

Data transmission method and device based on satellite-borne optical fiber interface Download PDF

Info

Publication number
CN112118042A
CN112118042A CN202010974500.0A CN202010974500A CN112118042A CN 112118042 A CN112118042 A CN 112118042A CN 202010974500 A CN202010974500 A CN 202010974500A CN 112118042 A CN112118042 A CN 112118042A
Authority
CN
China
Prior art keywords
data
frame
signal
information frame
error information
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
CN202010974500.0A
Other languages
Chinese (zh)
Other versions
CN112118042B (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.)
Xian Institute of Space Radio Technology
Original Assignee
Xian Institute of Space Radio Technology
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 Xian Institute of Space Radio Technology filed Critical Xian Institute of Space Radio Technology
Priority to CN202010974500.0A priority Critical patent/CN112118042B/en
Publication of CN112118042A publication Critical patent/CN112118042A/en
Application granted granted Critical
Publication of CN112118042B publication Critical patent/CN112118042B/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/60Receivers
    • 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/60Receivers
    • H04B10/66Non-coherent receivers, e.g. using direct detection
    • H04B10/69Electrical arrangements in the receiver
    • H04B10/697Arrangements for reducing noise and distortion
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The embodiment of the invention provides a data transmission method and device based on a satellite-borne optical fiber interface. The method comprises the following steps: receiving a data packet sent by a data sending end through a satellite-borne optical fiber interface; in the process of reading and writing the data in the data packet by frames, each frame of data is verified; when an error information frame is checked, generating a retransmission signal containing the error information frame; and sending the retransmission signal to the data sending end so that the data sending end retransmits corresponding data according to the error information frame. The embodiment of the invention can effectively solve the error code problem in the transmission process of the high-speed interface, ensures the reliability of the link under the condition of extremely low loss of the transmission rate, realizes the hardware by using only one dual-port RAM and a small number of pieces, has low resource occupancy rate and saves higher cost required by the change of a system and a hardware circuit.

Description

Data transmission method and device based on satellite-borne optical fiber interface
Technical Field
The invention relates to the technical field of satellite-borne data transmission, in particular to a data transmission method and device based on a satellite-borne optical fiber interface.
Background
With the rapid increase of the data volume of satellite loads, the fiber optic module with small volume and high speed is applied to satellite loads. Conventional high-speed interfaces generally employ LVDS (Low-Voltage Differential Signaling) format and high-speed serial format (TLK 2711). The LVDS interface improves the transmission rate by improving the clock frequency or increasing the parallel bit width, but the LVDS clock frequency cannot be improved without limit, generally can reach 100MHz, and further, the time sequence tension is brought when the LVDS clock frequency is higher. The LVDS data bit width is not increased without limitation, and when a certain data is exceeded, no matter the ground bounce effect, the cable scale or the I/O (Input/Output) pin of the FPGA (Field-Programmable Gate Array) is tolerable in engineering. The single-path transceiving transmission rate of the high-speed serial interface TLK2711 can reach 2Gbps, the actual effective rate is 1.6Gbps, and the single-path transceiving transmission rate is far different from the transmission rate of the single-chip optical module 12x10 Gbps.
The principle of optical fiber transmission is as follows: the high-speed differential electrical signal is converted into an optical signal through a photoelectric conversion module (light emitting module), transmitted through an optical cable and an optical fiber connector and then reaches a photoelectric conversion module (light receiving module) to be converted into the high-speed differential electrical signal. The photoelectric conversion is realized by a special optical module, and the electric signal is a high-speed serial signal of CML level. Fiber interfaces are typically used for transmission between different devices, with the greater the distance, the greater the attenuation. And due to environmental changes such as temperature and irradiation, stable transmission and zero error code are difficult to ensure.
Disclosure of Invention
The technical problem solved by the invention is as follows: the defects of the prior art are overcome, and a data transmission method and a data transmission device based on a satellite-borne optical fiber interface are provided.
In order to solve the above technical problem, an embodiment of the present invention provides a data transmission method based on a satellite-borne optical fiber interface, which is applied to a data receiving end, and includes:
receiving a data packet sent by a data sending end through a satellite-borne optical fiber interface;
in the process of reading and writing the data in the data packet by frames, each frame of data is verified;
when an error information frame is checked, generating a retransmission signal containing the error information frame;
and sending the retransmission signal to the data sending end so that the data sending end retransmits corresponding data according to the error information frame.
Optionally, after receiving the data packet sent by the data sending end through the satellite-borne optical fiber interface, the method further includes:
when receiving a data packet sent by the data sending end, acquiring a clock signal, a gating signal and a data writing signal sent by other modules in the data receiving end;
detecting the validity of the gating signal;
and under the condition that the validity of the gating signal meets a preset condition, generating a write address according to the gating signal, and writing the data in the data packet into the write address.
Optionally, in the process of reading and writing the data in the data packet by frame, verifying each frame of data includes:
in the process of writing data into the write address, when the write data is full of one frame of data, adding 1 to the write address;
reading the full frame data to a read address, and adding 1 to the read address;
verifying the validity of the obtained cache gating signal;
and when the cache gating signal is verified to be valid, verifying the data read into the read address by frames.
Optionally, the generating a retransmission signal including the error information frame when the error information frame is checked includes:
after the verification is completed, generating a frame error code signal corresponding to each frame of data;
determining the error information frame and the accurate information frame according to the frame error code signal;
and sending the data corresponding to the accurate information frame to other processing modules, and generating a retransmission signal corresponding to the error information frame.
Optionally, the sending the retransmission signal to the data sending end to retransmit the corresponding data according to the error information frame by the data sending end includes:
sending the retransmission signal to the data sending end through a satellite-borne optical fiber interface, so that the retransmission signal is analyzed by the data sending end, and corresponding retransmission data is obtained according to the analyzed error information frame;
and receiving the retransmission data sent by the data sending end through a satellite-borne optical fiber interface.
In order to solve the above technical problem, an embodiment of the present invention further provides a data transmission device based on a satellite-borne optical fiber interface, which is applied to a data receiving end, and includes:
the data packet receiving module is used for receiving a data packet sent by the data sending end through the satellite-borne optical fiber interface;
the data checking module is used for checking each frame of data in the process of reading and writing the data in the data packet according to frames;
a retransmission signal generation module, configured to generate a retransmission signal including an error information frame when the error information frame is checked;
and the retransmission signal sending module is used for sending the retransmission signal to the data sending end so that the data sending end retransmits corresponding data according to the error information frame.
Optionally, the method further comprises:
a write signal acquisition module, configured to acquire, when receiving a data packet sent by the data sending end, a clock signal, a gating signal, and a data write signal sent by another module in the data receiving end;
the validity detection module is used for detecting the validity of the gating signal;
and the data writing module is used for generating a writing address according to the gating signal and writing the data in the data packet into the writing address under the condition that the validity of the gating signal meets a preset condition.
Optionally, the data checking module includes:
the data writing unit is used for adding 1 to the writing address when the data is written into the data writing unit for one frame of data in the process of writing the data into the writing address;
the data reading unit is used for reading the full frame data to a reading address, and the reading address is added with 1;
the validity detection unit is used for verifying the validity of the acquired cache gating signal;
and the data checking unit is used for checking the data read into the read address according to frames when the cache gating signal is checked to be valid.
Optionally, the retransmission signal generating module includes:
the frame error code signal generating unit is used for generating a frame error code signal corresponding to each frame of data after the verification is finished;
an error information frame determining unit, configured to determine the error information frame and the accurate information frame according to the frame error code signal;
and the retransmission signal generation unit is used for sending the data corresponding to the accurate information frame to other processing modules and generating a retransmission signal corresponding to the error information frame.
Optionally, the retransmission signal sending module includes:
sending the retransmission signal to the data sending end through a satellite-borne optical fiber interface, so that the retransmission signal is analyzed by the data sending end, and corresponding retransmission data is obtained according to the analyzed error information frame;
and receiving the retransmission data sent by the data sending end through a satellite-borne optical fiber interface.
Compared with the prior art, the invention has the advantages that:
the embodiment of the invention provides a data transmission scheme based on a satellite-borne optical fiber interface, which is characterized in that a data packet sent by a data sending end through the satellite-borne optical fiber interface is received, each frame of data is verified in the process of reading and writing the data in the data packet according to frames, a retransmission signal containing an error information frame is generated when the error information frame is verified, and the retransmission signal is sent to the data sending end, so that the data sending end retransmits corresponding data according to the error information frame. The embodiment of the invention can effectively solve the error code problem in the transmission process of the high-speed interface, ensures the reliability of the link under the condition of extremely low loss of the transmission rate, realizes the hardware by using only one dual-port RAM and a small number of pieces, has low resource occupancy rate and saves higher cost required by the change of a system and a hardware circuit.
Drawings
Fig. 1 is a flowchart illustrating steps of a data transmission method based on a satellite-borne optical fiber interface according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a transmission principle of an optical fiber interface according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a data transmission process according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a timing relationship of a receiving end when a CRC of the receiving end detects an error code according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a timing relationship of a transmitting end when a receiving end detects an error code according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a timing relationship of a transmitting end when receiving an error information frame according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a timing relationship in a special case where an error corrector starts to transmit a next frame when receiving a CRC error flag according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a data transmission device based on a satellite-borne optical fiber interface according to an embodiment of the present invention.
Detailed Description
In the data transmission scheme based on the satellite-borne optical fiber interface according to the embodiment of the present invention, the transmission principle of the optical fiber interface may be described as follows with reference to fig. 2.
The device 1 and the device 2 are transmitted through an optical fiber interface, the optical fiber sending module realizes conversion from a serial electric signal to an optical signal, and the receiving module realizes conversion from the optical signal to the serial electric signal. The FPGA/ASIC processes the electric signal, and the GTH is a high-speed serial electric signal interface and serves as a bridge between the optical module and the FPGA/ASIC. The scheme selects FPGA (XC7VX690T) components, has rich GTH resources, has the transmission rate of the GTH interface as high as 13.1Gbps, and is compatible with 10Gbps optical fiber interfaces.
The GTH interface is usually realized by adopting an Aurora6466B protocol or a GTH IP core, and the conversion between high-speed serial code streams and parallel data (64bit) can be realized by both methods. This patent chooses the more flexible GTH IP core to find.
The design method of the invention is as shown in a dotted line frame of fig. 3, and other processing module interfaces are not additionally added, so long as the interface is added between the GTH cache and other processing modules. The external interface receives clocks (rd _ clk), gating (rd _ flag) and data (rd _ data [ D:0]) of other equipment, transmits the clocks (clk _ out), gating (flag _ out) and data (data _ out [ D:0]) of other processing modules, transmits the clocks (clk _ in), gating (flag _ in) and data (data _ in [ D:0]) of other equipment, and transmits the clocks (wr _ clk), gating (wr _ flag) and data (wr _ data [ D:0]) of GTH cache. D is data bit width, generally 64 or 32bit, and is set according to the GTH cache width. The receiving end judges the correctness of the received AOS frame through CRC, and the sending end judges whether error codes exist in the sent data or not through the received error information frame so as to facilitate retransmission.
The internal module of the invention comprises 5 modules which are respectively an RAM buffer, a CRC check and sending error judgment module, an error information frame generation module, a retransmission scheduling module and a data selector. The RAM cache depth is a parameter N, and is generally not less than 16. The frame length and the frame header are parameters, the frame length is set to be 1024, the frame header of the effective data is 1ACFFC1D, the error information frame is 4 bytes in total, the content is FACC8530, and the frame length and the frame header can be set according to different models. The system comprises a RAM, a CRC check and transmission error judgment module, an error flag CRC and a transmission error flag tx, wherein the RAM is used for sending data cache, retransmission scheduling is used for RAM read-write address skip and data routing control, the CRC check and transmission error judgment module is used for carrying out CRC check on received data according to frames, outputting an error flag error _ flag _ CRC, receiving an error information frame sent by other equipment, and outputting a transmission error flag error _ flag _ tx if the error information frame is received and indicates that an error code exists on a data link just sent. The error information frame generating module is used for informing the receiving end of the error frame after the receiving end receives the error frame. The data selector module is used for sending data and selecting error frames, and preferentially sends error frame information after receiving the error frames.
If the link is in error, the transmitted frame needs to be transmitted again, and therefore the link rate is affected. The more erroneous frames, the more retransmitted frames. If the RAM buffer depth is not enough, the written data can overflow. The error correction capability is not unlimited and can be affected by the transmission rate and the buffer depth. If the transmission rate is 10Gbps, the buffer depth is 16 frames at minimum, regardless of protocol overhead, and if a frame error occurs in 16 frames, the effective transmission rate is reduced to 9.375 Gbps. The conversion formula among the effective transmission rate, the buffer depth and the error correction capability is as follows:
transmission rate: v
RAM cache depth: n is a radical of
Error correction capability: m (frame) (M < N)
Thus, it can be calculated that the front-end effective transmission rate cannot exceed: v (N-M)/N.
Therefore, the invention is suitable for the condition of low error rate, such as the condition that the error can not be generated at normal temperature and sporadic error occurs at high and low temperature. The method can completely realize zero error code, thereby improving the high-reliability transmission capability of the satellite-borne optical fiber interface.
Next, with reference to fig. 1, the following detailed description is made on the technical solution provided by the embodiment of the present invention.
Example one
Referring to fig. 1, a flowchart illustrating steps of a data transmission method based on a satellite-borne optical fiber interface according to an embodiment of the present invention is shown, and as shown in fig. 1, the data transmission method based on the satellite-borne optical fiber interface may specifically include the following steps:
step 101: and receiving a data packet sent by a data sending end through a satellite-borne optical fiber interface.
The embodiment of the invention can be applied to a scene that after a data receiving end receives data sent by a data sending end, the data is verified in the data reading and writing process, and the data sending end is instructed to retransmit the data by combining an error information frame instruction.
The satellite-borne optical fiber interface provided by the embodiment can be applied to a data receiving end.
As shown in fig. 2, a satellite-borne optical fiber interface is provided between the data receiving end (device 1) and the data transmitting end (device 2). The data interaction between the data receiving end and the data sending end can be realized through the satellite-borne optical fiber interface.
After the data receiving end receives the data packet sent by the data sending end through the satellite-borne optical fiber interface, the read-write process of the data in the data packet can be realized, and specifically, the detailed description can be combined with the following specific implementation mode.
In a specific implementation manner of the present invention, after the step 101, the method may further include:
step A1: when receiving a data packet sent by the data sending end, acquiring a clock signal, a gating signal and a data writing signal sent by other modules in the data receiving end;
step A2: detecting the validity of the gating signal;
step A3: and under the condition that the validity of the gating signal meets a preset condition, generating a write address according to the gating signal, and writing the data in the data packet into the write address.
In the embodiment of the invention, when the sending is started, other modules send a clock (clk _ in), a gating (flag _ in) and data _ in [ D:0], judge the validity of a flag _ in signal, when the gating is valid, a RAM write address ADDR _ WR +1, and when the gating is invalid, the ADDR _ WR is kept, and further execute the following steps.
Step 102: and in the process of reading and writing the data in the data packet according to frames, checking each frame of data.
After receiving a data packet sent by a data sending end, data in the data packet may be read and written in frames, and meanwhile, each frame of data needs to be checked, which may be described in detail in combination with the following specific implementation manner.
In another specific implementation manner of the present invention, the step 102 may include:
substep B1: in the process of writing data into the write address, when the write data is full of one frame of data, adding 1 to the write address;
substep B2: reading the full frame data to a read address, and adding 1 to the read address;
substep B3: verifying the validity of the obtained cache gating signal;
substep B4: and when the cache gating signal is verified to be valid, verifying the data read into the read address by frames.
In the embodiment of the present invention, when the RAM write ADDR _ WR is full of 1024 bytes, which indicates that 1 frame is full, the RAM write pointer WP +1 at this time, and the initial value of the write pointer WP is 0. When the difference between the write pointer WP and the read pointer RP of the RAM is more than or equal to 1 frame, the write pointer is shown to lead the read pointer by 1 frame, namely the RAM just buffers 1 frame. There are two cases where the write pointer and the read pointer satisfy 1 frame, the first case is that the write pointer > the read pointer, and the formula WP-RP is greater than or equal to 1. The other situation is that the writing pointer jumps to the first frame after the RAM buffer is fully written, the reading pointer is just at the last frame of the RAM at the moment, the reading pointer is larger than the writing pointer at the moment, and another formula N-RP + WP is utilized to be larger than or equal to 1 at the moment.
When the RAM is full of 1 frame, starting the RAM read operation, reading the address ADDR _ RD +1, and reading the data in the corresponding address of the RAM. Meanwhile, the CRC check and transmission error judgment module receives an error information frame FACC8530 transmitted by the other side.
After checking out the error information frame, step 103 is executed.
Step 103: when an error information frame is checked, a retransmission signal including the error information frame is generated.
Step 104: and sending the retransmission signal to the data sending end so that the data sending end retransmits corresponding data according to the error information frame.
When the error information frame is checked, a retransmission signal may be generated in combination with the error information frame, and then the retransmission signal may be sent to the data sending end, so that the data sending end retransmits data according to the error information frame, which may be described in detail in combination with the following specific implementation manner.
In another specific implementation manner of the present invention, the step 103 may include:
substep C1: after the verification is completed, generating a frame error code signal corresponding to each frame of data;
substep C2: determining the error information frame and the accurate information frame according to the frame error code signal;
substep C3: and sending the data corresponding to the accurate information frame to other processing modules, and generating a retransmission signal corresponding to the error information frame.
In another specific implementation manner of the present invention, the step 104 may include:
substep D1: sending the retransmission signal to the data sending end through a satellite-borne optical fiber interface, so that the retransmission signal is analyzed by the data sending end, and corresponding retransmission data is obtained according to the analyzed error information frame;
substep D2: and receiving the retransmission data sent by the data sending end through a satellite-borne optical fiber interface.
In the embodiment of the present invention, after receiving the error information frame FACC8530 sent by the opposite side, the CRC check + transmission error determination module generates a transmission error flag signal error _ flag _ tx. If error _ flag _ tx is 1, subtracting 1 from the read pointer RP, setting zero to the read address ADDR _ RD, and performing a step of judging the read-write pointer. If error _ flag _ tx is 0, reading address ADDR _ RD +1, adding 1 frame when adding 1 frame, adding 1 to reading pointer RP, and entering the step of judging reading and writing pointer.
And (3) starting receiving, receiving the cache input clock (rd _ clk), the gating (rd _ flag) and the data (rd _ data [ D:0]) by the GTH, and judging whether the rd _ flag is valid. And if the rd _ flag is judged to be valid, performing CRC check according to the frame.
And generating a frame error code signal error _ flag _ CRC after CRC check, if the error _ flag _ CRC is 0, indicating that the received data is correct, and immediately transferring the received data to other processing modules. If error _ flag _ crc is 1, it indicates that the received data is erroneous, and at this time, an error information frame FACC8530 is generated, and the received data is not forwarded to the post-processing module.
The data read out from the RAM and the generated error information frame are entered into a data selector, and the CRC error signal flag error _ flag _ CRC is determined. If error _ flag _ crc is 1, an error information frame FACC8530 is transmitted to the opposite side. And if error _ flag _ crc is 0, transmitting the data read by the RAM.
Fig. 3 is a core part of the present invention, and a block diagram shows that a data receiving end performs CRC check on each complete AOS frame, and check bits occupy the last two bytes of the end of the frame, as shown in fig. 4. When the CRC check error occurs, that is, the CRC check module outputs error _ flag _ CRC as 1, the transmitting end immediately responds, and transmits a four-byte error information frame to the opposite side as shown in fig. 5, the receiving end of the opposite side determines gating of the recovered data, and when the gating is high, the first 4 bytes of the corresponding data in the first clock are CRC check error flags, the error information frame is immediately fed back. The method comprises the steps that data to be sent by a sending end is firstly cached in a dual-port RAM, the starting condition of the RAM is that when a frame is fully stored in the cache, the RAM starts outputting the data to a GTH high-speed interface at the rear end, when an error _ flag _ tx is received to be 1, a retransmission scheduling mechanism is started, a reading pointer is moved forward to a frame header address of the previous frame, the previous frame is reread, and the time sequence of the sending end is shown in figure 6. When error _ flag _ tx is received in the next frame transmission process as shown in fig. 7, half frame data is already sent at this time, and data whose gating length does not satisfy the length of the whole frame is removed at the receiving end, so that the integrity of the AOS frame at the receiving end is ensured.
The high-reliability transmission method of the optical fiber interface can effectively solve the problem of error codes in the transmission process of the high-speed interface, ensures the reliability of a link under the condition of extremely low loss transmission rate, only uses one dual-port RAM for realizing hardware, has low resource occupancy rate, and saves higher cost required by system and hardware circuit change.
According to the data transmission method based on the satellite-borne optical fiber interface, provided by the embodiment of the invention, each frame of data is verified in the process of reading and writing the data in the data packet by a data receiving end through the satellite-borne optical fiber interface, when an error information frame is verified, a retransmission signal containing the error information frame is generated, and the retransmission signal is sent to a data sending end, so that the data sending end retransmits corresponding data according to the error information frame. The embodiment of the invention can effectively solve the error code problem in the transmission process of the high-speed interface, ensures the reliability of the link under the condition of extremely low loss of the transmission rate, uses only one dual-port RAM for realizing the hardware, has low resource occupancy rate, and saves higher cost required by changing a system and a hardware circuit.
Referring to fig. 8, a schematic structural diagram of a data transmission device based on a satellite-borne optical fiber interface according to an embodiment of the present invention is shown, and as shown in fig. 8, the data transmission device 800 based on a satellite-borne optical fiber interface may specifically include the following modules:
the data packet receiving module 810 is configured to receive a data packet sent by a data sending end through a satellite-borne optical fiber interface;
a data checking module 820, configured to check each frame of data in the process of reading and writing the data in the data packet by frame;
a retransmission signal generating module 830, configured to generate a retransmission signal including an error information frame when the error information frame is checked;
a retransmission signal sending module 840, configured to send the retransmission signal to the data sending end, so that the data sending end retransmits the corresponding data according to the error information frame.
Optionally, the method further comprises:
a write signal acquisition module, configured to acquire, when receiving a data packet sent by the data sending end, a clock signal, a gating signal, and a data write signal sent by another module in the data receiving end;
the validity detection module is used for detecting the validity of the gating signal;
and the data writing module is used for generating a writing address according to the gating signal and writing the data in the data packet into the writing address under the condition that the validity of the gating signal meets a preset condition.
Optionally, the data checking module includes:
the data writing unit is used for adding 1 to the writing address when the data is written into the data writing unit for one frame of data in the process of writing the data into the writing address;
the data reading unit is used for reading the full frame data to a reading address, and the reading address is added with 1;
the validity detection unit is used for verifying the validity of the acquired cache gating signal;
and the data checking unit is used for checking the data read into the read address according to frames when the cache gating signal is checked to be valid.
Optionally, the retransmission signal generating module includes:
the frame error code signal generating unit is used for generating a frame error code signal corresponding to each frame of data after the verification is finished;
an error information frame determining unit, configured to determine the error information frame and the accurate information frame according to the frame error code signal;
and the retransmission signal generation unit is used for sending the data corresponding to the accurate information frame to other processing modules and generating a retransmission signal corresponding to the error information frame.
Optionally, the retransmission signal sending module includes:
sending the retransmission signal to the data sending end through a satellite-borne optical fiber interface, so that the retransmission signal is analyzed by the data sending end, and corresponding retransmission data is obtained according to the analyzed error information frame;
and receiving the retransmission data sent by the data sending end through a satellite-borne optical fiber interface.
According to the data transmission device based on the satellite-borne optical fiber interface, provided by the embodiment of the invention, each frame of data is verified in the process of reading and writing the data in the data packet by a data receiving end through the satellite-borne optical fiber interface according to frames, when an error information frame is verified, a retransmission signal containing the error information frame is generated, and the retransmission signal is sent to a data sending end, so that the data sending end retransmits corresponding data according to the error information frame. The embodiment of the invention can effectively solve the error code problem in the transmission process of the high-speed interface, ensures the reliability of the link under the condition of extremely low loss of the transmission rate, uses only one dual-port RAM for realizing the hardware, has low resource occupancy rate, and saves higher cost required by changing a system and a hardware circuit.
Those skilled in the art will appreciate that those matters not described in detail in the present specification are well known in the art.

Claims (10)

1. A data transmission method based on a satellite-borne optical fiber interface is applied to a data receiving end and is characterized by comprising the following steps:
receiving a data packet sent by a data sending end through a satellite-borne optical fiber interface;
in the process of reading and writing the data in the data packet by frames, each frame of data is verified;
when an error information frame is checked, generating a retransmission signal containing the error information frame;
and sending the retransmission signal to the data sending end so that the data sending end retransmits corresponding data according to the error information frame.
2. The method according to claim 1, wherein after receiving the data packet sent by the data sending end through the on-board optical fiber interface, the method further comprises:
when receiving a data packet sent by the data sending end, acquiring a clock signal, a gating signal and a data writing signal sent by other modules in the data receiving end;
detecting the validity of the gating signal;
and under the condition that the validity of the gating signal meets a preset condition, generating a write address according to the gating signal, and writing the data in the data packet into the write address.
3. The method of claim 2, wherein the verifying each frame of data during the reading and writing of the data in the data packet by frame comprises:
in the process of writing data into the write address, when the write data is full of one frame of data, adding 1 to the write address;
reading the full frame data to a read address, and adding 1 to the read address;
verifying the validity of the obtained cache gating signal;
and when the cache gating signal is verified to be valid, verifying the data read into the read address by frames.
4. The method of claim 1, wherein generating a retransmission signal containing the error information frame when the error information frame is checked comprises:
after the verification is completed, generating a frame error code signal corresponding to each frame of data;
determining the error information frame and the accurate information frame according to the frame error code signal;
and sending the data corresponding to the accurate information frame to other processing modules, and generating a retransmission signal corresponding to the error information frame.
5. The method of claim 1, wherein the sending the retransmission signal to the data sending end to retransmit, by the data sending end, corresponding data according to the error information frame comprises:
sending the retransmission signal to the data sending end through a satellite-borne optical fiber interface, so that the retransmission signal is analyzed by the data sending end, and corresponding retransmission data is obtained according to the analyzed error information frame;
and receiving the retransmission data sent by the data sending end through a satellite-borne optical fiber interface.
6. A data transmission device based on a satellite-borne optical fiber interface is applied to a data receiving end and is characterized by comprising:
the data packet receiving module is used for receiving a data packet sent by the data sending end through the satellite-borne optical fiber interface;
the data checking module is used for checking each frame of data in the process of reading and writing the data in the data packet according to frames;
a retransmission signal generation module, configured to generate a retransmission signal including an error information frame when the error information frame is checked;
and the retransmission signal sending module is used for sending the retransmission signal to the data sending end so that the data sending end retransmits corresponding data according to the error information frame.
7. The apparatus of claim 6, further comprising:
a write signal acquisition module, configured to acquire, when receiving a data packet sent by the data sending end, a clock signal, a gating signal, and a data write signal sent by another module in the data receiving end;
the validity detection module is used for detecting the validity of the gating signal;
and the data writing module is used for generating a writing address according to the gating signal and writing the data in the data packet into the writing address under the condition that the validity of the gating signal meets a preset condition.
8. The apparatus of claim 7, wherein the data verification module comprises:
the data writing unit is used for adding 1 to the writing address when the data is written into the data writing unit for one frame of data in the process of writing the data into the writing address;
the data reading unit is used for reading the full frame data to a reading address, and the reading address is added with 1;
the validity detection unit is used for verifying the validity of the acquired cache gating signal;
and the data checking unit is used for checking the data read into the read address according to frames when the cache gating signal is checked to be valid.
9. The apparatus of claim 6, wherein the retransmission signal generation module comprises:
the frame error code signal generating unit is used for generating a frame error code signal corresponding to each frame of data after the verification is finished;
an error information frame determining unit, configured to determine the error information frame and the accurate information frame according to the frame error code signal;
and the retransmission signal generation unit is used for sending the data corresponding to the accurate information frame to other processing modules and generating a retransmission signal corresponding to the error information frame.
10. The apparatus of claim 6, wherein the retransmission signal sending module comprises:
sending the retransmission signal to the data sending end through a satellite-borne optical fiber interface, so that the retransmission signal is analyzed by the data sending end, and corresponding retransmission data is obtained according to the analyzed error information frame;
and receiving the retransmission data sent by the data sending end through a satellite-borne optical fiber interface.
CN202010974500.0A 2020-09-16 2020-09-16 Data transmission method and device based on satellite-borne optical fiber interface Active CN112118042B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010974500.0A CN112118042B (en) 2020-09-16 2020-09-16 Data transmission method and device based on satellite-borne optical fiber interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010974500.0A CN112118042B (en) 2020-09-16 2020-09-16 Data transmission method and device based on satellite-borne optical fiber interface

Publications (2)

Publication Number Publication Date
CN112118042A true CN112118042A (en) 2020-12-22
CN112118042B CN112118042B (en) 2023-04-14

Family

ID=73803145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010974500.0A Active CN112118042B (en) 2020-09-16 2020-09-16 Data transmission method and device based on satellite-borne optical fiber interface

Country Status (1)

Country Link
CN (1) CN112118042B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095069A (en) * 2021-10-29 2022-02-25 中国电子科技集团公司第五十四研究所 Satellite-borne comprehensive payload device
CN114499756A (en) * 2022-01-05 2022-05-13 杭州加速科技有限公司 Point-to-point Aurora communication system, transmitting and receiving method and application thereof
CN115396024A (en) * 2022-07-22 2022-11-25 西安空间无线电技术研究所 High-speed baseband signal generation and synchronization system applied to space optical communication

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015691A1 (en) * 2002-04-22 2004-01-22 Collette William C. Frame-level fibre channel CRC on switching platform
CN101832781A (en) * 2010-04-27 2010-09-15 浙江大学 Fiber optic gyroscope wireless network acquisition system and acquisition method thereof
CN102833132A (en) * 2012-08-30 2012-12-19 西安空间无线电技术研究所 Detection method of onboard data multiplexer
CN103490866A (en) * 2013-09-06 2014-01-01 北京航空航天大学 Satellite-ground transmission network HARQ transmission method based on network coding
CN104038327A (en) * 2014-06-25 2014-09-10 电子科技大学 Error retransmission method for FC (fiber channel) network
CN106656425A (en) * 2017-01-09 2017-05-10 电子科技大学 Efficient error retransmission and access mechanism of fixed frame length in fiber channel
CN109327286A (en) * 2018-12-08 2019-02-12 森大(深圳)技术有限公司 Communication means and system based on optical fiber
EP3557816A1 (en) * 2017-01-24 2019-10-23 China Techenergy Co., Ltd Self-diagnosis method for communication protocol of security-level instrumentation and control system of nuclear power plant

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015691A1 (en) * 2002-04-22 2004-01-22 Collette William C. Frame-level fibre channel CRC on switching platform
CN101832781A (en) * 2010-04-27 2010-09-15 浙江大学 Fiber optic gyroscope wireless network acquisition system and acquisition method thereof
CN102833132A (en) * 2012-08-30 2012-12-19 西安空间无线电技术研究所 Detection method of onboard data multiplexer
CN103490866A (en) * 2013-09-06 2014-01-01 北京航空航天大学 Satellite-ground transmission network HARQ transmission method based on network coding
CN104038327A (en) * 2014-06-25 2014-09-10 电子科技大学 Error retransmission method for FC (fiber channel) network
CN106656425A (en) * 2017-01-09 2017-05-10 电子科技大学 Efficient error retransmission and access mechanism of fixed frame length in fiber channel
EP3557816A1 (en) * 2017-01-24 2019-10-23 China Techenergy Co., Ltd Self-diagnosis method for communication protocol of security-level instrumentation and control system of nuclear power plant
CN109327286A (en) * 2018-12-08 2019-02-12 森大(深圳)技术有限公司 Communication means and system based on optical fiber

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张宗森: "基于FPGA的光纤通道点对点传输系统设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095069A (en) * 2021-10-29 2022-02-25 中国电子科技集团公司第五十四研究所 Satellite-borne comprehensive payload device
CN114095069B (en) * 2021-10-29 2023-12-29 中国电子科技集团公司第五十四研究所 Satellite-borne comprehensive effective load device
CN114499756A (en) * 2022-01-05 2022-05-13 杭州加速科技有限公司 Point-to-point Aurora communication system, transmitting and receiving method and application thereof
CN115396024A (en) * 2022-07-22 2022-11-25 西安空间无线电技术研究所 High-speed baseband signal generation and synchronization system applied to space optical communication

Also Published As

Publication number Publication date
CN112118042B (en) 2023-04-14

Similar Documents

Publication Publication Date Title
CN112118042B (en) Data transmission method and device based on satellite-borne optical fiber interface
CN111131091B (en) Inter-chip interconnection method and system for network on chip
CN111200581B (en) Data receiving and transmitting module based on LVDS bus
US8990460B2 (en) CPU interconnect device
CN112217599B (en) Data frame receiving method and device, and communication method and system
CN113032319B (en) FPGA-based vehicle-mounted system data transmission method and synchronous high-speed serial bus structure
CN114374470A (en) Data transmission method, system and computer readable storage medium
CN112084137A (en) SerDes high-robustness transceiver circuit
CN113176966B (en) System and method for checking SPI received data validity
US10862830B2 (en) Real-time on-chip data transfer system
CN101764669A (en) CRC code check method in data receiving process
CN113454935B (en) Line coding method and device
CN109302430B (en) Low-delay ARINC818 bus transceiving method
CN1119884C (en) Error detection method for high speed data transmission
CN111181689A (en) NEST mechanism processing method and system for simplifying DigRF receiving side
CN115173929B (en) Satellite-ground high-speed data dual-station relay transmission test method and system
CN111930683B (en) Synchronous serial transceiver suitable for HDLC protocol and method thereof
CN114499756A (en) Point-to-point Aurora communication system, transmitting and receiving method and application thereof
US7050507B2 (en) Adaptive throughput pulse width modulation communication scheme
CN111193545A (en) Self-checking optical fiber data one-way transmission method and system based on Ethernet
CN111193575A (en) Error control method for reducing automatic retransmission times in Internet of things environment
EP2408132A1 (en) Data transfer device and data transfer device control method
CN112821991B (en) Data transmission method and device
CN218601806U (en) Data injection device and system
CN114817113B (en) Method, system, equipment and storage medium for judging SDA data direction

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