[go: up one dir, main page]

CN116032438A - Error feedback method for physical isolation transmission device - Google Patents

Error feedback method for physical isolation transmission device Download PDF

Info

Publication number
CN116032438A
CN116032438A CN202310327186.0A CN202310327186A CN116032438A CN 116032438 A CN116032438 A CN 116032438A CN 202310327186 A CN202310327186 A CN 202310327186A CN 116032438 A CN116032438 A CN 116032438A
Authority
CN
China
Prior art keywords
data
error feedback
buffer area
data packet
backup buffer
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.)
Pending
Application number
CN202310327186.0A
Other languages
Chinese (zh)
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.)
Hefei High Dimensional Data Technology Co ltd
Original Assignee
Hefei High Dimensional Data Technology Co ltd
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 Hefei High Dimensional Data Technology Co ltd filed Critical Hefei High Dimensional Data Technology Co ltd
Priority to CN202310327186.0A priority Critical patent/CN116032438A/en
Publication of CN116032438A publication Critical patent/CN116032438A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The invention relates to an error feedback method for a physical isolation transmission device, which comprises the steps of constructing a backup buffer area at a transmitting end, packaging an original data stream by the transmitting end according to a transmission protocol to obtain a data packet, storing the data packet into the backup buffer area after the transmitting end transmits the data packet, and emptying the earliest backed-up data packet after the backup buffer area is full of capacity, wherein the method comprises the following steps: if the transmitting end receives the error feedback signal, the transmitting end sequentially reads all backup data in the backup buffer area and retransmits the data after finishing the transmission of the current data packet, and after all the data packets are successfully transmitted, the transmitting end empties the data packets in the backup buffer area and returns to the normal working mode to continue transmitting the rest data packets to be transmitted. When the data packet transmission has errors, retransmitting all the data packets in the backup buffer area without accurately positioning the error data packets; meanwhile, the scheme does not need to be manually attended, is fully-automatic to execute, and is very convenient to use.

Description

Error feedback method for physical isolation transmission device
Technical Field
The invention relates to the technical field of network data transmission, in particular to an error feedback method for a physical isolation transmission device.
Background
In many places with high security requirements, such as armies and public security, networks with different security classes are physically isolated and cannot perform data communication in a wired or wireless mode, and mobile storage devices are often used for data transmission, such as optical discs. By adopting the scheme, when data transmission between the internal network and the external network is carried out, the operation process is very complicated, and the use is very inconvenient.
In order to solve the inconvenience, many people begin to research a data ferrying system, namely, data to be transmitted in an intranet is converted into two-dimensional codes, bitmap or laser signals, and then the transmitted signals are shot/received in a unidirectional way through a camera or a laser receiver, and the transmitting process is very reliable and safe because no wired or wireless connection exists between a receiving end and a transmitting end. However, due to the unidirectional transmission mechanism, when the signal received by the receiving end is wrong, the signal cannot be fed back to the transmitting end in time, so that a large number of data error correction mechanisms and redundant transmission mechanisms are generally adopted, and when the transmission is wrong, manual intervention is needed to retransmit wrong data. This has obvious disadvantages: firstly, the transmission speed of data is very fast, so that transmission errors have certain time delay, namely when a receiving end reports errors, the data packet with errors is data transmitted by a transmitting end for a period of time, so that the data packet with the transmission errors cannot be accurately positioned, and only the whole file can be retransmitted; secondly, the data transmission process needs the user to watch on the side, timely monitor the transmission error condition and resend the file when the error occurs, and the scheme is time-consuming and labor-consuming and even more complicated than the traditional disc carving mode.
Disclosure of Invention
The invention aims to provide an error feedback method for a physical isolation transmission device, which can effectively ensure the reliability of unidirectional data transmission.
In order to achieve the above purpose, the invention adopts the following technical scheme: an error feedback method for a physical isolation transmission device constructs a backup buffer area at a transmitting end, the transmitting end packs an original data stream according to a transmission protocol to obtain a data packet, the transmitting end stores the data packet into the backup buffer area after transmitting the data packet, and the backup buffer area empties the earliest backed-up data packet after full capacity, the method comprises the following steps: if the transmitting end receives the error feedback signal, the transmitting end sequentially reads all backup data in the backup buffer area and retransmits the data after finishing the transmission of the current data packet, and after all the data packets are successfully transmitted, the transmitting end empties the data packets in the backup buffer area and returns to the normal working mode to continue transmitting the rest data packets to be transmitted.
Compared with the prior art, the invention has the following technical effects: by constructing a backup buffer zone and temporarily storing the transmitted data packets in the backup buffer zone, when the data packets are transmitted with errors, retransmitting all the data packets in the backup buffer zone, and adjusting the size of the backup buffer zone only to adjust the number of the retransmitted data packets without accurately positioning the erroneous data packets; meanwhile, the scheme does not need to be manually attended, is fully-automatic to execute, and is very convenient to use.
Drawings
Fig. 1 is a schematic structural view of the present invention.
Detailed Description
The present invention will be described in further detail with reference to fig. 1.
Referring to fig. 1, the invention discloses an error feedback method for a physical isolation transmission device, wherein a backup buffer area is constructed at a transmitting end, the transmitting end packs an original data stream according to a transmission protocol to obtain a data packet, the transmitting end stores the data packet into the backup buffer area after transmitting the data packet, and the backup buffer area is full of the data packet which is backed up earliest after being emptied; the method comprises the following steps: if the transmitting end receives the error feedback signal, the transmitting end sequentially reads all backup data in the backup buffer area and retransmits the data after finishing the transmission of the current data packet, and after all the data packets are successfully transmitted, the transmitting end empties the data packets in the backup buffer area and returns to the normal working mode to continue transmitting the rest data packets to be transmitted. By constructing a backup buffer zone and temporarily storing the transmitted data packets in the backup buffer zone, when the data packets are transmitted with errors, retransmitting all the data packets in the backup buffer zone, and adjusting the size of the backup buffer zone only to adjust the number of the retransmitted data packets without accurately positioning the erroneous data packets; meanwhile, the scheme does not need to be manually attended, is fully-automatic to execute, and is very convenient to use. In addition, the original data stream is packed into the data packets, so that retransmission when a large file is transmitted in error is avoided, only a certain number of data packets are retransmitted instead of retransmitting the whole file, and therefore high retransmission efficiency and high overall transmission speed of the file can be ensured.
In the encoding and decoding process of the original transmitting end program, a memory buffer area is generally existed for packaging the original data stream into data packets according to a transmission protocol, and transmitting the data packets, and we refer to the memory buffer area as a transmitting buffer area, and the transmitting buffer area is generally emptied after the data packets are transmitted, so as to construct the next data packet. In particular, the invention constructs a backup buffer area besides the sending buffer area for temporarily storing the sent data packet, thus when the resending data packet has error, the resending of the data packet can be carried out.
Theoretically, the smaller the size of the backup buffer, the less data is retransmitted and the less time is consumed; however, the backup buffer area cannot be too small, and the data packet with transmission error caused by too small is already covered, and in the present invention, preferably, the size of the backup buffer area is calculated according to the following formula: n×k×round dup (t1+t2+t3), where: n is the size of the data packets, K is the number of the data packets sent by a sending end per second, t1 is the maximum delay time of decoding of a receiving end, t2 is the maximum delay time of an error feedback signal, t3 is the upper limit time of sporadic delay of a system, and round () is rounded upwards. The size of the backup buffer area calculated according to the formula has the optimal size of two indexes of high reliability and low capacity, and the size of the backup buffer area ensures that the retransmitted data packet definitely comprises the data packet with errors.
Further, the error feedback signal is a switching signal. The switch signal is used as an error feedback signal, so that the possibility that the receiving end initiates attack to the transmitting end is avoided, the data volume which can be transmitted by the switch signal is very low, and the safety of the system is further improved.
In order to further improve the reliability, the step of receiving the error feedback signal by the sender includes the following steps: the sending end receives the error feedback signal and records the receiving time; the transmitting end judges the difference delta t between the receiving time of the current error feedback signal and the receiving time of the last error feedback signal; if delta t is greater than or equal to 1/K, the current error feedback signal is taken as an effective signal and the data packet in the backup buffer area is read for retransmission, otherwise, the current error feedback signal is taken as an ineffective signal and the data packet is continuously transmitted. Therefore, each error feedback signal can be ensured to be effective, and the attack of illegal personnel through the receiving end is further avoided.
The invention also discloses a physical isolation transmission device, which comprises a sending end and a receiving end, wherein the sending end packages an original data stream according to a transmission protocol to obtain a data packet and sends the data packet to the receiving end in a unidirectional transmission mode, the sending end comprises a backup buffer area, the sending end stores the data packet into the backup buffer area after sending the data packet, and the backup buffer area is full of the data packet which is backed up earliest after being emptied; an error feedback signal is fed back between the receiving end and the transmitting end through an error feedback unit; if the transmitting end receives the error feedback signal, the transmitting end sequentially reads all backup data in the backup buffer area and retransmits the data after finishing the transmission of the current data packet, and after all the data packets are successfully transmitted, the transmitting end empties the data packets in the backup buffer area and returns to the normal working mode to continue transmitting the rest data packets to be transmitted. The device adopts the error feedback method, so that the device has all the beneficial effects of the method and is not repeated here.
Further, there are many structures of the error feedback unit, and in the present invention, preferably, the error feedback unit includes an electromagnet controller, an electromagnet, and a magnetic control key; when the receiving end receives the data packet, an error signal is sent to the electromagnet controller, the electromagnet controller controls the electromagnet to be electrified to generate magnetic attraction, and when the electromagnet generates the magnetic attraction, the magnetic control key responds and outputs a key trigger signal, namely an error feedback signal received by the sending end. The magnetic control key is adopted to output the trigger signal, and the electromagnet and the magnetic control key are physically isolated, so that the sending end and the receiving end are ensured to keep physical isolation, and the safety of the whole system is further improved.
In order to facilitate the use of a user, the electromagnet controller is connected with the receiving end through a USB wire, the magnetic control key is connected with the transmitting end through the USB wire, and the magnetic control key is connected by the USB wire, so that the electromagnet controller is convenient to plug and connect and is more convenient to use.

Claims (7)

1. An error feedback method for a physical isolation transmission device, characterized in that: the method comprises the steps that a backup buffer area is built at a sending end, the sending end packages an original data stream according to a transmission protocol to obtain a data packet, the sending end sends the data packet and then stores the data packet into the backup buffer area, and the data packet which is backed up earliest is emptied after the backup buffer area is full of capacity, and the method comprises the following steps:
if the transmitting end receives the error feedback signal, the transmitting end sequentially reads all backup data in the backup buffer area and retransmits the data after finishing the transmission of the current data packet, and after all the data packets are successfully transmitted, the transmitting end empties the data packets in the backup buffer area and returns to the normal working mode to continue transmitting the rest data packets to be transmitted.
2. The error feedback method for a physically isolated transmission apparatus of claim 1, wherein: the size of the backup buffer is calculated according to the following formula: n×k×round dup (t1+t2+t3), where: n is the size of the data packets, K is the number of the data packets sent by a sending end per second, t1 is the maximum delay time of decoding of a receiving end, t2 is the maximum delay time of an error feedback signal, t3 is the upper limit time of sporadic delay of a system, and round () is rounded upwards.
3. The error feedback method for a physically isolated transmission apparatus of claim 2, wherein: the error feedback signal is a switch signal.
4. A method for error feedback for a physically isolated transmission device as claimed in claim 3, wherein: the step of receiving the error feedback signal by the sender includes the following steps:
the sending end receives the error feedback signal and records the receiving time;
the transmitting end judges the difference delta t between the receiving time of the current error feedback signal and the receiving time of the last error feedback signal;
if delta t is greater than or equal to 1/K, the current error feedback signal is taken as an effective signal and the data packet in the backup buffer area is read for retransmission, otherwise, the current error feedback signal is taken as an ineffective signal and the data packet is continuously transmitted.
5. The utility model provides a physical isolation transmission device, includes sender and receiver, and the sender obtains the data package according to transmission protocol to the packing of original data stream and sends the data package to the receiver through unidirectional transmission's mode, its characterized in that: the transmitting end comprises a backup buffer area, the transmitting end stores the data packet into the backup buffer area after transmitting the data packet, and the data packet which is backed up earliest is emptied after the backup buffer area is full; an error feedback signal is fed back between the receiving end and the transmitting end through an error feedback unit; if the transmitting end receives the error feedback signal, the transmitting end sequentially reads all backup data in the backup buffer area and retransmits the data after finishing the transmission of the current data packet, and after all the data packets are successfully transmitted, the transmitting end empties the data packets in the backup buffer area and returns to the normal working mode to continue transmitting the rest data packets to be transmitted.
6. The physically isolated transmission apparatus of claim 5, wherein: the error feedback unit comprises an electromagnet controller, an electromagnet and a magnetic control key; when the receiving end receives the data packet, an error signal is sent to the electromagnet controller, the electromagnet controller controls the electromagnet to be electrified to generate magnetic attraction, and when the electromagnet generates the magnetic attraction, the magnetic control key responds and outputs a key trigger signal, namely an error feedback signal received by the sending end.
7. The physically isolated transmission apparatus of claim 6, wherein: the electromagnet controller is connected with the receiving end through a USB wire, and the magnetic control key is connected with the transmitting end through the USB wire.
CN202310327186.0A 2023-03-30 2023-03-30 Error feedback method for physical isolation transmission device Pending CN116032438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310327186.0A CN116032438A (en) 2023-03-30 2023-03-30 Error feedback method for physical isolation transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310327186.0A CN116032438A (en) 2023-03-30 2023-03-30 Error feedback method for physical isolation transmission device

Publications (1)

Publication Number Publication Date
CN116032438A true CN116032438A (en) 2023-04-28

Family

ID=86074509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310327186.0A Pending CN116032438A (en) 2023-03-30 2023-03-30 Error feedback method for physical isolation transmission device

Country Status (1)

Country Link
CN (1) CN116032438A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119814853A (en) * 2025-03-13 2025-04-11 上海阅维科技股份有限公司 Method, system and intelligent terminal for restoring transmission session flow in IP network traffic

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040090943A1 (en) * 2002-10-28 2004-05-13 Da Costa Francis High performance wireless networks using distributed control
US20060251076A1 (en) * 2005-03-30 2006-11-09 Lee Ching H Real-time and reliable method for transporting data
CN102035843A (en) * 2010-12-17 2011-04-27 北京锐安科技有限公司 System and method for transmitting data in one direction
US20210176117A1 (en) * 2018-08-23 2021-06-10 Huawei Technologies Co., Ltd. Control Plane Device Switching Method and Apparatus, and Forwarding-Control Separation System
US20220060290A1 (en) * 2019-06-14 2022-02-24 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Wireless communication method, receiving-end device, and sending-end device
CN114244780A (en) * 2021-12-27 2022-03-25 海光信息技术股份有限公司 A data transmission method, data transmission device and related equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040090943A1 (en) * 2002-10-28 2004-05-13 Da Costa Francis High performance wireless networks using distributed control
US20060251076A1 (en) * 2005-03-30 2006-11-09 Lee Ching H Real-time and reliable method for transporting data
CN102035843A (en) * 2010-12-17 2011-04-27 北京锐安科技有限公司 System and method for transmitting data in one direction
US20210176117A1 (en) * 2018-08-23 2021-06-10 Huawei Technologies Co., Ltd. Control Plane Device Switching Method and Apparatus, and Forwarding-Control Separation System
US20220060290A1 (en) * 2019-06-14 2022-02-24 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Wireless communication method, receiving-end device, and sending-end device
CN114244780A (en) * 2021-12-27 2022-03-25 海光信息技术股份有限公司 A data transmission method, data transmission device and related equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119814853A (en) * 2025-03-13 2025-04-11 上海阅维科技股份有限公司 Method, system and intelligent terminal for restoring transmission session flow in IP network traffic

Similar Documents

Publication Publication Date Title
CN106559739B (en) Lightweight data transmission method suitable for Bluetooth low-power wireless communication system
JP2591717B2 (en) Network communication method having two windows
CN109412753A (en) Data transmission method and device, electronic equipment and storage medium
EP1797663B1 (en) Data unit sender and data unit relay device
US7974229B2 (en) Relay for extended range point-to-point wireless packetized data communication system
CN102088393B (en) Method for transmitting positive and negative data across safety zone
TW595178B (en) Timer based stall avoidance mechanism for high speed wireless communication system
US20070291646A1 (en) Retransmission control method and device
US9043486B2 (en) Data transfer method, system and protocol
US20080056148A1 (en) Wireless communication method and apparatus for reducing data retransmission
JP2007508750A5 (en)
CN102790913B (en) A kind of based on 3G network audio/video transmission method
JP2006054673A5 (en)
JPH02228855A (en) Data communication system and data communication method
WO2008000181A1 (en) A method and system for retransmitting in transport layer
CN105791154B (en) A kind of data transmission method and device based on UDP
CN101924620A (en) Message retransmission method and device
CN116032438A (en) Error feedback method for physical isolation transmission device
US20070280107A1 (en) Data Unit Sender Control Method
WO2015060297A1 (en) Transmission terminal, communication system, communication method, and program
CN101416433A (en) Control method for data transfer and transmission device
CN104601299B (en) A kind of data transmission system and method based on two-way confirmation
US8219867B2 (en) Forward feedback for UL macrodiversity
JP2016174211A (en) Communication system
CN105391518B (en) A kind of document transmission method towards deep space network

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