CN112417914B - Data scanning method and device and electronic equipment - Google Patents

Data scanning method and device and electronic equipment Download PDF

Info

Publication number
CN112417914B
CN112417914B CN202011360525.8A CN202011360525A CN112417914B CN 112417914 B CN112417914 B CN 112417914B CN 202011360525 A CN202011360525 A CN 202011360525A CN 112417914 B CN112417914 B CN 112417914B
Authority
CN
China
Prior art keywords
scanned
scanning
bar code
bar codes
picture
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
CN202011360525.8A
Other languages
Chinese (zh)
Other versions
CN112417914A (en
Inventor
李燕
韩丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202011360525.8A priority Critical patent/CN112417914B/en
Publication of CN112417914A publication Critical patent/CN112417914A/en
Application granted granted Critical
Publication of CN112417914B publication Critical patent/CN112417914B/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/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • G06K7/1095Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices the scanner comprising adaptations for scanning a record carrier that is displayed on a display-screen or the like
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14131D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data scanning method, a data scanning device and electronic equipment. Wherein the method comprises the following steps: receiving at least two bar codes to be scanned; determining the display form of at least two bar codes to be scanned; and determining a scanning mode according to the display form, and scanning at least two bar codes to be scanned according to the scanning mode. The invention solves the technical problem that the prior art does not support batch scanning of bar codes.

Description

Data scanning method and device and electronic equipment
Technical Field
The invention relates to the field of internet industry, in particular to a data scanning method, a data scanning device and electronic equipment.
Background
When a new terminal in the LED industry is connected to the cloud platform, the terminal product scans and identifies the SN bar code of the terminal by using the applet when in cloud, and then the cloud operation is carried out, so that the quick cloud operation is carried out. In the installation and debugging sites of actual clients, a large number of terminal products often need to perform operations of SN bar code scanning, identification and input. Customers often perform a large number of bar code picture acquisitions followed by identification or generate bar code listings for identification operations. Because the existing bar code scanning scheme can only support scanning of one bar code at a time, a great deal of repeated operation can be conducted by a customer, so that the operation efficiency of bar code data identification during terminal access is affected.
In the process of scanning the bar codes through the terminal, the prior technical scheme is a scanning mode of using main stream apps such as WeChat and the like, and one bar code or a picture containing one bar code is identified by each scanning, so that one-time scanning identification of a large number of bar codes is not supported;
when the bar code is directly scanned, only one bar code is scanned and identified, the scanning is stopped, and the selection is needed to be performed again to enter the scanning. Meanwhile, when a plurality of bar codes exist, the specific bar code cannot be scanned, and the scanning identification of all the contents cannot be performed; when the pictures are selected for scanning, only one picture can be selected at a time, the picture can only contain one bar code, and scenes of a plurality of pictures can only be subjected to sequential selection scanning identification; when a selected picture contains a plurality of bar code contents, any one of the bar code data cannot be recognized.
In view of the above-mentioned problems due to the prior art not supporting batch scanning of bar codes, no effective solution has been proposed yet.
Disclosure of Invention
The embodiment of the invention provides a data scanning method, a data scanning device and electronic equipment, which at least solve the technical problem that batch scanning of bar codes is not supported in the prior art.
According to an aspect of an embodiment of the present invention, there is provided a method of data scanning, including: receiving at least two bar codes to be scanned; determining the display form of at least two bar codes to be scanned; and determining a scanning mode according to the display form, and scanning at least two bar codes to be scanned according to the scanning mode.
Optionally, in the display form, the method includes: under the condition of at least two bar codes to be scanned, determining a scanning mode according to the display form, and scanning the at least two bar codes to be scanned according to the scanning mode comprises the following steps: dividing at least two bar codes to be scanned through a scanning auxiliary wire frame to obtain each bar code to be scanned; identifying the bar codes to be scanned in the auxiliary scanning wire frame according to a preset sequence to obtain an identification result; and displaying the identification result.
Further, optionally, identifying the barcode to be scanned in the auxiliary scanning wire frame according to a preset sequence, and obtaining an identification result includes: when the identification times of the bar codes to be scanned in the auxiliary scanning wire frame are larger than a preset value, scanning the bar codes adjacent to the bar codes to be scanned according to a preset sequence, recording the bar codes which are failed to be scanned, and recording the bar codes in an identification result; when the bar code to be scanned in the scanning auxiliary wire frame has repeated content, the bar code with repeated content is recorded, and the bar code is recorded in the identification result.
Optionally, in the display form, the method includes: under the condition that each picture containing a single bar code to be scanned, determining a scanning mode according to the display form, and scanning at least two bar codes to be scanned according to the scanning mode comprises the following steps: identifying the bar codes to be scanned in the pictures according to a preset sequence to obtain an identification result; and displaying the identification result.
Further, optionally, identifying the barcode to be scanned in the picture according to a preset sequence, and obtaining an identification result includes: acquiring an identification result of each picture to the bar code to be scanned; when a picture with scanning failure exists, marking the picture, and recording the picture in an identification result; when the picture with the repeated content exists, merging the pictures with the repeated content, and recording the picture sequence number with the repeated content in the identification result.
Optionally, in the display form, the method includes: under the condition that a single picture containing at least two bar codes to be scanned is provided, determining a scanning mode according to a display form, and scanning the at least two bar codes to be scanned according to the scanning mode comprises the following steps: determining the size of each bar code to be scanned in the picture; dividing the position of each bar code to be scanned under the condition of the same size; and identifying each bar code to be scanned according to the divided positions through a preset sequence to obtain an identification result.
Further, optionally, identifying each barcode to be scanned according to the divided positions through a preset sequence, and obtaining an identification result includes: when the bar code to be scanned with the scanning failure exists, scanning the bar code adjacent to the bar code to be scanned according to a preset sequence, recording the bar code with the scanning failure, and recording the bar code in the identification result; when the bar code to be scanned of the repeated content exists, the bar code of the repeated content is recorded, and the bar code is recorded in the identification result.
According to another aspect of the embodiment of the present invention, there is also provided an apparatus for data scanning, including: the receiving module is used for receiving at least two bar codes to be scanned; the determining module is used for determining the display forms of at least two bar codes to be scanned; the scanning module is used for determining a scanning mode according to the display form and scanning at least two bar codes to be scanned according to the scanning mode.
Optionally, the scanning module includes: the dividing unit is used for dividing the at least two bar codes to be scanned through the scanning auxiliary wire frame to obtain each bar code to be scanned under the condition that the display form comprises the at least two bar codes to be scanned; the first scanning unit is used for identifying the bar codes to be scanned in the auxiliary scanning wire frame according to a preset sequence to obtain an identification result; and the first display unit is used for displaying the identification result.
Further, optionally, the first scanning unit includes: the first scanning subunit is used for scanning the bar codes adjacent to the bar codes to be scanned according to a preset sequence when the identification times of the bar codes to be scanned in the auxiliary scanning wire frame are larger than a preset value, recording the bar codes which are failed to scan, and recording the bar codes in an identification result; and the second scanning subunit is used for recording the bar code with repeated content when the bar code to be scanned in the scanning auxiliary wire frame has repeated content, and recording the bar code with repeated content in the identification result.
Optionally, the scanning module includes: the second scanning unit is used for identifying the bar codes to be scanned in the pictures according to a preset sequence under the condition that the display form comprises each picture containing a single bar code to be scanned, so as to obtain an identification result; and the second display unit is used for displaying the identification result.
Further, optionally, the second scanning unit includes: the acquisition subunit is used for acquiring the identification result of each picture to the bar code to be scanned; a third scanning subunit, configured to mark a picture when there is a picture that fails to be scanned, and record the picture in the identification result; and the fourth scanning subunit is used for merging the pictures with the repeated content when the pictures with the repeated content exist, and recording the picture sequence numbers with the repeated content in the identification result.
Optionally, the scanning module includes: a determining unit, configured to determine, in a case where the presentation form includes a picture of at least two barcodes to be scanned in a single Zhang Hanyou, a size of each barcode to be scanned in the picture; the position dividing unit is used for dividing the position of each bar code to be scanned under the condition that the sizes are the same; and the third scanning unit is used for identifying each bar code to be scanned according to the divided positions through a preset sequence to obtain an identification result.
Further, optionally, the third scanning unit includes: a fifth scanning subunit, configured to scan, when there is a barcode to be scanned that fails to scan, a barcode adjacent to the barcode to be scanned according to a preset sequence, record the barcode that fails to scan, and record the barcode in the identification result; and a sixth scanning subunit, configured to record, when the barcode to be scanned of the repeated content exists, the barcode of the repeated content, and record the barcode in the identification result.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device including a nonvolatile memory storing a computer program and a processor executing the above method when the processor runs the program.
According to another aspect of the embodiment of the present invention, there is also provided a storage medium, where the storage medium includes a stored program, where the program controls a device where the storage medium is located to execute the above method when running.
According to another aspect of the embodiment of the present invention, there is also provided a processor, where the processor is configured to execute a program, where the program executes the method described above.
In an embodiment of the invention, at least two bar codes to be scanned are received; determining the display form of at least two bar codes to be scanned; the scanning mode is determined according to the display form, at least two bar codes to be scanned are scanned according to the scanning mode, and the aim of avoiding a great deal of repeated work when a user scans, identifies and inputs a great deal of SN bar codes is fulfilled, so that the working efficiency is improved, the technical effect of reducing the operation cost of the scanning work is achieved, and the technical problem that batch scanning of the bar codes is not supported in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a flow chart of a method of data scanning according to an embodiment of the invention;
FIG. 2 is a schematic diagram of scanning at least two barcodes to be scanned in a method of data scanning according to an embodiment of the invention;
FIG. 3 is a schematic diagram of a method of data scanning in which each picture containing a single bar code to be scanned is scanned in accordance with an embodiment of the present invention;
FIG. 4 is a schematic illustration of a scan of a single picture containing at least two barcodes to be scanned in a method of data scanning according to an embodiment of the invention;
fig. 5 is a schematic diagram of an apparatus for data scanning according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, there is provided a method embodiment of a method of data scanning, it being noted that the steps shown in the flowchart of the figures may be performed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order other than that shown or described herein.
Fig. 1 is a flow chart of a method of data scanning according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, receiving at least two bar codes to be scanned;
specifically, the method for scanning data provided by the embodiment of the application can be suitable for remote release of the LED, wherein receiving at least two barcodes to be scanned can be that a plurality of barcodes to be scanned are obtained through small program scanning in a WeChat.
Step S104, determining the display form of at least two bar codes to be scanned;
wherein, the show form includes: at least two barcodes to be scanned, each containing a picture of a single barcode to be scanned, or a single Zhang Hanyou picture of at least two barcodes to be scanned.
Step S106, determining a scanning mode according to the display form, and scanning at least two bar codes to be scanned according to the scanning mode;
in summary, in the method for scanning data provided in the embodiment of the present application, a scanning manner is determined according to a display form, and scanning at least two barcodes to be scanned according to the scanning manner includes three scanning recognition manners, which are specifically as follows:
mode one: at least two bar codes to be scanned
Fig. 2 is a schematic diagram of scanning at least two barcodes to be scanned in the data scanning method according to an embodiment of the present invention, as shown in fig. 2, in step S106, a scanning manner is determined according to a display form, and scanning the at least two barcodes to be scanned according to the scanning manner includes:
under the condition that the display form comprises at least two bar codes to be scanned, dividing the at least two bar codes to be scanned through a scanning auxiliary wire frame to obtain each bar code to be scanned; identifying the bar codes to be scanned in the auxiliary scanning wire frame according to a preset sequence to obtain an identification result; and displaying the identification result.
Further, optionally, identifying the barcode to be scanned in the auxiliary scanning wire frame according to a preset sequence, and obtaining an identification result includes: when the identification times of the bar codes to be scanned in the auxiliary scanning wire frame are larger than a preset value, scanning the bar codes adjacent to the bar codes to be scanned according to a preset sequence, recording the bar codes which are failed to be scanned, and recording the bar codes in an identification result; when the bar code to be scanned in the scanning auxiliary wire frame has repeated content, the bar code with repeated content is recorded, and the bar code is recorded in the identification result.
Specifically, when a user scans a series of bar codes, the scanning applet recognizes that a plurality of bar codes are found to be in a scanning auxiliary line, as shown in fig. 2, the user needs to place the scanning content into an auxiliary line frame (i.e., the scanning auxiliary line frame in the embodiment of the application), then the program performs scanning recognition by means of each auxiliary line content, recognizes each line content once, and jumps to the next continuous recognition after three unsuccessful continuous recognitions until all the content is recognized. Prompting a final scanning result at the part where the scanning fails; the repeated content is converged when it appears and a hint is given in the final scan result.
Mode two: each picture containing a single bar code to be scanned
Fig. 3 is a schematic diagram of scanning each picture including a single barcode to be scanned in the data scanning method according to the embodiment of the present invention, as shown in fig. 3, optionally, in step S106, a scanning mode is determined according to a display form, and scanning at least two barcodes to be scanned according to the scanning mode includes: under the condition that the display form comprises each picture containing a single bar code to be scanned, identifying the bar codes to be scanned in the pictures according to a preset sequence to obtain an identification result; and displaying the identification result.
Further, optionally, identifying the barcode to be scanned in the picture according to a preset sequence, and obtaining an identification result includes: acquiring an identification result of each picture to the bar code to be scanned; when a picture with scanning failure exists, marking the picture, and recording the picture in an identification result; when the picture with the repeated content exists, merging the pictures with the repeated content, and recording the picture sequence number with the repeated content in the identification result.
Specifically, during scanning and identification, a plurality of pictures containing one bar code are selected for identification, and the maximum upper limit is 99, as shown in fig. 3. The post-selection program will aggregate the scanned identification content after scanning each piece of picture content in turn. Prompting a final scanning result by a picture with scanning failure; the repeated content is converged when it appears and a hint is given in the final scan result.
Mode three: a single picture containing at least two bar codes to be scanned
Fig. 4 is a schematic diagram of a method for scanning a single picture including at least two barcodes to be scanned according to an embodiment of the present invention, as shown in fig. 4, in step S106, a scanning manner is determined according to a display form, and scanning the at least two barcodes to be scanned according to the scanning manner includes: in the case of a picture whose presentation form includes at least two barcodes to be scanned of a single Zhang Hanyou, determining the size of each barcode to be scanned in the picture; dividing the position of each bar code to be scanned under the condition of the same size; and identifying each bar code to be scanned according to the divided positions through a preset sequence to obtain an identification result.
Further, optionally, identifying each barcode to be scanned according to the divided positions through a preset sequence, and obtaining an identification result includes: when the bar code to be scanned with the scanning failure exists, scanning the bar code adjacent to the bar code to be scanned according to a preset sequence, recording the bar code with the scanning failure, and recording the bar code in the identification result; when the bar code to be scanned of the repeated content exists, the bar code of the repeated content is recorded, and the bar code is recorded in the identification result.
Specifically, as shown in fig. 4, the size of each bar code needs to be basically consistent, and each bar code is one bar code, after uploading, the program will automatically process the image as shown in fig. 4 below, then the program divides the image into a plurality of images of Zhang Tiaoxing codes according to the frame of the image for identification scanning, and then the bar code content is summarized. Prompting a final scanning result at the part where the scanning fails; the repeated content is converged when it appears and a hint is given in the final scan result.
In an embodiment of the invention, at least two bar codes to be scanned are received; determining the display form of at least two bar codes to be scanned; the scanning mode is determined according to the display form, at least two bar codes to be scanned are scanned according to the scanning mode, and the aim of avoiding a great deal of repeated work when a user scans, identifies and inputs a great deal of SN bar codes is fulfilled, so that the working efficiency is improved, the technical effect of reducing the operation cost of the scanning work is achieved, and the technical problem that batch scanning of the bar codes is not supported in the prior art is solved.
Example 2
According to another aspect of the embodiment of the present invention, there is further provided a data scanning apparatus, and fig. 5 is a schematic diagram of the data scanning apparatus according to the embodiment of the present invention, as shown in fig. 5, including: a receiving module 52 for receiving at least two bar codes to be scanned; a determining module 54, configured to determine a display form of at least two barcodes to be scanned; the scanning module 56 is configured to determine a scanning manner according to the display form, and scan at least two barcodes to be scanned according to the scanning manner.
Optionally, the scanning module 56 includes: the dividing unit is used for dividing the at least two bar codes to be scanned through the scanning auxiliary wire frame to obtain each bar code to be scanned under the condition that the display form comprises the at least two bar codes to be scanned; the first scanning unit is used for identifying the bar codes to be scanned in the auxiliary scanning wire frame according to a preset sequence to obtain an identification result; and the first display unit is used for displaying the identification result.
Further, optionally, the first scanning unit includes: the first scanning subunit is used for scanning the bar codes adjacent to the bar codes to be scanned according to a preset sequence when the identification times of the bar codes to be scanned in the auxiliary scanning wire frame are larger than a preset value, recording the bar codes which are failed to scan, and recording the bar codes in an identification result; and the second scanning subunit is used for recording the bar code with repeated content when the bar code to be scanned in the scanning auxiliary wire frame has repeated content, and recording the bar code with repeated content in the identification result.
Optionally, the scanning module 56 includes: the second scanning unit is used for identifying the bar codes to be scanned in the pictures according to a preset sequence under the condition that the display form comprises each picture containing a single bar code to be scanned, so as to obtain an identification result; and the second display unit is used for displaying the identification result.
Further, optionally, the second scanning unit includes: the acquisition subunit is used for acquiring the identification result of each picture to the bar code to be scanned; a third scanning subunit, configured to mark a picture when there is a picture that fails to be scanned, and record the picture in the identification result; and the fourth scanning subunit is used for merging the pictures with the repeated content when the pictures with the repeated content exist, and recording the picture sequence numbers with the repeated content in the identification result.
Optionally, the scanning module 56 includes: a determining unit, configured to determine, in a case where the presentation form includes a picture of at least two barcodes to be scanned in a single Zhang Hanyou, a size of each barcode to be scanned in the picture; the position dividing unit is used for dividing the position of each bar code to be scanned under the condition that the sizes are the same; and the third scanning unit is used for identifying each bar code to be scanned according to the divided positions through a preset sequence to obtain an identification result.
Further, optionally, the third scanning unit includes: a fifth scanning subunit, configured to scan, when there is a barcode to be scanned that fails to scan, a barcode adjacent to the barcode to be scanned according to a preset sequence, record the barcode that fails to scan, and record the barcode in the identification result; and a sixth scanning subunit, configured to record, when the barcode to be scanned of the repeated content exists, the barcode of the repeated content, and record the barcode in the identification result.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided an electronic device including a nonvolatile memory storing a computer program and a processor executing the method of embodiment 1 described above when the processor runs the program.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided a nonvolatile storage medium, where the nonvolatile storage medium includes a stored program, where a device where the nonvolatile storage medium is controlled to execute the method in the above embodiment 1 when the program runs.
Example 5
According to another aspect of the embodiment of the present invention, there is further provided a processor, where the processor is configured to execute a program, where the program executes the method in embodiment 1.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (8)

1. A method of data scanning, comprising:
receiving at least two bar codes to be scanned;
determining the display form of the at least two bar codes to be scanned;
determining a scanning mode according to the display form, and scanning the at least two bar codes to be scanned according to the scanning mode;
the method for determining the scanning mode according to the display form and scanning the at least two bar codes to be scanned according to the scanning mode comprises the following steps:
under the condition that the display form comprises at least two bar codes to be scanned, dividing the at least two bar codes to be scanned through a scanning auxiliary wire frame to obtain each bar code to be scanned; identifying the bar codes to be scanned in the auxiliary scanning wire frame according to a preset sequence to obtain an identification result; displaying the identification result;
in the case that the display form comprises each picture containing a single bar code to be scanned, determining that the scanning mode is a scanning mode based on a preset sequence; scanning the bar code to be scanned in the picture according to the scanning mode based on the preset sequence;
in the case where the presentation comprises a picture of at least two barcodes to be scanned of a single Zhang Hanyou, determining the size of each barcode to be scanned in the picture; dividing the position of each bar code to be scanned under the condition that the sizes are the same; and identifying each bar code to be scanned according to the divided positions through a preset sequence to obtain an identification result.
2. The method according to claim 1, wherein the identifying the bar code to be scanned in the auxiliary scanning wire frame according to the preset sequence includes:
when the identification times of the bar codes to be scanned in the auxiliary scanning wire frame are larger than a preset value, scanning the bar codes adjacent to the bar codes to be scanned according to the preset sequence, and recording the bar codes which are failed to scan in the identification result;
and when the bar code to be scanned in the auxiliary scanning wire frame is repeated, recording the repeated bar code, and recording the repeated bar code in the identification result.
3. The method of claim 1, wherein, in the case where the presentation form includes each picture including a single bar code to be scanned, the determining a scanning manner according to the presentation form and scanning the at least two bar codes to be scanned according to the scanning manner includes:
identifying the bar codes to be scanned in the pictures according to a preset sequence to obtain an identification result;
and displaying the identification result.
4. The method according to claim 3, wherein the identifying the bar code to be scanned in the picture according to the preset sequence includes:
acquiring an identification result of each picture on the bar code to be scanned;
when a picture with scanning failure exists, marking the picture, and recording the picture in the identification result;
and when the repeated pictures exist, merging the repeated pictures, and recording the picture sequence number with the repetition in the identification result.
5. The method of claim 1, wherein the identifying each barcode to be scanned according to the divided positions in a preset sequence includes:
when the bar code to be scanned with the scanning failure exists, scanning the bar code adjacent to the bar code to be scanned according to the preset sequence, recording the bar code with the scanning failure, and recording the bar code in the identification result;
when a repeated bar code to be scanned exists, the repeated bar code is recorded, and the repeated bar code is recorded in the identification result.
6. An apparatus for scanning data, comprising:
the receiving module is used for receiving at least two bar codes to be scanned;
the determining module is used for determining the display forms of the at least two bar codes to be scanned;
the scanning module is used for determining a scanning mode according to the display form and scanning the at least two bar codes to be scanned according to the scanning mode;
the scanning module is further used for determining a scanning mode according to the display form by executing the following steps, and scanning the at least two bar codes to be scanned according to the scanning mode: under the condition that the display form comprises at least two bar codes to be scanned, dividing the at least two bar codes to be scanned through a scanning auxiliary wire frame to obtain each bar code to be scanned; identifying the bar codes to be scanned in the auxiliary scanning wire frame according to a preset sequence to obtain an identification result; displaying the identification result;
in the case that the display form comprises each picture containing a single bar code to be scanned, determining that the display form is a scanning mode based on a preset sequence; scanning the bar code to be scanned in the picture according to the scanning mode based on the preset sequence;
in the case where the presentation comprises a picture of at least two barcodes to be scanned of a single Zhang Hanyou, determining the size of each barcode to be scanned in the picture; dividing the position of each bar code to be scanned under the condition that the sizes are the same; and identifying each bar code to be scanned according to the divided positions through a preset sequence to obtain an identification result.
7. An electronic device comprising a non-volatile memory storing a computer program and a processor executing the method of any one of claims 1 to 5 when the program is run.
8. A non-volatile storage medium, wherein the non-volatile storage medium comprises a stored program, wherein the program, when run, controls a device in which the non-volatile storage medium resides to perform the method of any one of claims 1 to 5.
CN202011360525.8A 2020-11-27 2020-11-27 Data scanning method and device and electronic equipment Active CN112417914B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011360525.8A CN112417914B (en) 2020-11-27 2020-11-27 Data scanning method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011360525.8A CN112417914B (en) 2020-11-27 2020-11-27 Data scanning method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112417914A CN112417914A (en) 2021-02-26
CN112417914B true CN112417914B (en) 2024-03-26

Family

ID=74843694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011360525.8A Active CN112417914B (en) 2020-11-27 2020-11-27 Data scanning method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112417914B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116050447B (en) * 2022-12-28 2023-10-13 信扬科技(佛山)有限公司 Scanning method and related equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281829A (en) * 2013-07-12 2015-01-14 鸿富锦精密工业(深圳)有限公司 Bar code scanning device and scanning method
CN105303148A (en) * 2015-12-08 2016-02-03 深圳天珑无线科技有限公司 Bar code scanning method and device
CN106056028A (en) * 2016-06-29 2016-10-26 倪洪雷 Rapid scanning and waybill recording method and device thereof
WO2018103676A1 (en) * 2016-12-07 2018-06-14 中兴通讯股份有限公司 Scanning method, device and terminal
CN109543479A (en) * 2018-10-24 2019-03-29 金蝶蝶金云计算有限公司 Barcode scanning method, apparatus, equipment and storage medium
CN111008540A (en) * 2019-11-29 2020-04-14 联想(北京)有限公司 Bar code identification method and equipment and computer storage medium
CN111507116A (en) * 2019-01-31 2020-08-07 北京骑胜科技有限公司 Code scanning method and device, code scanning equipment and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2632746T3 (en) * 2009-04-20 2017-09-15 Metaform Ltd. Multiple barcode detection system and procedure
CN102880850B (en) * 2012-09-19 2015-08-19 腾讯科技(深圳)有限公司 A kind of method of Quick Response Code batch scanning and scanning device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281829A (en) * 2013-07-12 2015-01-14 鸿富锦精密工业(深圳)有限公司 Bar code scanning device and scanning method
CN105303148A (en) * 2015-12-08 2016-02-03 深圳天珑无线科技有限公司 Bar code scanning method and device
CN106056028A (en) * 2016-06-29 2016-10-26 倪洪雷 Rapid scanning and waybill recording method and device thereof
WO2018103676A1 (en) * 2016-12-07 2018-06-14 中兴通讯股份有限公司 Scanning method, device and terminal
CN109543479A (en) * 2018-10-24 2019-03-29 金蝶蝶金云计算有限公司 Barcode scanning method, apparatus, equipment and storage medium
CN111507116A (en) * 2019-01-31 2020-08-07 北京骑胜科技有限公司 Code scanning method and device, code scanning equipment and computer readable storage medium
CN111008540A (en) * 2019-11-29 2020-04-14 联想(北京)有限公司 Bar code identification method and equipment and computer storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Autonomous and malware-proof blockchain-based firmware update platform with efficient batch verification for Internet of Things devices;Jen-Wei Hu等;Computers & Security;20190930;全文 *
COMIS库存管理与条形码***集成方法探索;徐东风;陈先发;;软件导刊;20131224(12);全文 *

Also Published As

Publication number Publication date
CN112417914A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
US8712853B2 (en) Code reading apparatus, sales registering apparatus, and sales registering method
JP2009187482A (en) Shelf allocation reproducing method, shelf allocation reproduction program, shelf allocation evaluating method, shelf allocation evaluation program, and recording medium
US7913910B2 (en) Method of programming a barcode scanner
US20110180596A1 (en) Code reading apparatus, sales registration processing apparatus, and code reading method
EP2905757A1 (en) Reading apparatus
CN112417914B (en) Data scanning method and device and electronic equipment
CN112950738B (en) Rendering engine processing method and device, storage medium and electronic equipment
JP6722438B2 (en) Information processing apparatus, information processing method, and program
US10402777B2 (en) Method and a system for object recognition
CN104091256A (en) System and method for information recognition and communication at fixed express delivery pick-up point
US20100320273A1 (en) Code symbol scanning apparatus and code symbol scanning method
JP2020095537A (en) Learning dataset automatic generation system, server, and learning dataset automatic generation program
CN111401438B (en) Image sorting method, device and system
CN111045529B (en) Data input method, system and related equipment
CN108804652B (en) Method and device for generating cover picture, storage medium and electronic device
JP5169052B2 (en) Information reading system and program
EP4327256A1 (en) Validating elements displayed on a display fixture
JP2022113972A (en) Inspection system using image recognition, inspection method, and program for inspection system
US10915753B2 (en) Operation assistance apparatus, operation assistance method, and computer readable recording medium
US20200057877A1 (en) Code symbol reading device and method therefor
JP6708935B2 (en) Information processing apparatus, processing method thereof, and program
US9858563B2 (en) Information processing apparatus using object recognition technique and method for operating the same
JP2019153167A (en) Code reading device and program
US20230070189A1 (en) Code reading device and code reading method
JP2011018289A (en) Code symbol reading apparatus and control program thereof

Legal Events

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