CN102810151A - Capacity-priority special-shape matrix type two-dimensional barcode arrangement method - Google Patents
Capacity-priority special-shape matrix type two-dimensional barcode arrangement method Download PDFInfo
- Publication number
- CN102810151A CN102810151A CN2011101475127A CN201110147512A CN102810151A CN 102810151 A CN102810151 A CN 102810151A CN 2011101475127 A CN2011101475127 A CN 2011101475127A CN 201110147512 A CN201110147512 A CN 201110147512A CN 102810151 A CN102810151 A CN 102810151A
- Authority
- CN
- China
- Prior art keywords
- dimensional barcode
- special
- dimensional
- shaped matrix
- bar code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention discloses a capacity-priority special-shape matrix type two-dimensional barcode arrangement method which comprises the following steps: (1) setting a form on a paper substrate, wherein the form internally comprises three transversely-juxtaposed two-dimensional barcodes with same size; (2) acquiring the length LX and the width LY of the form; (3) acquiring the length MX and the width MY of a two-dimensional barcode module; (4) calculating the width PY of a two-dimensional barcode symbol, wherein the PY=LY-2*3MY; (5) calculating the module number MC of the two-dimensional barcode symbol, wherein the MC=PY/MY (round-off number); (6) calculating the starting Y coordinate DY formed by arranging the two-dimensional barcode symbol by taking the top left corner of the form as the point of origin, wherein the DY=3MY; (7) calculating the starting X coordinate D1X of the first two-dimensional barcode symbol, wherein the D1X=3MX; and (8) calculating the starting X coordinates of the other two special-shape matrix type two-dimensional barcode symbols. Due to the adoption of the capacity-priority special-shape matrix type two-dimensional barcode arrangement method, the technical problem on how to arrange in a narrow form area to acquire the maximum information expression capacity is solved optimally.
Description
Technical field
The present invention relates to the bar code field, in particular to the arrangement method of a kind of a plurality of special-shaped matrix two-dimensional barcodes in certain zone.
Background technology
Matrix two-dimensional barcode is made up of by X and the splicing of Y direction equal number the module that some length of sides equate; Global matrix formula two dimensional bar code symbol also is the square-shaped image symbol that a length of side equates; Module is represented information 0 and 1 respectively through black and white, and whole matrix two-dimensional barcode can be expressed a packet.Module is big more, and the image of whole matrix two-dimensional barcode symbol is just big more, and the size between them is directly proportional.If instead limited the area of whole symbol, want to hold more information so, just need be the dimension definitions of module smaller, but too little and can't discern, this is the equal of the index of two contradictions.
General matrix two-dimensional barcode pictorial symbol is the side of being generally; When file has enough zones and a plurality of sides' that need arrange matrix two-dimensional barcode; Directly just can side by side; Limited and when being a fixing long and narrow space, the two-dimensional bar code of how arranging has just had certain difficulty, especially in order to make full use of area space when the file area; When the two-dimensional bar code of waiting to arrange and printing was a non-side's who makes up through particular design special-shaped matrix two-dimensional barcode, this problem is further difficulty just.When carrying out such arranging, the special-shaped matrix two-dimensional barcode information representation amount that can access total maximum of how arranging is the problem of technology existence at present.Specific in this case, bill is a design demand when arranging a plurality of special-shaped matrix two-dimensional barcode, the problem difficulty that just further becomes.
Therefore, how above-mentioned technical matters is solved, be those skilled in the art's research direction place.
Summary of the invention
Fundamental purpose of the present invention provides the preferential special-shaped matrix two-dimensional barcode arrangement method of a kind of capacity, has solved at a long and narrow table area, how to arrange and can obtain the technical matters of maximum information representation capacity.
In order to achieve the above object, the present invention provides a kind of capacity preferential special-shaped matrix two-dimensional barcode arrangement method, and it may further comprise the steps:
Step 1 a: form is set on a paper substrates, comprises 3 measure-alike, horizontal two-dimensional bar codes side by side in this form;
Step 2: obtain form length and width size LX and LY;
Step 3: the length and width size MX and the MY that obtain the two-dimensional bar code module;
Step 4: the wide size PY=LY-2*3MY that calculates two dimensional bar code symbol;
Step 5: the number of modules MC=PY/MY that calculates two dimensional bar code symbol rounds;
Step 6: with the form upper left corner is initial point, calculates the initial Y coordinate DY=3MY that two dimensional bar code symbol is arranged;
Step 7: the initial X coordinate D1X=3MX that calculates first two dimensional bar code symbol;
Step 8: the initial X coordinate that calculates all the other 2 special-shaped matrix two-dimensional barcode symbols: D2X=D1X+MX*MC+3MX, D3X=D2X+MX*MC+3MX;
Wherein, the origin coordinates of 3 special-shaped matrix two-dimensional barcode symbols to be arranged is respectively: (D1X, DY), (D2X, DY), (D3X, DY), this series origin is the form upper left corner of waiting to print special-shaped matrix two-dimensional barcode symbol, origin is (0,0).
In the preferred implementation, the long LX of described form is 80mm, and wide LY is 20mm.
In the preferred implementation, the long size MX of said two-dimensional bar code module is 0.42mm, the wide 0.35mm that is of a size of.
In the preferred implementation, between said 3 two-dimensional bar codes more than or equal to 1mm.
In the preferred implementation, said two-dimensional bar code is occuping on the longitudinal direction in the middle of the form.
In the preferred implementation, be initial point (0,0) with the said form upper left corner, the origin coordinates of 3 special-shaped matrix two-dimensional barcode symbols is respectively: (1.26,1.05), and (23.94,1.05), (46.62,1.05), the coordinate linear module is mm.
Compared with prior art, the present invention has optimally solved at a long and narrow table area, how to arrange and can obtain the technical matters of maximum information representation capacity.
Description of drawings
Fig. 1 is preferential special-shaped matrix two-dimensional barcode arrangement method one synoptic diagram of capacity of the present invention;
Fig. 2 is the preferential special-shaped matrix two-dimensional barcode arrangement method one embodiment synoptic diagram of capacity of the present invention;
Fig. 3 is preferential another preferred embodiment synoptic diagram of special-shaped matrix two-dimensional barcode arrangement method of capacity of the present invention.
Description of reference numerals: 1-paper substrates; The 2-form; The 3-two-dimensional bar code.
Embodiment
Carry out clear, intactly description in the face of the technical scheme in the embodiment of the invention down, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not paying the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The present invention provides a kind of capacity top-priority special-shaped matrix two-dimensional barcode arrangement method, in order to be implemented in a long and narrow table area, guarantees as far as possible that to printing capacity two-dimensional bar code drops on the arrangement method in the normal form.
Consult Fig. 1 and Fig. 2, the preferential special-shaped matrix two-dimensional barcode arrangement method of capacity of the present invention may further comprise the steps:
Step 1 a: form 2 is set on a paper substrates 1, comprises 3 measure-alike, horizontal two-dimensional bar codes 3 side by side in this form 2;
Step 2: the form length and width size LX and the LY that obtain special-shaped matrix two-dimensional barcode symbol;
Step 3: the length and width size MX and the MY that obtain special-shaped matrix two-dimensional barcode module;
Wherein, described size MX and MY derive from the true picture print resolution of printer, can think a given value in the present invention
Step 4: the wide size PY=LY-2*3MY that calculates special-shaped matrix two-dimensional barcode symbol;
Cooperation is consulted shown in Figure 2; The wide size of MY representation module; The two-dimensional bar code standard-required needs the blank of at least 3 modules around two-dimensional bar code, so blank dimension definitions is 3MY, the blank up and down for two-dimensional bar code just needs 2*3MY like this; Remove this 2*3MY with the form reductions, just can obtain the wide size PY of two-dimensional bar code that form allows.
Step 5: the number of modules MC=PY/MY that calculates two dimensional bar code symbol rounds;
In this step; Module and number of modules are name word concepts that defines in the two-dimensional bar code standard, and matrix two-dimensional barcode is made up of a plurality of number of modules that number is equal anyhow, that is to say by the description of two-dimensional bar code standard and can learn that the module length of side multiply by the length of side that number of modules equals two-dimensional bar code; Broken through the definition of two-dimensional bar code standard in the present invention; Module definition in order not to be square, but is observed in the two-dimensional bar code standard laterally the vertically identical rule of number of modules, so this step is because the PY that the size restrictions of form obtains; Divided by the wide size MY of module, just can obtain the number of modules MC that meets on the cross direction.
Step 6: with the form upper left corner is initial point, calculates the initial Y coordinate DY=3MY that two dimensional bar code symbol is arranged;
Because MY is the wide size of two-dimensional bar code module, form needs the blank of each empty 3MY up and down, is initial point with the form upper left corner, and the Y coordinate is exactly 3MY.
Step 7: the initial X coordinate D1X=3MX that calculates first two dimensional bar code symbol;
Can learn by above-mentioned, around two-dimensional bar code, need the blank of at least 3 module size, so 1 slit needs 3MX, therefore, the initial X coordinate D1X=3MX of two dimensional bar code symbol.
Step 8: the initial X coordinate that calculates all the other 2 special-shaped matrix two-dimensional barcode symbols: D2X=D1X+MX*MC+3MX, D3X=D2X+MX*MC+3MX;
Wherein, the origin coordinates of 3 special-shaped matrix two-dimensional barcode symbols to be arranged is respectively: (D1X, DY), (D2X, DY), (D3X, DY), this series origin is the form upper left corner of waiting to print special-shaped matrix two-dimensional barcode symbol, origin is (0,0).
Lift an embodiment below and come above-mentioned steps of the present invention is described, see also shown in Figure 3:
Step 1 a: form 2 is set on a paper substrates 1, comprises 3 measure-alike, horizontal two-dimensional bar codes 3 side by side in this form 2;
Step 2: obtain the form length and width size LX and the LY of the special-shaped matrix two-dimensional barcode symbol of waiting to arrange, LX=80mm, LY=20mm;
Step 3: obtain the length and width size MX and the MY of special-shaped matrix two-dimensional barcode module, MX=0.42mm, MY=0.35mm; This numerical value derives from the true picture print resolution of printer, is a given value in the present invention.
Step 4: calculate the wide size PY=LY-2*3MY of special-shaped matrix two-dimensional barcode symbol, PY=20-6*0.35=17.9mm;
Step 5: the number of modules MC=PY/MY that calculates special-shaped matrix two-dimensional barcode symbol rounds, MC=17.9/0.35=51;
Step 6: with the form upper left corner is initial point, calculates the initial Y coordinate DY=3MY=3*0.35=1.05mm that special-shaped matrix two-dimensional barcode symbol is arranged;
Step 7: calculate the initial X coordinate D1X=3MX of first special-shaped matrix two-dimensional barcode symbol, D1X=3*0.42=1.26mm;
Step 8: the initial X coordinate that calculates all the other 3 special-shaped matrix two-dimensional barcode symbols: D2X=D1X+MX*MC+3MX=1.26+0.42*51+1.26=1.26+21.42+1.26=23.9 4mm, D3X=D2X+MX*MC+3MX=23.94+21.42+1.26=46.62mm;
Wherein: the origin coordinates of 3 special-shaped matrix two-dimensional barcode symbols to be arranged is respectively: (1.26,1.05), (23.94; 1.05), (46.62,1.05); This series origin is the form upper left corner of waiting to print special-shaped matrix two-dimensional barcode symbol; Origin is (0,0), and the coordinate linear module is mm.
A preferred embodiment of the present invention, between said 3 two-dimensional bar codes more than or equal to 1mm.
A preferred embodiment of the present invention, described a plurality of two-dimensional strip occupy on longitudinal direction in the middle of the form 2 for 3 yards.
In sum; The invention provides the preferential special-shaped matrix two-dimensional barcode arrangement method purpose of a kind of capacity is preferential the arranging of pursuit capacity; It has optimally solved at a long and narrow table area, how to arrange and can obtain the technical matters of maximum information representation capacity.
More than explanation is just illustrative for the purpose of the present invention, and nonrestrictive, those of ordinary skills understand; Under the situation of spirit that does not break away from following accompanying claims and limited and scope, can make many modifications, change; Or equivalence, but all will fall in protection scope of the present invention.
Claims (6)
1. preferential special-shaped matrix two-dimensional barcode arrangement method of capacity is characterized in that it may further comprise the steps:
Step 1 a: form is set on a paper substrates, comprises 3 measure-alike, horizontal two-dimensional bar codes side by side in this form;
Step 2: obtain form length and width size LX and LY;
Step 3: the length and width size MX and the MY that obtain the two-dimensional bar code module;
Step 4: the wide size PY=LY-2*3MY that calculates two dimensional bar code symbol;
Step 5: the number of modules MC=PY/MY that calculates two dimensional bar code symbol rounds;
Step 6: with the form upper left corner is initial point, calculates the initial Y coordinate DY=3MY that two dimensional bar code symbol is arranged;
Step 7: the initial X coordinate D1X=3MX that calculates first two dimensional bar code symbol;
Step 8: the initial X coordinate that calculates all the other 2 special-shaped matrix two-dimensional barcode symbols: D2X=D1X+MX*MC+3MX, D3X=D2X+MX*MC+3MX, wherein; The origin coordinates of 3 special-shaped matrix two-dimensional barcode symbols to be arranged is respectively: (D1X, DY), (D2X; DY), (D3X, DY); This series origin is the form upper left corner of waiting to print special-shaped matrix two-dimensional barcode symbol, and origin is (0,0).
2. the preferential special-shaped matrix two-dimensional barcode arrangement method of capacity according to claim 1 is characterized in that the long LX of described form is 80mm, and wide LY is 20mm.
3. the preferential special-shaped matrix two-dimensional barcode arrangement method of capacity according to claim 2 is characterized in that the long size MX of said two-dimensional bar code module is 0.42mm, the wide 0.35mm that is of a size of.
4. according to claim 1 or the preferential special-shaped matrix two-dimensional barcode arrangement method of 3 described capacity, it is characterized in that, between said 3 two-dimensional bar codes more than or equal to 1mm.
5. the preferential special-shaped matrix two-dimensional barcode arrangement method of capacity according to claim 1 is characterized in that, said two-dimensional bar code is occuping on the longitudinal direction in the middle of the form.
6. the preferential special-shaped matrix two-dimensional barcode arrangement method of capacity according to claim 3 is characterized in that, is initial point (0 with the said form upper left corner; 0), the origin coordinates of 3 special-shaped matrix two-dimensional barcode symbols is respectively: (1.26,1.05); (23.94,1.05), (46.62; 1.05), the coordinate linear module is mm.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110147512.7A CN102810151B (en) | 2011-06-02 | 2011-06-02 | Capacity-priority special-shape matrix type two-dimensional barcode arrangement method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110147512.7A CN102810151B (en) | 2011-06-02 | 2011-06-02 | Capacity-priority special-shape matrix type two-dimensional barcode arrangement method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102810151A true CN102810151A (en) | 2012-12-05 |
CN102810151B CN102810151B (en) | 2015-10-21 |
Family
ID=47233855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110147512.7A Active CN102810151B (en) | 2011-06-02 | 2011-06-02 | Capacity-priority special-shape matrix type two-dimensional barcode arrangement method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102810151B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107886015A (en) * | 2016-09-29 | 2018-04-06 | 株式会社理光 | Printing bar code method and printing bar code device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000235632A (en) * | 2000-01-26 | 2000-08-29 | Sharp Corp | Digital information recording carrier, digital information recording method/device and digital information decoding method/device |
CN1670763A (en) * | 2004-03-15 | 2005-09-21 | 深圳矽感科技有限公司 | A two dimensional bar codes and coding-decoding method thereof |
CN1746898A (en) * | 2004-09-07 | 2006-03-15 | 佳能株式会社 | Method, device and recording medium for positioning bar code |
CN101334849A (en) * | 2008-07-01 | 2008-12-31 | 北大方正集团有限公司 | Two-dimension code label symbol creation method and apparatus and two-dimension code label structure |
US20100321708A1 (en) * | 2006-10-20 | 2010-12-23 | Stefan Lynggaard | Printing of coding patterns |
-
2011
- 2011-06-02 CN CN201110147512.7A patent/CN102810151B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000235632A (en) * | 2000-01-26 | 2000-08-29 | Sharp Corp | Digital information recording carrier, digital information recording method/device and digital information decoding method/device |
CN1670763A (en) * | 2004-03-15 | 2005-09-21 | 深圳矽感科技有限公司 | A two dimensional bar codes and coding-decoding method thereof |
CN1746898A (en) * | 2004-09-07 | 2006-03-15 | 佳能株式会社 | Method, device and recording medium for positioning bar code |
US20100321708A1 (en) * | 2006-10-20 | 2010-12-23 | Stefan Lynggaard | Printing of coding patterns |
CN101334849A (en) * | 2008-07-01 | 2008-12-31 | 北大方正集团有限公司 | Two-dimension code label symbol creation method and apparatus and two-dimension code label structure |
Non-Patent Citations (1)
Title |
---|
张玲 等: "二维条码的码图结构设计中的若干问题", 《计算机与数学工程》, vol. 32, no. 2, 20 April 2004 (2004-04-20) * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107886015A (en) * | 2016-09-29 | 2018-04-06 | 株式会社理光 | Printing bar code method and printing bar code device |
CN107886015B (en) * | 2016-09-29 | 2021-06-11 | 株式会社理光 | Bar code printing method and bar code printing device |
Also Published As
Publication number | Publication date |
---|---|
CN102810151B (en) | 2015-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104281830A (en) | Two-dimension code identification method and device | |
US20100322576A1 (en) | Fiber Optic Module Assembly Having Improved Finger Access and Labeling Indicia | |
CN105630817A (en) | Electronic invoice content analysis method and system | |
CN101996336B (en) | Method and device for generating and decoding two-dimensional bar code | |
CN106022426A (en) | Method and system for generating two-dimensional code with color pattern | |
US20120024967A1 (en) | Qr code and manufacturing method thereof | |
EP3937082B1 (en) | Graphical indicator | |
CN102810151A (en) | Capacity-priority special-shape matrix type two-dimensional barcode arrangement method | |
CN102117266A (en) | Method and device for processing character pitch | |
CN102810150B (en) | Dislocation-priority special-shape matrix type two-dimensional barcode arrangement method | |
CN102378984B (en) | System for recovering data from an unreadable tag | |
CN103793729A (en) | Big data printing method and system with unique identification code characteristic | |
CN105159484B (en) | The method and contactor control device of the coordinate value of calibrating touch detection face plate edge | |
CN101540004A (en) | Mechanical barcode nameplate | |
CN102810170A (en) | Quick response matrix code and building method thereof | |
CN201336039Y (en) | Mechanical bar code data plate | |
CN104411091A (en) | Circuit board sign method based on bad mark two-dimensional codes | |
CN102945523A (en) | Random dynamic warehouse management method | |
CN202088672U (en) | Dislocation priority information recording device | |
CN101710389B (en) | Include layout method, implementation method and the structure of the character of constituent element type bar code | |
CN102810169A (en) | Special-shaped two-dimensional matrix barcode construction method | |
EP2666127B1 (en) | A bidimensional graphic matrix code | |
CN102810149B (en) | Quick response matrix code position sensing figure and construction method thereof | |
CN204712673U (en) | The two-position keyboard device to be got of keyboard laser automatic marking machine | |
CN103909741A (en) | Method and apparatus for printing two-dimensional code by use of 9-pin printer in embedded system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |