[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105654018B - Scan method and device - Google Patents

Scan method and device Download PDF

Info

Publication number
CN105654018B
CN105654018B CN201511009601.XA CN201511009601A CN105654018B CN 105654018 B CN105654018 B CN 105654018B CN 201511009601 A CN201511009601 A CN 201511009601A CN 105654018 B CN105654018 B CN 105654018B
Authority
CN
China
Prior art keywords
identification code
scanned
pattern identification
character
scan
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.)
Active
Application number
CN201511009601.XA
Other languages
Chinese (zh)
Other versions
CN105654018A (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 kind of scan method and devices, are related to scanning technique field, can realize the effect for improving scan efficiency.This method includes:After the probe powers on, sweep parameter and verification rule to probe configure;It is scanned by the probe according to the sweep parameter;The pattern identification code scanned is verified according to the verification rule;When the pattern identification code scanned passes through verification, processing is identified to the pattern identification code scanned;When the pattern identification code check failure scanned, it is scanned again according to the sweep parameter.

Description

Scan method and device
Technical field
The present invention relates to scanning technique field more particularly to a kind of scan method and devices.
Background technology
End of scan is the equipment for reading the included information of bar code, can divide for scanning one-dimensional, two-dimensional bar code.With The fast development of technology, the end of scan of hand-held is more and more universal, and is widely used in supermarket, logistics express delivery, hospital, figure The environment such as book shop, for items scanning, the bar code of document.
In the prior art, first probe is powered on, is then scanned, end of scan is closed after terminating to scan and swept Head is retouched, and obtained bar code is issued into the application program just in barcode scanning, and carries out the verification and identification of the bar code to scanning.But It is in the above prior art, when code check fails, to need to re-execute since the step of powering on probe above-mentioned Process, scan efficiency are low.
Invention content
A kind of scan method of present invention offer and device, for solving the problems, such as that scan efficiency in the prior art is low.
To achieve the goals above, the present invention provides a kind of scan method, is applied to end of scan, and the end of scan is set It is equipped with probe, including:
After the probe powers on, sweep parameter and verification rule to probe configure;
It is scanned by the probe according to the sweep parameter;
The pattern identification code scanned is verified according to the verification rule;
When the pattern identification code scanned passes through verification, place is identified to the pattern identification code scanned Reason;
When the pattern identification code check failure scanned, it is scanned again according to the sweep parameter.
Optionally, the sweep parameter to the probe and verification rule configure, including:
According to currently in the target identification code type of the application program determination of the front stage operation pattern identification code to be scanned;
Determine the intensity of scanning light;
Determine that scan pattern, the scan pattern include quick scanning or accurate scan;And
Obtain verification rule corresponding with the target identification code type.
Optionally, the verification rule corresponding with the target identification code type includes:The character digit of identification code is First character digit;
It is described to verify the pattern identification code scanned according to the verification rule, including:
Obtain the character digit of the pattern identification code scanned;
Identify whether the character digit of the pattern identification code scanned is the first character digit;
When the character digit of the pattern identification code scanned is the first character digit, determine that the scanning is arrived Pattern identification code pass through verification.
Optionally, the verification rule corresponding with the target identification code type includes:The character digit of identification code is The character of first character digit, the specified position of identification code is the first preset characters;
It is described to verify the pattern identification code scanned according to the verification rule, including:
Obtain the character digit of the pattern identification code scanned;
Identify whether the character digit of the pattern identification code scanned is the first character digit;
When the character digit of the pattern identification code scanned is the first character digit, identify that the scanning is arrived Character of the pattern identification code in the specified position whether be first preset characters;
When the pattern identification code scanned the specified position character be first preset characters when, determine The pattern identification code scanned passes through verification.
Optionally, described when the pattern identification code scanned passes through verification, to the pattern identification scanned Processing is identified in code, including:
When the pattern identification code scanned passes through verification, the probe is closed;
The pattern identification code scanned is sent to the currently application program in front stage operation, and passes through the application The pattern identification code scanned is sent to server by program;
Receive the product information corresponding with the pattern identification code scanned that server is sent.
The present invention provides a kind of scanning means, is applied to end of scan, and the end of scan is provided with probe, including:
Configuration module, after being powered in the probe, sweep parameter and verification rule to probe are matched It sets;
Scan module, for being scanned by the probe according to the sweep parameter;
Correction verification module, the pattern identification code for will scan are verified according to the verification rule;
Processing module, for when the pattern identification code scanned passes through verification, to the figure mark scanned Know code and processing is identified;
The scan module, when pattern identification code check failure for scanning when described, again according to the scanning Parameter is scanned.
Optionally, the configuration module, including:
Type identification submodule, for according to currently in the application program determination of the front stage operation pattern identification code to be scanned Target identification code type;
Submodule is arranged in intensity, the intensity for determining scanning light;
Mode setting submodule, for determining that scan pattern, the scan pattern include quick scanning or accurate scan;With And
Rule setting submodule, for obtaining verification rule corresponding with the target identification code type.
Optionally, the verification rule corresponding with the target identification code type includes:The character digit of identification code is First character digit;
The correction verification module, including:
Character acquisition submodule, the character digit for obtaining the pattern identification code scanned;
Character recognition submodule, whether the character digit of the pattern identification code scanned is described first for identification Character digit;
Determination sub-module is the first character digit for the character digit when the pattern identification code scanned When, determine that the pattern identification code scanned passes through verification.
Optionally, the verification rule corresponding with the target identification code type includes:The character digit of identification code is The character of first character digit, the specified position of identification code is the first preset characters;
The correction verification module, including:
Character acquisition submodule, the character digit for obtaining the pattern identification code scanned;
First identification submodule, whether the character digit of the pattern identification code scanned is described first for identification Character digit;
Second identification submodule, is first character bit for the character digit when the pattern identification code scanned When number, identify whether character of the pattern identification code scanned in the specified position is first preset characters;
Determination sub-module, for being described first when character of the pattern identification code scanned in the specified position When preset characters, determine that the pattern identification code scanned passes through verification.
Optionally, the processing module, including:
Submodule is closed, for when the pattern identification code scanned passes through verification, closing the probe;
Sending submodule, for the pattern identification code scanned to be sent to the currently application journey in front stage operation Sequence, and the pattern identification code scanned is sent to by server by the application program;
Receiving submodule, product corresponding with the pattern identification code scanned the letter for receiving server transmission Breath.
Scan method provided in an embodiment of the present invention and device immediately arrive scanning after completing scanning by probe Pattern identification code verified, when verifying failure, be then scanned again, and verified again, until verify successfully, The pattern identification code scanned is just sent to application program after verifying successfully, through the above technical solutions, can solve existing The low problem of scan efficiency in technology, realizes the effect for improving scan efficiency.
Other features and advantages of the present invention will be described in detail in subsequent specific embodiment part.
Description of the drawings
Attached drawing is to be used to provide further understanding of the present invention, an and part for constitution instruction, with following tool Body embodiment is used to explain the present invention together, but is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow diagram of scan method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another scan method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the configuration method of a kind of sweep parameter that embodiment illustrated in fig. 2 provides and verification rule;
Fig. 4 is a kind of flow diagram for method of calibration that embodiment illustrated in fig. 2 provides;
Fig. 5 is the flow diagram for another method of calibration that embodiment illustrated in fig. 2 provides;
Fig. 6 is a kind of structure diagram of scanning means provided in an embodiment of the present invention.
Specific implementation mode
The specific implementation mode of the present invention is described in detail below in conjunction with attached drawing.It should be understood that this place is retouched The specific implementation mode stated is merely to illustrate and explain the present invention, and is not intended to restrict the invention.
Fig. 1 is a kind of flow diagram of scan method provided in an embodiment of the present invention, and the end of scan, which is provided with, to be swept Head is retouched, one or more application program is provided on the end of scan, these application programs can be used for through the scanning Head carries out the scanning of pattern identification code, and in the present embodiment, the pattern identification code includes but not limited to:Bar code, two dimension Code and other pattern identifications etc. with presupposed information.Referring to Fig. 1, the method may include following steps:
Step 101, after the probe powers on, sweep parameter and verification rule to probe configure.
Wherein, probe is usually before scanning and closes, to save electric energy, therefore when needing scanning, first to scanning Head is powered on, and the probe is opened.
Illustratively, sweep parameter may include the mark code type for the pattern identification code to be scanned, and scan the intensity of light, with And scan pattern, wherein scan pattern such as accurate scan either quickly scanning.Verification rule is for verifying the figure scanned Whether shape identification code is effective code, which for example may include the character digit of identification code, can also include optionally In the preset characters of the predeterminated position of identification code.
Step 102, it is scanned by the probe according to the sweep parameter.
Step 103, the pattern identification code scanned is verified according to the verification rule.
Illustratively, carrying out verification according to verification rule can be by the character digit for the pattern identification code that will be scanned It is compared with character digit as defined in verification rule, when the two is identical, the pattern identification code scanned can lead to Verification is crossed, otherwise verification failure.
When being also provided in the preset characters of the predeterminated position of identification code in verification rule, in addition to above-mentioned character digit Compare outer, it is also necessary to by character of pattern identification code scan in the predeterminated position with verify it is regular as defined in it is described pre- If character is compared, when the two is also identical, the pattern identification code scanned can pass through verification.
Step 104, when the pattern identification code scanned passes through verification, to the pattern identification code scanned into Row identifying processing.
It illustratively, can be by the pattern identification scanned when the pattern identification code scanned passes through verification Code is sent to the currently application program in front stage operation, and processing is identified by the application program.
When the pattern identification code check failure scanned when described, carry out again step 102 according to the sweep parameter into Row scanning.
Scan method provided in an embodiment of the present invention, after completing scanning by probe, the figure to scanning immediately Identification code is verified, and when verifying failure, is then scanned again, and verified again, until verifying successfully, it is not necessary to etc. The pattern identification code scanned is sent to after application program and is verified again, through the above technical solutions, can solve existing The low problem of scan efficiency in technology, realizes the effect for improving scan efficiency.
Fig. 2 is the flow diagram of another scan method provided in an embodiment of the present invention, and this method can be applied to one Kind scanning means, the scanning means can pass through the part that the software form that either hardware or the two combine constitutes end of scan Or all, the end of scan is provided with probe, one or more application program is provided on the end of scan, these Application program can be used for carrying out the scanning of pattern identification code, in the present embodiment, the pattern identification by the probe Code include but not limited to:Bar code, Quick Response Code and other pattern identifications etc. with presupposed information.It is described referring to Fig. 2 Method may comprise steps of:
Step 201, probe is powered on.
Wherein, probe is usually before scanning and closes, to save electric energy, therefore when needing scanning, first to scanning Head is powered on, and the probe is opened.Illustratively, probe may include:Light pen probe, CCD (Charge Couple Device, charge coupled cell) probe, laser scanning head, video type feux rouges probe or camera.
Step 202, the sweep parameter of probe and verification rule are configured.
Wherein, sweep parameter may include the mark code type for the pattern identification code to be scanned, and scan the intensity of light, and The either quickly scanning of scan pattern, wherein scan pattern such as accurate scan.Verification rule is for verifying the figure scanned Whether identification code is effective code, which for example may include the character digit of identification code, can also optionally be included in The preset characters of the predeterminated position of identification code.
Illustratively, Fig. 3 is a kind of flow of the configuration method of sweep parameter and verification rule that embodiment illustrated in fig. 2 provides Schematic diagram, referring to Fig. 3, the sweep parameter to probe described in step 202 carries out configuration with verification rule and may include:
Step 2021, according to currently in the target identification of the application program determination of the front stage operation pattern identification code to be scanned Code type.
Described is currently to be currently executing the application program of scan operation, inhomogeneity in the application program of front stage operation The class of the page pattern identification to be scanned of the different function of the application program or same application for scanning of type Type is also different, therefore by analyzing currently in the application program of front stage operation, so that it may to realize the automatic identification figure to be scanned The target identification code type of identification code.For example, being currently supermarket's commodity barcode scanning journey for identification in the application program of front stage operation Sequence then can determine that target identification code type is standard merchandise bar code, such as EAN (European according to the application program Article Number, European Article coding) -13 bar codes, EAN-13 bar codes are a kind of bar codes, this can indicate 13 Position character, wherein 1-3 expression country codes, such as 690--695 is the code of China, general 4-7 expressions factory Shang dynasty code, is applied by each manufacturer, is distributed by country, and commercial product code in 8-12 factories is voluntarily determined by manufacturer, the 13rd totally 1 Position, is check code, according to certain algorithm, is obtained by calculating by 12 Digital sum of front, for correcting in scanning process The recognition mistake of generation.In another example being currently QR codes (Quick Response for identification in the application program of front stage operation Code, quick response codes) application program, then according to the application program can determine target identification code type be QR codes.QR codes It is a kind of matrix two-dimensional code, the big feature of the information capacity having, the character digit that can be accommodated can reach 21*21 (versions This is 1) to 177*177 (edition 4 0).
Step 2022, the intensity of scanning light is determined.
Scan the intensity of light, i.e., the intensity for the scanning light that probe is sent out in scanning.
Step 2023, determine that scan pattern, the scan pattern include quick scanning or accurate scan.
Exemplary, quickly scanning can be run-down, and accurate scan can be that scanning is multiple, and the knot that will be scanned every time Fruit is compared.
Wherein, do not have between step 2021, step 2022 and step 2023 it is fixed execute sequence, can preferentially execute it In any one step, at least two steps therein can also be performed simultaneously.
Step 2024, verification rule corresponding with the target identification code type is obtained.
For verifying whether the pattern identification code scanned is effective code, which for example may include verification rule The character digit of identification code.In such a case, it is possible to obtain the mesh according to the target identification code type that step 2021 determines The corresponding character digit of mark mark code type, obtains the first character digit, is so as to verify rule setting:Identification code Character digit is the first character digit.By taking the target identification code type is EAN-13 codes as an example, the character digit of EAN-13 codes It it is 13, then correspondingly, can be by verification rule setting:The character digit of identification code is 13.
Optionally, can also verify rule includes:Character in the specified position of identification code is the first preset characters.With institute Target identification code type is stated as EAN-13 codes, the character that can be arranged in the front three of identification code should be 690--695 models Enclose interior number.
Step 203, it is scanned by the probe according to the sweep parameter.
Illustratively, scanning process includes:First, the image for including graphical identification code is obtained, secondly to the figure of acquisition As being parsed, the graphical identification code for including in described image is obtained.
Step 204, the pattern identification code scanned is verified according to the verification rule.
In one implementation, the verification rule includes:The character digit of identification code is the first character digit, then presses The step of being verified according to the verification rule may refer to Fig. 4, and Fig. 4 is a kind of method of calibration that embodiment illustrated in fig. 2 provides Flow diagram, may include:
Step 2041, the character digit of the pattern identification code scanned is obtained.
Step 2042, identify whether the character digit of the pattern identification code scanned is the first character digit.
When the character digit of the pattern identification code scanned is the first character digit, step 2043 is carried out, When the character digit of the pattern identification code scanned is not the first character digit, step 2044 is carried out.
Step 2043, determine that the pattern identification code scanned passes through verification.
Step 2044, the pattern identification code check failure scanned is determined.
By taking the target identification code type is EAN-13 codes as an example, then verifying rule is:The first character digit is 13 Position, then may determine that scanning to the character digit of pattern identification code whether be 13, can then verify success if it is 13, Failure is then verified if not 13.
In another implementation, the verification rule includes:The character digit of identification code is the first character digit, with And the character in the specified position of identification code is the first preset characters, then the step of being verified according to the verification rule, can be with It is the flow diagram for another method of calibration that embodiment illustrated in fig. 2 provides referring to Fig. 5, Fig. 5, may include:
Step 2045, the character digit of the pattern identification code scanned is obtained
Step 2046, identify whether the character digit of the pattern identification code scanned is the first character digit.
When the character digit of the pattern identification code scanned is the first character digit, step 2047 is carried out, When the character digit of the pattern identification code scanned is not the first character digit, step step 2409 is carried out.
Step 2047, identify whether character of the pattern identification code scanned in the specified position is described first Preset characters.
When the pattern identification code scanned the specified position character be first preset characters when, carry out Step 2048;When the pattern identification code scanned is when the character of the specified position is not first preset characters, Carry out step 2049.
Step 2048, determine that the pattern identification code scanned passes through verification.
Step 2409, the pattern identification code check failure scanned is determined.
By taking the target identification code type is EAN-13 codes as an example, then verifying rule is:The first character digit is 13 Position and first 3 are the number within the scope of 690--695, then may determine that scanning to pattern identification code character digit whether be 13, failure is verified if the character digit of the pattern identification code scanned is not 13, continues to verify if if it is 13 Whether first 3 of the pattern identification code scanned are number within the scope of 690--695, if first 3 are within the scope of 690--695 Number, then can be by verification, in number then illustrates that the pattern identification code scanned is not within the scope of 690--695 The code of state is invalid code, authentication failed.
Step 205, when the pattern identification code scanned passes through verification, the probe is closed.
Step 206, the pattern identification code scanned is sent to the currently application program in front stage operation.
It illustratively, can be by sending broadcast or particular message by the figure scanned to the application program Shape identification code is sent to the application program.
Step 207, the pattern identification code scanned is sent to by server by the application program.
Illustratively, it is provided with product database in the server, being recorded in the product database has and each figure mark Know the corresponding product information of code, server is after receiving the pattern identification code scanned, you can in the product database In inquire product information corresponding with the pattern identification code scanned.
Step 208, the product information corresponding with the pattern identification code scanned that server is sent is received.
Scan method provided in an embodiment of the present invention, after completing scanning by probe, the figure to scanning immediately Identification code is verified, and when verifying failure, is then scanned again, and verified again, until verifying successfully, it is not necessary to etc. The pattern identification code scanned is sent to after application program and is verified again, through the above technical solutions, can solve existing The low problem of scan efficiency in technology, realizes the effect for improving scan efficiency.
Fig. 6 is a kind of structure diagram of scanning means provided in an embodiment of the present invention, which can be used for execution figure 1 to Fig. 5 it is any shown in method, which can pass through the software form that either hardware or the two combine and constitute scanning Terminal it is some or all of, the end of scan is provided with probe, and being provided with one or more on the end of scan answers With program, these application programs can be used for carrying out the scanning of pattern identification code, in the present embodiment, institute by the probe Stating pattern identification code includes but not limited to:Bar code, Quick Response Code and other pattern identifications etc. with presupposed information.Ginseng See Fig. 6, which may include:
Configuration module 610, after being powered in the probe, sweep parameter and verification rule to probe carry out Configuration;
Scan module 620, for being scanned by the probe according to the sweep parameter;
Correction verification module 630, the pattern identification code for will scan are verified according to the verification rule;
Processing module 640, for when the pattern identification code scanned passes through verification, to the figure scanned Processing is identified in identification code;
The scan module 620, for when the pattern identification code check scanned fails, being swept again according to described Parameter is retouched to be scanned.
Optionally, the configuration module 610, including:
Type identification submodule, for according to currently in the application program determination of the front stage operation pattern identification code to be scanned Target identification code type;
Submodule is arranged in intensity, the intensity for determining scanning light;
Mode setting submodule, for determining that scan pattern, the scan pattern include quick scanning or accurate scan;With And
Rule setting submodule, for obtaining verification rule corresponding with the target identification code type.
Optionally, the verification rule corresponding with the target identification code type includes:The character digit of identification code is First character digit;
The correction verification module 630, including:
Character acquisition submodule, the character digit for obtaining the pattern identification code scanned;
Character recognition submodule, whether the character digit of the pattern identification code scanned is described first for identification Character digit;
Determination sub-module is the first character digit for the character digit when the pattern identification code scanned When, determine that the pattern identification code scanned passes through verification.
Optionally, the verification rule corresponding with the target identification code type includes:The character digit of identification code is The character of first character digit, the specified position of identification code is the first preset characters;
The correction verification module 630, including:
Character acquisition submodule, the character digit for obtaining the pattern identification code scanned;
First identification submodule, whether the character digit of the pattern identification code scanned is described first for identification Character digit;
Second identification submodule, is first character bit for the character digit when the pattern identification code scanned When number, identify whether character of the pattern identification code scanned in the specified position is first preset characters;
Determination sub-module, for being described first when character of the pattern identification code scanned in the specified position When preset characters, determine that the pattern identification code scanned passes through verification.
Optionally, the processing module 640, including:
Submodule is closed, for when the pattern identification code scanned passes through verification, closing the probe;
Sending submodule, for the pattern identification code scanned to be sent to the currently application journey in front stage operation Sequence, and by the application program by the pattern identification code server scanned;
Receiving submodule, product corresponding with the pattern identification code scanned the letter for receiving server transmission Breath.
Scanning means provided in an embodiment of the present invention, after completing scanning by probe, the figure to scanning immediately Identification code is verified, and when verifying failure, is then scanned again, and verified again, until verifying successfully, it is not necessary to etc. The pattern identification code scanned is sent to after application program and is verified again, through the above technical solutions, can solve existing The low problem of scan efficiency in technology, realizes the effect for improving scan efficiency.
The preferred embodiment of the present invention is described in detail above in association with attached drawing, still, the present invention is not limited to above-mentioned realities The detail in mode is applied, within the scope of the technical concept of the present invention, a variety of letters can be carried out to technical scheme of the present invention Monotropic type, these simple variants all belong to the scope of protection of the present invention.
It is further to note that specific technical features described in the above specific embodiments, in not lance In the case of shield, can be combined by any suitable means, in order to avoid unnecessary repetition, the present invention to it is various can The combination of energy no longer separately illustrates.
In addition, various embodiments of the present invention can be combined randomly, as long as it is without prejudice to originally The thought of invention, it should also be regarded as the disclosure of the present invention.

Claims (6)

1. a kind of scan method, which is characterized in that it is applied to end of scan, the end of scan is provided with probe, including:
After the probe powers on, sweep parameter and verification rule to probe configure;
It is scanned by the probe according to the sweep parameter;
The pattern identification code scanned is verified according to the verification rule;
When the pattern identification code scanned passes through verification, processing is identified to the pattern identification code scanned;
When the pattern identification code check failure scanned, it is scanned again according to the sweep parameter;
Wherein, the sweep parameter to the probe and verification rule configure, including:
According to currently in the target identification code type of the application program determination of the front stage operation pattern identification code to be scanned;Determination is swept Retouch the intensity of light;Determine that scan pattern, the scan pattern include quick scanning or accurate scan;And it obtains and the target Identify the corresponding verification rule of code type;
The verification rule corresponding with the target identification code type includes:The character digit of identification code is the first character bit It counts, and the character in the specified position of identification code is the first preset characters;
It is described to verify the pattern identification code scanned according to the verification rule, including:
Obtain the character digit of the pattern identification code scanned;Identify the character digit of the pattern identification code scanned Whether it is the first character digit;When the character digit of the pattern identification code scanned is the first character digit When, identify whether character of the pattern identification code scanned in the specified position is first preset characters;Work as institute The pattern identification code that scans is stated when the character of the specified position is first preset characters, determines described scan Pattern identification code passes through verification.
2. according to the method described in claim 1, it is characterized in that, the verification rule corresponding with the target identification code type Include then:The character digit of identification code is the first character digit;
It is described to verify the pattern identification code scanned according to the verification rule, including:
Obtain the character digit of the pattern identification code scanned;
Identify whether the character digit of the pattern identification code scanned is the first character digit;
When the character digit of the pattern identification code scanned is the first character digit, the figure scanned is determined Shape identification code passes through verification.
3. method according to claim 1 or 2, which is characterized in that described when the pattern identification code scanned passes through When verification, processing is identified to the pattern identification code scanned, including:
When the pattern identification code scanned passes through verification, the probe is closed;
The pattern identification code scanned is sent to the currently application program in front stage operation, and passes through the application program The pattern identification code scanned is sent to server, described is currently currently to hold in the application program of front stage operation The application program of row scan operation;
Receive the product information corresponding with the pattern identification code scanned that server is sent.
4. a kind of scanning means, which is characterized in that it is applied to end of scan, the end of scan is provided with probe, including:
Configuration module, after being powered in the probe, sweep parameter and verification rule to probe configure;
Scan module, for being scanned by the probe according to the sweep parameter;
Correction verification module, the pattern identification code for will scan are verified according to the verification rule;
Processing module, for when the pattern identification code scanned passes through verification, to the pattern identification code scanned Processing is identified;
The scan module, when pattern identification code check failure for scanning when described, again according to the sweep parameter It is scanned;
Wherein, the configuration module, including:
Type identification submodule, for according to currently in the mesh of the application program determination of the front stage operation pattern identification code to be scanned Mark mark code type;
Submodule is arranged in intensity, the intensity for determining scanning light;
Mode setting submodule, for determining that scan pattern, the scan pattern include quick scanning or accurate scan;And
Rule setting submodule, for obtaining verification rule corresponding with the target identification code type;
The verification rule corresponding with the target identification code type includes:The character digit of identification code is the first character bit The character of number, the specified position of identification code is the first preset characters;The correction verification module, including:
Character acquisition submodule, the character digit for obtaining the pattern identification code scanned;
First identification submodule, whether the character digit of the pattern identification code scanned is first character for identification Digit;
Second identification submodule, is the first character digit for the character digit when the pattern identification code scanned When, identify whether character of the pattern identification code scanned in the specified position is first preset characters;
Determination sub-module, for being described first default when character of the pattern identification code scanned in the specified position When character, determine that the pattern identification code scanned passes through verification.
5. device according to claim 4, which is characterized in that the verification rule corresponding with the target identification code type Include then:The character digit of identification code is the first character digit;
The correction verification module, including:
Character acquisition submodule, the character digit for obtaining the pattern identification code scanned;
Character recognition submodule, whether the character digit of the pattern identification code scanned is first character for identification Digit;
Determination sub-module, for when the character digit of the pattern identification code scanned be the first character digit when, really The fixed pattern identification code scanned passes through verification.
6. device according to claim 4 or 5, which is characterized in that the processing module, including:
Submodule is closed, for when the pattern identification code scanned passes through verification, closing the probe;
Sending submodule, for the pattern identification code scanned to be sent to the currently application program in front stage operation, and The pattern identification code scanned is sent to server by the application program, it is described currently in the application of front stage operation Program is to be currently executing the application program of scan operation;
Receiving submodule, the product information corresponding with the pattern identification code scanned for receiving server transmission.
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 CN105654018A (en) 2016-06-08
CN105654018B true 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)

Families Citing this family (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
JP2021517686A (en) * 2018-03-14 2021-07-26 セキュリティ マターズ リミテッド Systems and methods for supply chain management and consistency verification via blockchain
CN113095451B (en) * 2021-03-24 2022-09-13 长沙市斯帕克电子科技有限公司 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

Citations (5)

* 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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7703681B2 (en) * 2007-03-15 2010-04-27 Shao-Hsuan Lee Electronic ticket management system
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

Patent Citations (5)

* 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
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

Also Published As

Publication number Publication date
CN105654018A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
US20230401399A1 (en) Hybrid system and method for reading indicia
CN105654018B (en) Scan method and device
CN105740746B (en) Visual feedback for code readers
CN102375969A (en) System and method for document processing
US20140097248A1 (en) Removable module for mobile communication terminal
US9679180B2 (en) Portable data capture device
US10621470B2 (en) Methods for optical character recognition (OCR)
ES2972819T3 (en) Mobile computer configured to read multiple decodable cues
CN110246249B (en) Self-service handling method and device for transformer substation services
CN105787403B (en) A kind of bar code reading method of high pixel image processing and the bar code recognizing apparatus of high pixel image processing
US8985458B2 (en) System and method for conversion of fingerprint cards into digital format using machine readable code
CN104732184A (en) Art department student exam score inputting system
CN106485436A (en) One kind is used for express delivery addressee verification method and device
CN106250941A (en) Quick Response Code processing method, Apparatus and system
US20230342575A1 (en) Methods and systems of harvesting data for training machine learning (ml) model
US9477861B2 (en) Encoded information reading terminal including multiple encoded information reading devices
CN107886332A (en) Product back-tracing method and system
CN106778994B (en) Two-dimensional code generation and analysis method and device
US20090084849A1 (en) Method and apparatus for reading indicia
CN116820845A (en) API (application program interface) input verification test method, test device and electronic equipment
US9858505B2 (en) Identification of packing units
CN109522993B (en) Method for checking consistency of stickers, terminal equipment and storage medium
Ismail et al. A comprehensive study of using 2D barcode for multi robot labelling and communication
CN112241639B (en) Multi-bar code scanning method and system thereof
US20170046547A1 (en) Validating a decoded barcode as an expected barcode

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