CN105654018A - Scanning method and scanning device - Google Patents

Scanning method and scanning device Download PDF

Info

Publication number
CN105654018A
CN105654018A CN201511009601.XA CN201511009601A CN105654018A CN 105654018 A CN105654018 A CN 105654018A CN 201511009601 A CN201511009601 A CN 201511009601A CN 105654018 A CN105654018 A CN 105654018A
Authority
CN
China
Prior art keywords
identification code
character
pattern identification
scanned
place
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
CN201511009601.XA
Other languages
Chinese (zh)
Other versions
CN105654018B (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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201511009601.XA priority Critical patent/CN105654018B/en
Publication of CN105654018A publication Critical patent/CN105654018A/en
Application granted granted Critical
Publication of CN105654018B publication Critical patent/CN105654018B/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/146Methods for optical code recognition the method including quality enhancement steps
    • G06K7/1473Methods for optical code recognition the method including quality enhancement steps error correction

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Character Discrimination (AREA)

Abstract

The invention discloses a scanning method and a scanning device, wherein the scanning method and the scanning device relate to the field of scanning technology and can realize an effect of improving scanning efficiency. The scanning method comprise the steps of configuring the scanning parameter and verification rule of a scanning head after the scanning head is powered; scanning through the scanning head according to the scanning parameter; verifying a scanned graphic identification code according to the verification rule; when the scanned graphic identification code passes through verification, performing identification processing on the scanned graphic identification code; and when verification of the scanned graphic identification code fails, scanning according to the scanning parameter again.

Description

Scan method and device
Technical field
The present invention relates to scanning technique field, particularly relate to a kind of scan method and device.
Background technology
End of scan, is the equipment for reading the comprised information of bar code, can divide for scanning one-dimensional, two-dimensional bar code. Along with the fast development of technology, the end of scan of hand-held is more and more universal, and is widely used in the environment such as supermarket, logistics express delivery, hospital, library, for the bar code of items scanning, document.
In the prior art, first being powered on by probe, then be scanned, end of scan closes probe after terminating scanning, and the bar code obtained is issued just at the application program of barcode scanning, and carries out verification and the identification of bar code to scanning. But, in the above prior art, when bar code check failure, it is necessary to starting to re-execute said process from the step powered on by probe, scan efficiency is low.
Summary of the invention
The present invention provides a kind of scan method and device, for solving the problem that scan efficiency of the prior art is low.
To achieve these goals, the present invention provides a kind of scan method, is applied to end of scan, and described end of scan is provided with probe, including:
After described probe powers on, sweep parameter and verification rule to probe configure;
It is scanned by described probe according to described sweep parameter;
The pattern identification code scanned is verified according to described verification rule;
When the described pattern identification code scanned is by verifying, it is identified the described pattern identification code scanned processing;
When the described pattern identification code check failure scanned, it is scanned again according to described sweep parameter.
Optionally, the described sweep parameter to described probe and verification rule configure, including:
The target identification code type of the pattern identification code to scan is determined according to the current application program at front stage operation;
Determine the intensity of scanning light;
Determine that scan pattern, described scan pattern include quickly scanning or accurate scan; And
Obtain the verification rule corresponding with described target identification code type.
Optionally, the verification rule that described and described target identification code type is corresponding includes: the character figure place of identification code is the first character figure place;
Described the pattern identification code scanned is verified according to described verification rule, including:
The character figure place of the pattern identification code scanned described in acquisition;
Whether the character figure place of the pattern identification code scanned described in identification is described first character figure place;
When the character figure place of the described pattern identification code scanned is described first character figure place, it is determined that described in the pattern identification code that scans by verifying.
Optionally, the verification rule that described and described target identification code type is corresponding includes: the character figure place of identification code is the first character figure place, and the character of the assigned position of identification code is the first preset characters;
Described the pattern identification code scanned is verified according to described verification rule, including:
The character figure place of the pattern identification code scanned described in acquisition;
Whether the character figure place of the pattern identification code scanned described in identification is described first character figure place;
When the character figure place of the described pattern identification code scanned is described first character figure place, whether the pattern identification code scanned described in the identification character in described assigned position is described first preset characters;
When the described pattern identification code the scanned character in described assigned position is described first preset characters, it is determined that described in the pattern identification code that scans by verifying.
Optionally, described when the described pattern identification code scanned is by verifying, it is identified the described pattern identification code scanned processing, including:
When the described pattern identification code scanned is by verifying, close described probe;
The described pattern identification code scanned is sent to the current application program at front stage operation, and by described application program, the described pattern identification code scanned is sent to server;
Receive the product information corresponding with the described pattern identification code scanned that server sends.
The present invention provides a kind of scanning means, is applied to end of scan, and described end of scan is provided with probe, including:
Configuration module, for after described probe powers on, sweep parameter and verification rule to probe configure;
Scan module, for being scanned by described probe according to described sweep parameter;
Correction verification module, for verifying the pattern identification code scanned according to described verification rule;
Processing module, for when the described pattern identification code scanned is by verifying, being identified the described pattern identification code scanned processing;
Described scan module, for when the described pattern identification code check failure scanned, being scanned again according to described sweep parameter.
Optionally, described configuration module, including:
Type identification submodule, for determining the target identification code type of the pattern identification code to scan according to the current application program at front stage operation;
Intensity arranges submodule, for determining the intensity of scanning light;
Pattern arranges submodule, is used for determining that scan pattern, described scan pattern include quickly scanning or accurate scan; And
Rule arranges submodule, for obtaining the verification rule corresponding with described target identification code type.
Optionally, the verification rule that described and described target identification code type is corresponding includes: the character figure place of identification code is the first character figure place;
Described correction verification module, including:
Character obtains submodule, is used for the character figure place of the pattern identification code scanned described in obtaining;
Character recognition submodule, whether the character figure place of the pattern identification code for scanning described in identifying is described first character figure place;
Determine submodule, for when the character figure place of the described pattern identification code scanned is described first character figure place, it is determined that described in the pattern identification code that scans by verifying.
Optionally, the verification rule that described and described target identification code type is corresponding includes: the character figure place of identification code is the first character figure place, and the character of the assigned position of identification code is the first preset characters;
Described correction verification module, including:
Character obtains submodule, is used for the character figure place of the pattern identification code scanned described in obtaining;
First identifies submodule, and whether the character figure place of the pattern identification code for scanning described in identifying is described first character figure place;
Second identifies submodule, and for when the character figure place of the described pattern identification code scanned is described first character figure place, whether the pattern identification code scanned described in the identification character in described assigned position is described first preset characters;
Determine submodule, for when the described pattern identification code the scanned character in described assigned position is described first preset characters, it is determined that described in the pattern identification code that scans by verifying.
Optionally, described processing module, including:
Close closed submodule, for when the described pattern identification code scanned is by verifying, closing described probe;
Send submodule, for the described pattern identification code scanned is sent to the current application program at front stage operation, and by described application program, the described pattern identification code scanned is sent to server;
Receive submodule, for receiving the product information corresponding with the described pattern identification code scanned that server sends.
The scan method of embodiment of the present invention offer and device, after completed scanning by probe, immediately the pattern identification code scanned is verified, when verifying unsuccessfully, be then again scanned, and again verify, until verifying successfully, verifying and just the pattern identification code scanned being sent to application program after successfully, passing through technique scheme, can solve the problem that the problem that scan efficiency of the prior art is low, it is achieved improve the effect of scan efficiency.
Other features and advantages of the present invention will be described in detail in detailed description of the invention part subsequently.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and constitutes the part of description, is used for explaining the present invention, but is not intended that limitation of the present invention together with detailed description below. In the accompanying drawings:
Fig. 1 is the schematic flow sheet of a kind of scan method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of scan method that the embodiment of the present invention provides;
Fig. 3 is a kind of sweep parameter that embodiment illustrated in fig. 2 provides and the schematic flow sheet verifying regular collocation method;
Fig. 4 is the schematic flow sheet of a kind of method of calibration that embodiment illustrated in fig. 2 provides;
Fig. 5 is the schematic flow sheet of the another kind of method of calibration that embodiment illustrated in fig. 2 provides;
Fig. 6 is the structured flowchart of a kind of scanning means that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail. It should be appreciated that detailed description of the invention described herein is merely to illustrate and explains the present invention, it is not limited to the present invention.
Fig. 1 is the schematic flow sheet of a kind of scan method that the embodiment of the present invention provides, described end of scan is provided with probe, this end of scan is provided with one or more application program, these application programs may be used for being undertaken the scanning of pattern identification code by described probe, in the present embodiment, described pattern identification code includes but not limited to: bar code, Quick Response Code and other the pattern identification etc. with presupposed information. Referring to Fig. 1, described method may comprise steps of:
Step 101, after described probe powers on, sweep parameter and verification rule to probe configure.
Wherein, probe is usually cut out before scanning, to save electric energy, therefore when needs scan, first probe is powered on, opens this probe.
Illustratively, sweep parameter can include the identification code type of the pattern identification code to scan, the intensity of scanning light, and scan pattern, wherein scan pattern such as accurate scan or quickly scan. Verification rule is for verifying whether the pattern identification code scanned is effective code, and this verification rule such as can include the character figure place of identification code, is optionally additionally may included in the preset characters of the predeterminated position of identification code.
Step 102, is scanned by described probe according to described sweep parameter.
Step 103, verifies the pattern identification code scanned according to described verification rule.
Illustratively, carry out verification according to described verification rule can pass through to compare the character figure place of the character figure place of the pattern identification code scanned with described verification rule regulation, the pattern identification code scanned described in when the two is identical can pass through to verify, and otherwise verifies failure.
When verification rule is also provided with when the preset characters of the predeterminated position of identification code, except the comparison of above-mentioned character figure place, also need to the described preset characters by the character at described predeterminated position of the pattern identification code scanned with verification rule regulation compare, when the two is also identical, described in the pattern identification code that scans can pass through to verify.
Step 104, when the described pattern identification code scanned is by verifying, is identified the described pattern identification code scanned processing.
Illustratively, when the described pattern identification code scanned is by verifying, it is possible to the described pattern identification code scanned is sent to the current application program at front stage operation, this application program be identified processing.
When the described pattern identification code check failure scanned, again carry out step 102 and be scanned according to described sweep parameter.
The scan method that the embodiment of the present invention provides, after completed scanning by probe, immediately the pattern identification code scanned is verified, when verifying unsuccessfully, be then again scanned, and again verify, until verifying successfully, it is not necessary to wait and verify again after the pattern identification code scanned is sent to application program, pass through technique scheme, can solve the problem that the problem that scan efficiency of the prior art is low, it is achieved improve the effect of scan efficiency.
Fig. 2 is the schematic flow sheet of the another kind of scan method that the embodiment of the present invention provides, the method can apply to a kind of scanning means, this scanning means can pass through the form of software or hardware or the two combination and constitute the some or all of of end of scan, described end of scan is provided with probe, this end of scan is provided with one or more application program, these application programs may be used for being undertaken the scanning of pattern identification code by described probe, in the present embodiment, described pattern identification code includes but not limited to: bar code, Quick Response Code and other the pattern identification etc. with presupposed information. referring to Fig. 2, described method may comprise steps of:
Step 201, powers on probe.
Wherein, probe is usually cut out before scanning, to save electric energy, therefore when needs scan, first probe is powered on, opens this probe. Illustratively, probe may include that light pen probe, CCD (ChargeCoupleDevice, charge coupled cell) probe, laser scanning head, video type HONGGUANG probe or photographic head.
Step 202, sweep parameter and verification rule to probe configure.
Wherein, sweep parameter can include the identification code type of the pattern identification code to scan, the intensity of scanning light, and scan pattern, wherein scan pattern such as accurate scan or quickly scan. Verification rule is for verifying whether the pattern identification code scanned is effective code, and this verification rule such as can include the character figure place of identification code, is optionally additionally may included in the preset characters of the predeterminated position of identification code.
Illustratively, Fig. 3 is a kind of sweep parameter that embodiment illustrated in fig. 2 provides and the schematic flow sheet verifying regular collocation method, carries out configuration may include that referring to Fig. 3, the sweep parameter to probe described in step 202 and verification rule
Step 2021, determines the target identification code type of the pattern identification code to scan according to the current application program at front stage operation.
The described current application program at front stage operation is the application program being currently executing scan operation, the different types of application program for scanning, or the type of the pattern identification that the page of the difference in functionality of same application to scan is also different, therefore by analyzing the current application program at front stage operation, it is possible to realize automatically identifying the target identification code type of the pattern identification code to scan. such as, the current application program at front stage operation is for being used for identifying supermarket commodity barcode scanning program, then may determine that target identification code type is standard merchandise bar code according to this application program, such as EAN (EuropeanArticleNumber, European Article encodes)-13 bar codes, EAN-13 bar code is a kind of bar code, this can represent 13 characters, wherein 1-3 position represents country code, such as 690--695 is the code of China, general 4-7 position represents production firm's code, applied for by each manufacturer, distributed by country, commercial product code in the factory of 8-12 position, determined voluntarily by manufacturer, 13rd totally 1, it it is check code, according to certain algorithm, obtained by calculating by above 12 Digital sum, for correcting the recognition mistake produced in scanning process. again such as, currently at the application program of front stage operation for being used for identifying the application program of QR code (QuickResponseCode, quick response codes), then may determine that target identification code type is QR code according to this application program. QR code is a kind of matrix two-dimensional code, and the feature that the information capacity that has is big, the character figure place that it can hold can reach 21*21 (version 1) to 177*177 (edition 4 0).
Step 2022, it is determined that the intensity of scanning light.
The intensity of scanning light, the intensity of the scanning light that namely probe sends when scanning.
Step 2023, it is determined that scan pattern, described scan pattern includes quickly scanning or accurate scan.
Example, quickly scanning can be run-down, and accurate scan can be scan repeatedly, and the result every time scanned is compared.
Wherein, there is no fixing execution sequence between step 2021, step 2022 and step 2023, it is possible to preferential execution any one step therein, it is also possible to simultaneously perform at least two steps therein.
Step 2024, obtains the verification rule corresponding with described target identification code type.
Verification rule is for verifying whether the pattern identification code scanned is effective code, and this verification rule such as can include the character figure place of identification code. In this case, the character figure place that described target identification code type is corresponding can be obtained according to the target identification code type that step 2021 is determined, obtain the first character figure place, such that it is able to verification rule be set to: the character figure place of identification code is the first character figure place.For described target identification code type for EAN-13 code, the character figure place of EAN-13 code is 13, then accordingly, it is possible to verification rule be set to: the character figure place of identification code is 13.
Optionally, it is also possible to verification rule includes: the character in the assigned position of identification code is the first preset characters. For described target identification code type for EAN-13 code, it is possible to be arranged on the numeral that the character of the front three of identification code should be within the scope of 690--695.
Step 203, is scanned by described probe according to described sweep parameter.
Illustratively, scanning process includes: first, obtains the image comprising graphical identification code, secondly the described image obtained is resolved, obtains the graphical identification code comprised in described image.
Step 204, verifies the pattern identification code scanned according to described verification rule.
In one implementation, described verification rule includes: the character figure place of identification code is the first character figure place, the step then carrying out verifying according to described verification rule may refer to the schematic flow sheet that Fig. 4, Fig. 4 are a kind of methods of calibration that embodiment illustrated in fig. 2 provides, it is possible to including:
Step 2041, the character figure place of the pattern identification code scanned described in acquisition.
Step 2042, whether the character figure place of the pattern identification code scanned described in identification is described first character figure place.
When the character figure place of the described pattern identification code scanned is described first character figure place, carry out step 2043, when the character figure place of the described pattern identification code scanned is not described first character figure place, carry out step 2044.
Step 2043, it is determined that described in the pattern identification code that scans by verifying.
Step 2044, it is determined that described in scan pattern identification code check failure.
For described target identification code type for EAN-13 code, then verification rule is: described first character figure place is 13, then may determine that whether the character figure place of the pattern identification code scanned is 13, if 13 then can verify successfully, then verify failure if not 13.
In another kind of implementation, described verification rule includes: the character figure place of identification code is the first character figure place, and the character in the assigned position of identification code is the first preset characters, the step then carrying out verifying according to described verification rule may refer to Fig. 5, Fig. 5 is the schematic flow sheet of the another kind of method of calibration that embodiment illustrated in fig. 2 provides, it is possible to including:
Step 2045, the character figure place of the pattern identification code scanned described in acquisition.
Step 2046, whether the character figure place of the pattern identification code scanned described in identification is described first character figure place.
When the character figure place of the described pattern identification code scanned is described first character figure place, carry out step 2047, when the character figure place of the described pattern identification code scanned is not described first character figure place, carry out step step 2409.
Step 2047, whether the pattern identification code scanned described in the identification character in described assigned position is described first preset characters.
When the described pattern identification code the scanned character in described assigned position is described first preset characters, carry out step 2048; When the described pattern identification code scanned not is described first preset characters at the character of described assigned position, carry out step 2049.
Step 2048, it is determined that described in the pattern identification code that scans by verifying.
Step 2409, it is determined that described in scan pattern identification code check failure.
For described target identification code type for EAN-13 code, then verification rule is: described first character figure place is 13 and first 3 is numeral within the scope of 690--695, then may determine that whether the character figure place of the pattern identification code scanned is 13, if the character figure place of the pattern identification code scanned is not 13, verify failure, if whether 13 then continue the pattern identification code that checking scans first 3 are the numeral within the scope of 690--695, if first 3 is numeral within the scope of 690--695, then can pass through to verify, then illustrate that the pattern identification code scanned is not the code of China if not numeral within the scope of 690--695, for invalid code, authentication failed.
Step 205, when the described pattern identification code scanned is by verifying, closes described probe.
Step 206, sends the described pattern identification code scanned to the current application program at front stage operation.
Illustratively, it is possible to by sending broadcast to described application program, or the described pattern identification code scanned is sent to described application program by particular message.
Step 207, is sent to server by described application program by the described pattern identification code scanned.
Illustratively, it is provided with product database in the server, in described product database, record has the product information corresponding with each pattern identification code, server, after the pattern identification code scanned described in receiving, can inquire the product information corresponding with the described pattern identification code scanned in described product database.
Step 208, receives the product information corresponding with the described pattern identification code scanned that server sends.
The scan method that the embodiment of the present invention provides, after completed scanning by probe, immediately the pattern identification code scanned is verified, when verifying unsuccessfully, be then again scanned, and again verify, until verifying successfully, it is not necessary to wait and verify again after the pattern identification code scanned is sent to application program, pass through technique scheme, can solve the problem that the problem that scan efficiency of the prior art is low, it is achieved improve the effect of scan efficiency.
Fig. 6 is the structured flowchart of a kind of scanning means that the embodiment of the present invention provides, this device 600 may be used for performing the arbitrary shown method of Fig. 1 to Fig. 5, this device 600 can pass through the form of software or hardware or the two combination and constitute the some or all of of end of scan, described end of scan is provided with probe, this end of scan is provided with one or more application program, these application programs may be used for being undertaken the scanning of pattern identification code by described probe, in the present embodiment, described pattern identification code includes but not limited to: bar code, Quick Response Code and other the pattern identification etc. with presupposed information. referring to Fig. 6, this device 600 may include that
Configuration module 610, for after described probe powers on, sweep parameter and verification rule to probe configure;
Scan module 620, for being scanned by described probe according to described sweep parameter;
Correction verification module 630, for verifying the pattern identification code scanned according to described verification rule;
Processing module 640, for when the described pattern identification code scanned is by verifying, being identified the described pattern identification code scanned processing;
Described scan module 620, for when the described pattern identification code check failure scanned, being scanned again according to described sweep parameter.
Optionally, described configuration module 610, including:
Type identification submodule, for determining the target identification code type of the pattern identification code to scan according to the current application program at front stage operation;
Intensity arranges submodule, for determining the intensity of scanning light;
Pattern arranges submodule, is used for determining that scan pattern, described scan pattern include quickly scanning or accurate scan; And
Rule arranges submodule, for obtaining the verification rule corresponding with described target identification code type.
Optionally, the verification rule that described and described target identification code type is corresponding includes: the character figure place of identification code is the first character figure place;
Described correction verification module 630, including:
Character obtains submodule, is used for the character figure place of the pattern identification code scanned described in obtaining;
Character recognition submodule, whether the character figure place of the pattern identification code for scanning described in identifying is described first character figure place;
Determine submodule, for when the character figure place of the described pattern identification code scanned is described first character figure place, it is determined that described in the pattern identification code that scans by verifying.
Optionally, the verification rule that described and described target identification code type is corresponding includes: the character figure place of identification code is the first character figure place, and the character of the assigned position of identification code is the first preset characters;
Described correction verification module 630, including:
Character obtains submodule, is used for the character figure place of the pattern identification code scanned described in obtaining;
First identifies submodule, and whether the character figure place of the pattern identification code for scanning described in identifying is described first character figure place;
Second identifies submodule, and for when the character figure place of the described pattern identification code scanned is described first character figure place, whether the pattern identification code scanned described in the identification character in described assigned position is described first preset characters;
Determine submodule, for when the described pattern identification code the scanned character in described assigned position is described first preset characters, it is determined that described in the pattern identification code that scans by verifying.
Optionally, described processing module 640, including:
Close closed submodule, for when the described pattern identification code scanned is by verifying, closing described probe;
Send submodule, for sending the described pattern identification code scanned to the current application program at front stage operation, and by described application program by the described pattern identification code server scanned;
Receive submodule, for receiving the product information corresponding with the described pattern identification code scanned that server sends.
The scanning means that the embodiment of the present invention provides, after completed scanning by probe, immediately the pattern identification code scanned is verified, when verifying unsuccessfully, be then again scanned, and again verify, until verifying successfully, it is not necessary to wait and verify again after the pattern identification code scanned is sent to application program, pass through technique scheme, can solve the problem that the problem that scan efficiency of the prior art is low, it is achieved improve the effect of scan efficiency.
The preferred embodiment of the present invention is described in detail above in association with accompanying drawing; but; the present invention is not limited to the detail in above-mentioned embodiment; in the technology concept of the present invention; technical scheme can being carried out multiple simple variant, these simple variant belong to protection scope of the present invention.
It is further to note that, each concrete technical characteristic described in above-mentioned detailed description of the invention, in reconcilable situation, it is possible to be combined by any suitable mode, in order to avoid unnecessary repetition, various possible compound modes are no longer illustrated by the present invention separately.
Additionally, can also carry out combination in any between the various different embodiment of the present invention, as long as it is without prejudice to the thought of the present invention, it should be considered as content disclosed in this invention equally.

Claims (10)

1. a scan method, it is characterised in that being applied to end of scan, described end of scan is provided with probe, including:
After described probe powers on, sweep parameter and verification rule to probe configure;
It is scanned by described probe according to described sweep parameter;
The pattern identification code scanned is verified according to described verification rule;
When the described pattern identification code scanned is by verifying, it is identified the described pattern identification code scanned processing;
When the described pattern identification code check failure scanned, it is scanned again according to described sweep parameter.
2. method according to claim 1, it is characterised in that the described sweep parameter to described probe and verification rule configure, including:
The target identification code type of the pattern identification code to scan is determined according to the current application program at front stage operation;
Determine the intensity of scanning light;
Determine that scan pattern, described scan pattern include quickly scanning or accurate scan; And
Obtain the verification rule corresponding with described target identification code type.
3. method according to claim 2, it is characterised in that the verification rule that described and described target identification code type is corresponding includes: the character figure place of identification code is the first character figure place;
Described the pattern identification code scanned is verified according to described verification rule, including:
The character figure place of the pattern identification code scanned described in acquisition;
Whether the character figure place of the pattern identification code scanned described in identification is described first character figure place;
When the character figure place of the described pattern identification code scanned is described first character figure place, it is determined that described in the pattern identification code that scans by verifying.
4. method according to claim 2, it is characterised in that the verification rule that described and described target identification code type is corresponding includes: the character figure place of identification code is the first character figure place, and the character in the assigned position of identification code is the first preset characters;
Described the pattern identification code scanned is verified according to described verification rule, including:
The character figure place of the pattern identification code scanned described in acquisition;
Whether the character figure place of the pattern identification code scanned described in identification is described first character figure place;
When the character figure place of the described pattern identification code scanned is described first character figure place, whether the pattern identification code scanned described in the identification character in described assigned position is described first preset characters;
When the described pattern identification code the scanned character in described assigned position is described first preset characters, it is determined that described in the pattern identification code that scans by verifying.
5. the method according to any one of claim 1-4, it is characterised in that described when the described pattern identification code scanned is by verifying, is identified the described pattern identification code scanned processing, including:
When the described pattern identification code scanned is by verifying, close described probe;
The described pattern identification code scanned is sent to the current application program at front stage operation, and by described application program, the described pattern identification code scanned is sent to server;
Receive the product information corresponding with the described pattern identification code scanned that server sends.
6. a scanning means, it is characterised in that being applied to end of scan, described end of scan is provided with probe, including:
Configuration module, for after described probe powers on, sweep parameter and verification rule to probe configure;
Scan module, for being scanned by described probe according to described sweep parameter;
Correction verification module, for verifying the pattern identification code scanned according to described verification rule;
Processing module, for when the described pattern identification code scanned is by verifying, being identified the described pattern identification code scanned processing;
Described scan module, for when the described pattern identification code check failure scanned, being scanned again according to described sweep parameter.
7. device according to claim 6, it is characterised in that described configuration module, including:
Type identification submodule, for determining the target identification code type of the pattern identification code to scan according to the current application program at front stage operation;
Intensity arranges submodule, for determining the intensity of scanning light;
Pattern arranges submodule, is used for determining that scan pattern, described scan pattern include quickly scanning or accurate scan; And
Rule arranges submodule, for obtaining the verification rule corresponding with described target identification code type.
8. device according to claim 7, it is characterised in that the verification rule that described and described target identification code type is corresponding includes: the character figure place of identification code is the first character figure place;
Described correction verification module, including:
Character obtains submodule, is used for the character figure place of the pattern identification code scanned described in obtaining;
Character recognition submodule, whether the character figure place of the pattern identification code for scanning described in identifying is described first character figure place;
Determine submodule, for when the character figure place of the described pattern identification code scanned is described first character figure place, it is determined that described in the pattern identification code that scans by verifying.
9. device according to claim 7, it is characterised in that the verification rule that described and described target identification code type is corresponding includes: the character figure place of identification code is the first character figure place, and the character of the assigned position of identification code is the first preset characters;
Described correction verification module, including:
Character obtains submodule, is used for the character figure place of the pattern identification code scanned described in obtaining;
First identifies submodule, and whether the character figure place of the pattern identification code for scanning described in identifying is described first character figure place;
Second identifies submodule, and for when the character figure place of the described pattern identification code scanned is described first character figure place, whether the pattern identification code scanned described in the identification character in described assigned position is described first preset characters;
Determine submodule, for when the described pattern identification code the scanned character in described assigned position is described first preset characters, it is determined that described in the pattern identification code that scans by verifying.
10. the device according to any one of claim 6-9, it is characterised in that described processing module, including:
Close closed submodule, for when the described pattern identification code scanned is by verifying, closing described probe;
Send submodule, for the described pattern identification code scanned is sent to the current application program at front stage operation, and by described application program, the described pattern identification code scanned is sent to server;
Receive submodule, for receiving the product information corresponding with the described pattern identification code scanned that server sends.
CN201511009601.XA 2015-12-29 2015-12-29 Scan method and device Active CN105654018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511009601.XA CN105654018B (en) 2015-12-29 2015-12-29 Scan method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511009601.XA CN105654018B (en) 2015-12-29 2015-12-29 Scan method and device

Publications (2)

Publication Number Publication Date
CN105654018A true CN105654018A (en) 2016-06-08
CN105654018B CN105654018B (en) 2018-09-14

Family

ID=56478295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511009601.XA Active CN105654018B (en) 2015-12-29 2015-12-29 Scan method and device

Country Status (1)

Country Link
CN (1) CN105654018B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107657198A (en) * 2016-07-26 2018-02-02 昆山研达电脑科技有限公司 BCR bar code scanning methods
CN113095451A (en) * 2021-03-24 2021-07-09 长沙市斯帕克电子科技有限公司 Atmosphere prop data transmission method and device, computer equipment and storage medium
CN113435450A (en) * 2021-06-28 2021-09-24 澳柯玛股份有限公司 Product number verification system and method based on OCR recognition
EP3765979A4 (en) * 2018-03-14 2021-12-08 Security Matters Ltd. Systems and methods for supply chain management and integrity verification via blockchain

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1039408A (en) * 1973-07-17 1978-09-26 George E. Chadima (Jr.) Bar code scanner
CN2393160Y (en) * 1999-08-06 2000-08-23 威海北洋电气集团股份有限公司 Hand-held bar-card reader
CN2435789Y (en) * 2000-07-12 2001-06-20 张念录 Portable scanning decipher identification reader
CN1384466A (en) * 2001-05-09 2002-12-11 力捷电脑股份有限公司 Image scanning system and method of scanner
US20080223940A1 (en) * 2007-03-15 2008-09-18 Shao-Hsuan Lee Electronic ticket management system
CN202995803U (en) * 2012-08-07 2013-06-12 重庆春涵科技发展有限公司 Product identification system based on internet of things
EP2634001A1 (en) * 2010-10-29 2013-09-04 Peking University Founder Group Co., Ltd A device for printing bar code of variable data and the motheod there of
CN103839148A (en) * 2014-03-18 2014-06-04 上海电机学院 Express recognizing and sorting system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1039408A (en) * 1973-07-17 1978-09-26 George E. Chadima (Jr.) Bar code scanner
CN2393160Y (en) * 1999-08-06 2000-08-23 威海北洋电气集团股份有限公司 Hand-held bar-card reader
CN2435789Y (en) * 2000-07-12 2001-06-20 张念录 Portable scanning decipher identification reader
CN1384466A (en) * 2001-05-09 2002-12-11 力捷电脑股份有限公司 Image scanning system and method of scanner
US20080223940A1 (en) * 2007-03-15 2008-09-18 Shao-Hsuan Lee Electronic ticket management system
EP2634001A1 (en) * 2010-10-29 2013-09-04 Peking University Founder Group Co., Ltd A device for printing bar code of variable data and the motheod there of
CN202995803U (en) * 2012-08-07 2013-06-12 重庆春涵科技发展有限公司 Product identification system based on internet of things
CN103839148A (en) * 2014-03-18 2014-06-04 上海电机学院 Express recognizing and sorting system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107657198A (en) * 2016-07-26 2018-02-02 昆山研达电脑科技有限公司 BCR bar code scanning methods
EP3765979A4 (en) * 2018-03-14 2021-12-08 Security Matters Ltd. Systems and methods for supply chain management and integrity verification via blockchain
CN113095451A (en) * 2021-03-24 2021-07-09 长沙市斯帕克电子科技有限公司 Atmosphere prop data transmission method and device, computer equipment and storage medium
CN113435450A (en) * 2021-06-28 2021-09-24 澳柯玛股份有限公司 Product number verification system and method based on OCR recognition

Also Published As

Publication number Publication date
CN105654018B (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN105654018A (en) Scanning method and scanning device
KR102002889B1 (en) Voice print verification method and apparatus, storage medium and device
US20160292262A1 (en) System and method for extracting data from a non-structured document
US11489676B2 (en) Blockchain internet-of-things system and related method
US20080253608A1 (en) Systems, Devices, and/or Methods for Managing Images
CN104468531A (en) Authorization method, device and system for sensitive data
CN111401095A (en) Method, device, equipment and storage medium for identifying damaged two-dimensional code
CN105682090A (en) Device control method and control terminal response method and apparatus
KR101588425B1 (en) Method and system for providing coupon service
KR20210123051A (en) Method for automatically inspecting products using video information
WO2014145741A1 (en) System and method for conversion of fingerprint cards into digital format using machine readable code
JP2017083915A (en) Two-dimensional code, two-dimensional code system, two-dimensional code imaging terminal and information processing method using two-dimensional code
CN104616163A (en) Lottery drawing identification code management method and device
EP3428832B1 (en) System and method for augmented reality configuration of indicia readers
US10430628B2 (en) Slip processing device, slip processing method, and recording medium
CN110780625B (en) Automatic control method, device and equipment for pre-assembly line and storage medium
CN113228031B (en) Authentication for connecting a barcode reader to a client computing device
CN112906418A (en) Apparatus, method and computer program product for automatic delivery of proofs using visual markers
CN106778994B (en) Two-dimensional code generation and analysis method and device
KR20210123050A (en) Apparatus for automatically inspecting products using video information
CN105306603A (en) Network verification system and method, client and server
US20090084849A1 (en) Method and apparatus for reading indicia
US20210406544A1 (en) Apparatuses, computer-implemented methods, and computer program products for automatic item searching and verification
CN113572826A (en) Equipment information binding method and system and electronic equipment
Ismail et al. A comprehensive study of using 2D barcode for multi robot labelling and communication

Legal Events

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