CN108154062A - The coding/decoding method of image in 2 D code, decoding apparatus, generation method, generating means - Google Patents

The coding/decoding method of image in 2 D code, decoding apparatus, generation method, generating means Download PDF

Info

Publication number
CN108154062A
CN108154062A CN201711434429.1A CN201711434429A CN108154062A CN 108154062 A CN108154062 A CN 108154062A CN 201711434429 A CN201711434429 A CN 201711434429A CN 108154062 A CN108154062 A CN 108154062A
Authority
CN
China
Prior art keywords
code
image
target data
matching value
coding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711434429.1A
Other languages
Chinese (zh)
Inventor
何纯杭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Truly Opto Electronics Ltd
Original Assignee
Truly Opto Electronics 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 Truly Opto Electronics Ltd filed Critical Truly Opto Electronics Ltd
Priority to CN201711434429.1A priority Critical patent/CN108154062A/en
Publication of CN108154062A publication Critical patent/CN108154062A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details
    • G06K19/06075Constructional details the marking containing means for error correction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/146Methods for optical code recognition the method including quality enhancement steps
    • G06K7/1473Methods for optical code recognition the method including quality enhancement steps error correction

Abstract

The invention discloses a kind of coding/decoding methods of image in 2 D code, before to the target data decoding in image in 2 D code, the biological attribute data in image in 2 D code can first be obtained, then biological attribute data is matched with the standard biological characteristic to prestore, determine matching value, then judge whether matching value is more than preset matching value, only under conditions of matching value is more than preset matching value, it just will continue to be decoded the target data in image in 2 D code, so that image in 2 D code has confidentiality, the security risk of image in 2 D code is effectively reduced.The present invention also provides a kind of decoding apparatus of image in 2 D code, the generation method of image in 2 D code, the generating means of image in 2 D code, effect is corresponding with the coding/decoding method of above-mentioned image in 2 D code.

Description

The coding/decoding method of image in 2 D code, decoding apparatus, generation method, generating means
Technical field
The present invention relates to computer realm, more particularly to a kind of coding/decoding method of image in 2 D code, image in 2 D code The generating means of decoding apparatus, the generation method of image in 2 D code and image in 2 D code.
Background technology
Bar code be it is a kind of by by multiple secret notes and informal voucher of different size according to certain regularly arranged, and then to pass Pass the graphical identifier of some data informations.For example, in general commodity outer packing, can all there be corresponding bar code, this Shape code may includes the information of the producing countries of commodity, manufacturing firm, the title of commodity, date of manufacture etc..Therefore bar code It is widely used in many fields such as commodity circulation, taking care of books, postal management, banking system.
But the data information capacity that bar code is included is limited, and divides when barcode section and be damaged, and can not just read Take the data information that bar code is included, it is seen that bar code has certain drawback.With the development of science and technology, Quick Response Code is met the tendency of And it gives birth to.Quick Response Code is according to certain rules in the chequered with black and white graphic recording data of plane distribution with certain specific geometric figure Symbolic information, by image input device or photoelectric scanning device automatically identifying and reading to realize automatic processing of information.With one-dimensional item Shape code is compared, and Quick Response Code can be in horizontal and vertical two orientation expressing information, therefore the letter of the data comprising more capacity simultaneously Breath.In addition, Quick Response Code when error correcting code can be damaged in image in 2 D code part, carries out data information also comprising error correcting code Error correction restores the primary data information (pdi) that image in 2 D code includes.
Nowadays, Quick Response Code has come into the every aspect of people's life.But Quick Response Code is there is also certain hidden danger, such as First is wanted the Quick Response Code comprising data R being sent to second, very likely steals Quick Response Code by third party third in transmission process, finally Lead to the leakage of data R.As it can be seen that traditional Quick Response Code lacks confidentiality, there are certain security risks.
Invention content
The object of the present invention is to provide a kind of coding/decoding method of image in 2 D code, the decoding apparatus of image in 2 D code, two dimensions The code generation method of image and the generating means of image in 2 D code, do not have confidentiality to solve conventional two-dimensional code image, There are problems that certain security risk.
In order to solve the above technical problems, the present invention provides a kind of coding/decoding method of image in 2 D code, including:
In response to the request being decoded to image in 2 D code that active user sends out, the image in 2 D code is preset Subregion is decoded, and obtains biological attribute data;
The biological attribute data with the standard biological characteristic to prestore is matched, determines matching value;
Judge whether the matching value is more than preset matching value;
If the matching value is more than preset matching value, the target data subregion of the image in 2 D code is decoded, Obtain target data.
Wherein, if being more than preset matching value in the matching value, to the target data point of the image in 2 D code Area is decoded, after obtaining target data, including:
The target data is returned into the active user.
Wherein, judge that the matching value whether more than after preset matching value, further includes described:
If the matching value is not more than the preset matching value, prompt the active user can not be to the Quick Response Code figure As being decoded.
Wherein, it is decoded in the default subregion to image in 2 D code, before obtaining biological attribute data, including:
Alignment code in image in 2 D code determines the default subregion of the image in 2 D code.
Wherein, the biological condition code is iris feature code.
Wherein, it is decoded in the default subregion to image in 2 D code, after obtaining biological attribute data, including:
Using the biological characteristic error correcting code in the image in 2 D code, error correction is carried out to the biological attribute data.
It is corresponding, the present invention also provides a kind of decoding apparatus of image in 2 D code, including:
Default subregion decoder module:For the request being decoded to image in 2 D code sent out in response to active user, The default subregion of the image in 2 D code is decoded, obtains biological attribute data;
Matching module:For the biological attribute data to be matched with the standard biological characteristic to prestore, determine Matching value;
Judgment module:For judging whether the matching value is more than preset matching value;
Target data subregion decoder module:If it is more than preset matching value for the matching value, to the Quick Response Code figure The target data subregion of picture is decoded, and obtains target data.
In addition, the present invention also provides a kind of generation method of image in 2 D code, including:
Obtain the biological attribute data to prestore;
The biological attribute data is encoded, determines corresponding biological characteristic coding;
Target data is encoded, determines corresponding target data coding;
The first geometric figure and the second geometry are determined according to biological characteristic coding and target data coding respectively Figure;
First geometric figure is saved in the default subregion of image in 2 D code, second geometric figure is saved in The target data subregion of the image in 2 D code, to complete the generation of the image in 2 D code.
Wherein, the biological attribute data is encoded described, after determining corresponding biological characteristic coding, packet It includes:
It is encoded according to the biological characteristic, determines corresponding biological characteristic error correcting code.
Finally, the present invention also provides a kind of generating means of image in 2 D code, including:
Biological attribute data acquisition module:For obtaining the biological attribute data to prestore;
Biological attribute data coding module:For being encoded to the biological attribute data, determine that corresponding biology is special Assemble-publish code;
Target data coding module:For being encoded to target data, corresponding target data coding is determined;
Geometric figure determining module:For determining the according to biological characteristic coding and target data coding respectively One geometric figure and the second geometric figure;
Image in 2 D code generation module:For first geometric figure to be saved in the default subregion of image in 2 D code, Second geometric figure is saved in the target data subregion of the image in 2 D code, to complete the life of the image in 2 D code Into.
In summary, the coding/decoding method of image in 2 D code provided by the present invention, can be first before being decoded to target data The biological attribute data in image in 2 D code is obtained, then biological attribute data and the standard biological characteristic to prestore are carried out Matching, determines matching value, then judges whether matching value is more than preset matching value, is only more than preset matching value in matching value Under the conditions of, it just will continue to be decoded the target data in image in 2 D code, so that image in 2 D code has secrecy Property effectively reduces the security risk of image in 2 D code.
In addition, the present invention also provides a kind of decoding apparatus of image in 2 D code, the generation method of image in 2 D code, two dimensions The generating means of code image, effect is corresponding with the coding/decoding method of above-mentioned image in 2 D code, and which is not described herein again.
Description of the drawings
It, below will be to embodiment or existing for the clearer technical solution for illustrating the embodiment of the present invention or the prior art Attached drawing is briefly described needed in technology description, it should be apparent that, the accompanying drawings in the following description is only this hair Some bright embodiments, for those of ordinary skill in the art, without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of realization flow chart of the coding/decoding method embodiment of image in 2 D code provided by the invention;
Fig. 2 is a kind of structure diagram of the decoding apparatus embodiment of image in 2 D code provided by the invention;
Fig. 3 is a kind of realization flow chart of the generation method embodiment of image in 2 D code provided by the invention;
Fig. 4 is a kind of structure diagram of the generating means embodiment of image in 2 D code provided by the invention.
Specific embodiment
The core of the present invention is to provide a kind of coding/decoding method of image in 2 D code, the decoding apparatus of image in 2 D code, two dimension The code generation method of image and the generating means of image in 2 D code so that image in 2 D code has confidentiality, effectively reduces The security risk of image in 2 D code.
In order to which those skilled in the art is made to more fully understand the present invention program, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiment be only part of the embodiment of the present invention rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Lower all other embodiments obtained, shall fall within the protection scope of the present invention.
Start that a kind of image in 2 D code coding/decoding method embodiment provided by the invention is discussed in detail below, referring to Fig. 1, the reality Example is applied to include:
Step S11:In response to the request being decoded to image in 2 D code that active user sends out, to the Quick Response Code figure The default subregion of picture is decoded, and obtains biological attribute data.
Specifically, alignment code that can first in image in 2 D code, the default subregion of the image in 2 D code is determined.
Default subregion mentioned in the present invention refers to the subregion for preserving biological attribute data coding information.Biology Characteristic refers to the characteristic with unique mark, for example, iris characteristic data, fingerprint characteristic data etc..
After biological attribute data is obtained, as a kind of preferred embodiment, it can also utilize in the image in 2 D code Biological characteristic error correcting code carries out error correction to the biological attribute data.
Step S12:The biological attribute data with the standard biological characteristic to prestore is matched, determines matching Value.
Herein, the standard biological characteristic to prestore is referred to target data permission in acquisition image in 2 D code Validated user biological attribute data.
Step S13:Judge whether the matching value is more than preset matching value.
The preset matching value referred in step S13 is a pre-set numerical value before image in 2 D code is decoded, and is used In the identity for distinguishing active user and validated user.Specifically, matching value can be a percentage, the value range of matching value Can be 0% to 100%, preset matching value could be provided as 70%.It is assumed that the matching value that step S12 is determined is 67%, then 67% is less than 70%, then it is assumed that active user is not validated user.In this case, active user is not allowed to obtain Quick Response Code figure Target data as in can return to a prompt message to active user, prompt active user can not be to the Quick Response Code figure As being decoded.
Step S14:If the matching value is more than preset matching value, to the target data subregion of the image in 2 D code into Row decoding, obtains target data.
Target data refers mainly to, and user wishes the part critical data transmitted by image in 2 D code.Specifically, To after target data, the target data is returned into the active user.
As it can be seen that the coding/decoding method embodiment of image in 2 D code provided by the present invention, before being decoded to target data, meeting First obtain the biological attribute data in image in 2 D code, then to biological attribute data and the standard biological characteristic that prestores into Row matching, determines matching value, then judges whether matching value is more than preset matching value, is only more than preset matching value in matching value Under conditions of, it just will continue to be decoded the target data in image in 2 D code, so that image in 2 D code has guarantor Close property effectively reduces the security risk of image in 2 D code.
The decoding apparatus embodiment of image in 2 D code provided by the invention is introduced below, Quick Response Code described below The decoding apparatus of image can correspond reference with the coding/decoding method of above-described image in 2 D code.
Fig. 2 is the structure diagram of the decoding apparatus embodiment of image in 2 D code provided by the invention, with reference to Fig. 2, the device It can include:
Default subregion decoder module 21:It is asked for what is sent out in response to active user to what image in 2 D code was decoded It asks, the default subregion of the image in 2 D code is decoded, obtains biological attribute data.
Matching module 22:For the biological attribute data to be matched with the standard biological characteristic to prestore, really Determine matching value.
Judgment module 23:For judging whether the matching value is more than preset matching value.
Target data subregion decoder module 24:If it is more than preset matching value for the matching value, to the Quick Response Code The target data subregion of image is decoded, and obtains target data.
The decoding apparatus of the image in 2 D code of the present embodiment is used to implement the coding/decoding method of aforementioned image in 2 D code, therefore The embodiment part of the coding/decoding method of the visible image in 2 D code hereinbefore of specific embodiment in the device, for example, default Subregion decoder module 21, matching module 22, judgment module 23, target data subregion decoder module 24, are respectively used to realize above-mentioned Step S11, step S12, step S 13, step S14 in the coding/decoding method embodiment of image in 2 D code, so, specific implementation Mode is referred to the description of corresponding various pieces embodiment, and details are not described herein.
Due to the decoding apparatus embodiment of image in 2 D code provided by the invention, it is used to implement the solution of aforementioned image in 2 D code Code method, therefore, the effect of the device embodiment are corresponding with the effect of the coding/decoding method embodiment of aforementioned image in 2 D code, this In repeat no more.
Corresponding with the coding/decoding method of image in 2 D code, the present invention also provides a kind of generation sides of image in 2 D code Method, for generating the image in 2 D code mentioned in a kind of coding/decoding method with image in 2 D code.
Start to be discussed in detail a kind of generation method embodiment of image in 2 D code provided by the invention below, it, should referring to Fig. 3 Embodiment specifically includes:
Step S31:Obtain the biological attribute data to prestore.
Here the biological attribute data to prestore refers to the biological attribute data of validated user obtained in advance, specifically, It can be iris characteristic data.
Step S32:The biological attribute data is encoded, determines corresponding biological characteristic coding.
As a kind of preferred embodiment, can be encoded after the biological characteristic coding is obtained according to the biological characteristic, It determines corresponding biological characteristic error correcting code, for ensureing after part image in 2 D code is damaged, can still decode The biological attribute data.
Step S33:Target data is encoded, determines corresponding target data coding.
Target data can refer to user and wish the critical data transmitted by image in 2 D code.
Step S34:Respectively according to the biological characteristic coding and the target data coding determine the first geometric figure and Second geometric figure.
Step S35:First geometric figure is saved in the default subregion of image in 2 D code, by second geometric graph Shape is saved in the target data subregion of the image in 2 D code, to complete the generation of the image in 2 D code.
Default subregion can refer to the subregion of pre-specified storage biological attribute data, correspondingly, target data subregion Refer to the subregion of pre-specified stored target data.
As it can be seen that the generation method of image in 2 D code provided by the invention, can generate one kind and not only include target data, Image in 2 D code comprising biological attribute data.Coding/decoding method such as above-mentioned image in 2 D code is described, sets preset rules, Make user before target data is got, need first to obtain the biological attribute data included in image in 2 D code, then in advance The standard biological characteristic deposited is matched, and determines matching value, only in matching value under conditions of, just user is allowed to obtain Take the target data in image in 2 D code.So that image in 2 D code has confidentiality, greatly reduce and pass through Quick Response Code The security risk of image transmission data information.
The generating means embodiment of image in 2 D code provided by the invention is introduced below, Quick Response Code described below The generating means of image can correspond reference with the generation method of above-described image in 2 D code.
Fig. 4 is the structure diagram of the generating means embodiment of image in 2 D code provided by the invention, with reference to Fig. 4, the device It can include
Biological attribute data acquisition module 41:For obtaining the biological attribute data to prestore.
Biological attribute data coding module 42:For being encoded to the biological attribute data, corresponding biology is determined Feature coding.
Target data coding module 43:For being encoded to target data, corresponding target data coding is determined.
Geometric figure determining module 44:It is determined for being encoded respectively according to biological characteristic coding and the target data First geometric figure and the second geometric figure.
Image in 2 D code generation module 45:For first geometric figure to be saved in default point of image in 2 D code Second geometric figure is saved in the target data subregion of the image in 2 D code by area, to complete the image in 2 D code Generation.
The generating means of the image in 2 D code of the present embodiment are used to implement the generation method of aforementioned image in 2 D code, therefore The embodiment part of the generation method of the visible image in 2 D code hereinbefore of specific embodiment in the device, for example, biological Characteristic acquisition module 41, biological attribute data coding module 42, target data coding module 43, geometric figure determining module 44th, image in 2 D code generation module 45, be respectively used to step S31 in the generation method embodiment for realizing above-mentioned image in 2 D code, Step S32, step S33, step S34, step S35, so, specific embodiment is referred to corresponding various pieces and implements The description of example, details are not described herein.
Due to the generating means embodiment of image in 2 D code provided by the invention, it is used to implement the life of aforementioned image in 2 D code Into method, therefore, the effect of the device embodiment is corresponding with the effect of the generation method embodiment of aforementioned image in 2 D code, this In repeat no more.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with it is other The difference of embodiment, just to refer each other for same or similar part between each embodiment.For dress disclosed in embodiment For putting, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related part is referring to method part Explanation.
Professional further appreciates that, with reference to each exemplary unit of the embodiments described herein description And algorithm steps, can be realized with the combination of electronic hardware, computer software or the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Profession Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
It can directly be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Coding/decoding method to image in 2 D code provided by the present invention, the decoding apparatus of image in 2 D code, Quick Response Code above The generation method of image and the generating means of image in 2 D code are described in detail.Specific case used herein is to this The principle and embodiment of invention is expounded, the explanation of above example is only intended to help understand the present invention method and Its core concept.It should be pointed out that for those skilled in the art, in the premise for not departing from the principle of the invention Under, can also to the present invention some improvement and modification can also be carried out, these improvement and modification also fall into the protection of the claims in the present invention In the range of.

Claims (10)

1. a kind of coding/decoding method of image in 2 D code, which is characterized in that including:
In response to the request being decoded to image in 2 D code that active user sends out, to the default subregion of the image in 2 D code It is decoded, obtains biological attribute data;
The biological attribute data with the standard biological characteristic to prestore is matched, determines matching value;
Judge whether the matching value is more than preset matching value;
If the matching value is more than preset matching value, the target data subregion of the image in 2 D code is decoded, is obtained Target data.
2. the method as described in claim 1, which is characterized in that right if being more than preset matching value in the matching value The target data subregion of the image in 2 D code is decoded, after obtaining target data, including:
The target data is returned into the active user.
3. method as claimed in claim 2, which is characterized in that judge whether the matching value is more than preset matching value described Later, it further includes:
If the matching value be not more than the preset matching value, prompt the active user can not to the image in 2 D code into Row decoding.
4. method as claimed in claim 3, which is characterized in that it is decoded in the default subregion to image in 2 D code, Before obtaining biological attribute data, including:
Alignment code in image in 2 D code determines the default subregion of the image in 2 D code.
5. method as claimed in claim 4, which is characterized in that the biological condition code is iris feature code.
6. the method as described in claim 1-5 any one, which is characterized in that in the default subregion to image in 2 D code It is decoded, after obtaining biological attribute data, including:
Using the biological characteristic error correcting code in the image in 2 D code, error correction is carried out to the biological attribute data.
7. a kind of decoding apparatus of image in 2 D code, which is characterized in that including:
Default subregion decoder module:For the request being decoded to image in 2 D code sent out in response to active user, to institute The default subregion for stating image in 2 D code is decoded, and obtains biological attribute data;
Matching module:For the biological attribute data to be matched with the standard biological characteristic to prestore, matching is determined Value;
Judgment module:For judging whether the matching value is more than preset matching value;
Target data subregion decoder module:If it is more than preset matching value for the matching value, to the image in 2 D code Target data subregion is decoded, and obtains target data.
8. a kind of generation method of image in 2 D code, which is characterized in that including:
Obtain the biological attribute data to prestore;
The biological attribute data is encoded, determines corresponding biological characteristic coding;
Target data is encoded, determines corresponding target data coding;
The first geometric figure and the second geometric figure are determined according to biological characteristic coding and target data coding respectively;
First geometric figure is saved in the default subregion of image in 2 D code, second geometric figure is saved in described The target data subregion of image in 2 D code, to complete the generation of the image in 2 D code.
9. method as claimed in claim 8, which is characterized in that encode, determine to the biological attribute data described After corresponding biological characteristic coding, including:
It is encoded according to the biological characteristic, determines corresponding biological characteristic error correcting code.
10. a kind of generating means of image in 2 D code, which is characterized in that including:
Biological attribute data acquisition module:For obtaining the biological attribute data to prestore;
Biological attribute data coding module:For being encoded to the biological attribute data, determine that corresponding biological characteristic is compiled Code;
Target data coding module:For being encoded to target data, corresponding target data coding is determined;
Geometric figure determining module:For determining more than the first according to biological characteristic coding and target data coding respectively What figure and the second geometric figure;
Image in 2 D code generation module:For first geometric figure to be saved in the default subregion of image in 2 D code, by institute The target data subregion that the second geometric figure is saved in the image in 2 D code is stated, to complete the generation of the image in 2 D code.
CN201711434429.1A 2017-12-26 2017-12-26 The coding/decoding method of image in 2 D code, decoding apparatus, generation method, generating means Pending CN108154062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711434429.1A CN108154062A (en) 2017-12-26 2017-12-26 The coding/decoding method of image in 2 D code, decoding apparatus, generation method, generating means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711434429.1A CN108154062A (en) 2017-12-26 2017-12-26 The coding/decoding method of image in 2 D code, decoding apparatus, generation method, generating means

Publications (1)

Publication Number Publication Date
CN108154062A true CN108154062A (en) 2018-06-12

Family

ID=62462835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711434429.1A Pending CN108154062A (en) 2017-12-26 2017-12-26 The coding/decoding method of image in 2 D code, decoding apparatus, generation method, generating means

Country Status (1)

Country Link
CN (1) CN108154062A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184380A (en) * 2011-05-10 2011-09-14 华南农业大学 Color-superposition two-dimension code system and application method thereof
CN105046184A (en) * 2015-07-22 2015-11-11 福建新大陆自动识别技术有限公司 Distortion image correction based two-dimensional code decoding method and system
CN105760805A (en) * 2016-02-15 2016-07-13 刘小曲 Two-dimensional code recognition and reading method and system
CN107016499A (en) * 2017-03-23 2017-08-04 国家电网公司 A kind of substation equipment patrol method recognized based on two-dimentional code encryption

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184380A (en) * 2011-05-10 2011-09-14 华南农业大学 Color-superposition two-dimension code system and application method thereof
CN105046184A (en) * 2015-07-22 2015-11-11 福建新大陆自动识别技术有限公司 Distortion image correction based two-dimensional code decoding method and system
CN105760805A (en) * 2016-02-15 2016-07-13 刘小曲 Two-dimensional code recognition and reading method and system
CN107016499A (en) * 2017-03-23 2017-08-04 国家电网公司 A kind of substation equipment patrol method recognized based on two-dimentional code encryption

Similar Documents

Publication Publication Date Title
US10887097B1 (en) Multi-address population based on single address
US7108186B2 (en) System and method for validating a digital image and corresponding data
EP1360640B1 (en) Document printed with graphical symbols which encode information
US9253131B2 (en) System and method for authentication of communications
US8150034B2 (en) Method and system for transmitting data from a first data processing device to a second data processing device
JP2020527817A (en) Safety tag
Franco-Contreras et al. Robust lossless watermarking of relational databases based on circular histogram modulation
JP2020509457A (en) Composite two-dimensional barcode generation, reading device and method
US20220171836A1 (en) Content authentication and validation via multi-factor digital tokens, systems, and methods
CN101201939B (en) Method and system for generating picture identifying code
US20090094687A1 (en) System and methods for key challenge validation
CN107451643B (en) Generation, recognition methods and the device of dynamic two-dimension code
EP1961205A2 (en) Methods and apparatus for securely displaying digital images
McAteer et al. Integration of biometrics and steganography: A comprehensive review
CN111680273A (en) Watermark embedding method, device, electronic equipment and readable storage medium
CN108537315A (en) A kind of generation of safe Quick Response Code and authentication method
CN108664862A (en) Position encoded file output system
Jalab et al. Frame selected approach for hiding data within MPEG video using bit plane complexity segmentation
CN108154062A (en) The coding/decoding method of image in 2 D code, decoding apparatus, generation method, generating means
US20230121749A1 (en) Customizable cryptocurrency card
CN111428532A (en) Encryptable three-dimensional code and encoding and decoding method
JP2017079082A (en) Optical-reading code preparation device
CN113810189B (en) Method and device for generating key picture
CN114817872A (en) Method for adding dynamic watermark in OFD (office automation) document
US11954756B1 (en) Anti-leak digital document marking system and method using distributed ledger

Legal Events

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

Application publication date: 20180612