CN101482934A - Method for representing numerical data in bar code and its correlated electronic device - Google Patents

Method for representing numerical data in bar code and its correlated electronic device Download PDF

Info

Publication number
CN101482934A
CN101482934A CNA2008100022537A CN200810002253A CN101482934A CN 101482934 A CN101482934 A CN 101482934A CN A2008100022537 A CNA2008100022537 A CN A2008100022537A CN 200810002253 A CN200810002253 A CN 200810002253A CN 101482934 A CN101482934 A CN 101482934A
Authority
CN
China
Prior art keywords
gray
scale value
bar code
numeric data
value
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.)
Pending
Application number
CNA2008100022537A
Other languages
Chinese (zh)
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.)
Wistron Corp
Original Assignee
Wistron Corp
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 Wistron Corp filed Critical Wistron Corp
Priority to CNA2008100022537A priority Critical patent/CN101482934A/en
Publication of CN101482934A publication Critical patent/CN101482934A/en
Pending legal-status Critical Current

Links

Images

Abstract

A method for expressing a numerical data in a bar code comprises steps of corresponding a plurality of grey scale values comprising a grey scale value with the maximal reflectivity, a grey scale value with the minimal reflectivity and at least a grey scale value different from the grey scale value with the maximal reflectivity and the grey scale value with the minimal reflectivity to a plurality of numerical values; selecting a grey scale value corresponding to the numerical data from the plurality of grey scale values according to the value of the numerical data; displaying the grey scale value corresponding to the numerical value data by a compositing unit of the bar code so as to express the numerical data.

Description

The method and the related electronic device thereof of expression one numeric data in a bar code
Technical field
The present invention refer to a kind of in a bar code method and the related electronic device thereof of expression one numeric data, refer to a kind of method and related electronic device thereof that can significantly promote the data volume that bar code can put down in writing especially.
Background technology
Bar code (barcode) is secret note and the blank pattern identification that forms according to certain coding rule arrangement that is not waited by width, in order to express information specific.Bar code can mark information such as producing country, manufacturer, trade name, date of manufacture, book classification number, mail start-stop place, classification, the date of article, thereby is widely used in fields such as circulation of commodities, taking care of books, PTT, banking system.
Common bar code can be divided into two classes: one-dimensional bar code and two-dimensional bar.One-dimensional bar code is the parallel line pattern that secret note and informal voucher are formed, and it sees through the width record data of secret note and informal voucher.Two-dimensional bar is to expand another dimension to have readable bar code on the basis of one-dimensional bar code, and it sees through length and width record data.Therefore, two-dimensional bar is more, more complicated than the data volume of one-dimensional bar code record.
Yet, no matter one-dimensional bar code or two-dimensional bar all are with two kinds of different grey-scale values specific data of symbolic representation of (as black, white).Therefore, the information that arbitrary component units (position) can be represented in the bar code only has 0 or 1 two kind.In this case, along with being extensive use of of bar code, the data volume that known bar codes can the be put down in writing deficiency that seems gradually, therefore, industry is devoted to invariably to develop and can be put down in writing the more bar code of multidata amount.
Summary of the invention
Therefore, fundamental purpose of the present invention promptly is to provide a kind of method and related electronic device thereof of representing a numeric data in a bar code.
The present invention discloses a kind of method of representing a numeric data in a bar code, include a plurality of gray-scale values corresponding to a plurality of numerical value, these a plurality of gray-scale values comprise a maximum reflectivity gray-scale value, a minimum reflectance gray-scale value and differ from least one gray-scale value of this maximum reflectivity gray-scale value and this minimum reflectance gray-scale value; According to the value of this numeric data, by selecting a gray-scale value corresponding to this numeric data in these a plurality of gray-scale values; And show this gray-scale value corresponding to this numeric data by a component units of this bar code, to represent this numeric data.
The present invention discloses a kind of electronic installation that a bar code is represented a numeric data that sees through in addition, include a setup unit, be used for setting a plurality of gray-scale values corresponding to a plurality of numerical value, these a plurality of gray-scale values comprise a maximum reflectivity gray-scale value, a minimum reflectance gray-scale value and differ from least one gray-scale value of this maximum reflectivity gray-scale value and this minimum reflectance gray-scale value; One receiving element is used for receiving this numeric data; One selected cell is coupled to this setup unit and this receiving element, is used for the value of this numeric data of receiving according to this receiving element, by selecting a gray-scale value corresponding to this numeric data in these a plurality of gray-scale values; And an output unit, be coupled to this selected cell, be used for exporting a component units of this bar code, showing this gray-scale value, and then represent this numeric data corresponding to this numeric data.
Description of drawings
Fig. 1 is the synoptic diagram of the embodiment of the invention one flow process.
Fig. 2 is for showing the synoptic diagram of data according to the flow process of Fig. 1.
Fig. 3 adds the synoptic diagram of error correcting code in the data of Fig. 2.
Fig. 4 is the synoptic diagram of the embodiment of the invention one electronic installation.
[primary clustering symbol description]
10 flow processs
100,102,104,106,108 steps
200,202,204,300,302,304,306 component units
40 electronic installations
400 setup units
402 receiving elements
404 selected cells
406 output units
Embodiment
Please refer to Fig. 1, Fig. 1 is the synoptic diagram of the embodiment of the invention one flow process 10.Flow process 10 is in order to expression one numeric data in a bar code, and it includes following steps:
Step 100: beginning.
Step 102: corresponding to a plurality of numerical value, these a plurality of gray-scale values comprise a maximum reflectivity gray-scale value, a minimum reflectance gray-scale value and differ from least one gray-scale value of this maximum reflectivity gray-scale value and this minimum reflectance gray-scale value with a plurality of gray-scale values.
Step 104: according to the value of this numeric data, by selecting a gray-scale value corresponding to this numeric data in these a plurality of gray-scale values.
Step 106: show this gray-scale value by a component units of this bar code, to represent this numeric data corresponding to this numeric data.
Step 108: finish.
According to flow process 10, in bar code, the present invention sees through other gray-scale value that differs from maximum reflectivity gray-scale value and minimum reflectance gray-scale value in addition and represents other numerical value except representing the numerical value with maximum reflectivity gray-scale value and minimum reflectance gray-scale value.Preferably, the maximum reflectivity gray-scale value is corresponding to white, and the minimum reflectance gray-scale value is then corresponding to black.In other words, except black and white, the present invention sees through in addition and differs from other color black, white dichromatism, as grey, represents other numeric data.In this case, see through the present invention, the data volume that bar code can be put down in writing can significantly promote.What pay special attention to is, the present invention is applicable to one dimension or two-dimensional bar, and is not limited thereto.
For instance, if arbitrary component units of bar code can show three gray levels, white, ash, black, then the present invention can set white corresponding to 0, and grey is corresponding to 1, and black is corresponding to 2.In this case, the pairing color of data [0 1 2] promptly as shown in Figure 2.In Fig. 2, dotted region is represented grey, and mesh-like area is represented black.Therefore, as shown in Figure 2, component units 200,202,204 is display white, grey and black respectively, and the expression value corresponding is 0,1,2.
Except showing that with white, grey, black the present invention also can add error correcting code the numeric data outside raw data, then pairing color of data [012] and the pairing color of error correcting code thereof are promptly as shown in Figure 3.In Fig. 3, component units 300,302,304 is the repetition of component units 200,202,204, component units 306 then be raw data and modulo operation, i.e. (0+1+2) mod (3)=0.Therefore, the pairing data of Fig. 3 are [0 12012 0].
After adding error correcting code, can correct a mistake or detect two mistakes.For instance, if raw data be [0 12012 0], and 0 makeing mistakes and become 1 of centre makes data become [0 12112 0].When decoding,, represent wrong generation because preceding trigram [0 1 2] is different with trigram [1 1 2] thereafter.Next since [0 1 2] and be 0 to meet last sign indicating number [0], and [1 1 2] and be 1 not to be inconsistent last sign indicating number [0], can judge in [1 1 2] first 1 for wrong, thereby can be with the numerical value correction of mistake.Above-mentioned error correcting code is the present invention's one Application Example, and this area tool knows that usually the knowledgeable is when using suitable coded system according to required.
The present invention sees through other numerical value of other gray level expressing in addition except with black, the white two colour specification numerical value.What pay special attention to is, the quantity of other gray level is not limited to particular value, and this area tool knows that usually the knowledgeable is when setting the quantity of gray level, to be applicable to different situations according to the data volume of required expression.
Realization about flow process 10 please refer to Fig. 4.Fig. 4 is the synoptic diagram of the embodiment of the invention one electronic installation 40.Electronic installation 40 is used for seeing through a bar code and represents a numeric data, and it includes a setup unit 400, a receiving element 402, a selected cell 404 and an output unit 406.Setup unit 400 is used for setting a plurality of gray-scale values corresponding to a plurality of numerical value, and these a plurality of gray-scale values comprise a maximum reflectivity gray-scale value, a minimum reflectance gray-scale value and differ from least one gray-scale value of this maximum reflectivity gray-scale value and this minimum reflectance gray-scale value.Receiving element 402 is used for receiving this numeric data.Selected cell 404 is coupled to setup unit 400 and receiving element 402, is used for the value of the numeric data that received according to receiving element 402, by selecting a gray-scale value corresponding to this numeric data in a plurality of gray-scale values.Output unit 406 is coupled to selected cell 404, is used for a component units of output bars font code, showing the gray-scale value corresponding to this numeric data, and then represents this numeric data.Electronic installation 40 is used for being implemented in flow process 10, and the associative operation mode is not given unnecessary details at this.
In sum, the present invention sees through other numerical value of other gray level expressing in addition outside black, white dichromatism, and the data volume that makes bar code to put down in writing can significantly promote.
The above only is preferred embodiment of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to covering scope of the present invention.

Claims (10)

  1. One kind in a bar code expression one numeric data method, include:
    Corresponding to a plurality of numerical value, these a plurality of gray-scale values comprise a maximum reflectivity gray-scale value, a minimum reflectance gray-scale value and differ from least one gray-scale value of this maximum reflectivity gray-scale value and this minimum reflectance gray-scale value with a plurality of gray-scale values;
    According to the value of this numeric data, by selecting a gray-scale value corresponding to this numeric data in these a plurality of gray-scale values; And
    Show this gray-scale value by a component units of this bar code, to represent this numeric data corresponding to this numeric data.
  2. 2. the method for claim 1, wherein this bar code is an one dimension bar code.
  3. 3. the method for claim 1, wherein this bar code is a two-dimensional bar.
  4. 4. the method for claim 1, wherein this maximum reflectivity gray-scale value is corresponding to white.
  5. 5. the method for claim 1, wherein this minimum reflectance gray-scale value is corresponding to black.
  6. 6. one kind sees through the electronic installation that a bar code is represented a numeric data, includes:
    One setup unit, be used for setting a plurality of gray-scale values corresponding to a plurality of numerical value, these a plurality of gray-scale values comprise a maximum reflectivity gray-scale value, a minimum reflectance gray-scale value and differ from least one gray-scale value of this maximum reflectivity gray-scale value and this minimum reflectance gray-scale value;
    One receiving element is used for receiving this numeric data;
    One selected cell is coupled to this setup unit and this receiving element, is used for the value of this numeric data of receiving according to this receiving element, by selecting a gray-scale value corresponding to this numeric data in these a plurality of gray-scale values; And
    One output unit is coupled to this selected cell, is used for exporting a component units of this bar code, with demonstration this gray-scale value corresponding to this numeric data, and then represents this numeric data.
  7. 7. electronic installation as claimed in claim 6, wherein this bar code is an one dimension bar code.
  8. 8. electronic installation as claimed in claim 6, wherein this bar code is a two-dimensional bar.
  9. 9. electronic installation as claimed in claim 6, wherein this maximum reflectivity gray-scale value is corresponding to white.
  10. 10. electronic installation as claimed in claim 6, wherein this minimum reflectance gray-scale value is corresponding to black.
CNA2008100022537A 2008-01-08 2008-01-08 Method for representing numerical data in bar code and its correlated electronic device Pending CN101482934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100022537A CN101482934A (en) 2008-01-08 2008-01-08 Method for representing numerical data in bar code and its correlated electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100022537A CN101482934A (en) 2008-01-08 2008-01-08 Method for representing numerical data in bar code and its correlated electronic device

Publications (1)

Publication Number Publication Date
CN101482934A true CN101482934A (en) 2009-07-15

Family

ID=40880034

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100022537A Pending CN101482934A (en) 2008-01-08 2008-01-08 Method for representing numerical data in bar code and its correlated electronic device

Country Status (1)

Country Link
CN (1) CN101482934A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110738293A (en) * 2019-09-29 2020-01-31 武汉里得电力科技股份有限公司 kinds of wide adaptability bar codes and coding method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110738293A (en) * 2019-09-29 2020-01-31 武汉里得电力科技股份有限公司 kinds of wide adaptability bar codes and coding method thereof

Similar Documents

Publication Publication Date Title
Sutheebanjard et al. QR-code generator
CN100511333C (en) Printing method for two-dimensional code symbol, and printer
CN102129585B (en) Method and system for transmitting information, device for displaying bar code and device for reading bar code
CN105894071B (en) Quick Response Code mixes generation method
CN101180631B (en) Print medium feature encoding and decoding
CN107392270B (en) Two-dimensional code generation method
CN105894072B (en) Quick Response Code mixing generation system
CN101303742B (en) Microminiature Hanxin code and method for generating symbol thereof
CN107908377A (en) The analytic method of font coding information and its device and application in print language
CN106681850B (en) A kind of vehicle model method of calibration and device
CN109886711A (en) A kind of bar code coding method and device
CN101482934A (en) Method for representing numerical data in bar code and its correlated electronic device
CN104899612A (en) Character coding method with error correction function, character decoding method with error correction function, and product
CN110245341B (en) Identification code batch generation method and device
CN103793729A (en) Big data printing method and system with unique identification code characteristic
RU2457537C2 (en) Two-component bar-code
CN105654246A (en) Detection system used for scanning barcodes of produced goods
CN105117878A (en) Method and device for treating remaining article amount
US7903266B2 (en) System and method for using divided fonts to achieve proportional spacing
CN108921263B (en) Two-dimensional code generation system and identification method
CN101071470A (en) Barcode converting method
CN101576971A (en) Method for supervising commodity circulation
CN101872412A (en) Code table generating method
CN100504732C (en) Chinese phonetic alphabet inputting method and phonetic symbols mark displaying software
CN101710389A (en) Outlay method, realization method and structure of character comprising group-component bar codes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090715