CN105205777A - Encoding method of invisible image ciphers - Google Patents

Encoding method of invisible image ciphers Download PDF

Info

Publication number
CN105205777A
CN105205777A CN201510542893.7A CN201510542893A CN105205777A CN 105205777 A CN105205777 A CN 105205777A CN 201510542893 A CN201510542893 A CN 201510542893A CN 105205777 A CN105205777 A CN 105205777A
Authority
CN
China
Prior art keywords
colour
information
latent image
client
coding method
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
CN201510542893.7A
Other languages
Chinese (zh)
Other versions
CN105205777B (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.)
Shenzhen Mopon Information System Co Ltd
Original Assignee
Shenzhen Mopon Information System 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 Shenzhen Mopon Information System Co Ltd filed Critical Shenzhen Mopon Information System Co Ltd
Priority to CN201510542893.7A priority Critical patent/CN105205777B/en
Publication of CN105205777A publication Critical patent/CN105205777A/en
Application granted granted Critical
Publication of CN105205777B publication Critical patent/CN105205777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The invention provides an encoding method of invisible image ciphers. The encoding method comprises the following steps that: a system receives a specified picture and an encryption request from a client end, and performs cell processing on the picture, and equally divides cells in an orderly way; CMYK four-color value calculation is performed on the equally-divided cells, so that a color value database of different numerical values can be formed; the cells are repeatedly extracted according to rules so as to be subjected to paired color value difference comparison, and comparison results are assigned with 1 or 0 based on preset rules, so that a brand new set of source value database with an internal logic basis can be formed; and information to be encrypted is stored in the source value database in a grouped manner. With the encoding method adopted, invisible code information of codes is invisible. The information of a traditional two-dimensional code is stored through a geometrical feature, and the geometrical feature is exposed to naked eyes apparently, and as a result, defects of high possibility of being cracked, copied and stolen of the traditional two-dimensional code exist, while, with the encoding method of the invention adopted, the defects can be eliminated. According to the encoding method, the specified information of the client end is adopted as a key to match comparison value parameters, and therefore, various kinds of situations can be provided, and people can be prevented from reversely recognizing and extracting information.

Description

A kind of coding method of latent image password
Technical field
The present invention relates to image encryption technology, more specifically, relate to a kind of latent image cipher coding technology.
Background technology
Bar code is the multiple secret note and blank that are not waited by width, according to the arrangement of certain coding rule, in order to express the graphical identifier of one group of information.Bar code can mark the much information of article, is thus obtained in a lot of fields and applies widely.The problem that but existence is easily cracked, confidentiality is not high.Therefore conventional two-dimensional code use and carry out applying on a large scale becoming a difficult problem.
CMYK is also referred to as printing color pattern, and being a kind ofly rely on reflective color mode, is the initial of 4 kinds of printing-ink titles: the yellow K. black of C. cyan M. carmetta Y., in press usually can by other thousands of kinds of colors of these four kinds of color renderings; Often kind of CMYK tetra-color ink can use the value from 0 to 100%, and expression form is exemplified as C20M10Y30K40, clear and directly perceived to colour statement.
As patent documentation CN103347141A, denomination of invention is: a kind of CMYK four-color process aberration localization method, CMYK four-colour process is used for printed matter printing location.
As patent documentation CN1829609A, denomination of invention is: the method for coding latent image, and by stealthy for information coding in image, but remaining view-based access control model special efficacy carries out displacement, can see that coding hides content by visual effect.
Summary of the invention
The present invention overcomes the inadequate technical matters of above-mentioned information protection; a kind of latent image encryption technology is proposed; security information is hidden in the picture; overcome conventional two-dimensional code to store information by geometrical body and cause that geometrical body is dominant is exposed to outside naked eyes the drawback easily being cracked by people, copy, steal, significantly strengthen the protection of security information.
For solving the problems of the technologies described above, technical scheme of the present invention is as follows:
A coding method for latent image password, is characterized in that, said method comprising the steps of:
S101: picture element unit cell, from client designated pictures and CIPHERING REQUEST, is formatted by system acceptance, carries out decile according to orderly mode;
S102: the cell of decile is carried out CMYK tetra-look colour and calculate, form the colour database of different numerical value with this;
S103:: regularly extracting unit lattice carry out colour difference comparison between two repeatedly, comparison result are carried out to the assignment 1 or 0 of pre-stored rule, form one group of brand-new binary source Value Data storehouse with internal logic basis;
S104: packet memory information to be encrypted is carried out to binary source Value Data storehouse.
Further, in described step S103, size comparison is carried out to the colour combination of the arbitrary look of C, M, Y, K or four mixture of colours.
Further, described size comparison rules is Y n+m-Y n>=0 is defined as 1 or 0, corresponding Y n+m-Y n<0 be defined as 0 or 1, Y be the single basic colour C of cell, M, Y, K one of them, N is cell sequence number, and m is arbitrary positive integer.
Preferably, described size comparison rules is X n+m-X n>=0 is defined as 1 or 0, corresponding X n+m-X n<0 be defined as 0 or 1, X be cell mixing colour C, M, Y, K any combination each colour absolute value sum, N is cell sequence number, and m is arbitrary positive integer.
Further, the selected rule that described Essential colour is selected or combined is secret key with the peculiar information of client.
Further, the secret key information of described client is client numbering, client password or client historical operation record.
Further, described client designated pictures take for, living photo or buildings picture.
Advantage of the present invention is:
1. hidden code information of encoding is not visible, overcomes conventional two-dimensional code and stores information by geometrical body and cause that geometrical body is dominant is exposed to outside naked eyes the drawback easily being cracked by people, copy, steal;
2. coding rule is simple, and system resource takies few, and hidden code is fast;
3. adopt CMYK four-colour process, applied widely;
4. upload appointment photo, be conducive to the picture that user remembers and manages hidden code information.
5. with the peculiar information of client be secret key matching ratio to value parameter, various the preventing of situation is extracted information by people's reversal of identification.
Accompanying drawing explanation
Fig. 1 is embodiment of the present invention coding schematic diagram.
Embodiment
Accompanying drawing, only for exemplary illustration, can not be interpreted as the restriction to this patent;
Below in conjunction with drawings and Examples, technical scheme of the present invention is described further.
Embodiment 1
The present invention discloses a kind of coding method of latent image password, it is characterized in that, said method comprising the steps of:
S101: system acceptance is from client designated pictures and CIPHERING REQUEST, and enciphered message is as 123456789; Picture element unit cell formatted, the mode according to transversely arranged decile carries out decile;
S102: the cell of decile is carried out CMYK tetra-look colour and calculate, form the colour database of different numerical value with this;
As Fig. 1, S103: two cells adjoined are carried out the comparison of C value colour difference, CN+m-CN >=0 is defined as 1, and other are then defined as 0, adjoins i.e. m=1; Comparison result is carried out to the assignment 1 and 0 of pre-stored rule, form one group of brand-new a string source word symbol be made up of " 0 ", " 1 " with internal logic basis;
S104: above-mentioned source word symbol is a unit with 10 data, the information content that each unit record is different, as 012 in information item is recorded in 0101101001 data unit, 345 in information are stored in 000100001 data unit, in information 67 is stored in 1000100101 data cells, and 8 in information is stored in 101000001 data cells.
Further, described information, except numerical information, also has Chinese, link, letter etc., carries out the grouping of source word symbol according to information character bit value content.
Preferably, in described step S101, decile mode also has longitudinal arrangement decile, middle part decile or diagonal line etc. to grade.
Embodiment 2,
To the comparison of M value colour difference in above-mentioned steps S103, KN+m-KN >=0 is defined as 1, and other are then defined as 0, adjoins i.e. m=1; Comparison result is carried out to the assignment 1 and 0 of pre-stored rule, form one group of brand-new a string source word symbol be made up of " 0 ", " 1 " with internal logic basis.
Embodiment 3,
To the comparison of CMYK value colour difference in above-mentioned steps S103, adopt each colour absolute value of CMYK to be added and carry out the comparison of colour difference, sequence number junior unit lattice item is more than or equal to by by definition sequence number big unit lattice item, be defined as 1, other are defined as 0, form one group of brand-new a string source word symbol be made up of " 0 ", " 1 " with internal logic basis.
Embodiment 4,
On the basis of embodiment 1, system acceptance, from the CIPHERING REQUEST of client, comprises the number information of client, and described step S103 combines according to number information match selection colour, the source character group sequence that different colour contrast bases produces is different, and coding result confidentiality is stronger.
Embodiment 5,
On above-described embodiment basis, by client barcode scanning decoding latent image cipher coding picture, be reversed decoding, reduction enciphered message.
Obviously, the above embodiment of the present invention is only for example of the present invention is clearly described, and is not the restriction to embodiments of the present invention.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here exhaustive without the need to also giving all embodiments.All any amendments done within the spirit and principles in the present invention, equivalent to replace and improvement etc., within the protection domain that all should be included in the claims in the present invention.

Claims (8)

1. a coding method for latent image password, is characterized in that, said method comprising the steps of:
S101: picture element unit cell, from client designated pictures and CIPHERING REQUEST, is formatted by system acceptance, carries out decile according to orderly mode;
S102: the cell of decile is carried out CMYK tetra-look colour and calculate, form the colour database of different numerical value with this;
S103: regularly extracting unit lattice carry out colour difference comparison between two repeatedly, comparison result are carried out to the assignment 1 or 0 of pre-stored rule, form one group of brand-new binary source Value Data storehouse with internal logic basis;
S104: packet memory information to be encrypted is carried out to binary source Value Data storehouse.
2. the coding method of latent image password according to claim 1, it is characterized in that, in described step S101, described orderly mode is divided into: transversely arranged decile, longitudinal arrangement decile, middle part decile or diagonal line decile.
3. the coding method of latent image password according to claim 1, is characterized in that, in described step S103, carries out size comparison to the colour combination of the arbitrary look of C, M, Y, K or four mixture of colours.
4. the coding method of latent image password according to claim 3, it is characterized in that, described size comparison rules is Y n+m-Y n>=0 is defined as 1 or 0, corresponding Y n+m-Y n<0 be defined as 0 or 1, Y be the single basic colour C of cell, M, Y, K one of them, N is cell sequence number, and m is arbitrary positive integer.
5. the coding method of latent image password according to claim 3, it is characterized in that, described size comparison rules is X n+m-X n>=0 is defined as 1 or 0, corresponding X n+m-X n<0 be defined as 0 or 1, X be cell mixing colour C, M, Y, K any combination each colour absolute value sum, N is cell sequence number, and m is arbitrary positive integer.
6. the coding method of latent image password according to claim 3, it is characterized in that, the selected rule that described system Essential colour is selected or combined is secret key with the peculiar information of client.
7. the coding method of latent image password according to claim 6, is characterized in that, the secret key information of described client is client numbering, client password or client historical operation record.
8. according to the coding method of the arbitrary described latent image password of claim 1-7, it is characterized in that, described client designated pictures take for, living photo or buildings picture.
CN201510542893.7A 2015-08-28 2015-08-28 A kind of coding method of latent image password Active CN105205777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510542893.7A CN105205777B (en) 2015-08-28 2015-08-28 A kind of coding method of latent image password

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510542893.7A CN105205777B (en) 2015-08-28 2015-08-28 A kind of coding method of latent image password

Publications (2)

Publication Number Publication Date
CN105205777A true CN105205777A (en) 2015-12-30
CN105205777B CN105205777B (en) 2019-03-08

Family

ID=54953440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510542893.7A Active CN105205777B (en) 2015-08-28 2015-08-28 A kind of coding method of latent image password

Country Status (1)

Country Link
CN (1) CN105205777B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106005743A (en) * 2016-07-13 2016-10-12 上海凌脉网络科技股份有限公司 Product packing structure with invisible identification code and code recognition method of product packing structure
CN107808109A (en) * 2016-09-09 2018-03-16 中兴通讯股份有限公司 A kind of image in 2 D code recognition methods and mobile terminal
CN112069953A (en) * 2020-08-26 2020-12-11 江苏农林职业技术学院 Automatic identification method and device for rice seedling growth period

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040165081A1 (en) * 2002-12-05 2004-08-26 Hiroyuki Shibaki Image processing apparatus, image processing system, and image processing method
CN101097504A (en) * 2006-06-28 2008-01-02 顾泽苍 Method for embedding information on upper printed medium
CN101241543A (en) * 2008-02-28 2008-08-13 天津市阿波罗信息技术有限公司 Processing method for embedding information at commodity packaging recognized by mobile phone
CN101464627A (en) * 2007-12-21 2009-06-24 北京中科诚通科技发展有限公司 Anti-counterfeit method for recognizing computer data embedded in printing product by mobile phone
CN101537751A (en) * 2009-04-10 2009-09-23 顾泽苍 Novel method for processing anti-counterfeit printing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040165081A1 (en) * 2002-12-05 2004-08-26 Hiroyuki Shibaki Image processing apparatus, image processing system, and image processing method
CN101097504A (en) * 2006-06-28 2008-01-02 顾泽苍 Method for embedding information on upper printed medium
CN101464627A (en) * 2007-12-21 2009-06-24 北京中科诚通科技发展有限公司 Anti-counterfeit method for recognizing computer data embedded in printing product by mobile phone
CN101241543A (en) * 2008-02-28 2008-08-13 天津市阿波罗信息技术有限公司 Processing method for embedding information at commodity packaging recognized by mobile phone
CN101537751A (en) * 2009-04-10 2009-09-23 顾泽苍 Novel method for processing anti-counterfeit printing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106005743A (en) * 2016-07-13 2016-10-12 上海凌脉网络科技股份有限公司 Product packing structure with invisible identification code and code recognition method of product packing structure
CN106005743B (en) * 2016-07-13 2018-08-10 上海凌脉网络科技股份有限公司 Product packaging arrangement with identification code and its knowledge code method
CN107808109A (en) * 2016-09-09 2018-03-16 中兴通讯股份有限公司 A kind of image in 2 D code recognition methods and mobile terminal
CN112069953A (en) * 2020-08-26 2020-12-11 江苏农林职业技术学院 Automatic identification method and device for rice seedling growth period
CN112069953B (en) * 2020-08-26 2021-10-29 江苏农林职业技术学院 Automatic identification method and device for rice seedling growth period

Also Published As

Publication number Publication date
CN105205777B (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN102916804B (en) Two-dimension code coding and decoding method and device based on local color verification
Sutaone et al. Image based steganography using LSB insertion technique
US7240209B2 (en) Methods of invisibly embedding and hiding data into soft-copy text documents
CN103778590B (en) Using digital picture storage and the method and apparatus of transmission information
CN105976004A (en) Color two-dimensional code multi-dimensional information encoding and decoding methods and devices
CN105099712A (en) Data encryption method based on double-code verification
Raikhlin et al. Is it possible to reduce the sizes of stegomessages in associative steganography?
CN105550730A (en) Safe two-dimensional code manufacture method and decoding method, and safe two-dimensional code identifier
CN111291397A (en) Webpage data anti-crawling encryption method
CN105205777A (en) Encoding method of invisible image ciphers
CN105354606A (en) Label formed by two-dimensional code and variable information, generating method and generating system
Gangwar et al. Improved RGB-LSB steganography using secret key
US9477853B2 (en) Generating an incremental information object
CN104537539A (en) Method for activating and forbidding anti-counterfeit label based on two-dimension code recognition technology
CN104573781A (en) Encoding and decoding method of two-dimensional code
CN106228503A (en) The digital watermark embedding of satellite remote-sensing image SHP dot file and extracting method
EP2661719B1 (en) Dual deterrent incremental information object
Azeem et al. A novel approach to secret data concealment with high cover text capacity and security
US11469879B2 (en) Text watermarking method and apparatus for hiding information into text documents
WO2022131965A1 (en) Method for encoding and decoding digital information in the form of a multidimensional nano-barcode
Nayak Steganography with BSS-RSA-LSB technique: A new approach to Steganography
CN106357662A (en) MAC (media access control) address-based data encryption method
CN111400741B (en) Hidden information encryption method based on lattice arrangement extensible style
TWI518598B (en) A barcode tamper-proofing system and method thereof
CN104778593A (en) Anti-counterfeiting image encrypting and detecting method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant