CN108055116A - Quick Response Code duplex communication method - Google Patents

Quick Response Code duplex communication method Download PDF

Info

Publication number
CN108055116A
CN108055116A CN201711009436.7A CN201711009436A CN108055116A CN 108055116 A CN108055116 A CN 108055116A CN 201711009436 A CN201711009436 A CN 201711009436A CN 108055116 A CN108055116 A CN 108055116A
Authority
CN
China
Prior art keywords
data
image
quick response
frame
code
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
CN201711009436.7A
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.)
Southwest Electronic Technology Institute No 10 Institute of Cetc
Original Assignee
Southwest Electronic Technology Institute No 10 Institute of Cetc
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 Southwest Electronic Technology Institute No 10 Institute of Cetc filed Critical Southwest Electronic Technology Institute No 10 Institute of Cetc
Priority to CN201711009436.7A priority Critical patent/CN108055116A/en
Publication of CN108055116A publication Critical patent/CN108055116A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/14Two-way operation using the same type of signal, i.e. duplex
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Communication Control (AREA)

Abstract

A kind of Quick Response Code duplex communication method disclosed by the invention, it is desirable to provide communications security is high under a kind of higher scene of security requirements, and data transmission efficiency is high with reliability, the duplex communication method based on Quick Response Code.The technical scheme is that:Data to be transmitted is encoded to image in 2 D code sequence by transmitting terminal, and the image in 2 D code sequence is shown using liquid crystal micro display order;Receiving terminal gathers above-mentioned image in 2 D code sequence using vision camera or two-dimensional code scanning instrument, and carrying out repeating frame rejecting, image gray processing, medium filtering and binaryzation to collection result pre-processes, and then obtains decoding result into row decoding by Quick Response Code coded format;Receiving terminal is integrated above-mentioned decoding result by frame number and number of frames, obtains the former transmission file of transmitting terminal;Receiving terminal presses system transmission configuration, and Real-time Feedback or Time-delayed Feedback are carried out to receiving result.The present invention solves the drawbacks of data transmission security hinge.

Description

Quick Response Code duplex communication method
Technical field
The present invention relates to a kind of duplex communication method based on Quick Response Code, the duplex data communication of automation is realized.
Background technology
In the higher scene of security requirements, in order to ensure the communication security of related data, the prior art is usually communicating Both ends importing and exporting for data is completed using the safe hinge equipment or artificial dish of complete Network Isolation.Safe hinge equipment It is the automation data transmission equipment for being deployed in communication both ends, usually using mechanical arm and recording optical driver to transmitting terminal specified directory Under file be timed imprinting, and be transferred to automatically receiving terminal carry out data reading.Dispose a set of safe hinge equipment cost Up to hundreds thousand of members, safe hinge equipment price is high, maintenance cost is high, data transmission is usually timing mode, efficiency of transmission It is low;And manually dish imports and exports requirement arrangement professional's progress dish operation, needs human attendance, frequent operation, transmission effect Rate is equally relatively low, and the real-time of data exporting is relatively low.
Quick Response Code is according to certain rules in the chequered with black and white graphic recording of plane distribution with certain specific geometric figure The barcode standard of data symbol information.It is a kind of barcode standard than one-dimensional bar code higher level.One-dimension code can only be at one Expressing information on direction (being generally horizontally oriented) can only be made of number and letter, and Quick Response Code is both horizontally and vertically Information can be stored, the information such as Chinese character, number and picture can be stored, therefore the application field of Quick Response Code is much broader.Due to Two-dimensional bar has the characteristics that high density, large capacity, wear-resistant, so rapidly becoming new identification technology is dissolved into social life In work.Quick Response Code stores information using two-dimensional lattice grid, and common Quick Response Code coded format includes QR Code, Data Matrix, PDF417, Maxi Code etc..Compared with bar code, two-dimensional code data density is high, information memory capacity is big, in data mark Know, is anti-fake, indexing etc. is widely used.By taking presently the most popular QR Code as an example, the QR of a frame Mode40 Code image in 2 D code resolution ratio is 177 × 177, can store the data of 3KB capacity, and is supported to number, letter, 8 words The characters such as nodal pattern data, Chinese, Japanese are directly encoded, and have high efficiency in terms of data encoding, decoding.In addition, Quick Response Code also has many advantages, such as that recognition speed is fast, discrimination is high, error correcting capability is strong, it is made, which to be applied to efficient data transmission, becomes It may.
The content of the invention
It is low the purpose of the present invention is being directed to communication equipment expensive, efficiency of transmission in the scene of prior art network isolation Problem, provides that a kind of equipment price is cheap, communications security is high, and data transmission efficiency is high with reliability, double based on Quick Response Code Work communication means.
To complete the purpose of the present invention, the technical solution adopted by the present invention is:A kind of Quick Response Code duplex communication method, it is special Sign is to comprise the following steps:Transmitting terminal, the receiving terminal of Quick Response Code duplex communication use liquid crystal micro display, vision camera Or two-dimensional code scanning instrument, into row data communication, data to be transmitted is encoded to image in 2 D code sequence by transmitting terminal, uses miniature liquid Crystal display order shows the image in 2 D code sequence;Receiving terminal uses vision camera or two-dimensional code scanning instrument acquisition above-mentioned two Code image sequence is tieed up, carrying out repeating frame rejecting, image gray processing, medium filtering and binaryzation to collection result pre-processes, then By Quick Response Code coded format decoding result is obtained into row decoding;Receiving terminal is whole by frame number and number of frames to above-mentioned decoding result It closes, obtains the former transmission file of transmitting terminal;Receiving terminal presses system transmission configuration, and Real-time Feedback or Time-delayed Feedback are carried out to receiving result To transmitting terminal.
The present invention compares have the advantages that compared with the prior art:
Equipment price is cheap.Data to be transmitted is encoded to image in 2 D code sequence by the present invention in transmitting terminal, uses miniature liquid Crystal display order shows the image sequence;Receiving terminal is complete using vision camera or two-dimensional code scanning instrument acquisition image sequence The pretreatment and decoding of paired image sequence.Compared with currently used safe hinge equipment, the liquid crystal micro that system uses is shown Show device, vision camera or two-dimensional code scanning instrument are cheap, are more readily maintained or replace.
Communications security is high.Transmitting terminal of the present invention encodes transmission data using Quick Response Code, is shown using liquid crystal micro Show that device, vision camera or two-dimensional code scanning instrument into row data communication, have isolated the direct communication between physical equipment;By two dimension Code image display area and recognizable set limitation, Quick Response Code coding information are only capable of receiving end acquisition, it is difficult to be set by third party It is standby to intercept and capture, communication security is further ensured, meets the higher scene construction demand of some security requirements.
Data transmission efficiency is high with reliability.The present invention is automatically performed data using image in 2 D code and vision collecting equipment Communication, communication process realize automation, data transmission quasi real time without human attendance, improve data transmission efficiency and Reliability solves safe hinge and the major drawbacks of artificial dish operating method.
Transmitting terminal data to be transmitted is encoded to image in 2 D code frame sequence by the present invention, and suitable using liquid crystal micro display Sequence shows the image sequence;In receiving terminal, image sequence is gathered using vision camera or two-dimensional code scanning instrument, completes decoding simultaneously Former transmission data are integrated into, realize transmitting terminal to the data transmission of receiving terminal;Receiving terminal uses while transmission data are received Identical communication mode returns to reception result information in real time, realizes data duplex communication, need not establish any physical connection i.e. Can complete the transmission of full automatic near-realtime data, in the higher scene of some security requirements, as Network Isolation environment in, can obtain To effective application.
Description of the drawings
Fig. 1 is Quick Response Code duplex communication flow chart of the present invention.
Fig. 2 is the embodiment schematic diagram of Quick Response Code duplex communication of the present invention.
Fig. 3 is the flow diagram of Fig. 1 transmitting terminal image in 2 D code sequent synthesis.
Fig. 4 is the flow diagram of Fig. 1 receiving terminals acquisition image sequence pretreatment.
Fig. 5 is the flow diagram of the decoding of Fig. 1 receiving terminals and data recombination.
Fig. 6 is the system communication flow schematic diagram that Fig. 1 receiving terminals are Real-time Feedback pattern.
Fig. 7 is the system communication flow schematic diagram that Fig. 1 receiving terminals are Time-delayed Feedback pattern.
The invention will be further described with reference to the accompanying drawings and examples.
Specific embodiment
Refering to Fig. 1-Fig. 2.The relevant hardware devices that the transmitting terminal and receiving terminal of Quick Response Code duplex communication use are included more General and cheap computer, liquid crystal micro display, vision camera or two-dimensional code scanning instrument.A ends computer and B ends Computer can all be used as data sending terminal or receiving terminal.According to the present invention:Transmitting terminal, the receiving terminal of Quick Response Code duplex communication use Into row data communication, data to be transmitted is encoded to by transmitting terminal for liquid crystal micro display, vision camera or two-dimensional code scanning instrument Image in 2 D code sequence shows the image in 2 D code sequence using liquid crystal micro display order;Receiving terminal is imaged using vision Head or two-dimensional code scanning instrument gather above-mentioned image in 2 D code sequence, collection result is carried out repeating frame rejecting, image gray processing, in Then value filtering and binaryzation pretreatment obtain decoding result by Quick Response Code coded format into row decoding;Receiving terminal is translated above-mentioned Code result is integrated by frame number and number of frames, obtains the former transmission file of transmitting terminal;Receiving terminal presses system transmission configuration, is tied to receiving Fruit carries out Real-time Feedback or Time-delayed Feedback to transmitting terminal.
Transmitting terminal carries out Quick Response Code coding to file to be sent, holds according to data volume, Quick Response Code coded format and frame is sent Number of frames needed for coding can be calculated in amount;Data to be sent are subjected to cutting by frame capacity, frame number are sequentially worked out, to every Frame data are encoded by Quick Response Code form, form image in 2 D code sequence.Transmitting terminal is long by specified time according to transmission configuration After spending or receiving reception feedback, the sequentially two-dimensional code display image on liquid crystal micro.
When receiving terminal is using vision camera acquisition image in 2 D code sequence, interframe is used in the consecutive image interframe of acquisition Calculus of finite differences determines whether repeating frame, rejects repeating frame and obtains image in 2 D code sequence, then carries out gray scale to image in 2 D code Change, medium filtering and binaryzation pretreatment, completion image sequence pre-process.
During the image in 2 D code sequence that receiving terminal is shown using two-dimensional code scanning instrument acquisition transmitting terminal, two-dimensional code scanning instrument is straight Output decoding data is connect, can determine whether for repeating frame, to reject the decoding data of repeating frame, obtain according to the decoding data of successive frame To the decoding result of image in 2 D code sequence.
Receiving terminal carries out reception state feedback using the equipment identical with transmitting terminal and data communication process, according to transmission speed Degree and reliability requirement, Real-time Feedback or Time-delayed Feedback are can be configured to by feedback.When receiving terminal is configured to Time-delayed Feedback, receiving To after being transmitted bag, the integrality of received data packet is verified, it is such as complete to carry out file synthesis, transmitting terminal is otherwise asked to retransmit and is lacked Frame is lost, until completing the re-transmission of all missing frames.
Receiving terminal rebuilds former transmission file, for text file, directly preserves and translate according to the transmission file type of transmitting terminal Code result is text file, for binary file, will decode result binarization, then saves as former transmission file format.
Using A ends shown in Fig. 2 as transmitting terminal, B ends as exemplified by receiving terminal, A ends computer carries out data to be sent pre- Processing, including data type analysis, data are split, data packet is bound, image in 2 D code sequent synthesis;According to transmission configuration, A ends Computer by specified time length or receive receiving feedback after, by image in 2 D code sequence sequentially on liquid crystal micro display A It is shown;Image in 2 D code sequence on camera A acquisition liquid crystal micro displays A, is calculated by data line transfer to B ends Machine;B ends computer to acquisition image pre-process, including repeating frame rejectings, gray processing, binaryzation, filter and etc., such as adopt Integrate equipment as two-dimensional code scanning instrument, then need to only do repeating frame rejecting;B ends computer into row decoding, presses image in 2 D code sequence The former transmission data of sequence number restructuring send data format to rebuild former transmission file by A ends computer is primary;B ends computer uses micro- Type liquid crystal display B and camera B feedback transmissions carry out as a result, can be divided into according to transmission configuration strategy and receive image to each frame Real-time Feedback carries out Time-delayed Feedback to overall transfer result.
Refering to Fig. 3.In Quick Response Code duplex communication system, A ends computer is as transmitting terminal, to the pre- place of data to be sent Reason:Data type to be sent is analyzed, if data to be sent are text data, directly reads the string length of text data, If data to be sent are binary data, binary data content is saved as into a hexadecimal by tetrad data The temporary text files of data, such as " 1,100 0101 " save as " C5 ", then read the string length of temporary text files.A Hold Quick Response Code coded format of the computer according to selection, it is known that the data field capacity of image in 2 D code under the frame coding, with most Exemplified by common QR Code, the image in 2 D code data capacity of QR Code codings is determined by its version of code mode, most Big mode 40 can store 3KB data messages.A ends computer is according to data character string length to be sent and image in 2 D code Data capacity calculates required image in 2 D code frame number n, and then by data to be sent, sequentially cutting is n frames, and every frame is carried out Data packet format is bound.The data packet format includes:
Bag is initiated by the transmission of transmitting terminal generation<DCTrans>fileName<fileNo/dataType/frameAmount/> (1)
The data packet generated by transmitting terminal<DCData>data<fileNo/frameNo/> (2)
Bag is confirmed by the reception of receiving terminal generation<DCAck>fileName<fileNo/frameNo/> (3)
Bag is initiated by the re-transmission of receiving terminal generation<DCResend>fileName<fileNo/frameNo/> (4)
Bag is transmitted by transmitting terminal generation<DCFin>fileName<fileNo/dataType/frameAmount/> (5)
Wherein:(1) DCTrans included identifies for frame head, and fileName is filename to be sent, and fileNo is to be made by oneself by user The file sequence number of justice, dataType is data type, can be divided into text data and binary data, and frameAmount is pending Send data frame number n;
(2) DCData included identifies for frame head, and data is data field, and for storing data to be sent, fileNo is filename, FrameNo is frame number;
(3) DCAck included identifies for frame head, can carry out reception confirmation to a certain frame or complete file;
(4) DCResend included identifies for frame head, it is desirable that transmitting terminal resends the data packet of specified frame number;
(5) DCFin included identifies for frame head, it is desirable that receiving terminal confirmation is transmitted.
After A ends computer completes all data frames data packet bookbinding, you can all frames are pressed, Quick Response Code is specified to encode lattice Formula generates image in 2 D code, and image in 2 D code sequence is formed by frame number.Wherein image in 2 D code generating algorithm is not in this hair The bright row that scope is discussed.
Refering to Fig. 2 and Fig. 4.A ends computer is connected to as transmitting terminal, by image in 2 D code sequence by data cable miniature Order is shown on liquid crystal display A.Display strategy is divided into two classes, corresponding with the feedback strategy of B ends computer:When B ends calculate When machine is used to the progress Real-time Feedback confirmation of each frame data, the display strategy of A ends computer is after receiving confirmation message, more New display next frame image in 2 D code;When unified feedback confirms after computer use in B ends receives all frame data, A ends meter The display strategy of calculation machine is to show next frame image in 2 D code by fixed duration update.B ends computer is set as receiving terminal, acquisition Standby can be vision camera or two-dimensional code scanning instrument.
When B ends computer uses the vision camera to be acquired as receiving terminal, camera A is to liquid crystal micro display A Shown image in 2 D code sequence carries out Image Acquisition, and will gather image transmitting to B ends computer by data cable connection Image preprocessing before into row decoding.Since the acquisition frame rate of camera A is much larger than two shown by liquid crystal micro display A Code image update frame per second is tieed up, therefore is gathered in image there are substantial amounts of repeated acquisition frame, it is heavy that these need to be deleted before pre-processing Multiple acquisition frame.The repeating frame of vision camera acquisition is rejected using frame differential method, by formula (6) Suo Shi.Receiving terminal leads to The pixel value for crossing two width sequential frame image same coordinates subtracts each other, and takes absolute value to obtain difference image:
D (x, y)=I (t)-I (t-1) (6)
In formula, (x, y) is image pixel coordinates, and I (t) and I (t-1) are respectively the two continuous frames acquisition figure of t and t-1 frames Picture, difference image D (x, y) illustrate the region of variation and variation degree of two continuous frames acquisition image.Due to I (t) and I (t-1) The difference in exposure of image and slight drift are gathered, there are larger pixel differences in Quick Response Code block edges by difference image D (x, y) Value, usable average, which obscures, reduces its pixel value difference.Given threshold σ, when the pixel value of difference image coordinate (x, y) is more than σ, general (x, y) region is set as region of variation;When pixel value be less than σ, (x, y) region is set as invariant region.Calculate region of variation The ratio value λ of entire image, and given discrimination threshold μ are accounted for, obtains new acquisition frame:
I (t)=1, λ>μ;I (t)=0, λ<μ (7)
Repeating frame I (t)=0 is rejected, new acquisition frame I (t)=1 is included in image in 2 D code sequence.
B ends computer is further comprising the steps of for the pretreatment of image in 2 D code:
Gray processing:Acquisition image is converted into gray level image;
Medium filtering:The random noise for reducing image keeps edge details simultaneously;
Binaryzation:Height both ends black-and-white two color situation is concentrated on for image in 2 D code pixel value, can use threshold value is 128, works as picture During element value I (x, y) >=128, it is 255 directly by the pixel assignment, is set to white;As pixel value I (x, y) < 128, then should Pixel assignment is 0, is set to black.
When B ends computer uses two-dimensional code scanning instrument as collecting device, due to two-dimensional code scanning instrument carry Image Acquisition, Processing and decoding function, B ends computer need to only do the deletion of repetition frame data, be not required to do other pretreatment works.
Refering to Fig. 5.B ends computer is as follows to image in 2 D code sequential decoding and file generated flow:
By Quick Response Code coded format to image in 2 D code sequence into row decoding;The data packet format as shown in formula (2) is obtained per frame two The information such as transmission data, frame number, number of frames in dimension code information;It is linked in sequence corresponding transmission data, obtains by frame number Complete transmission data;Bag form is initiated by transmission formula (1) Suo Shi and obtains wire data type and file name information, by corresponding data Type generation transmission data file:If data type is text data, transmission data are directly saved as into text file, filename Filename in bag is initiated by transmission formula (1) Suo Shi to name;If data type is binary data, by transmission data by hexadecimal Data conversion returns binary data, and such as " C5 " is converted to " 1,100 0101 ", and transformed binary data is saved as binary system File, filename are initiated filename in bag by transmission shown in formula (1) and are named.
B ends computer carries out feedback acknowledgment, root using liquid crystal display B and camera B as receiving terminal to receive information According to transmission speed and reliability requirement, feedback strategy can be configured to two class of Real-time Feedback and Time-delayed Feedback.Real-time Feedback strategy will Receiving terminal is asked to receive data to each frame and carries out feedback acknowledgment, so as to improve transmission reliability;Time-delayed Feedback is received in receiving terminal It is unified to carry out feedback acknowledgment to after all frame data, it if any missing frame data, then initiates to retransmit by receiving terminal, to improve transmission Speed.
Refering to Fig. 6, B ends allocation of computer is Real-time Feedback pattern.A ends computer is completed to pre-process to data to be sent, Synthesize image in 2 D code sequence;The transmission of generation is initiated bag to pass the information on to B ends by liquid crystal display A and camera A Computer;B ends computer initiates to wrap to transmission to be completed to gather, after processing, decoding and reading information flow, and feedback reception confirms Bag;A ends computer order sends all data packets, and B ends computer all feeds back corresponding connect after each frame data are received It receives and confirms bag, until completing the transmission of all data packets;The computer transmission of A ends is transmitted bag, B ends computer feedback acknowledgment Bag;B ends computer is recombinated all reception data by frame number, and synthesis transmission file completes transfer process.
Refering to Fig. 7.B ends allocation of computer is Time-delayed Feedback pattern.A ends computer is completed to pre-process to data to be sent, Synthesize image in 2 D code sequence;Bag is initiated in generation transmission, is passed the information on to B ends and calculated by liquid crystal display A and camera A Machine;B ends computer initiates to wrap to transmission to be completed to gather, after processing, decoding and reading information flow, and feedback reception, which confirms, to be wrapped;A ends Computer, which is pressed, specifies duration, sequentially sends all data packets, is not required to through B ends computer feedback acknowledgment, until completing all data Bag is sent;Computers transmission in A ends is transmitted bag, and B ends computer, which receives, is transmitted progress received data packet integrality after bag Verification:Confirm bag as completely, then returned to completion, synthesize former transmission file, complete transfer process;As not complete, analysis missing Frame data bag is sent re-transmission by frame number and initiates bag one by one, and A ends computer initiates the frame number of bag by retransmitting, and sends corresponding Frame data bag, until the repeating transmission for completing all missing data bags is sent;After B ends computer receives all missing data bags, by frame sequence Number restructuring receive data, synthesis transmission file, complete transfer process.
What the present invention did not elaborated partly belongs to those skilled in the art's known technology.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

1. a kind of Quick Response Code duplex communication method, it is characterised in that comprise the following steps:Transmitting terminal in Quick Response Code duplex communication, For receiving terminal using liquid crystal micro display, vision camera or two-dimensional code scanning instrument into row data communication, transmitting terminal will be to be transmitted Data encoding is image in 2 D code sequence, and the image in 2 D code sequence is shown using liquid crystal micro display order;Receiving terminal makes Above-mentioned image in 2 D code sequence is gathered with vision camera or two-dimensional code scanning instrument, repeating frame rejecting, figure are carried out to collection result As gray processing, medium filtering and binaryzation pretreatment, then decoding result is obtained into row decoding by Quick Response Code coded format;It receives Above-mentioned decoding result is integrated at end by frame number and number of frames, obtains the former transmission file of transmitting terminal;Receiving terminal is matched somebody with somebody by system transmission It puts, Real-time Feedback or Time-delayed Feedback is carried out to transmitting terminal to receiving result.
2. Quick Response Code duplex communication method according to claim 1, it is characterised in that:Transmitting terminal carries out data to be sent Pretreatment:Data type to be sent is analyzed, if data to be sent are text data, the character string for directly reading text data is long Binary data content if data to be sent are binary data, is saved as one 16 by degree by tetrad data Then the temporary text files of binary data read the string length of temporary text files.
3. Quick Response Code duplex communication method according to claim 1, it is characterised in that:Transmitting terminal carries out file to be sent Quick Response Code encodes, and according to data volume, Quick Response Code coded format and frame capacity is sent, number of frames needed for calculation code will be to be sent Data carry out cutting by frame capacity, sequentially work out frame number, every frame data are encoded by Quick Response Code form, form Quick Response Code Image sequence.
4. Quick Response Code duplex communication method according to claim 1, it is characterised in that:Transmitting terminal is pressed according to transmission configuration Specified time length or after receiving reception feedback, the sequentially two-dimensional code display image on liquid crystal micro.
5. Quick Response Code duplex communication method according to claim 1, it is characterised in that:Receiving terminal is using vision camera During the image in 2 D code sequence that acquisition transmitting terminal is shown, determined whether in the consecutive image interframe of acquisition using frame differential method Repeating frame rejects repeating frame and obtains image in 2 D code sequence, then carries out gray processing, medium filtering and two-value to image in 2 D code Change pretreatment, complete image sequence pretreatment, in the image in 2 D code sequence that two-dimensional code scanning instrument acquisition transmitting terminal is used to show When, two-dimensional code scanning instrument directly exports decoding data, determines whether repeating frame according to the decoding data of successive frame, rejects and repeat The decoding data of frame obtains the decoding result of image in 2 D code sequence.
6. Quick Response Code duplex communication method according to claim 1, it is characterised in that:Receiving terminal use is identical with transmitting terminal Equipment and data communication process carry out reception state feedback, be real by feedback configuration according to transmission speed and reliability requirement When feedback or Time-delayed Feedback.
7. Quick Response Code duplex communication method according to claim 1, it is characterised in that:When receiving terminal configures Time-delayed Feedback, After receiving and being transmitted bag, the integrality of received data packet is verified, it is such as complete to carry out file synthesis, otherwise ask transmitting terminal Missing frame is retransmitted, until completing the re-transmission of all missing frames.
8. Quick Response Code duplex communication method according to claim 1, it is characterised in that:Receiving terminal is according to the transmission of transmitting terminal File type rebuilds former transmission file, and for text file, it is text file directly to preserve decoding result, for binary system text Part will decode result binarization, then save as former transmission file format.
9. Quick Response Code duplex communication method according to claim 1, it is characterised in that:B ends computer makes as receiving terminal When being acquired with vision camera, camera A carries out image to the image in 2 D code sequence shown by liquid crystal micro display A Acquisition, and connected by data cable by the image preprocessing before gathering image transmitting to B ends computer into row decoding;To vision The repeating frame of camera acquisition is rejected using frame differential method, passes through the pixel value phase of two width sequential frame image same coordinates Subtract, take absolute value to obtain difference image:
D (x, y)=I (t)-I (t-1) (6)
In formula, (x, y) is image pixel coordinates, and I (t) and I (t-1) are respectively the two continuous frames acquisition figure of t and t-1 frames Picture, difference image D (x, y) illustrate the region of variation and variation degree of two continuous frames acquisition image.
10. Quick Response Code duplex communication method according to claim 9, it is characterised in that:B ends allocation of computer is anti-for delay Feedback pattern, A ends computer are completed to pre-process to data to be sent, synthesize image in 2 D code sequence;Bag is initiated in generation transmission, is passed through Liquid crystal display A and camera A is passed the information on to B ends computer;B ends computer to transmission initiate bag complete acquisition, processing, After decoding and reading information flow, feedback reception confirms bag;A ends computer, which is pressed, specifies duration, sequentially sends all data packets, no It need to be sent through B ends computer feedback acknowledgment until completing all data packets;The computer transmission of A ends is transmitted bag, and B ends calculate Machine receive be transmitted bag after carry out received data packet completeness check:Confirm bag as completely, then returned to completion, synthesize former pass Defeated file completes transfer process;As not complete, analysis missing frame data bag is sent re-transmission by frame number and initiates bag, A ends one by one Computer initiates the frame number of bag by retransmitting, and sends corresponding frame data bag, until the repeating transmission for completing all missing data bags is sent; It after B ends computer receives all missing data bags, is recombinated by frame number and receives data, synthesis transmission file completes transfer process.
CN201711009436.7A 2017-10-25 2017-10-25 Quick Response Code duplex communication method Pending CN108055116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711009436.7A CN108055116A (en) 2017-10-25 2017-10-25 Quick Response Code duplex communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711009436.7A CN108055116A (en) 2017-10-25 2017-10-25 Quick Response Code duplex communication method

Publications (1)

Publication Number Publication Date
CN108055116A true CN108055116A (en) 2018-05-18

Family

ID=62119615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711009436.7A Pending CN108055116A (en) 2017-10-25 2017-10-25 Quick Response Code duplex communication method

Country Status (1)

Country Link
CN (1) CN108055116A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040505A (en) * 2018-06-26 2018-12-18 江苏擎天信息科技有限公司 A kind of safety data transmission method based on the transmission of batch two dimensional code
CN109146036A (en) * 2018-09-07 2019-01-04 安徽工程大学 The method that the transmission of locus allele data is carried out using two dimensional code video
CN109150393A (en) * 2018-06-29 2019-01-04 广东省信息工程有限公司 Two-dimensional barcode information transfer approach, terminal device and computer readable storage medium
CN109949898A (en) * 2019-02-19 2019-06-28 东软医疗系统股份有限公司 File uploading method, storage method, method for down loading, system, device and equipment
CN110009077A (en) * 2019-04-09 2019-07-12 浩云科技股份有限公司 A kind of two dimensional code two-way instruction execution system under isolation network
CN111064739A (en) * 2019-12-26 2020-04-24 中国人民解放军陆军工程大学 Data transmission platform and method thereof
CN111653092A (en) * 2020-05-20 2020-09-11 苏交科集团股份有限公司 Bus route is wisdom public transit management monitored control system in coordination
CN111654546A (en) * 2020-06-04 2020-09-11 福州符号信息科技有限公司 QR code-based data transmission method and device
CN111814161A (en) * 2020-07-01 2020-10-23 盛视科技股份有限公司 Data transmission method and system
CN112073195A (en) * 2020-11-10 2020-12-11 深圳市深圳通有限公司 Key using apparatus, key obtaining method thereof, and computer-readable storage medium
CN112598095A (en) * 2020-12-11 2021-04-02 厦门市美亚柏科信息股份有限公司 High-density two-dimensional code data transmission method and device and storage medium
CN113037733A (en) * 2021-03-01 2021-06-25 安徽商信政通信息技术股份有限公司 Non-physical contact nondestructive transmission method and system for aerospace secret-related data
CN113242107A (en) * 2020-12-27 2021-08-10 南京飞搏数据技术有限公司 Two-dimensional code transmission protocol
CN113285764A (en) * 2021-05-19 2021-08-20 大连理工大学 Three-dimensional blue-green two-dimensional code close-range safe communication method based on underwater image enhancement technology
CN113595984A (en) * 2021-06-29 2021-11-02 北京来也网络科技有限公司 Data transmission method and device combining RPA and AI, electronic equipment and storage medium
CN113709227A (en) * 2021-08-20 2021-11-26 中国建设银行股份有限公司 Data transmission method and device, computer equipment and computer readable storage medium
CN114039969A (en) * 2021-11-05 2022-02-11 光大科技有限公司 Data transmission method and device
CN114186648A (en) * 2021-12-01 2022-03-15 北京天兵科技有限公司 Non-contact type network-free data exchange method, system and equipment thereof and storage medium
CN115883264A (en) * 2023-03-03 2023-03-31 北京仁光科技有限公司 Information security transmission system and information security transmission method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731717A (en) * 2005-07-19 2006-02-08 北京中星微电子有限公司 Rate control method based on two-dimension code video transmission
CN101378462A (en) * 2007-08-30 2009-03-04 卡西欧计算机株式会社 Moving body image extraction apparatus and computer readable storage medium storing program
CN102185839A (en) * 2011-04-22 2011-09-14 北京华玛科技有限公司 Fraud-preventing registration system based on dynamic two-dimension codes or dynamic bar codes
CN103914675A (en) * 2014-03-17 2014-07-09 东华大学 Garment QD code recognition method
CN104038739A (en) * 2014-06-05 2014-09-10 国家电网公司 Method and device for utilizing video scanning two-dimensional code to achieve unidirectional data transmission under network physical isolation state
US20150341336A1 (en) * 2014-05-23 2015-11-26 Anders Edvard Trell System for authorization of access

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731717A (en) * 2005-07-19 2006-02-08 北京中星微电子有限公司 Rate control method based on two-dimension code video transmission
CN101378462A (en) * 2007-08-30 2009-03-04 卡西欧计算机株式会社 Moving body image extraction apparatus and computer readable storage medium storing program
CN102185839A (en) * 2011-04-22 2011-09-14 北京华玛科技有限公司 Fraud-preventing registration system based on dynamic two-dimension codes or dynamic bar codes
CN103914675A (en) * 2014-03-17 2014-07-09 东华大学 Garment QD code recognition method
US20150341336A1 (en) * 2014-05-23 2015-11-26 Anders Edvard Trell System for authorization of access
CN104038739A (en) * 2014-06-05 2014-09-10 国家电网公司 Method and device for utilizing video scanning two-dimensional code to achieve unidirectional data transmission under network physical isolation state

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040505A (en) * 2018-06-26 2018-12-18 江苏擎天信息科技有限公司 A kind of safety data transmission method based on the transmission of batch two dimensional code
CN109150393A (en) * 2018-06-29 2019-01-04 广东省信息工程有限公司 Two-dimensional barcode information transfer approach, terminal device and computer readable storage medium
CN109146036A (en) * 2018-09-07 2019-01-04 安徽工程大学 The method that the transmission of locus allele data is carried out using two dimensional code video
CN109949898A (en) * 2019-02-19 2019-06-28 东软医疗系统股份有限公司 File uploading method, storage method, method for down loading, system, device and equipment
CN109949898B (en) * 2019-02-19 2024-01-05 东软医疗系统股份有限公司 File uploading method, storage method, downloading method, system, device and equipment
CN110009077A (en) * 2019-04-09 2019-07-12 浩云科技股份有限公司 A kind of two dimensional code two-way instruction execution system under isolation network
CN111064739A (en) * 2019-12-26 2020-04-24 中国人民解放军陆军工程大学 Data transmission platform and method thereof
CN111064739B (en) * 2019-12-26 2022-04-26 中国人民解放军陆军工程大学 Data transmission platform and method thereof
CN111653092A (en) * 2020-05-20 2020-09-11 苏交科集团股份有限公司 Bus route is wisdom public transit management monitored control system in coordination
CN111654546A (en) * 2020-06-04 2020-09-11 福州符号信息科技有限公司 QR code-based data transmission method and device
CN111814161A (en) * 2020-07-01 2020-10-23 盛视科技股份有限公司 Data transmission method and system
CN112073195A (en) * 2020-11-10 2020-12-11 深圳市深圳通有限公司 Key using apparatus, key obtaining method thereof, and computer-readable storage medium
CN112073195B (en) * 2020-11-10 2021-03-23 深圳市深圳通有限公司 Key using apparatus, key obtaining method thereof, and computer-readable storage medium
CN112598095A (en) * 2020-12-11 2021-04-02 厦门市美亚柏科信息股份有限公司 High-density two-dimensional code data transmission method and device and storage medium
CN112598095B (en) * 2020-12-11 2023-01-24 厦门市美亚柏科信息股份有限公司 High-density two-dimensional code data transmission method and device and storage medium
CN113242107A (en) * 2020-12-27 2021-08-10 南京飞搏数据技术有限公司 Two-dimensional code transmission protocol
CN113037733A (en) * 2021-03-01 2021-06-25 安徽商信政通信息技术股份有限公司 Non-physical contact nondestructive transmission method and system for aerospace secret-related data
CN113285764B (en) * 2021-05-19 2022-09-02 大连理工大学 Three-dimensional blue-green two-dimensional code close-range safe communication method based on underwater image enhancement technology
CN113285764A (en) * 2021-05-19 2021-08-20 大连理工大学 Three-dimensional blue-green two-dimensional code close-range safe communication method based on underwater image enhancement technology
CN113595984A (en) * 2021-06-29 2021-11-02 北京来也网络科技有限公司 Data transmission method and device combining RPA and AI, electronic equipment and storage medium
CN113595984B (en) * 2021-06-29 2024-01-12 北京来也网络科技有限公司 Data transmission method and device combining RPA and AI, electronic equipment and storage medium
CN113709227A (en) * 2021-08-20 2021-11-26 中国建设银行股份有限公司 Data transmission method and device, computer equipment and computer readable storage medium
CN114039969A (en) * 2021-11-05 2022-02-11 光大科技有限公司 Data transmission method and device
CN114186648A (en) * 2021-12-01 2022-03-15 北京天兵科技有限公司 Non-contact type network-free data exchange method, system and equipment thereof and storage medium
CN115883264A (en) * 2023-03-03 2023-03-31 北京仁光科技有限公司 Information security transmission system and information security transmission method
CN115883264B (en) * 2023-03-03 2024-02-06 北京仁光科技有限公司 Information security transmission system and information security transmission method

Similar Documents

Publication Publication Date Title
CN108055116A (en) Quick Response Code duplex communication method
CN109150393A (en) Two-dimensional barcode information transfer approach, terminal device and computer readable storage medium
CN203057193U (en) Data processing apparatus
CN103563346B (en) System and method for setting up communication session
CN109274642B (en) Inter-network data communication method and related device, system, equipment and storage medium
CN109583880A (en) Cross-platform communication means and device and method of payment and device
CN102387020A (en) Dynamic password generating device as well as dynamic password implementing method and system
CN110011993A (en) A kind of two dimensional code big data safe transmission device based on dynamic multi-level encryption and decryption
JPH05244441A (en) Method and device for authenticating message sent by facsimile transmission
CN103442156A (en) Image steganography and secret information extraction method based on intelligent mobile terminal
CN102387142A (en) Tool, authentication method and system for electronic signature
CN103516404A (en) Data transmission method and system, sending end equipment and receiving end equipment
CN102831663A (en) Smart-phone two-dimensional code attendance checking system and smart-phone two-dimensional code attendance checking method
CN108460896B (en) RMB information collection conversion equipment, system and method based on prefix information
CN102831504A (en) Drug administration information processing method on basis of mobile phone
CN109829527A (en) A kind of the water sample tracking and tracking system of surface water environment monitoring
CN111754445B (en) Coding and decoding method and system for optical fiber label with hidden information
RU97199U1 (en) SYSTEM, MOBILE DEVICE AND READING DEVICE FOR TRANSFER OF TEXT INFORMATION USING GRAPHIC IMAGES
CN108090539A (en) It is a kind of to generate system for adding the Quick Response Code of character watermark
JP4008235B2 (en) Method and apparatus for performing occlusion glyph code tiling
CN103716445A (en) Dynamic barcode-based data exchange method
CN110033218A (en) A kind of Intelligent logistics Warehouse Management System based on Internet of Things
CN104994057A (en) Data processing method and system based on identity authentication
CN104021360A (en) Information processing device, information processing method and information exchange system
CN210246795U (en) Device for transmitting data in unidirectional 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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180518

WD01 Invention patent application deemed withdrawn after publication