CN109325380A - By configuring the method and system for realizing that label bar code automatically parses - Google Patents

By configuring the method and system for realizing that label bar code automatically parses Download PDF

Info

Publication number
CN109325380A
CN109325380A CN201811097901.1A CN201811097901A CN109325380A CN 109325380 A CN109325380 A CN 109325380A CN 201811097901 A CN201811097901 A CN 201811097901A CN 109325380 A CN109325380 A CN 109325380A
Authority
CN
China
Prior art keywords
bar code
character
label bar
genuine
separator
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
Application number
CN201811097901.1A
Other languages
Chinese (zh)
Other versions
CN109325380B (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.)
Moore Element (xiamen) Technology Co Ltd
Original Assignee
Moore Element (xiamen) 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 Moore Element (xiamen) Technology Co Ltd filed Critical Moore Element (xiamen) Technology Co Ltd
Priority to CN201811097901.1A priority Critical patent/CN109325380B/en
Publication of CN109325380A publication Critical patent/CN109325380A/en
Application granted granted Critical
Publication of CN109325380B publication Critical patent/CN109325380B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • G06K7/10861Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices sensing of data fields affixed to objects or articles, e.g. coded labels

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • Artificial Intelligence (AREA)
  • Toxicology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Factory Administration (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Character Discrimination (AREA)

Abstract

The present invention provides a kind of by configuring the method and system for realizing that label bar code automatically parses, comprising: establishes the basic information of genuine label bar code;Configure the separator of genuine label bar code;Configure data item belonging to each yard of section of genuine label bar code;Configure Atomic arithmetic;Individual operations or hybrid manipulation are carried out according to configured Atomic arithmetic, complete paired data item carries out character processing, terminates parsing.Resolution rules are arranged by the configuration of each step in the present invention, and the information hidden in genuine bar code is parsed one by one according to actual needs, use when switching to new bar code convenient for subsequent genuine bar code.

Description

By configuring the method and system for realizing that label bar code automatically parses
Technical field
The present invention relates to the method and systems that label bar code automatically parses.
Background technique
Barcode technology comes across in the 1940s, because the features such as its is at low cost, acquisition information accuracy rate is high is in each row Industry is widely used.In recent years, barcode technology has also obtained preferable development in the production process of enterprise, at present There are many enterprises using controlling entire production procedure in such a way that different processes scan bar code, and manufacturing enterprise purchases Obtained material posts the bar code of raw material producer toward contact, needs to change after logistics reaches manufacturing enterprise as manufacturing enterprise oneself Bar code or meet subsequent suppliers requirement bar code.And current genuine bar code is generally combined by multiple information of material It forms, identifies the information implied in genuine bar code according to visually more difficult, therefore useful information cannot be extracted in time.
Disclosed in 2013-08-21, the Chinese invention of Publication No. CN103258182A provides a kind of bar code and electricity The conversion method of subtab, this method comprises: step S101, reads the data information that the bar code includes, commodity item Code is the EAN13 bar code of 13 bit data formats.Step S102 decodes simultaneously the data information of the bar code Each section of bar code of data are extracted respectively.Different bar codes includes different commodity data information, by bar code Identification, available its commodity data information of decoding.Step S103 identifies the electronic tag, and reads electronic tag number According to and/or write electronic tag data and printing electronic tag.In concrete application, may by radio frequency recognizing electronic label, and Read/write electronic tag data information.Preferably, electronic tag of the invention can be plurality of classes, can basis Different demands is specially EPC SGTIN-96 electronic tag or EPC SGTIN-198 electronic tag.Step S104, to the electricity Subtab decode and extract respectively each section of the electronic tag of data.The data of electronic tag have a data segment, often A data segment has different merchandise news, by extracting each segment data and corresponding meaning, can easily realize subsequent step S105.Step S105, handles the data of the bar code and electronic tag, and makes the number of the bar code and electronic tag According to conversion.But the invention is only capable of the EAN13 bar code of 13 bit data formats of identification, can not be by way of configuring to various marks Label code is automatically parsed.It is even more impossible to be obtained to meet the new label bar code of this manufacturing enterprise according to various atom computing modes.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of by configuring the method for realizing that label bar code automatically parses And system, resolution rules are set, the information hidden in genuine bar code are parsed one by one according to actual needs, after being convenient for Continuous genuine bar code switchs to use when new bar code.
The method of the present invention is achieved in that a kind of by configuring the method for realizing that label bar code automatically parses, comprising:
Step S1, the basic information of genuine label bar code is established;
Step S2, the separator of genuine label bar code is configured;
Step S3, data item belonging to each yard of section of genuine label bar code is configured;
Step S4, Atomic arithmetic is configured;
Step S5, individual operations or hybrid manipulation are carried out according to configured Atomic arithmetic, complete paired data item carries out word Symbol processing, terminates parsing.
Further, the Atomic arithmetic includes:
(1) remove " 0 " of digit strings beginning;
(2) left and right space is removed;
(3) left side N is deleted;
(4) N, the right is deleted;
(5) N to M characters are obtained, from left to right;
(6) N to M characters are obtained, from right to left;
(7) character is inserted on the right;
(8) character is inserted on the left side;
(9) small letter is all changed into;
(10) capitalization is all changed into;
(11) character is deleted;
(12) M sections are intercepted by separator X;
(13) character Y is truncated to from N;
Wherein, N and M is natural number, and N < M, X are separator variable, and Y is character variable.
Further, the hybrid manipulation supports level operation and upper and lower sorting operation.
Present system is achieved in that a kind of by configuring the system for realizing that label bar code automatically parses, comprising:
Basic information establishes module, and the basic information of genuine label bar code is established for user;
Separator configuration module, for the separator of user configuration genuine label bar code;
Data item configuration module, for data item belonging to each yard of section of user configuration;
Atomic arithmetic configuration module, for user configuration Atomic arithmetic;
Data item character processing module carries out individual operations or hybrid manipulation, completion pair according to configured Atomic arithmetic Data item carries out character processing.
Further, the Atomic arithmetic includes:
(1) remove " 0 " of digit strings beginning;
(2) left and right space is removed;
(3) left side N is deleted;
(4) N, the right is deleted;
(5) N to M characters are obtained, from left to right;
(6) N to M characters are obtained, from right to left;
(7) character is inserted on the right;
(8) character is inserted on the left side;
(9) small letter is all changed into;
(10) capitalization is all changed into;
(11) character is deleted;
(12) M sections are intercepted by separator X;
(13) character Y is truncated to from N;
Wherein, N and M is natural number, and N < M, X are separator variable, and Y is character variable.
Further, the hybrid manipulation supports level operation and upper and lower sorting operation.
The present invention has the advantage that setting resolution rules, the basic information including configuring genuine label bar code, configuration are former Data item belonging to the separator of emblem mark label code and each yard of section and configuration Atomic arithmetic, thus by genuine bar code Hiding information parses one by one according to actual needs, and the item for meeting supplier's requirement is switched to convenient for subsequent genuine bar code It is used when code.
Detailed description of the invention
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the method for the present invention and system execution flow chart.
Fig. 2 is the interface schematic diagram that basic information state is established in the method for the present invention and system.
Fig. 3 is the interface schematic diagram that separator state is configured in the method for the present invention and system.
Fig. 4 is the interface schematic diagram of configuration data items state in the method for the present invention and system.
Fig. 5 is the interface schematic diagram that Atomic arithmetic state is configured in the method for the present invention and system.
Specific embodiment
Refering to Figure 1, of the invention by configuring the method for realizing that label bar code automatically parses, comprising:
Step S1, the basic information for establishing genuine label bar code, as genuine label bar code raw material supply manufacturer full name and Abbreviation and material number etc.;
Step S2, the separator of genuine label bar code is configured;
Step S3, data item belonging to each yard of section of genuine label bar code is configured;
Step S4, Atomic arithmetic is configured;
Step S5, individual operations or hybrid manipulation are carried out according to configured Atomic arithmetic, complete paired data item carries out word Symbol processing, terminates parsing.
The system automatically parsed by configuring realization label bar code of the invention, comprising: basic information establishes module, separates Accord with configuration module, data item configuration module, Atomic arithmetic configuration module and data item character processing module.
The basic information establishes module, and the basic information of genuine label bar code is established for user;As shown in Fig. 2, being directed to Each raw material supply manufacturer of user enterprise establishes the basic information of genuine label bar code, such as the raw material supply of genuine label bar code Manufacturer's full name and abbreviation and material number etc..
The separator configuration module, for the separator of user configuration genuine label bar code;As shown in figure 3, selection raw material Any genuine label bar code of supplier inputs in corresponding test patterns frame as test patterns, in test patterns frame shown in Fig. 3 The separator of genuine label bar code be ", ", therefore ", " can be inputted in separator configuration block.
The data item configuration module, for data item belonging to each yard of section of user configuration;As shown in figure 4, input separates Symbol obtains for after ", ", system will be that each yard of segment data item that ", " separation obtains be filled out in table by the separator automatically Test value;The meaning configuration that user is indicated again fills in corresponding column, such as genuine item number, quantity, LotNo, production Date (DATECODE) etc..
The Atomic arithmetic configuration module, for user configuration Atomic arithmetic;As shown in figure 4, clicking some data item column After " the character processing " at end, the job step page of character processing is entered, then as shown in figure 5, Atomic arithmetic can be carried out Configuration such as needs to remove " quantity " code section the 0 of number front, then job step selection<removing the 0 of digit strings beginning>, Fig. 4 is returned, end value is obtained.
In the present invention, the Atomic arithmetic includes:
(1) remove " 0 " of digit strings beginning;
(2) left and right space is removed;
(3) left side N is deleted;
(4) N, the right is deleted;
(5) N to M characters are obtained, from left to right;
(6) N to M characters are obtained, from right to left;
(7) character is inserted on the right;
(8) character is inserted on the left side;
(9) small letter is all changed into;
(10) capitalization is all changed into;
(11) character is deleted;
(12) M sections are intercepted by separator X;
(13) character Y is truncated to from N;
Wherein, N and M is natural number, and N < M, X are separator variable, and Y is character variable.
Now by taking test value " LYRYCLH99LKHD6D7JJK " as an example, above-mentioned Atomic arithmetic (2) to (13) is said one by one It is bright, specifically it see the table below;
The data item character processing module carries out individual operations or hybrid manipulation according to configured Atomic arithmetic, complete Paired data item carries out character processing.
When the configuration of data item, when being unable to satisfy with single atom computing, hybrid manipulation can be carried out, present system is supported Level, upper and lower sorting operation.As need now from genuine information [) 06@12S0001@X11081040@1PLBM673@of >@ L BM673-P1 character string is obtained in 6P1008717219@1TTC7120H699@9D1713@Q3000@1LP1, is obtaining genuine After information, configuration obtains rule are as follows:
1, genuine information is intercepted the 5th section by separator@;
2, the value for obtaining step 1 deletes 2, the left side;
3, character "-" will be inserted on the right of result in step 3;
4, genuine information is intercepted the 10th section by separator@;
5, the value for obtaining step 4 deletes 2, the left side;
6, the value of step 2 and step 4 is spliced.
It then configures in systems as follows:
Wherein, " > " in the job step, the operation that " > > " and " > > > " are the second level to the 4th level.
So far, parsing terminates, and the result of parsing can be used to the generation of new label bar code, when an original of user enterprise After the genuine bar code of material supplier is parsed by the method for the present invention, as long as subsequent, to scan the raw material supply manufacturer similar Genuine bar code, can automatically parse.
Although specific embodiments of the present invention have been described above, those familiar with the art should be managed Solution, we are merely exemplary described specific embodiment, rather than for the restriction to the scope of the present invention, it is familiar with this The technical staff in field should be covered of the invention according to modification and variation equivalent made by spirit of the invention In scope of the claimed protection.

Claims (6)

1. a kind of by configuring the method for realizing that label bar code automatically parses, it is characterised in that: include:
Step S1, the basic information of genuine label bar code is established;
Step S2, the separator of genuine label bar code is configured;
Step S3, data item belonging to each yard of section of genuine label bar code is configured;
Step S4, Atomic arithmetic is configured;
Step S5, individual operations or hybrid manipulation are carried out according to configured Atomic arithmetic, complete paired data item carries out at character Reason terminates parsing.
2. according to claim 1 by configuring the method for realizing that label bar code automatically parses, it is characterised in that: the original Subalgorithm includes:
(1) remove " 0 " of digit strings beginning;
(2) left and right space is removed;
(3) left side N is deleted;
(4) N, the right is deleted;
(5) N to M characters are obtained, from left to right;
(6) N to M characters are obtained, from right to left;
(7) character is inserted on the right;
(8) character is inserted on the left side;
(9) small letter is all changed into;
(10) capitalization is all changed into;
(11) character is deleted;
(12) M sections are intercepted by separator X;
(13) character Y is truncated to from N;
Wherein, N and M is natural number, and N < M, X are separator variable, and Y is character variable.
3. according to claim 1 or 2 by configuring the method for realizing that label bar code automatically parses, it is characterised in that: institute It states hybrid manipulation and supports level operation and upper and lower sorting operation.
4. a kind of by configuring the system for realizing that label bar code automatically parses, it is characterised in that: include:
Basic information establishes module, and the basic information of genuine label bar code is established for user;
Separator configuration module, for the separator of user configuration genuine label bar code;
Data item configuration module, for data item belonging to each yard of section of user configuration;
Atomic arithmetic configuration module, for user configuration Atomic arithmetic;
Data item character processing module carries out individual operations or hybrid manipulation, complete paired data according to configured Atomic arithmetic Item carries out character processing.
5. according to claim 4 by configuring the system for realizing that label bar code automatically parses, it is characterised in that: the original Subalgorithm includes:
(1) remove " 0 " of digit strings beginning;
(2) left and right space is removed;
(3) left side N is deleted;
(4) N, the right is deleted;
(5) N to M characters are obtained, from left to right;
(6) N to M characters are obtained, from right to left;
(7) character is inserted on the right;
(8) character is inserted on the left side;
(9) small letter is all changed into;
(10) capitalization is all changed into;
(11) character is deleted;
(12) M sections are intercepted by separator X;
(13) character Y is truncated to from N;
Wherein, N and M is natural number, and N < M, X are separator variable, and Y is character variable.
6. according to claim 4 or 5 by configuring the system for realizing that label bar code automatically parses, it is characterised in that: institute It states hybrid manipulation and supports level operation and upper and lower sorting operation.
CN201811097901.1A 2018-09-20 2018-09-20 Method and system for realizing automatic analysis of label bar code through configuration Active CN109325380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811097901.1A CN109325380B (en) 2018-09-20 2018-09-20 Method and system for realizing automatic analysis of label bar code through configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811097901.1A CN109325380B (en) 2018-09-20 2018-09-20 Method and system for realizing automatic analysis of label bar code through configuration

Publications (2)

Publication Number Publication Date
CN109325380A true CN109325380A (en) 2019-02-12
CN109325380B CN109325380B (en) 2021-10-26

Family

ID=65266227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811097901.1A Active CN109325380B (en) 2018-09-20 2018-09-20 Method and system for realizing automatic analysis of label bar code through configuration

Country Status (1)

Country Link
CN (1) CN109325380B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070162A (en) * 2019-03-11 2019-07-30 上海因致信息科技有限公司 The coding method and system of data to be filled in bar code

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349193A (en) * 2000-10-13 2002-05-15 北京金百冠投资顾问有限公司 Automatic internet addressing bar code import system
WO2012114444A1 (en) * 2011-02-21 2012-08-30 三菱電機株式会社 Engineering device
CN103258182A (en) * 2013-05-24 2013-08-21 深圳市检验检疫科学研究院 Conversion method and system for article bar code and electronic tag
US8713031B1 (en) * 2011-09-06 2014-04-29 Bryant Christopher Lee Method and system for checking citations
CN105740909A (en) * 2016-02-02 2016-07-06 华中科技大学 Text recognition method under natural scene on the basis of spatial transformation
CN105893583A (en) * 2016-04-01 2016-08-24 北京鼎泰智源科技有限公司 Data acquisition method and system based on artificial intelligence
CN106446750A (en) * 2016-07-07 2017-02-22 深圳市华汉伟业科技有限公司 Bar code reading method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349193A (en) * 2000-10-13 2002-05-15 北京金百冠投资顾问有限公司 Automatic internet addressing bar code import system
WO2012114444A1 (en) * 2011-02-21 2012-08-30 三菱電機株式会社 Engineering device
US8713031B1 (en) * 2011-09-06 2014-04-29 Bryant Christopher Lee Method and system for checking citations
CN103258182A (en) * 2013-05-24 2013-08-21 深圳市检验检疫科学研究院 Conversion method and system for article bar code and electronic tag
CN105740909A (en) * 2016-02-02 2016-07-06 华中科技大学 Text recognition method under natural scene on the basis of spatial transformation
CN105893583A (en) * 2016-04-01 2016-08-24 北京鼎泰智源科技有限公司 Data acquisition method and system based on artificial intelligence
CN106446750A (en) * 2016-07-07 2017-02-22 深圳市华汉伟业科技有限公司 Bar code reading method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070162A (en) * 2019-03-11 2019-07-30 上海因致信息科技有限公司 The coding method and system of data to be filled in bar code
CN110070162B (en) * 2019-03-11 2022-07-26 上海因致信息科技有限公司 Method and system for encoding data to be filled in bar code

Also Published As

Publication number Publication date
CN109325380B (en) 2021-10-26

Similar Documents

Publication Publication Date Title
CN105630817B (en) A kind of method and system of electronic invoice Context resolution
CN104636428B (en) A kind of trade mark recommends method and device
CN106886418A (en) Html interface control is pasted
CN109725861B (en) Variable label generation display method, device and equipment and label printer
CN111144161A (en) Barcode identification method and device, commodity information determination method and payment method
EP1873679A2 (en) Barcode print data creation apparatus and barcode print data creation program stored in computer readable recording medium
US20080250425A1 (en) Systems and methods for interfacing multiple types of object identifiers and object identifier readers to multiple types of applications
US20190354992A1 (en) Method of updating food product item information
CN106599153A (en) Multi-data-source-based waste industry search system and method
CN103559597A (en) Storage monitoring method mixed with multi-dimensional factor commodity bar code technology
CN106446072A (en) Webpage content processing method and apparatus
CN102841887B (en) Method and device for typesetting variable data
CN101796573A (en) Electronic apparatus, character sequence display method, multiple character sequence sorting method and character sequence display/sort program
CN104679453A (en) Information input, storage, typesetting and printing general system and information input, storage, typesetting and printing method
CN100535891C (en) Device and mode for commuting value into expression mode correlative to language
CN107103035A (en) This earth&#39;s surface data-updating method and device
CN109325380A (en) By configuring the method and system for realizing that label bar code automatically parses
JP5233707B2 (en) Label printer
CN110175005A (en) A kind of bar code printing method of combination digital printing technologies
CN108536693A (en) A kind of filtering sensitive words method, apparatus, electronic equipment, storage medium
CN116954528A (en) Multi-label printing method, device, electronic equipment and storage medium
CN101196879A (en) Conversion device and method for number to RMB
CN1677424B (en) Radio-frequency identifying code encoding and decoding method
CN114371762A (en) Method and device for printing customized label and storage medium
CN101414362A (en) Digital recognition apparatus, system and method for updating recognizing data

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
CB02 Change of applicant information

Address after: 350000 room 710, 7 / F, building a, jiuce building, Haixi high tech Industrial Park, Fuzhou high tech Zone, Fuzhou, Fujian

Applicant after: Moore element (Fujian) Technology Co.,Ltd.

Address before: 361000 1218-20, No. 99, Songyu South Second Road, Xiamen area, China (Fujian) pilot Free Trade Zone, Xiamen, Fujian

Applicant before: MOREWIS (XIAMEN) TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant