CN102983938A - No-feedback one-way data transmission method and device based on quick response (QR) codes - Google Patents

No-feedback one-way data transmission method and device based on quick response (QR) codes Download PDF

Info

Publication number
CN102983938A
CN102983938A CN2012104527537A CN201210452753A CN102983938A CN 102983938 A CN102983938 A CN 102983938A CN 2012104527537 A CN2012104527537 A CN 2012104527537A CN 201210452753 A CN201210452753 A CN 201210452753A CN 102983938 A CN102983938 A CN 102983938A
Authority
CN
China
Prior art keywords
module
code
data transmission
data
transmitting terminal
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
CN2012104527537A
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.)
UNIT 72671 OF PLA
Original Assignee
UNIT 72671 OF PLA
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 UNIT 72671 OF PLA filed Critical UNIT 72671 OF PLA
Priority to CN2012104527537A priority Critical patent/CN102983938A/en
Publication of CN102983938A publication Critical patent/CN102983938A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention belongs to the information communication field, in particular to one-way data transmission technology among physical isolation networks. The one-way data transmission technology comprises a sending end with a quick response (QR) coding module and a QR display module, and a receiving end with a camera module and a QR decoding module. The one-way data transmission technology comprises the following steps that data to be transmitted are converted into QR image serial numbers and timestamps, the data after segmentation are combined according to an order and coded into QR code image sequences, the coded QR code image sequences are displayed by the QR display module of the sending end, and the receiving end decodes the QR code images after collecting images of the QR display module of the sending end, extracts timestamp information and image serial number information, and judges transmission correctness. If transmission is judged to be wrong, operation is stopped, or the decoded data are recombined and final results are output. The one-way data transmission technology sends the data by means of transmission of the QR code image sequences, no feedback signals exist between the sending end and the receiving end, and therefore one-way features of the data transmission are visual and reliable. Moreover, the technology solves the problem of how to ensure correctness of the data transmission on the condition of no feedbacks, ensures the reliable transmission of the data, and is suitable for practicality.

Description

No-feedback one-way data transmission method and device based on the QR code
 
Technical field
The present invention is a kind of no-feedback one-way data transmission method based on the QR code and device, belongs to the information communication field, particularly the internetwork one-way data transmission technology of physical isolation.
Background technology
In the process of Informatization Construction of Government Affairs, often can run into the situation that between intranet and extranet, to carry out exchanges data.As having produced new file at Intranet official document processing platform, need to lead so that note form notice is relevant, and according to security requirements, the Intranet system can not connecting Internet and mobile communication equipment.If use gateway etc. carries out exchanges data, cost compare is high; And generate the mode that intermediate file coils quarter again, affect again operating efficiency, and brought certain expending.In the urgent need to a kind of can be under the environment of inside and outside network physical isolation exchanges data solution with low cost.
Planar bar code technology is a kind of novel coding method that grew up in recent years, is widely used in the fields such as logistics, identification, exchanges data.It is according to certain rules in the chequered with black and white graphic recording data symbol information of plane distribution with certain specific set figure.Two-dimension code has many encryption algorithms, and commonly used have Data Matrix, PDF417, a QR Code etc.QR code (Quick Response Code) is the two-dimension code coding by the invention of Denso-Wave company, that this coding possesses is comprehensive, read at a high speed characteristic, and information memory capacity is large, better error-correcting performance, maximum can be stored the 2K byte data, the code word data that the highest error-correction level can error correction about 30%.
Summary of the invention
The present invention by with QR code technology as information carrier, a kind of no-feedback one-way data transmission method based on the QR code and device are disclosed.
Method of the present invention, its technical scheme comprise with the transmitting terminal of QR coding module and display module with the receiving terminal of photographing module and QR decoder module, the steps include:
(1) the maximum clock error N between initialization transmitting terminal and the receiving terminal system and every width of cloth QR code image repeat to show number of times M continuously;
(2) after the data that will transmit of the QR coding module of transmitting terminal are cut apart by convertible capacity, by QR image sequence number, timestamp and the data after cutting apart be combined in order and be encoded into QR code image sequence, wherein, synchrodata is comprised of image sequence number and timestamp, and each original partitioning portion repeats M time in sequence continuously;
(3) the QR code image sequence after will encoding is pressed the image sequence order and is shown by the QR display module of transmitting terminal;
(4) photographing module of receiving terminal gathers the image of transmitting terminal QR display module;
(5) decoder module in the receiving terminal is decoded to above-mentioned QR code image;
(6) timestamp information that extracts and image sequence information, judge transmission correctness:
If the time difference of receiving terminal surpasses N second or the image sequence difference surpasses threshold value M, then judge loading error occurring, stop operation; Otherwise, decoded data are recombinated, export last result.
In the present invention, M is the playback number of times of single frames QR image, in order to improve a kind of redundant measure of taking without the availability of system under the feedback condition.Particularly, every frame QR image has a unique image sequence number, as: 1,2,3,4,5 ... .N.When M=2, the data content that (1,2) and (3,4) two field picture transmits is on all four.When the system transmissions environment destroyed, continuous 2 missing images of the image sequence that receiving terminal receives, have 30% probability to lose transmission information this moment, and in case continuous 3 missing images are arranged, then there is 100% probability to lose information, causes the data can't normal transmission, judge bust this.
N is the poor of transmitting terminal and receiving terminal clock, judge by the numerical value to N, determine whether the present invention has carried out the continuous data transmission when operation: when not having transfer of data, system will keep stable connection status, in order to can change fast data transmission state over to.Therefore, simple passing through compared the timestamp information of transmitting terminal and the difference of receiving terminal clock, as long as can remain in the less scope, namely N just shows to be in synchronous regime.In addition, because the receiving terminal camera is controlled by equipment clock, regularly capture the QR image, the clock difference at system two ends should keep constant difference under normal circumstances.If the clock of any end is stable not, cause this clock difference to increase gradually, then illustrative system is in unsettled operational environment.
Among the present invention, carry out Data Segmentation by the maximum fault information of single frames QR code image, the value of maximum fault information determines that by the camera quality span is QR version 1 ~ 40.
For convenient, both synchronization time difference N generally are not more than 10 seconds, and when transmitting terminal showed code signal, its number of repetition M was generally 2-5 time.
In such scheme, when the data that are transmitted are carried out partition encoding, can cut apart according to different amount of information, but preferably cut apart by the maximum fault information of QR code permission, thereby improve data transmission bauds.
Realize the device of above-mentioned no-feedback one-way data transmission method based on the QR code, comprise with clock module transmitting terminal and receiving terminal, be connected with deblocking module, QR coding module and QR display module in the transmitting terminal in turn; Its receiving terminal comprises photographing module, QR decoder module, synchronous detection module and data recombination module.
Wherein, transmitting terminal (1) or receiving terminal (2) can adopt and be provided with mobile phone, PDA, computer or other the known device of realizing QR code sending and receiving and processing (coding, decoding).
The present invention by such scheme as can be known, the present invention is guaranteeing to have realized the one-way transmission of data under the prerequisite of network physical isolation, thereby has guaranteed the fail safe of transmission.In addition, the present invention is based on the mechanism for correcting errors that the QR code possesses self, can use the normal domestic use camera directly to gather the QR image that the LCD screen display is shown, overcome the intrinsic deformation of camera collection image, the problem such as fuzzy, can effectively realize data transfer.
It also has following advantages:
1, the present invention adopts common camera to shield as QR code display device as QR code collecting device, LCD, and hardware cost is lower.
2, the present invention carries out the data transmission by transmission QR code image sequence, and without feedback signal, the characteristic of unidirectional of transfer of data is directly perceived, reliable between transmitting terminal and the receiving terminal.
3, the data transmission method of the present invention's proposition has solved without under the feedback condition, how to guarantee the problem of the transmission of data correctness, thereby guarantees the transmitting of data, more is suitable for practicality.
Description of drawings
Fig. 1 is the schematic diagram that the present invention is based on the no-feedback one-way data transmission set of QR code;
Fig. 2 is the flow chart that the present invention is based on the no-feedback one-way data transmission method of QR code;
Embodiment
As shown in Figure 1, equipment of the present invention comprises transmitting terminal and receiving terminal, and they are PC, comprises interconnective deblocking module, QR coding module and QR display module in the transmitting terminal.Comprise interconnective photographing module, QR decoder module, synchronous detection module and data recombination module in the receiving terminal.The connected mode of each module adopts prior art in transmitting terminal and the receiving terminal.In transmitting terminal, its display module adopts existing lcd screen, and the photographing module in the receiving equipment adopts common camera.Transmitting terminal in the present embodiment and receiving terminal can adopt mobile phone, PDA, computer or other known device.
Utilize method that this equipment carries out data no-feedback one-way transmission as shown in Figure 2, concrete steps are as follows:
(1) the maximum synchronised clock error N in initialization transmitting terminal and the receiving terminal system and demonstration number of repetition M:
(a) synchronised clock.Under the synchronous working mode, the clock synchronous of transmitting terminal PC1 and receiving terminal PC2 need to be set, its error is no more than threshold value N second (N<=10);
(b) QR code picture size.The information that embeds in the QR code is more, and the QR yardstick of formation is very little larger, and is just higher to the requirement of presentation device and picture pick-up device, therefore in the general situation of equipment performance, less information capacity and higher level of error correction often is set.The general span of maximum fault information is QR version 1 ~ 40;
(c) setting of playback number of times M.Repeat to send data and be without a kind of method that improves system availability under the feedback, but too high playback number of times causes the speed transmitted excessively slow.Experience shows, the playback number of times is set is 2 is the parameters of relatively compromising;
(d) stable operational environment.Camera collection QR code image needs stable operational environment, and the variation of any vibrations or light all will affect the quality that gathers image.Therefore camera effectively should be fixed, and good, uniformly illumination is provided.
Every part coding that will be split to form after (2) data that will transmit of the QR coding module of transmitting terminal are cut apart by convertible capacity, and the synchrodata that is formed by image sequence number and timestamp, the der group merging is encoded to the QR image sequence, and wherein each original partitioning portion repeats M time in sequence continuously.
(3) the QR code image sequence after will encoding is shown by order in the lcd screen of the QR display module transmitting terminal of transmitting terminal.
(4) the QR image of the camera collection of receiving terminal PC2 in the transmitting terminal lcd screen.
(5) decoder module in the receiving terminal is decoded one by one to above-mentioned QR code image.
(6) timestamp information and the image sequence information of synchronous mark in the every frame QR code image of extraction, then carry out misinterpretation:
Surpass N second or the image sequence difference surpasses threshold value M such as equipment time difference of timestamp information and the receiving terminal of decoding, then judge bust this, system sends the timing error alarm, and this transmission ending transmits after adjusting equipment or parameter by the monitor staff again.
All in the specified value scope, then the data recombination module of receiving terminal is recombinated decoded data such as the time difference, image sequence difference, and the data that reduction obtains transmitting are finished data transmission procedure one time.

Claims (5)

1. no-feedback one-way data transmission method based on the QR code is characterized in that: it comprises with the transmitting terminal of QR coding module and display module with the receiving terminal of photographing module and QR decoder module, the steps include:
(1) the maximum clock error N between initialization transmitting terminal and the receiving terminal system and every width of cloth QR code image repeat to show number of times M continuously;
(2) after the data that will transmit of the QR coding module of transmitting terminal are cut apart by convertible capacity, by QR image sequence number, timestamp and the data after cutting apart be combined in order and be encoded into QR code image sequence, wherein, synchrodata is comprised of image sequence number and timestamp, and each original partitioning portion repeats M time in sequence continuously;
(3) the QR code image sequence after will encoding is pressed the image sequence order and is shown by the QR display module of transmitting terminal;
(4) photographing module of receiving terminal gathers the image of transmitting terminal QR display module;
(5) decoder module in the receiving terminal is decoded to above-mentioned QR code image;
(6) timestamp information that extracts and image sequence information, judge transmission correctness:
If the time difference of receiving terminal surpasses N second or the image sequence difference surpasses threshold value M, then judge loading error occurring, stop operation; Otherwise, decoded data are recombinated, export last result.
2. the no-feedback one-way data transmission method based on the QR code according to claim 1, it is characterized in that: the maximum fault information by single frames QR code image carries out Data Segmentation, and the value span of maximum fault information is QR version 1 ~ 40.
3. the no-feedback one-way data transmission method based on the QR code according to claim 1, it is characterized in that: synchronization time difference N is generally less than and equals 10 seconds; When transmitting terminal showed code signal, its number of repetition M was 2-5 time.
4. no-feedback one-way data transmission device based on the QR code, it is characterized in that: it comprises with the transmitting terminal of clock module and receiving terminal, is connected with deblocking module, QR coding module and QR display module in the transmitting terminal in turn; Its receiving terminal comprises photographing module, QR decoder module, synchronous detection module and data recombination module.
5. the no-feedback one-way data transmission device based on the QR code according to claim 4, it is characterized in that: described transmitting terminal (1) or receiving terminal (2) are mobile phone or PDA or computer.
CN2012104527537A 2012-11-13 2012-11-13 No-feedback one-way data transmission method and device based on quick response (QR) codes Pending CN102983938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104527537A CN102983938A (en) 2012-11-13 2012-11-13 No-feedback one-way data transmission method and device based on quick response (QR) codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104527537A CN102983938A (en) 2012-11-13 2012-11-13 No-feedback one-way data transmission method and device based on quick response (QR) codes

Publications (1)

Publication Number Publication Date
CN102983938A true CN102983938A (en) 2013-03-20

Family

ID=47857708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104527537A Pending CN102983938A (en) 2012-11-13 2012-11-13 No-feedback one-way data transmission method and device based on quick response (QR) codes

Country Status (1)

Country Link
CN (1) CN102983938A (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259781A (en) * 2013-04-07 2013-08-21 内蒙古华腾科技发展有限公司 Data transmission system based on image recognition
CN103346960A (en) * 2013-06-18 2013-10-09 万达信息股份有限公司 Recognizable figure-based data transmission method across networks
CN103401771A (en) * 2013-07-26 2013-11-20 四川华迪航天金穗高技术有限公司 Network isolation method and network isolation system
CN103684997A (en) * 2013-12-31 2014-03-26 厦门市美亚柏科信息股份有限公司 One-way instantaneous transmission method of complete physical isolation data and system for achieving same
CN104301306A (en) * 2014-09-22 2015-01-21 江苏飞搏软件技术有限公司 System used for calling intranet services safely through Internet
CN105075281A (en) * 2013-06-05 2015-11-18 松下电器(美国)知识产权公司 Data decoding method, data decoding apparatus, and data transmitting method
US20160085975A1 (en) * 2014-09-18 2016-03-24 Safenet, Inc. Constrained Information Transfer
CN105518745A (en) * 2013-06-24 2016-04-20 施耐德东芝换流器欧洲公司 Method and system for displaying at least one matrix code on a screen to send data to electronic equipment provided with means for reading the matrix code(s)
CN106101662A (en) * 2016-08-18 2016-11-09 青岛晟铭网络科技有限公司 A kind of system and method utilizing bar code transmission data
CN106657083A (en) * 2016-12-28 2017-05-10 贵州大学 Secure data transmission method based on machine vision
CN107517330A (en) * 2017-09-26 2017-12-26 南京哈卢信息科技有限公司 A kind of method and system of desktop portable type one-way safety transmission
CN107820231A (en) * 2017-11-21 2018-03-20 杨复煦 Unidirectional communicator and communication means
CN108365916A (en) * 2016-12-21 2018-08-03 法国矿业电信学校联盟 The method and apparatus of sub-block decoding data signal
CN109086851A (en) * 2018-08-28 2018-12-25 梁庆生 Dynamic two-dimension code
CN109088927A (en) * 2018-08-02 2018-12-25 合肥联宝信息技术有限公司 A kind of method and electronic equipment of transmission and reception data
CN110097159A (en) * 2019-04-29 2019-08-06 绍兴聚量数据技术有限公司 A kind of QR code safety certifying method and system based on Hamming code
CN113194081A (en) * 2021-04-25 2021-07-30 武汉烽火信息集成技术有限公司 One-way message transmission system and method suitable for physical isolation environment
CN114142985A (en) * 2021-11-17 2022-03-04 中国船舶重工集团公司第七一九研究所 Optical system and method for realizing time synchronization of physical isolation information system
CN114338209A (en) * 2021-12-31 2022-04-12 广东泓胜科技股份有限公司 Method and system for realizing data exchange between different VPN networks
CN114697118A (en) * 2022-04-07 2022-07-01 西安热工研究院有限公司 Test method and system for reverse through-network gate

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937457A (en) * 2005-08-24 2007-03-28 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal and data receiving and storing method using image code
CN102741864A (en) * 2011-09-28 2012-10-17 华为技术有限公司 Multilayer quick response code image encoding/decoding method and encoding/decoding device
CN102760242A (en) * 2012-05-16 2012-10-31 孟智平 Encoding and decoding method for three-dimensional codes and using method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937457A (en) * 2005-08-24 2007-03-28 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal and data receiving and storing method using image code
CN102741864A (en) * 2011-09-28 2012-10-17 华为技术有限公司 Multilayer quick response code image encoding/decoding method and encoding/decoding device
CN102760242A (en) * 2012-05-16 2012-10-31 孟智平 Encoding and decoding method for three-dimensional codes and using method

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259781B (en) * 2013-04-07 2016-12-28 内蒙古华腾科技股份有限公司 Data transmission system based on image recognition
CN103259781A (en) * 2013-04-07 2013-08-21 内蒙古华腾科技发展有限公司 Data transmission system based on image recognition
CN105075281B (en) * 2013-06-05 2019-01-01 太阳专利托管公司 Data decoding method, data deciphering device and data transmission method for uplink
CN105075281A (en) * 2013-06-05 2015-11-18 松下电器(美国)知识产权公司 Data decoding method, data decoding apparatus, and data transmitting method
CN103346960A (en) * 2013-06-18 2013-10-09 万达信息股份有限公司 Recognizable figure-based data transmission method across networks
CN105518745A (en) * 2013-06-24 2016-04-20 施耐德东芝换流器欧洲公司 Method and system for displaying at least one matrix code on a screen to send data to electronic equipment provided with means for reading the matrix code(s)
CN105518745B (en) * 2013-06-24 2018-04-03 施耐德东芝换流器欧洲公司 For at least one square matrix code is shown on screen with transmit data to be furnished be used for read square matrix code part electronic equipment method and system
CN103401771A (en) * 2013-07-26 2013-11-20 四川华迪航天金穗高技术有限公司 Network isolation method and network isolation system
CN103684997A (en) * 2013-12-31 2014-03-26 厦门市美亚柏科信息股份有限公司 One-way instantaneous transmission method of complete physical isolation data and system for achieving same
US20160085975A1 (en) * 2014-09-18 2016-03-24 Safenet, Inc. Constrained Information Transfer
CN104301306A (en) * 2014-09-22 2015-01-21 江苏飞搏软件技术有限公司 System used for calling intranet services safely through Internet
CN104301306B (en) * 2014-09-22 2017-12-26 江苏飞搏软件股份有限公司 The system that a kind of internet security calls Intranet service
CN106101662A (en) * 2016-08-18 2016-11-09 青岛晟铭网络科技有限公司 A kind of system and method utilizing bar code transmission data
CN108365916A (en) * 2016-12-21 2018-08-03 法国矿业电信学校联盟 The method and apparatus of sub-block decoding data signal
CN108365916B (en) * 2016-12-21 2021-07-13 法国矿业电信学校联盟 Method and apparatus for sub-block decoding data signal
CN106657083A (en) * 2016-12-28 2017-05-10 贵州大学 Secure data transmission method based on machine vision
CN107517330A (en) * 2017-09-26 2017-12-26 南京哈卢信息科技有限公司 A kind of method and system of desktop portable type one-way safety transmission
CN107820231A (en) * 2017-11-21 2018-03-20 杨复煦 Unidirectional communicator and communication means
CN109088927A (en) * 2018-08-02 2018-12-25 合肥联宝信息技术有限公司 A kind of method and electronic equipment of transmission and reception data
CN109086851B (en) * 2018-08-28 2022-09-20 梁庆生 Method for generating dynamic two-dimensional code
CN109086851A (en) * 2018-08-28 2018-12-25 梁庆生 Dynamic two-dimension code
CN110097159A (en) * 2019-04-29 2019-08-06 绍兴聚量数据技术有限公司 A kind of QR code safety certifying method and system based on Hamming code
CN110097159B (en) * 2019-04-29 2022-09-23 绍兴聚量数据技术有限公司 QR code security authentication method and system based on Hamming code
CN113194081A (en) * 2021-04-25 2021-07-30 武汉烽火信息集成技术有限公司 One-way message transmission system and method suitable for physical isolation environment
CN114142985A (en) * 2021-11-17 2022-03-04 中国船舶重工集团公司第七一九研究所 Optical system and method for realizing time synchronization of physical isolation information system
CN114338209A (en) * 2021-12-31 2022-04-12 广东泓胜科技股份有限公司 Method and system for realizing data exchange between different VPN networks
CN114697118A (en) * 2022-04-07 2022-07-01 西安热工研究院有限公司 Test method and system for reverse through-network gate

Similar Documents

Publication Publication Date Title
CN102983938A (en) No-feedback one-way data transmission method and device based on quick response (QR) codes
CN103259781B (en) Data transmission system based on image recognition
CN102148958B (en) A kind of method and system embedding monitoring additional information in analog video data
US9270420B2 (en) Data communication using 2D bar codes
CN109254955A (en) Unidirectional file is ferried method and system between a kind of separation net based on two dimensional code
CN102611531B (en) A kind of one-way data transmission method
CN101022540A (en) Video monitoring system and method under server/customer end constitution
CN106778954A (en) A kind of inside and outside network physical isolated data exchange method of pinpoint accuracy
CN104320669A (en) Video transmission method and apparatus
CN105373823A (en) Method and device for generating and reading dynamic two-dimensional codes
CN103516404A (en) Data transmission method and system, sending end equipment and receiving end equipment
CN203984456U (en) Inner-external network data safety transmission system
CN104656129A (en) Data transmission method applied to distributed earthquake collection stations
CN102801495B (en) Fountain-code-based telemetry data frame synchronization method
US7561746B2 (en) Image transmitter for transmitting a frame of a fixed number of packets where each packet has a fixed number of image data
CN204425517U (en) Meter reading device, video camera and system
CN101141195B (en) Considerable alarm reporting method and system on optical communication transferring plane
CN102841928A (en) Method and device for securely transmitting and receiving inter-network file
US20220159210A1 (en) Data Transmission System and Data Transmission Method
CN103117804B (en) A kind of multichannel communication method between power cable checkout gear and harvester
CN105912432A (en) Failure detection method, device and system for server
CN109600616A (en) A kind of code stream packaging method based on H.264 video compression standard
CN105577671B (en) The transmission method and Transmission system of audio signal and vision signal
CN110248038B (en) Image transmission method and system based on WIFI
CN108551366B (en) Visible light communication method based on LED and mobile phone camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130320