CN108509818A - Quick Response Code barcode scanning method, apparatus and computer readable storage medium - Google Patents

Quick Response Code barcode scanning method, apparatus and computer readable storage medium Download PDF

Info

Publication number
CN108509818A
CN108509818A CN201810249787.3A CN201810249787A CN108509818A CN 108509818 A CN108509818 A CN 108509818A CN 201810249787 A CN201810249787 A CN 201810249787A CN 108509818 A CN108509818 A CN 108509818A
Authority
CN
China
Prior art keywords
quick response
response code
barcode scanning
wireless communication
range wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810249787.3A
Other languages
Chinese (zh)
Other versions
CN108509818B (en
Inventor
王林祥
赵皎平
李楠
王银波
刘渊博
刘林会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Irain IoT Technology Service Co Ltd
Original Assignee
Xian Irain IoT Technology Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Irain IoT Technology Service Co Ltd filed Critical Xian Irain IoT Technology Service Co Ltd
Priority to CN201810249787.3A priority Critical patent/CN108509818B/en
Priority to CN202110151391.7A priority patent/CN112800802B/en
Publication of CN108509818A publication Critical patent/CN108509818A/en
Application granted granted Critical
Publication of CN108509818B publication Critical patent/CN108509818B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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/10544Methods 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/10821Methods 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

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of Quick Response Code barcode scanning method, the Quick Response Code barcode scanning method includes:When receiving barcode scanning instruction, current two-dimension object is scanned, and monitor corresponding close range wireless communication signal;Wherein, Quick Response Code setting is associated with the close range wireless communication device of corresponding transmitting close range wireless communication signal;When monitoring the close range wireless communication signal, reads the current two-dimension object and correspond to the 2 D code information for including;Corresponding operation is executed according to the 2 D code information.The invention also discloses a kind of Quick Response Code barcode scanning device and computer readable storage mediums.The present invention realizes the Normalization rule of Quick Response Code.

Description

Quick Response Code barcode scanning method, apparatus and computer readable storage medium
Technical field
The present invention relates to planar bar code technology field more particularly to a kind of Quick Response Code barcode scanning method, apparatus and computer-readable Storage medium.
Background technology
As time goes on, Quick Response Code is applied to the every aspect in user's daily life, for example, tube advertising, report In paper, train ticket, plane ticket, fast food restaurant, cinema, group buying websites and all kinds of commodity outer packings, user is by scanning two dimension The executable corresponding payment of code accesses the operations such as link, brings great convenience for user's life.However, since Quick Response Code is logical Cross static images can in the social platforms such as QQ, wechat, microblogging fast propagation so that it is easy to appear the feelings abused for Quick Response Code Condition, such as discount coupon are stolen or the case where be used for multiple times.Therefore, at present there is use lack of standardization in Quick Response Code.
Invention content
It is a primary object of the present invention to propose a kind of Quick Response Code barcode scanning method, apparatus and computer readable storage medium, Aim to solve the problem that Quick Response Code there is technical issues that lack of standardization in the prior art.
To achieve the above object, the present invention provides a kind of Quick Response Code barcode scanning method, the Quick Response Code barcode scanning method include with Lower step:
When receiving barcode scanning instruction, current two-dimension object is scanned, and it is logical to monitor corresponding near radio Interrogate signal;Wherein, Quick Response Code setting is associated with the close range wireless communication device of corresponding transmitting close range wireless communication signal;
When monitoring the close range wireless communication signal, reads the current two-dimension object and correspond to the two dimension for including Code information;
Corresponding operation is executed according to the 2 D code information.
Preferably, the close range wireless communication device is embedded in Quick Response Code.
Preferably, the close range wireless communication device is deployed in the preset range region where Quick Response Code.
Preferably, the close range wireless communication device include sonic generator, bluetooth module, NFC near-field communication modules, Protenchyma networking modules at least one of of the NB-IOT based on cellular network.
Preferably, described to monitor the near radio when the close range wireless communication device is NFC module When communication signal, reading the step of current two-dimension object corresponds to the 2 D code information for including includes:
When monitoring the NFC signals of the NFC module transmitting, reads the current two-dimension object and correspond to include two Tie up code information.
Preferably, described when receiving barcode scanning instruction when the close range wireless communication device is bluetooth module, it is right Current two-dimension object is scanned, and the step of monitoring corresponding close range wireless communication signal includes:
When receiving barcode scanning instruction, current two-dimension object is scanned, and carry out bluetooth discovery;
It is described when monitoring the close range wireless communication signal, reading current two-dimension object correspondence includes The step of 2 D code information includes:
When searching the bluetooth module, reads the current two-dimension object and correspond to the 2 D code information for including.
Preferably, before the step of progress bluetooth discovery, further include:
Whether the Bluetooth function of detection mobile terminal is opened;
If the Bluetooth function of the mobile terminal is not opened, sends out corresponding Bluetooth function and open prompt message, for User opens the Bluetooth function of the mobile terminal;
The mobile terminal Bluetooth function open when, execute the progress bluetooth discovery the step of.
Preferably, described that current two-dimension object is scanned when receiving barcode scanning instruction, and monitor corresponding close After the step of apart from wireless communication signal, further include:
When not monitoring the close range wireless communication signal, corresponding Quick Response Code recognition failures prompt message is sent out.
In addition, to achieve the above object, the present invention also proposes a kind of Quick Response Code barcode scanning device, the Quick Response Code barcode scanning device Including:Memory, processor and the Quick Response Code barcode scanning program that is stored on the memory and can run on the processor, The Quick Response Code barcode scanning program is arranged for carrying out the step of Quick Response Code barcode scanning method as described above.
In addition, to achieve the above object, the present invention also proposes a kind of computer readable storage medium, described computer-readable It is stored with Quick Response Code barcode scanning program on storage medium, is realized when the Quick Response Code barcode scanning program is executed by processor as described above Quick Response Code barcode scanning method the step of.
Scheme proposed by the present invention is scanned current two-dimension object, and monitor phase when receiving barcode scanning instruction The close range wireless communication signal with Quick Response Code associated close range wireless communication device transmitting answered, only when monitoring low coverage When from wireless communication signal, namely it is Quick Response Code only to work as the current two-dimension object of scanning, rather than Quick Response Code is corresponding When plane picture, corresponding 2 D code information is just read, corresponding operation is executed according to the 2 D code information of reading.In this way, just It avoids only by scanning the two-dimensional code corresponding plane picture, it will be able to corresponding operating is executed, it is thereby achieved that Quick Response Code Normalization rule.
Description of the drawings
Fig. 1 is the mobile terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of Quick Response Code barcode scanning method first embodiment of the present invention;
Fig. 3 is the flow diagram of Quick Response Code barcode scanning method second embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly:When receiving barcode scanning instruction, current two-dimension object is carried out Scanning, and the close range wireless communication signal with the associated close range wireless communication device transmitting of Quick Response Code accordingly is monitored, only Have when monitoring close range wireless communication signal, namely it is Quick Response Code only to work as the current two-dimension object of scanning, without When being the corresponding plane picture of Quick Response Code, corresponding 2 D code information is just read, is executed according to the 2 D code information of reading corresponding Operation.In this way, avoiding only by scanning the two-dimensional code corresponding plane picture, it will be able to execute corresponding operating.Pass through The technical solution of the embodiment of the present invention, solving the problems, such as Quick Response Code, there are uses lack of standardization.
Referring to Fig.1, Fig. 1 is the mobile terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the mobile terminal may include:Processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 may include optionally that the wired of standard connects Mouth, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory, can also be stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 1 does not constitute the limit to mobile terminal It is fixed, may include either combining certain components or different components arrangement than illustrating more or fewer components.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage media Believe module, Subscriber Interface Module SIM and Quick Response Code barcode scanning program.
Processor 1001, memory 1005 in mobile terminal of the present invention can be arranged in Quick Response Code barcode scanning device, institute It states Quick Response Code barcode scanning device and the Quick Response Code barcode scanning program stored in memory 1005 is called by processor 1001, and execute following Operation:
When receiving barcode scanning instruction, current two-dimension object is scanned, and it is logical to monitor corresponding near radio Interrogate signal;Wherein, Quick Response Code setting is associated with the close range wireless communication device of corresponding transmitting close range wireless communication signal;
When monitoring the close range wireless communication signal, reads the current two-dimension object and correspond to the two dimension for including Code information;
Corresponding operation is executed according to the 2 D code information.
Further, when the close range wireless communication device is NFC module, processor 1001 can call memory The Quick Response Code barcode scanning program stored in 1005 also executes following operation:
When monitoring the NFC signals of the NFC module transmitting, reads the current two-dimension object and correspond to include two Tie up code information.
Further, when the close range wireless communication device is bluetooth module, processor 1001 can call storage The Quick Response Code barcode scanning program stored in device 1005 also executes following operation:
When receiving barcode scanning instruction, current two-dimension object is scanned, and carry out bluetooth discovery;
When searching the bluetooth module, reads the current two-dimension object and correspond to the 2 D code information for including.
Further, processor 1001 can call the Quick Response Code barcode scanning program stored in memory 1005, also execute with Lower operation:
Whether the Bluetooth function of detection mobile terminal is opened;
If the Bluetooth function of the mobile terminal is not opened, sends out corresponding Bluetooth function and open prompt message, for User opens the Bluetooth function of the mobile terminal;
The mobile terminal Bluetooth function open when, execute the progress bluetooth discovery the step of.
Further, processor 1001 can call the Quick Response Code barcode scanning program stored in memory 1005, also execute with Lower operation:
When not monitoring the close range wireless communication signal, corresponding Quick Response Code recognition failures prompt message is sent out.
The present embodiment through the above scheme, when receiving barcode scanning instruction, is scanned current two-dimension object, and supervise The close range wireless communication signal accordingly with Quick Response Code associated close range wireless communication device transmitting is surveyed, only when monitoring When close range wireless communication signal, namely it is Quick Response Code only to work as the current two-dimension object of scanning, rather than Quick Response Code pair When the plane picture answered, corresponding 2 D code information is just read, corresponding operation is executed according to the 2 D code information of reading.This Sample is avoided only by scanning the two-dimensional code corresponding plane picture, it will be able to corresponding operating is executed, it is thereby achieved that two Tie up the Normalization rule of code.
Based on above-mentioned hardware configuration, Quick Response Code barcode scanning embodiment of the method for the present invention is proposed.
It is the flow diagram of Quick Response Code barcode scanning method first embodiment of the present invention with reference to Fig. 2, Fig. 2.
In the first embodiment, the Quick Response Code barcode scanning method includes the following steps:
Step S10 is scanned current two-dimension object, and monitor corresponding low coverage when receiving barcode scanning instruction From wireless communication signal;Wherein, Quick Response Code setting is associated with the near radio of corresponding transmitting close range wireless communication signal Communication device;
Step S20 reads the current two-dimension object and corresponds to packet when monitoring the close range wireless communication signal The 2 D code information contained;
Step S30 executes corresponding operation according to the 2 D code information.
As time goes on, Quick Response Code is applied to the every aspect in user's daily life, for example, tube advertising, report In paper, train ticket, plane ticket, fast food restaurant, cinema, group buying websites and all kinds of commodity outer packings, user is by scanning two dimension The executable corresponding payment of code accesses the operations such as link, brings great convenience for user's life.However, since Quick Response Code is logical Cross static images can in the social platforms such as QQ, wechat, microblogging fast propagation so that it is easy to appear the feelings abused for Quick Response Code Condition, such as discount coupon are stolen or the case where be used for multiple times.Therefore, at present there is use lack of standardization in Quick Response Code.
In the present embodiment, abusing in order to avoid Quick Response Code realizes Quick Response Code Normalization rule, and Quick Response Code is arranged and is associated with Corresponding close range wireless communication device.Optionally, corresponding close range wireless communication device is embedded in Quick Response Code;Or Person disposes corresponding close range wireless communication device around Quick Response Code, as in the preset range region that Quick Response Code is located at Dispose corresponding close range wireless communication device.Wherein, close range wireless communication device includes but not limited to sonic generator, indigo plant Tooth module, NFC (Near Field Communication, near-field communication) module, NB-IOT (Narrow Band Internet Of Things, the narrowband Internet of Things based on cellular network) module etc..Close range wireless communication device is corresponding close for emitting Apart from wireless communication signal, such as acoustic signals, Bluetooth signal, NFC signals, NB-IOT signals.
When corresponding Quick Response Code object will be identified in user, user is using smart mobile phone, PAD (tablet computer) etc. Mobile terminal carries out barcode scanning operation to the current two-dimension object, triggers corresponding barcode scanning instruction.Wherein, the current two-dimension pair As may be the Quick Response Code for being associated with corresponding close range wireless communication device, it is also possible to the only corresponding plan view of Quick Response Code Piece.When mobile terminal receive the barcode scanning instruction when, current two-dimension object is scanned, namely may be to Quick Response Code into Row scanning, it is also possible to which the corresponding plane picture of Quick Response Code is scanned.
Also, the mobile terminals such as smart mobile phone, PAD are correspondingly arranged on the member of corresponding induction close range wireless communication signal Component, for example, mobile terminal is correspondingly arranged on corresponding acoustic receiver, bluetooth module, NFC module, NB-IOT modules etc.. When receiving barcode scanning instruction, mobile terminal monitors corresponding close range wireless communication signal simultaneously.For example, it is assumed that Quick Response Code closes Connection setting NFC module, then when receiving barcode scanning instruction, mobile terminal monitors corresponding NFC signals.For another example, it is assumed that Quick Response Code Association setting sonic generator, then when receiving barcode scanning instruction, mobile terminal monitors corresponding acoustic signals.
If the current two-dimension object of mobile scanning terminal is Quick Response Code, since Quick Response Code is associated with corresponding short distance nothing Line communication device, mobile terminal can monitor the corresponding close range wireless communication signal of close range wireless communication device transmitting. If the current two-dimension object of mobile scanning terminal is the corresponding plane picture of Quick Response Code, mobile terminal will not monitor accordingly Close range wireless communication signal.
When mobile terminal does not monitor corresponding close range wireless communication signal, namely illustrate working as mobile scanning terminal Preceding Quick Response Code object is probably the corresponding plane picture of Quick Response Code, and source may be not reliable.At this point, mobile terminal is not Quick Response Code read operation, the failure of Quick Response Code barcode scanning are carried out, user can not execute corresponding payment, access the operations such as link, to Avoid abusing for Quick Response Code.
When mobile terminal monitors corresponding close range wireless communication signal, namely illustrate the current of mobile scanning terminal Quick Response Code object is Quick Response Code, rather than the corresponding plane picture of a Quick Response Code, at this point, mobile terminal, which is read, works as the first two Dimension code object corresponds to the 2 D code information for including, the success of Quick Response Code barcode scanning.Mobile terminal is held according to the 2 D code information obtained The corresponding payment of row accesses the various operations such as link.
For example, it is NFC module that if associated close range wireless communication device, which is arranged, in Quick Response Code, the step S20 includes:
Step a reads the current two-dimension object and corresponds to when monitoring the NFC signals of the NFC module transmitting Including 2 D code information.
Assuming that it is NFC module that associated close range wireless communication device, which is arranged, in Quick Response Code, then working as when mobile scanning terminal When preceding Quick Response Code object is the Quick Response Code, the NFC signals of NFC module transmitting can be monitored.When mobile terminal monitors NFC module When the NFC signals of transmitting, the current two-dimension object for reading scanning corresponds to the 2 D code information for including, namely reads the Quick Response Code The 2 D code information that correspondence includes, the success of Quick Response Code barcode scanning.
For another example, if it is bluetooth module that associated close range wireless communication device, which is arranged, in Quick Response Code, the step S10 includes:
Step b is scanned current two-dimension object, and carry out bluetooth discovery when receiving barcode scanning instruction;
The step S20 includes:
Step c reads the current two-dimension object and corresponds to the Quick Response Code letter for including when searching the bluetooth module Breath.
Assuming that it is bluetooth module that associated close range wireless communication device, which is arranged, in Quick Response Code, when mobile terminal receives scanning When instruction, current two-dimension object is scanned, and carry out bluetooth discovery.If the current two-dimension object of mobile scanning terminal is two dimension Code, then can search corresponding bluetooth module.When mobile terminal to search is to corresponding bluetooth module, that reads scanning works as the first two Dimension code object corresponds to the 2 D code information for including, namely reads the Quick Response Code and correspond to the 2 D code information for including, Quick Response Code barcode scanning Success.
Optionally, the step b includes:
Step b1 is scanned current two-dimension object, and detect the indigo plant of mobile terminal when receiving barcode scanning instruction Whether tooth function opens;
Step b2 sends out corresponding Bluetooth function and opens prompt letter if the Bluetooth function of the mobile terminal is not opened Breath, so that user opens the Bluetooth function of the mobile terminal;
Step b3 carries out bluetooth discovery when the Bluetooth function of the mobile terminal is opened.
Since under normal circumstances, the Bluetooth function of mobile terminal will not be always on.Therefore, it is arranged in Quick Response Code associated Close range wireless communication device is bluetooth module, and when receiving barcode scanning instruction, mobile terminal carries out current two-dimension object Scanning, and whether the Bluetooth function for detecting mobile terminal is opened.If the Bluetooth function of mobile terminal has turned on, mobile terminal is straight Tap into row bluetooth discovery.Conversely, if the Bluetooth function of mobile terminal is not opened, mobile terminal sends out corresponding Bluetooth function and opens Prompt message is opened, user opens the Bluetooth function of mobile terminal when checking and accepting Bluetooth function unlatching prompt message.In movement After the Bluetooth function of terminal is opened, mobile terminal carries out bluetooth discovery.When mobile terminal to search is to corresponding bluetooth module, read It takes the current two-dimension object of scanning to correspond to the 2 D code information for including, namely reads Quick Response Code and correspond to the Quick Response Code letter for including Breath, the success of Quick Response Code barcode scanning.
Below by taking the vehicle collection reservation of stereo garage as an example, Quick Response Code barcode scanning method of the present invention is illustrated.
In this example, corresponding vehicle collection reservation Quick Response Code, vehicle collection reservation two dimension is arranged in the corresponding position of stereo garage Code setting is associated with corresponding close range wireless communication device.When user needs vehicle collection reservation, it is necessary to reach stereoscopic vehicle reservoir area Domain is scanned vehicle collection reservation Quick Response Code, when monitoring the associated close range wireless communication device transmitting of vehicle collection reservation Quick Response Code Close range wireless communication signal when, the barcode scanning that could succeed vehicle collection reservation Quick Response Code obtains corresponding vehicle collection reservation information, in turn Corresponding vehicle collection reservation instruction is sent to pick up the car.If user takes pictures to vehicle collection reservation Quick Response Code before, obtain pre- The about corresponding plane picture of pick-up Quick Response Code is corresponding to the vehicle collection reservation Quick Response Code flat when also not reaching stereo garage later Face picture is scanned, at this point, mobile terminal can not monitor the associated close range wireless communication dress of vehicle collection reservation Quick Response Code The close range wireless communication signal of transmitting is set, the failure of vehicle collection reservation Quick Response Code barcode scanning can not obtain vehicle collection reservation information, therefore The instruction of corresponding vehicle collection reservation can not be sent to pick up the car, to prevent pick up the car after since user does not cause to stereo garage also The generation of subsequent vehicle jam situation so that pick-up order is protected.
Scheme provided in this embodiment is scanned current two-dimension object, and monitor when receiving barcode scanning instruction It is only close when monitoring accordingly with the close range wireless communication signal of the associated close range wireless communication device transmitting of Quick Response Code When apart from wireless communication signal, namely it is Quick Response Code only to work as the current two-dimension object of scanning, rather than Quick Response Code corresponds to Plane picture when, just read corresponding 2 D code information, corresponding operation executed according to the 2 D code information of reading.In this way, It avoids only by scanning the two-dimensional code corresponding plane picture, it will be able to corresponding operating is executed, it is thereby achieved that Quick Response Code Normalization rule.
Further, as shown in figure 3, proposing Quick Response Code barcode scanning method second embodiment of the present invention based on first embodiment, In the present embodiment, after the step S10, further include:
Step S40 sends out corresponding Quick Response Code recognition failures and carries when not monitoring the close range wireless communication signal Show information.
In the present embodiment, when mobile terminal is scanned current two-dimension object, and corresponding short distance nothing is monitored Line communication signal if not monitoring corresponding close range wireless communication signal, namely illustrates the current two dimension of mobile scanning terminal Code object is probably the corresponding plane picture of Quick Response Code, at this point, mobile terminal sends out corresponding Quick Response Code recognition failures Prompt message.For example, showing the text prompt message such as " Quick Response Code recognition failures " in mobile terminal current display interface.Again Such as, the information of voice prompt such as " Quick Response Code recognition failures " is played by loud speaker.In the present embodiment, to Quick Response Code recognition failures The concrete form of prompt message is not limited.By sending out Quick Response Code recognition failures prompt message, so that user knows two in time Code recognition failures are tieed up, to improve user experience.
Further, in order to improve the accuracy of monitoring, when mobile terminal does not monitor corresponding close range wireless communication When signal, mobile terminal continues to be monitored close range wireless communication signal, until not monitoring always whithin a period of time Close range wireless communication signal, at this point, sending out corresponding Quick Response Code recognition failures prompt message again.For example, pre-setting corresponding Monitoring duration do not monitor corresponding close range wireless communication when mobile terminal is scanned current two-dimension object When signal, mobile terminal continues to be monitored close range wireless communication signal according to preset monitoring duration, until in the prison It surveys in duration and does not monitor close range wireless communication signal always, at this point, sending out corresponding Quick Response Code recognition failures prompt message.
Scheme provided in this embodiment is sent out when mobile terminal does not monitor corresponding close range wireless communication signal Corresponding Quick Response Code recognition failures prompt message, so that user knows Quick Response Code identification identification in time, to further improve User experience.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with Quick Response Code barcode scanning program, following operation is realized when the Quick Response Code barcode scanning program is executed by processor:
When receiving barcode scanning instruction, current two-dimension object is scanned, and it is logical to monitor corresponding near radio Interrogate signal;Wherein, Quick Response Code setting is associated with the close range wireless communication device of corresponding transmitting close range wireless communication signal;
When monitoring the close range wireless communication signal, reads the current two-dimension object and correspond to the two dimension for including Code information;
Corresponding operation is executed according to the 2 D code information.
Further, when the close range wireless communication device is NFC module, the Quick Response Code barcode scanning program is handled Following operation is also realized when device executes:
When monitoring the NFC signals of the NFC module transmitting, reads the current two-dimension object and correspond to include two Tie up code information.
Further, when the close range wireless communication device is bluetooth module, the Quick Response Code barcode scanning program is located It manages and also realizes following operation when device executes:
When receiving barcode scanning instruction, current two-dimension object is scanned, and carry out bluetooth discovery;
When searching the bluetooth module, reads the current two-dimension object and correspond to the 2 D code information for including.
Further, following operation is also realized when the Quick Response Code barcode scanning program is executed by processor:
Whether the Bluetooth function of detection mobile terminal is opened;
If the Bluetooth function of the mobile terminal is not opened, sends out corresponding Bluetooth function and open prompt message, for User opens the Bluetooth function of the mobile terminal;
The mobile terminal Bluetooth function open when, execute the progress bluetooth discovery the step of.
Further, following operation is also realized when the Quick Response Code barcode scanning program is executed by processor:
When not monitoring the close range wireless communication signal, corresponding Quick Response Code recognition failures prompt message is sent out.
The present embodiment through the above scheme, when receiving barcode scanning instruction, is scanned current two-dimension object, and supervise The close range wireless communication signal accordingly with Quick Response Code associated close range wireless communication device transmitting is surveyed, only when monitoring When close range wireless communication signal, namely it is Quick Response Code only to work as the current two-dimension object of scanning, rather than Quick Response Code pair When the plane picture answered, corresponding 2 D code information is just read, corresponding operation is executed according to the 2 D code information of reading.This Sample is avoided only by scanning the two-dimensional code corresponding plane picture, it will be able to corresponding operating is executed, it is thereby achieved that two Tie up the Normalization rule of code.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of Quick Response Code barcode scanning method is applied to mobile terminal, which is characterized in that the Quick Response Code barcode scanning method includes following Step:
When receiving barcode scanning instruction, current two-dimension object is scanned, and monitors corresponding close range wireless communication letter Number;Wherein, Quick Response Code setting is associated with the close range wireless communication device of corresponding transmitting close range wireless communication signal;
When monitoring the close range wireless communication signal, reads the current two-dimension object and correspond to the Quick Response Code letter for including Breath;
Corresponding operation is executed according to the 2 D code information.
2. Quick Response Code barcode scanning method as described in claim 1, which is characterized in that the close range wireless communication device is embedded in In Quick Response Code.
3. Quick Response Code barcode scanning method as described in claim 1, which is characterized in that the close range wireless communication device is deployed in In preset range region where Quick Response Code.
4. Quick Response Code barcode scanning method as described in claim 1, which is characterized in that the close range wireless communication device includes sound In the protenchyma networking module of wave producer, bluetooth module, NFC near-field communication modules, NB-IOT based on cellular network at least It is a kind of.
5. Quick Response Code barcode scanning method as claimed in claim 4, which is characterized in that be in the close range wireless communication device Described when monitoring the close range wireless communication signal when NFC module, reading the current two-dimension object correspondence includes 2 D code information the step of include:
When monitoring the NFC signals of the NFC module transmitting, reads the current two-dimension object and correspond to the Quick Response Code for including Information.
6. Quick Response Code barcode scanning method as claimed in claim 4, which is characterized in that the close range wireless communication device be indigo plant It is described when receiving barcode scanning instruction when tooth module, current two-dimension object is scanned, and monitor corresponding short distance nothing The step of line communication signal includes:
When receiving barcode scanning instruction, current two-dimension object is scanned, and carry out bluetooth discovery;
It is described when monitoring the close range wireless communication signal, read the current two-dimension object and correspond to the two dimension for including Code information the step of include:
When searching the bluetooth module, reads the current two-dimension object and correspond to the 2 D code information for including.
7. Quick Response Code barcode scanning method as claimed in claim 6, which is characterized in that before the step of the progress bluetooth discovery, Further include:
Whether the Bluetooth function of detection mobile terminal is opened;
If the Bluetooth function of the mobile terminal is not opened, sends out corresponding Bluetooth function and open prompt message, for user Open the Bluetooth function of the mobile terminal;
The mobile terminal Bluetooth function open when, execute the progress bluetooth discovery the step of.
8. Quick Response Code barcode scanning method as described in any one of claim 1 to 7, which is characterized in that described to refer to receiving barcode scanning When enabling, current two-dimension object is scanned, and after the step of monitoring corresponding close range wireless communication signal, is also wrapped It includes:
When not monitoring the close range wireless communication signal, corresponding Quick Response Code recognition failures prompt message is sent out.
9. a kind of Quick Response Code barcode scanning device, which is characterized in that the Quick Response Code barcode scanning device includes:It memory, processor and deposits Store up the Quick Response Code barcode scanning program that can be run on the memory and on the processor, the Quick Response Code barcode scanning program configuration To realize such as the step of Quick Response Code barcode scanning method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with Quick Response Code on the computer readable storage medium Barcode scanning program realizes such as two dimension described in any item of the claim 1 to 8 when the Quick Response Code barcode scanning program is executed by processor The step of code barcode scanning method.
CN201810249787.3A 2018-03-23 2018-03-23 Two-dimensional code scanning method and device and computer readable storage medium Active CN108509818B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810249787.3A CN108509818B (en) 2018-03-23 2018-03-23 Two-dimensional code scanning method and device and computer readable storage medium
CN202110151391.7A CN112800802B (en) 2018-03-23 2018-03-23 Reserved vehicle taking method and device for stereo garage and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810249787.3A CN108509818B (en) 2018-03-23 2018-03-23 Two-dimensional code scanning method and device and computer readable storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110151391.7A Division CN112800802B (en) 2018-03-23 2018-03-23 Reserved vehicle taking method and device for stereo garage and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108509818A true CN108509818A (en) 2018-09-07
CN108509818B CN108509818B (en) 2021-09-21

Family

ID=63378374

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110151391.7A Active CN112800802B (en) 2018-03-23 2018-03-23 Reserved vehicle taking method and device for stereo garage and computer readable storage medium
CN201810249787.3A Active CN108509818B (en) 2018-03-23 2018-03-23 Two-dimensional code scanning method and device and computer readable storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110151391.7A Active CN112800802B (en) 2018-03-23 2018-03-23 Reserved vehicle taking method and device for stereo garage and computer readable storage medium

Country Status (1)

Country Link
CN (2) CN112800802B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109962979A (en) * 2019-03-15 2019-07-02 深圳市沃特沃德股份有限公司 Method, apparatus, storage medium and the computer equipment of two-dimensional code scanning
CN110533826A (en) * 2019-09-02 2019-12-03 阿里巴巴集团控股有限公司 A kind of information identifying method and system
CN111464604A (en) * 2020-03-27 2020-07-28 杭州雄芯物联科技有限公司 Device and method for realizing offline social contact

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100141829A1 (en) * 2008-11-18 2010-06-10 The Regents Of The University Of California Apparatus and method for optically amplified imaging
CN104270460A (en) * 2014-10-20 2015-01-07 深圳市智凌无线科技有限公司 Method and system for downloading control software of wireless terminal
CN104954974A (en) * 2015-06-23 2015-09-30 惠州Tcl移动通信有限公司 Bluetooth pairing method and system for connection between mobile terminal and intelligent equipment
CN205068795U (en) * 2015-10-27 2016-03-02 神猫科技(北京)有限公司 Parking management device and system
CN206563977U (en) * 2017-01-12 2017-10-17 浙江元欣信息科技有限公司 Based on RFID with the false proof label of tracing to the source of the harmful influence that Quick Response Code is combined
CN107451633A (en) * 2017-08-10 2017-12-08 深圳市鹏力凯科技有限公司 A kind of shared card reader device and its application process

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201309869D0 (en) * 2013-06-03 2013-07-17 Ocado Ltd Head-mounted code scanner
CN105653963B (en) * 2014-11-20 2020-06-19 阿里巴巴集团控股有限公司 Information display method and device
CN106023332B (en) * 2016-06-13 2018-10-16 常熟理工学院 Based on Quick Response Code, location technology and the attendance checking system of recognition of face and method
CN106845311A (en) * 2016-11-09 2017-06-13 北京鼎九信息工程研究院有限公司 A kind of reading method and device of figure Quick Response Code
CN107423785B (en) * 2017-07-17 2020-09-08 深圳市敢为软件技术有限公司 Work task confirmation method, system, device and storage medium based on two-dimension code

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100141829A1 (en) * 2008-11-18 2010-06-10 The Regents Of The University Of California Apparatus and method for optically amplified imaging
CN104270460A (en) * 2014-10-20 2015-01-07 深圳市智凌无线科技有限公司 Method and system for downloading control software of wireless terminal
CN104954974A (en) * 2015-06-23 2015-09-30 惠州Tcl移动通信有限公司 Bluetooth pairing method and system for connection between mobile terminal and intelligent equipment
CN205068795U (en) * 2015-10-27 2016-03-02 神猫科技(北京)有限公司 Parking management device and system
CN206563977U (en) * 2017-01-12 2017-10-17 浙江元欣信息科技有限公司 Based on RFID with the false proof label of tracing to the source of the harmful influence that Quick Response Code is combined
CN107451633A (en) * 2017-08-10 2017-12-08 深圳市鹏力凯科技有限公司 A kind of shared card reader device and its application process

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109962979A (en) * 2019-03-15 2019-07-02 深圳市沃特沃德股份有限公司 Method, apparatus, storage medium and the computer equipment of two-dimensional code scanning
CN109962979B (en) * 2019-03-15 2021-11-09 深圳市沃特沃德信息有限公司 Two-dimensional code scanning method and device, storage medium and computer equipment
CN110533826A (en) * 2019-09-02 2019-12-03 阿里巴巴集团控股有限公司 A kind of information identifying method and system
CN110533826B (en) * 2019-09-02 2021-04-20 创新先进技术有限公司 Information identification method and system
CN111464604A (en) * 2020-03-27 2020-07-28 杭州雄芯物联科技有限公司 Device and method for realizing offline social contact

Also Published As

Publication number Publication date
CN112800802B (en) 2022-12-06
CN108509818B (en) 2021-09-21
CN112800802A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN104796385B (en) Terminal binding method, apparatus and system
US10762542B2 (en) Item transfer apparatus, system and method
CN106528432A (en) Construction method and apparatus for test scene data, and buried point test method
CN106557402B (en) Mobile terminal and exception information processing method
CN105872070A (en) System, method and device for supporting cash currency exchange
CN106101756A (en) Barrage display packing, barrage adding method, Apparatus and system
CN104392502A (en) Two-dimensional code attendance checking system based on intelligent cell phone and application method of two-dimensional code attendance checking system based on intelligent cell phone
CN104717296A (en) Social contact interactive method, device, terminal and system
CN104901991B (en) Virtual resource transfer method, device and system
US10853845B2 (en) Securely managing transactional history for targeted content
CN108509818A (en) Quick Response Code barcode scanning method, apparatus and computer readable storage medium
US11356847B2 (en) Information processing device, server device, and information processing system for activation of an application
CN104616143B (en) Virtual tickets transfer method and device in social networking application
CN106529956A (en) Terminal and verification method of terminal payment
WO2019178817A1 (en) Product sales volume extraction and reporting method, payment method, and terminal apparatus
CN104917796A (en) Credit account creating method, system and method
US20190327246A1 (en) Information Security Verification Method and Terminal
CN108305065A (en) Data processing method, terminal device and data processing system
CN106255102A (en) The authentication method of a kind of terminal unit and relevant device
CN106776270A (en) A kind of code detection method, device and terminal
CN104899488B (en) Numeric value transfer and device
CN106503986B (en) Virtual resource transfer method and device
KR102636409B1 (en) Electronic apparatus and the control method thereof
KR102641355B1 (en) System for accumulating point using virtual account that enables point accumulation without app login, method thereof and computer readable medium having computer program recorded thereon
CN106534439A (en) Vibration detection method, apparatus and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant