CN111667214B - 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 PDF

Info

Publication number
CN111667214B
CN111667214B CN202010504365.3A CN202010504365A CN111667214B CN 111667214 B CN111667214 B CN 111667214B CN 202010504365 A CN202010504365 A CN 202010504365A CN 111667214 B CN111667214 B CN 111667214B
Authority
CN
China
Prior art keywords
information
dimensional code
template
goods
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.)
Active
Application number
CN202010504365.3A
Other languages
Chinese (zh)
Other versions
CN111667214A (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.)
Shanghai Ouyeel Logistics Co ltd
Shanghai Jinshang Network Technology Co ltd
Original Assignee
Shanghai Ouyeel Logistics Co ltd
Shanghai Jinshang Network 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 Shanghai Ouyeel Logistics Co ltd, Shanghai Jinshang Network Technology Co ltd filed Critical Shanghai Ouyeel Logistics Co ltd
Priority to CN202010504365.3A priority Critical patent/CN111667214B/en
Publication of CN111667214A publication Critical patent/CN111667214A/en
Application granted granted Critical
Publication of CN111667214B publication Critical patent/CN111667214B/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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing 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)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Economics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Electromagnetism (AREA)
  • Toxicology (AREA)
  • Computer Vision & Pattern Recognition (AREA)

Abstract

The invention provides a two-dimensional code-based cargo information acquisition method, a device, electronic equipment and a computer-readable storage medium, wherein the two-dimensional code-based cargo information acquisition method comprises the following steps: step S1, acquiring a two-dimensional code on goods; s2, analyzing the two-dimensional code to obtain two-dimensional code information; and step S3, based on the two-dimensional code information, generating structured goods information through an information template. 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

Goods information acquisition method and device based on two-dimensional code and electronic equipment
Technical Field
The invention relates to the field of logistics, in particular to a two-dimensional code-based cargo information acquisition method and device, electronic equipment and a computer readable storage medium.
Background
When steel goods are stored and managed, the contradiction between the accuracy and consistency of the information requirements of the goods and the collection efficiency of the information of the goods is always a pain point of the warehouse.
The conventional operation mode needs to manually check the goods labels for collection and check, and the information of the hand-made goods is needed to manage under the conditions of warehouse entry and warehouse exit, warehouse moving and the like, so that the time and the labor are consumed, errors are easy to occur, and the warehouse management operation efficiency is low, and the cost is high.
With the development of two-dimensional code technology, most of the existing goods steel labels are provided with two-dimensional codes, so that the label information can be collected rapidly. However, the labels of goods with 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 a five-flower eight-door. Therefore, how to obtain the required cargo information from the cargo tag of such a five-in-eight door to facilitate cargo management is a problem to be solved.
Disclosure of Invention
In view of the above, the invention provides a two-dimensional code-based cargo information acquisition method, a two-dimensional code-based cargo information acquisition device, an electronic device and a computer readable storage medium, which can solve the problems of low warehouse management operation efficiency and high cost.
In order to solve the technical problems, in one aspect, the invention provides a method for acquiring cargo information based on a two-dimensional code, which comprises the following steps:
step S1, acquiring a two-dimensional code on goods;
s2, analyzing the two-dimensional code to obtain two-dimensional code information;
and step S3, based on the two-dimensional code information, generating structured goods information through an information template.
Further, the step S3 includes:
step S31, a template library is established, a plurality of information templates are stored in the template library, 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-dimensional 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-dimensional code information and the information templates is smaller than a preset threshold value.
Further, the matching is a regular matching.
Further, the training method of the information template comprises the following steps:
acquiring a plurality of two-dimensional code samples;
analyzing the two-dimensional code samples to obtain a plurality of two-dimensional code information;
and marking and training based on the two-dimensional code information to obtain the information template.
Further, the training method comprises the following steps:
and classifying the two-dimensional code samples, and respectively training based on the two-dimensional codes of different categories.
Further, aiming at the two-dimensional code of the key value type structure, the information template is trained through the key value type.
Further, for the two-dimensional code without detail structure, the information template is trained through bit-by-bit analysis.
Further, the training method further comprises: and training the variety characteristic types according to the source manufacturer and variety type of the goods.
Further, in step S32,
and when the difference value between the two-dimensional code information and the information template is larger than the preset threshold value, generating a new information template based on the two-dimensional code information, and inputting the new information template into the template library.
In a second aspect, the present invention provides a warehouse entry and exit management method for a warehouse, including:
the method comprises the steps of obtaining structured goods information of goods in and out of a warehouse according to any one of the two-dimensional code-based goods information obtaining;
and managing the warehouse-in and warehouse-out of the goods based on the structured goods information.
In a third aspect, the present invention provides a two-dimensional code-based cargo information acquisition apparatus, including:
the acquisition module is used for acquiring the two-dimensional code;
the two-dimensional code analysis module is used for analyzing the two-dimensional code and acquiring two-dimensional code information;
and the goods information generation module is used for generating structured goods information through an information template based on the two-dimensional code information.
In a fourth aspect, the present invention provides an electronic device for acquiring cargo 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 a two-dimensional code on goods;
s2, analyzing the two-dimensional code to obtain two-dimensional code information;
and step S3, based on the two-dimensional code information, generating structured goods information through an information template.
In a fifth aspect, the present invention provides a computer readable storage medium having stored therein computer readable code which, when executed by one or more processors, causes the processors to perform the steps of:
step S1, acquiring a two-dimensional code on goods;
s2, analyzing the two-dimensional code to obtain two-dimensional code information;
and step S3, based on the two-dimensional code information, generating structured goods information through an information template.
The technical scheme of the invention has at least 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, so that the cargo information can be acquired rapidly, the operation accuracy and efficiency are improved, and the non-uniform label two-dimension codes can be identified and output according to a uniform format to acquire the required cargo information, thereby being convenient for cargo management.
Further, the two-dimensional code information is matched with the information templates in the template library by establishing the template library, so that the matching success rate is improved;
further, the two-dimensional code information is subjected to regular matching on the information template, so that the efficiency and the accuracy are improved.
Further, two-dimensional code samples are classified, training is performed based on two-dimensional codes of different categories respectively, an information template is obtained, the recognition rate and the recognition efficiency are improved, and the situation that matching cannot be performed due to micro-modification of some two-dimensional codes is avoided.
Drawings
Fig. 1 is a flowchart of a two-dimensional code-based cargo information acquisition method according to an embodiment of the present invention;
FIG. 2 is a flow chart of acquiring cargo information via an information template according to an embodiment of the invention;
FIG. 3 is a flowchart of a warehouse entry and exit management method of a warehouse according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a two-dimensional code-based cargo information obtaining apparatus 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 describes in further detail the embodiments of the present invention with reference to the drawings and examples. The following examples are illustrative of the invention and are not intended to limit the scope of the invention.
In the following description, a steel label will be described as an example. The method is applicable to information acquisition, warehouse management and the like of any goods with two-dimension code information.
At present, in the aspect of steel logistics warehouse management, the problems of low efficiency and high error rate of manually copying and comparing the goods information are solved. At present, most steel labels are provided with two-dimensional codes, so that the label information can be collected rapidly. However, steel labels are not unified, and on hundreds of steel factories and even products in production lines, the shapes and the contents of the labels are different, and two-dimensional code information is also confetti. One of the key points of the invention is also how to obtain relatively uniform cargo information based on non-uniform two-dimensional code labels.
Therefore, the invention can rapidly acquire the goods information through analyzing the two-dimension code, improve the accuracy and efficiency of operation, and generate the structured goods information through the information template, so that the non-uniform label two-dimension code can be identified and output the needed goods information according to the uniform format, thereby being convenient for the management of the goods.
Next, first, a cargo information acquiring 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 invention includes:
step S1, obtaining a two-dimensional code on goods.
Alternatively, the two-dimensional code on the goods can be obtained through scanning by a scanner, shooting by a camera and the like.
And S2, analyzing the two-dimensional code to obtain two-dimensional code information.
Analyzing two-dimension codes to obtain irregular two-dimension code information, such as 0xxlwg201905100tl1, wherein the two-dimension code information has a complex proportion, for example, in the field of steel logistics, goods in a warehouse come from different steel plants around the world, each two-dimension code has a two-dimension code form, so that the two-dimension code information is quite various, even different two-dimension code information of the same steel plant in the same variety and different production lines, and the required goods information can be obtained through subsequent processing.
And step S3, based on the two-dimensional code information, generating structured goods information through an information template.
That is, the two-dimensional code information is processed through the information template to obtain structured goods information.
By structured cargo information is meant cargo information comprising a plurality of pieces of classification information having a predetermined format. For example, cargo information generated by a predetermined table may be used.
Therefore, the non-uniform label two-dimensional code can be identified and output according to the uniform format to the required goods information, and the management of the goods is facilitated.
Optionally, the method of step S3 is:
step S31, a template library is established, a plurality of information templates are stored in the template library, each information template corresponds to 1 or more two-dimensional code information, and each information template is a format file with a plurality of classified information aiming at the goods.
That is, each information template corresponds to 1 or more pieces of two-dimensional code information as needed, and each information template is a format file with pieces of classification information for the goods. And moreover, different information templates can be generated according to different requirements or different label sources, and various information templates are summarized to a template library, so that after two-dimensional code information is obtained, matching is performed, and finally structured goods information is generated.
Optionally, the two-dimensional code information template includes a classification information name and a corresponding blank area thereof required by warehouse management, wherein the classification information name may include manufacturer, cargo name, date or weight, etc.
And step S32, matching the two-dimensional code information with the information templates in the template library one by one, and generating structured cargo information based on the information templates when the difference value between the two-dimensional code information and the information templates is smaller than a preset threshold value.
That is, if the matching is successful, the structured cargo 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, extracting the goods information corresponding to the two-dimensional code information, and recording the goods information in the corresponding blank area, thereby generating the structured goods information.
Alternatively, the format of the structured output may be text strings, word or exell, etc., and the format of the output is not limited herein.
For example, the two-dimensional code information is 0xxlwg201905100tl1, and the structured cargo information is generated based on the information template, thereby obtaining the information shown in table 1.
TABLE 1
Classification information name Cargo information
Manufacturer name XX company
Cargo name Deformed steel bar
Arrival date 2019, 5 month
Weight of (E) 100 ton
And when the difference value between the two-dimensional code information and the information template is larger than the preset threshold value, generating a new information template based on the two-dimensional 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 input 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 subjected to regular matching one by one. Therefore, the matching accuracy and efficiency can be improved.
Optionally, the information template is a section of program containing regular expressions, and the program is operated to read the two-dimensional code information, perform regular matching of the two-dimensional code information and preset contents in the information template, replace the two-dimensional code information and goods information, and list multiple pieces of classification information.
Of course the above is an alternative example only and any method of canonical matching is understood to be within the scope of the present invention.
For example, as shown in fig. 2, the process of finally obtaining the structured cargo information through regular matching based on the information template specifically includes:
1) Scanning a two-dimensional code;
2) Analyzing the two-dimensional code to obtain two-dimensional code information;
3) Regular matching is carried out on the two-dimensional code information and the preset content of the information template, and when the matching is successful, the next step is carried out;
when the matching fails, prompting to collect the two-dimensional code information and inputting the two-dimensional code information into a template library;
4) Intercepting content, optionally, acquiring cargo information corresponding to predetermined content;
5) Reading a configuration field, optionally, reading a required classification information name;
6) Assigning a matching field, and optionally inputting cargo information into a position corresponding to the classified information name;
7) If there are other special values, processing according to a predetermined rule.
According to some embodiments of the present invention, a training method of an information template may include:
first, a plurality of two-dimensional code samples are acquired.
For example, in the field of steel logistics, different two-dimensional codes of goods of each manufacturer are obtained as samples.
And then analyzing the two-dimensional code samples to obtain a plurality of two-dimensional code information.
And finally, marking and training based on the two-dimensional code information to obtain the information template.
The two-dimensional code information can be marked and trained on the whole two-dimensional code to obtain an information template, and the information template is subsequently matched with the two-dimensional code information to obtain the structured goods information. However, in this training method, when the two-dimensional code is slightly changed, the two-dimensional code needs to be relearned, and the two-dimensional code information of all fields needs to be matched, so that the efficiency is affected.
According to some embodiments of the invention, the two-dimensional code samples are classified and respectively trained based on different types of two-dimensional codes.
Therefore, the method can accurately identify, avoid interference caused by slight modification and improve efficiency.
Optionally, training the information template by key value type aiming at the two-dimensional code of the key value type structure.
Optionally, for the two-dimensional code without detail structure, the information template is trained through bit-wise analysis.
For example, 0xxlwg201905100tl1 is parsed into manufacturer name at 2 nd to 3 rd, goods name at 4 th to 6 th, date of arrival at 7 th to 12 th, and weight at 13 to 16 th.
Optionally, the variety characteristic type training is performed for the cargo source manufacturer and variety class.
For example, lwg is a screw-thread steel in the xx manufacturer. Thus, the situation of false identification caused by lwg that some manufacturers call threaded pipes can be avoided.
Next, a warehouse entry and exit 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 warehouse entry and exit management method of the warehouse according to the embodiment of the invention includes:
step 101, obtaining structured goods information of warehouse-in goods according to the goods information obtaining method based on the two-dimensional codes;
and 102, managing the in-out warehouse of the goods based on the structured goods information.
Next, a cargo information acquiring apparatus 1000 based on a two-dimensional code according to an embodiment of the present invention will be described with reference to fig. 4.
As shown in fig. 4, a two-dimensional code-based cargo information acquiring apparatus 1000 according to an embodiment of the present invention includes:
an acquisition module 1001, configured to acquire a two-dimensional code;
the two-dimensional code analysis module 1002 is configured to analyze the two-dimensional code to obtain two-dimensional code information;
and the cargo information generating module 1003 is 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 obtaining apparatus 1000 may be further used for corresponding steps in the two-dimensional code-based cargo information obtaining method, respectively, and detailed descriptions thereof are omitted herein.
Next, an electronic device 1400 for acquiring two-dimensional code-based cargo information 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:
comprising 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 a two-dimensional code on goods;
s2, analyzing the two-dimensional code to obtain two-dimensional code information;
and step S3, based on the two-dimensional code information, generating structured goods information through an information template.
That is, the processor 1401 may perform the two-dimensional code-based cargo information acquisition method of any of the above embodiments.
Further, the electronic device also includes a network interface 1403, an input device 1404, a hard disk 1405, and a display device 1406.
The interfaces and devices described above may be interconnected by a bus architecture. The bus architecture may be a bus and bridge that may include any number of interconnects. One or more Central Processing Units (CPUs), in particular, represented by processor 1401, and various circuits of one or more memories, represented by memory 1402, are connected together. The bus architecture may also connect various other circuits together, such as peripheral devices, voltage regulators, and power management circuits. It is understood that a bus architecture is used to enable connected communications between these components. The bus architecture includes, in addition to a data bus, a power bus, a control bus, and a status signal 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.), and related data may be obtained from the network and stored 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 pointing device (e.g., a mouse, a trackball, a touch pad, or a 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 system, and data such as intermediate results in the computing process of the processor 1401.
It is to be appreciated that memory 1402 in embodiments of the present invention can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The nonvolatile memory may be Read Only Memory (ROM), programmable Read Only Memory (PROM), erasable Programmable Read Only Memory (EPROM), electrically Erasable Programmable Read Only Memory (EEPROM), or flash memory, among others. 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 implementations, memory 1402 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof: 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 application programs such as a Browser (Browser) and the like for realizing various application services. A program for implementing the method of the embodiment of the present invention may be included in the application 14014.
The processor 1401 first obtains the two-dimensional code on the goods when calling and executing the application program and the data stored in the memory 1402, specifically, the program or the instruction stored in the application program 14014; then, analyzing the two-dimensional code to obtain two-dimensional code information; and then, based on the two-dimensional code information, generating structured goods information through an information template.
The method disclosed in the above embodiments of the present invention may be applied to the processor 1401 or implemented by the processor 1401. The processor 1401 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry of hardware in the processor 1401 or instructions in the form of software. 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, or discrete hardware components, which 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 embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in memory 1402 and processor 1401 reads information in memory 1402 and performs the steps of the method described above in conjunction with its hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a 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, the embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor, and causes the processor to execute the following steps:
step S1, acquiring a two-dimensional code on goods;
s2, analyzing the two-dimensional code to obtain two-dimensional code information;
and step S3, based on the two-dimensional code information, generating structured goods information through an information template.
That is, the computer program may be used to run the two-dimensional code-based cargo information acquisition method of any of the above embodiments.
In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may be physically included separately, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform part of the steps of the transceiving method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (6)

1. The goods information acquisition method based on the two-dimensional code is characterized by comprising the following steps of:
step S1, acquiring a two-dimensional code on goods;
s2, analyzing the two-dimensional code to obtain two-dimensional code information;
s3, based on the two-dimensional code information, generating structured goods information through an information template; wherein,
the step S3 includes:
step S31, a template library is established, a plurality of information templates are stored in the template library, 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;
step S32, matching the two-dimensional 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-dimensional code information and the information templates is smaller than a preset threshold value; when the difference value between the two-dimensional code information and the information template is larger than the preset threshold value, generating a new information template based on the two-dimensional code information, and inputting the new information template into the template library; generating an information template according to the source of the two-dimensional code;
the structured cargo information refers to cargo information having a predetermined format and including a plurality of pieces of classification information;
the training method of the information template comprises the following steps:
acquiring a plurality of two-dimensional code samples;
analyzing the two-dimensional code samples to obtain a plurality of two-dimensional code information;
labeling and training based on the two-dimensional code information to obtain the information template;
the training method comprises the following steps: classifying the two-dimensional code samples, and respectively training based on two-dimensional codes of different categories; training the information template through the key value type aiming at the two-dimensional code of the key value type structure; for the two-dimensional code without detail structure, training the information template through bit analysis; and training the variety characteristic types according to the source manufacturer and variety type of the goods.
2. The two-dimensional code-based cargo information acquisition method according to claim 1, wherein the matching is regular matching.
3. The warehouse in-out management method of the warehouse is characterized by comprising the following steps of:
the two-dimensional code-based cargo information acquisition method according to any one of claims 1 to 2, to acquire structured cargo information of a warehouse-in cargo;
and managing the warehouse-in and warehouse-out of the goods based on the structured goods information.
4. Goods information acquisition device based on two-dimensional code, characterized by, include:
the acquisition module is used for acquiring the two-dimensional code;
the two-dimensional code analysis module is used for analyzing the two-dimensional code and acquiring two-dimensional code information;
the goods information generation module is used for generating structured goods information through an information template based on the two-dimensional code information; wherein, the goods information generating module executes the following steps:
establishing a template library, wherein a plurality of information templates are stored in the template library, each information template corresponds to 1 or more two-dimensional code information, and each information template is a format file with a plurality of classified information aiming at the goods;
matching the two-dimensional code information with information templates in the template library one by one, and generating the structured cargo information based on the information templates when the difference between the two-dimensional code information and the information templates is smaller than a preset threshold; when the difference value between the two-dimensional code information and the information template is larger than the preset threshold value, generating a new information template based on the two-dimensional code information, and inputting the new information template into the template library; generating an information template according to the source of the two-dimensional code;
the structured cargo information refers to cargo information having a predetermined format and including a plurality of pieces of classification information;
the training method of the information template comprises the following steps:
acquiring a plurality of two-dimensional code samples;
analyzing the two-dimensional code samples to obtain a plurality of two-dimensional code information;
labeling and training based on the two-dimensional code information to obtain the information template;
the training method comprises the following steps: classifying the two-dimensional code samples, and respectively training based on two-dimensional codes of different categories; training the information template through the key value type aiming at the two-dimensional code of the key value type structure; for the two-dimensional code without detail structure, training the information template through bit analysis; training the variety characteristic types aiming at the source manufacturers and variety types of the cargoes;
the matching is a regular matching.
5. An electronic device for acquiring cargo information based on a two-dimensional code, comprising:
one or more processors;
one or more memories in which computer readable code is stored which, when executed by the one or more processors, causes the processors to perform the steps of the two-dimensional code based cargo information acquisition method of any of claims 1 to 2.
6. A computer-readable storage medium, in which computer-readable code is stored, which when executed by one or more processors causes the processors to perform the steps of the two-dimensional code based cargo information acquisition method of any one of claims 1 to 2.
CN202010504365.3A 2020-06-05 2020-06-05 Goods information acquisition method and device based on two-dimensional code and electronic equipment Active CN111667214B (en)

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 CN111667214A (en) 2020-09-15
CN111667214B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113159246B (en) * 2021-04-15 2022-03-08 中物(北京)物流信息服务有限公司 Steel mill cargo identification method and device based on two-dimensional code label and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
民族药分子教学模拟库中二维码数据化标签的建立;李竣;张宇;王德彬;杨光忠;;绿色科技;20181115(第21期);264-266 *
翁心刚,安久意,黄全明,李俊韬.《大宗商品全程电子商务及物流模式研究》.中国财富出版社,2016,179-181. *

Also Published As

Publication number Publication date
CN111667214A (en) 2020-09-15

Similar Documents

Publication Publication Date Title
US9690788B2 (en) File type recognition analysis method and system
CN104461863A (en) Service system testing method, device and system
CN110826494B (en) Labeling data quality evaluation method, labeling data quality evaluation device, computer equipment and storage medium
US20110106801A1 (en) Systems and methods for organizing documented processes
US20210357633A1 (en) Document processing using hybrid rule-based artificial intelligence (ai) mechanisms
AU2019204444A1 (en) System and method for enrichment of ocr-extracted data
CN109933502B (en) Electronic device, user operation record processing method and storage medium
CN113627168B (en) Method, device, medium and equipment for checking component packaging conflict
CN110991446B (en) Label identification method, device, equipment and computer readable storage medium
CN102117436A (en) System and method for analyzing patient electronic receipt file
CN111667214B (en) Goods information acquisition method and device based on two-dimensional code and electronic equipment
CN110175022B (en) Method and device for automatically generating POJO class, storage medium and computer equipment
CN112418813A (en) AEO qualification intelligent rating management system and method based on intelligent analysis and identification and storage medium
CN116340172A (en) Data collection method and device based on test scene and test case detection method
CN115982272A (en) Data labeling method and device for urban big data management and computer storage medium
CN115203364A (en) Software fault feedback processing method, device, equipment and readable storage medium
CN115880703A (en) Form data processing method and device, electronic equipment and storage medium
CN112598226B (en) Equipment checking method, device, equipment and storage medium
CN115294593A (en) Image information extraction method and device, computer equipment and storage medium
US11281901B2 (en) Document extraction system and method
CN114371762A (en) Method and device for printing customized label and storage medium
CN116483735B (en) Method, device, storage medium and equipment for analyzing influence of code change
CN112732681B (en) Data platform migration method and system
CN116560819B (en) RPA-based batch automatic operation method, system, equipment and storage medium
CN109726375B (en) Code configuration modification method, device, equipment and readable 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