CN105389534A - Two-dimensional-code-based information transmission method and system of mobile terminal - Google Patents
Two-dimensional-code-based information transmission method and system of mobile terminal Download PDFInfo
- Publication number
- CN105389534A CN105389534A CN201510710328.7A CN201510710328A CN105389534A CN 105389534 A CN105389534 A CN 105389534A CN 201510710328 A CN201510710328 A CN 201510710328A CN 105389534 A CN105389534 A CN 105389534A
- Authority
- CN
- China
- Prior art keywords
- frame number
- quick response
- response code
- code
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10544—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
- G06K7/10821—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
- G06K7/10851—Circuits for pulse shaping, amplifying, eliminating noise signals, checking the function of the sensing device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record 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/06009—Record 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/06037—Record 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Toxicology (AREA)
- Health & Medical Sciences (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention discloses a two-dimensional-code-based information transmission method and a system of a mobile terminal. Data which needs to be transmitted is obtained, the data is analyzed to be a two-dimensional code sequence, and a two-dimensional code is displayed. A receiving end scans the two-dimensional code, analyzes and obtains the information contained in the two-dimensional code, compares a frame number and an expected frame number, and analyzes and obtains the data carried by a two-dimensional code image according to a comparison result. Information is effectively transmitted between two intelligent devices, and the file transmission is completed through a simple transmission operation in a close range environment. The problem of the complex transmission operation in the file transmission process in the prior art is solved.
Description
Technical field
The present invention relates to technical field of mobile terminals, particularly a kind of mobile terminal is based on the information transferring method of Quick Response Code and system.
Background technology
Along with mobile terminal and Wearable user get more and more, often need between mobile terminal and Wearable to transmit various data file.At present, between mobile terminal and various Wearable file transmission method major part for based on bluetooth mode and rely on network mode.Although these two kinds of modes can meet the needs of transfer files under certain condition, it all also exists different shortcoming or restriction.Wherein, mode based on bluetooth exist alternately loaded down with trivial details, be paired into low, the easy noisy problem of power, the mode relying on network and account without cannot transmit under network condition, very high to user's restriction, use that inconvenience, transmission quality are low, the problem of consumed flow, on the whole, there is the problems such as transmission complicated operation in the transmission method of existing file.
On the other hand, need in Wearable device, arrange bluetooth module or WLAN module, it increases the cost of Wearable device.
Thus prior art need to improve.
Summary of the invention
The technical problem to be solved in the present invention is, for the deficiencies in the prior art, provides the information transferring method of a kind of mobile terminal based on Quick Response Code and system, and its transmission method that can solve existing file exists the problem of transmission complicated operation.
In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is as follows:
Mobile terminal is based on an information transferring method for Quick Response Code, and it comprises:
A, acquisition need to transmit data, and described Data Analysis is generated Quick Response Code sequence, and two-dimensional code display;
B, receiving end scanning Quick Response Code, resolves acquisition Quick Response Code and comprises information, compared by described frame number, receive described Quick Response Code carry data according to comparative result with expectation frame number.
Described mobile terminal is based on the information transferring method of Quick Response Code, and wherein, described steps A specifically comprises:
A1, acquisition need to transmit data, described Data Analysis are generated the Quick Response Code sequence that a group comprises some two-dimension code image; Described some two-dimension code image according to generation sequencing arrangement, the frame number of the first frame picture is designated as 0, and the frame number of the second frame picture is designated as 1, by that analogy, obtains frame number and is classified as 0,1,2,, n; The frame number corresponding with its genesis sequence is comprised in described some two-dimension code image;
A2, set current display frame number as 0, the frame number of the current display frame number two-dimension code image shown for transmitting terminal, the span of current display frame number is frame number row, namely 0,1,2,, n;
A3, according to current display frame number, two-dimensional code display;
A4, monitoring pulse signal, carry out current display frame number increase and decrease according to pulse signal type.
Described mobile terminal is based on the information transferring method of Quick Response Code, and wherein, described steps A 4 also comprises:
If it is three pulse signals that A41 monitors pulse signal, then current display frame number subtracts one;
If it is two pulse signals that A42 monitors pulse signal, then whether be last frame number, if NO, then current display frame number adds one if detecting current display frame number; If yes, then transmission is terminated.
Described mobile terminal based on the information transferring method of Quick Response Code, wherein, in described Quick Response Code sequence frame number be 0 Quick Response Code comprise information and be: frame number row, frame number, check code and identification code; Described display sequence number be not 0 Quick Response Code comprise information and be: the data that Quick Response Code carries, frame number and identification code.
Described mobile terminal is based on the information transferring method of Quick Response Code, and wherein, described step B specifically comprises:
B1, scanning resolve Quick Response Code, obtain Quick Response Code and comprise information;
B2, by the frame number of acquisition with expect frame number compare analysis;
B3, according to described frame number with expect the comparative analysis result of sequence number, the data that described Quick Response Code carries are added to and receive in data.
Described mobile terminal is based on the information transferring method of Quick Response Code, and wherein, described step B2 specifically comprises:
B21, acquisition Quick Response Code frame number;
Whether B22, the frame number judging described Quick Response Code are 0, if be 0, be then set to by the frame number of described Quick Response Code expect frame number, perform step B23; If be not 0, then perform step B23.
B23, by described frame number with expect frame number compare analysis.
Described mobile terminal is based on the information transferring method of Quick Response Code, and wherein, described step B3 also comprises:
If the described frame number of B31 is greater than expectation frame number, then send three pulse signals;
If the described frame number of B32 is less than expectation frame number, then send two pulse signals;
If the described frame number of B33 equals to expect frame number, adding the data of described Quick Response Code to reception data, whether be last frame, if not, expectation frame number is added one, send two pulse signals if detecting described frame number; If so, transmission is terminated.
Mobile terminal is based on an information transmission system for Quick Response Code, and it comprises:
Transmitting terminal, needs to transmit data for obtaining, described Data Analysis is generated Quick Response Code sequence, and two-dimensional code display;
Receiving end, for scanning Quick Response Code, resolving acquisition Quick Response Code and comprising information, being compared by the frame number of described Quick Response Code, resolve and obtain described Quick Response Code carry data according to comparative result with expectation frame number.
Described mobile terminal is based on the information transmission system of Quick Response Code, and wherein, described transmitting terminal is for having the mobile terminal of screen and sensor, and it specifically comprises:
Generation module, needing to transmit data for obtaining, described Data Analysis being generated the Quick Response Code sequence that a group comprises some two-dimension code image; Described some two-dimension code image according to generation sequencing arrangement, the frame number of the first frame picture is designated as 0, and the frame number of the second frame picture is designated as 1, by that analogy, obtains frame number and is classified as 0,1,2,, n; The frame number corresponding with its genesis sequence is comprised in described some two-dimension code image;
Module is set, for setting current display frame number as 0, the frame number of the current display frame number two-dimension code image shown for transmitting terminal, the span of current display frame number is frame number row, namely 0,1,2,, n;
Display module, for according to current display frame number, two-dimensional code display;
Monitoring module, for monitoring pulse signal, carrying out current display frame number increase and decrease according to pulse signal type.
Described mobile terminal is based on the information transmission system of Quick Response Code, and wherein, described receiving end is for having the mobile terminal of camera and flashlamp, and it specifically comprises:
Acquisition module, for scanning and resolving Quick Response Code, obtains the data comprised in Quick Response Code;
Comparison module, for comparing analysis by described frame number and expectation frame number;
The data that described Quick Response Code carries, for according to described frame number and the comparative analysis result expecting sequence number, are added to and are received in data by processing module.
Beneficial effect: compared with prior art, mobile terminal provided by the present invention is based on the information transferring method of Quick Response Code and system, and it obtains needs to transmit data, and described Data Analysis is generated Quick Response Code sequence, and two-dimensional code display; Receiving end scanning Quick Response Code, resolves acquisition Quick Response Code and comprises information, compared by described frame number, according to comparative result, resolve and obtain described two-dimension code image and carry data with expectation frame number.It is transmission information between two smart machines effectively, achieves and operated file transfer by simple transmission in closely environment.Solve the problem of the transmission complicated operation existed in prior art file transmitting procedure.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of mobile terminal of the present invention based on the information transferring method preferred embodiment of Quick Response Code.
Fig. 2 the invention provides the process flow diagram of mobile terminal based on step S1 in information transferring method embodiment of Quick Response Code.
Fig. 3 the invention provides the process flow diagram of mobile terminal based on step S2 in information transferring method embodiment of Quick Response Code.
Fig. 4 is the structure principle chart of mobile terminal of the present invention based on the information transmission method, system of Quick Response Code.
Embodiment
The invention provides a kind of mobile terminal based on the information transferring method of Quick Response Code and system, for making object of the present invention, technical scheme and effect clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Below in conjunction with accompanying drawing, by the description to embodiment, summary of the invention is described further.
Refer to Fig. 1, Fig. 1 the invention provides the process flow diagram of mobile terminal based on the information transferring method preferred embodiment of Quick Response Code.As shown in the figure, described method comprises the steps:
S1, acquisition need to transmit data, and described Data Analysis is generated Quick Response Code sequence, and two-dimensional code display.
Particularly, described Quick Response Code sequence is the sequence of pictures that several two-dimension code image are formed, and described Quick Response Code sequence comprises the total data of transmission, Quick Response Code sequence can also comprise the totalframes needing to transmit two-dimensional sequence, frame number sequence number sequence, identifying code, the information such as identification code, frame number.
Further, arabic numeral can be adopted to be numbered it while generation Quick Response Code sequence, its numbering can from 0, and volume is 0,1,2 ... n, n are integer.Numbering is given frame number row, in Quick Response Code sequence, comprise frame number row one to one simultaneously.Transmitting terminal is searched according to frame number and is shown and corresponding two-dimension code image.Described frame number is contained in 2 D code information simultaneously, is resolved obtain by receiving end, for comparing with expectation frame number, judges whether the data message received to add to receiving in data.
In the present embodiment, described frame number is classified as 0,1 ... ... n, n are integer, and
Frame number be 0 Quick Response Code comprise the information of " frame number is 0 ";
Frame number be 1 Quick Response Code comprise the information of " frame number is 1 ";
…,…
Frame number is the information that the Quick Response Code of n comprises " frame number is n ".
Further, when frame number is 0, it is first two-dimension code image, it comprises the frame number row of described Quick Response Code sequence, totalframes, the frame number of Quick Response Code, check code and identification code, for connecting with receiving end, and this Quick Response Code totalframes number transmitted and frame number arranging situation are sent to receiving end in advance.When frame number is not 0, it comprises data that Quick Response Code carries, the frame number of Quick Response Code and identification code.
S2, receiving end scanning Quick Response Code, resolves acquisition Quick Response Code and comprises information, compared by the frame number of described Quick Response Code, according to comparative result, receive described two-dimension code image and carry data with expectation frame number.
Particularly, receiving end can scan the two-dimension code image of transmitting terminal display by camera, obtain display sequence number, the frame number of two-dimension code image, carry data and identifying code etc., frame number and expectation sequence number are compared, if frame number equals to expect sequence number, the data of two-dimension code image being carried are added in reception data.
Mobile terminal provided by the present invention is based on the information transferring method of Quick Response Code, and it obtains needs to transmit data, and described Data Analysis is generated Quick Response Code sequence, and two-dimensional code display; Receiving end scanning Quick Response Code, resolves acquisition Quick Response Code and comprises information, compared by described frame number, according to comparative result, resolve and obtain described two-dimension code image and carry data with expectation frame number.It is transmission information between two smart machines effectively, achieves and operated file transfer by simple transmission in closely environment.Solve the problem of the transmission complicated operation existed in prior art file transmitting procedure.
In one embodiment, as described in Figure 2, described step S1 comprises:
S11, acquisition need to transmit data, described Data Analysis are generated the Quick Response Code sequence that a group comprises some two-dimension code image; Described some two-dimension code image according to generation sequencing arrangement, the frame number of the first frame picture is designated as 0, and the frame number of the second frame picture is designated as 1, by that analogy, obtains frame number and is classified as 0,1,2,, n; The frame number corresponding with its genesis sequence is comprised in described some two-dimension code image.
Particularly, described Quick Response Code sequence is the sequence of pictures that several two-dimension code image are formed.When parsing generates Quick Response Code sequence, delta frame sequence number arranges, and frame number row are used for transmitting terminal, and frame number row are included in Quick Response Code sequence, for receiving end simultaneously.For frame number row, can by adopting arabic numeral to be numbered by the time to Quick Response Code genesis sequence while generation Quick Response Code sequence.Described numbering can be 0,1,2,, n, n be integer.So, frame number is classified as 0,1,2,, n, n be integer.Like this, sequence number n represents Quick Response Code frame number.Further, can obtain by frame number row the totalframes transmitting Quick Response Code sequence, it is n+1.
Further, in described Quick Response Code sequence, frame number is the Quick Response Code of 0, and it only carries totalframes, frame number row, frame number, check code and identification code; It does not carry the data message needing to transmit data.Sequence number is 1,2,, the Quick Response Code of n carries the part that needs to transmit data/total data information, frame number and identification code etc.
S12, set current display frame number as 0, the frame number of the current display frame number two-dimension code image shown for transmitting terminal, the span of current display frame number is frame number row, namely 0,1,2,, n.
Particularly, current display frame is that frame two-dimension code image that transmitting terminal is showing, and the frame number of that frame two-dimension code image that current display frame number is showing for transmitting terminal, the span of current display frame number is frame number row, namely 0,1,2,, n;
S13, according to current display frame number, two-dimensional code display.
Particularly, obtain current current display frame number, search corresponding Quick Response Code according to current display frame number, and the Quick Response Code of correspondence is presented on screen.Its Quick Response Code first shown to be frame number be 0 Quick Response Code, its frame number row this transmitted, frame number, identifying code and identification code are transferred to receiving end, receiving end is the 2 D code information of 0 by getting frame sequence number, obtain the overall information of this transmission, and verified by identifying code, judge whether transmitting terminal mates with receiving end.If coupling carries out data receiver, if do not mated, break off relations reception, ensure that the correctness that data are transmitted.
S14, monitoring pulse signal, carry out current display frame number increase and decrease according to pulse signal type.
Particularly, monitor the pulse signal that pulse signal is the receiving end transmitting that the ambient light sensor monitoring transmitting terminal obtains, the burst length of pulse signal is 50ms.Described burst length long enough, can ensure the correct Received signal strength of the ambient light sensor of transmit leg, simultaneously also enough short, and staff can be avoided to block the maloperation caused.
Further, if pulse signal is three pulse signals, then current display frame number subtracts one.It is when to listen to pulse signal be three pulse signals, then current display frame number is subtracted one, and current display frame number is subtracted obtain after one number as new current display frame number, carry out the display of a lower two-dimension code image according to new current display frame number.Such as, suppose that current display frame number is m, when listening to three pulse signals, then current display frame number subtracts one, i.e. m-1, and using m-1 as new current display frame number, the two-dimension code image that display m-1 is corresponding.
If pulse signal is two pulse signals, then current display frame number adds one.It is when to listen to pulse signal be two pulse signals, then current display frame number is added one, and current display frame number is added the display sequence number that obtains after one as new current display frame number, carries out the display of a lower two-dimension code image according to new current display frame number.Such as, suppose that current display frame number is m, when listening to two pulse signals, then current display frame number adds one, i.e. m+1, and using m+1 as new current display frame number, the two-dimension code image that display m+1 is corresponding.
Further, whether detect whether new current display frame number is last frame number, be terminate, if do not terminated to detect transmitting procedure, then current display frame number is added one as new current display frame number, search according to new current display frame number and show the Quick Response Code corresponding with it.
Like this, adjusting display sequence number, carrying out showing corresponding Quick Response Code by detecting the type of pulse signal received, it occurs that the leakage that frame-skipping causes passes data message problem due to transmitting terminal, thus ensure that the integrality of information transmission.
In one embodiment, as described in Figure 3, described step S2 specifically comprises:
S21, scanning resolve Quick Response Code, obtain Quick Response Code and comprise information.
Particularly, receiving end by the Quick Response Code of shooting first-class scanning display, and obtains Quick Response Code and comprises information, and described Quick Response Code comprises information and can arrange for frame number, the information of frame number, data message, identifying code, identification code etc.
S22, by the frame number of described Quick Response Code with expect frame number compare analysis.
Particularly, obtain the frame number of described Quick Response Code, and the frame number of described Quick Response Code and expectation frame number are compared analysis.
Further, relatively frame number with expect frame number before, also comprise a deterministic process.It judges whether described display sequence number is 0, if be 0, is then set to by the frame number of described Quick Response Code expect frame number, and compares the size of frame number and expectation frame number; If be not 0, directly compare the size of frame number and expectation frame number.Here, expect that frame number is that receiving end receives display sequence number when being the Quick Response Code of 0, by display sequence number be 0 Quick Response Code in the frame number that comprises be set to frame number, it is expect that frame number is obtained by cumulative in Quick Response Code transmitting procedure.
S23, according to described frame number with expect the comparative analysis result of sequence number, the data that described Quick Response Code carries are added to and receive in data.
Particularly, described frame number and the size expecting sequence number is judged.If described frame number is greater than expectation frame number, then send three pulse signals, scanning Quick Response Code; If described frame number is less than expectation frame number, then send two pulse signals, scanning Quick Response Code; If described frame number equals to expect frame number, add the data of described Quick Response Code to reception data, whether what check described frame number is last frame, if not, expectation frame number is added one, sends two pulse signals, and scanning Quick Response Code, if so, terminates transmission.Whether the Quick Response Code that can detect transmitting terminal transmission is like this Quick Response Code that receiving end is expected to receive, and then judges whether the data that the Quick Response Code that transmitting terminal transmits carries and the data that receiving end has received are conjoint data.If so, then the data receiver that described Quick Response Code carries enters to receive in data.If not, then do not receive the Data Concurrent number of delivering letters to transmitting terminal, transmitting terminal adjusts two-dimensional code display according to signal.Thus avoid the problem Lou passing data, improve the integrality of data transmission.
Present invention also offers the information transmission system of a kind of mobile terminal based on Quick Response Code, as shown in Figure 4, described system comprises:
Transmitting terminal, needs to transmit data for obtaining, described Data Analysis is generated Quick Response Code sequence, and two-dimensional code display;
Receiving end, for scanning Quick Response Code, resolving acquisition Quick Response Code and comprising information, being compared by described Quick Response Code frame number, receive described Quick Response Code carry data according to comparative result with expectation frame number.
Described mobile terminal is based on the information transmission system of Quick Response Code, and wherein, described transmitting terminal is for having the mobile terminal of screen and sensor, and it specifically comprises:
Generation module, needing to transmit data for obtaining, described Data Analysis being generated the Quick Response Code sequence that a group comprises some two-dimension code image; Described some two-dimension code image according to generation sequencing arrangement, the frame number of the first frame picture is designated as 0, and the frame number of the second frame picture is designated as 1, by that analogy, obtains frame number and is classified as 0,1,2,, n; The frame number corresponding with its genesis sequence is comprised in described some two-dimension code image;
Module is set, for setting current display frame number as 0, the frame number of the current display frame number two-dimension code image shown for transmitting terminal, the span of current display frame number is frame number row, namely 0,1,2,, n;
Display module, for according to current display frame number, two-dimensional code display;
Monitoring module, for monitoring pulse signal, carrying out current display frame number increase and decrease according to pulse signal type.
Further, described in have screen and sensor mobile terminal be preferably wearable smart machine, such as, intelligent watch, Intelligent bracelet etc.
Described mobile terminal is based on the information transmission system of Quick Response Code, and wherein, described receiving end is for having the mobile terminal of camera and flashlamp, and it specifically comprises:
Acquisition module, for scanning and resolving Quick Response Code, obtains the data comprised in Quick Response Code;
Comparison module, for comparing analysis by described Quick Response Code frame number and expectation frame number;
The data that described Quick Response Code carries, for according to described frame number and the comparative analysis result expecting sequence number, are added to and are received in data by processing module.
Particularly, the mobile terminal described in camera and flashlamp can be smart mobile phone, panel computer, intelligent television etc.
Be understandable that, for those of ordinary skills, can be equal to according to technical scheme of the present invention and inventive concept thereof and replace or change, and all these change or replace the protection domain that all should belong to the claim appended by the present invention.
Claims (10)
1. mobile terminal is based on an information transferring method for Quick Response Code, it is characterized in that, it comprises:
A, acquisition need to transmit data, and described Data Analysis is generated Quick Response Code sequence, and two-dimensional code display;
B, receiving end scanning Quick Response Code, resolves acquisition Quick Response Code and comprises information, compared by the frame number of described Quick Response Code, receive described Quick Response Code carry data according to comparative result with expectation frame number.
2. mobile terminal according to claim 1 is based on the information transferring method of Quick Response Code, it is characterized in that, described steps A specifically comprises:
A1, acquisition need to transmit data, described Data Analysis are generated the Quick Response Code sequence that a group comprises some two-dimension code image; Described some two-dimension code image according to generation sequencing arrangement, the frame number of the first frame picture is designated as 0, and the frame number of the second frame picture is designated as 1, by that analogy, obtains frame number and is classified as 0,1,2,, n; The frame number corresponding with its genesis sequence is comprised in described some two-dimension code image;
A2, set current display frame number as 0, the frame number of the current display frame number two-dimension code image shown for transmitting terminal, the span of current display frame number is frame number row, namely 0,1,2,, n;
A3, according to current display frame number, two-dimensional code display;
A4, monitoring pulse signal, carry out current display frame number increase and decrease according to pulse signal type.
3. mobile terminal according to claim 2 is based on the information transferring method of Quick Response Code, it is characterized in that, described steps A 4 also comprises:
If it is three pulse signals that A41 monitors pulse signal, then current display frame number subtracts one;
If it is two pulse signals that A42 monitors pulse signal, then whether be last frame number, if NO, then current display frame number adds one if detecting current display frame number; If yes, then transmission is terminated.
4. mobile terminal according to claim 3 is based on the information transferring method of Quick Response Code, it is characterized in that, described mobile terminal is based on the information transferring method of Quick Response Code, wherein, in described Quick Response Code sequence frame number be 0 Quick Response Code comprise information and be: frame number row, frame number, check code and identification code; Described frame number be not 0 Quick Response Code comprise information and be: the data that Quick Response Code carries, frame number and identification code.
5. mobile terminal according to claim 2 is based on the information transferring method of Quick Response Code, it is characterized in that, described step B specifically comprises:
B1, scanning resolve Quick Response Code, obtain Quick Response Code and comprise information;
B2, by the frame number of described Quick Response Code with expect frame number compare analysis;
B3, according to described frame number with expect the comparative analysis result of sequence number, the data that described Quick Response Code carries are added to and receive in data.
6. mobile terminal according to claim 5 is based on the information transferring method of Quick Response Code, it is characterized in that, described step B2 specifically comprises:
The frame number of B21, acquisition Quick Response Code;
Whether B22, the frame number judging described Quick Response Code are 0, if be 0, be then set to by the frame number of described Quick Response Code expect frame number, perform step B23; If be not 0, then perform step B23;
B23, by described frame number with expect frame number compare analysis.
7. mobile terminal according to claim 5 is based on the information transferring method of Quick Response Code, it is characterized in that, described step B3 also comprises:
If the described frame number of B31 is greater than expectation frame number, then send three pulse signals;
If the described frame number of B32 is less than expectation frame number, then send two pulse signals;
If the described frame number of B33 equals to expect frame number, add the data of described Quick Response Code to reception data, whether what check described frame number is last frame, if not, expectation frame number is added one, sends two pulse signals; If so, transmission is terminated.
8. mobile terminal is based on an information transmission system for Quick Response Code, it is characterized in that, it comprises:
Transmitting terminal, needs to transmit data for obtaining, described Data Analysis is generated Quick Response Code sequence, and two-dimensional code display;
Receiving end, for scanning Quick Response Code, resolving acquisition Quick Response Code and comprising information, being compared by described Quick Response Code frame number, receive described two-dimension code image carry data according to comparative result with expectation frame number.
9. a kind of mobile terminal according to claim 8 is based on the information transmission system of Quick Response Code, it is characterized in that, described transmitting terminal is for having the mobile terminal of screen and sensor, and it specifically comprises:
Generation module, needing to transmit data for obtaining, described Data Analysis being generated the Quick Response Code sequence that a group comprises some two-dimension code image; Described some two-dimension code image according to generation sequencing arrangement, the frame number of the first frame picture is designated as 0, and the frame number of the second frame picture is designated as 1, by that analogy, obtains frame number and is classified as 0,1,2,, n; The frame number corresponding with its genesis sequence is comprised in described some two-dimension code image;
Module is set, for setting current display frame number as 0, the frame number of the current display frame number two-dimension code image shown for transmitting terminal, the span of current display frame number is frame number row, namely 0,1,2,, n;
Display module, for according to current display frame number, two-dimensional code display;
Monitoring module, for monitoring pulse signal, carrying out current display frame number increase and decrease according to pulse signal type.
10. a kind of mobile terminal according to claim 8 is based on the information transmission system of Quick Response Code, it is characterized in that, described receiving end is for having the mobile terminal of camera and flashlamp, and it specifically comprises:
Acquisition module, for scanning and resolving Quick Response Code, obtains Quick Response Code and comprises information;
Comparison module, for comparing analysis by described Quick Response Code frame number and expectation frame number;
The data that described Quick Response Code carries, for according to described frame number and the comparative analysis result expecting sequence number, are added to and are received in data by processing module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510710328.7A CN105389534A (en) | 2015-10-28 | 2015-10-28 | Two-dimensional-code-based information transmission method and system of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510710328.7A CN105389534A (en) | 2015-10-28 | 2015-10-28 | Two-dimensional-code-based information transmission method and system of mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105389534A true CN105389534A (en) | 2016-03-09 |
Family
ID=55421809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510710328.7A Pending CN105389534A (en) | 2015-10-28 | 2015-10-28 | Two-dimensional-code-based information transmission method and system of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105389534A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105847301A (en) * | 2016-05-31 | 2016-08-10 | 广东能龙教育股份有限公司 | Non-contact information transmission method based on two-dimensional code |
CN106445768A (en) * | 2016-10-20 | 2017-02-22 | 深圳铂睿智恒科技有限公司 | Method and system for testing production of mobile terminal |
CN106650849A (en) * | 2016-12-23 | 2017-05-10 | 广州酷狗计算机科技有限公司 | Data transmission method, device and system |
CN108173963A (en) * | 2018-01-19 | 2018-06-15 | 大唐终端技术有限公司 | A kind of method of the Quick Response Code transmission file of efficient schedulable |
CN108805242A (en) * | 2018-08-31 | 2018-11-13 | 刘彦君 | A kind of data transmission set and method |
CN109150393A (en) * | 2018-06-29 | 2019-01-04 | 广东省信息工程有限公司 | Two-dimensional barcode information transfer approach, terminal device and computer readable storage medium |
CN110650111A (en) * | 2018-06-27 | 2020-01-03 | 上海赢亥信息科技有限公司 | Digital asset transmission method, system, terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030096652A1 (en) * | 2001-11-19 | 2003-05-22 | Radica China Ltd. | Electronic gaming method using coded input data |
CN103516404A (en) * | 2013-08-30 | 2014-01-15 | 展讯通信(上海)有限公司 | Data transmission method and system, sending end equipment and receiving end equipment |
CN103744811A (en) * | 2013-12-27 | 2014-04-23 | 华中科技大学 | Serial data transmission system and method |
CN104065545A (en) * | 2014-06-27 | 2014-09-24 | 浙江大学 | RS485 bus communication method based on Modbus protocol and power electronic system based on communication method |
CN104270550A (en) * | 2014-09-28 | 2015-01-07 | 湖北工业大学 | Reliable image data transmission method based on CAN bus |
CN104504428A (en) * | 2014-06-22 | 2015-04-08 | 广州市沃希信息科技有限公司 | Information transmission method, information transmission system and mobile terminal based on two-dimension code |
-
2015
- 2015-10-28 CN CN201510710328.7A patent/CN105389534A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030096652A1 (en) * | 2001-11-19 | 2003-05-22 | Radica China Ltd. | Electronic gaming method using coded input data |
CN103516404A (en) * | 2013-08-30 | 2014-01-15 | 展讯通信(上海)有限公司 | Data transmission method and system, sending end equipment and receiving end equipment |
CN103744811A (en) * | 2013-12-27 | 2014-04-23 | 华中科技大学 | Serial data transmission system and method |
CN104504428A (en) * | 2014-06-22 | 2015-04-08 | 广州市沃希信息科技有限公司 | Information transmission method, information transmission system and mobile terminal based on two-dimension code |
CN104065545A (en) * | 2014-06-27 | 2014-09-24 | 浙江大学 | RS485 bus communication method based on Modbus protocol and power electronic system based on communication method |
CN104270550A (en) * | 2014-09-28 | 2015-01-07 | 湖北工业大学 | Reliable image data transmission method based on CAN bus |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105847301A (en) * | 2016-05-31 | 2016-08-10 | 广东能龙教育股份有限公司 | Non-contact information transmission method based on two-dimensional code |
CN106445768A (en) * | 2016-10-20 | 2017-02-22 | 深圳铂睿智恒科技有限公司 | Method and system for testing production of mobile terminal |
CN106650849A (en) * | 2016-12-23 | 2017-05-10 | 广州酷狗计算机科技有限公司 | Data transmission method, device and system |
CN108173963A (en) * | 2018-01-19 | 2018-06-15 | 大唐终端技术有限公司 | A kind of method of the Quick Response Code transmission file of efficient schedulable |
CN110650111A (en) * | 2018-06-27 | 2020-01-03 | 上海赢亥信息科技有限公司 | Digital asset transmission method, system, terminal and storage medium |
CN109150393A (en) * | 2018-06-29 | 2019-01-04 | 广东省信息工程有限公司 | Two-dimensional barcode information transfer approach, terminal device and computer readable storage medium |
CN108805242A (en) * | 2018-08-31 | 2018-11-13 | 刘彦君 | A kind of data transmission set and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105389534A (en) | Two-dimensional-code-based information transmission method and system of mobile terminal | |
KR101662716B1 (en) | Apparatus and method for searching access point in portable terminal | |
KR100834816B1 (en) | Apparatus and method for data transmission using bluetooth signal strength in portable communication system | |
WO2015126224A1 (en) | Method of providing preview image regarding display setting for device | |
CN108052474B (en) | Data format conversion method, device, equipment and computer readable storage medium | |
CN104066009B (en) | program identification method, device, terminal, server and system | |
CN105354118B (en) | Automatic test approach, the apparatus and system of intelligent terminal | |
US20130023231A1 (en) | Sim card expander, communication system, and method for using sim cards | |
US8881973B2 (en) | Connection setting method using barcode pattern, connection setting system and user equipment thereof | |
CN102123255A (en) | System and method for taking television screen as display screen of mobile terminal | |
US20110242267A1 (en) | Apparatus and method for remote control between mobile communication terminals | |
US20110139874A1 (en) | Apparatus for performing multimedia-based data transmission and associated method | |
CN107925683B (en) | Communication device, communication method, and non-transitory computer-readable storage medium | |
WO2015126051A1 (en) | Method and apparatus for synchronizing media data | |
US9723302B2 (en) | Measurement system and measurement method for measuring video processing quality | |
CN204791080U (en) | Terminal and system of patrolling and examining patrol and examine | |
CN111710316A (en) | Image data transmission method, image display method, chip and wearable device | |
US10143033B2 (en) | Communications apparatus, control method, and storage medium | |
CN106713739A (en) | Two-dimensional code identification method based on electronic screen display | |
DK2715484T3 (en) | Method of data communication via touch surface | |
CN101384057A (en) | Diagnosis method, apparatus and system for mobile terminal software | |
CN209982732U (en) | Earphone test system | |
CN115695928B (en) | Screen projection method and device, electronic equipment and storage medium | |
CN111615137A (en) | Wireless network state detection method and related equipment thereof | |
CN114189643B (en) | Signal transmission method, device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160309 |