CN102622630A - Method for storing private data by aid of quick response (QR) codes - Google Patents

Method for storing private data by aid of quick response (QR) codes Download PDF

Info

Publication number
CN102622630A
CN102622630A CN2012100450288A CN201210045028A CN102622630A CN 102622630 A CN102622630 A CN 102622630A CN 2012100450288 A CN2012100450288 A CN 2012100450288A CN 201210045028 A CN201210045028 A CN 201210045028A CN 102622630 A CN102622630 A CN 102622630A
Authority
CN
China
Prior art keywords
private data
sign indicating
indicating number
data
length
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
CN2012100450288A
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.)
Nanjing University
Original Assignee
Nanjing University
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 Nanjing University filed Critical Nanjing University
Priority to CN2012100450288A priority Critical patent/CN102622630A/en
Publication of CN102622630A publication Critical patent/CN102622630A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for storing private data by aid of quick response (QR) codes, which includes the following steps: (a) determining the version number of the QR codes according to the total length of non-private data and private data; (b) storing the non-private data into the QR codes according to coding mode of the QR codes and filling in stop character 0000; (c) storing the private data; and (d) storing length data of the private data in positioning images of a QR code functional area. The method uses a data storage area not used in the QR codes to store the private data, is completely compatible with common decoders, writes in the private data, and simultaneously corrects the length of the private data in the functional area.

Description

A kind of method of utilizing the QR sign indicating number to store private data
Technical field
The present invention relates to a kind of private data storage means, and particularly relevant for a kind of method of utilizing the QR sign indicating number to store private data.
Background technology
Planar bar code technology begins to occur from eighties of last century the end of the eighties, and it is big that two-dimension code comprises information capacity, is that bar code can not be accomplished, through more than 20 years apply, has brought into play enormous function in the information management and the message exchange field of a lot of industries.
Also in fast development, the QR sign indicating number is the two-dimensional bar code of national standard definition in domestic two-dimension code market.The bar code standard that the QR sign indicating number is recommended as official of China Mobile was just included China Mobile's data portion in as far back as 2004 and is got business plan, formulated China Mobile's company standard in the end of the year 2005, included the China Mobile terminal in 2006 and preset planning.At present, also begin to occur the figure of QR sign indicating number on the domestic train ticket, believe that two-dimension code can obtain vigorously to develop at home.
But, existing QR sign indicating number possibly need to have some private datas of not allowing domestic consumer to read under certain applications, and can't accomplish under the common Q R sign indicating number generating mode.
Summary of the invention
For overcoming above-mentioned shortcoming, the invention provides the method that a kind of QR of utilization sign indicating number stores private data, utilize in the QR sign indicating number untapped data storage areas to store private data.
For reaching above-mentioned purpose, the present invention proposes the method that a kind of QR of utilization sign indicating number stores private data, comprises the following steps:
A) confirm the version number of QR sign indicating number according to the total length of non-private data and private data;
B) according to QR sign indicating number coded system non-private data is deposited in the QR sign indicating number, insert full stop 0000;
C) storage private data;
D) length data of private data is deposited in the positioning pattern in QR code function district of functional areas.
Further, the method for the QR of utilization sign indicating number storage private data of the present invention deposits the length data of private data in the positioning pattern of functional areas in.Positioning pattern has two, carries out repeated and redundant one time.
And the present invention also carries out error correction calculations to the length data of private data itself: the version number of QR sign indicating number is 1 o'clock, does not carry out error correction; The version number of QR sign indicating number is 2 o'clock, carries out parity checking; The version number of QR sign indicating number is 3 and when above, uses BCH (15,4) to carry out error correction calculations.How to utilize parity check sum BCH (15,4) that data are carried out error correction, in this area, have and belong to common practise the people of common knowledge, be not described in detail at this.
Beneficial effect of the present invention is following: this method utilizes in the QR sign indicating number untapped data storage areas to store private data, and common demoder can't be read private data, and non-private data then can normally be read by common demoder simultaneously.So both complete compatible common demoder has write private data again.In addition, the present invention can also carry out extra error correction to the length of private data.
Description of drawings
The QR sign indicating number that utilizes for the embodiment of the invention shown in Figure 1 stores the process flow diagram of the method for private data.
Shown in Figure 2 is the QR sign indicating number that generates according to the inventive method, and common decoder software can only be read non-private data, can read private data according to this method coding inverse process decoding software.
Embodiment
In order more to understand technology contents of the present invention, special act specific embodiment also cooperates appended graphic explanation following.
In QR sign indicating number cataloged procedure, when having confirmed version number and error-correction level, so can data quantity stored in the QR sign indicating number be to confirm, this has in this area and belongs to common practise the people of common knowledge, repeats no more at this.And often the user needs the capacity of data quantity stored less than the storage of QR sign indicating number, and so additional space just can be used as other purposes.The present invention is exactly that private data is stored in this part space, have only specific demoder just can read private data, and existing common decipher can only be read non-private data.
In original QR sign indicating number, the bit stream of each schema section need be linked in sequence together, adds full stop at last, only if data bit stream just in time fills up QR code sign capacity.The data bit stream of gained will be divided into code word one by one; The length of all code words all is 8, if 8 of last code word less thaies of bit stream length, then using binary value is that 0 filler is filled to 8, and filler should be added in the back of data bit stream last 1 (lowest order).Alternately add then and fill code word 11101100 and 00010001, with the data bit stream expansion, to fill up the data capacity of symbol.
The present invention utilizes in the QR sign indicating number untapped data storage areas to store private data, and the QR sign indicating number that utilizes for the embodiment of the invention shown in Figure 1 stores the process flow diagram of the method for private data.Idiographic flow is following:
Elder generation confirms the version number of QR sign indicating number according to the total length of the data of required storage; The data of need storage are carried out segmentation according to non-private data and private data; Coding method according to common Q R sign indicating number deposits non-private data in the QR sign indicating number in, inserts 40 full stop; Then storing private data, is byte stream with the bit stream translation of private data, and wherein, private data can also can be stored with encrypted form with non-encrypted form.Length data with private data deposits in the positioning pattern in QR code function district at last, can obtain QR code sign data like this.
Further, present embodiment can also carry out error correction calculations to the length data of private data itself, thus the error correcting code of obtaining.When the version number of QR sign indicating number is 2, carry out parity checking; The version number of QR sign indicating number is 3 and when above, uses BCH (15,4) to carry out error correction calculations.Have only when the version number of QR sign indicating number is 1, do not carry out error correction.
This method utilizes in the QR sign indicating number untapped data storage areas to store private data, and common demoder can't be read private data, and non-private data then can normally be read by common demoder simultaneously.So both complete compatible common demoder has write private data again.In addition, the present invention can also carry out extra error correction to the length of private data.
Though the present invention discloses as above with preferred embodiment, so it is not in order to limit the present invention.Have common knowledge the knowledgeable in the technical field under the present invention, do not breaking away from the spirit and scope of the present invention, when doing various changes and retouching.Therefore, protection scope of the present invention is as the criterion when looking claims person of defining.

Claims (6)

1. a method of utilizing the QR sign indicating number to store private data is characterized in that, comprises the following steps:
A) confirm the version number of QR sign indicating number according to the total length of non-private data and private data;
B) according to QR sign indicating number coded system non-private data is deposited in the QR sign indicating number, insert full stop 0000;
C) storage private data;
D) length data with private data deposits in the positioning pattern in QR code function district.
2. the method for utilizing the QR sign indicating number to store private data according to claim 1 is characterized in that wherein QR sign indicating number version number is in the step a) at 1 o'clock, and the length data in the step d) is not carried out error correction.
3. the method for utilizing the QR sign indicating number to store private data according to claim 1 is characterized in that wherein QR sign indicating number version number is in the step a) at 2 o'clock, uses parity checking to carry out error correction to the length data in the step d).
4. the method for utilizing the QR sign indicating number to store private data according to claim 1 is characterized in that, wherein QR sign indicating number version number is 3 and when above in the step a), uses BCH (15,4) to carry out error correction to the length data in the step d).
5. the method for utilizing the QR sign indicating number to store private data according to claim 1 is characterized in that wherein private data is stored with encryption or unencrypted mode in the step c).
6. the method for utilizing the QR sign indicating number to store private data according to claim 1 is characterized in that positioning pattern quantity is 2 in the step d) functional areas, twice of private data length information repeated storage.
CN2012100450288A 2012-02-24 2012-02-24 Method for storing private data by aid of quick response (QR) codes Pending CN102622630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100450288A CN102622630A (en) 2012-02-24 2012-02-24 Method for storing private data by aid of quick response (QR) codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100450288A CN102622630A (en) 2012-02-24 2012-02-24 Method for storing private data by aid of quick response (QR) codes

Publications (1)

Publication Number Publication Date
CN102622630A true CN102622630A (en) 2012-08-01

Family

ID=46562540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100450288A Pending CN102622630A (en) 2012-02-24 2012-02-24 Method for storing private data by aid of quick response (QR) codes

Country Status (1)

Country Link
CN (1) CN102622630A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414695A (en) * 2013-07-18 2013-11-27 天津爱迪尔软件开发有限公司 Compressing and encrypting method for QR codes
CN110991591A (en) * 2020-03-03 2020-04-10 支付宝(杭州)信息技术有限公司 Two-dimensional code encoding and decoding method and device, encoding equipment and decoding equipment
US11588901B2 (en) 2017-11-30 2023-02-21 Teledyne Flir Detection, Inc. Detection results communication systems and methods

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414695A (en) * 2013-07-18 2013-11-27 天津爱迪尔软件开发有限公司 Compressing and encrypting method for QR codes
US11588901B2 (en) 2017-11-30 2023-02-21 Teledyne Flir Detection, Inc. Detection results communication systems and methods
CN110991591A (en) * 2020-03-03 2020-04-10 支付宝(杭州)信息技术有限公司 Two-dimensional code encoding and decoding method and device, encoding equipment and decoding equipment

Similar Documents

Publication Publication Date Title
CN106815544B (en) A kind of information concealing method based on two dimensional code
CN103336785B (en) A kind of distributed storage method based on network code and device thereof
CN109409030A (en) A kind of digital publishing rights generation method and device
CN104115126A (en) Multi-phase ecc encoding using algebraic codes
TW201025346A (en) Flash memory controller, error correction code controller therein, and the methods and systems thereof
CN105338035B (en) Method for secure storing and device based on RS correcting and eleting codes
CN103049777A (en) Security application method for two-dimension code and encoding/decoding system
CN103997406B (en) Identity identifying method and device based on two dimensional code
CN103400173A (en) Generating method and reading method of two-dimensional code containing private information
CN104200171B (en) A kind of Virtual File System based on Information hiding
CN110533572A (en) A kind of watermark embedding method, system and relevant apparatus
CN105808170A (en) RAID6 (Redundant Array of Independent Disks 6) encoding method capable of repairing single-disk error by minimum disk accessing
CN102622630A (en) Method for storing private data by aid of quick response (QR) codes
CN104484126A (en) Safe data deleting method and system based on erasure codes
CN104601563A (en) MLE-based (message-locked encryption-based) publicly accessible cloud storage data procession checking method
CN111062456A (en) Two-dimensional code encryption algorithm
CN102568608B (en) Improved method for strengthening QR (Quick Response) code error correcting capability
CN103544790B (en) The treatment process of a kind of invoice tax control data
Zhu et al. Exploring node repair locality in fractional repetition codes
CN104715442A (en) Hamming-code-based quantum image watermarking method
CN112668017B (en) Construction method, decryption method and device of self-explanatory encryption card
US10853609B2 (en) Hybrid two-dimensional barcode reader
CN104281632B (en) Coding-decoding method and system based on Object Protocol mapping
CN106156655A (en) The compressing file of a kind of facing cloud storage and authentication method
CN105630425A (en) Data management method and device as well as terminal

Legal Events

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

Application publication date: 20120801