CN108416246A - 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
CN108416246A
CN108416246A CN201810249786.9A CN201810249786A CN108416246A CN 108416246 A CN108416246 A CN 108416246A CN 201810249786 A CN201810249786 A CN 201810249786A CN 108416246 A CN108416246 A CN 108416246A
Authority
CN
China
Prior art keywords
information
code
quick response
response code
color
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
CN201810249786.9A
Other languages
Chinese (zh)
Other versions
CN108416246B (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 CN201810249786.9A priority Critical patent/CN108416246B/en
Publication of CN108416246A publication Critical patent/CN108416246A/en
Application granted granted Critical
Publication of CN108416246B publication Critical patent/CN108416246B/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/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/1439Methods for optical code recognition including a method step for retrieval of the optical code

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 color Quick Response Code object is scanned, wherein the different visual angles of color 2 D code are correspondingly arranged comprising different information;It obtains the current color Quick Response Code object and corresponds to the information for including;When the described information of acquisition is complete color 2 D code information, corresponding operation is executed according to the described information of acquisition;Wherein, when the current color Quick Response Code object is color 2 D code, the described information of acquisition is complete color 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 color Quick Response Code object is scanned, wherein the difference of color 2 D code Visual angle is correspondingly arranged comprising different information;
It obtains the current color Quick Response Code object and corresponds to the information for including;
When the described information of acquisition is complete color 2 D code information, executed according to the described information of acquisition corresponding Operation;Wherein, when the current color Quick Response Code object is color 2 D code, the described information of acquisition is complete colour two Tie up code information.
Preferably, described when receiving barcode scanning instruction, the step of being scanned to current color Quick Response Code object, includes:
When receiving the barcode scanning instruction, more mesh cameras is called to sweep the current color Quick Response Code object It retouches.
Preferably, after described the step of obtaining the information that the current color Quick Response Code object correspondence includes, further include:
The described information of acquisition is verified, identifies whether the described information of acquisition is complete color 2 D code letter Breath.
Preferably, the described information of described pair of acquisition is verified, and identifies whether the described information of acquisition is complete coloured silk The step of color 2 D code information includes:
According to the described information of acquisition and the corresponding information type of preset complete color 2 D code information, judge Whether the described information of acquisition is complete color 2 D code information.
Preferably, the described information and the corresponding letter of preset complete color 2 D code information according to acquisition Type is ceased, judges that the step of whether described information obtained is complete color 2 D code information includes:
By the corresponding information type of the complete color 2 D code information, info class corresponding with the described information of acquisition Type is compared;
If the corresponding information type of complete color 2 D code information info class corresponding with the described information of acquisition Type is consistent, then judges the described information obtained for complete color 2 D code information;
If the corresponding information type of complete color 2 D code information info class corresponding with the described information of acquisition Type is inconsistent, then judges the described information obtained not for complete color 2 D code information.
Preferably, in current color Quick Response Code object plane picture corresponding for color 2 D code, the institute of acquisition It is partial colour 2 D code information to state information.
Preferably, the described information of described pair of acquisition is verified, and identifies whether the described information of acquisition is complete coloured silk After the step of color 2 D code information, further include:
When the described information of acquisition is not complete color 2 D code information, sends out corresponding Quick Response Code recognition failures and carry Show information.
Preferably, include the corresponding geographical location information of color 2 D code, institute in the complete color 2 D code information It states when the described information of acquisition is not complete color 2 D code information, sends out corresponding Quick Response Code recognition failures prompt message The step of include:
When not including geographical location information in the described information of acquisition, corresponding Quick Response Code recognition failures prompt letter is sent out Breath.
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 color Quick Response Code object when receiving barcode scanning instruction, obtains The current color 2 D code object corresponds to the information for including, only when the information of acquisition is complete color 2 D code information, Namely it is color 2 D code only to work as the current color 2 D code object of scanning, rather than the corresponding plan view of color 2 D code When piece, corresponding operation is just executed according to the information of acquisition.In this way, avoiding only by scanning the two-dimensional code corresponding plane Picture, it will be able to corresponding operating is executed, it is thereby achieved that the Normalization rule of Quick Response Code.
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, to current color Quick Response Code object It is scanned, obtains the current color 2 D code object and correspond to the information for including, only when the information of acquisition is complete colored When 2 D code information, namely it is color 2 D code only to work as the current color 2 D code object of scanning, rather than color 2 D When the corresponding plane picture of code, corresponding operation is just executed according to the information of acquisition.In this way, avoiding only by scanning two Tie up the corresponding plane picture of code, it will be able to corresponding operating is executed, it is thereby achieved that the Normalization rule of Quick Response Code.Through the invention The technical solution of embodiment, 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 color Quick Response Code object is scanned, wherein the difference of color 2 D code Visual angle is correspondingly arranged comprising different information;
It obtains the current color Quick Response Code object and corresponds to the information for including;
When the described information of acquisition is complete color 2 D code information, executed according to the described information of acquisition corresponding Operation;Wherein, when the current color Quick Response Code object is color 2 D code, the described information of acquisition is complete colour two Tie up code information.
Further, processor 1001 can call the Quick Response Code barcode scanning program stored in memory 1005, also execute with Lower operation:
When receiving the barcode scanning instruction, more mesh cameras is called to sweep the current color Quick Response Code object It retouches.
Further, processor 1001 can call the Quick Response Code barcode scanning program stored in memory 1005, also execute with Lower operation:
The described information of acquisition is verified, identifies whether the described information of acquisition is complete color 2 D code letter Breath.
Further, processor 1001 can call the Quick Response Code barcode scanning program stored in memory 1005, also execute with Lower operation:
According to the described information of acquisition and the corresponding information type of preset complete color 2 D code information, judge Whether the described information of acquisition is complete color 2 D code information.
Further, processor 1001 can call the Quick Response Code barcode scanning program stored in memory 1005, also execute with Lower operation:
By the corresponding information type of the complete color 2 D code information, info class corresponding with the described information of acquisition Type is compared;
If the corresponding information type of complete color 2 D code information info class corresponding with the described information of acquisition Type is consistent, then judges the described information obtained for complete color 2 D code information;
If the corresponding information type of complete color 2 D code information info class corresponding with the described information of acquisition Type is inconsistent, then judges the described information obtained not for complete color 2 D code information.
Further, processor 1001 can call the Quick Response Code barcode scanning program stored in memory 1005, also execute with Lower operation:
When the described information of acquisition is not complete color 2 D code information, sends out corresponding Quick Response Code recognition failures and carry Show information.
Further, processor 1001 can call the Quick Response Code barcode scanning program stored in memory 1005, also execute with Lower operation:
When not including geographical location information in the described information of acquisition, corresponding Quick Response Code recognition failures prompt letter is sent out Breath.
The present embodiment through the above scheme, when receiving barcode scanning instruction, is scanned current color Quick Response Code object, It obtains the current color 2 D code object and corresponds to the information for including, only when the information of acquisition is complete color 2 D code information When, namely it is color 2 D code only to work as the current color 2 D code object of scanning, rather than color 2 D code is corresponding flat When the picture of face, corresponding operation is just executed according to the information of acquisition.In this way, avoiding corresponding only by scanning the two-dimensional code Plane picture, it will be able to corresponding operating is executed, it is thereby achieved that the Normalization rule of Quick Response 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 color Quick Response Code object, wherein color 2 D when receiving barcode scanning instruction The different visual angles of code are correspondingly arranged comprising different information;
Step S20 obtains the current color Quick Response Code object and corresponds to the information for including;
Step S30 is held when the described information of acquisition is complete color 2 D code information according to the described information of acquisition The corresponding operation of row;Wherein, when the current color Quick Response Code object is color 2 D code, the described information of acquisition is complete Color 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, Quick Response Code is designed as coloured silk Color Quick Response Code, from ordinary QR code the difference is that the different visual angles of color 2 D code are correspondingly arranged comprising different information, example Such as, authentication information, geographical location information, payment information, pick-up information etc..When user checks colour from different visual angles When Quick Response Code, the corresponding different image in 2 D code of the color 2 D code are watched.
When corresponding color 2 D code object will be identified in user, user is using smart mobile phone, PAD (tablet electricity Brain) etc. mobile terminals barcode scanning operation is carried out to the current color 2 D code object, trigger corresponding barcode scanning instruction.Wherein, deserve Preceding color 2 D code object may be a color 2 D code, it is also possible to the corresponding plane picture of color 2 D code.Work as movement When terminal receives barcode scanning instruction, current color Quick Response Code is scanned, namely may be to be swept to color 2 D code It retouches, it is also possible to which the corresponding plane picture of color 2 D code is scanned.
Optionally, the step S10 includes:
Step a, when receiving barcode scanning instruction, call more mesh cameras to the current color Quick Response Code object into Row scanning.
Optionally, in order to improve mobile terminal barcode scanning efficiency, mobile terminal is provided with more mesh cameras.When mobile terminal connects When receiving barcode scanning instruction, mobile terminal calls more mesh cameras to be scanned current color Quick Response Code object.
By being scanned to current color Quick Response Code object, obtains the current color 2 D code object and correspond to the letter for including Breath.Wherein, when the current color Quick Response Code object of scanning is color 2 D code, the corresponding complete coloured silk of color 2 D code is obtained Color 2 D code information;When the current color Quick Response Code object of scanning plane picture corresponding for color 2 D code, obtain colored The corresponding partial colour 2 D code information of Quick Response Code.
After obtaining the current color 2 D code object and corresponding to the information for including, if the information obtained is partial colour two Code information is tieed up, namely it is the corresponding plane picture of color 2 D code to illustrate the current color 2 D code object probably, Source may be not reliable, at this point, the color 2 D code information due to acquisition is imperfect, Quick Response Code barcode scanning failure, user can not hold The corresponding payment of row accesses the operations such as link, so as to avoid abusing for Quick Response Code.
If the information obtained is complete color 2 D code information, namely illustrates that the current color 2 D code object is colored Quick Response Code, rather than a sheet of planar picture, at this point, due to the color 2 D code information completely of acquisition, Quick Response Code barcode scanning at Work(, mobile terminal execute corresponding payment, access the various behaviour such as link according to the complete color 2 D code information obtained Make.
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, vehicle collection reservation color 2 D code is arranged in the corresponding position of stereo garage, is taken when user needs to preengage Che Shi, it is necessary to reach stereo garage region and vehicle collection reservation color 2 D code is scanned, could obtain corresponding complete Vehicle collection reservation information, and then send corresponding vehicle collection reservation instruction and pick up the car.If user is before to vehicle collection reservation colour Quick Response Code is taken pictures, and the corresponding plane picture of vehicle collection reservation color 2 D code is obtained, later when also not reaching stereo garage The corresponding plane picture of vehicle collection reservation color 2 D code is scanned, complete vehicle collection reservation letter can not be obtained at this time Breath, therefore the instruction of corresponding vehicle collection reservation can not be sent and picked up the car, to prevent pick up the car after since user does not arrive solid also Cause the generation of subsequent vehicle jam situation in garage so that pick-up order is protected.
Scheme provided in this embodiment is scanned current color Quick Response Code object, obtains when receiving barcode scanning instruction The current color 2 D code object is taken to correspond to the information for including, only when the information of acquisition is complete color 2 D code information When, namely it is color 2 D code only to work as the current color 2 D code object of scanning, rather than color 2 D code is corresponding flat When the picture of face, corresponding operation is just executed according to the information of acquisition.In this way, avoiding corresponding only by scanning the two-dimensional code Plane picture, it will be able to corresponding operating is executed, it is thereby achieved that the Normalization rule of Quick Response Code.
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 S20, further include:
Step S40 verifies the described information of acquisition, identifies whether the described information of acquisition is complete colour two Tie up code information;If so, executing the step S30;If it is not, thening follow the steps S50;
Step S50 sends out corresponding Quick Response Code recognition failures prompt message.
In the present embodiment, when mobile terminal is scanned current color Quick Response Code object, acquisition current color is two-dimentional After the corresponding information of code object, the information of acquisition is verified, identifies whether the information of acquisition is complete color 2 D Code information.Optionally, the step S40 includes:
Step b, according to the described information of acquisition and the corresponding info class of preset complete color 2 D code information Type judges whether the described information obtained is complete color 2 D code information.
In the present embodiment, it is previously provided with the corresponding information type of complete color 2 D code information.Wherein, different coloured silk The complete color 2 D code information that color Quick Response Code is included may correspond to different information types.When getting current color two It is corresponding according to the information of acquisition and preset complete color 2 D code information after tieing up the corresponding information of code object Information type judges whether the information obtained is complete color 2 D code information.Specifically, the step b includes:
Step b1, it is corresponding with the described information of acquisition by the corresponding information type of the complete color 2 D code information Information type be compared;
Step b2, if the corresponding information type of the complete color 2 D code information is corresponding with the described information of acquisition Information type is consistent, then judges the described information obtained for complete color 2 D code information;
Step b3, if the corresponding information type of the complete color 2 D code information is corresponding with the described information of acquisition Information type is inconsistent, then judges the described information obtained not for complete color 2 D code information.
After getting the corresponding information of current color Quick Response Code object, mobile terminal is by preset complete colored two The corresponding information type of code information is tieed up, is compared with the corresponding information type of the information of acquisition.If preset complete coloured silk The corresponding information type of color 2 D code information, information type corresponding with the information of acquisition is consistent, then judges the letter obtained Breath is complete color 2 D code information;If conversely, the corresponding information type of preset complete color 2 D code information, and obtain The corresponding information type of the information taken is inconsistent, then judges the information obtained not for complete color 2 D code information.
When the corresponding information of current color Quick Response Code object that mobile terminal identification obtains is believed for complete color 2 D code When breath, according to the corresponding information of current color Quick Response Code object of acquisition, corresponding operation is executed.It is obtained when mobile terminal identifies Current color Quick Response Code object corresponding information when not being complete color 2 D code information, send out the identification of corresponding Quick Response Code Failure prompt message.For example, the text prompt of display such as " Quick Response Code recognition failures " is believed in mobile terminal current display interface Breath.For another example, the information of voice prompt such as " Quick Response Code recognition failures " is played by loud speaker.In the present embodiment, Quick Response Code is known Not Shi Bai the concrete form of prompt message be not limited.By sending out Quick Response Code recognition failures prompt message, so that user is timely Quick Response Code recognition failures are known, to improve user experience.
For example, in complete color 2 D code information when geographical location information corresponding comprising color 2 D code, if moving The current color Quick Response Code object of dynamic terminal scanning is the corresponding plane picture of color 2 D code, the current color Quick Response Code of acquisition Geographical location information is not included in the corresponding information of object, at this point, mobile terminal sends out corresponding Quick Response Code recognition failures prompt Information.
Scheme provided in this embodiment is not complete colored when the color 2 D code object of acquisition corresponds to the information for including When 2 D code information, corresponding Quick Response Code recognition failures prompt message is sent out, 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 color Quick Response Code object is scanned, wherein the difference of color 2 D code Visual angle is correspondingly arranged comprising different information;
It obtains the current color Quick Response Code object and corresponds to the information for including;
When the described information of acquisition is complete color 2 D code information, executed according to the described information of acquisition corresponding Operation;Wherein, when the current color Quick Response Code object is color 2 D code, the described information of acquisition is complete colour two Tie up code information.
Further, following operation is also realized when the Quick Response Code barcode scanning program is executed by processor:
When receiving the barcode scanning instruction, more mesh cameras is called to sweep the current color Quick Response Code object It retouches.
Further, following operation is also realized when the Quick Response Code barcode scanning program is executed by processor:
The described information of acquisition is verified, identifies whether the described information of acquisition is complete color 2 D code letter Breath.
Further, following operation is also realized when the Quick Response Code barcode scanning program is executed by processor:
According to the described information of acquisition and the corresponding information type of preset complete color 2 D code information, judge Whether the described information of acquisition is complete color 2 D code information.
Further, following operation is also realized when the Quick Response Code barcode scanning program is executed by processor:
By the corresponding information type of the complete color 2 D code information, info class corresponding with the described information of acquisition Type is compared;
If the corresponding information type of complete color 2 D code information info class corresponding with the described information of acquisition Type is consistent, then judges the described information obtained for complete color 2 D code information;
If the corresponding information type of complete color 2 D code information info class corresponding with the described information of acquisition Type is inconsistent, then judges the described information obtained not for complete color 2 D code information.
Further, following operation is also realized when the Quick Response Code barcode scanning program is executed by processor:
When the described information of acquisition is not complete color 2 D code information, sends out corresponding Quick Response Code recognition failures and carry Show information.
Further, following operation is also realized when the Quick Response Code barcode scanning program is executed by processor:
When not including geographical location information in the described information of acquisition, corresponding Quick Response Code recognition failures prompt letter is sent out Breath.
The present embodiment through the above scheme, when receiving barcode scanning instruction, is scanned current color Quick Response Code object, It obtains the current color 2 D code object and corresponds to the information for including, only when the information of acquisition is complete color 2 D code information When, namely it is color 2 D code only to work as the current color 2 D code object of scanning, rather than color 2 D code is corresponding flat When the picture of face, corresponding operation is just executed according to the information of acquisition.In this way, avoiding corresponding only by scanning the two-dimensional code Plane picture, it will be able to corresponding operating is executed, it is thereby achieved that the Normalization rule of Quick Response 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, which is characterized in that the Quick Response Code barcode scanning method includes the following steps:
When receiving barcode scanning instruction, current color Quick Response Code object is scanned, wherein the different visual angles of color 2 D code It includes different information to be correspondingly arranged;
It obtains the current color Quick Response Code object and corresponds to the information for including;
When the described information of acquisition is complete color 2 D code information, corresponding behaviour is executed according to the described information of acquisition Make;Wherein, when the current color Quick Response Code object is color 2 D code, the described information of acquisition is complete color 2 D Code information.
2. Quick Response Code barcode scanning method as described in claim 1, which is characterized in that it is described when receiving barcode scanning instruction, to working as The step of preceding color 2 D code object is scanned include:
When receiving the barcode scanning instruction, more mesh cameras is called to be scanned the current color Quick Response Code object.
3. Quick Response Code barcode scanning method as described in claim 1, which is characterized in that described to obtain the current color Quick Response Code pair After the step of information for including as correspondence, further include:
The described information of acquisition is verified, identifies whether the described information of acquisition is complete color 2 D code information.
4. Quick Response Code barcode scanning method as claimed in claim 3, which is characterized in that the described information of described pair of acquisition is tested Card, identifies that the step of whether described information of acquisition is complete color 2 D code information includes:
According to the described information of acquisition and the corresponding information type of preset complete color 2 D code information, judge to obtain Described information whether be complete color 2 D code information.
5. Quick Response Code barcode scanning method as claimed in claim 4, which is characterized in that the described information according to acquisition, and The corresponding information type of preset complete color 2 D code information judges whether the described information obtained is complete colour two Tie up code information the step of include:
By the corresponding information type of the complete color 2 D code information, information type corresponding with the described information of acquisition into Row compares;
If corresponding with the described information of the acquisition information type of the corresponding information type of the complete color 2 D code information one It causes, then judges the described information obtained for complete color 2 D code information;
If the corresponding information type of complete color 2 D code information information type corresponding with the described information of acquisition is not Unanimously, then judge the described information obtained not for complete color 2 D code information.
6. Quick Response Code barcode scanning method as described in claim 1, which is characterized in that the current color Quick Response Code object be coloured silk When the corresponding plane picture of color Quick Response Code, the described information of acquisition is partial colour 2 D code information.
7. Quick Response Code barcode scanning method as claimed in claim 3, which is characterized in that the described information of described pair of acquisition is tested It demonstrate,proves, after identifying the step of whether described information of acquisition is complete color 2 D code information, further includes:
When the described information of acquisition is not complete color 2 D code information, corresponding Quick Response Code recognition failures prompt letter is sent out Breath.
8. Quick Response Code barcode scanning method as claimed in claim 7, which is characterized in that wrapped in the complete color 2 D code information The corresponding geographical location information of code containing color 2 D, the described information in acquisition are not complete color 2 D code information When, the step of sending out corresponding Quick Response Code recognition failures prompt message includes:
When not including geographical location information in the described information of acquisition, 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.
CN201810249786.9A 2018-03-23 2018-03-23 Two-dimensional code scanning method and device and computer readable storage medium Active CN108416246B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN108416246A true CN108416246A (en) 2018-08-17
CN108416246B CN108416246B (en) 2021-11-09

Family

ID=63132507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810249786.9A Active CN108416246B (en) 2018-03-23 2018-03-23 Two-dimensional code scanning method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108416246B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184380A (en) * 2011-05-10 2011-09-14 华南农业大学 Color-superposition two-dimension code system and application method thereof
CN104537771A (en) * 2014-12-02 2015-04-22 林志均 Intelligent terminal for express storage
CN104680218A (en) * 2015-02-12 2015-06-03 航天信息股份有限公司 Multi-space two-dimensional code, and generation method and decoding method of multi-space two-dimensional code
JP2016201061A (en) * 2015-04-14 2016-12-01 株式会社テララコード研究所 Two-dimensional code, and reading method for two-dimensional code
CN106384142A (en) * 2016-08-26 2017-02-08 上海慧谋网络科技有限公司 Random color two-dimensional code based anti-counterfeiting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184380A (en) * 2011-05-10 2011-09-14 华南农业大学 Color-superposition two-dimension code system and application method thereof
CN104537771A (en) * 2014-12-02 2015-04-22 林志均 Intelligent terminal for express storage
CN104680218A (en) * 2015-02-12 2015-06-03 航天信息股份有限公司 Multi-space two-dimensional code, and generation method and decoding method of multi-space two-dimensional code
JP2016201061A (en) * 2015-04-14 2016-12-01 株式会社テララコード研究所 Two-dimensional code, and reading method for two-dimensional code
CN106384142A (en) * 2016-08-26 2017-02-08 上海慧谋网络科技有限公司 Random color two-dimensional code based anti-counterfeiting method and device

Also Published As

Publication number Publication date
CN108416246B (en) 2021-11-09

Similar Documents

Publication Publication Date Title
US20190012756A1 (en) Method and system for providing information regarding with delivery article using augmented reality
CN106921957B (en) The recognition methods of secondary number of distributing telephone numbers and device
US10762542B2 (en) Item transfer apparatus, system and method
CN109670291B (en) Verification code implementation method and device and storage medium
CN102194179B (en) Advertisement information distribution system and method
CN112100431B (en) Evaluation method, device and equipment of OCR system and readable storage medium
CN103189864A (en) Methods and apparatuses for determining shared friends in images or videos
CN103209247B (en) Method and system that a kind of information shows and terminal and server
US11356847B2 (en) Information processing device, server device, and information processing system for activation of an application
CN106779518B (en) Method and device for centralized delivery of goods
CN105260779A (en) Tag based personalization
CN108011868A (en) One kind slides verification method and mobile terminal
CN108388813A (en) Electronic endorsement method, user equipment, storage medium and device
CN109376053A (en) Data processing method, device and mobile terminal
CN108738108A (en) A kind of sequencing display method, equipment and the storage medium of hotspot
CN108509818A (en) Quick Response Code barcode scanning method, apparatus and computer readable storage medium
CN104778554A (en) Method and device for identifying multiple matched users
CN108416246A (en) Quick Response Code barcode scanning method, apparatus and computer readable storage medium
CN108320030A (en) Automobile intelligent service system
CN109741094A (en) A kind of exhibition mutual assistance interactive system
CN108363937A (en) Quick Response Code barcode scanning method, apparatus and computer readable storage medium
CN108810243A (en) Information displaying method, device, terminal and computer readable storage medium
CN107679792A (en) A kind of Merchandiser method, server and storage medium
CN105898618A (en) Method and device for prompting non-browsed information in mobile terminal
CN105184692A (en) Problem-solving request processing method, device and system

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