CN112837008B - Bar code reading method, device, equipment and storage medium - Google Patents

Bar code reading method, device, equipment and storage medium Download PDF

Info

Publication number
CN112837008B
CN112837008B CN202110062339.4A CN202110062339A CN112837008B CN 112837008 B CN112837008 B CN 112837008B CN 202110062339 A CN202110062339 A CN 202110062339A CN 112837008 B CN112837008 B CN 112837008B
Authority
CN
China
Prior art keywords
code
reading
target
scanning task
code scanning
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
CN202110062339.4A
Other languages
Chinese (zh)
Other versions
CN112837008A (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.)
Shandong Inspur Innovation and Entrepreneurship Technology Co Ltd
Original Assignee
Shandong Inspur Innovation and Entrepreneurship 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 Shandong Inspur Innovation and Entrepreneurship Technology Co Ltd filed Critical Shandong Inspur Innovation and Entrepreneurship Technology Co Ltd
Priority to CN202110062339.4A priority Critical patent/CN112837008B/en
Publication of CN112837008A publication Critical patent/CN112837008A/en
Application granted granted Critical
Publication of CN112837008B publication Critical patent/CN112837008B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Accounting & Taxation (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)

Abstract

The embodiment of the application provides a bar code reading method, a device, equipment and a storage medium, wherein the bar code reading method comprises the following steps: acquiring code scanning task information; searching all reading rules conforming to the code scanning task information in a preset reading rule base based on the code scanning task information to obtain a target rule set; reading a first bar code for verification according to the reading rule in the target rule set; and storing the first bar code which passes the verification into a bar code information table. The application realizes the effective reading of the bar codes of different types and improves the scanning and identifying efficiency of the bar codes.

Description

Bar code reading method, device, equipment and storage medium
Technical Field
The present application relates to the field of information technologies, and in particular, to a method, an apparatus, a device, and a storage medium for reading a barcode.
Background
The SN code (Serial Number) is a concept introduced for verifying the legal identity of a product, and is used to ensure the legal rights and interests of users and enjoy legal services, and a set of legal products only corresponds to a set of product Serial codes. At present, in the informatization management process of logistics warehouse, cargo information needs to be collected through code scanning, but the SN code generation logic of different clients or different cargoes may have great difference, so that it is difficult to scan the SN codes of all cargoes through a handheld device.
Disclosure of Invention
The embodiment of the application aims to provide a bar code reading method, a device, equipment and a storage medium, which are used for realizing the reading of bar codes of different types and improving the scanning and identifying efficiency of the bar codes.
An embodiment of the present application provides a barcode reading method, including: acquiring code scanning task information; searching all reading rules conforming to the code scanning task information in a preset reading rule base based on the code scanning task information to obtain a target rule set; reading a first bar code for verification according to the reading rule in the target rule set; and storing the first bar code which passes the verification into a bar code information table.
In an embodiment, the searching all the reading rules conforming to the code scanning task information in a preset reading rule base based on the code scanning task information to obtain a target rule set includes: determining the code scanning task type according to the code scanning task information; according to the code scanning task type, searching a corresponding target code from the code scanning task information; and searching all the reading rules corresponding to the target codes in a preset reading rule base based on the target codes to obtain a target rule set.
In an embodiment, the searching the corresponding target code from the code scanning task information according to the code scanning task type includes: when the code scanning task type is a first type, the target code is a first code; and when the code scanning task type is the second type, the target code is the second code.
In an embodiment, the reading the first barcode according to the reading rule in the target rule set for verification includes: selecting the reading rule with the highest preset priority from the target rule set as a target reading rule; reading a first bar code according to the target reading rule to verify; judging whether the verification is passed or not; when the verification is not passed, selecting the reading rule of the next priority from the target rule set as a target reading rule according to the sequence from high to low of the preset priority; and reading the first bar code for verification according to the target reading rule until the verification passes.
In an embodiment, the reading the first barcode according to the target reading rule for verification includes: intercepting the first bar code according to the target reading rule to obtain a second bar code; acquiring article information corresponding to the second bar code; and verifying the article information.
In an embodiment, the reading the first barcode according to the target reading rule for verification includes: reading a first bar code according to the target reading rule; acquiring a second bar code corresponding to the first bar code based on a preset association relation; acquiring article information corresponding to the second bar code; and verifying the article information.
In an embodiment, the reading rule includes coding information, interception mode information, priority information, and valid state information.
A second aspect of an embodiment of the present application provides a barcode reading apparatus, including: the acquisition module is used for acquiring code scanning task information; the searching module is used for searching all reading rules conforming to the code scanning task information in a preset reading rule base based on the code scanning task information to obtain a target rule set; the reading module is used for reading the first bar code for verification according to the reading rules in the target rule set; and the storage module is used for storing the first bar code which passes the verification into a bar code information table.
In an embodiment, the search module is configured to: determining the code scanning task type according to the code scanning task information; according to the code scanning task type, searching a corresponding target code from the code scanning task information; and searching all the reading rules corresponding to the target codes in a preset reading rule base based on the target codes to obtain a target rule set.
In one embodiment, the reading module is configured to: selecting the reading rule with the highest preset priority from the target rule set as a target reading rule; reading a first bar code according to the target reading rule to verify; judging whether the verification is passed or not; when the verification is not passed, selecting the reading rule of the next priority from the target rule set as a target reading rule according to the sequence from high to low of the preset priority; and reading the first bar code for verification according to the target reading rule until the verification passes.
In one embodiment, the reading module is specifically configured to: intercepting the first bar code according to the target reading rule to obtain a second bar code; acquiring article information corresponding to the second bar code; and verifying the article information.
In one embodiment, the reading module is specifically configured to: reading a first bar code according to the target reading rule; acquiring a second bar code corresponding to the first bar code based on a preset association relation; acquiring article information corresponding to the second bar code; and verifying the article information.
A third aspect of an embodiment of the present application provides an electronic device, including: a memory for storing a computer program; a processor configured to perform the method of the first aspect of the embodiments of the present application and any of the embodiments thereof.
A fourth aspect of an embodiment of the present application provides a non-transitory electronic device readable storage medium, comprising: and a program which, when run by an electronic device, causes the electronic device to perform the method of the first aspect of the embodiments of the application and any of its embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the application;
FIG. 2 is a flow chart of a bar code reading method according to an embodiment of the application;
fig. 3 is a schematic structural diagram of a bar code reading device according to an embodiment of the application.
Reference numerals:
100-electronic equipment, 110-bus, 120-processor, 130-memory, 300-bar code reading device, 310-acquisition module, 320-search module, 330-reading module, 340-storage module.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
In the description of the present application, the terms "first," "second," and the like are used merely for distinguishing between descriptions, and do not denote a ordinal number, nor are they to be construed as indicating or implying relative importance.
In the description of the present application, the terms "comprises," "comprising," and the like, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof.
In the description of the present application, the terms "mounted," "disposed," "provided," "connected," and "configured" are to be construed broadly unless otherwise specifically defined and limited. For example, it may be a fixed connection, a removable connection, or a unitary construction; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or through internal communication between two devices, elements, or components. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
Referring to fig. 1, a schematic structural diagram of an electronic device 100 according to an embodiment of the application includes at least one processor 120 and a memory 130, and one processor is illustrated in fig. 1. The processor 120 and the memory 130 are connected through the bus 110, and the memory 130 stores instructions executable by the at least one processor 120, the instructions being executed by the at least one processor 120 to cause the at least one processor 120 to perform a bar code reading method as in the following embodiments.
In one embodiment, processor 120 may be a general-purpose Processor including, but not limited to, a central processing unit (Central Processing Unit, CPU), a network Processor (Network Processor, NP), etc., a digital signal Processor (DIGITAL SIGNAL Processor, DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (Field Programmable GATE ARRAY, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 120 is a control center of the electronic device 100, connecting various parts of the entire electronic device 100 using various interfaces and lines. Processor 120 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application.
In one embodiment, memory 130 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, including, but not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), static random access Memory (Static Random Access Memory, simply SRAM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), and the like.
The structure of the electronic device 100 shown in fig. 1 is merely illustrative, and the electronic device 100 may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Fig. 2 is a flowchart of a barcode reading method according to an embodiment of the present application, which can be performed by the electronic device 100 shown in fig. 1 to achieve reading of different types of barcodes. The method comprises the following steps:
Step 210: and acquiring code scanning task information.
In the above step, the code scanning task information may include a first barcode to be scanned and an operation node where the code scanning task is located. Taking the logistics storage scene as an example, the first bar code can be scanned by a code scanning gun or other handheld devices at different operation nodes so as to record or inquire the information of the article, and the operation nodes can comprise, but are not limited to, receiving goods, loading, picking goods, rechecking, checking, stock inquiring, shifting and the like.
The first bar code is an SN code (Serial Number) which is a unique code of an article and can be used for precisely managing each article, the SN code is generally pasted or drawn on the article in a bar code form, and the bar code is a graphic identifier for expressing a group of information by arranging a plurality of black bars and blanks with different widths according to a certain coding rule. A common bar code is a pattern of parallel lines arranged by black bars (abbreviated bars) and white bars (abbreviated spaces) of widely varying reflectivity.
The logic for generating the SN codes of different types may be the same or different, for example, some types of SN codes may include 69 codes, some types of SN codes do not include 69 codes, china adopts an international commodity code and bar code identification system, and popularizes and applies commodity bar codes to establish a commodity identification system of China, and since commodity codes of China begin with 69, the commodity identification system is also called 69 codes.
Step 220: searching all reading rules conforming to the code scanning task information in a preset reading rule base based on the code scanning task information to obtain a target rule set.
In the above steps, different reading rules may be configured for different warehouses, and the reading rules and corresponding warehouse codes are associated and stored in a preset reading rule library, where each warehouse may be configured with one or more reading rules correspondingly, and the priority among the plurality of reading rules may be configured according to the storage condition of the articles in the warehouse, for example, the more articles in the warehouse storing a certain type of SN code, the higher the priority of the reading rule applicable to the type of SN code.
In addition, different reading rules can be configured for different owners, the reading rules are associated with corresponding owner codes and stored in a preset reading rule base, one or more reading rules can be correspondingly configured for each owner, and priorities among the plurality of reading rules can be configured according to the condition of the articles of the owner.
In one embodiment, the reading rule may include encoding information, interception mode information, priority information, and valid state information.
In the above step, the code information refers to a cargo owner code or a warehouse code associated with the read rule, and the interception mode information may include a start bit and a stop bit of the read, and may further include a special separator, for example, "" "; the special separator based interception mode may be configured to read from the special separator or to read the content between two special separators. The priority information can be represented by the size of a numerical value, the smaller the numerical value is, the higher the priority is, the valid state information is generally valid (Y) or invalid (N), and when all the reading rules conforming to the code scanning task information are searched, the reading rules in the invalid state can be automatically skipped.
In an embodiment, searching all the reading rules conforming to the code scanning task information in a preset reading rule base based on the code scanning task information to obtain a target rule set may include: determining the code scanning task type according to the code scanning task information; according to the code scanning task type, searching a corresponding target code from code scanning task information; searching all reading rules corresponding to the target codes in a preset reading rule base based on the target codes to obtain a target rule set.
In an embodiment, according to the code scanning task type, searching the corresponding target code from the code scanning task information may include: when the code scanning task type is the first type, the target code is the first code; when the code scanning task type is the second type, the target code is the second code.
In the above step, it may be determined whether the code scanning task type is a first type or a second type according to the operation node in the code scanning task information, when the code scanning task type is the first type, the first code is searched from the code scanning task information, when the code scanning task type is the second type, the second code is searched from the code scanning task information, and then according to the first code or the second code, the corresponding associated reading rule is searched in a preset reading rule library, so as to obtain the target rule set.
In the logistics storage scene, the first type can be a job ticket type, the first code is a cargo owner code, the second type can be an in-warehouse query type, the second code is a warehouse code, the code scanning tasks in the nodes of receiving, loading, picking and rechecking belong to the first type, and the code scanning tasks in the nodes of checking, inventory query and shifting belong to the second type.
Step 230: and reading the first bar code for verification according to the reading rule in the target rule set.
In one embodiment, reading the first barcode to verify according to the reading rule in the target rule set includes: selecting a reading rule with the highest preset priority from the target rule set as a target reading rule; reading the first bar code according to the target reading rule for verification; judging whether the verification is passed or not; when the verification fails, selecting a reading rule of the next priority from the target rule set according to the sequence from high to low of the preset priority, and taking the reading rule as a target reading rule; and reading the first bar code for verification according to the target reading rule until the verification passes.
In an embodiment, according to the target reading rule, reading the first barcode for verification may include: intercepting the first bar code according to the target reading rule to obtain a second bar code; acquiring article information corresponding to the second bar code; and checking the article information.
In the above steps, the first barcode is an SN code, the second barcode is a 69 code, the 69 code is included in the SN code, firstly, interception and verification are performed on the SN code according to a reading rule with the highest preset priority in the target rule set, and if the verification is not passed, interception and verification are performed on the SN code according to a reading rule with the next priority according to the sequence from high to low of the preset priority. Intercepting and checking the SN code may include: judging whether the intercepted part is 69 codes, if the intercepted part is not 69 codes, checking not to pass, if the intercepted part is 69 codes, acquiring article information corresponding to the 69 codes, judging whether the article information is consistent with order information in an order system, if so, checking to pass, and if not, checking not to pass. The item information may include, but is not limited to, item name, model number, date of manufacture, lot size, etc.
In one embodiment, reading the first barcode to verify according to the target reading rule includes: reading the first bar code according to the target reading rule; acquiring a second bar code corresponding to the first bar code based on a preset association relation; acquiring article information corresponding to the second bar code; and checking the article information.
In the above steps, the first barcode is an SN code, the second barcode is a 69 code, the 69 code is not included in the SN code, but the database stores a preset association relationship between the SN code and the 69 code, and the second barcode corresponding to the first barcode may be acquired based on the preset association relationship, so that the article information corresponding to the second barcode is acquired for verification.
In an embodiment, the code scanning task information may include a first bar code and a second bar code with scanning, and then the second bar code is read first for verification, and then the first bar code is read, and the first bar code and the second bar code are associated.
Step 240: and storing the first bar code passing the verification into a bar code information table.
In the above step, according to the reading rule in the target rule set, the first barcode is read for verification, and after the verification is passed, the first barcode and the newly added or changed operation information of the current operation node are stored in the barcode information table, where the operation information may include, but is not limited to: code scanning time, article storage positions and the like.
As shown in fig. 3, a schematic structural diagram of a barcode reading apparatus 300 according to an embodiment of the present application is shown, which can be applied to the electronic device 100 shown in fig. 1, and includes: the device comprises an acquisition module 310, a search module 320, a reading module 330 and a storage module 340. The principle relation of each module is as follows:
The acquiring module 310 is configured to acquire code scanning task information.
The searching module 320 is configured to search all the reading rules conforming to the code scanning task information in a preset reading rule base based on the code scanning task information, so as to obtain a target rule set.
And the reading module 330 is configured to read the first barcode to perform verification according to the reading rule in the target rule set.
And the storage module 340 is configured to store the first barcode that passes the verification in the barcode information table.
In one embodiment, the lookup module 320 is configured to: determining the code scanning task type according to the code scanning task information; according to the code scanning task type, searching a corresponding target code from code scanning task information; searching all reading rules corresponding to the target codes in a preset reading rule base based on the target codes to obtain a target rule set.
In one embodiment, when the code scanning task type is the first type, the target code is the first code; when the code scanning task type is the second type, the target code is the second code.
In one embodiment, the reading module 330 is configured to: selecting a reading rule with the highest preset priority from the target rule set as a target reading rule; reading the first bar code according to the target reading rule for verification; judging whether the verification is passed or not; when the verification fails, selecting a reading rule of the next priority from the target rule set according to the sequence from high to low of the preset priority, and taking the reading rule as a target reading rule; and reading the first bar code for verification according to the target reading rule until the verification passes.
In one embodiment, the reading module 330 is specifically configured to: intercepting the first bar code according to the target reading rule to obtain a second bar code; acquiring article information corresponding to the second bar code; and checking the article information.
In one embodiment, the reading module 330 is specifically configured to: reading the first bar code according to the target reading rule; acquiring a second bar code corresponding to the first bar code based on a preset association relation; acquiring article information corresponding to the second bar code; and checking the article information.
In one embodiment, the reading rule includes coding information, interception mode information, priority information, and valid state information.
For a detailed description of the barcode reader 300, please refer to the description of the related method steps in the above embodiments.
The embodiment of the invention also provides an electronic device readable storage medium, which comprises: a program which, when run on an electronic device, causes the electronic device to perform all or part of the flow of the method in the above-described embodiments. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a hard disk (HARD DISK DRIVE, abbreviated as HDD), a Solid state disk (Solid-state disk STATE DRIVE, SSD), or the like. The storage medium may also comprise a combination of memories of the kind described above.
In the several embodiments provided in the present application, the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flowcharts and block diagrams in the figures that illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s).
In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application. Any modification, equivalent replacement, improvement, etc. which are within the spirit and principle of the present application, should be included in the protection scope of the present application, for those skilled in the art.

Claims (9)

1. A method of reading a bar code, comprising:
Acquiring code scanning task information; the code scanning task information comprises a first bar code to be scanned and an operation node where the code scanning task is located;
Searching all reading rules conforming to the code scanning task information in a preset reading rule base based on the code scanning task information to obtain a target rule set;
Reading the first bar code for verification according to the reading rule in the target rule set;
Storing the first bar code passing the verification into a bar code information table;
searching all reading rules conforming to the code scanning task information in a preset reading rule base based on the code scanning task information to obtain a target rule set, wherein the method comprises the following steps:
determining the code scanning task type according to the code scanning task information;
according to the code scanning task type, searching a corresponding target code from the code scanning task information;
Searching all the reading rules corresponding to the target codes in a preset reading rule base based on the target codes to obtain a target rule set;
the determining the code scanning task type according to the code scanning task information comprises the following steps:
Determining the code scanning task type according to the operation node in the code scanning task information;
the code scanning task type comprises a job ticket type and an in-library query type, wherein a target code corresponding to the job ticket type code scanning task type is a cargo owner code, and a target code corresponding to the in-library query type code scanning task type is a warehouse code.
2. The method of claim 1, wherein the searching for the corresponding target code from the code scanning task information according to the code scanning task type includes:
when the code scanning task type is a first type, the target code is a first code;
and when the code scanning task type is the second type, the target code is the second code.
3. The method of claim 1, wherein the reading the first barcode for verification according to the read rule in the target rule set comprises:
Selecting the reading rule with the highest preset priority from the target rule set as a target reading rule;
reading a first bar code according to the target reading rule to verify;
Judging whether the verification is passed or not;
When the verification is not passed, selecting the reading rule of the next priority from the target rule set as a target reading rule according to the sequence from high to low of the preset priority;
And reading the first bar code for verification according to the target reading rule until the verification passes.
4. A method according to claim 3, wherein reading the first barcode for verification according to the target reading rule comprises:
intercepting the first bar code according to the target reading rule to obtain a second bar code;
Acquiring article information corresponding to the second bar code;
and verifying the article information.
5. A method according to claim 3, wherein reading the first barcode for verification according to the target reading rule comprises:
Reading a first bar code according to the target reading rule;
Acquiring a second bar code corresponding to the first bar code based on a preset association relation;
Acquiring article information corresponding to the second bar code;
and verifying the article information.
6. The method of claim 1, wherein the read rule comprises encoding information, intercept information, priority information, validity status information.
7. A bar code reading apparatus, comprising:
the acquisition module is used for acquiring code scanning task information; the code scanning task information comprises a first bar code to be scanned and an operation node where the code scanning task is located;
the searching module is used for searching all reading rules conforming to the code scanning task information in a preset reading rule base based on the code scanning task information to obtain a target rule set;
the reading module is used for reading the first bar code for verification according to the reading rules in the target rule set;
the storage module is used for storing the first bar code which passes the verification into a bar code information table;
The search module is further configured to:
determining the code scanning task type according to the code scanning task information;
according to the code scanning task type, searching a corresponding target code from the code scanning task information;
Searching all the reading rules corresponding to the target codes in a preset reading rule base based on the target codes to obtain a target rule set;
wherein, the look-up module is further configured to:
Determining the code scanning task type according to the operation node in the code scanning task information;
the code scanning task type comprises a job ticket type and an in-library query type, wherein a target code corresponding to the job ticket type code scanning task type is a cargo owner code, and a target code corresponding to the in-library query type code scanning task type is a warehouse code.
8. An electronic device, comprising:
A memory for storing a computer program;
a processor configured to perform the method of any one of claims 1 to 6.
9. A non-transitory electronic device-readable storage medium, comprising: program which, when run by an electronic device, causes the electronic device to perform the method of any one of claims 1 to 6.
CN202110062339.4A 2021-01-18 2021-01-18 Bar code reading method, device, equipment and storage medium Active CN112837008B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110062339.4A CN112837008B (en) 2021-01-18 2021-01-18 Bar code reading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110062339.4A CN112837008B (en) 2021-01-18 2021-01-18 Bar code reading method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112837008A CN112837008A (en) 2021-05-25
CN112837008B true CN112837008B (en) 2024-06-04

Family

ID=75928576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110062339.4A Active CN112837008B (en) 2021-01-18 2021-01-18 Bar code reading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112837008B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115910309B (en) * 2023-01-09 2023-05-12 成都信通网易医疗科技发展有限公司 Method, system, equipment and medium for generating medical examination bar code
CN116596013B (en) * 2023-07-18 2023-11-03 立臻科技(昆山)有限公司 Bar code providing method, device, electronic equipment and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107609623A (en) * 2017-10-17 2018-01-19 九州通医疗信息科技(武汉)有限公司 Bar code processing method and device
CN107862234A (en) * 2017-10-23 2018-03-30 广东数相智能科技有限公司 A kind of recognition methods of color bar code, electronic equipment and storage medium
CN108197686A (en) * 2017-12-25 2018-06-22 康美药业股份有限公司 Item barcode analytic method, device and computer readable storage medium
CN109241806A (en) * 2018-08-10 2019-01-18 北京龙贝世纪科技股份有限公司 A kind of multi-code recognition methods and identifying system simultaneously
CN109978565A (en) * 2019-02-19 2019-07-05 摩比科技(深圳)有限公司 Product packaging data managing method, device, terminal device and readable storage medium storing program for executing
CN110427949A (en) * 2019-07-31 2019-11-08 中国工商银行股份有限公司 The method, apparatus of list verification calculates equipment and medium
CN111368574A (en) * 2020-03-06 2020-07-03 联想(北京)有限公司 Bar code identification method and device
CN112084438A (en) * 2020-09-01 2020-12-15 支付宝(杭州)信息技术有限公司 Code scanning skip data processing method, device, equipment and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106056332B (en) * 2016-05-27 2019-10-18 京东方科技集团股份有限公司 A kind of cargo management system and cargo managing method
US11017192B2 (en) * 2016-06-30 2021-05-25 Ncr Corporation Scan data source identification

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107609623A (en) * 2017-10-17 2018-01-19 九州通医疗信息科技(武汉)有限公司 Bar code processing method and device
CN107862234A (en) * 2017-10-23 2018-03-30 广东数相智能科技有限公司 A kind of recognition methods of color bar code, electronic equipment and storage medium
CN108197686A (en) * 2017-12-25 2018-06-22 康美药业股份有限公司 Item barcode analytic method, device and computer readable storage medium
CN109241806A (en) * 2018-08-10 2019-01-18 北京龙贝世纪科技股份有限公司 A kind of multi-code recognition methods and identifying system simultaneously
CN109978565A (en) * 2019-02-19 2019-07-05 摩比科技(深圳)有限公司 Product packaging data managing method, device, terminal device and readable storage medium storing program for executing
CN110427949A (en) * 2019-07-31 2019-11-08 中国工商银行股份有限公司 The method, apparatus of list verification calculates equipment and medium
CN111368574A (en) * 2020-03-06 2020-07-03 联想(北京)有限公司 Bar code identification method and device
CN112084438A (en) * 2020-09-01 2020-12-15 支付宝(杭州)信息技术有限公司 Code scanning skip data processing method, device, equipment and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Improving the productivity of order picking of a manual-pick and multi-level rack distribution warehouse through the implementation of class-based storag;Felix T.S. Chan;《Expert Systems with Applications》;20100831;第38卷(第3期);2686-2700 *
PMIS系统与条码物流仓储管理系统融合性研究与应用;闫嘉志;中国石油和化工标准与质量;20161008;第36卷(第19期);42-44 *

Also Published As

Publication number Publication date
CN112837008A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN110309125B (en) Data verification method, electronic device and storage medium
CN112837008B (en) Bar code reading method, device, equipment and storage medium
CN110599354B (en) Online checking method, online checking system, computer device and computer readable storage medium
WO2010051564A1 (en) System and method for tracking distribution of items
US20190180057A1 (en) Fingerprint-based configuration typing and classification
CN111369196A (en) Block chain-based target object checking method and system
US20180096021A1 (en) Methods and systems for improved search for data loss prevention
AU2022204480A1 (en) Intelligent cloud delivery and billing method and system for logistics apparatus
CN113837572A (en) Logistics monitoring method and related equipment
CN109754140A (en) A kind of asset management mode based on two dimensional code
US10296612B2 (en) Sorting system
US7639144B2 (en) System and method of validating asset tracking codes
CN115545602A (en) Storage management method and system based on ultrahigh frequency RFID electronic tag
KR102417568B1 (en) A product management device capable of checking real-time product information
CN112583761B (en) Management method and device of security entity, computer equipment and storage medium
CN114564501A (en) Database data storage and query methods, devices, equipment and medium
CN113935677A (en) Automatic warehouse entry and exit management method and system
CN110910058A (en) Method and device for managing materials
US10319006B2 (en) System and method for database queries
CN113205359B (en) Method and device for determining commodity price in bill and computer equipment
CN110570206A (en) commodity tracing method and device
CN112148782B (en) Market data access method and device
CN116341581B (en) Integrated management method and system for Internet of things code scanning equipment
CN117829735A (en) Article storage method, apparatus, electronic device and storage medium
CN118248219A (en) Data splitting method, computer equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240509

Address after: S02 Building, 1036 Langchao Road, Jinan Area, China (Shandong) Pilot Free Trade Zone, Jinan City, Shandong Province, 250000

Applicant after: Shandong Inspur innovation and entrepreneurship Technology Co.,Ltd.

Country or region after: China

Address before: 200120 2, building 979, Yun Han Road, mud town, Pudong New Area, Shanghai

Applicant before: Shanghai Yanxi Software Information Technology Co.,Ltd.

Country or region before: China

GR01 Patent grant