CN100504912C - Two dimensional bar code symbol generation method - Google Patents

Two dimensional bar code symbol generation method Download PDF

Info

Publication number
CN100504912C
CN100504912C CNB2006100984523A CN200610098452A CN100504912C CN 100504912 C CN100504912 C CN 100504912C CN B2006100984523 A CNB2006100984523 A CN B2006100984523A CN 200610098452 A CN200610098452 A CN 200610098452A CN 100504912 C CN100504912 C CN 100504912C
Authority
CN
China
Prior art keywords
view finding
summit
rectangular area
bar code
apex coordinate
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
CNB2006100984523A
Other languages
Chinese (zh)
Other versions
CN1877600A (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.)
ARTICLE NUMBERING CENTER OF CHINA
Original Assignee
ARTICLE NUMBERING CENTER OF CHINA
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=37510030&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=CN100504912(C) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by ARTICLE NUMBERING CENTER OF CHINA filed Critical ARTICLE NUMBERING CENTER OF CHINA
Priority to CNB2006100984523A priority Critical patent/CN100504912C/en
Publication of CN1877600A publication Critical patent/CN1877600A/en
Application granted granted Critical
Publication of CN100504912C publication Critical patent/CN100504912C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Discrimination (AREA)

Abstract

The disclosed generation method for a 2D bar code comprises: coding information into digital codes as set rule, generating opposite error correction code as error correction level and mode; calculating 2D bar code size parameter as set parameter to generate function information; generating view finder graph; according to the rectangular area set by code size parameter, arranging former graph in the vertex angle of the area; converting the function information into function information label module to arrange in the rectangular area; and, converting in turns the code flow into opposite label module to arrange beyond the module of view finder graph and former module. This invention realizes the generation for Hanxin code.

Description

The generation method of two dimensional bar code symbol
Technical field
The present invention relates to a kind of generation method of bar code symbol, particularly a kind of generation method with two dimensional bar code symbol of yard figure anchor point and the setting of auxiliary correction graph belongs to the automatic identification technology field.
Background technology
Barcode technology is an appearance coding, printing, identification, the data acquisition and processing (DAP) emerging technology that grows up on computer technology and infotech basis.People are daily see be printed on bar code in the commodity packaging, be common bar code.As an automatic identification technology, bar code is since initial stage 1970's comes out, because advantages such as its recognition is quick, accurate, reliable, cost of manufacture is low, be subjected to people's favor very soon, be widely used in fields such as commerce, taking care of books, storage, post and telecommunications, traffic and Industry Control.
Bar code is just in a direction (generally being horizontal direction) expressing information, and its certain height is normally for the ease of the aligning of reader, also causes difficulty in order to prevent that because of printing quality bad or bar code symbol damages to recognition simultaneously.The application of bar code can improve the speed of information typing, the rate that reduces errors, the part but bar code also comes with some shortcomings, for example: data capacity is less, the character set that most bar codes can be represented only is 10 numerals, 26 English alphabets and some special characters.Code 128 bar codes of bar code character set maximum, the character number that can represent are 128 ASCII symbols only; The size of bar code symbol is relatively large, and promptly space availability ratio is lower; After being damaged, bar code just can not read or the like.
Because be subjected to the restriction of information capacity, bar code only can be used for " article " are identified, and can not be described " article ".So the use of bar code, the existence of the dependency database of having to.In the place that is not having database and inconvenience networking, the use of bar code can be subjected to bigger restriction, sometimes even become meaningless.In addition, represent the occasion of Chinese character, just seem very inconvenient, and efficient be very low with bar code.
Two-dimensional bar code is in that the insurmountable problem of bar code produces in order to understand just.Because it has characteristics such as high density, high reliability, so can and represent data file (comprising the Chinese character file), image file etc. with its storage.
Two-dimensional bar code can be divided into Stacked Bar Code and matrix two-dimensional barcode.Be to arrange by the bar code layer of multirow cutting back to form on the Stacked Bar Code form, matrix two-dimensional barcode is formed with the form of matrix, on matrix respective element position, represent scale-of-two " 1 " with the appearance of point, scale-of-two " 0 " is represented in empty appearance, has been determined the implication of coded representation by the permutation and combination of point.Representative Stacked Bar Code comprises PDF417, Code 49, Code 16K etc.Representational matrix two-dimensional barcode comprises Code one, Aztec, Date Matrix, QR sign indicating number etc.Two-dimensional bar code can use laser or the recognition of CCD reader.
Comprise additional format information in the Stacked Bar Code, the information capacity maximum can reach about 1000 bytes, for example: the PDF417 sign indicating number can be used to transporting/receive the information coding of label, it is the deliver goods label substance coding of EDI " on the " paper as the part of ANSI MH10.8 standard, and this coding method is adopted by many industrial organizations and mechanism.But the ability maximum of Stacked Bar Code symbol canned data also has only 1000 bytes, if adopt higher error-correction level, the ability of Stacked Bar Code storage valid data can further descend.
Matrix two-dimensional barcode is compared with Stacked Bar Code, has higher information density (as: DataMatrix, Maxicode, Aztec, QR sign indicating number), can be used as the information representation symbol of packing case, in electronic semi-conductor's industry, DataMatrix or QR sign indicating number are used to identify small-sized parts.Matrix two-dimensional barcode can only be distinguished by the ccd image formula reader of two dimension, and can scan in the mode of omnidirectional.
Since two-dimensional bar code can code storage quantity of information bigger, therefore any language (comprising Chinese character) and binary message (as signature, photo) can be encoded, and can be by the level of error correction in various degree of user's selection, under the damaged situation of symbol, to recover all information.
Existing matrix two-dimensional barcode symbol, for example: the QR sign indicating number, referring to Fig. 1, because view finding figure, correction graph that it had are all alternately overlapped mutually by the different colours square.When the QR sign indicating number being distinguished and locatees, require all view finding figures all must exist, perhaps under the situation that only some view finding figure exists, must there be the correction graph of some and fixed position to exist; Otherwise just can not position, and then influence is reduced to canned data in the QR sign indicating number to it.In the case, just need use view finding figure and correction graph morely, make the corresponding minimizing of area that is used to store valid data of matrix two-dimensional barcode symbol, perhaps will store more data, just have to enlarge the area of symbol.
In order to solve the above problems, applicant's research is also developed a kind of new matrix two-dimensional barcode, the view finding figure and the distributed architecture itself thereof of this kind two dimensional bar code symbol have definite locating information, its correction graph has location and direction deixis, therefore, this new matrix two-dimensional barcode can reduce the quantity of view finding figure and correction graph as much as possible, makes bar code symbol compact more, can hold more valid data as much as possible in limited symbol area.
Referring to Fig. 2, the Chinese letter co symbol that the present invention relates to is made of the symbol module that the view finding figure 1, function information figure 5 and the correction graph 2 that are arranged on four jiaos of places, a rectangular area, auxiliary correction graph 3, digital coding and Error Correction of Coding 4 constitute.Hold in the less Chinese letter co symbol of quantity of information correction graph 2 and auxiliary correction graph 3 are not set.
But, because structurally there are certain difference in Chinese letter co and traditional matrix two-dimensional barcode symbol.The different structure of Chinese letter co is set needs the more parameter that is provided with, and therefore, when generating the Chinese letter co symbol, the generation method of classical matrix formula two dimensional bar code symbol is just inapplicable.
Summary of the invention
The object of the present invention is to provide a kind of generation method of two dimensional bar code symbol, at above-mentioned Chinese letter co, based on the code word generation Chinese letter co symbol of coded message.
The present invention includes:
Generate the view finding figure, generate the step of the positional parameter of described view finding figure simultaneously;
Generate the step of corresponding information symbol according to the code word of coded data and error correction data; And,
View finding figure and information symbol are made up, generate the step of Chinese letter co symbol.
According to Chinese letter co coded message is carried out the requirement that piecemeal is handled, the present invention when view finding figure and information symbol are made up, also further combination correction figure; Perhaps, before view finding figure and information symbol are made up, further generate correction graph, view finding figure, correction graph and information symbol are made up generate the Chinese letter co symbol then.
The present invention is when generating the view finding figure, further generate corresponding positional parameter, make up with the information symbol that generates then, generate described Chinese letter co, solved the problem of the inapplicable Chinese letter co generation of generation method of classical matrix formula two dimensional bar code symbol.Make the generation of Chinese letter co be achieved.
The present invention is described in further detail below in conjunction with concrete drawings and embodiments.
Description of drawings
Fig. 1 is the structural representation of QR sign indicating number;
Fig. 2 is the structural representation of Chinese letter co;
Fig. 3 is the synoptic diagram of a kind of view finding figure of Chinese letter co;
Fig. 4 is the synoptic diagram of another view finding figure of Chinese letter co;
Fig. 5 is the synoptic diagram of a complete Chinese letter co.
Embodiment
Referring to Fig. 2, the process that the present invention generates two dimensional bar code symbol comprises:
Information is encoded to the step of digital coding according to the rule of setting; Specifically be that the information flow of input or data stream are analyzed type with the character of determining to be encoded in the described information.The reason of doing like this is in order to improve the efficient to the data coding; For example: the information flow of input can comprise ASCII text character, numeral and binary data etc. usually, if these information are encoded without analyse, then might make the information that is encoded out take bigger storage space, thereby reduce the efficient of coding.And if the data that are encoded in the information flow are classified, then because the data during each is classified usually exist certain common characteristic, and can when coding, its information with general character be described, and adopt small amount of data to be described for each concrete information wherein, then can compress the information that is encoded significantly.With the example that is encoded to of above-mentioned numerical character, character " 0 "-" 9 " in computing machine with hexadecimal representation are: " 60 "-" 6A ".If adopt the coded system of not analyzing, coded character " 0 "-" 9 " then need 10 * 8=80 position binary digit.If encode after it is analyzed, then can greatly reduce this coding result.Suppose numeric string for numerical character " 0 "-" 9 " are formed, adopt 10 bits to represent that 3 decimal numeral modes encode, then the numeric string as " 84613168549316542 " can be divided into: 846,131,685,493,165 and 42 these 6 tens digits.These 6 decimal numbers are used 10 binary representation respectively, and then above-mentioned numeric string only needs 60 binary strings just can represent.Obviously, the efficient of coding is improved.If numeric string is long more, then Bian Ma efficient is high more.For the coding of text character and Chinese character, both can adopt similar mode to carry out, also can adopt the coded system that is similar in the QR sign indicating number to encode.
Owing to can form by polytype data usually in the information flow that is encoded, for example: numerical character, English text character, Chinese character etc., therefore need information be analyzed, with definite data type wherein, and encode according to corresponding type.The front and back of certain type the binary coding bit string that the coding back forms also need to add respectively pattern indication information and ending message, with convenient this coding are deciphered.
The present invention is after being encoded to digital coding with information, and the binary data bit stream that also needs further coding is finished generates corresponding Error Correction of Coding according to selected error-correction level and error correction mode.
It is common that stained or damaged situation in use appears in two dimensional bar code symbol.When occur stained or damaged after, generally can't recover coded data in the two dimensional bar code symbol.Therefore, need carry out suitable correction process, and the error correction information back of encoding is made up with coded data, form the actual total data that will form two dimensional bar code symbol and encode the data that are encoded in the two dimensional bar code symbol.Concrete Error Correction of Coding can be calculated its error-correction level according to the digital coding of reality, selects corresponding error correction mode, perhaps determines according to error-correction level and the error correction mode set in advance.The method of concrete Error Correction of Coding can realize with reference to the Error Correction of Coding generation method or the additive method of QR sign indicating number or PDF417 bar code, not do concrete qualification among the present invention.
A critical step that generates two-dimensional bar code is exactly to calculate the required size of two dimensional bar code symbol, and the size here mainly is meant the symbol module quantity that each limit of two-dimensional bar code rectangular area is required.Certainly, the required symbol module quantity in each limit of two-dimensional bar code rectangular area also can be set in advance.For example, for Chinese letter co, can calculate the size on its limit by its version number is set, concrete computing formula is: K=21+2 * N; Wherein, K is the Chinese letter co rectangle length of side, and N is the version number of Chinese letter co, and N is a positive integer.Certainly, information calculations such as the coded data that the length of side of Chinese letter co also can be by obtaining, Error Correction of Coding obtains; Concrete calculating needs to consider: all binary coded data figure places that will finally obtain add view finding figure, correction graph and the shared space of auxiliary correction graph.
Systematic function information also is the steps necessary that generates Chinese letter co; Specifically comprise the step that obtains the function information bit stream after binary number with described setup parameter, error-correction level and described two-dimensional bar code mask information makes up.Referring to Fig. 2, can be used for the space of accommodation function information in the Chinese letter co is 68 modules, and it is equally divided into 4 view finding figure places respectively, and each view finding figure place all is assigned with 17 modules.In order to guarantee that Chinese letter co is after suffering certain breakage, still can recover coded message wherein, the function information at diagonal line two ends is identical arbitrarily in the Chinese letter co, related setting parameter, error-correction level and described two-dimensional bar code mask information that the function information at adjacent two drift angle places combines and then can recover whole symbol.Particularly, the setup parameter that Chinese letter co can be used for encoding is 8 positions, and error-correction level and two-dimensional bar code mask information respectively are 2, adds up to 12, generates 22 error correction bit more on this basis, amounts to 34.34 bit function information codings just in time is divided into two 17 bit string, and after systematic function information symbol module, it is separately positioned on two adjacent view finding figure places arbitrarily.And between the symbol module that is located at described view finding image and constitutes by digital coding and Error Correction of Coding.
With upper left corner view finding figure is example, and the setting of function information module is the lower left corner from the view finding figure, is provided with to the right, after reaching the 9th module, upwards is provided with again, finishes up to the 17th module setting.The function information module at other each place, bights is arranged at that this is identical, and its setting is all carried out in the counterclockwise direction.
Referring to Fig. 2, Chinese letter co has four view finding figures, is separately positioned on four corner positions of Chinese letter co rectangular area; Referring to Fig. 3, Fig. 4, view finding figure of the present invention is overlapped by three or three above odd number rectangles, have odd number light color rectangle and the dark rectangle of even number in these three or three the above odd number rectangles, perhaps have dark rectangle of odd number and even number light color rectangle, the ratio of its corresponding length of side equates; These three or three above odd number rectangles with a same vertices by dark rectangle and the mutual intermeshing of light rectangle, perhaps by light rectangle and dark rectangle or by dark rectangle and the mutual intermeshing of light rectangle.
For the ease of when Chinese letter co is distinguished, positioning Chinese letter co easily, although the image of four view finding figures is all identical,, be arranged on the angle difference of the view finding figure at different drift angles place.View finding figure with the Chinese letter co upper left corner is as the criterion, and the view finding figure in the upper right corner and the lower left corner then is to be rotated in a clockwise direction 90 through upper left corner view finding figure 0After obtain, the view finding figure in the lower right corner then is to be rotated in a clockwise direction 180 through upper left corner view finding figure 0After obtain.
For example: the coordinate that calculates first summit (upper left corner) of described rectangular area, described view finding figure is rotated, obtain the first view finding figure, the summit that this first view finding figure is set is at this coordinate place, first summit (upper left corner), make the whole first view finding figure be positioned at the rectangular area, and meet the regulation of Chinese letter co symbolic construction rule.
After setting the first view finding figure, the first view finding figure is further rotated 180 0Obtain the second view finding figure, the summit that this second view finding figure is set is at this second apex coordinate place (lower right corner), the whole second view finding figure is positioned at the rectangular area, and meet the regulation of Chinese letter co symbolic construction rule, obviously, this second summit and first summit are in cornerwise two ends of Chinese letter co rectangular area.
Again for example: the coordinate that calculates first summit (upper right corner) of described rectangular area, described view finding figure is rotated, obtain the first view finding figure, the summit that this first view finding figure is set is at this coordinate place, first summit (upper right corner), make the whole first view finding figure be positioned at the rectangular area, and meet the regulation of Chinese letter co symbolic construction rule.
The first view finding graph copying is obtained the second view finding figure, the summit that this second view finding figure is set is at this coordinate place, second summit (lower left corner), the whole second view finding figure is positioned at the rectangular area, and meeting the regulation of Chinese letter co symbolic construction rule, this second summit (lower left corner) and first summit (upper right corner) are positioned at the diagonal line two ends of described rectangular area.
The 3rd view finding figure is by turning clockwise 90 with the first view finding figure 0Obtain, the summit that the 3rd view finding figure is set is (lower left corner or the upper right corner) coordinate place on the 3rd summit, whole the 3rd view finding figure is positioned at the rectangular area, and meeting the regulation of Chinese letter co symbolic construction rule, the 3rd summit (lower left corner or the upper right corner) and first summit (upper right corner or the lower left corner) are positioned at the two ends in a sideline of described rectangular area.
The second above-mentioned view finding figure is rotated counterclockwise 90 0Obtain the 4th view finding figure, the summit that the 4th view finding figure is set is at the 4th apex coordinate place, and whole the 4th view finding figure is positioned at the rectangular area, and meeting the regulation of two dimensional bar code symbol tactical rule, the 4th summit and second summit are positioned at the two ends in a sideline of described rectangular area.
In a word, can any one drift angle in the Chinese letter co be set earlier according to above-mentioned method, then, according to Chinese letter co view finding figure in the angle rule rotation at different drift angles place and be set to this drift angle place.The angle of concrete rotation is determined according to Chinese letter co view finding figure rule.
Again for example: the above-mentioned first view finding figure is rotated counterclockwise 90 0Obtain the 3rd view finding figure, the summit that the 3rd view finding figure is set is at the 3rd apex coordinate place, and whole the 3rd view finding figure is positioned at the rectangular area, and meeting the regulation of two dimensional bar code symbol tactical rule, the 3rd summit and first summit are positioned at the two ends in a sideline of described rectangular area.
The second above-mentioned view finding figure is turned clockwise 90 0Obtain the 4th view finding figure, the summit that the 4th view finding figure is set is at the 4th apex coordinate place, and whole the 4th view finding figure is positioned at the rectangular area, and meeting the regulation of two dimensional bar code symbol tactical rule, the 4th summit and second summit are positioned at the two ends in a sideline of described rectangular area.
The first above-mentioned view finding figure can also be turned clockwise 90 0Obtain the 3rd view finding figure, the summit that the 3rd view finding figure is set is at the 3rd apex coordinate place, and whole the 3rd view finding figure is positioned at the rectangular area, and meeting the regulation of two dimensional bar code symbol tactical rule, the 3rd summit and first summit are positioned at the two ends in a sideline of described rectangular area.
The second view finding figure is rotated counterclockwise 90 0Obtain the 4th view finding figure, the summit that the 4th view finding figure is set is at the 4th apex coordinate place, and whole the 4th view finding figure is positioned at the rectangular area, and meeting the regulation of two dimensional bar code symbol tactical rule, the 4th summit and second summit are positioned at the two ends in a sideline of described rectangular area.
The first view finding figure can be rotated counterclockwise 90 again 0Obtain the 3rd view finding figure, the summit that the 3rd view finding figure is set is at the 3rd apex coordinate place, and whole the 3rd view finding figure is positioned at the rectangular area, and meeting the regulation of two dimensional bar code symbol tactical rule, the 3rd summit and first summit are positioned at the two ends in a sideline of described rectangular area.The second view finding figure is turned clockwise 90 0Obtain the 4th view finding figure, the summit that the 4th view finding figure is set is at the 4th apex coordinate place, and whole the 4th view finding figure is positioned at the rectangular area, and meeting the regulation of two dimensional bar code symbol tactical rule, the 4th summit and second summit are positioned at the two ends in a sideline of described rectangular area.
For holding the bigger Chinese letter co symbol of data volume, need correction graph be set in Chinese letter co again, referring to Fig. 2, correction graph is a group or more broken line.The determined zone of length of any line segment in the broken line of formation correction graph is used to the figure of being distinguished is proofreaied and correct when recognition, to meet the needs of accurate decoding.The area dividing that broken line can also be crossed simultaneously is so that proofread and correct.
Referring to Fig. 2, when correction graph was set, also the edge at Chinese letter co was provided with auxiliary correction graph, and be in correction graph without the position.The effect of auxiliary correction graph is identical with correction graph, and with correction graph jointly with the area dividing that crosses, so that correction.
Referring to Fig. 2,5, for coded data in the Chinese letter co and Error Correction of Coding, then be to begin to arrange to the right from the lower left corner, then skip when running into the correction chart form, when running into function information zone or Chinese letter co figure border, turn back and arrange.Before arranging, also need the Chinese letter co data are carried out mask process, promptly carry out XOR with binary, obtain the actual bit stream that will generate the Chinese letter co module.Then this bit stream is converted to the Chinese letter co symbol module.For example, after obtaining " 01011 " such bit stream, if " 1 " corresponding to " bar " module, " 0 " corresponding to " sky " module, the Chinese letter co symbol module that then is converted to is " the empty rule of empty bar ".Wherein any one sky or bar all have identical module width.
It should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not the present invention is made restrictive sense.Although the present invention is had been described in detail with reference to above-mentioned preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and this modification or be equal to the spirit and scope that replacement does not break away from technical solution of the present invention.

Claims (16)

1, a kind of generation method of two dimensional bar code symbol is characterized in that, comprising:
Information is encoded to the step of digital coding according to the rule of setting;
According to selected error-correction level and error correction mode, and generate the step of corresponding Error Correction of Coding according to digital coding;
Calculate the two dimensional bar code symbol dimensional parameters according to setup parameter, and the step of systematic function information;
Generate the step of view finding figure; Described view finding figure is overlapped by three or three above odd number rectangles, have odd number light color rectangle and the dark rectangle of even number in these three or three the above odd number rectangles, perhaps have dark rectangle of odd number and even number light color rectangle, the ratio of its corresponding length of side equates; These three or three above odd number rectangles with a same vertices by dark rectangle and the mutual intermeshing of light rectangle, perhaps by light rectangle and dark rectangle or by dark rectangle and the mutual intermeshing of light rectangle;
According to the rectangular area that the two dimensional bar code symbol dimensional parameters is described, described view finding figure is arranged on the step of described rectangular area corner position;
Function information is converted to the function information symbol module, and is set to the step of described rectangular area;
The encoding stream of described digital coding and Error Correction of Coding formation is converted to the corresponding symbol module successively, and is successively set on the step that is positioned at the rectangular area outside view finding figure and the function information symbol module along a direction from a drift angle place of described rectangular area;
The step of graphics combine in the described rectangular area will be proofreaied and correct; Described correction graph is a group or more broken line;
Auxiliary correction graph is combined to step in the described rectangular area; Described auxiliary correction graph is arranged on edge, described rectangular area, and correction graph without the position.
2, method according to claim 1 is characterized in that: according to the rule of setting the step that information is encoded to digital coding is specifically comprised:
Analysis is with the information of data stream form input, the type of the character of determining to be encoded in the described information, and the character that will be encoded is successively encoded according to its corresponding type, and coded message is made up the bit stream that obtains described information.
3, method according to claim 1 is characterized in that: calculate the two dimensional bar code symbol dimensional parameters according to setup parameter, and the step of systematic function information comprises:
Calculate the size of described two dimensional bar code symbol according to following formula:
K=21+2×N;
Wherein, the number of modules on any limit of K two dimensional bar code symbol, N is the setup parameter of two dimensional bar code symbol, and is positive integer.
4, method according to claim 1 is characterized in that: according to the rectangular area that the two dimensional bar code symbol dimensional parameters is described, the step that described view finding figure is arranged on described rectangular area corner position comprises:
The first view finding figure is arranged on the first apex coordinate place;
The second view finding figure is arranged on the second apex coordinate place;
The 3rd view finding figure is arranged on the 3rd apex coordinate place;
The 4th view finding figure is arranged on the 4th apex coordinate place.
5, method according to claim 4 is characterized in that, describedly the first view finding figure is arranged on the first apex coordinate place specifically comprises:
Calculate the coordinate on first summit of described rectangular area, described view finding figure is rotated, obtain the first view finding figure, the summit that this first view finding figure is set is at this first apex coordinate place, make the whole first view finding figure be positioned at the rectangular area, and meet the regulation of two dimensional bar code symbol tactical rule.
6, method according to claim 5, it is characterized in that, describedly the second view finding figure is arranged on the second apex coordinate place specifically comprises: the first view finding figure is further rotated 180 °, obtain the second view finding figure, the summit that this second view finding figure is set is at this second apex coordinate place, the whole second view finding figure is positioned at the rectangular area, and meets the regulation of two dimensional bar code symbol tactical rule, and this second summit and first summit are positioned at the diagonal line two ends of described rectangular area.
7, according to claim 5 or 6 described methods, it is characterized in that, describedly the 3rd view finding figure is arranged on the 3rd apex coordinate place specifically comprises: the first view finding figure is turned clockwise 90 °, obtain the 3rd view finding figure, the summit that the 3rd view finding figure is set is at the 3rd apex coordinate place, whole the 3rd view finding figure is positioned at the rectangular area, and meets the regulation of two dimensional bar code symbol tactical rule, and the 3rd summit and first summit are positioned at the two ends in a sideline of described rectangular area.
8, method according to claim 7, it is characterized in that, describedly the 4th view finding figure is arranged on the 4th apex coordinate place specifically comprises: the second view finding figure is rotated counterclockwise 90 °, obtain the 4th view finding figure, the summit that the 4th view finding figure is set is at the 4th apex coordinate place, whole the 4th view finding figure is positioned at the rectangular area, and meets the regulation of two dimensional bar code symbol tactical rule, and the 4th summit and second summit are positioned at the two ends in a sideline of described rectangular area.
9, according to claim 5 or 6 described methods, it is characterized in that, describedly the 3rd view finding figure is arranged on the 3rd apex coordinate place specifically comprises: the first view finding figure is rotated counterclockwise 90 °, obtain the 3rd view finding figure, the summit that the 3rd view finding figure is set is at the 3rd apex coordinate place, whole the 3rd view finding figure is positioned at the rectangular area, and meets the regulation of two dimensional bar code symbol tactical rule, and the 3rd summit and first summit are positioned at the two ends in a sideline of described rectangular area.
10, method according to claim 9, it is characterized in that, also comprise: the second view finding figure is turned clockwise 90 °, obtain the 4th view finding figure, the summit that the 4th view finding figure is set is at the 4th apex coordinate place, whole the 4th view finding figure is positioned at the rectangular area, and meets the regulation of two dimensional bar code symbol tactical rule, and the 4th summit and second summit are positioned at the two ends in a sideline of described rectangular area.
11, method according to claim 5, it is characterized in that, describedly the second view finding figure is arranged on the second apex coordinate place specifically comprises: the first view finding graph copying is obtained the second view finding figure, the summit that this second view finding figure is set is at this second apex coordinate place, the whole second view finding figure is positioned at the rectangular area, and meeting the regulation of two dimensional bar code symbol tactical rule, this second summit and first summit are positioned at the diagonal line two ends of described rectangular area.
12, according to claim 5 or 11 described methods, it is characterized in that, describedly the 3rd view finding figure is arranged on the 3rd apex coordinate place specifically comprises: the first view finding figure is turned clockwise 90 °, obtain the 3rd view finding figure, the summit that the 3rd view finding figure is set is at the 3rd apex coordinate place, whole the 3rd view finding figure is positioned at the rectangular area, and meets the regulation of two dimensional bar code symbol tactical rule, and the 3rd summit and first summit are positioned at the two ends in a sideline of described rectangular area.
13, method according to claim 12, it is characterized in that, describedly the second view finding figure is arranged on the second apex coordinate place comprises: the second view finding figure is rotated counterclockwise 90 °, obtain the 4th view finding figure, the summit that the 4th view finding figure is set is at the 4th apex coordinate place, whole the 4th view finding figure is positioned at the rectangular area, and meets the regulation of two dimensional bar code symbol tactical rule, and the 4th summit and second summit are positioned at the two ends in a sideline of described rectangular area.
14, according to claim 5 or 11 described methods, it is characterized in that, describedly the 3rd view finding figure is arranged on the 3rd apex coordinate place specifically comprises: the first view finding figure is rotated counterclockwise 90 °, obtain the 3rd view finding figure, the summit that the 3rd view finding figure is set is at the 3rd apex coordinate place, whole the 3rd view finding figure is positioned at the rectangular area, and meets the regulation of two dimensional bar code symbol tactical rule, and the 3rd summit and first summit are positioned at the two ends in a sideline of described rectangular area.
15, method according to claim 14, it is characterized in that, describedly the 4th view finding figure is arranged on the 4th apex coordinate place specifically comprises: the second view finding figure is turned clockwise 90 °, obtain the 4th view finding figure, the summit that the 4th view finding figure is set is at the 4th apex coordinate place, whole the 4th view finding figure is positioned at the rectangular area, and meets the regulation of two dimensional bar code symbol tactical rule, and the 4th summit and second summit are positioned at the two ends in a sideline of described rectangular area.
16, method according to claim 1, it is characterized in that: function information is converted to the function information symbol module, and the step that is set to described rectangular area comprises: obtain the function information bit stream after the binary number of described setup parameter, error-correction level and described two-dimensional bar code mask information is made up, described function information bit stream is converted to the function information figure, and be filled in described view finding image and the symbol module that constitutes by digital coding and Error Correction of Coding between.
CNB2006100984523A 2006-07-07 2006-07-07 Two dimensional bar code symbol generation method Active CN100504912C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100984523A CN100504912C (en) 2006-07-07 2006-07-07 Two dimensional bar code symbol generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100984523A CN100504912C (en) 2006-07-07 2006-07-07 Two dimensional bar code symbol generation method

Publications (2)

Publication Number Publication Date
CN1877600A CN1877600A (en) 2006-12-13
CN100504912C true CN100504912C (en) 2009-06-24

Family

ID=37510030

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100984523A Active CN100504912C (en) 2006-07-07 2006-07-07 Two dimensional bar code symbol generation method

Country Status (1)

Country Link
CN (1) CN100504912C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105833B (en) * 2007-06-12 2011-04-06 李曙光 2D linear graphics coding anti-fake method
CN101645140B (en) * 2008-08-06 2016-10-05 华为技术有限公司 Two-dimensional code generation method, coding/decoding method and device
CN102810171B (en) * 2011-06-02 2015-06-10 航天信息股份有限公司 Chinese-sensible code and construction method thereof
CN107563245A (en) * 2017-08-24 2018-01-09 广东欧珀移动通信有限公司 The generation of graphic code and method of calibration, device and terminal, readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN1877600A (en) 2006-12-13

Similar Documents

Publication Publication Date Title
CN102999772B (en) A kind of decoding method of novel matrix formula Quick Response Code
CN104899630B (en) The coding/decoding method of colored QR codes
CN100504909C (en) Method for correcting distortion of two-dimension bar figure
CN101334849B (en) Two-dimension code label symbol creation method and apparatus
CN100369059C (en) Matrix type two-dimensional bar code and its encoding and decoding method
KR100960786B1 (en) Methods and systems for encoding and decoding data in 2d symbology
JP2846442B2 (en) Non-volatile electro-optic read-only memory with high-density two-dimensional symbology
US6321986B1 (en) Robust machine-readable symbology and method and apparatus for printing and reading same
CN1808482B (en) Visualized electronic signature and verification method
US20100327066A1 (en) Network based reliable decoding of bar codes
CN102592160B (en) Character two-dimension code encoding and decoding method for short message
US6012638A (en) Machine-readable symbology and method and apparatus for printing and reading same
CN107545289A (en) The coding method of matrix two-dimensional code and coding/decoding method
JP2001519068A (en) Distortion-resistant double data correction color transition barcode and its generation and use
US8360333B2 (en) HD barcode
CN101515335A (en) Color two dimension bar code with high compression ratio Chinese character coding capability and its coding and decoding method
CN100504912C (en) Two dimensional bar code symbol generation method
Victor Enhancing the data capacity of QR codes by compressing the data before generation
CN101405747A (en) Method and device for generating image code and method and device for decoding image code
CN106845593A (en) A kind of rectangle fixes dot matrix information encoding-decoding method
CN101159028B (en) Multiple graphics matrix type two-dimension bar code implementing method and device
CN101303742B (en) Microminiature Hanxin code and method for generating symbol thereof
WO1998047101A2 (en) Robust machine-readable symbology and method and apparatus for printing and reading same
KR100608204B1 (en) Pattern code with logo insertion and method for encoding and decoding thereof
US20240086670A1 (en) Methods for constructing, generating, and reading dot-matrix code, dot-matrix code generating and reading terminals, and dot-matrix code 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