CN104715275A - Generating method and generating device for grey two-dimensional code - Google Patents

Generating method and generating device for grey two-dimensional code Download PDF

Info

Publication number
CN104715275A
CN104715275A CN201510153437.3A CN201510153437A CN104715275A CN 104715275 A CN104715275 A CN 104715275A CN 201510153437 A CN201510153437 A CN 201510153437A CN 104715275 A CN104715275 A CN 104715275A
Authority
CN
China
Prior art keywords
code
information
quick response
response code
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
CN201510153437.3A
Other languages
Chinese (zh)
Other versions
CN104715275B (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 CN201510153437.3A priority Critical patent/CN104715275B/en
Publication of CN104715275A publication Critical patent/CN104715275A/en
Application granted granted Critical
Publication of CN104715275B publication Critical patent/CN104715275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The invention discloses a generating method and a generating device for a grey two-dimensional code, wherein the generating method comprises the following steps: pre-setting a recognition zone of a two-dimensional code, wherein the recognition zone comprises a positioning zone and an information zone; pre-setting grey-scale number of the two-dimensional codes; a coding step of coding the stored information to generate a plurality of information code elements with a plurality of gray scales; and outputting the recognition zone of the stored information. According to the scheme, the grey two-dimensional code is generated and existing scanning hardware can be effectively utilized to obtain more code-loaded information, so that the information storage content is high, defects of a colorful two-dimensional code are avoided, realization in presswork is facilitated, precise recognition is facilitated, the grey two-dimensional code can be used as a character carrier, and the market application value is very high.

Description

A kind of generation method of grey Quick Response Code and generating apparatus
Technical field
The present invention relates to the improvement of Quick Response Code, in particular, a kind of generation method of grey Quick Response Code and generating apparatus.
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.The U.S., Germany, 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, QRCode, Data Matrix, Maxi Code, Code 49, 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/T 11350-2006), thus greatly facilitate the research and development that China has the Quick Response Code of technology with proprietary intellectual property rights.
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.
Color 2 D code technology occurs, but it has surmounted the camera technique of existing most barcode scanning hardware, and, complicacy due to colour is unfavorable for realizing in printed matter, such as street subsides, newspaper etc., even short run printing or printing, also ubiquity has aberration problem, is unfavorable for accurate identification.
Summary of the invention
The invention provides a kind of generation method and generating apparatus of new grey Quick Response Code.
A technical scheme of the present invention is as follows: a kind of generation method of grey Quick Response Code, and it comprises the following steps: the identified region pre-seting Quick Response Code, and described identified region comprises positioning area, block of information; Pre-set the GTG quantity of Quick Response Code; Coding step, carries out to storage information the some information code elements generating and have multiple GTG of encoding; Export the identified region of described storage information.
One of them technical scheme is, at least one described positioning area arranges storage code element, for recording the GTG quantity of Quick Response Code; 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 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.
One of them technical scheme is, at least one described positioning area arranges verification code element, for recording the linking status of described information; In described coding step, also generate link code element according to linking status at least one described positioning area coding.
One of them technical scheme is, in described coding step, according to described GTG quantity, described storage information is generated in described block of information some information code elements with multiple GTG.
One of them technical scheme is, also pre-sets the size of described information code element.
One of them technical scheme is, selects GTG quantity during coding.
One of them technical scheme is, also pre-sets each information code element that described GTG quantity is corresponding.
One of them technical scheme is, before described coding step, also comprises step: judge whether the content of described storage information is greater than the capacity of Quick Response Code, is, generates multiple Quick Response Code.
One of them technical scheme is, described block of information comprises some square code elements.
One of them technical scheme is, described block of information comprises some rectangle code elements.
Another technical scheme of the present invention is as follows: a kind of generating apparatus of grey Quick Response Code, what it comprised identified region for pre-seting Quick Response Code and GTG quantity arranges module, for carrying out storage information encoding generating, there is the coding module of some information code elements of multiple GTG, and for the output module of the identified region that exports described storage information.
One of them technical scheme is, also comprises the judge module be connected with described coding module, for judging that the capacity that the content of described storage information is greater than Quick Response Code then generates multiple Quick Response Code.
Adopt such scheme, the present invention is by generating grey Quick Response Code, effectively can utilize existing barcode scanning hardware, obtain more code information carrying breath, information storage is large, avoids the drawback of color 2 D code, be beneficial to and realize in printed matter, be beneficial to accurate identification, can use as carrier of characters, there is very high market using value.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that the present invention generates an embodiment of method;
Fig. 2 is the schematic flow sheet of an embodiment of recognition methods of the present invention.
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 grey Quick Response Code, grey Quick Response Code and GTG Quick Response Code, described generation method comprises the following steps: the identified region pre-seting Quick Response Code, and described identified region comprises positioning area, block of information; Pre-set the GTG quantity of Quick Response Code; Coding step, carries out to storage information the some information code elements generating and have multiple GTG of encoding; Export the identified region of described storage information; Such as, adopt gray scale mode to export the identified region of described storage information, and for example, adopt gray scale mode to export the identified region of described storage information according to GTG quantity.That is, coding step comprises following content: carry out to storage information the some information code elements generating and have multiple GTG of encoding.Such as, the identified region of predefine Quick Response Code, 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 Quick Response Code is set.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 GTG quantity of Quick Response Code is pre-seted according to target recognition capability, 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.Such as, be applied to the environment of fuzzy prints, consider that printing effect is poor, now can select 8 grades of GTGs, corresponding, the storage information content wherein comprised is less.And for example, for network display or the environment of electron-propagation, now can select 256 grades of GTGs or more senior GTG, like this, can realize sweeping gently, automatically obtain newspaper and periodical information or novel content, or resume, or a cartoon etc., and its condition for identification and use restriction are far below color 2 D code technology.
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 rank grey 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,4 rank grey 1 tie up code information storage: 48 10bit information storage.
Article 10, n rank grey 1 ties up code information storage: 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);
X bar n rank grey 2 ties up code information storage: n (2X); Such as, described block of information comprises some square code elements; Such as, adopt square 2 dimension codes, then X bar n rank grey 2 ties up code information storage 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+, X+Y bar n rank grey 2 ties up code information storage altogether is anyhow n (X+Y).
One 10 2 dimension code information storages for another example:
Article 10, black and white 2 ties up code information storage: 2 20information storage.
Article 10,4 rank grey 2 tie up code information storage: 4 20information storage.
Article 10,8 rank grey 2 tie up code information storage: 8 20information storage.
Article 10, n rank grey 2 ties up code information storage: n 20information storage.
As can be seen here, grey 2 D code information stores and increases considerably, and compare with color 2 D code, grey Quick Response Code adapts to the camera technique of existing most barcode scanning hardware, and is easy to realize in printed matter, is conducive to accurate identification.So large storage information, 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 grey Quick Response Code can be large enough to storage one whole book, photo album, one section of video recording or a film.As can be seen here, the application of grey Quick Response Code is simple, readable strong, adapts to wide.
For the ease of the greyscale level of clear and definite grey Quick Response Code, easy to use and identification, one of them embodiment is, at least one described positioning area arranges storage code element, for recording the GTG quantity of Quick Response Code; 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, 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.Such as, when the plan of a certain grey Quick Response Code 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 grey Quick Response Code, 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 in positioning area coding formation base code element, it records described GTG quantity, as described storage code element.Such as, mark in a positioning area coding employing 9 basic code elements, directly record GTG quantity, such as 256 grades are then recorded numeral 256.
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 Quick Response Code, 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 Quick Response Code, 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 QRCode code to arrange three positioning areas, wherein two arrange link code element, and the 3rd arranges storage 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, and receives outside expense state may occur for record chain, such as financial institution comprises bank, lender, Alipay etc., there is the content of financial institution's address link, when generating Quick Response Code, marking 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, one of them positioning area comprises link code element and GTG code element in the lump; And for example, other each positioning area does not comprise link code element or GTG code element, and that is, link code element and GTG code element are 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, and one of them embodiment is, in described coding step, according to described GTG quantity, described storage information is generated in described block of information some information code elements with multiple GTG.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 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.
For the ease of dilatation, one of them embodiment is, also pre-sets the size of described information code element.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 adjustment can the capacity of look Quick Response Code, and such as, storage one whole high-definition movie etc.
For the ease of adjusting capacity flexibly, one of them embodiment also comprises step: select GTG quantity during coding.Such as, select GTG quantity to be 16 grades, 32 grades, 64 grades or 256 grades etc. when encoding.Preferably, acquiescence GTG quantity being set during coding, if do not selected, automatically choosing GTG quantity; And for example, how many according to the content of the information of storage during coding, automatically select GTG quantity or automatically recommend acquiescence GTG quantity.Such as one section of short essay, can adopt the grey Quick Response Code of 8 grades, 16 grades or 16 grades GTGs to realize, the and for example paper of a medium length, can the grey Quick Response Code of available 32 grades, 64 grades GTGs or 128 grades of GTGs realize, 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 that described GTG quantity is corresponding.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, are arranged according to actual needs.And for example, in use, select or adjust each information code element corresponding to described GTG quantity.
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 capacity of Quick Response Code, is, generates multiple Quick Response Code.Like this, can with two, three or more Quick Response Codes hold a treatise or overlength section word, such as Tolstoy complete or collected works 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.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.
And for example, adopt above-mentioned arbitrary generation method, another embodiment of the present invention is, a kind of generating apparatus of grey Quick Response Code, and it is for realizing above-mentioned arbitrary generation method; Such as, described generating apparatus comprises the functional module for realizing above-mentioned arbitrary generation method.
Such as, a kind of generating apparatus of grey Quick Response Code, what it comprised identified region for pre-seting Quick Response Code and GTG quantity arranges module, for carrying out storage information encoding generating, there is the coding module of some information code elements of multiple GTG, and for the output module of the identified region that exports described storage information.Such as, described generating apparatus comprises and arranges module, coding module and output module; Wherein, the described module that arranges is for pre-seting the identified region of Quick Response Code, and also for pre-seting the GTG quantity of Quick Response Code, wherein, described identified region comprises positioning area and block of information; Described coding module is used for carrying out to storage information the some information code elements generating and have multiple GTG of encoding; Described output module is for exporting the identified region of described storage information; Such as, described coding module arranges square coding unit and/or rectangle coding unit; Square coding unit is used for storage information to carry out the square code element generating and have multiple GTG of encoding, and rectangle coding unit is used for storage information to carry out the rectangle code element generating and have multiple GTG of encoding; And for example, described coding module arranges selection unit, for selecting GTG quantity when encoding, such as, directly selects 16 rank or 32 rank etc.; And for example, described coding module arranges structural unit, and it is for pre-seting the size of described information code element, such as, realizes the minimum widith of the square code element of the information code element of grey Quick Response Code according to predetermined resolution, or the minimum widith of rectangle code element and minimum length.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, described generating apparatus also comprises the judge module be connected with described coding module, for judging that the capacity that the content of described storage information is greater than Quick Response Code then generates multiple Quick Response Code.And for example, described generating apparatus comprises memory module, for recording the GTG quantity of Quick Response Code, generates GTG code element according to GTG quantity at least one described positioning area coding; 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.All the other functional modules by that analogy, repeat no more.
Such as, an example is, adopts mobile terminal, such as IPhone or other mobile terminal, as described generating apparatus, carry out the generation of grey Quick Response Code, such as, adopt IPhone to pre-set the identified region of Quick Response Code, described identified region comprises positioning area, block of information; Pre-set the GTG quantity of Quick Response Code; Afterwards the some information code elements generating and have multiple GTG of encoding are carried out to storage information; Then the identified region of described storage information is exported.Preferably, the grey Quick Response Code obtained also is shared.
As shown in Figure 2, another embodiment of the present invention is as follows: a kind of recognition methods of grey Quick Response Code, and it comprises the following steps: obtain Quick Response Code; Denoising, gray processing, obtains positioning area; Position according to positioning area; Read the information code element respectively with multiple GTG from block of information, after decoding, export storage information.Recognition methods of the present invention is similar to the recognition methods of existing Quick Response Code, but there is huge difference with it, in the present invention and each embodiment thereof, gray scale is the important element of information code element, not by the object ignored, and adopt gray processing to replace the binaryzation of existing Quick Response Code, acquisition be not the black white image of binaryzation but the gray level image of gray processing.Such as carry out denoising according to the pixel or sharpness that obtain Quick Response Code; And for example, mean value method or method of weighted mean is adopted to carry out gray processing; Such as, the three-component brightness in f (i, j)=(R (i, j)+G (i, j)+B (i, j))/3 pairs of coloured images is adopted to carry out gray processing; And for example, f (i, j)=0.30R (i, j)+0.59G (i, j)+0.11B (i, j) is adopted) gray processing is carried out to the three-component brightness in coloured image.Preferably, described in the above-mentioned any embodiment of connected applications, generating method, identifying generating the grey Quick Response Code obtained.
For the ease of obtaining the information of a large amount of content, one of them embodiment is, decodes to block of information according to GTG quantity, such as, exports storage information after decoding according to the GTG quantity of information code element to block of information.And for example, according to 16 rank, 32 rank or 64 rank, storage information after being decoded in block of information, is exported.One of them embodiment is, also decodes to block of information according to the size of information code element, and such as, the size of information code element is 1mm*1mm, 1mm*1.5mm, 1mm*2mm or 1.6mm*1.6mm etc.One of them embodiment is, each information code element corresponding according to described GTG quantity, decodes to block of information.Like this, by utilizing existing barcode scanning hardware, obtain more code information carrying breath, information storage is large, avoids the drawback of color 2 D code, is beneficial to and realizes in printed matter, be beneficial to accurate identification, can use as carrier of characters; Also be applicable to the technical renovation of barcode scanning hardware, there is sufficient development potentiality.
One of them embodiment is, when positioning according to positioning area, also obtains GTG quantity information from positioning area.Such as, in generation method, generate GTG code element according to GTG quantity at one or more positioning area coding; In recognition methods, when positioning according to positioning area, also from positioning area, obtain GTG quantity information according to GTG code element.Such as, the basic Quick Response Code of black and white two look is set, i.e. the Quick Response Code coded system of prior art at a positioning area, records the GTG quantity of this grey Quick Response Code.Like this, GTG quantity information can be obtained accurately, fast, be conducive to accurately decoding to information code element.
One of them embodiment is, when positioning according to positioning area, also obtains related information from positioning area, judges whether to there is other association Quick Response Code.Such as, in generation method, at least one described positioning area arranges undertaking code element, belongs to undertaking state for recording this Quick Response Code, and it has the Quick Response Code before and/or afterwards of associated; In recognition methods, when positioning according to positioning area, also from positioning area, obtain related information according to undertaking code element, judge whether to there is other association Quick Response Code.Preferably, when judging to there is other association Quick Response Code, the association link of other association Quick Response Code is also obtained by described related information.Such as, when judging to there is other association Quick Response Code, also according to described undertaking code element and/or undertaking instruction, before understanding this Quick Response Code and/or afterwards, other Quick Response Code be associated is also had.And for example, the storage information of other association Quick Response Code is also obtained from described association link.Such as, adopt the remote linkage of described undertaking code element as described association link, obtain Quick Response Code associated with it, so that user directly obtains related content, strengthen Consumer's Experience.
Such as, for the ease of using and identifying, according to the storage code element at least one described positioning area, obtain the GTG quantity of Quick Response Code; And for example, according to the basic code element at least one described positioning area, obtain GTG type, obtained the GTG quantity of Quick Response Code by GTG type correspondence; And for example, according to the basic code element at least one described positioning area, obtain the GTG quantity of Quick Response Code.
For the ease of avoiding malice Quick Response Code infringement user benefit, such as, also comprise step: according to the verification code element at least one described positioning area, judge whether to there is external linkage.And for example, according to the link code element at least one described positioning area, judge whether to access external linkage, or wait for selection instruction, determine whether to access external linkage.And for example, according to the link code element at least one described positioning area, the paying obtained in linking status is reminded, and judges whether to access external linkage, or waits for selection instruction, determines whether to access external linkage.
For the ease of dilatation, such as, also step is comprised: also according to the GTG quantity that the size selective decompression of information code element relates to.For the ease of adapting to various long monumental work, such as, also comprise step: identify continuous multiple Quick Response Code and splice its content.And for example, continuous multiple Quick Response Code is identified and according to its content of its sequential concatenation.Preferably, according to the continuous multiple Quick Response Code of undertaking state recognition; And for example, according to the undertaking code element in one or more positioning area, obtain undertaking instruction wherein, before guiding user understands this Quick Response Code and/or afterwards, also have other Quick Response Code be associated; And for example, according to the undertaking code element in one or more positioning area, obtain remote linkage wherein, obtain Quick Response Code associated with it, so that user directly obtains related content, strengthen Consumer's Experience.Preferably, after obtaining remote linkage wherein, wait for selection instruction, then obtain Quick Response Code associated with it; And for example, when obtaining Quick Response Code associated with it, judging whether to there is confirmation instruction, is directly obtain the content of the Quick Response Code be associated.
And for example, adopt above-mentioned arbitrary recognition methods, another embodiment of the present invention is, a kind of recognition device of grey Quick Response Code, and it is for realizing above-mentioned arbitrary recognition methods; Or a kind of recognition device of grey Quick Response Code, it adopts above-mentioned arbitrary recognition methods to realize.Such as, described recognition device comprises the functional module for realizing above-mentioned arbitrary recognition methods.
Such as, a kind of recognition device of grey Quick Response Code, it comprises the acquisition module for obtaining Quick Response Code, for the processing module of denoising, gray processing and acquisition positioning area, for the locating module positioned according to positioning area, and for reading the information code element the decoder module of decoding output storage information respectively with multiple GTG from block of information.Such as, described recognition device comprises acquisition module, processing module, locating module and processing module; Described acquisition module is for obtaining Quick Response Code; Described processing module is used for denoising, gray processing, and obtains positioning area; Described locating module is used for positioning according to positioning area, such as, and the particular location in comformed information district; Described decoder module is used for reading the information code element respectively with multiple GTG from block of information, exports storage information after decoding.
Such as, described decoder module arranges Gray Cell, for decoding to block of information according to GTG quantity; Such as, Gray Cell exports different decoding process for different GTG quantity, is decoded according to GTG quantity by described decoder module to block of information.And for example, described decoder module allocation scale unit, decodes to block of information for the size according to information code element; Such as, scale unit exports different decoding process for the information code element of different size, is decoded to block of information by the size of described decoder module according to information code element.
And for example, described locating module arranges GTG number obtainment unit, during for positioning according to positioning area, also obtains GTG quantity information from positioning area.As mentioned above, by arranging GTG quantity information at positioning area, GTG number obtainment unit obtains GTG quantity information from positioning area.
And for example, described recognition device also comprises for obtaining related information from positioning area and judging whether to there is the relating module that other associates Quick Response Code.Such as, described relating module arranges the related information acquiring unit be connected with described locating module, during for positioning according to positioning area, also obtains related information from positioning area, judges whether to there is other association Quick Response Code.And for example, described relating module also arranges association link acquiring unit, and it connects described related information acquiring unit, during for judging to there is other association Quick Response Code, is also obtained the association link of other association Quick Response Code by described related information.And for example, described acquisition module also arranges associated data acquiring unit, and it connects described association link acquiring unit, for obtaining the storage information of other association Quick Response Code from described association link.
And for example, also comprise correction verification module, for according to the verification code element at least one described positioning area, judge whether to there is external linkage.And for example, also comprise judge module, for according to the link code element at least one described positioning area, judge whether to access external linkage, or wait for selection instruction, determine whether to access external linkage.And for example, also comprise paying prompting module, for according to the link code element at least one described positioning area, obtain the paying prompting in linking status, judge whether to access external linkage, or wait for selection instruction, determine whether to access external linkage.And for example, also comprise concatenation module, for identifying continuous multiple Quick Response Code and splicing its content etc.All the other functional modules by that analogy, repeat no more.
Such as, an example is, adopt mobile terminal, such as IPhone or other mobile terminal, as described recognition device, carry out the identification of grey Quick Response Code, such as, adopting the camera of IPhone as the acquisition module for obtaining Quick Response Code, adopting the processor of IPhone as the processing module for denoising, gray processing and acquisition positioning area, then position according to positioning area, read the information code element respectively with multiple GTG from block of information and decoding exports storage information can realize.
Further embodiment of this invention is, a kind of implementation method of grey Quick Response Code, and it comprises generation method described in above-mentioned any embodiment and described recognition methods.Further embodiment of this invention is, a kind of grey 2 D code system, and it comprises generating apparatus described in above-mentioned any embodiment and described recognition device.
Further, embodiments of the invention also comprise, each technical characteristic of the various embodiments described above, the generation method of the grey Quick Response Code be mutually combined to form and generating apparatus, and the implementation method of grey Quick Response Code, grey 2 D code system.
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 grey Quick Response Code, is characterized in that, comprise the following steps:
Pre-set the identified region of Quick Response Code, described identified region comprises positioning area, block of information;
Pre-set the GTG quantity of Quick Response Code;
Coding step, carries out to storage information the some information code elements generating and have multiple GTG of encoding;
Export the identified region of described storage information.
2. generate method according to claim 1, it is characterized in that, in described coding step, according to described GTG quantity, described storage information is generated in described block of information some information code elements with multiple GTG.
3. generate method according to claim 2, it is characterized in that, also pre-set the size of described information code element.
4. generate method according to claim 2, it is characterized in that, also comprise step: during coding, select GTG quantity.
5. generate method according to claim 4, it is characterized in that, also pre-set each information code element that described GTG quantity is corresponding.
6. generate method according to claim 1, it is characterized in that, before described coding step, also comprise step: judge whether the content of described storage information is greater than the capacity of Quick Response Code, is, generates multiple Quick Response Code.
7. generate method according to claim 1, it is characterized in that, described block of information comprises some square code elements.
8. generate method according to claim 1, it is characterized in that, described block of information comprises some rectangle code elements.
9. the generating apparatus of a grey Quick Response Code, it is characterized in that, what comprise identified region for pre-seting Quick Response Code and GTG quantity arranges module, for carrying out storage information encoding generating, there is the coding module of some information code elements of multiple GTG, and for the output module of the identified region that exports described storage information.
10. generating apparatus according to claim 9, is characterized in that, also comprise the judge module be connected with described coding module, for judging that the capacity that the content of described storage information is greater than Quick Response Code then generates multiple Quick Response Code.
CN201510153437.3A 2015-04-02 2015-04-02 A kind of generation method and generating means of grey Quick Response Code Active CN104715275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510153437.3A CN104715275B (en) 2015-04-02 2015-04-02 A kind of generation method and generating means of grey Quick Response Code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510153437.3A CN104715275B (en) 2015-04-02 2015-04-02 A kind of generation method and generating means of grey Quick Response Code

Publications (2)

Publication Number Publication Date
CN104715275A true CN104715275A (en) 2015-06-17
CN104715275B CN104715275B (en) 2018-04-24

Family

ID=53414583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510153437.3A Active CN104715275B (en) 2015-04-02 2015-04-02 A kind of generation method and generating means of grey Quick Response Code

Country Status (1)

Country Link
CN (1) CN104715275B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550730A (en) * 2016-01-28 2016-05-04 北京兆信信息技术股份有限公司 Safe two-dimensional code manufacture method and decoding method, and safe two-dimensional code identifier
CN106446888A (en) * 2015-08-04 2017-02-22 宁波舜宇光电信息有限公司 Camera module multi-identifier identification method and camera module multi-identifier identification equipment
CN106626845A (en) * 2016-09-20 2017-05-10 深圳市裕同包装科技股份有限公司 Grayscale dimensional barcode printing method
CN107644245A (en) * 2017-09-21 2018-01-30 北京卓越盛名科技有限公司 Three value two-dimensional code generation methods, coding/decoding method and device
CN108959999A (en) * 2018-07-16 2018-12-07 张启 A kind of multidimensional code and its recognition methods
CN109255415A (en) * 2018-08-16 2019-01-22 章健 Four-dimensional code and its recognition methods, identification device and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070278303A1 (en) * 2006-05-31 2007-12-06 Paul Cattrone Two-dimensional color barcode and method of generating and decoding the same
CN101093553A (en) * 2007-07-19 2007-12-26 成都博古天博科技有限公司 2D code system, and identification method
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
CN103198345A (en) * 2013-04-01 2013-07-10 深圳市银之杰科技股份有限公司 Method of preventing copy of two-dimension code and two-dimension printer
CN104239927A (en) * 2014-08-01 2014-12-24 周奇 Colored two-dimension code generating method and decoding method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070278303A1 (en) * 2006-05-31 2007-12-06 Paul Cattrone Two-dimensional color barcode and method of generating and decoding the same
CN101093553A (en) * 2007-07-19 2007-12-26 成都博古天博科技有限公司 2D code system, and identification method
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
CN103198345A (en) * 2013-04-01 2013-07-10 深圳市银之杰科技股份有限公司 Method of preventing copy of two-dimension code and two-dimension printer
CN104239927A (en) * 2014-08-01 2014-12-24 周奇 Colored two-dimension code generating method and decoding method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446888A (en) * 2015-08-04 2017-02-22 宁波舜宇光电信息有限公司 Camera module multi-identifier identification method and camera module multi-identifier identification equipment
CN106446888B (en) * 2015-08-04 2020-12-18 宁波舜宇光电信息有限公司 Multi-identifier identification method and equipment for camera module
CN105550730A (en) * 2016-01-28 2016-05-04 北京兆信信息技术股份有限公司 Safe two-dimensional code manufacture method and decoding method, and safe two-dimensional code identifier
CN106626845A (en) * 2016-09-20 2017-05-10 深圳市裕同包装科技股份有限公司 Grayscale dimensional barcode printing method
CN107644245A (en) * 2017-09-21 2018-01-30 北京卓越盛名科技有限公司 Three value two-dimensional code generation methods, coding/decoding method and device
CN108959999A (en) * 2018-07-16 2018-12-07 张启 A kind of multidimensional code and its recognition methods
CN109255415A (en) * 2018-08-16 2019-01-22 章健 Four-dimensional code and its recognition methods, identification device and server

Also Published As

Publication number Publication date
CN104715275B (en) 2018-04-24

Similar Documents

Publication Publication Date Title
CN104715275A (en) Generating method and generating device for grey two-dimensional code
CN104794518B (en) The generation method of color 2 D code
CN104778440A (en) Color two-dimension code recognition method and recognition device
CN104715222A (en) Method and device for identifying gray two-dimension code
CN104134085B (en) Particular bar and forming method thereof
JP3336311B2 (en) Machine-recognizable code and encoding / decoding method thereof
CN101645081A (en) Method and system for tracing farm product information through two-dimension code
CN104281830A (en) Two-dimension code identification method and device
CN102129585A (en) Method and system for transmitting information, device for displaying bar code and device for reading bar code
CN103530669A (en) Data information two-dimensional code encoding method
CN104933386B (en) The recognition methods of many GTG invisible two-dimensional codes
CN105160378B (en) A kind of color invisible image code generating method
CN110276428A (en) A kind of four-dimension code encoding and decoding method
CN102663961B (en) Fabrication method for anti-counterfeiting film, tag of anti-counterfeiting film, anti-counterfeiting tag and anti-counterfeiting system
CN110097488A (en) The generation of stealthy digital watermarking and extracting method and device
CN104951828A (en) Generation method for color high-order invisible image code
CN201518129U (en) Two-dimensional code information tracing system for agricultural product
CN101503037B (en) Processing method for embedding information on paper medium file
CN103177654A (en) Manufacturing method of optical anti-fake membrane, optical anti-fake membrane label, optical anti-fake label and optical anti-fake system
CN107742089A (en) A kind of method that Quick Response Code automatic identification is realized using electrical form
CN104850817B (en) The identification device of colored high-order latent image code
Ajagekar et al. QR Codes And Useful Apps For Academic Libraries
CN105095938A (en) Method for generating color multi-order invisible image code
CN101840523A (en) Iconic code-coding method and printing method, reading method and reading device thereof
CN104866886A (en) Generation device of colorful high-order invisible image code

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20171204

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: Silicon photoelectric (Xiamen) Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant