CN111667214A - Goods information acquisition method and device based on two-dimensional code and electronic equipment - Google Patents
Goods information acquisition method and device based on two-dimensional code and electronic equipment Download PDFInfo
- Publication number
- CN111667214A CN111667214A CN202010504365.3A CN202010504365A CN111667214A CN 111667214 A CN111667214 A CN 111667214A CN 202010504365 A CN202010504365 A CN 202010504365A CN 111667214 A CN111667214 A CN 111667214A
- Authority
- CN
- China
- Prior art keywords
- information
- dimension code
- goods
- template
- cargo
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000015654 memory Effects 0.000 claims description 29
- 238000012549 training Methods 0.000 claims description 16
- 238000007726 management method Methods 0.000 claims description 13
- 238000004458 analytical method Methods 0.000 claims description 4
- 229910000831 Steel Inorganic materials 0.000 description 14
- 239000010959 steel Substances 0.000 description 14
- 238000012545 processing Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/087—Inventory or stock management, e.g. order filling, procurement or balancing against orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods 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/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Economics (AREA)
- Tourism & Hospitality (AREA)
- Human Resources & Organizations (AREA)
- General Business, Economics & Management (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Marketing (AREA)
- Electromagnetism (AREA)
- Strategic Management (AREA)
- Toxicology (AREA)
- Entrepreneurship & Innovation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
Abstract
The invention provides a goods information acquisition method and device based on a two-dimension code, electronic equipment and a computer readable storage medium, wherein the goods information acquisition method based on the two-dimension code comprises the following steps: step S1, acquiring two-dimensional codes on goods; step S2, analyzing the two-dimension code to obtain two-dimension code information; and step S3, generating structured goods information through an information template based on the two-dimension code information. According to the two-dimensional code-based cargo information acquisition method, the structured cargo information is generated through the information template, the required cargo information is rapidly acquired, and the operation accuracy and efficiency are improved.
Description
Technical Field
The invention relates to the field of logistics, in particular to a goods information acquisition method and device based on two-dimensional codes, electronic equipment and a computer readable storage medium.
Background
When steel goods are stored and managed, the contradiction between the accuracy and consistency of goods information requirements and the efficiency of goods information acquisition is always a pain point of a warehouse.
The conventional operation mode needs manual denucleation to collect and check the goods labels, and hand-made goods information is needed to be managed under the conditions of warehouse entry and warehouse removal and the like, so that the time and labor are consumed, mistakes are easy to make, the warehousing management operation efficiency is low, and the cost is high.
Along with the development of two-dimensional code technology, most of the existing cargo steel labels are provided with two-dimensional codes, so that label information can be conveniently and rapidly collected. However, labels of goods of different specifications of different manufacturers are not unified, the shapes and the contents of the labels are different, and the two-dimensional code information is also five-flower eight-door. Therefore, how to obtain the required goods information from the goods label of the figure eight door to facilitate the goods management is a problem to be solved.
Disclosure of Invention
In view of this, the invention provides a cargo information obtaining method and device based on a two-dimensional code, an electronic device and a computer readable storage medium, which can solve the problems of low efficiency and high cost of warehousing management operation.
In order to solve the technical problem, on one hand, the invention provides a cargo information acquisition method based on a two-dimensional code, which comprises the following steps:
step S1, acquiring two-dimensional codes on goods;
step S2, analyzing the two-dimension code to obtain two-dimension code information;
and step S3, generating structured goods information through an information template based on the two-dimension code information.
Further, the step S3 includes:
step S31, establishing a template library, wherein the template library stores a plurality of information templates, each information template corresponds to 1 or more pieces of two-dimensional code information, and each information template is a format file with a plurality of pieces of classification information for the goods;
and step S32, matching the two-dimension code information with the information templates in the template library one by one, and generating the structured cargo information based on the information templates when the difference value between the two-dimension code information and the information templates is smaller than a preset threshold value.
Further, the match is a regular match.
Further, the training method of the information template comprises the following steps:
obtaining a plurality of two-dimension code samples;
analyzing the two-dimension code sample to obtain a plurality of two-dimension code information;
and marking and training based on the plurality of two-dimension code information to obtain the information template.
Further, the method of training comprises:
classifying the two-dimension code samples, and training respectively based on the two-dimension codes of different classes.
And further, aiming at the two-dimensional code of the key value class structure, the information template is trained through the key value type.
Further, for the two-dimensional code without the detailed structure, the information template is trained through bit-wise analysis.
Further, the training method further comprises: and (5) training the variety characteristic types according to the source manufacturer and the variety type of the goods.
Further, in step S32,
and when the difference value between the two-dimension code information and the information template is larger than the preset threshold value, generating a new information template based on the two-dimension code information, and inputting the new information template into the template library.
In a second aspect, the present invention provides a method for managing warehouse entry/exit, comprising:
acquiring structured cargo information of cargoes going in and out of a warehouse according to the cargo information based on the two-dimensional code;
and managing the goods to be delivered to or taken from the warehouse based on the structured goods information.
In a third aspect, the present invention provides a cargo information acquiring apparatus based on a two-dimensional code, including:
the acquisition module is used for acquiring the two-dimensional code;
the two-dimension code analysis module is used for analyzing the two-dimension code to obtain two-dimension code information;
and the cargo information generating module is used for generating structured cargo information through an information template based on the two-dimension code information.
In a fourth aspect, the present invention provides an electronic device for acquiring goods information based on a two-dimensional code, including:
one or more processors;
one or more memories having computer readable code stored therein, which when executed by the one or more processors, causes the processors to perform the steps of:
step S1, acquiring two-dimensional codes on goods;
step S2, analyzing the two-dimension code to obtain two-dimension code information;
and step S3, generating structured goods information through an information template based on the two-dimension code information.
In a fifth aspect, the present invention provides a computer readable storage medium having computer readable code stored therein, which when executed by one or more processors, causes the processors to perform the steps of:
step S1, acquiring two-dimensional codes on goods;
step S2, analyzing the two-dimension code to obtain two-dimension code information;
and step S3, generating structured goods information through an information template based on the two-dimension code information.
The technical scheme of the invention at least has one of the following beneficial effects:
according to the two-dimension code-based cargo information acquisition method, the structured cargo information is generated through the information template, the cargo information can be rapidly acquired, the operation accuracy and efficiency are improved, the non-uniform label two-dimension codes can be identified and the required cargo information can be output according to the uniform format, and the cargo management is facilitated.
Further, matching the two-dimensional code information with an information template in a template library by establishing the template library, so that the matching success rate is improved;
furthermore, regular matching is carried out on the two-dimension code information in an information template, and efficiency and accuracy are improved.
Furthermore, two-dimension code samples are classified and are trained respectively based on different types of two-dimension codes to obtain information templates, recognition rate and efficiency are improved, and the condition that some two-dimension codes cannot be matched due to micro-modification is avoided.
Drawings
Fig. 1 is a flowchart of a cargo information acquisition method based on a two-dimensional code according to an embodiment of the present invention;
FIG. 2 is a flow chart of obtaining information about a good through an information template according to an embodiment of the present invention;
FIG. 3 is a flow chart of an in-out management method for a warehouse according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a cargo information acquisition device based on a two-dimensional code according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The following detailed description of embodiments of the present invention will be made with reference to the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
In the following description, a steel label is taken as an example. It should be noted that steel is only one of thousands of goods, and the method of the present invention is suitable for information acquisition, inventory management, and the like of any goods with two-dimensional code information.
At present, in the aspect of steel logistics storage management, the problems of low efficiency and high error rate are solved aiming at the problem that goods information labels need to be copied and compared manually. At present, most of steel labels are provided with two-dimension codes, and label information can be conveniently and rapidly collected. However, the steel labels are not in a unified standard, the shapes and the contents of the labels are different in hundreds of steel mills and even products of a production line, and the two-dimensional code information is also five-door and eight-door. One of the important points of the invention is also how to obtain relatively uniform cargo information based on the non-uniform two-dimensional code label.
Therefore, the goods information is rapidly acquired through the analysis of the two-dimensional codes, the operation accuracy and efficiency are improved, the structured goods information is generated through the information template, the required goods information can be identified and output by the non-uniform label two-dimensional codes according to a uniform format, and the goods management is facilitated.
First, a cargo information acquisition method based on a two-dimensional code according to an embodiment of the present invention will be described with reference to fig. 1.
As shown in fig. 1, the method for acquiring cargo information based on two-dimensional codes according to the embodiment of the present invention includes:
and step S1, acquiring the two-dimensional code on the goods.
Alternatively, the two-dimensional code on the goods can be acquired through scanning of a scanner, shooting of a camera and the like.
And step S2, analyzing the two-dimension code to obtain two-dimension code information.
The two-dimensional codes are analyzed to obtain irregular two-dimensional code information, such as 0xxlwg201905100tl1 and the like, the two-dimensional code information is complex in proportion, for example, in the field of steel logistics, goods in a warehouse come from different steel mills around the world, the goods have different two-dimensional code forms, the goods are quite diverse, even different two-dimensional code information exists in the same variety and different production lines of the same steel mill, and the needed goods information can be obtained through subsequent processing.
And step S3, generating structured goods information through an information template based on the two-dimension code information.
That is to say, the two-dimensional code information is processed through the information template to obtain structured goods information.
The structured cargo information is cargo information having a predetermined format and including a plurality of pieces of classification information. For example, it may be cargo information generated by a predetermined table.
Therefore, the required goods information can be identified and output by the non-uniform label two-dimensional codes according to a uniform format, and the goods can be managed conveniently.
Optionally, the method of step S3 is:
step S31, a template library is created, in which a plurality of information templates are stored, each information template corresponds to 1 or more pieces of two-dimensional code information, and each information template is a format file having a plurality of pieces of classification information for the goods.
That is, each information template corresponds to 1 or more two-dimensional code information as necessary, and each information template is a format file having a plurality of pieces of classification information for the goods. And different information templates can be generated according to different requirements or different label sources, and various information templates are gathered to the template library, so that matching is performed after two-dimensional code information is obtained, and structured goods information is generated finally.
Optionally, the two-dimensional code information template includes a classification information name required by warehouse management and a corresponding blank area thereof, wherein the classification information name may include a manufacturer, a goods name, a date or a weight, and the like.
And step S32, matching the two-dimension code information with the information templates in the template library one by one, and generating the structured cargo information based on the information templates when the difference value between the two-dimension code information and the information templates is less than a preset threshold value.
That is, if the matching is successful, the structured good information is obtained through the information template. Therefore, the required cargo information can be generated, the management is convenient, the efficiency is improved, and the cost is reduced.
For example, when the two-dimensional code information is matched with the classification information name of the information template, the goods information corresponding to the two-dimensional code information is extracted, and the goods information is recorded in the corresponding blank area, so that the structured goods information is generated.
Optionally, the format of the structured output may be a text string, a word, an EXCELL, or the like, and the format of the output is not limited herein.
For example, the two-dimensional code information is 0xxlwg201905100tl1, and structured goods information is generated based on the information template, thereby obtaining the information shown in table 1.
TABLE 1
Name of classified information | Cargo information |
Name of manufacturer | XX Corp Ltd |
Goods name | Deformed steel bar |
Date of arrival | Year 2019, month 5 |
Weight (D) | 100 ton of |
And when the difference value between the two-dimension code information and the information template is larger than the preset threshold value, generating a new information template based on the two-dimension code information, and inputting the new information template into the template library.
That is, if the information template has no corresponding two-dimensional code information, a new information template is generated and is recorded into the template library. Therefore, the template library can be enlarged, and subsequent matching is facilitated.
According to some embodiments of the invention, the two-dimensional code information and the information templates in the template library are regularly matched one by one. Therefore, the matching accuracy and efficiency can be improved.
Optionally, the information template is a program including a regular expression, and when the program is run, the two-dimensional code information can be read, regular matching between the two-dimensional code information and predetermined content in the information template can be performed, the two-dimensional code information and the cargo information can be replaced, lists of a plurality of pieces of classification information can be obtained, and the like.
Of course the above is an alternative example only, and any method of canonical matching should be understood to be within the scope of the invention.
For example, as shown in fig. 2, the process of finally obtaining the structured cargo information through the canonical matching based on the information template specifically includes:
1) scanning the two-dimensional code;
2) analyzing the two-dimension code to obtain two-dimension code information;
3) performing regular matching on the two-dimension code information and the preset content of the information template, and entering the next step when the matching is successful;
when the matching fails, prompting to acquire the two-dimension code information and inputting the two-dimension code information into a template library;
4) intercepting the content, and optionally acquiring goods information corresponding to the preset content;
5) reading the configuration field, and optionally reading the name of the required classification information;
6) assigning a value to the matching field, and optionally, inputting the cargo information into a position corresponding to the classification information name;
7) if there are other special values, processing according to a preset rule.
According to some embodiments of the invention, a method for training an information template may include:
first, a plurality of two-dimensional code samples are obtained.
For example, in the field of steel logistics, goods two-dimensional codes of different manufacturers are obtained as samples.
And then, analyzing the two-dimension code sample to obtain a plurality of pieces of two-dimension code information.
And finally, labeling and training are carried out based on the two-dimension code information to obtain the information template.
Above can be to the whole mark of two-dimensional code and train, obtain the information template, follow-up this information template and two-dimensional code information of utilizing are matchd, obtain structural goods information. However, in this training method, when the two-dimensional code is slightly modified, the two-dimensional code needs to be learned again, and the two-dimensional code information of all fields needs to be matched, which affects the efficiency.
According to some embodiments of the invention, the two-dimensional code samples are classified and trained respectively based on two-dimensional codes of different classes.
Therefore, the method can accurately identify, avoid interference caused by slight change and improve efficiency.
Optionally, the information template is trained by key value types for the two-dimensional code of the key value class structure.
Optionally, for a two-dimensional code without a detailed structure, the information template is trained by bit-wise parsing.
For example, 0xxlwg201905100tl1 resolves bit by bit for manufacturer name from 2 rd to 3 rd, goods name from 4 th to 6 th, arrival date from 7 th to 12 th, and weight from 13 to 16.
Optionally, the variety characteristic type training is performed according to the goods source manufacturer and the variety type.
For example, lwg is a grade of deformed steel at xx manufacturers. Therefore, the situation of wrong identification caused by calling the threaded pipe by some manufacturers can be avoided lwg.
Next, an in-out management method of a warehouse according to an embodiment of the present invention will be described with reference to fig. 3.
As shown in fig. 3, the method for managing warehouse entry and exit in an embodiment of the present invention includes:
step 101, acquiring structured cargo information of the warehoused cargo according to the cargo information acquisition method based on the two-dimensional code;
and 102, managing the goods to be delivered to or taken from the warehouse based on the structured goods information.
Next, referring to fig. 4, a cargo information acquisition apparatus 1000 based on a two-dimensional code according to an embodiment of the present invention will be described.
As shown in fig. 4, a cargo information acquiring apparatus 1000 based on a two-dimensional code according to an embodiment of the present invention includes:
an obtaining module 1001 configured to obtain a two-dimensional code;
the two-dimension code analyzing module 1002 is configured to analyze the two-dimension code to obtain two-dimension code information;
and a cargo information generating module 1003, configured to generate structured cargo information through an information template based on the two-dimensional code information.
Further, the two-dimensional code based cargo information acquisition devices 1000 may also be respectively used for corresponding steps in the two-dimensional code based cargo information acquisition method, and a detailed description thereof is omitted here.
Next, an electronic device 1400 for acquiring goods information based on a two-dimensional code according to an embodiment of the present invention is described with reference to fig. 5.
As shown in fig. 5, an electronic device 1400 for acquiring goods information based on a two-dimensional code according to an embodiment of the present invention includes:
the method comprises the following steps: a processor 1401 and a memory 1402, in which memory 1402 computer program instructions are stored, wherein the computer program instructions, when executed by the processor, cause the processor 1401 to perform the steps of:
step S1, acquiring two-dimensional codes on goods;
step S2, analyzing the two-dimension code to obtain two-dimension code information;
and step S3, generating structured goods information through an information template based on the two-dimension code information.
That is, the processor 1401 may execute the two-dimensional code-based goods information acquiring method according to any one of the above embodiments.
Further, the electronic apparatus also includes a network interface 1403, an input device 1404, a hard disk 1405, and a display device 1406.
The various interfaces and devices described above may be interconnected by a bus architecture. A bus architecture may be any architecture that may include any number of interconnected buses and bridges. Various circuits of one or more Central Processing Units (CPUs), represented in particular by processor 1401, and one or more memories, represented by memory 1402, are coupled together. The bus architecture may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like. It will be appreciated that a bus architecture is used to enable communications among the components. The bus architecture includes a power bus, a control bus, and a status signal bus, in addition to a data bus, all of which are well known in the art and therefore will not be described in detail herein.
The network interface 1403 may be connected to a network (e.g., the internet, a local area network, etc.), obtain relevant data from the network, and store the relevant data in the hard disk 1405.
The input device 1404 may receive various instructions from an operator and send them to the processor 1401 for execution. The input device 1404 may include a keyboard or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
The display device 1406 may display a result obtained by the processor 1401 executing the instruction.
The memory 1402 is used for storing programs and data necessary for operating the operating system, and data such as intermediate results in the calculation process of the processor 1401.
It will be appreciated that the memory 1402 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. The memory 1402 of the apparatus and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 1402 stores elements, executable modules or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 14021 and application programs 14014.
The operating system 14021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 14014 includes various applications, such as a Browser (Browser), and the like, for implementing various application services. A program implementing a method according to an embodiment of the invention may be included in the application 14014.
When calling and executing the application program and data stored in the memory 1402, specifically, the application program or the instruction stored in the application 14014, the processor 1401 first obtains the two-dimensional code on the goods; then, analyzing the two-dimension code to obtain two-dimension code information; then, based on the two-dimension code information, structured cargo information is generated through an information template.
The methods disclosed by the above-described embodiments of the present invention may be applied to the processor 1401, or may be implemented by the processor 1401. Processor 1401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of hardware integrated logic circuits or software in the processor 1401. The processor 1401 may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, and may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory 1402, and a processor 1401 reads information in the memory 1402 and performs the steps of the above method in combination with hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute the following steps:
step S1, acquiring two-dimensional codes on goods;
step S2, analyzing the two-dimension code to obtain two-dimension code information;
and step S3, generating structured goods information through an information template based on the two-dimension code information.
That is, the computer program may be used to execute the two-dimensional code-based cargo information acquisition method according to any one of the above embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the transceiving method according to various embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (13)
1. A cargo information acquisition method based on two-dimensional codes is characterized by comprising the following steps:
step S1, acquiring two-dimensional codes on goods;
step S2, analyzing the two-dimension code to obtain two-dimension code information;
and step S3, generating structured goods information through an information template based on the two-dimension code information.
2. The two-dimensional code based cargo information acquisition method according to claim 1, wherein the step S3 includes:
step S31, establishing a template library, wherein the template library stores a plurality of information templates, each information template corresponds to 1 or more pieces of two-dimensional code information, and each information template is a format file with a plurality of pieces of classification information for the goods;
and step S32, matching the two-dimension code information with the information templates in the template library one by one, and generating the structured cargo information based on the information templates when the difference value between the two-dimension code information and the information templates is smaller than a preset threshold value.
3. The cargo information acquisition method based on the two-dimensional code according to claim 2, wherein the matching is a regular matching.
4. The cargo information acquisition method based on the two-dimensional code as claimed in claim 3, wherein the training method of the information template is:
obtaining a plurality of two-dimension code samples;
analyzing the two-dimension code sample to obtain a plurality of two-dimension code information;
and marking and training based on the plurality of two-dimension code information to obtain the information template.
5. The cargo information acquisition method based on the two-dimensional code as claimed in claim 4, wherein the training method comprises:
classifying the two-dimension code samples, and training respectively based on the two-dimension codes of different classes.
6. The two-dimensional code-based cargo information acquisition method according to claim 5, wherein the information template is trained by key value types for two-dimensional codes of key value class structures.
7. The two-dimensional code-based cargo information acquisition method according to claim 5, wherein the information template is trained by bit-wise parsing for a two-dimensional code without a detailed structure.
8. The cargo information acquisition method based on two-dimensional code according to claim 4, wherein the training method further comprises: and (5) training the variety characteristic types according to the source manufacturer and the variety type of the goods.
9. The two-dimensional code based cargo information acquisition method according to claim 2, wherein in step S32,
and when the difference value between the two-dimension code information and the information template is larger than the preset threshold value, generating a new information template based on the two-dimension code information, and inputting the new information template into the template library.
10. An in-out management method for a warehouse, comprising the steps of:
the two-dimensional code-based cargo information acquisition method according to any one of claims 1 to 9, acquiring structured cargo information of warehoused cargo;
and managing the goods to be delivered to or taken from the warehouse based on the structured goods information.
11. The utility model provides a goods information acquisition device based on two-dimensional code which characterized in that includes:
the acquisition module is used for acquiring the two-dimensional code;
the two-dimension code analysis module is used for analyzing the two-dimension code to obtain two-dimension code information;
and the cargo information generating module is used for generating structured cargo information through an information template based on the two-dimension code information.
12. An electronic device for acquiring goods information based on a two-dimensional code, comprising:
one or more processors;
one or more memories having computer readable code stored therein, which when executed by the one or more processors, causes the processors to perform the steps of:
step S1, acquiring two-dimensional codes on goods;
step S2, analyzing the two-dimension code to obtain two-dimension code information;
and step S3, generating structured goods information through an information template based on the two-dimension code information.
13. A computer readable storage medium having computer readable code stored therein, which when executed by one or more processors, causes the processors to perform the steps of:
step S1, acquiring two-dimensional codes on goods;
step S2, analyzing the two-dimension code to obtain two-dimension code information;
and step S3, generating structured goods information through an information template based on the two-dimension code information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010504365.3A CN111667214B (en) | 2020-06-05 | 2020-06-05 | Goods information acquisition method and device based on two-dimensional code and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010504365.3A CN111667214B (en) | 2020-06-05 | 2020-06-05 | Goods information acquisition method and device based on two-dimensional code and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111667214A true CN111667214A (en) | 2020-09-15 |
CN111667214B CN111667214B (en) | 2024-03-15 |
Family
ID=72386534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010504365.3A Active CN111667214B (en) | 2020-06-05 | 2020-06-05 | Goods information acquisition method and device based on two-dimensional code and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111667214B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113159246A (en) * | 2021-04-15 | 2021-07-23 | 中物(北京)物流信息服务有限公司 | Steel mill cargo identification method and device based on two-dimensional code label and computer equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013133129A (en) * | 2011-12-26 | 2013-07-08 | Teraoka Seiko Co Ltd | Labelling system, label issuing device, and label sheet |
CN107862010A (en) * | 2017-10-27 | 2018-03-30 | 深圳市智物联网络有限公司 | A kind of method, device and mobile terminal for obtaining Internet of Things application system information |
CN108197514A (en) * | 2017-12-19 | 2018-06-22 | 阿里巴巴集团控股有限公司 | A kind of carrier article, service information acquisition method, device and equipment |
CN109063794A (en) * | 2018-07-02 | 2018-12-21 | 广东禧越网络科技有限公司 | A kind of method and system generating item price label |
CN110705666A (en) * | 2019-10-22 | 2020-01-17 | 顺忠宝智能科技(深圳)有限公司 | Artificial intelligence cloud computing display rack goods and label monitoring and goods storage method |
CN110991446A (en) * | 2019-11-22 | 2020-04-10 | 上海欧冶物流股份有限公司 | Label identification method, device, equipment and computer readable storage medium |
-
2020
- 2020-06-05 CN CN202010504365.3A patent/CN111667214B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013133129A (en) * | 2011-12-26 | 2013-07-08 | Teraoka Seiko Co Ltd | Labelling system, label issuing device, and label sheet |
CN107862010A (en) * | 2017-10-27 | 2018-03-30 | 深圳市智物联网络有限公司 | A kind of method, device and mobile terminal for obtaining Internet of Things application system information |
CN108197514A (en) * | 2017-12-19 | 2018-06-22 | 阿里巴巴集团控股有限公司 | A kind of carrier article, service information acquisition method, device and equipment |
CN109063794A (en) * | 2018-07-02 | 2018-12-21 | 广东禧越网络科技有限公司 | A kind of method and system generating item price label |
CN110705666A (en) * | 2019-10-22 | 2020-01-17 | 顺忠宝智能科技(深圳)有限公司 | Artificial intelligence cloud computing display rack goods and label monitoring and goods storage method |
CN110991446A (en) * | 2019-11-22 | 2020-04-10 | 上海欧冶物流股份有限公司 | Label identification method, device, equipment and computer readable storage medium |
Non-Patent Citations (2)
Title |
---|
李竣;张宇;王德彬;杨光忠;: "民族药分子教学模拟库中二维码数据化标签的建立", 绿色科技, no. 21, 15 November 2018 (2018-11-15), pages 264 - 266 * |
翁心刚,安久意,黄全明,李俊韬: "《大宗商品全程电子商务及物流模式研究》", 中国财富出版社, pages: 179 - 181 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113159246A (en) * | 2021-04-15 | 2021-07-23 | 中物(北京)物流信息服务有限公司 | Steel mill cargo identification method and device based on two-dimensional code label and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111667214B (en) | 2024-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108932294B (en) | Resume data processing method, device, equipment and storage medium based on index | |
CN110069623B (en) | Abstract text generation method and device, storage medium and computer equipment | |
CN110826494B (en) | Labeling data quality evaluation method, labeling data quality evaluation device, computer equipment and storage medium | |
US11501549B2 (en) | Document processing using hybrid rule-based artificial intelligence (AI) mechanisms | |
CN113760891B (en) | Data table generation method, device, equipment and storage medium | |
CN111208998A (en) | Method and device for automatically laying out data visualization large screen and storage medium | |
CN113627168B (en) | Method, device, medium and equipment for checking component packaging conflict | |
CN109933502B (en) | Electronic device, user operation record processing method and storage medium | |
CN111353286A (en) | Table file processing method and device, computer equipment and storage medium | |
CN114428677A (en) | Task processing method, processing device, electronic equipment and storage medium | |
CN110991446B (en) | Label identification method, device, equipment and computer readable storage medium | |
CN102117436A (en) | System and method for analyzing patient electronic receipt file | |
CN110688315A (en) | Interface code detection report generation method, electronic device, and storage medium | |
CN112418813A (en) | AEO qualification intelligent rating management system and method based on intelligent analysis and identification and storage medium | |
CN111667214B (en) | Goods information acquisition method and device based on two-dimensional code and electronic equipment | |
CN111695330A (en) | Method and device for generating table, electronic equipment and computer-readable storage medium | |
CN101169846A (en) | Kanban data processing method and kanban data processing system | |
CN115982272A (en) | Data labeling method and device for urban big data management and computer storage medium | |
CN115470034A (en) | Log analysis method, device and storage medium | |
CN111125483B (en) | Webpage data extraction template generation method and device, computer device and storage medium | |
US11170164B2 (en) | System and method for cell comparison between spreadsheets | |
CN114371762A (en) | Method and device for printing customized label and storage medium | |
CN112069807A (en) | Text data theme extraction method and device, computer equipment and storage medium | |
CN115017872B (en) | Method and device for intelligently labeling table in PDF file and electronic equipment | |
CN116560819B (en) | RPA-based batch automatic operation method, system, equipment and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |