CN109145667A - Quick identification bar code method, system, equipment and storage medium based on code reader - Google Patents

Quick identification bar code method, system, equipment and storage medium based on code reader Download PDF

Info

Publication number
CN109145667A
CN109145667A CN201811005617.7A CN201811005617A CN109145667A CN 109145667 A CN109145667 A CN 109145667A CN 201811005617 A CN201811005617 A CN 201811005617A CN 109145667 A CN109145667 A CN 109145667A
Authority
CN
China
Prior art keywords
focal length
mentioned
code reader
bar code
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811005617.7A
Other languages
Chinese (zh)
Inventor
许沐锌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Dashi Intelligent Technology Co Ltd
Original Assignee
Shenzhen Dashi Intelligent Technology 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 Shenzhen Dashi Intelligent Technology Co Ltd filed Critical Shenzhen Dashi Intelligent Technology Co Ltd
Priority to CN201811005617.7A priority Critical patent/CN109145667A/en
Publication of CN109145667A publication Critical patent/CN109145667A/en
Pending legal-status Critical Current

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/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/10792Special measures in relation to the object to be scanned
    • G06K7/10801Multidistance reading
    • G06K7/10811Focalisation
    • 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/14131D 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/146Methods for optical code recognition the method including quality enhancement steps

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)
  • Quality & Reliability (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

Present invention discloses a kind of quick identification bar code method, system, equipment and storage medium based on code reader, comprising steps of going out corresponding history biological characteristic according to the real-time biological characteristic matching of user, and go out corresponding habits information according to the history biometric matches;The focal length of code reader is adjusted to being accustomed to focal length according to the habits information, and identifies bar code.Quick identification bar code method based on code reader of the invention, system, equipment and storage medium have the beneficial effect that the habits information for going out user by the real-time biological characteristic matching of user, by the habit focal length of the focus adjustment of code reader to user, make user that can quickly identify bar code according to code reader accustomed to using, shortens the time of code reader adjustment focal length;And be averaged to obtain habit focal length by the first focal length, the second focal length and third focal length, to obtain accurately being accustomed to focal length.

Description

Quick identification bar code method, system, equipment and storage medium based on code reader
Technical field
The present invention relates to the identification fields of bar code, especially relate to a kind of quick identification bar code based on code reader Method, system, equipment and storage medium.
Background technique
Currently, having increasingly becomed consumption pattern very universal in life using bar code consumption, or even to somebody For be main consumption pattern, but the mode of existing code reader identification bar code have using Autofocus Technology identification bar code and Fixed focusing identification bar code.Using Autofocus Technology come as follows the step of identifying bar code: barcode scanning gun is directed at bar code;Barcode scanning gun Camera calculates distance between the image and camera of bar code;Camera adjusts focal length, until camera can clearly obtain bar code Image;Barcode scanning gun obtains bar code information according to the image of bar code.The auto-focusing time of this method is long, entire identification bar code Process is generally between 2 to 5 seconds.And identify that bar code is needed the distance between bar code and camera using fixed focusing technology It is fixed, could quick obtaining bar code information, but since different people use habit is different, may make groups of people be often difficult to by Bar code is accurately placed at fixed position, which is difficult with the code reader of fixed focusing to scan bar code, causes to identify item The time of code is long.
Summary of the invention
The main object of the present invention is to provide a kind of quick identification bar code method based on code reader, system, equipment and deposit Storage media, to improve the speed of code reader identification bar code.
The present invention proposes a kind of quick identification bar code method based on code reader, comprising steps of
Go out corresponding history biological characteristic according to the real-time biological characteristic matching of user, and special according to above-mentioned history biology Sign matches corresponding habits information;
The focal length of code reader is adjusted to being accustomed to focal length according to above-mentioned habits information, and identifies bar code.
Further, in the quick identification bar code method above-mentioned based on code reader, above-mentioned according to the real-time of user Biometric matches went out before the step of corresponding history biological characteristic, further comprised the steps of:
Above-mentioned user is obtained according to the first focal length, the second focal length when getting used to above-mentioned code reader successful scan bar code With third focal length;
It is averaged to obtain above-mentioned habit focal length according to above-mentioned first focal length, above-mentioned second focal length and above-mentioned third focal length.
Further, in the quick identification bar code method above-mentioned based on code reader, it is above-mentioned according to above-mentioned first focal length, Above-mentioned second focal length and above-mentioned third focal length were averaged after the step of obtaining above-mentioned habit focal length, were further comprised the steps of:
Obtain the above-mentioned history biological characteristic of above-mentioned user;
Above-mentioned habits information is generated according to above-mentioned habit focal length and above-mentioned history biological characteristic.
Further, in the quick identification bar code method above-mentioned based on code reader, the above-mentioned real-time life according to user Object characteristic matching goes out corresponding history biological characteristic, and goes out corresponding habits information according to above-mentioned history biometric matches Step comprising steps of
Judge whether to be matched to the above-mentioned history biological characteristic to match with above-mentioned real-time biological feature;
If so, matching above-mentioned habits information corresponding with above-mentioned history biological characteristic.
Further, in the quick identification bar code method above-mentioned based on code reader, it is above-mentioned judge whether to be matched to After the step of above-mentioned history biological characteristic that above-mentioned real-time biological feature matches, further comprise the steps of:
If it is not, then sending input password request to above-mentioned user, and whether just to verify the password of above-mentioned user's input Really;
If so, sending the solicited message of the above-mentioned habits information of typing to above-mentioned user, and judge whether that typing is above-mentioned Habits information;
If so, obtaining the real-time biological feature and habit focal length of above-mentioned user;
Above-mentioned habits information is generated according to above-mentioned habit focal length and above-mentioned real-time biological feature, and above-mentioned habits information is stored up It is stored in historical custom information list;
According to the focal length of above-mentioned habits information adjusting code reader to above-mentioned habit focal length, and identify bar code.
Further, in the quick identification bar code method above-mentioned based on code reader, judge whether that typing is above-mentioned above-mentioned After the step of habits information, further comprise the steps of:
If it is not, then according to the focal length of default focus adjustment code reader, and identify bar code.
Further, in the quick identification bar code method above-mentioned based on code reader, above-mentioned according to above-mentioned habits information The focal length of code reader is adjusted to being accustomed to focal length, and after the step of identifying bar code, is further comprised the steps of:
Above-mentioned code reader is successfully identified that the history focal length of bar code carries out normal distribution processing, probability of occurrence is obtained and is greater than finger The history focal length of definite value, and above-mentioned history focal length and above-mentioned habit focal length are carried out new habit focal length is calculated;
New habits information is generated according to above-mentioned new habit focal length and above-mentioned history biological characteristic, and by above-mentioned new habits information Replace above-mentioned habits information.
The present invention also proposes a kind of quick identification bar code system based on code reader, comprising:
Matching module goes out corresponding history biological characteristic for the real-time biological characteristic matching according to user, and according to Above-mentioned history biometric matches go out corresponding habits information;
Focus adjustment module for adjusting the focal length of code reader according to above-mentioned habits information to being accustomed to focal length, and identifies item Code.
The present invention also proposes a kind of computer equipment, including memory, processor and storage are on a memory and can be The computer program run on processor, above-mentioned processor are realized as described in any one of embodiment when executing above procedure Method.
The present invention also proposes a kind of computer readable storage medium, is stored thereon with computer program, and the program is processed The method as described in any one of embodiment is realized when device executes.
Quick identification bar code method based on code reader of the invention, system, equipment and storage medium have the beneficial effect that The habits information for going out user by the real-time biological characteristic matching of user, by the habit of the focus adjustment of code reader to user Used focal length, makes user that can quickly identify bar code according to code reader accustomed to using, shortens the time of code reader adjustment focal length;And It is averaged to obtain habit focal length by the first focal length, the second focal length and third focal length, to obtain accurately being accustomed to burnt Away from.
Detailed description of the invention
Fig. 1 is the flow diagram of the quick identification bar code method based on code reader of one embodiment of the invention;
Fig. 2 is the flow diagram of the quick identification bar code method based on code reader of one embodiment of the invention;
Fig. 3 is the flow diagram of the quick identification bar code method based on code reader of one embodiment of the invention;
Fig. 4 is the flow diagram of the quick identification bar code method based on code reader of one embodiment of the invention;
Fig. 5 is the flow diagram of the quick identification bar code method based on code reader of one embodiment of the invention;
Fig. 6 is the flow diagram of the quick identification bar code method based on code reader of one embodiment of the invention;
Fig. 7 is the flow diagram of the quick identification bar code method based on code reader of one embodiment of the invention;
Fig. 8 is the structural schematic diagram of the quick identification bar code system based on code reader of one embodiment of the invention;
Fig. 9 is a kind of structural schematic diagram of computer equipment of one embodiment of the invention.
1, matching module;2, focus adjustment module;3, computer equipment;4, external equipment;5, processing unit;6, bus; 7, network adapter;8, (I/O) interface;9, display;10, system storage;11, random access memory (RAM);12, high Fast buffer memory;13, storage system;14, program/utility;15, program module.
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 embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its His embodiment, shall fall within the protection scope of the present invention.
It in addition, the technical solution between each embodiment can be combined with each other, but must be with ordinary skill Based on personnel can be realized, this technical side will be understood that when the combination of technical solution appearance is conflicting or cannot achieve The combination of case is not present, also not the present invention claims protection scope within.
Referring to Fig.1, in embodiments of the present invention, a kind of quick identification bar code method based on code reader is proposed, including Step:
S1, go out corresponding history biological characteristic according to the real-time biological characteristic matching of user, and raw according to above-mentioned history Object characteristic matching goes out corresponding habits information;
S2, the focal length of code reader is adjusted according to above-mentioned habits information to being accustomed to focal length, and identify bar code.
Such as above-mentioned steps S1, corresponding history biological characteristic is gone out according to the real-time biological characteristic matching of user, and according to Above-mentioned history biometric matches go out corresponding habits information, to be gone out on corresponding according to above-mentioned real-time biological characteristic matching Habits information is stated, to obtain the habit focal length of above-mentioned user, wherein above-mentioned real-time biological feature is to acquire above-mentioned make in real time The biological characteristic of user, above-mentioned real-time biological feature and above-mentioned history biological characteristic generally comprise face, fingerprint and iris.
Such as above-mentioned steps S2, the focal length of code reader is adjusted to being accustomed to focal length according to above-mentioned habits information, and identify bar code, it will The focus adjustment of above-mentioned code reader to above-mentioned habit focal length, make above-mentioned user according to get used to above-mentioned code reader and combine from Dynamic focusing technology shortens the time of above-mentioned code reader adjustment focal length to quickly identify bar code.
Referring to Fig. 2, in the present embodiment, it is raw to go out corresponding history in the above-mentioned real-time biological characteristic matching according to user Before the step of object feature, further comprise the steps of:
S3, obtain above-mentioned user according to when getting used to above-mentioned code reader successful scan bar code the first focal length, second Focal length and third focal length;
S4, it is averaged to obtain above-mentioned habit coke according to above-mentioned first focal length, above-mentioned second focal length and above-mentioned third focal length Away from.
Such as above-mentioned steps S3, above-mentioned user is obtained according to first when getting used to above-mentioned code reader successful scan bar code Focal length, the second focal length and third focal length, above-mentioned user are above-mentioned to make in the first focal length of typing, the second focal length and third focal length User keeps above-mentioned code reader to be according to position accustomed to using, and above-mentioned code reader automatically adjusts the focal length of camera, until Camera can clearly obtain the image of bar code, and the above-mentioned user of repeat request is according to getting used to above-mentioned code reader, until at Function obtain three focal lengths, i.e., above-mentioned first focal length, above-mentioned second focal length and above-mentioned third focal length, and above-mentioned first focal length, on Stating the second focal length and above-mentioned third focal length, difference cannot be greater than specified focal range value two-by-two.
Such as above-mentioned steps S4, it is averaged to obtain according to above-mentioned first focal length, above-mentioned second focal length and above-mentioned third focal length Above-mentioned habit focal length, to obtain accurately being accustomed to focal length.
Referring to Fig. 3, in the present embodiment, above-mentioned burnt according to above-mentioned first focal length, above-mentioned second focal length and above-mentioned third After being averaged the step of obtaining above-mentioned habit focal length, further comprise the steps of:
S5, the above-mentioned history biological characteristic for obtaining above-mentioned user;
S6, above-mentioned habits information is generated according to above-mentioned habit focal length and above-mentioned history biological characteristic.
Such as above-mentioned steps S5, the above-mentioned history biological characteristic of above-mentioned user is obtained, thus special according to above-mentioned real-time biological Sign matches corresponding above-mentioned history biological characteristic, wherein above-mentioned history biological characteristic generally comprises face, fingerprint and iris.
Such as above-mentioned steps S6, above-mentioned habits information is generated according to above-mentioned habit focal length and above-mentioned history biological characteristic, thus It, can be according to above-mentioned history biological characteristic after going out corresponding above-mentioned history biological characteristic according to above-mentioned real-time biological characteristic matching Match corresponding above-mentioned habit focal length.
Referring to Fig. 4, in the present embodiment, the above-mentioned real-time biological characteristic matching according to user goes out corresponding history biology Feature, and the step of going out corresponding habits information according to above-mentioned history biometric matches comprising steps of
S7, judge whether to be matched to the above-mentioned history biological characteristic to match with above-mentioned real-time biological feature;
S8, if so, matching above-mentioned habits information corresponding with above-mentioned history biological characteristic.
Such as above-mentioned steps S7, judge whether to be matched to the above-mentioned history biology spy to match with above-mentioned real-time biological feature Sign, to judge whether there is habits information corresponding with the above-mentioned real-time biological feature of above-mentioned user in system, wherein on Stating real-time biological feature is the biological characteristic for acquiring above-mentioned user in real time.
Such as above-mentioned steps S8, if so, above-mentioned habits information corresponding with above-mentioned history biological characteristic is matched, thus The habit focal length of above-mentioned user is obtained from above-mentioned habits information.
Referring to Fig. 5, in the present embodiment, it is above-mentioned judge whether to be matched to match with above-mentioned real-time biological feature it is upper After the step of stating history biological characteristic, further comprise the steps of:
S9, if it is not, then send input password request to above-mentioned user, and verify above-mentioned user input password whether Correctly;
S10, if so, sending the solicited message of the above-mentioned habits information of typing to above-mentioned user, and judge whether typing Above-mentioned habits information;
S11, if so, obtain above-mentioned user real-time biological feature and habit focal length;
S12, above-mentioned habits information is generated according to above-mentioned habit focal length and above-mentioned real-time biological feature, and above-mentioned habit is believed Breath is stored in historical custom information list;
S13, the focal length of code reader is adjusted according to above-mentioned habits information to above-mentioned habit focal length, and identify bar code.
Such as above-mentioned steps S9, if it is not, then sending input password request to above-mentioned user, and above-mentioned user's input is verified Password it is whether correct, to verify whether above-mentioned user has permission using above-mentioned code reader, wherein above-mentioned password one As for code reader setting initial password or the preset password of user.
Such as above-mentioned steps S10, if so, sending the solicited message of the above-mentioned habits information of typing to above-mentioned user, and sentence It is disconnected whether the above-mentioned habits information of typing, the habits information of the above-mentioned user of typing is determined whether to according to feedback information.
Such as above-mentioned steps S11, if so, obtaining the real-time biological feature and habit focal length of above-mentioned user, wherein above-mentioned The real-time biological feature of user generally comprises face, fingerprint and iris, and above-mentioned habit focal length is above-mentioned user according to habit The habit focal length that three focal lengths when using above-mentioned code reader successful scan bar code are averaged.
Such as above-mentioned steps S12, above-mentioned habits information is generated according to above-mentioned habit focal length and above-mentioned real-time biological feature, and will Above-mentioned habits information is stored in historical custom information list, thus when user reuses above-mentioned code reader, Ke Yigen The above-mentioned real-time biological feature for going out corresponding above-mentioned habits information according to the biometric matches of above-mentioned user, to obtain above-mentioned It is accustomed to focal length.
Such as above-mentioned steps S13, according to the focal length of above-mentioned habits information adjusting code reader to above-mentioned habit focal length, and item is identified The focus adjustment of above-mentioned code reader to above-mentioned habit focal length is made above-mentioned user according to getting used to above-mentioned code reader just by code It can quickly identify bar code, shorten the time of above-mentioned code reader adjustment focal length.
In the present embodiment, input password request is sent to above-mentioned user above-mentioned, and verifies above-mentioned user's input The whether correct step of password after, further comprise the steps of:
A1, if it is not, then above-mentioned user is not available above-mentioned code reader identification bar code.
No such as above-mentioned steps A1, then above-mentioned user is not available above-mentioned code reader identification bar code, i.e., above-mentioned user is not Has the permission using above-mentioned code reader, therefore above-mentioned user is not available above-mentioned code reader identification bar code.
Referring to Fig. 6, in the present embodiment, after above-mentioned the step of judging whether typing above-mentioned habits information, further include Step:
S14, if it is not, then according to the focal length for presetting focus adjustment code reader, and identify bar code.
Such as above-mentioned steps S14, if it is not, then basis presets the focal length of focus adjustment code reader, and bar code is identified, wherein on It states default focal length and is generally the initial focal length of code reader setting or the default focal length of user.
Referring to Fig. 7, in the present embodiment, the focal length of code reader is adjusted to being accustomed to coke according to above-mentioned habits information above-mentioned Away from, and after the step of identifying bar code, it further comprises the steps of:
S15, above-mentioned code reader successfully being identified to, the history focal length of bar code carries out normal distribution processing, it is big obtains probability of occurrence In the history focal length of designated value, and above-mentioned history focal length and above-mentioned habit focal length are carried out new habit focal length is calculated;
S16, new habits information is generated according to above-mentioned new habit focal length and above-mentioned history biological characteristic, and by above-mentioned new habit Information replaces above-mentioned habits information.
Such as above-mentioned steps S15, above-mentioned code reader is successfully identified that the history focal length of bar code carries out normal distribution processing, is obtained Probability of occurrence is greater than the history focal length of designated value, and carries out above-mentioned history focal length and above-mentioned habit focal length that new habit is calculated The camera of focal length, above-mentioned code reader has Autofocus Technology, to further be adjusted according to above-mentioned history focal length Habit focal length is stated, to obtain accurate above-mentioned new habit focal length, shortens the time of above-mentioned code reader adjustment focal length.
Such as above-mentioned steps S16, new habits information is generated according to above-mentioned new habit focal length and above-mentioned history biological characteristic, and will Above-mentioned new habits information replaces above-mentioned habits information to be made above-mentioned by the focus adjustment of above-mentioned code reader to above-mentioned new habit focal length User is according to getting used to above-mentioned code reader and Autofocus Technology is combined to quickly identify bar code to shorten above-mentioned barcode scanning The time of device adjustment focal length.
Referring to Fig.1,2,3,4 and 7, in the present embodiment, a kind of quick identification bar code method based on code reader, including step It is rapid:
S3, obtain above-mentioned user according to when getting used to above-mentioned code reader successful scan bar code the first focal length, second Focal length and third focal length;
S4, it is averaged to obtain above-mentioned habit coke according to above-mentioned first focal length, above-mentioned second focal length and above-mentioned third focal length Away from;
S5, the above-mentioned history biological characteristic for obtaining above-mentioned user;
S6, above-mentioned habits information is generated according to above-mentioned habit focal length and above-mentioned history biological characteristic;
S7, judge whether to be matched to the above-mentioned history biological characteristic to match with above-mentioned real-time biological feature;
S8, if so, matching above-mentioned habits information corresponding with above-mentioned history biological characteristic;
S2, the focal length of code reader is adjusted according to above-mentioned habits information to being accustomed to focal length, and identify bar code;
S15, above-mentioned code reader successfully being identified to, the history focal length of bar code carries out normal distribution processing, it is big obtains probability of occurrence In the history focal length of designated value, and above-mentioned history focal length and above-mentioned habit focal length are carried out new habit focal length is calculated;
S16, new habits information is generated according to above-mentioned new habit focal length and above-mentioned history biological characteristic, and by above-mentioned new habit Information replaces above-mentioned habits information.
Referring to Fig. 4,5 and 7, in another embodiment, a kind of quick identification bar code method based on code reader, including step It is rapid:
S7, judge whether to be matched to the above-mentioned history biological characteristic to match with above-mentioned real-time biological feature;
S9, if it is not, then send input password request to above-mentioned user, and verify above-mentioned user input password whether Correctly;
S10, if so, sending the solicited message of the above-mentioned habits information of typing to above-mentioned user, and judge whether typing Above-mentioned habits information;
S11, if so, obtain above-mentioned user real-time biological feature and habit focal length;
S12, above-mentioned habits information is generated according to above-mentioned habit focal length and above-mentioned real-time biological feature, and above-mentioned habit is believed Breath is stored in historical custom information list;
S13, the focal length of code reader is adjusted according to above-mentioned habits information to above-mentioned habit focal length, and identify bar code;
S15, above-mentioned code reader successfully being identified to, the history focal length of bar code carries out normal distribution processing, it is big obtains probability of occurrence In the history focal length of designated value, and above-mentioned history focal length and above-mentioned habit focal length are carried out new habit focal length is calculated;
S16, new habits information is generated according to above-mentioned new habit focal length and above-mentioned history biological characteristic, and by above-mentioned new habit Information replaces above-mentioned habits information.
Referring to Fig. 4-6, in another embodiment, a kind of quick identification bar code method based on code reader, comprising steps of
S7, judge whether to be matched to the above-mentioned history biological characteristic to match with above-mentioned real-time biological feature;
S9, if it is not, then send input password request to above-mentioned user, and verify above-mentioned user input password whether Correctly;
S10, if so, sending the solicited message of the above-mentioned habits information of typing to above-mentioned user, and judge whether typing Above-mentioned habits information;
S14, if it is not, then according to the focal length for presetting focus adjustment code reader, and identify bar code.
Referring to Fig. 8, the present invention also proposes a kind of quick identification bar code system based on code reader, comprising:
Matching module 1 goes out corresponding history biological characteristic for the real-time biological characteristic matching according to user, and according to Above-mentioned history biometric matches go out corresponding habits information, to be gone out on corresponding according to above-mentioned real-time biological characteristic matching Habits information is stated, to obtain the habit focal length of above-mentioned user, wherein above-mentioned real-time biological feature is to acquire above-mentioned make in real time The biological characteristic of user, above-mentioned real-time biological feature and above-mentioned history biological characteristic generally comprise face, fingerprint and iris;
Focus adjustment module 2 for adjusting the focal length of code reader according to above-mentioned habits information to being accustomed to focal length, and identifies item The focus adjustment of above-mentioned code reader to above-mentioned habit focal length is made above-mentioned user according to getting used to above-mentioned code reader simultaneously by code In conjunction with Autofocus Technology, to quickly identify bar code, shorten the time of above-mentioned code reader adjustment focal length;
In the present embodiment, further includes:
Focal length obtains module, for obtaining above-mentioned user according to when getting used to above-mentioned code reader successful scan bar code First focal length, the second focal length and third focal length, above-mentioned user in the first focal length of typing, the second focal length and third focal length, on Stating user keeps above-mentioned code reader to be according to position accustomed to using, the focal length of above-mentioned code reader automatic adjustment camera, Until camera can clearly obtain the image of bar code, and the above-mentioned user of repeat request is according to above-mentioned code reader is got used to, directly To successfully three focal lengths of acquisition, i.e., above-mentioned first focal length, above-mentioned second focal length and above-mentioned third focal length, and above-mentioned first coke Away from, above-mentioned second focal length and above-mentioned third focal length, difference cannot be greater than specified focal range value two-by-two;
Habit focal length module is calculated, for making even according to above-mentioned first focal length, above-mentioned second focal length and above-mentioned third focal length Mean value obtains above-mentioned habit focal length, to obtain accurately being accustomed to focal length;
Biological characteristic obtains module, for obtaining the above-mentioned history biological characteristic of above-mentioned user, thus according to above-mentioned reality When biometric matches go out corresponding above-mentioned history biological characteristic, wherein above-mentioned history biological characteristic generally comprises face, fingerprint And iris;
Habits information generation module is believed for generating above-mentioned habit according to above-mentioned habit focal length and above-mentioned history biological characteristic Breath, thus after going out corresponding above-mentioned history biological characteristic according to above-mentioned real-time biological characteristic matching, it can be according to above-mentioned history Biometric matches go out corresponding above-mentioned habit focal length;
Matching judgment module is matched to the above-mentioned history to match with above-mentioned real-time biological feature biology for judging whether Feature, to judge whether there is habits information corresponding with the above-mentioned real-time biological feature of above-mentioned user in system, wherein Above-mentioned real-time biological feature is the biological characteristic for acquiring above-mentioned user in real time;
Password authentication module for sending input password request to above-mentioned user, and verifies above-mentioned user's input Whether password is correct, to verify whether above-mentioned user has the permission for using above-mentioned code reader, wherein above-mentioned password is general For the initial password or the preset password of user of code reader setting;
Request module for sending the solicited message of the above-mentioned habits information of typing to above-mentioned user, and judges whether to record Enter above-mentioned habits information, the habits information of the above-mentioned user of typing is determined whether to according to feedback information;
Biological characteristic and habit focal length obtain module, and the real-time biological feature and habit for obtaining above-mentioned user are burnt Away from, wherein the real-time biological feature of above-mentioned user generally comprises face, fingerprint and iris, and above-mentioned habit focal length is above-mentioned makes The habit focal length that user is averaged according to three focal lengths when getting used to above-mentioned code reader successful scan bar code;
Default focal length module for the focal length according to default focus adjustment code reader, and identifies bar code, wherein above-mentioned pre- If focal length is generally the initial focal length of code reader setting or the default focal length of user;
Focal length finely tunes module, for above-mentioned code reader successfully to be identified to, the history focal length of bar code carries out normal distribution processing, The history focal length that probability of occurrence is greater than designated value is obtained, and above-mentioned history focal length and above-mentioned habit focal length be calculated newly It is accustomed to focal length, the camera of above-mentioned code reader has Autofocus Technology, to further adjust according to above-mentioned history focal length Whole above-mentioned habit focal length shortens the time of above-mentioned code reader adjustment focal length to obtain accurate above-mentioned new habit focal length;
Replacement module, for generating new habits information according to above-mentioned new habit focal length and above-mentioned history biological characteristic, and will Above-mentioned new habits information replaces above-mentioned habits information to be made above-mentioned by the focus adjustment of above-mentioned code reader to above-mentioned new habit focal length User is according to getting used to above-mentioned code reader and Autofocus Technology is combined to quickly identify bar code to shorten above-mentioned barcode scanning The time of device adjustment focal length.
Referring to Fig. 9, in embodiments of the present invention, the present invention also provides a kind of computer equipment, above-mentioned computer equipment 3 with The form of universal computing device shows, and the component of computer equipment 3 can include but is not limited to: one or more processor or Person's processing unit 3, system storage 10 connect the bus of different system components (including system storage 10 and processing unit 5) 8。
Bus 6 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, outside Enclose bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Citing For, these architectures include but is not limited to industry standard architecture (ISA) bus, and microchannel architecture (MAC) is total Line, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer equipment 3 typically comprises a variety of computer system readable media.These media can be it is any can be by The usable medium that computer equipment 3 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 10 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 11 and/or cache memory 12.Computer equipment 3 may further include other movement/it is irremovable , volatile/non-volatile computer decorum storage medium.Only as an example, storage system 13 can be used for reading and writing not removable Dynamic, non-volatile magnetic media (commonly referred to as " hard disk drive ").Although being not shown in Fig. 9, can provide for removable The disc driver of dynamic non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable anonvolatile optical disk (such as CD~ ROM, DVD~ROM or other optical mediums) read-write CD drive.In these cases, each driver can pass through one A or multiple data media interfaces are connected with bus 6.Memory may include at least one program product, program product tool There is one group of (for example, at least one) program module 15, these program modules 15 are configured to perform the function of various embodiments of the present invention Energy.
Program/utility 14 with one group of (at least one) program module 15, can store in memory, for example, Such program module 15 includes --- but being not limited to --- operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.Program module 15 usually execute function and/or method in embodiment described in the invention.
Computer equipment 3 can also be with one or more external equipments 4 (such as keyboard, sensing equipment, display 9, camera shooting Head etc.) communication, can also be enabled a user to one or more equipment interact with the computer equipment 3 communicate, and/or with make The computer equipment 3 any equipment (such as network interface card, the modulation /demodulation that can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 8.Also, computer equipment 3 can also lead to Cross network adapter 7 and one or more network (such as local area network (LAN)), wide area network (WAN) and/or public network (example Such as internet) communication.As shown, network adapter 7 is communicated by bus 6 with other modules of computer equipment 3.It should be bright It is white, although being not shown in Fig. 9, other hardware and/or software module can be used in conjunction with computer equipment 3, including but not limited to: Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data are standby Part storage system etc..
Processing unit 5 by the program that is stored in system storage 10 of operation, thereby executing various function application and Data processing, such as realize the quick identification bar code method based on code reader provided by the embodiment of the present invention.
That is, above-mentioned processing unit 5 is realized when executing above procedure: being gone out pair according to the real-time biological characteristic matching of user The history biological characteristic answered, and go out corresponding habits information according to above-mentioned history biometric matches, in turn, according to above-mentioned habit Used information adjusts the focal length of code reader to being accustomed to focal length, and identifies bar code.
In embodiments of the present invention, the present invention also proposes a kind of computer readable storage medium, is stored thereon with computer Program realizes the quick identification bar code based on code reader provided such as all embodiments of the application when the program is executed by processor Method:
That is, realization when being executed by processor to program: going out corresponding go through according to the real-time biological characteristic matching of user History biological characteristic, and go out corresponding habits information according to above-mentioned history biometric matches, in turn, according to above-mentioned habits information The focal length of code reader is adjusted to being accustomed to focal length, and identifies bar code.
It can be using any combination of one or more computer-readable media.Computer-readable medium can be calculating Machine gram signal media or computer readable storage medium.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.Computer The more specific example (non exhaustive list) of readable storage medium storing program for executing includes: electrical connection with one or more conducting wires, portable Formula computer disk, hard disk, random access memory (RAM) 11, read-only memory (ROM), erasable programmable read-only memory (EPOM or flash memory), optical fiber, portable compact disc read-only memory (CD~ROM), light storage device, magnetic memory device or Above-mentioned any appropriate combination.In this document, computer readable storage medium can be it is any include or storage program Tangible medium, the program can be commanded execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, change computer-readable medium can send, propagate or Transmission is for by the use of instruction execution system, device or device or program in connection.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, above procedure design language include object oriented program language --- such as Java, Smalltalk, C+ +, further include conventional procedural programming language --- such as " C " language or similar programming language.Program code It can fully execute on the user computer, partly execute, held as an independent software package on the user computer Part executes on the remote computer or holds on a remote computer or server completely on the user computer for row, part Row.In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) or wide area network (WAN) --- it is connected to subscriber computer, or, it may be connected to outer computer (such as using because of spy Service provider is netted to connect by internet).
Quick identification bar code method based on code reader of the invention, system, equipment and storage medium have the beneficial effect that The above-mentioned habits information for going out above-mentioned user by the above-mentioned real-time biological characteristic matching of above-mentioned user, by above-mentioned code reader Focus adjustment makes above-mentioned user that can quickly identify bar code according to above-mentioned code reader is got used to, contracts to above-mentioned habit focal length The time of short above-mentioned code reader adjustment focal length;And it is made even by above-mentioned first focal length, above-mentioned second focal length and above-mentioned third focal length Mean value obtains above-mentioned habit focal length, to obtain accurate above-mentioned habit focal length.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of quick identification bar code method based on code reader, which is characterized in that comprising steps of
Go out corresponding history biological characteristic according to the real-time biological characteristic matching of user, and according to the history biological characteristic Allot corresponding habits information;
The focal length of code reader is adjusted to being accustomed to focal length according to the habits information, and identifies bar code.
2. the quick identification bar code method according to claim 1 based on code reader, which is characterized in that make in the basis Before the step of real-time biological characteristic matching of user goes out corresponding history biological characteristic, further comprise the steps of:
The user is obtained according to the first focal length, the second focal length and when getting used to the code reader successful scan bar code Three focal lengths;
It is averaged to obtain the habit focal length according to first focal length, second focal length and the third focal length.
3. the quick identification bar code method according to claim 2 based on code reader, which is characterized in that described according to institute It states the first focal length, second focal length and the third focal length to be averaged after the step of obtaining the habit focal length, also wrap Include step:
Obtain the history biological characteristic of the user;
The habits information is generated according to the habit focal length and the history biological characteristic.
4. the quick identification bar code method according to claim 1 based on code reader, which is characterized in that described according to using The real-time biological characteristic matching of person goes out corresponding history biological characteristic, and corresponding out according to the history biometric matches The step of habits information comprising steps of
Judge whether to be matched to the history biological characteristic to match with the real-time biological feature;
If so, matching the habits information corresponding with the history biological characteristic.
5. the quick identification bar code method according to claim 4 based on code reader, which is characterized in that be in the judgement After no the step of being matched to the history biological characteristic to match with the real-time biological feature, further comprise the steps of:
If it is not, then sending input password request to the user, and whether the password for verifying user's input is correct;
If so, sending the solicited message of habits information described in typing to the user, and judge whether habit described in typing Information;
If so, obtaining the real-time biological feature and habit focal length of the user;
The habits information is generated according to the habit focal length and the real-time biological feature, and the habits information is stored in In historical custom information list;
According to the focal length of habits information adjusting code reader to the habit focal length, and identify bar code.
6. the quick identification bar code method according to claim 5 based on code reader, which is characterized in that be in the judgement After the step of habits information of user described in no typing, further comprise the steps of:
If it is not, then according to the focal length of default focus adjustment code reader, and identify bar code.
7. the quick identification bar code method according to claim 1 based on code reader, which is characterized in that described according to institute It states habits information and adjusts the focal length of code reader to being accustomed to focal length, and after the step of identifying bar code, further comprise the steps of:
The code reader is successfully identified that the history focal length of bar code carries out normal distribution processing, probability of occurrence is obtained and is greater than designated value History focal length, and the history focal length and the habit focal length be calculated and are newly accustomed to focal length;
New habits information is generated according to the new habit focal length and the history biological characteristic, and the new habits information is replaced The habits information.
8. the quick identification bar code system according to claim 1 based on code reader characterized by comprising
Matching module goes out corresponding history biological characteristic for the real-time biological characteristic matching according to user, and according to described History biometric matches go out corresponding habits information;
Focus adjustment module for adjusting the focal length of code reader according to the habits information to being accustomed to focal length, and identifies bar code.
9. a kind of computer equipment, can run on a memory and on a processor including memory, processor and storage Computer program, which is characterized in that the processor is realized when executing described program such as any one of claim 1~7 institute The method stated.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The method as described in any one of claim 1~7 is realized when execution.
CN201811005617.7A 2018-08-30 2018-08-30 Quick identification bar code method, system, equipment and storage medium based on code reader Pending CN109145667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811005617.7A CN109145667A (en) 2018-08-30 2018-08-30 Quick identification bar code method, system, equipment and storage medium based on code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811005617.7A CN109145667A (en) 2018-08-30 2018-08-30 Quick identification bar code method, system, equipment and storage medium based on code reader

Publications (1)

Publication Number Publication Date
CN109145667A true CN109145667A (en) 2019-01-04

Family

ID=64829630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811005617.7A Pending CN109145667A (en) 2018-08-30 2018-08-30 Quick identification bar code method, system, equipment and storage medium based on code reader

Country Status (1)

Country Link
CN (1) CN109145667A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110059518A (en) * 2019-04-22 2019-07-26 广东小天才科技有限公司 Code scanning method and device and mobile terminal
CN111131696A (en) * 2019-12-18 2020-05-08 中移(杭州)信息技术有限公司 Focusing method, device, terminal and storage medium
CN112822391A (en) * 2020-07-28 2021-05-18 腾讯科技(深圳)有限公司 Focusing mode control method, device, equipment and computer readable storage medium
CN114564976A (en) * 2022-01-26 2022-05-31 苏州摩比信通智能系统有限公司 Code scanning method of double-camera code scanning engine
CN114722849A (en) * 2022-04-06 2022-07-08 苏州摩比信通智能系统有限公司 Code scanning method of double-camera code scanning engine
CN115204341A (en) * 2022-09-15 2022-10-18 深圳永贵技术有限公司 Intelligent material identification method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010002033A1 (en) * 1999-06-14 2001-05-31 International Business Machines Corp. Automated media storage library with variable focal length lens
CN104165434A (en) * 2014-07-03 2014-11-26 深圳市赛亿科技开发有限公司 Intelligent control method of air purifier
CN204006706U (en) * 2014-06-30 2014-12-10 青岛经济技术开发区海尔热水器有限公司 Water heater and water heater system
CN105955221A (en) * 2016-06-21 2016-09-21 北京百度网讯科技有限公司 Electric appliance equipment control method and apparatus
CN106126992A (en) * 2016-06-27 2016-11-16 惠州Tcl移动通信有限公司 A kind of Intelligent Service based on recognition of face provides method, system and intelligent terminal
CN107131655A (en) * 2017-05-19 2017-09-05 广东芬尼科技股份有限公司 A kind of hot water terminal intelligent adjustment control method and system
CN107358234A (en) * 2017-07-17 2017-11-17 上海青橙实业有限公司 The recognition methods of identification code and device
CN108280171A (en) * 2018-01-19 2018-07-13 广东小天才科技有限公司 Question searching method and system based on handheld photographing equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010002033A1 (en) * 1999-06-14 2001-05-31 International Business Machines Corp. Automated media storage library with variable focal length lens
CN204006706U (en) * 2014-06-30 2014-12-10 青岛经济技术开发区海尔热水器有限公司 Water heater and water heater system
CN104165434A (en) * 2014-07-03 2014-11-26 深圳市赛亿科技开发有限公司 Intelligent control method of air purifier
CN105955221A (en) * 2016-06-21 2016-09-21 北京百度网讯科技有限公司 Electric appliance equipment control method and apparatus
CN106126992A (en) * 2016-06-27 2016-11-16 惠州Tcl移动通信有限公司 A kind of Intelligent Service based on recognition of face provides method, system and intelligent terminal
CN107131655A (en) * 2017-05-19 2017-09-05 广东芬尼科技股份有限公司 A kind of hot water terminal intelligent adjustment control method and system
CN107358234A (en) * 2017-07-17 2017-11-17 上海青橙实业有限公司 The recognition methods of identification code and device
CN108280171A (en) * 2018-01-19 2018-07-13 广东小天才科技有限公司 Question searching method and system based on handheld photographing equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110059518A (en) * 2019-04-22 2019-07-26 广东小天才科技有限公司 Code scanning method and device and mobile terminal
CN111131696A (en) * 2019-12-18 2020-05-08 中移(杭州)信息技术有限公司 Focusing method, device, terminal and storage medium
CN111131696B (en) * 2019-12-18 2021-08-17 中移(杭州)信息技术有限公司 Focusing method, device, terminal and storage medium
CN112822391A (en) * 2020-07-28 2021-05-18 腾讯科技(深圳)有限公司 Focusing mode control method, device, equipment and computer readable storage medium
CN114564976A (en) * 2022-01-26 2022-05-31 苏州摩比信通智能系统有限公司 Code scanning method of double-camera code scanning engine
CN114722849A (en) * 2022-04-06 2022-07-08 苏州摩比信通智能系统有限公司 Code scanning method of double-camera code scanning engine
CN115204341A (en) * 2022-09-15 2022-10-18 深圳永贵技术有限公司 Intelligent material identification method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109145667A (en) Quick identification bar code method, system, equipment and storage medium based on code reader
US11062003B2 (en) Method for adaptive authentication and electronic device supporting the same
US7792678B2 (en) Method and device for enhancing accuracy of voice control with image characteristic
CN113826135B (en) System, method and computer system for contactless authentication using voice recognition
CN108881724A (en) A kind of image acquiring method, device, equipment and storage medium
KR20160147515A (en) Method for authenticating user and electronic device supporting the same
US11636261B2 (en) Capturing and sending one-time passwords using augmented reality glasses
US10194031B2 (en) Apparatus, system, and method of conference assistance
US11520823B2 (en) Information providing system and information providing method
JP6645572B2 (en) Biometric data registration support device, biometric data registration support system, biometric data registration support method, biometric data registration support program
JP2015153267A (en) Information processing unit and method, information processing system and program
US20200090546A1 (en) Smart glass device and method of instructing work by using the same
CN109685514A (en) For the method, apparatus of payment, storage medium and electronic equipment
US20210157841A1 (en) Information providing system and information providing method
KR20210082401A (en) Method and device for updating user image recognition model
US20090153293A1 (en) System and method for controlling access to a handheld device by validating fingerprints
KR101457377B1 (en) User authetication method based on mission gesture recognition, and computer-readable recording medium with user authetication program based on mission gesture recognition
CN109636399A (en) A kind of super face identifying system and recognition methods
US20220277221A1 (en) System and method for improving machine learning training data quality
US20220046128A1 (en) Method and system for remote interaction between at least one user and a human operator and between at least one user and at least one automated agent
AU2022204469B2 (en) Large pose facial recognition based on 3D facial model
CN109995761A (en) Service processing method, device, electronic equipment and storage medium
CN114648315A (en) Virtual interview method, device, equipment and storage medium
US20210065468A1 (en) Systems and methods for artificial intelligence in a vehicle service environment
US20210390304A1 (en) Information processing device and non-transitory computer readable medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190104