CN110210270A - Two-dimensional barcode information safety encryption and system and image in 2 D code analytic method and system - Google Patents
Two-dimensional barcode information safety encryption and system and image in 2 D code analytic method and system Download PDFInfo
- Publication number
- CN110210270A CN110210270A CN201910451541.9A CN201910451541A CN110210270A CN 110210270 A CN110210270 A CN 110210270A CN 201910451541 A CN201910451541 A CN 201910451541A CN 110210270 A CN110210270 A CN 110210270A
- Authority
- CN
- China
- Prior art keywords
- type
- code
- algorithm
- information
- coding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004458 analytical method Methods 0.000 title claims abstract description 14
- 238000000034 method Methods 0.000 claims abstract description 28
- 125000004122 cyclic group Chemical group 0.000 claims abstract description 16
- 238000006243 chemical reaction Methods 0.000 claims description 12
- 238000012795 verification Methods 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 3
- 230000002787 reinforcement Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 9
- 229910002056 binary alloy Inorganic materials 0.000 description 3
- 230000010365 information processing Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000008520 organization Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 101150074432 EDE1 gene Proteins 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000013497 data interchange Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- 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
- 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/06046—Constructional details
- G06K19/06075—Constructional details the marking containing means for error correction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Abstract
The invention discloses a kind of two-dimensional barcode information safety encryption and systems, can be encoded according to the coding rule of setting, determine two-dimensional barcode information according to the coded format of the two-dimensional barcode information of setting, and using cyclic redundancy check with anti-tamper;Encryption Algorithm is indicated by algorithm mark, data volume is small, abundant information;For the two-dimensional barcode information security hardening solution by encrypting to cleartext information, cleartext information can not simply be identified by having reached, and there is no the risk effects of leakage;In addition, the two-dimensional barcode information security hardening solution can flexibly configure encryption method according to application scenarios, enforcement difficulty is small.The present invention also provides a kind of image in 2 D code analytic method and systems, to parse to the image in 2 D code obtained using two-dimension code safe reinforcement means.Two technical solutions in the present invention can carry out the generation and recognition of two dimensional code using general generation, recognition software, reduce deployment difficulty, while in turn ensuring the safety of information.
Description
Technical field
The present invention relates to data information security technical fields, and add safely more particularly, to a kind of two-dimensional barcode information
Solid method and system and a kind of image in 2 D code analytic method and system.
Background technique
Two dimensional code as economic, practical automatic identification technology, has been widely used in body since invention the 1980s
Part mark, storage, electronic data interchange etc..The extensive use of two dimensional code industry also allows some criminals to find chance.From evil
Advertisement anticipate to financial swindling, the two dimensional code etc. that forgery is labeled on payment terminal equipment the events such as is tampered and also emerges one after another.
Therefore, how from source and coding and decoding mechanism carry out unified standard management, promote two dimensional code specification apply and
Security application just becomes urgent problem to be solved.
Summary of the invention
The present invention propose a kind of two-dimensional barcode information safety encryption and system and a kind of image in 2 D code analytic method and
System, to solve the problems, such as how safely to handle two-dimensional barcode information.
To solve the above-mentioned problems, according to an aspect of the invention, there is provided a kind of two-dimensional barcode information security hardening side
Method, which is characterized in that the described method includes:
Service code is determined according to the coding rule of specific business and service code;
The corresponding type of coding of each cleartext information is determined according to the security level of cleartext information;
Determine the data content of the corresponding data block of each cleartext information according to type of coding, and according to " data block number+
The format of the data content of each data block " is combined, to obtain business datum;
The service code and business datum are calculated using cyclic redundancy check algorithm, to obtain check code;
The service code, business datum and check code are combined, to obtain two-dimensional barcode information for making two dimension
Code image.
Preferably, wherein the type of coding, comprising: plaintext type of coding, A class scrambled type and the encryption of B class are compiled
Code type.
Preferably, wherein
The coded format of the data content of each data block are as follows: Type-Length-Value coded format;
Value value when type of coding is plaintext type of coding, in the data content of the corresponding data block of cleartext information
For the cleartext information;
When type of coding is A class scrambled type or B class scrambled type, the corresponding data block of cleartext information
The coded format of Value value in data content is the " algorithm mark+algorithm additional information for the Encryption Algorithm that the data block uses
+ corresponding cipher-text information ".
Preferably, wherein the data after national secret algorithm OID algorithm to be identified to 1.2.156.10197.1. carry out binary system
The binary code obtained after code conversion is identified as the corresponding algorithm of different Encryption Algorithm;Wherein, less than the benefit of 3 bytes
00H;
The algorithm mark and algorithm additional information of the Encryption Algorithm used according to the data block encrypt cleartext information
Processing, to obtain cipher-text information.
Preferably, wherein the coding rule of the service code are as follows: the length that service code is arranged is at least 3 bytes,
Wherein the first byte is " big business number ", and the second byte is " small business number ", and third byte is reserved reserved bit, with
Extension for different business mechanism uses.
According to the other side of this hair, a kind of image in 2 D code analytic method is provided, which is characterized in that the method
Include:
The image in 2 D code made according to the two-dimensional barcode information is identified, to obtain application code;
The application code is parsed according to the format of " service code+business datum+check code ", to obtain the industry after parsing
The check code after business datum and parsing after business code, parsing;
The service code after the parsing and the business datum after parsing are calculated using cyclic redundancy check algorithm,
And the check code after calculated result and parsing is compared;
When the comparison result instruction verification of check code after the calculated result and parsing passes through, after the parsing
Business datum is parsed, to obtain cleartext information.
Preferably, wherein the business datum to after the parsing parses, to obtain cleartext information, comprising:
Business datum after parsing is parsed, to obtain the data block number after parsing and each data after parsing
The data content of block;Wherein, the coded format of the data content of each data block are as follows: Type-Length-Value coded format;
The corresponding coding of the data block is determined according to the Type value in the data content of each data block after the parsing
Type;
Extract the Value value in the data content of each data block;
Cleartext information is determined according to the corresponding type of coding of each data block and corresponding Value value.
Preferably, wherein described determined according to the corresponding type of coding of each data block and corresponding Value value is believed in plain text
Breath, comprising:
When type of coding is plaintext type of coding, the Value value in the data content of the data block is plaintext letter
Breath;
When type of coding is A class scrambled type or B class scrambled type, according to the data content of the data block
In Value value coded format " algorithm mark+algorithm additional information+corresponding cipher-text information of the Encryption Algorithm used " from
Cipher-text information is extracted in Value value, and carries out the decryption of corresponding algorithm to the cipher-text information, to obtain cleartext information;
Wherein, national secret algorithm OID algorithm is identified to the data progress binary code conversion after 1.2.156.10197.1.
The binary code obtained afterwards is identified as the corresponding algorithm of different Encryption Algorithm;Algorithm identifies the benefit less than 3 bytes
00H。
Preferably, wherein the coding rule of the service code are as follows: the length that service code is arranged is at least 3 bytes,
Wherein the first byte is " big business number ", and the second byte is " small business number ", and third byte is reserved reserved bit, with
Extension for different business mechanism uses.
According to a further aspect of the invention, a kind of two-dimensional barcode information security hardening system is provided, which is characterized in that institute
The system of stating includes:
Service code determining module, for determining business generation according to the coding rule of specific business and service code
Code;
Type of coding determining module determines the corresponding coding of each cleartext information for the security level according to cleartext information
Type;
Business datum obtains module, in the data for determining the corresponding data block of each cleartext information according to type of coding
Hold, and be combined according to the format of " data block number+each data block data content ", to obtain business datum;
Check code obtains module, based on being carried out using cyclic redundancy check algorithm to the service code and business datum
It calculates, to obtain check code;
Two-dimensional barcode information obtains module, for the service code, business datum and check code to be combined, to obtain
Two-dimensional barcode information is for making image in 2 D code.
Preferably, wherein the type of coding, comprising: plaintext type of coding, A class scrambled type and the encryption of B class are compiled
Code type.
Preferably, wherein
The coded format of the data content of each data block are as follows: Type-Length-Value coded format;
Value value when type of coding is plaintext type of coding, in the data content of the corresponding data block of cleartext information
For the cleartext information;
When type of coding is A class scrambled type or B class scrambled type, the corresponding data block of cleartext information
The coded format of Value value in data content is the " algorithm mark+algorithm additional information for the Encryption Algorithm that the data block uses
+ corresponding cipher-text information ".
Preferably, wherein
It is obtained after data after national secret algorithm OID algorithm mark 1.2.156.10197.1. are carried out binary code conversion
Binary code as different Encryption Algorithm corresponding algorithm identify;Wherein, less than the benefit 00H of 3 bytes;
The algorithm mark and algorithm additional information of the Encryption Algorithm used according to the data block encrypt cleartext information
Processing, to obtain cipher-text information.
Preferably, wherein the coding rule of the service code are as follows: the length that service code is arranged is at least 3 bytes,
Wherein the first byte is " big business number ", and the second byte is " small business number ", and third byte is reserved reserved bit, with
Extension for different business mechanism uses.
According to a further aspect of the invention, a kind of image in 2 D code resolution system is provided, which is characterized in that the system
System includes:
Application code obtains module, for being identified to the image in 2 D code made according to the two-dimensional barcode information, with
Obtain application code;
Parsing module, for parsing the application code according to the format of " service code+business datum+check code ", with
Service code after obtaining parsing, the check code after business datum and parsing after parsing;
Judgment module, for using cyclic redundancy check algorithm to the service code after the parsing and the business after parsing
Data are calculated, and the check code after calculated result and parsing is compared;
Cleartext information obtains module, and the comparison result for the check code after calculated result and parsing indicates verification
By when, the business datum after the parsing is parsed, to obtain cleartext information.
Preferably, wherein the cleartext information obtains module, the business datum after the parsing is parsed, to obtain
Cleartext information, comprising:
Data content acquiring unit, for being parsed to the business datum after parsing, to obtain the data block after parsing
The data content of each data block after number and parsing;Wherein, the coded format of the data content of each data block are as follows:
Type-Length-Value coded format;
Type of coding determination unit, it is true for the Type value in the data content according to each data block after the parsing
The fixed corresponding type of coding of the data block;
Data extracting unit, the Value value in data content for extracting each data block;
Cleartext information acquiring unit, for being determined according to the corresponding type of coding of each data block and corresponding Value value
Cleartext information.
Preferably, wherein the cleartext information acquiring unit, according to the corresponding type of coding of each data block and corresponding
Value value determines cleartext information, comprising:
When type of coding is plaintext type of coding, the Value value in the data content of the data block is plaintext letter
Breath;
When type of coding is A class scrambled type or B class scrambled type, according to the data content of the data block
In Value value coded format " algorithm mark+algorithm additional information+corresponding cipher-text information of the Encryption Algorithm used " from
Cipher-text information is extracted in Value value, and carries out the decryption of corresponding algorithm to the cipher-text information, to obtain cleartext information;
Wherein, national secret algorithm OID algorithm is identified to the data progress binary code conversion after 1.2.156.10197.1.
The binary code obtained afterwards is identified as the corresponding algorithm of different Encryption Algorithm;Algorithm identifies the benefit less than 3 bytes
00H。
Preferably, wherein the coding rule of the service code are as follows: the length that service code is arranged is at least 3 bytes,
Wherein the first byte is " big business number ", and the second byte is " small business number ", and third byte is reserved reserved bit, with
Extension for different business mechanism uses.
The present invention provides a kind of two-dimensional barcode information safety encryption and system, can according to the coding rule of setting into
Row coding determines two-dimensional barcode information according to the coded format of the two-dimensional barcode information of setting, and using cyclic redundancy check with anti-tamper;
Encryption Algorithm is indicated by algorithm mark, data volume is small, abundant information;The two-dimensional barcode information security hardening solution passes through to bright
Literary information is encrypted, and cleartext information can not simply be identified by having reached, and there is no the risk effects of leakage;In addition, should
Two-dimensional barcode information security hardening solution can flexibly configure encryption method according to application scenarios, and enforcement difficulty is small.
The present invention also provides a kind of image in 2 D code analytic method and systems, to utilization two-dimension code safe reinforcement means
The image in 2 D code of acquisition is parsed.
Two technical solutions in the present invention can carry out the generation and knowledge of two dimensional code using general generation, recognition software
It reads, reduces deployment difficulty, while in turn ensuring the safety of information.
Detailed description of the invention
By reference to the following drawings, exemplary embodiments of the present invention can be more fully understood by:
Fig. 1 is the flow chart according to the two-dimensional barcode information safety encryption 100 of embodiment of the present invention;
Fig. 2 is the coding schematic diagram according to the service code of embodiment of the present invention;
Fig. 3 is the schematic diagram according to the data content of the corresponding data block of plaintext type of coding of embodiment of the present invention;
And
Fig. 4 is the signal according to the data content of the corresponding data block of A class scrambled type of embodiment of the present invention
Figure;And
Fig. 5 is the signal according to the data content of the corresponding data block of B class scrambled type of embodiment of the present invention
Figure;And
Fig. 6 is the flow chart generated according to the two dimensional code of embodiment of the present invention;
Fig. 7 is the image in 2 D code obtained using initial data and the image in 2 D code that embodiment obtains according to the present invention
Comparison diagram;
Fig. 8 is the structural schematic diagram according to the two-dimensional barcode information security hardening system 800 of embodiment of the present invention;
Fig. 9 is the flow chart according to the image in 2 D code analytic method 900 of embodiment of the present invention;
Figure 10 is the flow chart that cleartext information is obtained according to the recognition two dimensional code of embodiment of the present invention;And
Figure 11 is the structural schematic diagram according to the image in 2 D code resolution system 1100 of embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present invention are introduced referring now to the drawings, however, the present invention can use many different shapes
Formula is implemented, and is not limited to the embodiment described herein, and to provide these embodiments be at large and fully disclose
The present invention, and the scope of the present invention is sufficiently conveyed to person of ordinary skill in the field.Show for what is be illustrated in the accompanying drawings
Term in example property embodiment is not limitation of the invention.In the accompanying drawings, identical cells/elements use identical attached
Icon note.
Unless otherwise indicated, term (including scientific and technical terminology) used herein has person of ordinary skill in the field
It is common to understand meaning.Further it will be understood that with the term that usually used dictionary limits, should be understood as and its
The context of related fields has consistent meaning, and is not construed as Utopian or too formal meaning.
Fig. 1 is the flow chart according to the two-dimensional barcode information safety encryption 100 of embodiment of the present invention.As shown in Figure 1,
The two-dimensional barcode information safety encryption that embodiments of the present invention provide can be encoded according to the coding rule of setting, root
Two-dimensional barcode information is determined according to the coded format of the two-dimensional barcode information of setting, and using cyclic redundancy check with anti-tamper;Pass through algorithm mark
Know to indicate Encryption Algorithm, data volume is small, abundant information;The two-dimensional barcode information security hardening solution is by carrying out cleartext information
Encryption, cleartext information can not simply be identified by having reached, and there is no the risk effects of leakage;In addition, the two-dimensional barcode information
Security hardening solution can flexibly configure encryption method according to application scenarios, and enforcement difficulty is small.Embodiment party of the present invention
The two-dimensional barcode information safety encryption of formula can be applied to the various scenes of two dimensional code application, for example, payment information, using telecommunications
Breath and assets information etc..
The two-dimensional barcode information safety encryption 100 of embodiments of the present invention is since step 101 place, in step 101
Service code is determined according to the coding rule of specific business and service code.
Preferably, wherein the coding rule of the service code are as follows: the length that service code is arranged is at least 3 bytes,
Wherein the first byte is " big business number ", and the second byte is " small business number ", and third byte is reserved reserved bit, with
Extension for different business mechanism uses.
In embodiments of the present invention, two-dimensional barcode information includes service code area, business datum area and 3, check code area
Point, the code length of every part is as shown in table 1.
Table 1 encodes section length
Service code area | Business datum area | Check code area | |
Length (unit: byte) | 3 | It is variable | 2 |
Fig. 2 is the coding schematic diagram according to the service code of embodiment of the present invention.As shown in Fig. 2, in reality of the invention
It applies in mode, service code section length is to fix 3 bytes, wherein the first byte is " big business number ", and the second byte is
" small business number ", last byte are reserved reserved bit, are used for the extension of each service unit.
The highest-order bit of small business number indicates whether the business belongs to assets class;Wherein, 0 assets class is indicated;1 indicates
Non- assets class.
In step 102, the corresponding type of coding of each cleartext information is determined according to the security level of cleartext information.
Preferably, wherein the type of coding, comprising: plaintext type of coding, A class scrambled type and the encryption of B class are compiled
Code type.
In embodiments of the present invention, type of coding is determined according to the security level of cleartext information, for example, if believing in plain text
The security level of breath be it is general, then can choose as plaintext type of coding;If the security level of cleartext information be it is medium, can be with
It is selected as A class scrambled type;If the security level of cleartext information be it is advanced, can choose as B class scrambled type.
Certainly, a variety of ranks can be set for the security level of specific cleartext information, thus corresponding multiple encoding class
Type can according to need self-setting, it is not limited to the type of coding being previously mentioned in embodiment of the present invention.
In step 103, the data content of the corresponding data block of each cleartext information is determined according to type of coding, and according to
The format of " data block number+each data block data content " is combined, to obtain business datum.
Preferably, wherein
The coded format of the data content of each data block are as follows: Type-Length-Value coded format;
Value value when type of coding is plaintext type of coding, in the data content of the corresponding data block of cleartext information
For the cleartext information;
When type of coding is A class scrambled type or B class scrambled type, the corresponding data block of cleartext information
The coded format of Value value in data content is the " algorithm mark+algorithm additional information for the Encryption Algorithm that the data block uses
+ corresponding cipher-text information ".
Preferably, wherein the data after national secret algorithm OID algorithm to be identified to 1.2.156.10197.1. carry out binary system
The binary code obtained after code conversion is identified as the corresponding algorithm of different Encryption Algorithm;Wherein, less than the benefit of 3 bytes
00H;
The algorithm mark and algorithm additional information of the Encryption Algorithm used according to the data block encrypt cleartext information
Processing, to obtain cipher-text information.
In embodiments of the present invention, business datum area is by " data block number (i.e. the number of cleartext information) " and multiple
Data block is constituted, the corresponding data block of one group of cleartext information.Data block number occupies 1 byte (expression of 16 systems).Each
The coded format of the data content of data block are as follows: Type-Length-Value coded format, the data content root of each data block
It is divided into plaintext type of coding, A class scrambled type and B class scrambled type according to type of coding.
Fig. 3 is the schematic diagram according to the data content of the corresponding data block of plaintext type of coding of embodiment of the present invention.
As shown in figure 3, when type of coding is plaintext type of coding, the data content of the corresponding data block of cleartext information (i.e. plaintext area)
In Value value be the cleartext information.
Fig. 4 is the signal according to the data content of the corresponding data block of A class scrambled type of embodiment of the present invention
Figure.As shown in figure 4, when type of coding is A class scrambled type, the corresponding data block of cleartext information (i.e. A class encrypted area)
Data content in the coded format of Value value be " the additional letter of algorithm mark+algorithm of the Encryption Algorithm that the data block uses
Breath+corresponding cipher-text information ".
Fig. 5 is the signal according to the data content of the corresponding data block of B class scrambled type of embodiment of the present invention
Figure.As shown in figure 5, when type of coding is B class scrambled type, in the data content of the corresponding data block of cleartext information
The coded format of Value value is the " algorithm mark+algorithm additional information+corresponding ciphertext for the Encryption Algorithm that the data block uses
Information ".
When type of coding is A class scrambled type or B class scrambled type, the corresponding data block of cleartext information
The coded format of Value value in the data content of (i.e. B class encrypted area) is " the algorithm mark for the Encryption Algorithm that the data block uses
Knowledge+algorithm additional information+corresponding cipher-text information ".
In embodiments of the present invention, the coding mode of type of coding is as shown in table 2.
The corresponding code identification table of 2 type of coding of table
Serial number | 1 | 2 | 3 |
Code content | Plaintext area | A class encrypted area | B class encrypted area |
Marking code (Tpye) | 01 | 02 | 03 |
In embodiments of the present invention, Length coding can occupy 1~3 byte, meet BER-TLV coding criterion,
Reference standard: " GB/T 16263.1-2006 information technology ASN.1 coding rule part 1: BER Basic Encoding Rules (BER), just
Then coding rule (CER) and atypia coding rule (DER) specification ".
The explanation of the first byte code of Length is as shown in table 3, wherein when the b8 of the first byte is 0, the byte
The length in the b7-b1 expression domain Value;When b8 is 1, length of the b7-b1 as subsequent byte.Subsequent byte identifies the domain Value
Length.
3 Length the first byte code table of table
In embodiments of the present invention, by the Data Identification after the close OID algorithm mark 1.2.156.10197.1. of state
The binary code be converted to is identified as algorithm, and transfer standard meets " ISO/IEC 8825 " series standard, and less than 3 bytes are mended
00H is indicated in plain text with 000000H.The coding of OID meets the OID mark specification that ISO/IEC, ITU are proposed jointly, reference can be made to
" GM-T 0006-2012_ cipher application mark specification ".For example, the plaintext type setting algorithm for no encryption is identified as
" 000000H " is arranged algorithm and is identified as " 660000H " for SM1 Encryption Algorithm.
For algorithm additional information, two bytes are reserved, the extended byte as application data ciphering method description.For
The data block of encryption encrypts clear data using the Encryption Algorithm of selection, to obtain corresponding cipher-text information, and according to
The coded format of " algorithm mark+algorithm additional information+cipher-text information " determines the Value value of the data block of encryption.For example, if really
Fixed type of coding is A class scrambled type, and cleartext information is " 5130001000000017031280 ", and Encryption Algorithm is
" SM4-ECB ", algorithm are identified as " 680100 ", and algorithm additional information is " 0000 ", and encrypted ciphertext data are " 7AC0CF0
55F8E9E3E02FC550A60A44427 ", then the Value value in the data content of the data block is " 68010000007AC0C
F055F8E9E3E02FC550A60A44427”。
The data value that A class scrambled type is arranged is 01, if the length of data block is 15, according to the data of data block
The coded format " Type-Length-Value " of content can determine that the data content of the data block is " 01156801000000
7AC0CF055F8E9E3E02FC550A60A44427”。
If only one data block, i.e. data block number is encoded to " 01 ", then can determine that business datum is " 01011
568010000007AC0CF055F8E9E3E02FC550A60A44427”。
In step 104, the service code and business datum are calculated using cyclic redundancy check algorithm, to obtain
Check code.
In embodiments of the present invention, using cyclic redundancy check algorithm CRC16 algorithm to " service code+business number
According to " calculated, to obtain check code.
In step 105, the service code, business datum and check code are combined, to obtain two-dimensional barcode information use
In production image in 2 D code.
In embodiments of the present invention, the coded format of two-dimensional barcode information is " service code+business datum+verification
Code ".
For example, business datum is " 010115A44427 ", and check code is " EDE1 ", then if service code is " 020100 "
It can determine that two-dimensional barcode information is " 020100010115A44427EDE1 ".
Fig. 6 is the flow chart generated according to the two dimensional code of embodiment of the present invention.As shown in fig. 6, being always divided into determining industry
Business code, organization business data and addition check code three parts.
For determining service code part, service code is mainly determined according to specific business.
For organization business data portion, type of coding is determined according to the security level of cleartext information, and according to different
Type of coding determines corresponding data content.Wherein, for ciphertext block data, then by according to different security protection ranks, really
Its fixed encryption level belongs to A class or B class, the corresponding cryptographic algorithm of simultaneous selection, determine the block number evidence " algorithm mark " and
" algorithm additional information ", and cleartext information is encrypted, according to " algorithm mark+algorithm additional information+cipher-text information "
Format obtain the Value value of ciphertext block data.For not needing the block of plaintext data of encryption, cleartext information is clear data
The Value value of block.Then, after the length Length value of each data block has been determined, according to N+ " Type+Length+Value "
The format organization of (plaintext)+" Type+Length+Value " (A class ciphertext)+" Type+Length+Value " (B class ciphertext) is good
Business datum.
For adding check code part, main service code and business datum according to obtain is counted using CRC16 algorithm
Calculation obtains check code, is then combined according to the format of " service code+business datum+check code ", to obtain two dimensional code letter
Breath, for making image in 2 D code according to the two-dimensional barcode information.
Below by taking the two dimensional code application scenarios of energy source router as an example, it is explained.
Energy source router production firm provides every equipment corresponding " Bluetooth address information " and " energy router id "
Measurement centre, province is given, measurement centre, province utilizes special purpose system equipment, and after generating ciphering two-dimension code, being supplied to can source router production
Manufacturer, factory after being sprayed in equipment by manufacturer.Wherein, " Bluetooth address information " and " energy router id " are adopted respectively
With A class cipher mode.
The generation process data of two-dimensional barcode information is as follows:
(1) original unencryption two-dimensional barcode information is as shown in table 4.
The original unencryption two-dimensional barcode information table of table 4
Data value | |
Energy router id | 5130001000000017031280 |
Bluetooth data address | 7E216AAC030E |
Two-dimensional code data | 51300010000000170312807E216AAC030E |
(2) technical solution according to the invention carries out that treated two-dimensional barcode information table is as shown in table 5.
Treated the two-dimensional barcode information table of table 5
Using initial data obtain image in 2 D code and according to the present invention embodiment acquisition image in 2 D code pair
It is more as shown in Figure 7 than scheming.User is carried out using the APP of the embedded barcode scanning for meeting marketing two dimensional code application specification, decryption software module
Two dimensional code barcode scanning.The data of two dimensional code are decrypted, can be obtained A class data " bluetooth connection address " and " energy source router
ID”。
APP is according to bluetooth connection is actively carried out behind obtained bluetooth connection address, after establishing connection, according to energy source router
ID disperses pre-buried key, and carries out the bidirectional identity authentication based on national secret algorithm with energy source router, after certification passes through
Cell phone application bluetooth can be carried out orderly to charge business.
Fig. 8 is the structural schematic diagram according to the two-dimensional barcode information security hardening system 800 of embodiment of the present invention.Such as Fig. 8
Two-dimensional barcode information security hardening system 800 shown, that embodiments of the present invention provide, comprising: service code determining module
801, type of coding determining module 802, business datum obtain module 803, check code obtains module 804 and two-dimensional barcode information obtains
Module 805.
Preferably, the service code determining module 801, for the coding according to specific business and service code
Rule determines service code.
Preferably, wherein the coding rule of the service code are as follows: the length that service code is arranged is at least 3 bytes,
Wherein the first byte is " big business number ", and the second byte is " small business number ", and third byte is reserved reserved bit, with
Extension for different business mechanism uses.
Preferably, the type of coding determining module 802 determines each plaintext for the security level according to cleartext information
The corresponding type of coding of information.
Preferably, wherein the type of coding, comprising: plaintext type of coding, A class scrambled type and the encryption of B class are compiled
Code type.
Preferably, the business datum obtains module 803, for determining that each cleartext information is corresponding according to type of coding
The data content of data block, and be combined according to the format of " data block number+each data block data content ", to obtain
Business datum.
Preferably, wherein the coded format of the data content of each data block are as follows: Type-Length-Value encodes lattice
Formula;When type of coding is plaintext type of coding, the Value value in the data content of the corresponding data block of cleartext information is that this is bright
Literary information;When type of coding is A class scrambled type or B class scrambled type, the corresponding data block of cleartext information
The coded format of Value value in data content is the " algorithm mark+algorithm additional information for the Encryption Algorithm that the data block uses
+ corresponding cipher-text information ".
Preferably, wherein the data after national secret algorithm OID algorithm to be identified to 1.2.156.10197.1. carry out binary system
The binary code obtained after code conversion is identified as the corresponding algorithm of different Encryption Algorithm;Wherein, less than the benefit of 3 bytes
00H;Cleartext information is encrypted in the algorithm mark and algorithm additional information of the Encryption Algorithm used according to the data block,
To obtain cipher-text information.
Preferably, the check code obtains module 804, for using cyclic redundancy check algorithm to the service code and
Business datum is calculated, to obtain check code.
Preferably, the two-dimensional barcode information obtains module 805, is used for the service code, business datum and check code
It is combined, to obtain two-dimensional barcode information for making image in 2 D code.
The two-dimensional barcode information security hardening system 800 of the embodiment of the present invention and the two dimension of another embodiment of the invention
Code information security reinforcement means 100 is corresponding, and details are not described herein.
Fig. 9 is the flow chart according to the image in 2 D code analytic method 900 of embodiment of the present invention.As shown in figure 9, this hair
Image in 2 D code analytic method that bright embodiment provides can according to after parsing service code and business datum determine
New check code, to be compared with the check code after parsing, to determine the accuracy of two-dimensional code data;Meanwhile determining ratio
When passing through to result instruction verification, the business datum after parsing is parsed, to obtain cleartext information.Parsing side of the invention
Method can parse complicated two-dimensional barcode information according to known coding rule, so that general analytic method can not letter
It singly identifies cleartext information, ensure that the safety of cleartext information, there is no the risks of leakage.The two of embodiments of the present invention
Code method for analyzing image 900 is tieed up since step 901 place, in the two dimensional code that step 901 pair makes according to the two-dimensional barcode information
Image is identified, to obtain application code.
In step 902, the application code is parsed according to the format of " service code+business datum+check code ", to obtain
The check code after the business datum and parsing after service code, parsing after parsing.
Preferably, wherein the coding rule of the service code are as follows: the length that service code is arranged is at least 3 bytes,
Wherein the first byte is " big business number ", and the second byte is " small business number ", and third byte is reserved reserved bit, with
Extension for different business mechanism uses.
In step 903, using cyclic redundancy check algorithm to the service code after the parsing and the business number after parsing
It is compared according to being calculated, and by the check code after calculated result and parsing.
In step 904, when the comparison result instruction verification of the check code after the calculated result and parsing passes through, to institute
Business datum after stating parsing is parsed, to obtain cleartext information.
Preferably, wherein the business datum to after the parsing parses, to obtain cleartext information, comprising:
Business datum after parsing is parsed, to obtain the data block number after parsing and each data after parsing
The data content of block;Wherein, the coded format of the data content of each data block are as follows: Type-Length-Value coded format;
The corresponding coding of the data block is determined according to the Type value in the data content of each data block after the parsing
Type;
Extract the Value value in the data content of each data block;
Cleartext information is determined according to the corresponding type of coding of each data block and corresponding Value value.
Preferably, wherein described determined according to the corresponding type of coding of each data block and corresponding Value value is believed in plain text
Breath, comprising:
When type of coding is plaintext type of coding, the Value value in the data content of the data block is plaintext letter
Breath;
When type of coding is A class scrambled type or B class scrambled type, according to the data content of the data block
In Value value coded format " algorithm mark+algorithm additional information+corresponding cipher-text information of the Encryption Algorithm used " from
Cipher-text information is extracted in Value value, and carries out the decryption of corresponding algorithm to the cipher-text information, to obtain cleartext information;
Wherein, national secret algorithm OID algorithm is identified to the data progress binary code conversion after 1.2.156.10197.1.
The binary code obtained afterwards is identified as the corresponding algorithm of different Encryption Algorithm;Algorithm identifies the benefit less than 3 bytes
00H。
The image in 2 D code analytic method and two-dimensional barcode information safety encryption of embodiments of the present invention are corresponding, solution
Code rule and coding rule are also corresponding, therefore, can determine coding/decoding method according to coding method.
For example, client holds cell phone application (embedded software deciphering module) barcode scanning at the scene, APP procedure identification goes out two-dimentional yardage
According to are as follows:
040100020000000000000B51300010000000170312806801000000001070768740AF
2DB2E5807F44DC1754C1386408。
This ciphertext data is parsed according to decoding rule corresponding with coding rule then, passes to two-dimensional code data solution
Analyse module and deciphering module, the data after parsing and decryption are as follows:
Therefore, can be determined by scanning the two-dimensional code: service code 040100, asset of equipments number are
5130001000000017031280, Bluetooth address 7E216AAC030E.
Figure 10 is the flow chart that cleartext information is obtained according to the recognition two dimensional code of embodiment of the present invention.As shown in Figure 10,
In embodiments of the present invention, the method that recognition image in 2 D code obtains cleartext information specifically includes that verification and obtains business
Data portion, parsing business datum part and output clear data part.
For verifying and obtaining business datum part, comprising: scan the two-dimensional code image progress, corrected, decoding obtains
Application code (i.e. two-dimensional barcode information);And according to " service code+business datum+check code " after obtaining application code
Format parses application code, and the result that " service code+business datum " carries out CRC16 operation is compared with " check code "
It is right, if comparison result be it is consistent, instruction be verified;Otherwise, verification does not pass through, and reports an error and terminates process.When being verified
When, the business datum after obtaining parsing.
For parsing business datum part, comprising: business datum after the parsing that will acquire is according to N+ " Type+Length
The format of+Value " (plaintext)+" Type+Length+Value " (A class ciphertext)+" Type+Length+Value " (B class ciphertext)
It is parsed, the data content of identification data block number and each data block, and according to the data content of each data block
Coded format " Type-Length-Value " is parsed.Wherein, if Type value is " 01 ", then it represents that type of coding is in plain text
Type of coding;If Type value is " 02 ", then it represents that type of coding is A class scrambled type;If Type value is " 03 ", then it represents that
Type of coding is B class scrambled type.
For plaintext type of coding, Value value is cleartext information;For the data block of encryption type, need according to " calculation
The format of method mark+algorithm additional information+cipher-text information " determines algorithm mark, algorithm additional information and cipher-text information, and to close
Literary information is decrypted to obtain cleartext information.
Finally, being that the cleartext information that will acquire is exported, the recognition of image in 2 D code is completed.
Figure 11 is the structural schematic diagram according to the image in 2 D code resolution system 1100 of embodiment of the present invention.Such as Figure 11 institute
Show, the image in 2 D code resolution system 1100 of embodiments of the present invention, comprising: application code obtains module 1101, parsing mould
Block 1102, judgment module 1003 and cleartext information obtain module 1104.
Preferably, the application code obtains module 1101, for the two dimensional code made according to the two-dimensional barcode information
Image is identified, to obtain application code.
Preferably, the parsing module 1102, for being parsed according to the format of " service code+business datum+check code "
The application code, to obtain the service code after parsing, the check code after business datum and parsing after parsing.
Preferably, wherein the coding rule of the service code are as follows: the length that service code is arranged is at least 3 bytes,
Wherein the first byte is " big business number ", and the second byte is " small business number ", and third byte is reserved reserved bit, with
Extension for different business mechanism uses.
Preferably, the judgment module 1103, for using cyclic redundancy check algorithm to the business generation after the parsing
Business datum after code and parsing is calculated, and the check code after calculated result and parsing is compared.
Preferably, the cleartext information obtains module 1104, for the check code after calculated result and parsing
When comparison result instruction verification passes through, the business datum after the parsing is parsed, to obtain cleartext information.
Preferably, wherein the cleartext information obtains module 1104, comprising: data content acquiring unit 11041, coding class
Type determination unit 11042, data extracting unit 11043 and cleartext information acquiring unit 11044.
Preferably, the data content acquiring unit 11041, for being parsed to the business datum after parsing, to obtain
The data content of each data block after data block number and parsing after taking parsing;Wherein, the data content of each data block
Coded format are as follows: Type-Length-Value coded format
Preferably, the type of coding determination unit 11042, for the data according to each data block after the parsing
Type value in content determines the corresponding type of coding of the data block.
Preferably, the data extracting unit 11043, the Value value in data content for extracting each data block.
Preferably, the cleartext information acquiring unit 11044, for according to the corresponding type of coding of each data block and right
The Value value answered determines cleartext information.
Preferably, wherein the cleartext information acquiring unit 11044, according to the corresponding type of coding of each data block and right
The Value value answered determines cleartext information, comprising: when type of coding is plaintext type of coding, in the data content of the data block
Value value be the cleartext information;When type of coding is A class scrambled type or B class scrambled type, according to this
Value value in the data content of data block coded format " algorithm mark+algorithm additional information of the Encryption Algorithm used+
Corresponding cipher-text information " extracts cipher-text information from Value value, and the decryption of corresponding algorithm is carried out to the cipher-text information, with
Obtain cleartext information;Wherein, national secret algorithm OID algorithm is identified to the data progress binary code after 1.2.156.10197.1.
The binary code obtained after conversion is identified as the corresponding algorithm of different Encryption Algorithm;Algorithm mark is less than 3 bytes
Mend 00H.
The image in 2 D code resolution system 1100 of the embodiment of the present invention and the two dimensional code of another embodiment of the invention
Method for analyzing image 900 is corresponding, and details are not described herein.
The present invention is described by reference to a small amount of embodiment.However, it is known in those skilled in the art, as
Defined by subsidiary Patent right requirement, in addition to the present invention other embodiments disclosed above equally fall in it is of the invention
In range.
Normally, all terms used in the claims are all solved according to them in the common meaning of technical field
It releases, unless in addition clearly being defined wherein.All references " one/described/be somebody's turn to do [device, component etc.] " are all opened ground
At least one example being construed in described device, component etc., unless otherwise expressly specified.Any method disclosed herein
Step need not all be run with disclosed accurate sequence, unless explicitly stated otherwise.
Claims (16)
1. a kind of two-dimensional barcode information safety encryption, which is characterized in that the described method includes:
Service code is determined according to the coding rule of specific business and service code;
The corresponding type of coding of each cleartext information is determined according to the security level of cleartext information;
The data content of the corresponding data block of each cleartext information is determined according to type of coding, and according to " data block number+each
The format of the data content of data block " is combined, to obtain business datum;
The service code and business datum are calculated using cyclic redundancy check algorithm, to obtain check code;
The service code, business datum and check code are combined, to obtain two-dimensional barcode information for making two dimensional code figure
Picture.
2. the method according to claim 1, wherein the type of coding, comprising: plaintext type of coding, A class add
Code type and B class scrambled type.
3. according to the method described in claim 2, it is characterized in that,
The coded format of the data content of each data block are as follows: Type-Length-Value coded format;
When type of coding is plaintext type of coding, the Value value in the data content of the corresponding data block of cleartext information is should
Cleartext information;
When type of coding is A class scrambled type or B class scrambled type, the data of the corresponding data block of cleartext information
The coded format of Value value in content is " the algorithm mark for the Encryption Algorithm that the data block uses+algorithm additional information+phase
The cipher-text information answered ".
4. according to the method described in claim 3, it is characterized in that,
Two will obtained after data progress binary code conversion after national secret algorithm OID algorithm mark 1.2.156.10197.1.
Ary codes are identified as the corresponding algorithm of different Encryption Algorithm;Wherein, less than the benefit 00H of 3 bytes;
Cleartext information is encrypted in the algorithm mark and algorithm additional information of the Encryption Algorithm used according to the data block,
To obtain cipher-text information.
5. a kind of image in 2 D code analytic method, which is characterized in that the described method includes:
The image in 2 D code made according to the two-dimensional barcode information is identified, to obtain application code;
The application code is parsed according to the format of " service code+business datum+check code ", to obtain the business generation after parsing
The check code after business datum and parsing after code, parsing;
The service code after the parsing and the business datum after parsing are calculated using cyclic redundancy check algorithm, and will
Check code after calculated result and parsing is compared;
When the comparison result instruction verification of check code after the calculated result and parsing passes through, to the business after the parsing
Data are parsed, to obtain cleartext information.
6. according to the method described in claim 5, it is characterized in that, the business datum to after the parsing parses,
To obtain cleartext information, comprising:
Business datum after parsing is parsed, to obtain the data block number after parsing and each data block after parsing
Data content;Wherein, the coded format of the data content of each data block are as follows: Type-Length-Value coded format;
The corresponding type of coding of the data block is determined according to the Type value in the data content of each data block after the parsing;
Extract the Value value in the data content of each data block;
Cleartext information is determined according to the corresponding type of coding of each data block and corresponding Value value.
7. according to the method described in claim 6, it is characterized in that, described according to the corresponding type of coding of each data block and right
The Value value answered determines cleartext information, comprising:
When type of coding is plaintext type of coding, the Value value in the data content of the data block is the cleartext information;
When type of coding is A class scrambled type or B class scrambled type, according in the data content of the data block
The coded format " algorithm mark+algorithm additional information+corresponding cipher-text information of the Encryption Algorithm used " of Value value from
Cipher-text information is extracted in Value value, and carries out the decryption of corresponding algorithm to the cipher-text information, to obtain cleartext information;
Wherein, it is obtained after the data after national secret algorithm OID algorithm mark 1.2.156.10197.1. being carried out binary code conversion
The binary code taken is identified as the corresponding algorithm of different Encryption Algorithm;Algorithm identifies the benefit 00H less than 3 bytes.
8. method according to claim 1 or 5, which is characterized in that the coding rule of the service code are as follows: setting business
The length of code is at least 3 bytes, wherein the first byte is " big business number ", the second byte is " small business number ", the
Three bytes are reserved reserved bit, to use for the extension of different business mechanism.
9. a kind of two-dimensional barcode information security hardening system, which is characterized in that the system comprises:
Service code determining module, for determining service code according to the coding rule of specific business and service code;
Type of coding determining module determines the corresponding coding class of each cleartext information for the security level according to cleartext information
Type;
Business datum obtains module, for determining the data content of the corresponding data block of each cleartext information according to type of coding,
And be combined according to the format of " data block number+each data block data content ", to obtain business datum;
Check code obtains module, for being calculated using cyclic redundancy check algorithm the service code and business datum,
To obtain check code;
Two-dimensional barcode information obtains module, for the service code, business datum and check code to be combined, to obtain two dimension
Code information is for making image in 2 D code.
10. system according to claim 9, which is characterized in that the type of coding, comprising: plaintext type of coding, A class
Scrambled type and B class scrambled type.
11. system according to claim 10, which is characterized in that
The coded format of the data content of each data block are as follows: Type-Length-Value coded format;
When type of coding is plaintext type of coding, the Value value in the data content of the corresponding data block of cleartext information is should
Cleartext information;
When type of coding is A class scrambled type or B class scrambled type, the data of the corresponding data block of cleartext information
The coded format of Value value in content is " the algorithm mark for the Encryption Algorithm that the data block uses+algorithm additional information+phase
The cipher-text information answered ".
12. system according to claim 11, which is characterized in that
Two will obtained after data progress binary code conversion after national secret algorithm OID algorithm mark 1.2.156.10197.1.
Ary codes are identified as the corresponding algorithm of different Encryption Algorithm;Wherein, less than the benefit 00H of 3 bytes;
Cleartext information is encrypted in the algorithm mark and algorithm additional information of the Encryption Algorithm used according to the data block,
To obtain cipher-text information.
13. a kind of image in 2 D code resolution system, which is characterized in that the system comprises:
Application code obtains module, for identifying to the image in 2 D code made according to the two-dimensional barcode information, to obtain
Application code;
Parsing module, for parsing the application code according to the format of " service code+business datum+check code ", to obtain
The check code after the business datum and parsing after service code, parsing after parsing;
Judgment module, for using cyclic redundancy check algorithm to the service code after the parsing and the business datum after parsing
It is calculated, and the check code after calculated result and parsing is compared;
Cleartext information obtains module, and the comparison result instruction verification for the check code after calculated result and parsing passes through
When, the business datum after the parsing is parsed, to obtain cleartext information.
14. system according to claim 13, which is characterized in that the cleartext information obtains module, after the parsing
Business datum parsed, to obtain cleartext information, comprising:
Data content acquiring unit, for being parsed to the business datum after parsing, to obtain the data block number after parsing
With the data content of each data block after parsing;Wherein, the coded format of the data content of each data block are as follows: Type-
Length-Value coded format;
Type of coding determination unit, determining for the Type value in the data content according to each data block after the parsing should
The corresponding type of coding of data block;
Data extracting unit, the Value value in data content for extracting each data block;
Cleartext information acquiring unit, for being determined in plain text according to the corresponding type of coding of each data block and corresponding Value value
Information.
15. system according to claim 14, which is characterized in that the cleartext information acquiring unit, according to each data
The corresponding type of coding of block and corresponding Value value determine cleartext information, comprising:
When type of coding is plaintext type of coding, the Value value in the data content of the data block is the cleartext information;
When type of coding is A class scrambled type or B class scrambled type, according in the data content of the data block
The coded format " algorithm mark+algorithm additional information+corresponding cipher-text information of the Encryption Algorithm used " of Value value from
Cipher-text information is extracted in Value value, and carries out the decryption of corresponding algorithm to the cipher-text information, to obtain cleartext information;
Wherein, it is obtained after the data after national secret algorithm OID algorithm mark 1.2.156.10197.1. being carried out binary code conversion
The binary code taken is identified as the corresponding algorithm of different Encryption Algorithm;Algorithm identifies the benefit 00H less than 3 bytes.
16. the system according to claim 9 or 13, which is characterized in that the coding rule of the service code are as follows: setting industry
The length of business code is at least 3 bytes, wherein the first byte is " big business number ", the second byte is " small business number ",
Third byte is reserved reserved bit, to use for the extension of different business mechanism.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910451541.9A CN110210270B (en) | 2019-05-28 | 2019-05-28 | Two-dimensional code information security reinforcement method and system and two-dimensional code image analysis method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910451541.9A CN110210270B (en) | 2019-05-28 | 2019-05-28 | Two-dimensional code information security reinforcement method and system and two-dimensional code image analysis method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110210270A true CN110210270A (en) | 2019-09-06 |
CN110210270B CN110210270B (en) | 2024-04-09 |
Family
ID=67789061
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910451541.9A Active CN110210270B (en) | 2019-05-28 | 2019-05-28 | Two-dimensional code information security reinforcement method and system and two-dimensional code image analysis method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110210270B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110691359A (en) * | 2019-09-24 | 2020-01-14 | 中国电力科学研究院有限公司 | Safety protection method for power marketing professional Bluetooth communication |
CN110909842A (en) * | 2019-11-15 | 2020-03-24 | 成都旺小宝科技有限公司 | Business planning book making and customer management method based on dynamic two-dimensional code |
CN111866839A (en) * | 2020-08-10 | 2020-10-30 | 福州康达八方电子科技有限公司 | Method and system for establishing Bluetooth connection based on two-dimensional code |
CN112100983A (en) * | 2020-08-14 | 2020-12-18 | 许继集团有限公司 | Identification code used in system and generation method of identification code |
CN113452688A (en) * | 2021-06-24 | 2021-09-28 | 山东三未信安信息科技有限公司 | Image encryption and decryption method and device based on SM4 and SM2 algorithms |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101488195A (en) * | 2008-12-30 | 2009-07-22 | 深圳华为通信技术有限公司 | Method, apparatus and terminal for declaring data information type in two-dimensional code |
CN104835071A (en) * | 2015-04-22 | 2015-08-12 | 中国建设银行股份有限公司 | Form-filling method and device |
CN106408065A (en) * | 2016-09-05 | 2017-02-15 | 成都天钥科技有限公司 | Two-dimensional code encoding method and apparatus |
CN106452756A (en) * | 2016-11-08 | 2017-02-22 | 王栋 | Construction verification method and device capable of verifying security two-dimensional code offline |
CN107358284A (en) * | 2017-07-11 | 2017-11-17 | 北京捷润科技有限公司 | Generation method, read method, generating means and the reading device of Quick Response Code |
-
2019
- 2019-05-28 CN CN201910451541.9A patent/CN110210270B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101488195A (en) * | 2008-12-30 | 2009-07-22 | 深圳华为通信技术有限公司 | Method, apparatus and terminal for declaring data information type in two-dimensional code |
CN104835071A (en) * | 2015-04-22 | 2015-08-12 | 中国建设银行股份有限公司 | Form-filling method and device |
CN106408065A (en) * | 2016-09-05 | 2017-02-15 | 成都天钥科技有限公司 | Two-dimensional code encoding method and apparatus |
CN106452756A (en) * | 2016-11-08 | 2017-02-22 | 王栋 | Construction verification method and device capable of verifying security two-dimensional code offline |
CN107358284A (en) * | 2017-07-11 | 2017-11-17 | 北京捷润科技有限公司 | Generation method, read method, generating means and the reading device of Quick Response Code |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110691359A (en) * | 2019-09-24 | 2020-01-14 | 中国电力科学研究院有限公司 | Safety protection method for power marketing professional Bluetooth communication |
CN110909842A (en) * | 2019-11-15 | 2020-03-24 | 成都旺小宝科技有限公司 | Business planning book making and customer management method based on dynamic two-dimensional code |
CN111866839A (en) * | 2020-08-10 | 2020-10-30 | 福州康达八方电子科技有限公司 | Method and system for establishing Bluetooth connection based on two-dimensional code |
CN112100983A (en) * | 2020-08-14 | 2020-12-18 | 许继集团有限公司 | Identification code used in system and generation method of identification code |
CN113452688A (en) * | 2021-06-24 | 2021-09-28 | 山东三未信安信息科技有限公司 | Image encryption and decryption method and device based on SM4 and SM2 algorithms |
CN113452688B (en) * | 2021-06-24 | 2022-07-08 | 山东三未信安信息科技有限公司 | Image encryption and decryption method and device based on SM4 and SM2 algorithms |
Also Published As
Publication number | Publication date |
---|---|
CN110210270B (en) | 2024-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110210270A (en) | Two-dimensional barcode information safety encryption and system and image in 2 D code analytic method and system | |
US5568554A (en) | Method for improving the processing and storage performance of digital signature schemes | |
CN100533456C (en) | Security code production method and methods of using the same, and programmable device therefor | |
CN103778590B (en) | Using digital picture storage and the method and apparatus of transmission information | |
CN106357396A (en) | Digital signature method, digital signature system and quantum key card | |
CN105825257A (en) | Information hiding and hidden information extraction method based on two-dimensional barcode and information hiding and hidden information extraction system thereof | |
CN106610995B (en) | Method, device and system for creating ciphertext index | |
CN101765996A (en) | Remote Authentication And Transaction Signatures | |
CN106533697B (en) | Generating random number and extracting method and its application in authentication | |
CN103427987A (en) | Data encryption method, data verification method and electronic device | |
CN103780379A (en) | Password encryption method and system, and cryptographic check method and system | |
US20090190189A1 (en) | Information processing apparatus, control method therefor, information processing system, and program | |
US7577845B2 (en) | Information matrix cryptogram | |
CN1988441A (en) | Data safety transmission method | |
PL168163B1 (en) | Access and/or identification controlling method | |
CN106100823B (en) | Password protection device | |
CN100546239C (en) | The application cryptogram diagram technology carries out method of encrypting to data | |
CN102054250A (en) | System and method for obtaining an authorization key to use a product | |
CN107682156A (en) | A kind of encryption communication method and device based on SM9 algorithms | |
CN115033925B (en) | Database security retrieval method | |
CN105718978A (en) | QR code generation method and apparatus, and decoding method and apparatus | |
CN104363089B (en) | A kind of method that fuzzy vault is realized based on geographical location information | |
CN111597521B (en) | Method and system for safely processing data of mobile terminal of transformer substation | |
Abiega-L’Eglisse et al. | A New Fuzzy Vault based Biometric System robust to Brute-Force Attack | |
KR20110073227A (en) | Method, apparatus, server and recordable medium for encrypting and combining order info and contents info separated from personal info |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |