CN104850883A - Method for generating multi-gray-scale invisible two-dimensional code - Google Patents

Method for generating multi-gray-scale invisible two-dimensional code Download PDF

Info

Publication number
CN104850883A
CN104850883A CN201510323674.XA CN201510323674A CN104850883A CN 104850883 A CN104850883 A CN 104850883A CN 201510323674 A CN201510323674 A CN 201510323674A CN 104850883 A CN104850883 A CN 104850883A
Authority
CN
China
Prior art keywords
information
code element
code
colours
gtg
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
CN201510323674.XA
Other languages
Chinese (zh)
Other versions
CN104850883B (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.)
Silicon Graphics Xiamen Technology Co ltd
Original Assignee
Silicon Photoelectric (xiamen) 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 Silicon Photoelectric (xiamen) Co Ltd filed Critical Silicon Photoelectric (xiamen) Co Ltd
Priority to CN201510323674.XA priority Critical patent/CN104850883B/en
Publication of CN104850883A publication Critical patent/CN104850883A/en
Application granted granted Critical
Publication of CN104850883B publication Critical patent/CN104850883B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The invention provides a method for generating a multi-gray-scale invisible two-dimensional code, and the method comprises the following steps: a setting step: setting the number of gray scales for a recognition region of the multi-gray-scale invisible two-dimensional code; an obtaining step: obtaining to-be-coded data; and a coding step: coding the to-be-coded data, generating a plurality of information code elements with a plurality of gray scales according to the number of gray scales, and outputting the recognition regions of all information code elements. According to the above scheme, the method employs the information code elements with a plurality of gray scales, does not need to employ the frame positioning of three angles in the prior art, and enables the two-dimensional code to contain more code information. Moreover, the method also can enable the two-dimensional code to serve as an image for display, enables the two-dimensional code to contain more information, enables the two-dimensional code to be recognized conveniently and precisely, enables the two-dimensional code to serve as a character or image carrier, and also enables the two-dimensional code to be very high in market application value.

Description

The generation method of many GTGs invisible two-dimensional codes
Technical field
The present invention relates to planar bar code technology to improve, in particular, a kind of generation method of many GTGs invisible two-dimensional codes.
Background technology
Two-dimensional bar code/Quick Response Code (2-dimensional bar code) is the chequered with black and white graphic recording data symbol information distributed in plane (on two-dimensional directional) according to certain rules with certain specific geometric figure; Coding utilizes the concept of " 0 ", " 1 " bit stream forming computer-internal logical foundations dexterously, the geometrical body using several corresponding with scale-of-two, to represent word numerical information, is processed to realize information by image input device or photoelectric scanning device automatically identifying and reading: it has some general character of barcode technology automatically: often kind of code system has its specific character set; Each character occupies certain width; There is certain verifying function etc.Also there is the information automatic identification function to different rows and processing graphics rotation change point simultaneously.
Started to the research of planar bar code technology abroad late 1980s, in the research of two-dimensional code symbol presentation technology, developed multiple code system, common are PDF417, QR Code, Code 49, Code 16K, Code One etc.The information density of these Quick Response Codes is all greatly improved than traditional one-dimension code, and the information density as PDF417 is more than 20 times of one-dimension code CodeC39.In Quick Response Code Standardization Research, the symbol standard that the world identifies AEM (AIM) automatically, American Standards Association (ANSI) has completed the code systems such as PDF417, QR Code, Code 49, Code 16K, Code One.The international standard technical council and International Electrotechnical Commission have also set up the bar code automatic identification technology council (ISO/IEC/JTC1/SC31), formulate the international standard (ISO/IEC18004:2000 " Automatic Identification & Data Collection-bar code symbol technical manual-QR code ") of QR Code, draft the ISO/IEC draft standard of the Quick Response Codes such as PDF417, Code 16K, Data Matrix, Maxi Code.In the development of Quick Response Code equipment development, production, recognizing apparatus, the symbol of equipment manufacturers' production of the state such as the U.S., Japan generate equipment, have been widely used in all kinds of Quick Response Code application system.Quick Response Code stores as a kind of brand-new information, transmit and recognition technology, from being born, just obtain the concern of many countries in the world.Virtue Japan and other countries, the departments such as public security, diplomacy, military affairs that have not only been applied to by planar bar code technology are to the management of all kinds of certificate, and Quick Response Code is applied to the management of the department such as customs, the tax to all kinds of form and bill, the department such as business, communications and transportation to the management of commodity and freight transportation, postal service to the management of parcel post, field of industrial production to the automatic management of industrial production line.
The research of China to planar bar code technology starts from 1993.The technical manual of Article Numbering Center of China to several conventional Quick Response Code PDF417, QR Code, Data Matrix, Maxi Code, Code49, Code 16K, Code One has carried out translation and follow-up study.Along with constantly improving of China market economy and developing rapidly of infotech, the domestic demand to this new technology of Quick Response Code grows with each passing day.Article Numbering Center of China, under the support energetically of former China State Bureau of Quality and Technical Supervision and national departments concerned, deepens continuously to the research of planar bar code technology.On the basis of the external correlation technique data of digestion, formulate the national standard of two Quick Response Codes: Quick Response Code grid matrix code (SJ/T 11349-2006) and Quick Response Code close matrix code (SJ/T11350-2006), thus greatly facilitate the research and development that China has the Quick Response Code of technology with proprietary intellectual property rights.
Provide some Back ground Informations of Quick Response Code relevant criterion below again.Correction graph (Alignment Pattern) be for of establishing matrix notation position fixing with reference to figure, decoding software can by it when image has moderate damage, then the coordinate reflection of synchronous images module.Character count designator (Character Count Indicator) is the bit sequence of the serial data length defined under a certain pattern.ECI designator (ECI designator) is generally 6 bit digital, for identifying concrete ECI task.Coding region (encodingregion) is not taken by functional graphic in symbol, the region can encoded to data or error correction code word.Expand and explain that (Extended Channel Interpretation (ECI)) is in some code system, output stream is allowed to the agreement of the explanation different from default character set.Format information (Format Information) is a kind of functional graphic, and it comprises the information of the error-correction level of symbol use and the mask graph of use, to carry out decoding to the remainder of coding region.For the special pattern of symbol location and feature identification in functional graphic (function pattern) is-symbol.Mask graph is three mask graph identifiers for symbol with reference to (Mask Pattern Reference).Mask (masking) is in coding region, carries out xor operation with mask graph to bitmap, its objective is and to make in symbol balanced proportion that is dark and light module number, and reduces effect diagram and occur as the figure of fast processing.Pattern (mode) is the method specific character set being expressed as bit string.Mode indicators (ModeIndicator) is generally 4 bit identifiers, the coding mode that instruction data sequence is subsequently used.Position sensing figure (Position Detection Pattern) is one of figure that three of composition view finding figure are identical.Section (segment) is the data sequence with same ECI or coding mode coding.Separator (Separator) is the functional graphic be all made up of light module, and width is a module, for being separated by the remainder of position sensing figure with symbol.Full stop (Terminator) is the bitmap showing data bit stream for sign-off table.The normally dark figure staggered with light module of positioning pattern (TimingPattern), is convenient to the coordinate determining module in symbol.
Along with the development of technology, Quick Response Code is used widely.But Quick Response Code can only hold more than 1,000 byte usually, such as, about 500 Chinese characters, there is the deficiency that information storage is little, and due to its rule restriction, cause the max cap. of dilatation can be no more than the square number of existing capacity.And along with the development of the barcode scanning hardware such as mobile phone, camera technique can obtain meticulous image.Therefore, prior art existing defects, needs to improve.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of generation method of many GTGs invisible two-dimensional codes newly.
Technical scheme of the present invention is as follows: a kind of generation method of many GTGs invisible two-dimensional codes, and it comprises the following steps, setting steps: the identified region for many GTGs invisible two-dimensional codes arranges GTG quantity; Obtaining step: obtain data to be encoded; Coding step: encode to described data to be encoded, generates multiple information code element with some grades of GTGs according to described GTG quantity, exports the identified region comprising each described information code element.
Preferably, before described setting steps, also step is comprised: determine identified region.
Preferably, describedly determine identified region, comprise the positioning area and block of information of determining described identified region, or, determine the block of information of described identified region and positioning area wherein or positioning mark.
Preferably, described positioning area is set by row.
Preferably, information code element described in each arranges positioning area described in.
Preferably, some described information code elements share positioning area described in.
Preferably, whole described information code element shares positioning area described in.
Preferably, in described setting steps, the shape of described information code element is also set.
Preferably, described information code element is rectangle.
Adopt such scheme, the present invention has the information code element of some grades of GTGs by adopting, the square frame of the position, three angles of prior art need not be adopted to locate, make Quick Response Code can carry more code information carrying breath, can also show as image, information storage is large, is beneficial to accurate identification, can use as word or image carrier, there is very high market using value.
Other technologies scheme of the present invention, can also using show image as Quick Response Code block of information shown by content, the form of expression of Quick Response Code is more fitted reality, but not existing various sub-box or mosaic, sight is better.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that the present invention generates an embodiment of method.
Embodiment
For the ease of understanding the present invention, below in conjunction with the drawings and specific embodiments, the present invention will be described in more detail.But the present invention can adopt many different forms to realize, and is not limited to the embodiment described by this instructions.It should be noted that, when element is called as " being fixed on " another element, directly can there is element placed in the middle in it on another element or also.When an element is considered to " connection " another element, it can be directly connected to another element or may there is centering elements simultaneously.
Unless otherwise defined, all technology of using of this instructions and scientific terminology are identical with belonging to the implication that those skilled in the art of the present invention understand usually.The object of term used in the description of the invention in this instructions just in order to describe specific embodiment is not for limiting the present invention.Term that this instructions uses " and/or " comprise arbitrary and all combinations of one or more relevant Listed Items.
As shown in Figure 1, one embodiment of the present of invention are, a kind of generation method of many GTGs invisible two-dimensional codes, and it comprises the following steps, setting steps: the identified region for many GTGs invisible two-dimensional codes arranges GTG quantity; Obtaining step: obtain data to be encoded; Coding step: encode to described data to be encoded, generates multiple information code element with some grades of GTGs according to described GTG quantity, exports the identified region comprising each described information code element.Stealth wherein, refers to the witness marker of existing Quick Response Code, and such as three little square frames, are hidden, and becomes stealthy invisible content.Such as, for the various basic look in the identified region of many GTGs invisible two-dimensional codes arranges GTG quantity; And for example, in setting steps, the identified region only configuration information district of many GTGs invisible two-dimensional codes, deposits locating information in block of information; Or in block of information, deposit positioning area.Such as, in setting steps, the identified region for many GTGs invisible two-dimensional codes arranges number of colours and GTG quantity; And for example, determine each described basic look by described number of colours, namely described basic look relevant to described number of colours.And for example, in described setting steps, the identified region for many GTGs invisible two-dimensional codes arranges number of colours and GTG quantity.And for example, in described setting steps, the identified region for many GTGs invisible two-dimensional codes arranges the GTG quantity matched with the number of colours of many GTGs invisible two-dimensional codes, and such as, described GTG quantity is equal with described number of colours.And for example, in described setting steps, the described identified region of described many GTGs invisible two-dimensional codes is also set according to described GTG quantity, like this, the size of described identified region can be adjusted flexibly according to GTG quantity.Such as, described identified region is directly proportional to described GTG quantity, and in the present embodiment, the size of many GTGs invisible two-dimensional codes is not a ratings, but arranges flexibly according to GTG quantity, can make the very large pictorial poster of a width in practical application; Preferably, this pictorial poster does not have significantly, hinder the location grid viewed and admired, thus uses as many GTGs invisible two-dimensional codes.
Preferably, before described setting steps, also step is comprised: determine identified region.Such as, a kind of generation method of many GTGs invisible two-dimensional codes, it comprises the following steps: determine identified region; Identified region for many GTGs invisible two-dimensional codes arranges GTG quantity; Obtain data to be encoded; Described data to be encoded are encoded, generates multiple information code element with some grades of GTGs according to described GTG quantity, export the identified region comprising each described information code element.And for example, described generation method comprises the following steps: determine identified region; Identified region for many GTGs invisible two-dimensional codes arranges GTG quantity; Arrange according to described GTG quantity or adjust described identified region; Obtain data to be encoded; Described data to be encoded are encoded, generates multiple information code element with some grades of GTGs according to described GTG quantity, export the identified region comprising each described information code element.Like this, can generate many GTGs invisible two-dimensional codes, beared information amount is large, and display effect is good.
Preferably, describedly determine identified region, comprise the positioning area and block of information of determining described identified region, or, determine the block of information of described identified region and positioning area wherein or positioning mark; Or, determine the positioning area in the information code element of described identified region or positioning mark.Preferably, arrange described positioning area by row, such as, often row arranges positioning area described in.And for example, describedly determine identified region, only comprise the block of information determining described identified region; Like this, the many GTGs invisible two-dimensional codes not having obvious positioning area can be obtained, such as, the lattice at three angles place of existing Quick Response Code.Preferably, described block of information arranges described positioning area; And for example, described information code element arranges described positioning area.Preferably, information code element described in each arranges positioning area described in; Such as, or some described information code elements share positioning area described in, have 300 information code elements, are divided into 3 groups, often organize information code element and share positioning area described in, have 3 positioning areas; Such as, or whole described information code element shares positioning area described in, and, arrange described positioning area in the upper left corner of described identified region, the lower left corner, the upper right corner or the lower right corner, whole described information code element shares described positioning area.Like this, the capacity of many GTGs invisible two-dimensional codes can be increased.
Preferably, in described setting steps, the shape of described information code element is also set.Such as, described information code element is rectangle.Preferably, described information code element is square.Preferably, arrange the shape of described information code element according to described GTG quantity, such as, described GTG quantity is larger, and the edge of the shape of described information code element is more; And for example, described GTG quantity is larger, and the shape of described information code element is more complicated; And for example, the shape of described information code element has some protuberances, and described GTG quantity is larger, and the protuberance of described information code element is more; Preferably, the protuberance quantity of described information code element is equal with described GTG quantity; Preferably, information code element described in each arranges positioning area described in, adopts described protuberance as the described positioning area of described information code element.Such as, described protuberance is essentially pixel grid, and the pixel grid on its both sides is colourless or light, and described protuberance is dark.Preferably, the size of described information code element is set according to described GTG quantity.Such as, size and the described GTG quantity of described information code element are inversely proportional to, and such as, described GTG quantity is larger, and described information code element is less.
And for example, a kind of generation method of many GTGs invisible two-dimensional codes, it comprises the following steps: setting steps: the identified region for many GTGs invisible two-dimensional codes arranges number of colours and GTG quantity; Obtaining step: obtain data to be encoded; Coding step: encode to described data to be encoded, according to described number of colours and described GTG quantity, generates and has some colors and each color has the information code element of some grades of GTGs, export the identified region comprising each described information code element.Such as, generate and have red and black double colour and each color has the information code element of 96 grades of GTGs, it is total 96*2=192 seed color always; And for example, generate and have red-black two kinds of basic colors and each basic colors has the information code element of 96 grades of GTGs, it is total 96*2=192 kind segmentation color always.Or, can be regarded as, according to described number of colours and described GTG quantity, generate there is some basic looks and each basic look in conjunction with some grades of GTGs, thus be combined to form some colors or be called sub-color or be called segmentation color information code element.
Preferably, described GTG quantity is set according to described number of colours.Such as, GTG quantity is 8 to 256.Such as, described GTG quantity and described number of colours are inversely proportional to, and that is, number of colours is larger, and GTG quantity is less; Such as, described number of colours is 256, and described GTG quantity is 8; And for example, described number of colours is 128, and described GTG quantity is 16; And for example, described number of colours is 64, and described GTG quantity is 32; By that analogy.Like this, be applicable to the equipment that analytic ability is constant, such as the mobile phone in a certain period.And for example, described GTG quantity is directly proportional to described number of colours, and that is, number of colours is larger, and GTG quantity is larger; Such as, described number of colours is 8, and described GTG quantity is 8; And for example, described number of colours is 16, and described GTG quantity is 16; And for example, described number of colours is 32, and described GTG quantity is 32; By that analogy.Like this, the many GTGs invisible two-dimensional codes generating various capacity is applicable to.
Preferably, the square root round numbers that described GTG quantity is described number of colours is set.Such as, described number of colours is 64, and described GTG quantity is the square root of 64, namely 8; And for example, described number of colours is 255, and described GTG quantity is the square root round numbers of 255, and such as 4 houses 5 enter to round, namely 16; And for example round downwards, namely 15; By that analogy.Like this, only need determine that described number of colours can determine described GTG quantity.And for example, arrange described GTG quantity be described number of colours square; Such as, described number of colours is 8, described GTG quantity be 8 square, namely 64; And for example, described number of colours is 10, described GTG quantity be 10 square, namely 100; By that analogy.Like this, also only need determine that described number of colours can determine described GTG quantity, simple to operate easy-to-use.
Preferably, GTG quantity is arranged respectively to each color of described number of colours; Such as, arranging red GTG quantity is 16, and blue GTG quantity is 8, and green GTG quantity is 24 etc.And for example, identical GTG quantity is arranged to each color of described number of colours, such as, redness is set, blueness, green GTG quantity is 32.Preferably, identical GTG quantity is preset to each color acquiescence of described number of colours.Preferably, described default identical GTG quantity is 8 to 256.Such as, the GTG quantity giving tacit consent to each color is 25.Then, then according to input the adjustment GTG quantity of each color is set; Such as inputted the adjustment GTG quantity of each color by user, using the GTG quantity as each color.
Preferably, the size of described information code element is pre-seted according to described identified region.Such as, identified region is square, is divided into x 2individual square; Such as, described identified region is 3*3 square centimeter, be divided into 9 square, each square size being described information code element, namely 1 square centimeter; And for example, be divided into 36 square, each square size being described information code element, namely 0.25 square centimeter.
Preferably, the size of described information code element is also pre-seted according to described number of colours.Such as, size and the described number of colours of described information code element are inversely proportional to, and described number of colours is larger, and described information code element is less.Preferably, the size of described information code element is also pre-seted according to described GTG quantity.Such as, size and the described GTG quantity of described information code element are inversely proportional to, and described GTG quantity is larger, and described information code element is less.Like this, an information code element can hold larger quantity of information.
And for example, a kind of generation method of many GTGs invisible two-dimensional codes, it comprises the following steps: the identified region pre-seting many GTGs invisible two-dimensional codes, such as, determines the identified region of described many GTGs invisible two-dimensional codes; Wherein, described identified region is for placing the information code element of many GTGs invisible two-dimensional codes to be identified; Such as, described identified region arranges positioning area and block of information, wherein, described positioning area is non-specific offends the eye setting, and namely it is identical with the expression-form of described block of information or close, is unlikely to obstruction and views and admires, such as described positioning area and described block of information are part figure or image, preferably, described positioning area has the positioning mark of some pixels composition, to identify; Pre-set number of colours and the GTG quantity of many GTGs invisible two-dimensional codes; Obtain data to be encoded; Coding step: encode to described data to be encoded, exports identified region.Such as, described block of information comprises some square code elements.And for example, described block of information comprises some rectangle code elements.Preferably, also comprise step: adopt described identified region as many GTGs invisible two-dimensional codes and share, such as, by network sharing, and for example, shared by mobile terminal.
Such as, pre-set the identified region of many GTGs invisible two-dimensional codes, described identified region comprises positioning area and block of information; Preferably, described positioning area is arranged in described block of information.Such as, described positioning area comprises correction graph, such as its for of establishing matrix notation position fixing with reference to figure, decoding software can by it when image has moderate damage, then the coordinate reflection of synchronous images module; Described block of information comprises coding region, such as, do not taken by functional graphic, the region can encoded to data or error correction code word.It should be noted that, the existing planar bar code technologies such as character count designator, ECI designator, separator, full stop, it is arranged at described identified region, does not repeat at this, and the present invention and each embodiment thereof are only described in detail for each inventive point, each embodiment and correlation technique feature thereof.
Such as, the number of colours of many GTGs invisible two-dimensional codes is pre-seted; Such as, chromatic number amount based on described number of colours, wherein, the color in described number of colours, comprises some basic looks; Such as, described number of colours is 3, corresponding, described color comprises 3 kinds of basic looks; And for example, described GTG quantity is 16, namely comprises 16 grades of GTGs, and like this, the identified region of many GTGs invisible two-dimensional codes always has 48 kinds of colors.And for example, described number of colours is 8, and described GTG quantity is 64, and namely described color comprises 8 kinds of basic looks, and often kind of basic look has 64 grades of GTGs, totally 512 kinds of colors.And for example, pre-set the number of colors scale of many GTGs invisible two-dimensional codes, each number of colours in table is to should the some basic look of quantity, and such as, number of colours is 3,3 kinds of basic look RGB that correspondence pre-sets, and for example, number of colours is 7,7 kinds of basic looks that correspondence pre-sets, the yellowish green ultramarine of such as blood orange is purple, by that analogy.
Such as, described number of colours is 256, and described GTG quantity is also 256, then always have 65536 kinds of colors, and namely each basic look includes the color of 256 kinds of different GTGs, and each GTG is to the color that should have 256 kinds of basic looks of difference.Such as, also step is comprised: revise or adjust described number of colours and/or described GTG quantity.Wherein, described basic look is the color on some bases, such as RGB three basic looks, and and for example, every look coordinates 12 GTGs, then always have 36 kinds of colors.Such as, basic look and different GTG coordinate the GTG colour system forming relevant rudimentary color.And for example, also step is comprised: the mapping table pre-seting number of colours and basic look; In follow-up coding or decoding, adopt described mapping table, obtain corresponding basic look information according to number of colours, such as, basic chromatic number amount is 3, and corresponding basic look is RGB; And for example, basic chromatic number amount is 4, and corresponding basic look is red, yellow, green and blue; And for example, basic chromatic number amount is 8, and corresponding basic look is the purple indigo of the yellowish green ultramarine of blood orange; And for example, basic chromatic number amount is 64 or 128, and corresponding basic look is the relevant colour system set by each image processing software, by that analogy.Under normal circumstances, adopt number of colours as when storing the factor of information, if number of colours is higher, then in follow-up identifying, higher to the requirement of hardware device.Also can only adopt GTG quantity as the factor of the information of storage, now color is just as the form of expression of many GTGs invisible two-dimensional codes, the storage information of its essence is grey Quick Response Code, carries out gray processing process during identification to image, without the need to considering color factors.
Wherein, described GTG be by the brightest and the darkest between brightness change, divide into some parts.So that carry out signal to input corresponding screen intensity management and control.Often open digitized video all combined by many points, these points are also called pixel (pixels), and each pixel can present many different colors usually, and it is made up of red, green, blue (RGB) three sub-pixels.Each sub-pixel, the light source of its behind can show different gray scales.And GTG represents by the most secretly to the stratum level of different brightness the brightest.This intermediate level is more, and the picture effect that can present is also finer and smoother.For 8bit panel, 8 powers of 2 can be showed, equal 256 luminance levels, be then referred to as 256 GTGs.Each pixel in lcd screen, the red, green, blue by different luminance level combines, the color point that final formation is different.That is, the color change of each point on screen is all brought by the gray scale variation of three the RGB sub-pixels forming this point in fact.Such as, the identified region pre-seting Quick Response Code is matrix two-dimensional barcode, and for example, adopt the code system such as PDF417, Datamatrix, QR Code, Code 49, Code 16K, Code one that the identified region of many GTGs invisible two-dimensional codes and the relevant encoding and decoding rule on basis are set, but with various embodiments of the present invention, additionally arranging of positioning area, block of information and information code element etc. is not conflicted mutually, with the difference of existing code system, be as the criterion with the explanation of various embodiments of the present invention.Main for QR Code code, various embodiments of the present invention are described below, but are understandable that, various embodiments of the present invention are equally applicable to the Quick Response Code of other code system.Such as, adopt QR Code code, pre-set the identified region of Quick Response Code.For the ease of adapting to various environment for use, and for example, the number of colours of Quick Response Code is pre-seted according to target recognition capability, it comprises GTG quantity, such as, 8 grades of GTGs, 16 grades of GTGs, 64 grades of GTGs, 128 grades of GTGs, 256 grades of GTGs, 512 grades of GTGs, 1024 grades of GTGs or 2048 grades of GTGs and even 65536 grades of GTGs etc. are set.
Please refer to 1 dimension code information storage as follows:
X bar black and white 1 ties up code information storage: 2 x;
Such as, 1 black and white 1 ties up code information storage is 1bit (2 1=2), 2 black and white 1 tie up code information storage is 2bit (2 2=4), 3 black and white 1 tie up code information storage is 3bit (2 3=8).
X bar n GTG 1 ties up code information storage: n x;
Such as, 14 GTG 1 ties up code information storage is 1bit (4 1=4); Article 2,4 GTGs 1 tie up code information storage is 2bit (4 2=16); Article 3,4 GTGs 1 tie up code information storage is 3bit (4 3=64).
And for example, one 10 1 dimension code information storages are as follows:
Article 10, black and white 1 ties up code information storage: 2 10bit information storage.
Article 10, code information storage is tieed up on 4 rank 1: 48 10bit information storage.
Article 10, code information storage is tieed up on n rank 1: n 10bit information storage.Visual information storage increases considerably.
Expand to 2 dimension code information storages again:
X bar black and white 2 ties up code information storage: 2 (2X);
Code information storage is tieed up on X bar n rank 2: n (2X); Such as, described block of information comprises some square code elements; Such as, adopt square 2 dimension codes, then code information storage is tieed up on X bar n rank 2 is n (2X), and for example, described block of information comprises some rectangle code elements; Such as, adopt rectangle 2 to tie up code, then, in same identified region, the wide Y of long X+, the colored 2 dimension code information storages in X+Y bar n rank are n altogether anyhow (X+Y).
One 10 2 dimension code information storages are as follows for another example:
Article 10, black and white 2 ties up code information storage: 2 20information storage.
Article 10, code information storage is tieed up on 4 rank 2: 4 20information storage.
Article 10, code information storage is tieed up on 8 rank 2: 8 20information storage.
Article 10, code information storage is tieed up on n rank 2: n 20information storage.
And for example, adopt color as another kind of information recording medium, such as, have three kinds of basic looks, i.e. three primary colours, then to tie up code information storage as follows for X bar 2:
X bar 4 rank three primary colours 2 tie up code information storage: (3*4) (2X)information storage.
X bar 8 rank three primary colours 2 tie up code information storage: (3*8) (2X)information storage.
X bar n rank three primary colours 2 tie up code information storage: (3*n) (2X)information storage.
And for example, adopt color as another kind of information recording medium, such as, have 64 kinds of basic looks, i.e. 64 primary colours, then to tie up code information storage as follows for X bar 2:
X bar 4 rank 64 primary colours 2 tie up code information storage: (64*4) (2X)information storage.
X bar 8 rank 64 primary colours 2 tie up code information storage: (64*8) (2X)information storage.
X bar n rank 64 primary colours 2 tie up code information storage: (64*n) (2X)information storage.
As can be seen here, many GTGs invisible two-dimensional codes information storage increases considerably, so large storage information, and its application is well imagined.Such as, existing 2 dimension code information storage amounts only reach store website address, cannot store its content; And the information storage amount of many GTGs invisible two-dimensional codes can be large enough to storage one whole book, a photo album or one section of video recording, or even a film.As can be seen here, many GTGs invisible two-dimensional codes memory space is large, adapts to wide.
One of them embodiment is, the quantity of the basic look in described number of colours is greater than 64.And for example, the quantity of described basic look is greater than 128.Preferably, described number of colours is greater than 256.And/or described GTG quantity is greater than 64.And for example, described GTG quantity is greater than 128.Preferably, described GTG quantity is greater than 256.Such as, the quantity of described basic look is 256, and described GTG quantity is 256, and combined colors adds up to 65536; Such as, the shades of colour that the described number of colours in described identified region, described GTG quantity and both cooperations obtain is pre-seted; Preferably, described GTG quantity is identical with described number of colours.
For the ease of the number of colours of clear and definite many GTGs invisible two-dimensional codes, easy to use and identify, one of them embodiment is, at least one described block of information, uses as described positioning area, and it arranges storage code element, for recording number of colours and/or the coding rule of Quick Response Code, whether such as described color-code rule comprises described number of colours for coding, and/or whether described GTG quantity is for coding etc.; Such as, in described coding step, also according to GTG quantity at least one described positioning area coding formation base code element, it indicates described GTG quantity and/or described number of colours, as described storage code element.And for example, in described coding step, also generate GTG code element according to GTG quantity at least one described positioning area coding, it indicates described GTG quantity, as described storage code element or wherein a part of.And for example, in described coding step, also according to basic chromatic number amount, i.e. number of colours, at least one described positioning area coding formation base colour coding unit, it indicates described number of colours, as described storage code element or wherein a part of.Such as, when the plan of a certain many GTGs invisible two-dimensional codes adopts 16 grades of GTGs, generate GTG code element according to GTG quantity at one or more positioning area coding, owing to only needing to provide a shorter numerical information herein, such as, arrange at a positioning area and store code element.Such as, the basic Quick Response Code of black and white two look is set at a positioning area, the i.e. Quick Response Code coded system of prior art, record the GTG quantity of this many GTGs invisible two-dimensional codes, under normal circumstances, can mark by four basic code elements, each basic code element is black or the white blockage of existing planar bar code technology standard or is called basic module, can record the GTG type of the 4 power quantity of 2 like this, each GTG type represents a kind of GTG quantity.And for example, adopt 9 basic code elements to mark, like this, the GTG type of the 9 power quantity of 2 can be recorded.Preferably, in described coding step, also according to GTG quantity and/or number of colours a positioning area coding formation base code element, it records described GTG quantity and/or number of colours, as described storage code element.Such as, at positioning area coding employing two group echo, first group marks with 9 basic code elements, direct record GTG quantity, such as 256 grades are then recorded numeral 256, second group and also mark with 9 basic code elements, direct record number of colours, such as 256 grades.Other quantity by that analogy.
For the ease of avoiding malice Quick Response Code infringement user benefit, one of them embodiment is, at least one described positioning area arranges verification code element, for recording the linking status of described storage information; Such as, verification code element has two kinds of linking status, comprises right and wrong; And for example, in described coding step, also generate link code element according to linking status at least one described positioning area coding.Like this, when user opens many GTGs invisible two-dimensional codes, a lot of content can be shown under normal circumstances, if need to be linked to outside, owing to verifying the existence of code element, clearly define the terminal of user, such as mobile phone, is directly linked to outside, avoids being caused swindling successfully by luring installation procedure.Such as, when user opens many GTGs invisible two-dimensional codes, if need to be linked to outside, then owing to verifying the existence of code element, inform user, whether this is an external linkage, please select to open, thus give the right to know of user's abundance.Preferably, link code element is generated according to linking status at a positioning area coding.Such as, adopt QR Code code to arrange three positioning areas, one of them arranges link code element, and another arranges storage code element, does not do to change for the 3rd.And for example, adopt QR Code code to arrange three positioning areas, wherein two arrange storage code element, and the 3rd arranges link code element.And for example, in described coding step, also according to linking status at least one described positioning area coding formation base code element, it indicates described linking status, as described link code element.And for example, described linking status only comprises right and wrong two states, like this, can simply indicate, and is easy to identify.And for example, described linking status also arranges to pay and reminds, receive for record chain and outside expense state may occur, such as financial institution comprises bank, lender, Alipay etc., there is the content of financial institution's address link, when generating many GTGs invisible two-dimensional codes, mark in link code element.Like this, can timely call user's attention when identifying.Such as, in the encoding step, also generate at least one described positioning area coding the link code element comprising and pay and remind according to linking status.And for example, arrange multiple positioning area, it is first that one of them positioning area comprises link code element and GTG code element and/or basic colour coding in the lump; And for example, it is first that other each positioning area does not comprise link code element or GTG code element or basic colour coding, that is, links code element and GTG code element and/or basic colour coding unit and be only arranged in a positioning area.And for example, described link code element is set by whether there is external linkage, such as, if there is not external linkage, described link code element is not set.
State and two-dimensional code product for the ease of controlling GTG finally present, one of them embodiment is, in described coding step, according to described GTG quantity and/or described number of colours, described storage information is generated in described block of information some information code elements with multiple GTG and/or multiple basic look or its combination.Such as, during information generated code element, its GTG is set according to described GTG quantity, such as 8 grades, 16 grades or 256 grades of GTGs etc.And for example, according to described GTG quantity, a GTG redundancy value is set, such as 10%, 20% or 30% etc., described storage information is generated in described block of information some information code elements with multiple GTG.Such as, to be the corresponding redundancy value of 30%, 64 grades of GTGs be the corresponding redundancy value of 16 grades of GTGs 20% etc., by that analogy.Like this, certain error correcting capability can be realized, make the mistake of code word data or data symbols can have certain tolerance.And for example, during information generated code element, come for its color matching according to described number of colours, and for example, also a basic look redundancy value is set according to described number of colours, such as 10%, 20% or 30% etc., described storage information is generated in described block of information some information code elements with multiple basic look.Such as, to be 30%, 64 grades of basic look corresponding redundancy value be 20% etc. for 16 grades of basic look corresponding redundancy value, by that analogy.
Such as, data to be encoded are obtained; Such as, described data to be encoded are revised.Such as, described data to be encoded comprise chained address, display image and/or storage information; And for example, described data to be encoded comprise display image, and chained address or store information, wherein, described chained address be used to indicate obtain described storage information; And for example, described data to be encoded comprise display image, and chained address and storage information.Such as, described display image is the head portrait or a map etc. of a photos, a people; And for example, described display image is the image of various conventional meaning.Preferably, described display image be there is displaying contents can recognisable image, the patent certificate etc. of office is known by the photo of a such as inventor, a state.Preferably, described storage information comprises Word message, video information and/or audio-frequency information, and such as, described video information comprises static image information and/or dynamic video information.
Such as, coding step: encode to described data to be encoded, generates multiple information code element with some grades of GTGs according to described GTG quantity, exports the identified region comprising each described information code element.Such as, described identified region only comprises described positioning area and described block of information, and that is, described identified region does not comprise other regions, such as, do not comprise other display graphics regions not having described data to be encoded.
One of them embodiment is, before described coding step, also pre-sets the size of described information code element according to described number of colours.Such as, according to the recognition capability of market mainstream hardware, pre-set the size of described information code element.And for example, according to the recognition capability of market mainstream hardware, adjust or select the size of described information code element.Like this, when generation Quick Response Code, can the size of configuration information code element flexibly, thus adjust the capacity of many GTGs invisible two-dimensional codes, and such as, storage one whole high-definition movie etc.Such as, the size of described information code element is pre-seted according to the GTG quantity in described number of colours.And for example, before described coding step, also pre-set the size of described information code element according to described identified region.
For the ease of adjusting capacity flexibly, one of them embodiment also comprises step: select described GTG quantity and described number of colours during coding.Such as, select GTG quantity to be 16 grades, 32 grades, 64 grades, 128 grades, 256 grades, 512 grades or 1024 grades etc. when encoding; And for example, number of colours is selected to be 16 grades, 32 grades, 64 grades or 256 grades etc. when encoding.Preferably, acquiescence GTG quantity and/or number of colours being set during coding, if do not selected, automatically choosing GTG quantity and/or number of colours by default value; And for example, how many according to the content of the information of storage during coding, automatically select GTG quantity and/or number of colours, or automatically recommend GTG quantity and/or the number of colours of default value.Such as one section of short essay, 8 grades, 16 grades or 32 grades of GTGs can be adopted, and/or, the number of colours of 3 grades, 8 grades or 16 grades realizes many GTGs invisible two-dimensional codes, the and for example paper of a medium length, can adopt 32 grades, 64 grades GTGs or 128 grades of GTGs, and/or, the number of colours of 8 grades, 16 grades or 32 grades realizes many GTGs invisible two-dimensional codes, by that analogy.Like this, be convenient for users to operate, be conducive to promoting Consumer's Experience.
For the ease of adjusting capacity flexibly further, one of them embodiment is, also pre-sets each information code element corresponding to GTG quantity and/or number of colours.Such as, 8 grades of corresponding some information code elements of GTG, 16 grades of corresponding some information code elements of GTG, 32 grades of corresponding some information code elements of GTG, and for example, 8 grades of basic look corresponding some information code elements, 16 grades of basic look corresponding some information code elements, 32 grades of basic look corresponding some information code elements, are arranged according to actual needs.And for example, in use, to select or adjustment GTG quantity and/or each information code element corresponding to number of colours.
For the ease of adapting to various long monumental work, one of them embodiment is, before described coding step, also comprises step: judge whether the content of described storage information is greater than the max cap. of many GTGs invisible two-dimensional codes, is, generates multiple Quick Response Code.Like this, can with two, three or more many GTGs invisible two-dimensional codes hold a treatise or overlength section word, such as Tolstoy complete or collected works, complete works of Shakespeare, Chinese four great classical masterpieces etc.For the ease of identifying continuous print Quick Response Code, such as, in described coding step, at least one described positioning area arranges undertaking code element, undertaking state is belonged to for recording this Quick Response Code, its have associated before and/or Quick Response Code afterwards, such as, pre-set four kinds of undertaking states: no context, have above, have hereafter, have context.Preferably, described undertaking code element is also arranged accepts instruction, for recording Quick Response Code before it and/or afterwards, guide user understand this Quick Response Code before and/or also have other Quick Response Code be associated afterwards, can serial be realized like this; And for example, described undertaking code element is set at one or more positioning area or customizing messages district, such as, using last block of information as described customizing messages district, described undertaking code element is set wherein; And/or, using first block of information as described customizing messages district, described undertaking code element is set wherein.Preferably, described undertaking code element also records remote linkage, for guiding user to obtain Quick Response Code associated with it, so that user directly obtains related content, strengthens Consumer's Experience.
Provide a good application example below again, such as, described data to be encoded comprise display image and storage information; And for example, described coding step comprises: encode to described data to be encoded, according to described GTG quantity, multiple information code element with some grades of GTGs is generated by described display image and described storage information, export the identified region comprising each described information code element, wherein, the block of information of described identified region has described display image format; Such as, described in there is described display image format, the content shown by described block of information is similar to described display image.Like this, Quick Response Code is hidden and is existed as display image, does not affect and views and admires, be described many GTGs invisible two-dimensional codes.
Such as, described storage information is generated to some information code elements with described number of colours; And for example, according to described number of colours, described storage information is generated in described block of information some information code elements with multiple color.Such as, the Word message of described storage information, video information and/or audio-frequency information are generated to some information code elements with described number of colours.And for example, according to described number of colours, described storage information is generated in described block of information some information code elements with described GTG quantity, namely there are some information code elements of some grades of GTGs, then according to described display image and described number of colours, for each information code element arranges color, the basic look namely corresponding to described number of colours, and some grades of GTGs of correspondence, with reference to described display image, for each information code element is matched colors, then export the identified region of described data to be encoded.Wherein, described color matching can with reference to the color matching mode of common image processing software, focus on some information code element carry data information with described GTG quantity, such as described storage information, and then these information code elements are matched colors, making it shown is not rambling blockage or mosaic, but the similar image of described display image or described display image, this similar image in appearance with described display image similarity, be such as display object that special format cutting and/or the sampling of described display image obtain.
Such as, a kind of generation method of many GTGs invisible two-dimensional codes, it comprises the following steps, setting steps: the identified region pre-seting many GTGs invisible two-dimensional codes, arranges number of colours and the GTG quantity of many GTGs invisible two-dimensional codes; Obtaining step: obtain data to be encoded, described data to be encoded comprise display image and storage information; Coding step: described data to be encoded are encoded, multiple information code element with some grades of GTGs is generated according to described GTG quantity, according to described display image and described number of colours, for each information code element arranges color, export the identified region comprising the described data to be encoded of each described information code element.Wherein, for each information code element arranges color, comprise for wherein each pixel arranges basic look, now, basic look combines with GTG, forms strong, that sight the is fabulous many GTGs invisible two-dimensional codes that becomes more meticulous.
And for example, in described coding step, also perform the pre-sampling step being used for sampling to described display image; Such as, described pre-sampling step comprises: obtain described display image, samples, obtain sampled images according to described number of colours to described display image; Such as, according to described number of colours and described GTG quantity, described display image is sampled, obtains sampled images; Such as, described sampled images is as described display image format; And for example, described pre-sampling step comprises: obtain the described display image in described data to be encoded, sample, obtain sampled images according to described number of colours to described display image, described sampled images is as described display image format; And for example, sample to described display image according to described identified region and according to described number of colours, obtain sampled images, the size of described sampled images is the size of described identified region, and described sampled images is as described display image format; And for example, also according to described identified region, described display image carried out cutting and/or reduced, then according to described number of colours, described display image being sampled, obtain described sampled images.Like this, the many GTGs invisible two-dimensional codes being similar to photochrome can be obtained, more information can be carried on the one hand, unordered Quick Response Code can be shown as the discernible significant image of naked eyes on the other hand, traditional Quick Response Code is made to there occurs great change, not only exist as a label, can also use as image.
And for example, in described coding step, described data to be encoded are encoded, using described sampled images as color matching object, generate some information code elements with described number of colours, export the identified region of described data to be encoded.Such as, the form of each information code element is set, using the structure in its form and GTG as the storage content of described information code element, then using described sampled images as color matching object, by GTG colouring, such as, match colors after generation has some information code elements of described GTG quantity, generate some information code elements with described number of colours, export the identified region of described data to be encoded.And for example, the form of each information code element is set, using the structure in its form and color as the storage content of described information code element.
Preferably, described display image is coloured image; And for example, it is that clour mixing is as photo.Such as, the form of each information code element is set, using the structure in its form, color and GTG as the storage content of described information code element, like this, larger memory capacity can be obtained; Then be combined to form by each information code element the described block of information showing described sampled images.
And for example, adopt above-mentioned arbitrary generation method, another embodiment of the present invention is, a kind of generating apparatus of many GTGs invisible two-dimensional codes, and it is for realizing above-mentioned arbitrary generation method; Or, a kind of generating apparatus of many GTGs invisible two-dimensional codes, it adopts above-mentioned arbitrary generation method to realize; Such as, described generating apparatus comprises functional module for realizing above-mentioned arbitrary generation method and/or functional unit.
Such as, a kind of generating apparatus of many GTGs invisible two-dimensional codes, what it comprised identified region for arranging many GTGs invisible two-dimensional codes and GTG quantity thereof arranges module, for obtaining the data acquisition module of data to be encoded, multiple coding module with the information code element of some grades of GTGs is generated for encoding to described data to be encoded, according to described GTG quantity, and for exporting the output module of the identified region comprising each described information code element.Preferably, also comprise the sharing module be connected with output module, for adopting described identified region as many GTGs invisible two-dimensional codes and sharing, such as, by network sharing, and for example, shared by mobile terminal.
Preferably, the described module that arranges comprises determining unit for determining identified region, described determining unit is used for determining identified region, such as, identified region is 2cm*3cm, and for example, identified region is a photos, and for example, identified region is a resolution is the display screen etc. of 1024*768, by that analogy.Preferably, described determining unit comprise positioning area determination subelement for determining described identified region positioning area with for determining that subelement is determined in the block of information of described identified region block of information; Preferably, described positioning area determination subelement and described block of information determine that subelement is wholely set; Preferably, described positioning area determination subelement is the part that described block of information determines in subelement.Preferably, the row that described positioning area determination subelement comprises for arranging described positioning area by row arranges Sun Danyuan, such as, described row arranges Sun Danyuan for arranging a positioning area in every a line, such as, described row arranges Sun Danyuan and arranges a positioning area for the every a line information code element in identified region.And/or the information code element positioning area that described positioning area determination subelement comprises for arranging positioning area described in for information code element described in each arranges Sun Danyuan.And/or described positioning area determination subelement comprises selects Sun Danyuan for arranging an information code element positioning area sharing positioning area for some information code elements.And/or the information code element positioning area that described positioning area determination subelement comprises for arranging a shared positioning area for full detail code element shares Sun Danyuan.Such as, described information code element positioning area shares Sun Danyuan and shares positioning area for arranging one first or last information code element, and for full detail code element location is used, such as, the content identifying this identified region is many GTGs invisible two-dimensional codes.Wherein, described positioning area, comprises shared positioning area, do not do special marking, with three blockage marks unlike prior art, but be hidden in identified region, such as be hidden in block of information, and for example naked eyes are difficult to recognize that this is a Quick Response Code, and think it is a colour pitcture.
Preferably, the described module that arranges comprises shape setting unit for arranging described information code element shape.Such as, it is polygon that shape setting unit is used for arranging described information code element shape, and preferably, it is regular polygon that described shape setting unit is used for arranging described information code element shape.Preferably, described shape setting unit is used for arranging described information code element shape according to GTG quantity, and such as, the shape of described information code element has some protuberances, and described GTG quantity is larger, and the protuberance of described information code element is more; Preferably, the protuberance quantity of described information code element is equal with described GTG quantity; Such as, it is regular polygon that described shape setting unit is used for arranging described information code element shape, and its limit number is directly proportional to described GTG quantity.Such as, described shape setting unit comprises rectangular information code element and arranges subelement, and namely information code element is rectangle.Preferably, described shape setting unit comprises square information code element and arranges subelement, and namely information code element is square.Like this, described information code element flexible shapes is changeable, is easy to adapt to difform image, especially irregular figure, such as oil painting etc.
And for example, what it comprised identified region for arranging many GTGs invisible two-dimensional codes and number of colours thereof and GTG quantity arranges module, for obtaining the data acquisition module of data to be encoded, generate for encoding to described data to be encoded, according to described number of colours and described GTG quantity and there is some colors and each color has the coding module of the information code element of some grades of GTGs, and for exporting the output module of the identified region comprising each described information code element.Like this, by the design of number of colours and GTG quantity, the capacity of many GTGs invisible two-dimensional codes can be increased.
Preferably, the described module that arranges comprises identified region setting unit.Such as, described identified region setting unit is used for arranging described identified region.And/or the described module that arranges comprises number of colours setting unit.Such as, described number of colours setting unit is used for arranging described number of colours.And/or the described module that arranges comprises GTG number setting unit.Such as, described GTG number setting unit is used for arranging described GTG quantity.Preferably, described GTG number setting unit associates with described number of colours setting unit and arranges, and such as, described GTG number setting unit is for arranging the square root round numbers that described GTG quantity is described number of colours.And for example, described number of colours setting unit, in time arranging described number of colours, synchronously arranges described GTG quantity; Such as, described number of colours setting unit, in time arranging described number of colours, synchronously arranges the described GTG quantity of same quantity; And for example, described number of colours setting unit when described number of colours is set, 2 times of described GTG quantity that same quantity is set; By that analogy.And for example, described GTG number setting unit is used for arranging GTG quantity respectively to each color of described number of colours.
Preferably, multiple described GTG number setting unit is set according to described number of colours correspondence.Such as, each color in described number of colours or each basic look, correspondence arranges multiple described GTG number setting unit.Preferably, the quantity of described GTG number setting unit is set according to described number of colours correspondence.Such as, according to described number of colours, each basic look correspondence arranges a described GTG number setting unit.Like this, described number of colours can be associated with described GTG quantity and arrange.
Preferably, the described module that arranges comprises the first setting unit for pre-seting described information code element size according to described identified region.And/or, the described module that arranges comprises the second setting unit for pre-seting described information code element size according to described number of colours, such as, described second setting unit is used for the size of described information code element and described number of colours to be inversely proportional to, pre-set described information code element size, wherein said number of colours is larger, and described information code element is less.And/or the described module that arranges comprises the 3rd setting unit for pre-seting described information code element size according to described GTG quantity.Such as, size and the described GTG quantity of described information code element are inversely proportional to, and such as, described GTG quantity is larger, and described information code element is less.Like this, described information code element size can be adjusted flexibly according to identified region, number of colours, GTG quantity.Preferably, the size of described information code element is directly proportional to one or more in identified region, number of colours, GTG quantity; Such as, identified region is larger, and information code element is larger; And for example, number of colours is larger, and information code element is larger; And for example, GTG quantity is larger, and information code element is larger.
Such as, a kind of generating apparatus of many GTGs invisible two-dimensional codes, what it comprised identified region for arranging many GTGs invisible two-dimensional codes and GTG quantity thereof arranges module, for obtaining the data acquisition module of data to be encoded, multiple coding module with the information code element of some grades of GTGs is generated for encoding to described data to be encoded, according to described GTG quantity, and for exporting the output module of the identified region comprising each described information code element, wherein, described identified region comprises positioning area and block of information; And for example, positioning area is arranged in block of information.And for example, described coding module is used for encoding to described data to be encoded, according to the display image in described data to be encoded and the information of storage, and described GTG quantity, generate multiple information code element with some grades of GTGs, export the identified region of described data to be encoded, wherein, the block of information of described identified region has described display image format.
Such as, the described module that arranges comprises for arranging the basic look setting unit of basic look and the GTG setting unit for arranging GTG; And for example, the described module that arranges also comprises for selecting basic look and/or GTG, or for selecting the Colour selection unit of number of colours and/or GTG quantity.And for example, the described module that arranges also comprises default unit, and it is for pre-seting each information code element corresponding to described GTG quantity.And for example, the described module that arranges comprises identified region setting unit for arranging identified region.And for example, described acquisition module comprises the data modification unit for revising described data to be encoded; And/or, also comprise the image acquisition unit for obtaining described display image.Such as, described image acquisition unit comprises camera; And for example, described image acquisition unit comprises mobile terminal.
Such as, described coding module arranges square coding unit and/or rectangle coding unit; Square coding unit is used for storage information being carried out coding generation and has multiple square code element with described number of colours, and rectangle coding unit is used for storage information being carried out encoding generating to have multiple rectangle code element with described number of colours.And for example, described coding module arranges structural unit, and it is for pre-seting the size of described information code element, such as, the minimum widith of the square code element of the information code element of many GTGs invisible two-dimensional codes is realized according to predetermined resolution, or the minimum widith of rectangle code element and minimum length.And for example, described coding module arranges pre-sampling unit, for obtaining described display image, sampling, obtain sampled images according to described number of colours to described display image.And for example, described pre-sampling unit is for obtaining coloured image, according to described number of colours, described display image is sampled, obtain colored sampled images, describedly module is set also for arranging the form of each information code element, using the structure in its form, color and GTG as the storage content of described information code element; Described coding module is used for encoding to described data to be encoded, using described sampled images as color matching object, generate some information code elements with described number of colours, such as using described sampled images as color matching object, by GTG colouring, such as, match colors after generation has some information code elements of described GTG quantity, generate some information code elements with described number of colours, export the identified region of described data to be encoded.And for example, described coding module arranges adjustment unit, for adjusting described display image, such as, to according to described identified region, described display image being carried out to cutting and/or reducing.
And for example, also comprise the judge module be connected with described coding module, for judging that the capacity that the content of described data to be encoded is greater than Quick Response Code then generates multiple many GTGs invisible two-dimensional codes.Like this, be conducive to generating multiple continuous print many GTGs invisible two-dimensional codes, strengthen its memory space.
And for example, described generating apparatus comprises memory module, for recording number of colours and/or the GTG quantity of many GTGs invisible two-dimensional codes, generate color code element according to number of colours and/or GTG quantity at least one described positioning area coding, it comprises basic colour coding unit and/or GTG code element; And for example, described generating apparatus comprises correction verification module, for recording the linking status of described storage information, generates link code element according to linking status at least one described positioning area coding.And for example, described memory module setting data storage unit, for storing described data to be encoded, wherein, described data to be encoded comprise chained address, display image and/or storage information; And for example, described data to be encoded comprise display image, and chained address or store information.
All the other functional modules by that analogy, repeat no more.
Provide the embodiment of a practical application below again, using the individual photograph of a certain individual as described display image, above-mentioned generation method is adopted to obtain colored 2 dimension codes, it is very similar to this individual photograph, and there are more discernible storage information, such as, adopt mobile telephone scanning, according to the corresponding recognition rule of above-mentioned generation method, storage information can be again decoded from this colour 2 dimension code, the information such as the patent that the individual brief introduction of such as this people, contact method, the article delivered, application obtain, sight is high, and application is wide.
Further, embodiments of the invention also comprise, each technical characteristic of the various embodiments described above, the generation method of the many GTGs be mutually combined to form invisible two-dimensional codes and generating apparatus.
It should be noted that, above-mentioned each technical characteristic continues combination mutually, is formed not in above-named various embodiment, is all considered as the scope that instructions of the present invention is recorded; Further, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.

Claims (10)

1. a generation method for the invisible two-dimensional codes of GTG more than, is characterized in that, comprise the following steps,
Setting steps: the identified region for many GTGs invisible two-dimensional codes arranges GTG quantity;
Obtaining step: obtain data to be encoded;
Coding step: encode to described data to be encoded, generates multiple information code element with some grades of GTGs according to described GTG quantity, exports the identified region comprising each described information code element.
2. generate method according to claim 1, it is characterized in that, before described setting steps, also comprise step: determine identified region.
3. generate method according to claim 2, it is characterized in that, describedly determine identified region, comprise the positioning area and block of information of determining described identified region.
4. generate method according to claim 3, it is characterized in that, described positioning area is set by row.
5. generate method according to claim 3, it is characterized in that, information code element described in each arranges positioning area described in.
6. generate method according to claim 3, it is characterized in that, some described information code elements share positioning area described in.
7. generate method according to claim 3, it is characterized in that, whole described information code element shares positioning area described in.
8., according to the arbitrary described generation method of claim 1 to 7, it is characterized in that, in described setting steps, the shape of described information code element is also set.
9. generate method according to claim 8, it is characterized in that, described information code element is rectangle.
10. generate method according to claim 9, it is characterized in that, described information code element is square.
CN201510323674.XA 2015-06-12 2015-06-12 The generation method of more grayscale invisible two-dimensional codes Expired - Fee Related CN104850883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510323674.XA CN104850883B (en) 2015-06-12 2015-06-12 The generation method of more grayscale invisible two-dimensional codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510323674.XA CN104850883B (en) 2015-06-12 2015-06-12 The generation method of more grayscale invisible two-dimensional codes

Publications (2)

Publication Number Publication Date
CN104850883A true CN104850883A (en) 2015-08-19
CN104850883B CN104850883B (en) 2018-06-26

Family

ID=53850515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510323674.XA Expired - Fee Related CN104850883B (en) 2015-06-12 2015-06-12 The generation method of more grayscale invisible two-dimensional codes

Country Status (1)

Country Link
CN (1) CN104850883B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111598198A (en) * 2020-05-18 2020-08-28 南京工程学院 Image two-dimensional code generation method and reading method based on LSB information hiding

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299246A (en) * 2008-06-24 2008-11-05 深圳矽感科技有限公司 Two-dimension code with false proof function
CN102147873A (en) * 2011-03-21 2011-08-10 上海彩码信息科技有限公司 Method and system for generating color code as well as method and system for analyzing color code
CN102243704A (en) * 2011-07-21 2011-11-16 我查查信息技术(上海)有限公司 Positioning system for two-dimension bar code and two-dimension bar code identification method and equipment
CN103198345A (en) * 2013-04-01 2013-07-10 深圳市银之杰科技股份有限公司 Method of preventing copy of two-dimension code and two-dimension printer
CN104463294A (en) * 2013-09-23 2015-03-25 北大方正集团有限公司 Generation method and system for Colormobi, analysis method and system for Colormobi and label
CN104680218A (en) * 2015-02-12 2015-06-03 航天信息股份有限公司 Multi-space two-dimensional code, and generation method and decoding method of multi-space two-dimensional code

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299246A (en) * 2008-06-24 2008-11-05 深圳矽感科技有限公司 Two-dimension code with false proof function
CN102147873A (en) * 2011-03-21 2011-08-10 上海彩码信息科技有限公司 Method and system for generating color code as well as method and system for analyzing color code
CN102243704A (en) * 2011-07-21 2011-11-16 我查查信息技术(上海)有限公司 Positioning system for two-dimension bar code and two-dimension bar code identification method and equipment
CN103198345A (en) * 2013-04-01 2013-07-10 深圳市银之杰科技股份有限公司 Method of preventing copy of two-dimension code and two-dimension printer
CN104463294A (en) * 2013-09-23 2015-03-25 北大方正集团有限公司 Generation method and system for Colormobi, analysis method and system for Colormobi and label
CN104680218A (en) * 2015-02-12 2015-06-03 航天信息股份有限公司 Multi-space two-dimensional code, and generation method and decoding method of multi-space two-dimensional code

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111598198A (en) * 2020-05-18 2020-08-28 南京工程学院 Image two-dimensional code generation method and reading method based on LSB information hiding
CN111598198B (en) * 2020-05-18 2024-04-26 南京工程学院 Image two-dimensional code generation method and reading method based on LSB information hiding

Also Published As

Publication number Publication date
CN104850883B (en) 2018-06-26

Similar Documents

Publication Publication Date Title
CN104794518B (en) The generation method of color 2 D code
CN104778440B (en) The recognition methods of color 2 D code and identification device
CN104134085B (en) Particular bar and forming method thereof
CN103390183B (en) A kind of generation method of the anti-counterfeiting codes suitable for handset identity
CN104715275A (en) Generating method and generating device for grey two-dimensional code
CN105740931B (en) Multidimensional security code label, its production method and recognition methods
CN103310252B (en) CCQR (Colorful Coded Quick Response) anti-counterfeiting mark
CN104933386B (en) The recognition methods of many GTG invisible two-dimensional codes
CN103310344B (en) CCQR (Colorful Coded Quick Response) anti-counterfeiting method
CN105160378B (en) A kind of color invisible image code generating method
CN104715222A (en) Method and device for identifying gray two-dimension code
CN104951828B (en) The generation method of colored high-order latent image code
CN110276428A (en) A kind of four-dimension code encoding and decoding method
CN103386829B (en) A kind of endowed method that anti-counterfeiting codes are carried out using laser
CN104866886B (en) The generating means of colored high-order latent image code
CN104850817B (en) The identification device of colored high-order latent image code
CN105095938B (en) A kind of generation method of the multistage latent image code of colour
CN104850882B (en) The generating means of more GTG invisible two-dimensional codes
CN104850883A (en) Method for generating multi-gray-scale invisible two-dimensional code
CN114298259A (en) Anti-counterfeiting tracing method based on two-dimensional code and bar code
CN103177654A (en) Manufacturing method of optical anti-fake membrane, optical anti-fake membrane label, optical anti-fake label and optical anti-fake system
CN103390184A (en) Image information embedding method suitable for anti-fake codes identified through mobile phone
CN103679763A (en) Modulation code and method and application thereof
CN104866801B (en) The identification device of more GTG invisible two-dimensional codes
CN104866802B (en) The recognition methods of colored high-order latent image code

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170725

Address after: 361005 C building, Innovation Zone, software park, torch hi tech Zone, Fujian, Xiamen province 4F-C1

Applicant after: Silicon Graphics (Xiamen) Technology Co.,Ltd.

Address before: Xiamen torch hi tech Zone Innovation Building Software Park A District Siming District of Xiamen city in Fujian province 361006 202-2 unit

Applicant before: XIZHAO PHOTOELECTRIC (XIAMEN) CO.,LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180626

CF01 Termination of patent right due to non-payment of annual fee