CN106250956A - According to the interval method and system generating Quick Response Code with the information of appointment of selected code value - Google Patents
According to the interval method and system generating Quick Response Code with the information of appointment of selected code value Download PDFInfo
- Publication number
- CN106250956A CN106250956A CN201610619678.7A CN201610619678A CN106250956A CN 106250956 A CN106250956 A CN 106250956A CN 201610619678 A CN201610619678 A CN 201610619678A CN 106250956 A CN106250956 A CN 106250956A
- Authority
- CN
- China
- Prior art keywords
- information
- code value
- interval
- code
- quick response
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06037—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/907—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Storage Device Security (AREA)
Abstract
A kind of interval method generating Quick Response Code with appointment information of code value that the present invention provides basis selected, comprise the following steps: according to the quantity of the Quick Response Code of required generation, interval to mark off code value in code value data base, and several code value information included in code value interval are ranked up;Extract each the code value information in code value interval, after the code value extracted information and appointment information are associated binding, to form binding information;To generate Quick Response Code after binding information is encrypted.Implement the system of said method, specifically include that code value interval division device, code value extraction element, association binding device, encryption device and Quick Response Code generating means.The present invention can be according to the Quick Response Code quantity of required generation, the code value interval including corresponding code value quantity is marked off in code value data base, owing in code value data base, code value information storage room is continuous distribution, therefore, it is simple to be rapidly completed the sequence of residue code value information in code value data base.
Description
Technical field
The present invention relates to a kind of two-dimensional code generation method, code value interval and the information of appointment that a kind of basis is selected are raw
Become the method and system of Quick Response Code.
Background technology
At present, when generating Quick Response Code, need the code value information extracted successively in code value data base, to be believed by this code value
Breath generates corresponding Quick Response Code.But, when Quick Response Code quantity to be generated is more, the pointer in code value data base is extracting
It may happen that jump during the code value information of respective numbers, it is impossible to according to order successively to extract the code value letter of respective numbers
Breath, after to code value information retrieval, just will certainly cause the confusion of code value storage position information in code value data base, although
Room can be stored with the code value information in blanking code Value Data storehouse by the way of sequence, but, if code value information storage sky
Position is all, also cannot to be rapidly completed the sequence of residue code value information in code value data base if distribution in jumping mode.
Summary of the invention
For weak point present in the problems referred to above, the present invention provides one can solve owing to code value information is missed
Cause the interval side with appointment information generation Quick Response Code according to selected code value of generated Quick Response Code quantity inconsistence problems
Method and system.
For achieving the above object, the code value that the present invention provides a kind of basis selected is interval and appointment information generates Quick Response Code
Method, comprises the following steps:
Step 1, quantity according to the Quick Response Code of required generation, interval to mark off code value in code value data base, and
Several code value information included in code value interval are ranked up;
Step 2, each the code value information extracted in code value interval, entering the code value extracted information with appointment information
After row association binding, to form binding information;
Step 3, binding information is encrypted after to generate Quick Response Code.
The method that above-mentioned and specify information interval according to selected code value generates Quick Response Code, wherein, in step 2, bag
Include following sub-step:
Step 21, according to code value information in the interval order of code value, to extract each code value in code value interval successively
Information;
Step 22, the code value information extracted and appointment information are associated binding, to be formed by code value information and finger
Determine the binding information that information is formed.
The method that above-mentioned and specify information interval according to selected code value generates Quick Response Code, wherein, in step 3, bag
Include following sub-step:
Step 31, the current time formed according to binding information, be encrypted binding information calling AES,
Confidential information is added to generate;
Step 32, binding information is arranged with adding confidential information, to form information group;
Step 33, information group input Quick Response Code is generated in interface, to generate the Quick Response Code corresponding with information group.
The method that above-mentioned and specify information interval according to selected code value generates Quick Response Code, wherein, in step 31, adds
Close algorithm include des encryption algorithm, 3DES AES, TEA AES, XTEA AES, RC4 AES,
PANAMA AES, Twofish AES, CAST-128 AES, CAST-256 AES, md5 encryption algorithm
Encrypt with enigma.
The method that above-mentioned and specify information interval according to selected code value generates Quick Response Code, wherein, to binding information
Before being encrypted operation, in addition it is also necessary to according to the quantity of AES to mark off the time zone identical with its quantity by 00~59 second
Between section.
The present invention also provides for the interval system generating Quick Response Code with appointment information of the selected code value of a kind of basis, including: code
Value interval division device, code value extraction element, association binding device, encryption device and Quick Response Code generating means;
Described code value interval division device is for the quantity of the Quick Response Code according to required generation, with in code value data base
The code value marking off the code value information including specified quantity is interval;
Described code value extraction element is for extracting each the code value information in code value interval;
Described association binding device, for the code value information extracted and appointment information are associated binding, is tied up to be formed
Determine information;
Described encryption device is for the current time formed according to binding information, to call AES to binding information
It is encrypted, adds confidential information to generate;
Described Quick Response Code generating means is for according to including binding information with the information group adding confidential information to generate two dimension
Code.
Above-mentioned system, wherein, also includes code value collator, for arranging code value information all in code value interval
Sequence, so that all code value information arrange in order in code value interval.
Above-mentioned system, wherein, also includes that the time divides device, is used for the quantity according to AES with by 00~59 second
Mark off the time interval section identical with its quantity.
Above-mentioned system, wherein, also includes AES selecting apparatus, is used for according to current time to inquire and its phase
Corresponding AES.
Compared with prior art, the invention have the advantages that
The present invention can mark off include corresponding code value according to the Quick Response Code quantity of required generation in code value data base
The code value of quantity is interval, owing in code value data base, code value information storage room is continuous distribution, therefore, it is simple to be rapidly completed
To the sequence of residue code value information in code value data base;
Owing to the code value information content included in code value interval is identical with Quick Response Code quantity to be generated, therefore, can
The problem solving to cause generated Quick Response Code quantity inconsistent owing to code value information is missed.
Accompanying drawing explanation
Fig. 1 is the flow chart of method part in the present invention.
Detailed description of the invention
As it is shown in figure 1, a kind of interval method generating Quick Response Code with appointment information of code value that the present invention provides basis selected,
Comprise the following steps:
Step 1, quantity according to the Quick Response Code of required generation, interval to mark off code value in code value data base, and
Several code value information included in code value interval are ranked up.
Wherein, according to ascending or descending order, code value information all of in code value interval can be arranged
Sequence.
Step 2, each the code value information extracted in code value interval, entering the code value extracted information with appointment information
After row association binding, to form binding information.
Concrete, in step 2, including following sub-step:
Step 21, according to code value information in the interval order of code value, to extract each code value in code value interval successively
Information;
Step 22, the code value information extracted and appointment information are associated binding, to be formed by code value information and finger
Determine the binding information that information is formed.
Wherein, binding information by code value information and is positioned at being formed of appointment information thereafter.
Before the position of code value information is arranged on appointment information, resolving to be tied up to the Quick Response Code generated
After determining information, need first code value information to be verified, judging that check results, as true time, can obtain the interior of appointment information
Hold.
Step 3, binding information is encrypted after to generate Quick Response Code.
Concrete, in step 3, including following sub-step:
Step 31, the current time formed according to binding information, be encrypted binding information calling AES,
Confidential information is added to generate.
Concrete, in step 31, AES include des encryption algorithm, 3DES AES, TEA AES,
XTEA AES, RC4 AES, PANAMA AES, Twofish AES, CAST-128 AES,
CAST-256 AES, md5 encryption algorithm are encrypted with enigma.
It addition, before code value information is encrypted operation, in addition it is also necessary to according to the quantity of AES with by 00~59 second
Mark off the time interval section identical with its quantity.
Such as: the 1st encryption segment is bound mutually with des encryption mode, the 2nd encryption segment is tied up mutually with 3DES cipher mode
Fixed, the 3rd encryption segment is bound mutually with TEA cipher mode, the 4th encryption segment is bound mutually with XTEA cipher mode, the 5th encryption
Segment and RC4 cipher mode bind mutually, the 6th encryption segment is bound mutually with PANAMA cipher mode, the 7th encryption segment with
Twofish cipher mode binds mutually, the 8th encryption segment is bound mutually with CAST-128 cipher mode, the 9th encryption segment and
CAST-256 cipher mode binds mutually, the 10th encryption segment is bound mutually with md5 encryption mode, the 11st encryption segment and
Enigma cipher mode is bound mutually.
Step 32, binding information is arranged with adding confidential information, to form information group.
Concrete, can by code value information with add confidential information can according to front and back or rear before mode arrange, to form letter
Breath group.
But, try not to arrange code value information according to hybrid mode with adding confidential information, therefore, be not easy to two dimension
Code obtains code value information after distinguishing.
Step 33, information group input Quick Response Code is generated in interface, to generate the Quick Response Code corresponding with information group.
The present invention also provides for the interval system generating Quick Response Code with appointment information of the selected code value of a kind of basis, including: code
Value interval division device, code value collator, code value extraction element, association binding device, time divide device, AES choosing
Determine device, encryption device and Quick Response Code generating means.
Code value interval division device is for the quantity of the Quick Response Code according to required generation, to divide in code value data base
The code value of the code value information going out to include specified quantity is interval.
Code value collator is for being ranked up code value information all in code value interval, so that all codes in code value interval
Value information arranges in order.
Wherein, according to ascending or descending order, code value information all of in code value interval can be arranged
Sequence.
Code value extraction element is for extracting each the code value information in code value interval.
Association binding device is for being associated binding by the code value information extracted and appointment information, to form binding letter
Breath.
Wherein, binding information by code value information and is positioned at being formed of appointment information thereafter.
Time divide device for before binding information is encrypted operation according to the quantity of AES with by 00~
Within 59 seconds, mark off the time interval section identical with its quantity.
Such as: the 1st encryption segment is bound mutually with des encryption mode, the 2nd encryption segment is tied up mutually with 3DES cipher mode
Fixed, the 3rd encryption segment is bound mutually with TEA cipher mode, the 4th encryption segment is bound mutually with XTEA cipher mode, the 5th encryption
Segment and RC4 cipher mode bind mutually, the 6th encryption segment is bound mutually with PANAMA cipher mode, the 7th encryption segment with
Twofish cipher mode binds mutually, the 8th encryption segment is bound mutually with CAST-128 cipher mode, the 9th encryption segment and
CAST-256 cipher mode binds mutually, the 10th encryption segment is bound mutually with md5 encryption mode, the 11st encryption segment and
Enigma cipher mode is bound mutually.
AES selecting apparatus is used for according to current time to inquire AES corresponding thereto.
Encryption device, for being encrypted binding information, adds confidential information to generate.
Wherein, AES include des encryption algorithm, 3DES AES, TEA AES, XTEA AES,
RC4 AES, PANAMA AES, Twofish AES, CAST-128 AES, CAST-256 AES,
Md5 encryption algorithm is encrypted with enigma.
Collating unit is for arranging binding information with adding confidential information, to form information group.
Concrete, can by binding information with add confidential information can according to front and back or rear before mode arrange, to form letter
Breath group.
But, try not to arrange code value information according to hybrid mode with adding confidential information, therefore, be not easy to two dimension
Code obtains code value information after distinguishing.
Information group input Quick Response Code is generated in interface by Quick Response Code generating means, to generate the two dimension corresponding with information group
Code.
The foregoing is only presently preferred embodiments of the present invention, be merely illustrative for invention, and nonrestrictive.
Those skilled in the art understands, it can be carried out many changes, revise in the spirit and scope that invention claim is limited,
Even equivalence, but fall within protection scope of the present invention.
Claims (9)
1., according to the interval method generating Quick Response Code with the information of appointment of selected code value, comprise the following steps:
Step 1, quantity according to the Quick Response Code of required generation, interval to mark off code value in code value data base, and to code
Several code value information included in value interval are ranked up;
Step 2, each the code value information extracted in code value interval, closing the code value extracted information with appointment information
After connection binding, to form binding information;
Step 3, binding information is encrypted after to generate Quick Response Code.
2. the method generating Quick Response Code according to and the information of appointment interval according to selected code value described in claim 1, it is special
Levy and be, in step 2, including following sub-step:
Step 21, according to code value information in the interval order of code value, to extract each code value information in code value interval successively;
Step 22, the code value information extracted and appointment information are associated binding, with formed by code value information with specify letter
The binding information that breath is formed.
3. the method generating Quick Response Code according to and the information of appointment interval according to selected code value described in claim 1, it is special
Levy and be, in step 3, including following sub-step:
Step 31, the current time formed according to binding information, be encrypted binding information, with life calling AES
Become to add confidential information;
Step 32, binding information is arranged with adding confidential information, to form information group;
Step 33, information group input Quick Response Code is generated in interface, to generate the Quick Response Code corresponding with information group.
4. the method generating Quick Response Code according to and the information of appointment interval according to selected code value described in claim 3, it is special
Levying and be, in step 31, AES includes that des encryption algorithm, 3DES AES, TEA AES, XTEA encrypt calculation
Method, RC4 AES, PANAMA AES, Twofish AES, CAST-128 AES, CAST-256 encrypt calculation
Method, md5 encryption algorithm are encrypted with enigma.
5. the method generating Quick Response Code according to and the information of appointment interval according to selected code value described in claim 3, it is special
Levy and be, before binding information is encrypted operation, in addition it is also necessary to according to the quantity of AES so that 00~59 second is marked off
The time interval section identical with its quantity.
6. one kind implement described in claim 1 according to the interval method generating Quick Response Code with appointment information of selected code value
System, it is characterised in that including: code value interval division device, code value extraction element, association binding device, encryption device and two
Dimension code generating means;
Described code value interval division device is for the quantity of the Quick Response Code according to required generation, to divide in code value data base
The code value of the code value information going out to include specified quantity is interval;
Described code value extraction element is for extracting each the code value information in code value interval;
Described association binding device is for being associated binding by the code value information extracted and appointment information, to form binding letter
Breath;
Binding information for the current time that formed according to binding information, is carried out calling AES by described encryption device
Encryption, adds confidential information to generate;
Described Quick Response Code generating means is for according to including binding information with the information group adding confidential information to generate Quick Response Code.
7. generate the system of Quick Response Code according to and the information of appointment interval according to selected code value described in claim 6, it is special
Levy and be, also include code value collator, for code value information all in code value interval are ranked up, so that in code value interval
All code value information arrange in order.
8. generate the system of Quick Response Code according to and the information of appointment interval according to selected code value described in claim 6, it is special
Levy and be, also include that the time divides device, be used for the quantity according to AES to mark off 00~59 second and its quantity phase
Same time interval section.
9. generate the system of Quick Response Code according to and the information of appointment interval according to selected code value described in claim 6, it is special
Levy and be, also include AES selecting apparatus, be used for according to current time to inquire AES corresponding thereto.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610619678.7A CN106250956A (en) | 2016-08-02 | 2016-08-02 | According to the interval method and system generating Quick Response Code with the information of appointment of selected code value |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610619678.7A CN106250956A (en) | 2016-08-02 | 2016-08-02 | According to the interval method and system generating Quick Response Code with the information of appointment of selected code value |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106250956A true CN106250956A (en) | 2016-12-21 |
Family
ID=57606985
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610619678.7A Pending CN106250956A (en) | 2016-08-02 | 2016-08-02 | According to the interval method and system generating Quick Response Code with the information of appointment of selected code value |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106250956A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107133270A (en) * | 2017-04-01 | 2017-09-05 | 广东电网有限责任公司清远供电局 | Two-dimensional code generation method and device, the data processing method of Quick Response Code and device |
CN109118205A (en) * | 2018-07-27 | 2019-01-01 | 阿里巴巴集团控股有限公司 | Data processing method, data processing equipment and terminal device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070102521A1 (en) * | 2005-11-10 | 2007-05-10 | Urban Petersson | Method and system for using barcoded contact information for compatible use with various software |
CN104636783A (en) * | 2015-02-25 | 2015-05-20 | 立德高科(北京)数码科技有限责任公司 | Method for generating two-dimensional code with online bank information based on current system time |
CN105468687A (en) * | 2015-11-17 | 2016-04-06 | 立德高科(北京)数码科技有限责任公司 | Code value data random association method and association system |
CN105740332A (en) * | 2016-01-22 | 2016-07-06 | 北京京东尚科信息技术有限公司 | Data sorting method and device |
-
2016
- 2016-08-02 CN CN201610619678.7A patent/CN106250956A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070102521A1 (en) * | 2005-11-10 | 2007-05-10 | Urban Petersson | Method and system for using barcoded contact information for compatible use with various software |
CN104636783A (en) * | 2015-02-25 | 2015-05-20 | 立德高科(北京)数码科技有限责任公司 | Method for generating two-dimensional code with online bank information based on current system time |
CN105468687A (en) * | 2015-11-17 | 2016-04-06 | 立德高科(北京)数码科技有限责任公司 | Code value data random association method and association system |
CN105740332A (en) * | 2016-01-22 | 2016-07-06 | 北京京东尚科信息技术有限公司 | Data sorting method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107133270A (en) * | 2017-04-01 | 2017-09-05 | 广东电网有限责任公司清远供电局 | Two-dimensional code generation method and device, the data processing method of Quick Response Code and device |
CN109118205A (en) * | 2018-07-27 | 2019-01-01 | 阿里巴巴集团控股有限公司 | Data processing method, data processing equipment and terminal device |
CN109118205B (en) * | 2018-07-27 | 2020-09-29 | 阿里巴巴集团控股有限公司 | Data processing method, data processing device and terminal equipment |
US11042847B2 (en) | 2018-07-27 | 2021-06-22 | Advanced New Technologies Co., Ltd. | Data processing methods, apparatuses, and terminal devices |
US11250392B2 (en) | 2018-07-27 | 2022-02-15 | Advanced New Technologies Co., Ltd. | Data processing methods, apparatuses, and terminal devices |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107665306B (en) | A kind of method, apparatus, client and the server of the injection of detection illegal file | |
CN104657634B (en) | The recognition methods of piracy application and device | |
CN112100679B (en) | Data processing method and device based on privacy protection and server | |
CN104731468A (en) | Application icon sorting method and device | |
CN106599702A (en) | File encryption/decryption method and device | |
CN106250956A (en) | According to the interval method and system generating Quick Response Code with the information of appointment of selected code value | |
CN105550370A (en) | Input method and input system | |
CN106330437A (en) | Password resetting method and device | |
CN104318139B (en) | Intelligent terminal and the method processing data message thereof | |
CN112100643A (en) | Data processing method and device based on privacy protection and server | |
CN105094597A (en) | Batch picture selecting method and apparatus | |
CN104360869A (en) | Method for preventing underlying driver from intercepting messages | |
JP6405370B2 (en) | Method for mining information template, apparatus, program, and recording medium | |
CN106101368A (en) | The method and system of Quick Response Code have been generated based on telephonograph | |
CN112597525A (en) | Data processing method and device based on privacy protection and server | |
CN106856497A (en) | The binding method and device of a kind of mobile device and accessory | |
CN104778168A (en) | Data processing method and device | |
CN109933742A (en) | Content of pages rearranges a volume method and device in a kind of process | |
CN109857571A (en) | Clipbook control method and device | |
CN104636785B (en) | Quick Response Code, generation method with Quick Response Code software installation information and recognition methods | |
CN106648284A (en) | Method, device and terminal for icon sequencing | |
CN105930068A (en) | Personal hotspot quick control method and apparatus | |
CN103338320A (en) | Recharging data processing method and device for mobile user | |
CN107515704B (en) | Method and device for previewing compressed file | |
CN105095694B (en) | The method and system of webpage calling plug-in unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161221 |
|
WD01 | Invention patent application deemed withdrawn after publication |