CN103955664A - High-speed document scanner capable of safely decoding two-dimensional code of vehicle approval certificate and decoding method - Google Patents

High-speed document scanner capable of safely decoding two-dimensional code of vehicle approval certificate and decoding method Download PDF

Info

Publication number
CN103955664A
CN103955664A CN201410176419.2A CN201410176419A CN103955664A CN 103955664 A CN103955664 A CN 103955664A CN 201410176419 A CN201410176419 A CN 201410176419A CN 103955664 A CN103955664 A CN 103955664A
Authority
CN
China
Prior art keywords
security module
instrument
quick response
response code
shield
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410176419.2A
Other languages
Chinese (zh)
Other versions
CN103955664B (en
Inventor
陈德展
李维新
孙涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANDONG SYNTHESIS ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
SHANDONG SYNTHESIS ELECTRONIC TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANDONG SYNTHESIS ELECTRONIC TECHNOLOGY Co Ltd filed Critical SHANDONG SYNTHESIS ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201410176419.2A priority Critical patent/CN103955664B/en
Publication of CN103955664A publication Critical patent/CN103955664A/en
Application granted granted Critical
Publication of CN103955664B publication Critical patent/CN103955664B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention provides a high-speed document scanner capable of safely decoding a two-dimensional code of a vehicle approval certificate. A U-type shield security module is inserted or embedded in the high-speed document scanner. The high-speed document scanner is used for collecting a two-dimensional code image. The U-type shield security module is used for converting ciphertext information into plaintext information. A decoding method includes the steps that (a) the high-speed document scanner is connected with a PC, and the U-type shield security module is connected with the high-speed document scanner; (b) the high-speed document scanner judges whether a U-type shield is legal by verifying the correctness of authentication data; (c) the high-speed document scanner collects the two-dimensional code image and obtains a decodable image through an image processing method; (d) the high-speed document scanner conducts decoding to obtain ciphertext binary data of the two-dimensional code; (e) the high-speed document scanner sends a two-dimensional code ciphertext to the U-type shield, and the U-type shield obtains the plaintext information of the two-dimensional code through a decryption algorithm. According to the high-speed document scanner and the decoding method, decoding of the two-dimensional code is conducted in the U-type shield, so that the security of the decryption algorithm and a decryption key is ensured, scanning equipment is not needed, the process is simplified, the data entry efficiency is improved, and expenses for purchasing the scanning equipment are omitted.

Description

A kind of vehicle quality certificates Quick Response Code high instrument and coding/decoding method clapped of decoding safely
Technical field
The present invention relates to a kind of vehicle quality certificates Quick Response Code high instrument and coding/decoding method clapped of decoding safely, in particular, relate in particular to a kind of height bat instrument and coding/decoding method that utilizes the high-definition image of the high vehicle quality certificates Quick Response Code of clapping instrument collection and obtain Quick Response Code cleartext information by U shield security module.
Background technology
Along with the release of new edition conformity certification, various places vehicle management can carry out collection vehicle data by the two-dimensional bar code directly reading on conformity certification in the time that new car is registered, solve the problem that manual typing makes mistakes slowly and easily, thereby improve efficiency and the accuracy of vehicle administration office's vehicle registration.National Traffic Management Research Institute, Ministry of Public Security has increased conformity certification two-dimensional bar code automatic reading function in " motor vehicle register system " software of whole nation unification, and according to the unified plan of Traffic Administration Bureau of the Ministry of Public Security, this software has issued each vehicle administration office and used.
In order to prevent the forgery of vehicle quality certificates, the two-dimensional bar code on conformity certification has adopted the means of data encryption.At present, the dedicated scan rifle that only has use to load decipherment algorithm just can obtain the cleartext information of two-dimensional bar code.Therefore, in vehicle management institute transacting business process, need the desk device of using to comprise:
Second-generation resident identification card checking facility, for verifying transactor's identity information;
The high instrument of clapping, retains for taking image in 2 D code and customer information;
Dedicated scan rifle, for reading the two-dimensional bar code of vehicle quality certificates.
The main process that two-dimensional bar code reads is the process of an image recognition, obtains the image information of bar code by camera, then obtains binary bar code information by the image processing of computing machine.Read in process at vehicle quality certificates, reading at first what obtain is the 2 D code information through encrypting, then passes through the processing of decipherment algorithm, the final bar code information expressly that obtains.At present, decipherment algorithm is stored in the processor chips of dedicated scan rifle, reading after the two-dimensional bar code of vehicle quality certificates, is decrypted computing.
The high instrument of clapping is connected with host computer by USB mouth conventionally, and the image that high bat instrument camera photographs is transferred to host computer after pre-service.High image pre-service of clapping instrument comprises frame choosing, mirror image, rotates, cuts, changes image size, inverse, gray-scale map, binary map, dithering process, colour switching, Gamma correction, increase brightness, reduce brightness, increase saturation degree, reduce saturation degree etc., can effectively promote the quality of original image.The high camera of clapping instrument can reach 5,000,000 pixels conventionally, higher than scanner camera, is therefore clapped image that instrument obtains and can accurately be read the information of Quick Response Code by height.
The principle of scanner is to obtain two-dimensional barcode image information by the camera of high-resolution, and then, to the two-dimensional bar code processing of decoding, decrypted program is solidificated in barcode scanning gun, and security is poor.High to clap instrument be a kind of image acquisition equipment, and therefore, it can obtain the image information of two-dimensional bar code, then carries out image processing, two-dimensional bar code decoding, decryption oprerations, obtains the cleartext information of vehicle quality certificates.Can carry out like this customer information retention, can carry out again obtaining of vehicle quality certificates Quick Response Code, thereby realize high the multiplexing of instrument function of clapping.
In banking industry, for service security on catch net, conventionally adopt secure hardware U shield.
U shield is for the protection of the client of Web bank safety " SmartGuard "." U shield " adopted and used the individual client's certificate that has physical medium, sets up the personal certificate authentication system based on PKI PKI technology.PKI (Public Key Infrastructure) be a kind of follow standard to utilize public key cryptography be ecommerce carries out the technology of a set of foundation for security platform and specification are provided.At technical elements, customer's certificate authenticates and digital signature technology by personal certificate, client's online transaction is implemented to authentication, and can sign miscellaneous service service agreement, has guaranteed the unique, complete and undeniable of transaction and agreement.It is the hardware in kind that band intelligent chip, a shape are similar to flash memory (being USB flash disk), is the highest-ranking a kind of security tool of current Web bank client secure.
U shield security module possesses very strong anti-attack ability on physical hardware, U shield chip has adopted current information security technology leading in the world, kernal hardware module adopts smart card cpu chip, inner structure is made up of CPU and encryption logic, RAM, ROM, EEPROM and I/O five parts, is a small-size computer with security system.
(1) code of safety is deposited: in U shield chip; cryptographic algorithm can be loaded into U shield chip internal by the initialization of U shield; once initialization completes, the hardware security module of U shield and Chip Operating System COS can protect the information of U shield inside not accessed by the external world.All command interfaces that can only specify by COS the access of U shield operate.Therefore the cryptographic algorithm code leaving in U shield is safe.The full name of COS is Chip Operating System (chip operating system), and the feature of the smart card that it is generally tightly served round it is developed.
(2) key of safety is deposited: the key storage of U shield is in inner intelligent chip, user cannot directly read from outside, read-write to key file and amendment all must be called corresponding program file by the CPU of U shield inside and be carried out, thereby the outside of U shield interface, can the content in key district be read, revises, be upgraded and delete without any an instruction, can ensure that like this disabled user cannot utilize illegal program amendment key.
(3) hardware is realized cryptographic algorithm: the built-in CPU of U shield or intelligent card chip, can realize the various algorithms of data summarization, data encrypting and deciphering and signature, and encryption and decryption computing is carried out in U shield, ensures that user key there will not be in calculator memory.
(4) double-key cipher system: in order to improve security, U shield has adopted conbined public or double key cipher system to ensure security, in the time that U shield is initialized, first cryptographic algorithm program is fired in ROM, then generate a pair of public and private key by producing the right program of public and private key, after public and private key produces, PKI can export to outside U shield, private key is stored in key district, does not allow external reference.While carrying out digital signature and when asymmetric decrypt operation, every crypto-operation only can complete at chip internal, and omnidistance private key can not go out U shield medium, thereby ensures that the digital certificate authentication taking U shield as storage medium is perfect in safety.
Summary of the invention
The present invention is in order to overcome the shortcoming of above-mentioned technical matters, and a kind of vehicle quality certificates Quick Response Code high instrument and coding/decoding method clapped of decoding is safely provided.
The vehicle quality certificates Quick Response Code of the present invention high instrument of clapping of decoding safely, comprise the height bat instrument that can carry out high-definition image collection, it is characterized in that: described high bat instrument is pegged graft or embedded and has U shield security module, high bat instrument is used for the image of collection vehicle conformity certification Quick Response Code, and by the processing of image being obtained to the ciphertext binary data of Quick Response Code; U shield security module is for ciphertext binary data being converted into expressly binary data, to obtain vehicle registration data.
The high instrument of clapping is for taking the Quick Response Code figure of vehicle quality certificates, and utilize the Quick Response Code reading code method embedding that Quick Response Code is converted into ciphertext binary data, in U shield security module, realize the deciphering to Quick Response Code encrypt data, effectively ensured the security of decipherment algorithm and decruption key.Owing to adopting the high instrument of clapping can obtain the information of vehicles that Quick Response Code is corresponding, avoid the use of Quick Response Code scanner, simplify collecting vehicle information step, save cost.
The vehicle quality certificates Quick Response Code of the present invention high instrument of clapping of decoding safely, the described high instrument of clapping is connected with the PC that carries out data storage, and the plaintext binary data after transforming is sent to PC by U shield security module.
The vehicle quality certificates Quick Response Code of the present invention high coding/decoding method of clapping instrument of decoding safely, is characterized in that, comprises the following steps: a). the connection of equipment, and height is clapped to instrument and be connected with the PORT COM of PC, to realize the data transmission between PC and height bat instrument; Initialized U shield security module is connected with the high instrument of clapping with the form of pegging graft or embed, to realize high data transmission of clapping between instrument and U shield module; B). identification of equipment validity, the correctness of the verify data that high bat instrument sends by checking U shield security module, judges that whether connected U shield security module is legal; C). the acquisition and processing of image in 2 D code, the high original image of clapping instrument collection vehicle conformity certification Quick Response Code, and obtain decodable Quick Response Code picture rich in detail by image processing method; D). obtaining of Quick Response Code ciphertext, the high instrument of clapping, by image in 2 D code after treatment is decoded, obtains the ciphertext binary data of Quick Response Code; E). obtaining of Quick Response Code plaintext, the ciphertext binary data of Quick Response Code is sent to U shield security module by the high instrument of clapping, U shield security module is decrypted ciphertext binary data by decipherment algorithm, obtain the plaintext binary data of Quick Response Code, and plaintext binary data is transferred in PC and stored.
The vehicle quality certificates Quick Response Code of the present invention high coding/decoding method of clapping instrument of decoding safely, step a) the initialization of middle U shield security module realizes by following steps: a-1). loading algorithm and key, to the master key and the authenticate key that load decipherment algorithm, decruption key and the U shield security module of vehicle quality certificates Quick Response Code in U shield security module, if there is one to load unsuccessfully, the report that provides loading error is reminded; A-2). input and obtaining information, in U shield security module, input encryption factor Enfac and authorization code PIN, and obtain the unique identifier UID of U shield security module; A-3). generate mask key, utilize the unique identifier UID of U shield security module and authorization code PIN to generate mask key; A-4). decruption key is encrypted, first by encrypt factor Enfac be filled in U shield security module master key after, generate temporary key; Then utilize temporary key to be encrypted decruption key, and the decruption key after encrypting is deposited in U shield security module; A-5). encrypt the encryption of the factor, utilize mask key to be encrypted encrypting the factor, obtain the encryption factor after encrypting, become encrypted state so that encrypt the factor from exposed state; A-6). information is written into the high instrument of clapping, authorization code PIN, authenticate key and the encrypted encryption factor are written into high bat in instrument, complete the initialization of U shield security module.Wherein, the initialization of U shield security module realizes at production link.
The vehicle quality certificates Quick Response Code of the present invention high coding/decoding method of clapping instrument of decoding safely, step e) obtaining by following steps of middle Quick Response Code plaintext realizes: e-1). send Quick Response Code ciphertext, the high ciphertext binary data of instrument to U shield security module transmission Quick Response Code of clapping, so that U shield security module is decrypted the ciphertext of Quick Response Code; E-2). send deciphering data, the encryption factor that high bat instrument sends authorization code PIN and encrypted to U shield security module; E-3). generate mask key, first U shield security module obtains the unique identifier UID of self, and recycling UID and the authorization code PIN receiving generate the mask key of encrypting factor Enfac; E-4). obtain the encryption factor, the encryption factor after encrypting is reduced and obtained encrypting factor Enfac with mask key; E-5). read encrypted decruption key, U shield security module reads in decruption key encrypted in initialization procedure; E-7). obtain decruption key, the encryption factor is filled in after U shield master key, generate temporary key, use temporary key to be decrypted the decruption key in encrypted state, obtain decruption key; E-8). obtain Quick Response Code expressly, utilize decruption key to be decrypted ciphertext binary data, obtain expressly binary data, and plaintext binary data is uploaded to PC.
The vehicle quality certificates Quick Response Code of the present invention high coding/decoding method of clapping instrument of decoding safely, step b) described identification of equipment validity realizes by following steps: b-1). send checking request, the high instrument of clapping sends random number request to U shield security module, to ask mutual certification; B-2). passback random number, U shield security module produces random number and sends it to the high instrument of clapping; B-3). produce verify data, U shield security module is by step b-2) random number that produces is carried out RSA computing with the authenticate key of self storage, and the result that computing is obtained sends high bat instrument to as verify data; B-4). judge that whether operation result is identical, the random number that the utilization of high bat instrument receives and the authenticate key of self storage carry out RSA computing, and whether the operation result that judges self is identical with the verify data that U shield security module transmits, if identical, thinks that U shield security module is legal; If not identical, think that U shield security module is illegal, authentication failed.
The vehicle quality certificates Quick Response Code of the present invention high coding/decoding method of clapping instrument of decoding safely, step comprises frame choosing, mirror image, rotates, cuts, changes image size, inverse, gray-scale map, binary map, dithering process, colour switching, Gamma correction, increase saturation degree, reduces saturation degree, increases brightness and/or reduce brightness processed the disposal route of the image in 2 D code obtaining in c).
The vehicle quality certificates Quick Response Code of the present invention high coding/decoding method of clapping instrument of decoding safely, step a) in the high instrument of clapping be connected by USB port with PC; U shield security module is also connected by USB port with the high instrument of clapping.
The invention has the beneficial effects as follows: vehicle quality certificates Quick Response Code of the present invention high instrument and the coding/decoding method clapped of decoding safely, clap the high-definition image of instrument collection vehicle conformity certification Quick Response Code and decode by height, obtain the ciphertext binary data of Quick Response Code; Utilize decruption key and decipherment algorithm in U shield security module, the ciphertext of Quick Response Code to be decrypted, obtain the plaintext binary data of Quick Response Code, realized vehicle registration obtaining by data.Because the deciphering of data is carried out in U shield security module, effectively ensure the security of decipherment algorithm and decruption key, avoided the use of two-dimensional code scanning device immediately of existing vehicle simultaneously, not only simplify flow process, improved data efficiency of inputting, but also saved the spending of buying scanning device.
Support the U shield security module of hot plug to carry out data deciphering owing to adopting, there is plug and play, be easy to carry and take care of.In existing equipment; decrypted program is solidificated in barcode scanning gun; security is poor; in the present invention, adopt secure hardware-U shield of banking industry widespread use to protect algorithm and the key of the deciphering of Quick Response Code; security is very high, can effectively solve the safety problem of vehicle quality certificates Quick Response Code decoding.
High advantage applies of clapping instrument and coding/decoding method of the present invention exists:
(1) clap instrument and obtain the image information of two-dimensional bar code by height, then carry out image pre-service and Quick Response Code decoding, and then utilize U shield to be decrypted operation, obtain the cleartext information of vehicle quality certificates.Can carry out like this customer information retention, can carry out again obtaining of vehicle quality certificates Quick Response Code, thereby realize high the multiplexing of instrument function of clapping.
(2) do not need to use dedicated scan rifle, then can save the government procurement expense of several thousand yuan every, make simultaneously vehicle management business handling more succinct, convenient.
(3) U shield security module is inserted into high bat in instrument base USB interface with the form of USB device, or directly mount height and clap on the circuit board of instrument, the high instrument of clapping obtains after image, by self image processing module decode two dimensional codes, and then mutually authenticate with U shield, effectively improve system effectiveness.
(4) in U shield, key and decipherment algorithm, can be by unauthorized access by the software and hardware safeguard protection of U shield.In the time that this scheme of application reads vehicle quality certificates Quick Response Code, the Quick Response Code data of needs deciphering are sent to U shield security module by the high instrument of clapping, U shield security module is decrypted, plaintext is sent back to, in this process, the mode of operation of U shield is the black box of a safety, the algorithm that it is inner and key can not leak, thereby have ensured security.
(5) protect, be encrypted protection and master key is encrypted to protection encrypting the factor by the certification of U shield, effectively improved the security of system decrypts Quick Response Code.
Brief description of the drawings
Fig. 1 is decode the safely process flow diagram of the high coding/decoding method of clapping instrument of Quick Response Code of the present invention;
Fig. 2 is the initialization flowchart of U shield security module in the present invention;
Fig. 3 be in the present invention Quick Response Code expressly binary data obtain process flow diagram;
Fig. 4 is the process flow diagram that high bat instrument and U shield security module authenticate mutually.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the invention will be further described.
The vehicle quality certificates Quick Response Code of the present invention high instrument of clapping of decoding is safely clapped instrument, U shield security module and PC by height and is formed, the high instrument of clapping is for the image of collection vehicle conformity certification Quick Response Code and registrant's out of Memory, U shield security module is clapped instrument communication and is connected with high by the form of pegging graft or embed, and highly claps the image of instrument collection Quick Response Code and by the processing of image being obtained to the ciphertext binary data of Quick Response Code; U shield security module is for ciphertext binary data being converted into expressly binary data, to obtain vehicle registration data.The high instrument of clapping can be connected by USB port with PC, and U shield security module also can be connected by USB port with the high instrument of clapping.
As shown in Figure 1, provided decode the safely process flow diagram of the high coding/decoding method of clapping instrument of Quick Response Code of the present invention, it is realized by following steps:
A). the connection of equipment, height is clapped to instrument and be connected with the PORT COM of PC, to realize PC and high data transmission of clapping between instrument; Initialized U shield security module is connected with the high instrument of clapping with the form of pegging graft or embed, to realize high data transmission of clapping between instrument and U shield module;
As shown in Figure 2, provided the initialization flowchart of U shield security module, in this step, the initialization of U shield security module realizes by following steps:
A-1). loading algorithm and key, to the master key and the authenticate key that load decipherment algorithm, decruption key and the U shield security module of vehicle quality certificates Quick Response Code in U shield security module, if there is one to load unsuccessfully, the report that provides loading error is reminded;
U shield security module needs to be written into three kinds of keys in initialization procedure, for deciphering the decruption key of 2 D code information, and for the U shield master key of encrypting and decrypting key, and unique authenticate key of identifying for U shield legitimacy.
A-2). input and obtaining information, in U shield security module, input encryption factor Enfac and authorization code PIN, and obtain the unique identifier UID of U shield security module;
The UID of U shield represents the unique identifier of U shield, in U shield production run, is loaded, and can not be read by the external world.Authorization code PIN and encryption factor Enfac are U shield initialization artificial settings before, for initialization and Quick Response Code data deciphering process.
A-3). generate mask key, utilize the unique identifier UID of U shield security module and authorization code PIN to generate mask key;
The inner UID of U shield and the PIN of extraneous input generate mask key.In initialization procedure, mask key is for encrypting the Enfac of extraneous input; In Quick Response Code data deciphering process, mask key is for deciphering the Enfac in encrypted state of extraneous input.
A-4). decruption key is encrypted, first by encrypt factor Enfac be filled in U shield security module master key after, generate temporary key; Then utilize temporary key to be encrypted decruption key, and the decruption key after encrypting is deposited in U shield security module;
Encrypt factor Enfac and be used for filling U shield master key, generate temporary key.In initialization procedure, temporary key is for encrypting and decrypting key; In Quick Response Code data deciphering process, temporary key is for deciphering the decruption key in encrypted state.
A-5). encrypt the encryption of the factor, utilize mask key to be encrypted encrypting the factor, obtain the encryption factor after encrypting, become encrypted state so that encrypt the factor from exposed state;
A-6). information is written into the high instrument of clapping, authorization code PIN, authenticate key and the encrypted encryption factor are written into high bat in instrument, complete the initialization of U shield security module
B). identification of equipment validity, the correctness of the verify data that high bat instrument sends by checking U shield security module, judges that whether connected U shield security module is legal;
As shown in Figure 4, provided the process flow diagram that high bat instrument and U shield security module authenticate mutually, in this step, identification of equipment validity is realized by following steps:
B-1). send checking request, the high instrument of clapping sends random number request to U shield security module, to ask mutual certification;
B-2). passback random number, U shield security module produces random number and sends it to the high instrument of clapping;
B-3). produce verify data, U shield security module is by step b-2) random number that produces is carried out RSA computing with the authenticate key of self storage, and the result that computing is obtained sends high bat instrument to as verify data;
B-4). judge that whether operation result is identical, the random number that the utilization of high bat instrument receives and the authenticate key of self storage carry out RSA computing, and whether the operation result that judges self is identical with the verify data that U shield security module transmits, if identical, thinks that U shield security module is legal; If not identical, think that U shield security module is illegal, authentication failed.
C). the acquisition and processing of image in 2 D code, the high original image of clapping instrument collection vehicle conformity certification Quick Response Code, and obtain decodable Quick Response Code picture rich in detail by image processing method;
In this step, the disposal route of image in 2 D code comprises frame choosing, mirror image, rotates, cuts, changes image size, inverse, gray-scale map, binary map, dithering process, colour switching, Gamma correction, increase saturation degree, reduces saturation degree, increases brightness and/or reduce brightness processed.
D). obtaining of Quick Response Code ciphertext, the high instrument of clapping, by image in 2 D code after treatment is decoded, obtains the ciphertext binary data of Quick Response Code;
E). obtaining of Quick Response Code plaintext, the ciphertext binary data of Quick Response Code is sent to U shield security module by the high instrument of clapping, U shield security module is decrypted ciphertext binary data by decipherment algorithm, obtain the plaintext binary data of Quick Response Code, and plaintext binary data is transferred in PC and stored.
As shown in Figure 3, provided Quick Response Code in the present invention expressly binary data obtain process flow diagram, Quick Response Code obtaining by following steps expressly realized in this step:
E-1). send Quick Response Code ciphertext, the high ciphertext binary data of instrument to U shield security module transmission Quick Response Code of clapping, so that U shield security module is decrypted the ciphertext of Quick Response Code;
E-2). send deciphering data, the encryption factor that high bat instrument sends authorization code PIN and encrypted to U shield security module;
E-3). generate mask key, first U shield security module obtains the unique identifier UID of self, and recycling UID and the authorization code PIN receiving generate the mask key of encrypting factor Enfac;
E-4). obtain the encryption factor, the encryption factor after encrypting is reduced and obtained encrypting factor Enfac with mask key;
E-5). read encrypted decruption key, U shield security module reads in decruption key encrypted in initialization procedure;
E-7). obtain decruption key, the encryption factor is filled in after U shield master key, generate temporary key, use temporary key to be decrypted the decruption key in encrypted state, obtain decruption key;
E-8). obtain Quick Response Code expressly, utilize decruption key to be decrypted ciphertext binary data, obtain expressly binary data, and plaintext binary data is uploaded to PC.
Vehicle quality certificates Quick Response Code of the present invention high instrument and the coding/decoding method clapped of decoding safely, clap instrument and obtain the ciphertext binary data of vehicle quality certificates Quick Response Code by height, in U shield security module, the ciphertext of Quick Response Code is decrypted again, obtain the plaintext binary data of Quick Response Code, realized vehicle registration obtaining by data.Because the deciphering of data is carried out in U shield security module, effectively ensure the security of decipherment algorithm and decruption key, avoided the use of two-dimensional code scanning device immediately of existing vehicle simultaneously, not only simplify flow process, improved data efficiency of inputting, but also saved the spending of buying scanning device.

Claims (8)

1. a vehicle quality certificates Quick Response Code high instrument of clapping of decoding safely, comprise the height bat instrument that can carry out high-definition image collection, it is characterized in that: described high bat instrument is pegged graft or embedded and has U shield security module, high bat instrument is used for the image of collection vehicle conformity certification Quick Response Code, and by the processing of image being obtained to the ciphertext binary data of Quick Response Code; U shield security module is for ciphertext binary data being converted into expressly binary data, to obtain vehicle registration data.
2. the vehicle quality certificates Quick Response Code according to claim 1 high instrument of clapping of decoding safely, is characterized in that: the described high instrument of clapping is connected with the PC that carries out data storage, and the plaintext binary data after transforming is sent to PC by U shield security module.
3. based on the vehicle quality certificates Quick Response Code claimed in claim 1 high coding/decoding method of clapping instrument of decoding safely, it is characterized in that, comprise the following steps:
A). the connection of equipment, height is clapped to instrument and be connected with the PORT COM of PC, to realize PC and high data transmission of clapping between instrument; Initialized U shield security module is connected with the high instrument of clapping with the form of pegging graft or embed, to realize high data transmission of clapping between instrument and U shield module;
B). identification of equipment validity, the correctness of the verify data that high bat instrument sends by checking U shield security module, judges that whether connected U shield security module is legal;
C). the acquisition and processing of image in 2 D code, the high original image of clapping instrument collection vehicle conformity certification Quick Response Code, and obtain decodable Quick Response Code picture rich in detail by image processing method;
D). obtaining of Quick Response Code ciphertext, the high instrument of clapping, by image in 2 D code after treatment is decoded, obtains the ciphertext binary data of Quick Response Code;
E). obtaining of Quick Response Code plaintext, the ciphertext binary data of Quick Response Code is sent to U shield security module by the high instrument of clapping, U shield security module is decrypted ciphertext binary data by decipherment algorithm, obtain the plaintext binary data of Quick Response Code, and plaintext binary data is transferred in PC and stored.
4. the vehicle quality certificates Quick Response Code according to claim 3 high coding/decoding method of clapping instrument of decoding safely, is characterized in that, step a) in the initialization of U shield security module realize by following steps:
A-1). loading algorithm and key, to the master key and the authenticate key that load decipherment algorithm, decruption key and the U shield security module of vehicle quality certificates Quick Response Code in U shield security module, if there is one to load unsuccessfully, the report that provides loading error is reminded;
A-2). input and obtaining information, in U shield security module, input encryption factor Enfac and authorization code PIN, and obtain the unique identifier UID of U shield security module;
A-3). generate mask key, utilize the unique identifier UID of U shield security module and authorization code PIN to generate mask key;
A-4). decruption key is encrypted, first by encrypt factor Enfac be filled in U shield security module master key after, generate temporary key; Then utilize temporary key to be encrypted decruption key, and the decruption key after encrypting is deposited in U shield security module;
A-5). encrypt the encryption of the factor, utilize mask key to be encrypted encrypting the factor, obtain the encryption factor after encrypting, become encrypted state so that encrypt the factor from exposed state;
A-6). information is written into the high instrument of clapping, authorization code PIN, authenticate key and the encrypted encryption factor are written into high bat in instrument, complete the initialization of U shield security module.
5. the vehicle quality certificates Quick Response Code according to claim 4 high coding/decoding method of clapping instrument of decoding safely, is characterized in that, step e) in Quick Response Code obtaining by following steps expressly realize:
E-1). send Quick Response Code ciphertext, the high ciphertext binary data of instrument to U shield security module transmission Quick Response Code of clapping, so that U shield security module is decrypted the ciphertext of Quick Response Code;
E-2). send deciphering data, the encryption factor that high bat instrument sends authorization code PIN and encrypted to U shield security module;
E-3). generate mask key, first U shield security module obtains the unique identifier UID of self, and recycling UID and the authorization code PIN receiving generate the mask key of encrypting factor Enfac;
E-4). obtain the encryption factor, the encryption factor after encrypting is reduced and obtained encrypting factor Enfac with mask key;
E-5). read encrypted decruption key, U shield security module reads in decruption key encrypted in initialization procedure;
E-7). obtain decruption key, the encryption factor is filled in after U shield master key, generate temporary key, use temporary key to be decrypted the decruption key in encrypted state, obtain decruption key;
E-8). obtain Quick Response Code expressly, utilize decruption key to be decrypted ciphertext binary data, obtain expressly binary data, and plaintext binary data is uploaded to PC.
6. according to the high coding/decoding method of clapping instrument of decoding safely of the vehicle quality certificates Quick Response Code described in claim 3 or 4, it is characterized in that, step b) described identification of equipment validity realizes by following steps:
B-1). send checking request, the high instrument of clapping sends random number request to U shield security module, to ask mutual certification;
B-2). passback random number, U shield security module produces random number and sends it to the high instrument of clapping;
B-3). produce verify data, U shield security module is by step b-2) random number that produces is carried out RSA computing with the authenticate key of self storage, and the result that computing is obtained sends high bat instrument to as verify data;
B-4). judge that whether operation result is identical, the random number that the utilization of high bat instrument receives and the authenticate key of self storage carry out RSA computing, and whether the operation result that judges self is identical with the verify data that U shield security module transmits, if identical, thinks that U shield security module is legal; If not identical, think that U shield security module is illegal, authentication failed.
7. according to the high coding/decoding method of clapping instrument of decoding safely of the vehicle quality certificates Quick Response Code described in claim 3 or 4, it is characterized in that, step comprises frame choosing, mirror image, rotates, cuts, changes image size, inverse, gray-scale map, binary map, dithering process, colour switching, Gamma correction, increase saturation degree, reduces saturation degree, increases brightness and/or reduce brightness processed the disposal route of the image in 2 D code obtaining in c).
8. according to the high coding/decoding method of clapping instrument of decoding safely of the vehicle quality certificates Quick Response Code described in claim 3 or 4, it is characterized in that, step a) in the high instrument of clapping be connected by USB port with PC; U shield security module is also connected by USB port with the high instrument of clapping.
CN201410176419.2A 2014-04-29 2014-04-29 High-speed document scanner capable of safely decoding two-dimensional code of vehicle approval certificate and decoding method Active CN103955664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410176419.2A CN103955664B (en) 2014-04-29 2014-04-29 High-speed document scanner capable of safely decoding two-dimensional code of vehicle approval certificate and decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410176419.2A CN103955664B (en) 2014-04-29 2014-04-29 High-speed document scanner capable of safely decoding two-dimensional code of vehicle approval certificate and decoding method

Publications (2)

Publication Number Publication Date
CN103955664A true CN103955664A (en) 2014-07-30
CN103955664B CN103955664B (en) 2017-05-10

Family

ID=51332939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410176419.2A Active CN103955664B (en) 2014-04-29 2014-04-29 High-speed document scanner capable of safely decoding two-dimensional code of vehicle approval certificate and decoding method

Country Status (1)

Country Link
CN (1) CN103955664B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240259A (en) * 2014-10-10 2014-12-24 江苏国光信息产业股份有限公司 High-speed photographing instrument voucher intelligent edge cutting and correcting system and high-speed photographing instrument voucher intelligent edge cutting and correcting method based on silhouette extraction
CN105787403A (en) * 2014-12-19 2016-07-20 福建新大陆电脑股份有限公司 Barcode reading method and device of high-pixel image
CN106650870A (en) * 2016-11-01 2017-05-10 南京理工大学 Access safety two-dimensional code generation method
CN109005201A (en) * 2018-11-02 2018-12-14 美的集团股份有限公司 Transmission method, server, equipment and the storage medium of creation data
CN111539496A (en) * 2020-04-20 2020-08-14 山东确信信息产业股份有限公司 Vehicle information two-dimensional code generation method, two-dimensional code license plate, authentication method and system
CN112991609A (en) * 2021-02-23 2021-06-18 长久金孚企业管理咨询(深圳)有限公司 Method, device and equipment for identifying authenticity of automobile certificate

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201251784Y (en) * 2008-09-19 2009-06-03 北京飞天诚信科技有限公司 USB Key device for reading a bar code
US20090244653A1 (en) * 2008-03-25 2009-10-01 Canon Kabushiki Kaisha Image processing device and image processing method
CN202758366U (en) * 2012-07-24 2013-02-27 吉林省通程科技有限公司 Anti-fake graph code reading system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090244653A1 (en) * 2008-03-25 2009-10-01 Canon Kabushiki Kaisha Image processing device and image processing method
CN201251784Y (en) * 2008-09-19 2009-06-03 北京飞天诚信科技有限公司 USB Key device for reading a bar code
CN202758366U (en) * 2012-07-24 2013-02-27 吉林省通程科技有限公司 Anti-fake graph code reading system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240259A (en) * 2014-10-10 2014-12-24 江苏国光信息产业股份有限公司 High-speed photographing instrument voucher intelligent edge cutting and correcting system and high-speed photographing instrument voucher intelligent edge cutting and correcting method based on silhouette extraction
CN104240259B (en) * 2014-10-10 2017-04-05 江苏国光信息产业股份有限公司 High photographing instrument voucher intelligence cutting edge correction system and method based on contours segmentation
CN105787403A (en) * 2014-12-19 2016-07-20 福建新大陆电脑股份有限公司 Barcode reading method and device of high-pixel image
CN105787403B (en) * 2014-12-19 2019-03-05 新大陆数字技术股份有限公司 A kind of bar code reading method of high pixel image processing and the bar code recognizing apparatus of high pixel image processing
CN106650870A (en) * 2016-11-01 2017-05-10 南京理工大学 Access safety two-dimensional code generation method
CN109005201A (en) * 2018-11-02 2018-12-14 美的集团股份有限公司 Transmission method, server, equipment and the storage medium of creation data
CN111539496A (en) * 2020-04-20 2020-08-14 山东确信信息产业股份有限公司 Vehicle information two-dimensional code generation method, two-dimensional code license plate, authentication method and system
CN112991609A (en) * 2021-02-23 2021-06-18 长久金孚企业管理咨询(深圳)有限公司 Method, device and equipment for identifying authenticity of automobile certificate

Also Published As

Publication number Publication date
CN103955664B (en) 2017-05-10

Similar Documents

Publication Publication Date Title
KR102477453B1 (en) Transaction messaging
US8285991B2 (en) Electronically signing a document
CN103413159B (en) A kind of RFID electronic certificate off-line false proof realization method and system of Jianzhen based on CPK
CN101436280B (en) Method and system for implementing electronic payment of mobile terminal
CN103955664A (en) High-speed document scanner capable of safely decoding two-dimensional code of vehicle approval certificate and decoding method
US20140254796A1 (en) Method and apparatus for generating and/or processing 2d barcode
US20100250936A1 (en) Integrated circuit, encryption communication apparatus, encryption communication system, information processing method and encryption communication method
US20110016317A1 (en) Key storage device, biometric authentication device, biometric authentication system, key management method, biometric authentication method, and program
CN106953732B (en) Key management system and method for chip card
JP2019220169A (en) Personalizing integrated circuit that is produced with embedded root of trust secret
CN103473592B (en) A kind of label off-line authenticating method and device based on CPK system
CN106169041A (en) A kind of safety encryption portable hard drive based on USBKEY authentication and data transmission method thereof
CN104463016B (en) Data safety storing method suitable for IC cards and two-dimension codes
CN104809490A (en) Card anti-counterfeiting system based on multidimensional code and authentication method based on card anti-counterfeiting system
CN105391713A (en) Biological-certificate-based identity authentication method
KR100939725B1 (en) Certification method for a mobile phone
JP2004266360A (en) Authentication processor and security processing method
CN103544453A (en) USB (universal serial bus) KEY based virtual desktop file protection method and device
KR101561170B1 (en) A Safe Identification Card Method With Convergence of Fingerprint verification and Encrypted QR
TWI476629B (en) Data security and security systems and methods
JP2003143131A (en) Electronic information management device, portable information terminal device, management server device and program
CN109447029B (en) Electronic identity card photo generation system and method
CN104715537A (en) Encryption and decryption method based on digital tags
CN113761488A (en) Content network copyright tracing encryption system and encryption method
CN106953731A (en) The authentication method and system of a kind of terminal management person

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Shun high tech Zone of Ji'nan City, Shandong province 250101 China West Road No. 699

Applicant after: SYNTHESIS ELECTRONIC TECHNOLOGY CO., LTD.

Address before: Shun high tech Zone of Ji'nan City, Shandong province 250101 China West Road No. 699

Applicant before: Shandong Synthesis Electronic Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant