[go: up one dir, main page]

CN109816077A - A kind of hidden method of two-dimensional barcode information, device, electronic equipment and storage medium - Google Patents

A kind of hidden method of two-dimensional barcode information, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109816077A
CN109816077A CN201910041750.6A CN201910041750A CN109816077A CN 109816077 A CN109816077 A CN 109816077A CN 201910041750 A CN201910041750 A CN 201910041750A CN 109816077 A CN109816077 A CN 109816077A
Authority
CN
China
Prior art keywords
information
frequency
dimensional barcode
hiding
barcode information
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
CN201910041750.6A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201910041750.6A priority Critical patent/CN109816077A/en
Publication of CN109816077A publication Critical patent/CN109816077A/en
Pending legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

The embodiment of the invention discloses a kind of hidden method of two-dimensional barcode information, device, electronic equipment and storage mediums, belong to field of computer technology, wherein the described method includes: obtaining original two-dimensional code figure and information to be concealed;According to preset frequency-region signal transformation model, corresponding frequency-region signal conversion process is carried out to two-dimension code pattern, the frequency-region signal after obtaining conversion process;Corresponding graphical symbol is converted by the frequency-region signal after conversion process, wherein hiding two-dimensional barcode information superposition is stored in corresponding graphical symbol.The solution of the present invention really can effectively accomplish to hide two-dimensional barcode information, and hiding two-dimensional barcode information is hidden in frequency domain information, and hiding two-dimensional barcode information is not easy to be cracked.

Description

A kind of hidden method of two-dimensional barcode information, device, electronic equipment and storage medium
Technical field
The present embodiments relate to field of computer technology, and in particular to a kind of hidden method of two-dimensional barcode information, device, Electronic equipment and storage medium.
Background technique
Planar bar code technology becomes the technologies such as automatic identification technology and commodity sign, mobile marketing and product back-tracing and application The most important hot spot technology of development.Planar bar code technology, especially using Chinese letter co, QR code as the matrix two-dimensional code of representative, essence It is a kind of special structured graphics, which can be distinguished the two dimensional code and other two dimensional codes, have gross feature Characteristic graphics frame and be distributed in graphics frame, with specific information arrangement mode and coding definition data module Sequence or group are combined into.The data acquisition modes of two dimensional code are the image collecting devices such as camera, are obtained by analysis processing acquisition The image taken, finds the pattern image of two dimensional code in the picture, so that it is basic to detect picture position, orientation for obtaining two dimensional code etc. Information, and then out of, two dimensional code graphics frame, using information arrangement mode defined in two dimensional code standard, obtain in two dimensional code Information coding matrix.
As the extensive use of two dimensional code, especially two dimensional code are direct in the classes such as commodity, mobile marketing, advertisement and consumer Correlation can directly acquire the fast-ripenin and large-scale application of the application model of the New Two Dimensional code technology of information by network, Also it brings new challenge for planar bar code technology, i.e., how to judge that a two dimensional code is issued by its authorized party, i.e., genuine two Tie up code.The two dimensional codes code systems such as Chinese letter co, QR code, general its generates and recognition process all determine in detail by its code system standard Justice can generally use information security policy, such as encryption and the mode for increasing signature, and will cause relevant information becomes to know It reads, so that the exposure two dimensional code is special two dimensional code, breaks through security strategy for unauthorized parties and provide guide, in this way, non-award Power side can be cracked according to above-mentioned guide by cracking, and therefore, finally, really can not effectively be accomplished to two dimension Code information is hidden.
Summary of the invention
For this purpose, hidden method, device, electronic equipment and storage that the embodiment of the present invention provides a kind of two-dimensional barcode information are situated between Matter, to solve the problems, such as really can not effectively accomplish to the hiding of two-dimensional barcode information in the prior art.
To achieve the goals above, the embodiment of the present invention provides the following technical solutions:
In the first aspect of embodiments of the present invention, a kind of hidden method of two-dimensional barcode information, the side are provided Method includes: to obtain original two-dimensional code figure and information to be concealed;According to preset frequency-region signal transformation model, to the two dimension Code figure carries out corresponding frequency-region signal conversion process, the frequency-region signal after obtaining conversion process;By the frequency domain after conversion process Signal is converted into corresponding graphical symbol, wherein the information superposition to be concealed is stored in corresponding graphical symbol.
In another embodiment of the invention, corresponding frequency-region signal conversion process mode is carried out to the two-dimension code pattern It include: the information loading method of frequency domain transform mode, the modulation system of high-frequency signal, high-frequency signal.
In another embodiment of the invention, the frequency domain transform mode is using Fourier or dct transform.
In another embodiment of the invention, the method also includes: frequency domain transform mode can also using D system small echo, Each wavelet-like transform such as Haar system or other orthogonal function bases are as frequency domain transfer functions.
In another embodiment of the invention, the method also includes: to the high-frequency signal according to pre-set height Frequency signal parameter ratio is modulated accordingly, obtains modulated signal, wherein can be according to the corresponding system of image frequency domainization Number distributed intelligences and/or corresponding whether can normally decode for characterizing two dimensional code after image frequency domain of image frequency domainization are translated Code information obtains modulated signal after being adjusted correspondingly to the high-frequency signal parameter.
In another embodiment of the present invention, the method also includes: verification is increased to the information to be concealed or is entangled Error protection code word restores the hiding two-dimensional barcode information with facilitating.
In one more embodiment of the present invention, to the information to be concealed carry out verification or error correction by the way of at least Including with the next item down: being verified to the hiding two-dimensional barcode information using parity check code;To the hiding two dimensional code Information is verified using CRC check code;Error correction is carried out using Bose-Chaudhuri Hocquenghem error correction codes to the hiding two-dimensional barcode information;To institute It states hiding two-dimensional barcode information and error correction is carried out using LDCP code;Error correction is carried out using RS code to the hiding two-dimensional barcode information.
In the second aspect of embodiments of the present invention, a kind of concealing device of two-dimensional barcode information, the dress are provided Setting includes: acquisition module, obtains original two-dimensional code figure and information to be concealed;Conversion process module, according to preset frequency domain Signal transformation model, the two-dimension code pattern collected to the acquisition module carry out corresponding frequency-region signal conversion process, Frequency-region signal after obtaining conversion process;Conversion module converts the conversion process block transforms treated frequency-region signal For corresponding graphical symbol, wherein the information superposition to be concealed is stored in corresponding graphical symbol.
In the third aspect of embodiments of the present invention, a kind of electronic equipment is provided, the electronic equipment includes depositing Reservoir and processor, the processor and the memory complete mutual communication by bus;The memory is stored with The program instruction that can be executed by the processor, the processor call described program instruction to be able to carry out side as described above Method.
In the fourth aspect of embodiments of the present invention, a kind of computer readable storage medium is provided, is stored thereon There is the step of computer program, the computer program realizes method as described above when being executed by processor.
The embodiment of the present invention have the advantages that a kind of two-dimensional barcode information provided in an embodiment of the present invention hidden method, Device, electronic equipment and storage medium really can effectively be accomplished to hide two-dimensional barcode information, and hiding two dimensional code is believed Breath is hidden in frequency domain information, and hiding two-dimensional barcode information is not easy to be cracked.
Detailed description of the invention
It, below will be to embodiment party in order to illustrate more clearly of embodiments of the present invention or technical solution in the prior art Formula or attached drawing needed to be used in the description of the prior art are briefly described.It should be evident that the accompanying drawings in the following description is only It is merely exemplary, it for those of ordinary skill in the art, without creative efforts, can also basis The attached drawing of offer, which is extended, obtains other implementation attached drawings.
Fig. 1 is a kind of flow diagram of the hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides;
Fig. 2 is the Chinese letter co in a kind of specific example of the hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides Schematic symbol diagram;
Fig. 3 is the reference Chinese in a kind of specific example of the hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides Believe the information arrangement sequence diagram of code;
Fig. 4 is to have mark in a kind of specific example of the hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides Sign the schematic diagram of image;
Fig. 5 is in a kind of specific example of the hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides to image The schematic diagram handled;
Fig. 6 is the coefficient square in a kind of specific example of the hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides Battle array schematic diagram;
Fig. 7 is a kind of structural schematic diagram of the concealing device for two-dimensional barcode information that the embodiment of the present invention 2 provides;
In figure: 701- obtains module;702- conversion process module;703- conversion module.
Specific embodiment
Embodiments of the present invention are illustrated by particular specific embodiment below, those skilled in the art can be by this explanation Content disclosed by book is understood other advantages and efficacy of the present invention easily, it is clear that described embodiment is the present invention one Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Embodiment 1
Embodiment according to the present invention 1 provides a kind of hidden method of two-dimensional barcode information, as shown in Figure 1, for the present invention A kind of flow diagram of the hidden method for two-dimensional barcode information that embodiment 1 provides.This method at least includes the following steps:
S101 obtains original two-dimensional code figure and information to be concealed;
S102 carries out at corresponding frequency-region signal transformation two-dimension code pattern according to preset frequency-region signal transformation model Reason, the frequency-region signal after obtaining conversion process;
It should be noted that preset frequency-region signal transformation model is set up according to conventional algorithm in a step 102 The model come, and the corresponding algorithm of the model is also conventional algorithm, based on the preset frequency-region signal transformation model and right The algorithm answered no longer repeats one by one.
S103 converts corresponding graphical symbol for the frequency-region signal after conversion process, wherein information superposition to be concealed It is stored in corresponding graphical symbol;In this way, 1 scheme provided through the embodiment of the present invention, really can effectively accomplish pair Hiding for two-dimensional barcode information, hiding two-dimensional barcode information is hidden in frequency domain information, and hiding two-dimensional barcode information be not easy by It cracks.
In an optional example, carrying out corresponding frequency-region signal conversion process mode to two-dimension code pattern includes: frequency Domain transform mode, the modulation system of high-frequency signal, the information loading method of high-frequency signal.
In an optional example, frequency domain transform mode is using Fourier or dct transform.
In an optional example, the frequency domain transform mode can also be using all kinds of small echos such as D system small echo, Haar systems Transformation or other orthogonal orthogonal function bases are as frequency domain transfer functions.In an optional example, the method also includes: High-frequency signal is modulated accordingly according to pre-set high-frequency signal parameter logistic, obtains modulated signal, wherein It can be corresponding for after characterizing image frequency domain according to the corresponding coefficient distributed intelligence of image frequency domainization and/or image frequency domainization The decoding information whether two dimensional code can normally decode is modulated after being adjusted correspondingly to the high-frequency signal parameter Signal afterwards.
In practical applications, the bearing mode of hiding two-dimensional barcode information is that the continuous high frequency section parameter of selection is increased Add 20%, reduces by 20% modulation operations.
Alternatively, the bearing mode of hiding two-dimensional barcode information is that the continuous high frequency section parameter of selection carries out increase by 30%, Reduce by 30% modulation operations.
Or the bearing mode of hiding two-dimensional barcode information is that the continuous high frequency section parameter of selection is increased 40%, reduce by 40% modulation operations.
The above-mentioned bearing mode for only enumerating some hiding two dimensional codes, will not enumerate herein, preset setting High-frequency signal parameter logistic can be adjusted according to specific application scenarios, and this is no longer going to repeat them.
In an optional example, the method also includes: verification is increased to the information to be concealed or error correction is protected Code word is protected, the hiding two-dimensional barcode information is restored with facilitating.
In an optional example, the information to be concealed carry out verification or the mode that uses of error correction including at least with The next item down: hiding two-dimensional barcode information is verified using parity check code;CRC check is used to hiding two-dimensional barcode information Code is verified;Error correction is carried out using Bose-Chaudhuri Hocquenghem error correction codes to hiding two-dimensional barcode information;Hiding two-dimensional barcode information is used LDCP code carries out error correction;Error correction is carried out using RS code to hiding two-dimensional barcode information.
A kind of thinking of the hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides is: frequency domain information hides two dimension Code (steganography two dimensional code), the distributed intelligence stored using preset or two-dimensional code symbol, by changing two-dimensional code symbol Frequency domain information increases the sightless disturbance of naked eyes, and digital information superposition is stored in two-dimensional code symbol.The present invention is implemented at present Two dimensional code example used is all Chinese letter co in the scheme that example 1 provides, but this method can also be used for the information of other two dimensional code code systems It hides.
Increase turbulence in frequency domain, it is different from traditional digital watermark technology in frequency domain, at the same also and gray scale, size and The hiding technology of the enterprising row information of color is different.Increase hiding information in gray scale, size and color, is equivalent in spatial domain Upper hiding information, and frequency domain is, by ad hoc approach on frequency domain, hiding information to be attached to after image is carried out orthogonal transformation On the image of two dimensional code.Especially unlike digital watermark technology of the tradition in frequency domain, the extraction of two dimensional code hiding information is Orthogonal transformation is carried out later, the information for being originally hidden in frequency domain is extracted by acquiring image information at recognition end.With The difference of digital watermarking is that hiding information can only restore phase by the setting of acquisition image and recognition system back The hiding information of pass, and original image cannot be obtained at recognition end and digital watermarking is directly verified.The technology is very skilful The wonderful Information hiding that frequency domain is utilized generates and distinguishes the noise that process introduces for image in 2 D code, such as reduces, noise Insensitive advantage, simultaneously because the variation in frequency domain is distributed, therefore being very similar to printing error (or can be intentional Error is specifically printed in the introducing of knowledge), fake producer (attacker) hardly notices the presence of the disturbance, or even if notices disturbance Presence, also will be considered that be printing error, will not associate it is relevant disturbance carry information.
It should be noted that being adopted in a kind of scheme of the hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides It is entirely different information security policy, that is, is suitable for the two dimensional code Steganography of a variety of two dimensional codes such as Chinese letter co.Steganography It is the skill and science about Information hiding, so-called Information hiding refers to that anyone not allowed in addition to expected recipient knows Know the transmitting event of information or the content of information.Steganography modifies " camouflage text " (Cover using some way Text), make to be formed so-called " concealed text " (Stegotext) it includes the message being encrypted, such as pass through modification camouflage text The size of this text, spacing, other characteristics of font or cover text can be modified to comprising hiding information.Only There is recipient to know used concealing technology, information can be restored, then it is decrypted.
In addition, the two-dimensional barcode information steganography that a kind of hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides uses Art and traditional Steganography or Image Watermarking Technique are extremely different, in a kind of two-dimensional barcode information that the embodiment of the present invention 1 provides In the scheme that hidden method provides, the camouflage text of two dimensional code is exactly the two dimensional code of standard, and concealed text is to two-dimentional code symbol It after the frequency domain parameter of number entirety is modulated, is attached in two-dimensional code symbol, carries the steganography two dimension of two dimensional code secret information Code still can be distinguished normally using non-dedicated recognition system, and recognition performance is not affected, while also having certain anti-letter Road noise immune avoids concealed text excessively fragile, can not extract in recognition.Known using dedicated recognition system When reading, other than it can normally restore to obtain the cleartext information stored in two dimensional code, Steganography can also be decrypted in two dimensional code The steganography information being added in symbol avoids two-dimensional barcode information to realize private Information Authentication and symbol authorized party confirmation A possibility that identifying and correctly read out, and bringing economic asset to lose to user.Further, since frequency domain transformation very It is hidden, it can't see related thread in symbol overall symbol, therefore, further increase and carry out correlation using two-dimensional barcode information The safety of payment, improves user experience.
A kind of scheme of the hidden method for two-dimensional barcode information that embodiment 1 provides in order to better illustrate the present invention is as follows A specific application example is provided, particular content is as described below:
As shown in Fig. 2, being in a kind of specific example of the hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides Chinese letter co schematic symbol diagram;
1) Chinese letter co initial symbol as shown in Fig. 2,
As shown in figure 3, being in a kind of specific example of the hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides With reference to the information arrangement sequence diagram of Chinese letter co.
As shown in figure 3, carrying information are as follows: " 1234567890ABCDEFGabcdefg, Han Xin Code ", the segment information Referred to as in plain text, any information is not added at this time, which complies fully with 20830 international standard of Chinese letter co ISO/IEC, raw simultaneously At following label image.Notice that the increased image background of label at this time is not real watermark, which can change For the texture of label, any other colors and increase arbitrary polyenergetic pixel.
As shown in figure 4, being in a kind of specific example of the hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides Schematic diagram with label image.
2) firstly, selecting a kind of method, Fig. 4 is carried out to the processing of orthogonal transformation, to carry out the Information hiding of frequency domain parameter.
3) without loss of generality, using the frequency domain conversion and coding method of similar traditional JPEG, turn as exemplary frequency domain Change and coding method.Simultaneously for hiding information 123 is needed, for simplification and without loss of generality, BCD is used to encode mould Formula, working out is 000100100011, obtains the value of 12 modulates information positions.
4) firstly, image is decomposed into three 2 dimension images according to tri- components of RGB, and copy the JPEG coding of standard Preceding three step changes:
As shown in figure 5, being in a kind of specific example of the hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides The schematic diagram that image is handled.
It should be noted that is be related to for Fig. 5 is conventional method the step of processing image, this algorithm is adopted Figure inside character boundary integrally carries out dct transform, the transformation for mula and inverse transformation formula of use are as follows:
Herein just to example, this is no longer going to repeat them.By introducing above-mentioned new related algorithm, obtain at this time It is the coefficient matrix of a n*n, after quantizer is handled, quantization normalizing (being converted into a value between 0-255) is such as Fig. 6 Shown in coefficient matrix, as shown in fig. 6, a kind of hidden method of the two-dimensional barcode information provided for the embodiment of the present invention 1 is specific Coefficient matrix schematic diagram in example;As shown in fig. 6,0 position parameter of module in figure is commonly referred to as DC component, number is got over Small, D. C. value is generally bigger, and high vehicle indicator section is generally 0.The following are simplifying to describe, illustrated with 8*8 matrix encoded Journey.
5) increase hiding information " 123 " at this time, need " 000100100011 " totally 12 in n*n coefficient matrix Modulates information position hides into.
6), it is emphasized that without loss of generality, it is fixed choose or using random algorithm select as yellow in figure intermediate frequency ginseng Number regions as coded object, without loss of generality, from the parameter position 15-26, the second position set of Selecting All Parameters value represent two into It makes (0), parameter value second position invariant representation (1)bin.Whole noise is introduced in symbol full figure at this point, being equivalent to.It needs Illustrate, a parameter high position here should be 0, therefore the error introduced herein will not occur in normal cataloged procedure.
7) after, according to the inverse operation of coding, quantization, IDCT and image synthesis, the symbol before being converted into printing are carried out Image, which is output to, generates system print generation.There are few difference with unmodulated Chinese letter co symbol for modulated Chinese letter co symbol, adopt The symbol can be accurately printed with existing printing technology (laser printing etc.).
8) when carrying out Chinese letter co recognition, by the recognizing apparatus that mobile phone etc. is general, since relevant modulation influence is smaller, Therefore Chinese letter co still can be distinguished normally, unaffected.
9) using dedicated high-resolution verifying equipment (dedicated recognizer), Chinese letter co glyph image is acquired after carrying out uniform light filling And distinguish after, then in original image (according to Chinese letter co recognition during determine coordinate-system) obtain symbol figure into It,, will by Chinese letter co symbol according to process identical with generating process after being divided into individual Chinese letter co symbol after row edge detection Fixed or revocable hiding information extracts, and can obtain 000100100011 binary sequence, be encoded according to BCD, can be with Obtaining its hiding information is " 123 ".
It should be noted that doing following theory for a kind of hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides It is bright:
1) generate plaintext Chinese letter co (two dimensional code) symbol according to standard method, to the information content of two dimensional code (Chinese letter co), Module position, module arrangement content are recorded in detail.The process can be completed by the two dimensional code generating algorithm of standard.
2) relevant cipher-text information is added on Chinese letter co (or other two dimensional code code systems) symbol using a variety of methods; Wherein, main method includes the information superposition method for transformation and symbol recognition processing method of symbol frequency domain.The information superposition of frequency domain It is how more efficient when method is referred to the symbol area of Chinese letter co using the frequency domain after orthogonal transformation as hiding information bearing mode More hidden stores relevant verification information in two-dimensional code symbol.
The method that can be used includes:
(1) color decomposition (RGB or YCbCr) or gray scale conversion are carried out for glyph image, is classified as one or more Two dimensional image.
(2) orthogonal transformation is carried out for glyph image, symbol is transformed into frequency domain, obtains frequency domain parameter matrix.Herein may be used The method of use has very much, mainly can be using current all kinds of general Discrete Fourier Transform, DCT and all kinds of small Wave conversion.
(3) it after hiding information being needed to carry out specific coding, is hidden into frequency domain parameter by specific method.
First to needing hiding information to encode, hiding information can be the information with stored in clear in two dimensional code A unrelated segment information, is also possible to a segment information relevant to the information stored in two dimensional code, such as the segment information is all kinds of Digital signature etc..All kinds of codings such as BCD can be used according to the difference of relevant information content length and symbol size, meanwhile, For guarantee information availability, can add after the segment information check character, CRC character or use simple error correction character into Row protection.
Currently used hidden method, it is main to be carried out using the characteristics of converting the parameter matrix of frequency domain, such as in majority Matrix element first place and second be zero etc., by hiding information it is encoded after be hidden into parameter matrix, the side that can be used Method has extreme higher position 1, the 2nd position 1 etc..
To guarantee to distinguish effect, symbol precoding can be carried out after carrying out relevant parameter adjustment, using common apparatus It is distinguished and excessively causes the symbol property distinguished to decline to avoid the noise of introducing, finally selected optimum parameter and hide side Formula.
(4) according to correlation matrix quantization, the inverse operation of frequency-domain transform, relevant parameter matrix conversion is returned to original X-Y scheme Pictograph number, and finally synthesize for printing symbol.
3) cleartext information that Chinese letter co (two dimensional code) is obtained using general recognition software and recognition system, to two dimensional code The information content, module position, the module arrangement content of (Chinese letter co) are recorded in detail.The process and general two dimension code reading Process is identical, is distinguished using relevant common apparatus or general (mobile phone) software.
4) information verification process is part important in the scheme of the offer of the embodiment of the present invention 1, to guarantee accurately to test Card, verifying system should ensure that uniform illumination, and imaging system should ensure that the imaging pixel number of each module is no less than 5*5 picture Element.
(1) Chinese letter co (two dimensional code) cleartext information is found and distinguished to verifying system according to code system recognition algorithm in visual field, The information content, module position, module the arrangement content of two dimensional code (Chinese letter co) are recorded in detail.
(2) the high resolution graphics of acquisition and Chinese letter co recognition as a result, the position coordinates established according to recognition algorithm Establish coordinate system, Chinese letter co symbol cutting be independent pictorial symbol, and carry out relevant affine transformation to symbol standard Position.
(3) according to the difference of verifying default, picture breakdown and positive alternation are carried out according to mode identical when generating It changes, in the frequency domain of symbol, according to hiding information corresponding with information concealing method extraction corresponding when generating.
(4) cipher-text information bit stream is reduced to cipher-text information according to the algorithm for inversion of ciphertext encryption algorithm, and carry out verification and Error-correction operation restores original hiding information.
In conclusion a kind of hidden method for two-dimensional barcode information that the embodiment of the present invention 1 provides, has below beneficial to effect Fruit:
1. really can effectively accomplish to hide two-dimensional barcode information, hiding two-dimensional barcode information is hidden in frequency domain letter In breath, and hiding two-dimensional barcode information is not easy to be cracked.
2. realizing open two dimensional code to be perfectly combined with what secret information carried.
3. underground information realization Information hiding, it is common image beautification or printing image error that attacker, which will be considered that, The problems such as, it is invisible that two-dimensional barcode information security attack, which is dissolved,.
Embodiment 2
Embodiment according to the present invention 2 additionally provides a kind of concealing device of two-dimensional barcode information, as shown in fig. 7, being this hair A kind of concealing device for two-dimensional barcode information that bright embodiment 2 provides, described device include obtaining module 701, conversion process module 702 and conversion module 703.
Specifically, obtaining module 701, original two-dimensional code figure and information to be concealed are obtained;
Conversion process module 702, according to preset frequency-region signal transformation model, to the acquisition collected two dimension of module 701 Code figure carries out corresponding frequency-region signal conversion process, the frequency-region signal after obtaining conversion process;
Conversion module 703 converts corresponding figure for the frequency-region signal after 702 conversion process of conversion process module and accords with Number, wherein information superposition to be concealed is stored in corresponding graphical symbol.
Part in the partial content in scheme that the embodiment of the present invention 2 provides and the scheme of the offer of the embodiment of the present invention 1 The same or similar part of content, please be referring to the description of the corresponding portion for the embodiment of the present invention 1, and details are not described herein.
In conclusion a kind of concealing device for two-dimensional barcode information that the embodiment of the present invention 2 provides, has below beneficial to effect Fruit:
1. really can effectively accomplish to hide two-dimensional barcode information, hiding two-dimensional barcode information is hidden in frequency domain letter In breath, and hiding two-dimensional barcode information is not easy to be cracked.
2. realizing open two dimensional code to be perfectly combined with what secret information carried.
3. underground information realization Information hiding, it is common image beautification or printing image error that attacker, which will be considered that, The problems such as, it is invisible that two-dimensional barcode information security attack, which is dissolved,.
Embodiment 3
Embodiment according to the present invention 3, additionally provides a kind of electronic equipment, and the electronic equipment includes: memory and place Device is managed, the processor and the memory complete mutual communication by bus;The memory is stored with can be described The program instruction that processor executes, the processor call described program instruction to be able to carry out following method: obtaining original two-dimensional Code figure and information to be concealed;According to preset frequency-region signal transformation model, corresponding frequency domain letter is carried out to two-dimension code pattern Number conversion process, the frequency-region signal after obtaining conversion process;Corresponding figure symbol is converted by the frequency-region signal after conversion process Number, wherein information superposition to be concealed is stored in corresponding graphical symbol.
Part in the partial content in scheme that the embodiment of the present invention 3 provides and the scheme of the offer of the embodiment of the present invention 1 The same or similar part of content, please be referring to the description of the corresponding portion for the embodiment of the present invention 1, and details are not described herein.
In conclusion a kind of electronic equipment that the embodiment of the present invention 3 provides, has the advantages that
1. really can effectively accomplish to hide two-dimensional barcode information, hiding two-dimensional barcode information is hidden in frequency domain letter In breath, and hiding two-dimensional barcode information is not easy to be cracked.
2. realizing open two dimensional code to be perfectly combined with what secret information carried.
3. underground information realization Information hiding, it is common image beautification or printing image error that attacker, which will be considered that, The problems such as, it is invisible that two-dimensional barcode information security attack, which is dissolved,.
Embodiment 4
Embodiment according to the present invention 4 additionally provides a kind of computer readable storage medium, is stored thereon with computer journey Sequence, the computer program realize following method and step when being executed by processor: obtaining original two-dimensional code figure and to be concealed Information;According to preset frequency-region signal transformation model, corresponding frequency-region signal conversion process is carried out to two-dimension code pattern, is become The frequency-region signal that changes that treated;Corresponding graphical symbol is converted by the frequency-region signal after conversion process, wherein letter to be concealed Breath superposition is stored in corresponding graphical symbol.
Part in the partial content in scheme that the embodiment of the present invention 4 provides and the scheme of the offer of the embodiment of the present invention 1 The same or similar part of content, please be referring to the description of the corresponding portion for the embodiment of the present invention 1, and details are not described herein.
In conclusion a kind of computer readable storage medium that the embodiment of the present invention 4 provides, has the advantages that
1. really can effectively accomplish to hide two-dimensional barcode information, hiding two-dimensional barcode information is hidden in frequency domain letter In breath, and hiding two-dimensional barcode information is not easy to be cracked.
2. realizing open two dimensional code to be perfectly combined with what secret information carried.
3. underground information realization Information hiding, it is common image beautification or printing image error that attacker, which will be considered that, The problems such as, it is invisible that two-dimensional barcode information security attack, which is dissolved,.
Although above having used general explanation and specific embodiment, the present invention is described in detail, at this On the basis of invention, it can be made some modifications or improvements, this will be apparent to those skilled in the art.Therefore, These modifications or improvements without departing from theon the basis of the spirit of the present invention are fallen within the scope of the claimed invention.

Claims (10)

1. a kind of hidden method of two-dimensional barcode information characterized by comprising
Obtain original two-dimensional code figure and information to be concealed;
According to preset frequency-region signal transformation model, corresponding frequency-region signal conversion process is carried out to the two-dimension code pattern, is obtained Frequency-region signal after to conversion process;
Corresponding graphical symbol is converted by the frequency-region signal after conversion process, wherein the information superposition storage to be concealed In corresponding graphical symbol.
2. the method according to claim 1, wherein carrying out corresponding frequency-region signal change to the two-dimension code pattern Change the information loading method that processing mode includes: frequency domain transform mode, the modulation system of high-frequency signal, high-frequency signal.
3. according to the method described in claim 2, it is characterized in that, the frequency domain transform mode is to be become using Fourier or DCT It changes.
4. according to the method described in claim 2, it is characterized in that, the frequency domain transform mode can also using D system small echo, Each wavelet-like transform such as Haar system or other orthogonal function bases are as frequency domain transfer functions.
5. according to the method described in claim 2, it is characterized in that, the method also includes:
The high-frequency signal is modulated accordingly according to pre-set high-frequency signal parameter logistic, obtains modulated letter Number, wherein it can be corresponding for characterizing image according to the corresponding coefficient distributed intelligence of image frequency domainization and/or image frequency domainization The decoding information that whether two dimensional code can normally decode after frequency domain, after being adjusted correspondingly to the high-frequency signal parameter, Obtain modulated signal.
6. the method according to claim 1, wherein the method also includes:
Verification is increased to the information to be concealed or code word is protected in error correction, the hiding two-dimensional barcode information is carried out with facilitating Restore.
7. according to the method described in claim 6, it is characterized in that, carrying out verification or error correction use to the information to be concealed Mode include at least with the next item down:
The hiding two-dimensional barcode information is verified using parity check code;
The hiding two-dimensional barcode information is verified using CRC check code;
Error correction is carried out using Bose-Chaudhuri Hocquenghem error correction codes to the hiding two-dimensional barcode information;
Error correction is carried out using LDCP code to the hiding two-dimensional barcode information;
Error correction is carried out using RS code to the hiding two-dimensional barcode information.
8. a kind of concealing device of two-dimensional barcode information characterized by comprising
Module is obtained, original two-dimensional code figure and information to be concealed are obtained;
Conversion process module, according to preset frequency-region signal transformation model, the two dimensional code collected to the acquisition module Figure carries out corresponding frequency-region signal conversion process, the frequency-region signal after obtaining conversion process;
Conversion module, by the conversion process block transforms, treated that frequency-region signal is converted into corresponding graphical symbol, wherein The information superposition to be concealed is stored in corresponding graphical symbol.
9. a kind of electronic equipment characterized by comprising
Memory and processor, the processor and the memory complete mutual communication by bus;The memory It is stored with the program instruction that can be executed by the processor, the processor calls described program instruction to be able to carry out right such as and wants Seek 1 to 7 any method.
10. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program The step of the method as any such as claim 1 to 7 is realized when being executed by processor.
CN201910041750.6A 2019-01-16 2019-01-16 A kind of hidden method of two-dimensional barcode information, device, electronic equipment and storage medium Pending CN109816077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910041750.6A CN109816077A (en) 2019-01-16 2019-01-16 A kind of hidden method of two-dimensional barcode information, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910041750.6A CN109816077A (en) 2019-01-16 2019-01-16 A kind of hidden method of two-dimensional barcode information, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109816077A true CN109816077A (en) 2019-05-28

Family

ID=66604479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910041750.6A Pending CN109816077A (en) 2019-01-16 2019-01-16 A kind of hidden method of two-dimensional barcode information, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109816077A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111723593A (en) * 2020-06-19 2020-09-29 中国科学院微电子研究所 A barcode positioning method and positioning device
CN112615975A (en) * 2020-12-16 2021-04-06 合肥图溯信息技术有限公司 Scanning method, storage medium, electronic device, and scanning device
CN113177214A (en) * 2021-04-29 2021-07-27 百度在线网络技术(北京)有限公司 Image publishing and auditing method, related device and computer program product
CN116993369A (en) * 2023-04-18 2023-11-03 浙江微特码信息技术有限公司 Method for generating characteristic key of micro-code and method for checking micro-code
EP4360901A1 (en) * 2022-06-08 2024-05-01 Polska Wytwornia Papierow Wartosciowych S.A. A security element and a data carrier

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014239A (en) * 2009-09-08 2011-04-13 周岩 High-capacity steganographic method based on JPEG (Joint Photographic Experts Group) digital image
CN104063731A (en) * 2014-04-28 2014-09-24 长沙佐世网络科技有限公司 Two-dimension code anti-counterfeiting printing and verification method adopting digital watermark technology
WO2014146296A1 (en) * 2013-03-22 2014-09-25 深圳市快播科技有限公司 Method and device for embedding and decoding invisible information in digital image
CN105095936A (en) * 2015-07-22 2015-11-25 黄鹤南 Image two-dimension code based on information hiding, generation method and system thereof
CN106447590A (en) * 2016-10-11 2017-02-22 华南理工大学 Watermark adding and extraction method in digital image
CN106791872A (en) * 2016-11-18 2017-05-31 南京邮电大学 Information concealing method based on SVD
CN106815544A (en) * 2017-01-16 2017-06-09 武汉大学 A kind of information concealing method based on Quick Response Code
CN108108794A (en) * 2017-12-07 2018-06-01 北京大学 A kind of visual information Enhancement Method and system hidden based on image in 2 D code
CN108345925A (en) * 2017-01-24 2018-07-31 北京大码技术有限公司 Generation, reading method and the device of composite type two-dimensional code
CN112597509A (en) * 2020-12-03 2021-04-02 华南师范大学 Information hiding method and system fusing wavelet and self-encoder

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014239A (en) * 2009-09-08 2011-04-13 周岩 High-capacity steganographic method based on JPEG (Joint Photographic Experts Group) digital image
WO2014146296A1 (en) * 2013-03-22 2014-09-25 深圳市快播科技有限公司 Method and device for embedding and decoding invisible information in digital image
CN104063731A (en) * 2014-04-28 2014-09-24 长沙佐世网络科技有限公司 Two-dimension code anti-counterfeiting printing and verification method adopting digital watermark technology
CN105095936A (en) * 2015-07-22 2015-11-25 黄鹤南 Image two-dimension code based on information hiding, generation method and system thereof
CN106447590A (en) * 2016-10-11 2017-02-22 华南理工大学 Watermark adding and extraction method in digital image
CN106791872A (en) * 2016-11-18 2017-05-31 南京邮电大学 Information concealing method based on SVD
CN106815544A (en) * 2017-01-16 2017-06-09 武汉大学 A kind of information concealing method based on Quick Response Code
CN108345925A (en) * 2017-01-24 2018-07-31 北京大码技术有限公司 Generation, reading method and the device of composite type two-dimensional code
CN108108794A (en) * 2017-12-07 2018-06-01 北京大学 A kind of visual information Enhancement Method and system hidden based on image in 2 D code
CN112597509A (en) * 2020-12-03 2021-04-02 华南师范大学 Information hiding method and system fusing wavelet and self-encoder

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111723593A (en) * 2020-06-19 2020-09-29 中国科学院微电子研究所 A barcode positioning method and positioning device
CN111723593B (en) * 2020-06-19 2024-05-10 中国科学院微电子研究所 Bar code positioning method and positioning device
CN112615975A (en) * 2020-12-16 2021-04-06 合肥图溯信息技术有限公司 Scanning method, storage medium, electronic device, and scanning device
CN112615975B (en) * 2020-12-16 2022-07-22 合肥图溯信息技术有限公司 Scanning method, storage medium, electronic device, and scanning device
CN113177214A (en) * 2021-04-29 2021-07-27 百度在线网络技术(北京)有限公司 Image publishing and auditing method, related device and computer program product
EP4360901A1 (en) * 2022-06-08 2024-05-01 Polska Wytwornia Papierow Wartosciowych S.A. A security element and a data carrier
EP4360900A1 (en) * 2022-06-08 2024-05-01 Polska Wytwornia Papierow Wartosciowych S.A. A method for securing a data carrier
CN116993369A (en) * 2023-04-18 2023-11-03 浙江微特码信息技术有限公司 Method for generating characteristic key of micro-code and method for checking micro-code
CN116993369B (en) * 2023-04-18 2024-05-31 浙江微特码信息技术有限公司 Method for generating characteristic key of micro-code and method for checking micro-code

Similar Documents

Publication Publication Date Title
Tkachenko et al. Two-level QR code for private message sharing and document authentication
CN109816077A (en) A kind of hidden method of two-dimensional barcode information, device, electronic equipment and storage medium
CN102184428B (en) Encrypting anti-counterfeiting printing technology for modulating shapes of amplitude modulation dots of printed work through binary-system encrypting signal
KR102235215B1 (en) Augmenting barcodes with secondary encoding for anti-counterfeiting
Majumder et al. Singular value decomposition and wavelet‐based iris biometric watermarking
CN105718981B (en) A kind of processing method preparing New Two Dimensional code image holographic false proof label
CN110766594B (en) Information hiding method and device, detection method and device and anti-counterfeiting tracing method
CN104766113B (en) A kind of light and shade code anti-fake label and its method for anti-counterfeit
CN102225671A (en) Encrypted Anti-counterfeiting Printing Technology Using Double Encrypted Signals to Modulate the Shape of AM Dots in Printed Matters
CN110516775B (en) User secret information hiding method based on QR code
CN110222800A (en) A kind of two-dimension code anti-counterfeit mark image and its recognition methods based on dot matrix
CN106934440B (en) Method and system for embedding information into coded information
CN109840574B (en) Two-dimensional code information hiding method and device, electronic equipment and storage medium
CN106934756B (en) Method and system for embedding information in single-color or special-color image
CN107203798B (en) A kind of generation and recognition methods limiting access type figure ground two dimensional code
Dutta et al. An efficient and secure digital image watermarking using features from iris image
CN105427234A (en) Sharing method and sharing system for WIFI password
Li et al. An improvement for PDF417 code authentication on mobile phone terminals based on code feature analysis and watermarking
Juan et al. Graphic QR code with the second hidden QR code by codeword rearrangement
Erlangga et al. Increasing Secret Data Hiding Capacity in QR Code Using Subcells
Zhou et al. A QR data hiding method based on redundant region and BCH
Chen et al. Physical anti-copying semi-robust random watermarking for qr code
CN117499551B (en) Encryption anti-counterfeiting printing method based on binary signals
CN202795404U (en) Device for detecting anti-counterfeit information of printed matters
CN109829844B (en) Information hiding method and device based on two-dimension code and electronic equipment

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: 20190528