CN111539496A - Vehicle information two-dimensional code generation method, two-dimensional code license plate, authentication method and system - Google Patents

Vehicle information two-dimensional code generation method, two-dimensional code license plate, authentication method and system Download PDF

Info

Publication number
CN111539496A
CN111539496A CN202010312383.1A CN202010312383A CN111539496A CN 111539496 A CN111539496 A CN 111539496A CN 202010312383 A CN202010312383 A CN 202010312383A CN 111539496 A CN111539496 A CN 111539496A
Authority
CN
China
Prior art keywords
dimensional code
vehicle
vehicle information
key
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010312383.1A
Other languages
Chinese (zh)
Inventor
王吉伟
王立伟
刘伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Suresec Information Industry Co ltd
Original Assignee
Shandong Suresec Information Industry 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 Suresec Information Industry Co ltd filed Critical Shandong Suresec Information Industry Co ltd
Priority to CN202010312383.1A priority Critical patent/CN111539496A/en
Publication of CN111539496A publication Critical patent/CN111539496A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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/06009Record 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/06046Constructional details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/14Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Storage Device Security (AREA)

Abstract

The invention belongs to the field of license plate authentication, and particularly relates to a vehicle information two-dimensional code generation method, a two-dimensional code license plate, an authentication method and an authentication system. The vehicle information two-dimensional code generation method comprises the steps of obtaining vehicle information, calling a PKI (public key infrastructure) password service platform to encrypt the vehicle information and then generate a vehicle information encryption ciphertext, and carrying out digital signature on the vehicle information encryption ciphertext; and fusing the vehicle information encryption ciphertext and the digital signature to generate a credible vehicle two-dimensional code according to the selected image code version and the error correction level.

Description

Vehicle information two-dimensional code generation method, two-dimensional code license plate, authentication method and system
Technical Field
The invention belongs to the field of license plate authentication, and particularly relates to a vehicle information two-dimensional code generation method, a two-dimensional code license plate, an authentication method and an authentication system.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
Motor vehicle license plates are the main means for motor vehicle identification at present. In the aspect of license plate identification, a traffic management department finds the abnormity of a license plate and has higher difficulty mainly according to the material of the license plate and the slight differences of letters, numbers and the like on the license plate. Meanwhile, in order to avoid shooting by electronic police or for other illegal purposes, a person often uses fake license plates or applies license plates of other people, the person can drive on a road at will without any contraries, if a traffic accident escapes, the problem is brought to the detection of the traffic accident, the traffic accident becomes the current traffic violation of profound pain, and although a traffic management department continuously attacks the fake license plates and the fake license plate traffic violation, the problem is still prohibited.
The inventor finds that the current vehicle information two-dimensional code is not generally applied, the two-dimensional code comprises basic information of vehicles such as the driving number, the engine number, the vehicle type and the color of the vehicle, the plaintext is stored in the two-dimensional code, an effective security means is lacked, and once leakage occurs, great potential safety hazards are caused. In the two-dimension code authentication method, the information two-dimension code is mainly encrypted and protected by adopting an international general algorithm, a domestic cryptographic algorithm is not adopted, and the security level is low; the two-dimension code encryption adopts a unified encryption key, once the two-dimension code is leaked or cracked, regional vehicle two-dimension code information is decrypted, and encryption protection is carried out in a one-vehicle one-secret mode.
Disclosure of Invention
In order to solve the above problems, the present invention provides a vehicle information two-dimensional code generation method, a two-dimensional code license plate, an authentication method and a system, which on one hand prevent information from being tampered or information from being leaked during information transmission, and on the other hand can realize a terminal-ciphertext, thereby increasing the security of a secret key.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention provides a vehicle information two-dimensional code generation method.
A vehicle information two-dimensional code generation method comprises the following steps:
acquiring vehicle information, calling a PKI (public key infrastructure) password service platform to encrypt the vehicle information to generate a vehicle information encryption ciphertext, and digitally signing the vehicle information encryption ciphertext;
and fusing the vehicle information encryption ciphertext and the digital signature to generate a credible vehicle two-dimensional code according to the selected image code version and the error correction level.
A second aspect of the invention provides a vehicle information two-dimensional code generation server.
A vehicle information two-dimensional code generation server, comprising:
the encrypted signature module is used for acquiring the vehicle information, calling a PKI (public key infrastructure) password service platform to encrypt the vehicle information and then generate a vehicle information encrypted ciphertext, and digitally signing the vehicle information encrypted ciphertext;
and the two-dimensional code generation module is used for fusing the vehicle information encryption ciphertext and the digital signature to generate a credible vehicle two-dimensional code according to the selected image code version and the error correction level.
The third aspect of the invention provides a two-dimensional code license plate.
The two-dimensional code on the two-dimensional code license plate is obtained by the vehicle information two-dimensional code generation method.
The fourth aspect of the invention provides an authentication method for a two-dimensional code license plate.
A two-dimensional code license plate authentication method comprises the following steps:
receiving a two-dimensional code verification request of a mobile terminal;
after the vehicle two-dimensional code encryption key is decrypted, the vehicle two-dimensional code encryption key is encrypted by using the mobile terminal security key and then returned, and the vehicle two-dimensional code encryption key is decrypted by the mobile terminal security key module and then verified.
The fifth aspect of the invention provides an authentication system for a two-dimensional code license plate.
An authentication system of a two-dimensional code license plate comprises:
the verification request receiving module is used for receiving a two-dimensional code verification request of the mobile terminal;
and the two-dimension code verification module is used for returning the vehicle two-dimension code encryption key after encrypting the vehicle two-dimension code encryption key by using the mobile terminal security key after decrypting the vehicle two-dimension code encryption key, decrypting the vehicle two-dimension code encryption key by using the mobile terminal security key module and decrypting the vehicle two-dimension code for verification.
A sixth aspect of the invention provides a computer-readable storage medium.
A computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the vehicle information two-dimensional code generation method as described above.
Another computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps in the method for authenticating a two-dimensional code license plate as described above.
The invention has the beneficial effects that:
in order to ensure the safety of the two-dimension code information on the license plate, the invention adopts a dynamic encryption mechanism, one license plate and one key to standardize the generation, distribution, update and verification processes of the two-dimension code of the vehicle, realizes the encryption and privacy protection of the two-dimension code information of the vehicle, establishes a safe and rapid vehicle two-dimension code management system and is suitable for a mobile management law enforcement terminal.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the invention and together with the description serve to explain the invention and not to limit the invention.
FIG. 1 is a schematic diagram of a two-dimensional code license plate authentication system according to an embodiment of the invention;
FIG. 2 is a two-dimensional code format of an embodiment of the invention;
FIG. 3 is a two-dimensional code digital signature process diagram of an embodiment of the invention;
FIG. 4 is a diagram of a two-dimensional code generation process according to an embodiment of the invention;
FIG. 5 is a diagram of a two-dimensional code update process according to an embodiment of the present invention;
fig. 6 is a flowchart of two-dimensional code verification according to an embodiment of the present invention.
Detailed Description
The invention is further described with reference to the following figures and examples.
It is to be understood that the following detailed description is exemplary and is intended to provide further explanation of the invention as claimed. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
Interpretation of terms:
PKI: the public key infrastructure is a set of hardware, software, personnel, policies, and procedures that are used to implement the functions of generating, managing, storing, distributing, and revoking keys and certificates based on a public key cryptosystem. The PKI system is a combination of computer software and hardware, authorities, and application systems. It provides basic security services for conducting e-commerce, e-government, office automation, etc., so that users who are not aware of each other or are located far away from each other can communicate securely through a chain of trust.
Example one
The vehicle information two-dimensional code generation method of the embodiment includes:
acquiring vehicle information, calling a PKI (public key infrastructure) password service platform to encrypt the vehicle information to generate a vehicle information encryption ciphertext, and digitally signing the vehicle information encryption ciphertext;
and fusing the vehicle information encryption ciphertext and the digital signature to generate a credible vehicle two-dimensional code according to the selected image code version and the error correction level.
As shown in fig. 2, the vehicle two-dimensional Code is encoded in a QR Code format, and the security Code format is as follows:
Figure BDA0002458339190000051
the version number and the vehicle number are set for managing the published vehicle two-dimensional code; the ciphertext length is the vehicle information ciphertext length encrypted by the digital envelope; the digital signature is a digital signature generated by calculating all previous data as information to be signed by an SM2 algorithm.
After the vehicle information is coded, the two-dimensional code generation server calls the password support equipment to randomly generate an SM4 secret key to encrypt the format code, and the encrypted ciphertext calls the two-dimensional code generation server to perform SM2 digital signature.
The current cryptographic symmetric encryption algorithm is SM1/SM4, and the two algorithms can be supported. The substitution of the SM4 key elsewhere is the SM1/SM4 key (SM1 or SM 4).
As shown in FIG. 3, the following encryption or signature algorithm may be modified synchronously
SMEncrypt()SMDecrypt()
The cryptographic digital signature algorithm is SM3withSM2, and can be changed into an encryption ciphertext to call the two-dimensional code generation server to perform digital signature by adopting the SM3withSM2 algorithm.
And the two-dimensional code generation server calls the two-dimensional code coding module to generate the credible vehicle two-dimensional code by the data ciphertext and the digital signature after the information encryption according to the selected image code version and the error correction level.
(1) Randomly generating a 128-bit SM4 key MKey as a vehicle two-dimensional code encryption key; the MKey is stored in an encrypted manner by a public key MPubKey of a two-dimensional code generation server SM2, and the EncKey is SM2Encrypt (MpubKey, MKey);
(2) the MKey encrypts vehicle information, namely EncData (SM 4 Encrypt) (Mkey, Message);
(3) the two-dimensional code generation server signs the vehicle information ciphertext by using a private key MPriKey of a two-dimensional code generation server SM2, wherein SignData is Signature (Mprivet, EncData), and the Signature algorithm is SM3withSM 2;
after the vehicle obtains the license plate information, the vehicle can apply for generating a credible vehicle two-dimensional code, and the credible vehicle two-dimensional code is generated by a vehicle two-dimensional code generating server. As shown in fig. 4, the objects involved in the two-dimensional code generation process include a vehicle, a two-dimensional code generation server, a vehicle identity authentication server, a public security and transportation management integrated application platform, and a PKI password service platform.
(1) The PKI password service platform signs and issues a digital certificate for the two-dimension code generating server, and the digital certificate serves as a vehicle two-dimension code signing and issuing authority certificate/server certificate;
(2) after the license plate of the vehicle passes the approval, submitting a two-dimensional code application of the vehicle to a two-dimensional code generation server;
(3) the two-dimensional code generation server submits vehicle authentication information to a vehicle identity authentication server to confirm vehicle identity validity;
(4) the vehicle identity authentication server is accessed to the public security information network through the boundary security gateway, verifies the vehicle information, and returns the vehicle information after passing the verification;
(5) the two-dimensional code generation server confirms the verification result and acquires vehicle information;
(6) the two-dimension code generation server calls a PKI password service platform according to the vehicle information to generate a vehicle two-dimension code (including a digital signature of the two-dimension code generation server and encrypting the vehicle information);
(7) and returning the credible vehicle two-dimensional code for production and manufacturing.
When the vehicle information changes, such as vehicles passing a house, the vehicle two-dimensional code needs to be updated, and the vehicle two-dimensional code generation server generates a new credible vehicle two-dimensional code to replace the original two-dimensional code. And when the two-dimension code is updated, the two-dimension code of the original vehicle is invalid.
In the embodiment, the motor vehicle license plate with the two-dimensional code anti-counterfeiting mark is issued for the motor vehicle, the two-dimensional code conforms to the specification of GB/T18284, and the license plate uniqueness is further determined by the license plate through the two-dimensional code, so that the benefits of motor vehicle owners are protected, and the license plate is prevented from being applied by others. The two-dimensional code license plate can trace production links and vehicle files only by scanning related special equipment, so that the uniqueness of the license plate is ensured, and the authenticity of the license plate can be identified, thereby enhancing the strength of striking the fake license plate and the fake license plate.
The embodiment can adopt a domestic cryptographic algorithm to realize the safety and reliability of the two-dimensional code information. In order to ensure the safety of the two-dimension code information on the license plate, a dynamic encryption mechanism and a license plate key are adopted, the generation, distribution, updating and verification processes of the two-dimension code of the vehicle are standardized, the encryption and privacy protection of the two-dimension code information of the vehicle are realized, a safe and rapid vehicle two-dimension code management system is established, and the method is suitable for a mobile management law enforcement terminal.
Example two
The embodiment provides a vehicle information two-dimensional code generation server, which includes:
the encrypted signature module is used for acquiring the vehicle information, calling a PKI (public key infrastructure) password service platform to encrypt the vehicle information and then generate a vehicle information encrypted ciphertext, and digitally signing the vehicle information encrypted ciphertext;
and the two-dimensional code generation module is used for fusing the vehicle information encryption ciphertext and the digital signature to generate a credible vehicle two-dimensional code according to the selected image code version and the error correction level.
EXAMPLE III
The embodiment provides a two-dimensional code license plate, wherein a two-dimensional code on the two-dimensional code license plate is obtained by the vehicle information two-dimensional code generation method in the first embodiment.
Example four
The embodiment provides an authentication method of a two-dimensional code license plate, which comprises the following steps:
receiving a two-dimensional code verification request of a mobile terminal;
after the vehicle two-dimensional code encryption key is decrypted, the vehicle two-dimensional code encryption key is encrypted by using the mobile terminal security key and then returned, and the vehicle two-dimensional code encryption key is decrypted by the mobile terminal security key module and then verified.
Specifically, the process of decrypting the vehicle two-dimensional code for verification is as follows:
verifying the two-dimensional code digital signature by using a public digital certificate MCert;
after the digital signature verification is passed, the terminal digital certificate TCert is connected with an identity authentication gateway secure link channel, a two-dimensional code number is received, a private key is used for decryption to obtain an SM4 symmetric key, and the terminal digital certificate TCert is encrypted and then sends an EncKey1 to a code scanning terminal;
and decrypting by using the decryption private key TpriKey to obtain an SM4 symmetric key, decrypting the two-dimensional code security data ciphertext to obtain vehicle information plaintext data Message1, and comparing and verifying the vehicle information Message.
As shown in fig. 5, the two-dimension code updating process is basically consistent with the generating process, and after the identity authentication of the vehicle is passed, the two-dimension code generating server first cancels the original vehicle two-dimension code, and then regenerates and issues the new vehicle two-dimension code.
The special code scanning terminal can scan the two-dimension code, verify the validity of the two-dimension code and decrypt the encrypted content of the two-dimension code to obtain the specific information of the vehicle, as shown in fig. 6.
(1) The method comprises the steps that a special code scanning terminal scans codes to obtain two-dimensional code safety data, firstly, a digital certificate MCert disclosed by a two-dimensional code generation server is used for verifying a two-dimensional code digital signature, the digital signature is issued by the two-dimensional code generation server, and meanwhile, the integrity of the safety data is verified, so that the two-dimensional code data are prevented from being tampered;
VerifySignature(Mcert,SignData);
(2) after the digital signature verification is passed, the special code scanning terminal is connected with the identity authentication gateway secure link channel through a terminal digital certificate TCert, the two-dimension code number is sent to the two-dimension code verification server, the two-dimension code verification server uses a private key to decrypt to obtain an SM4 symmetric key, and the special code scanning terminal TCert is used for encrypting and then sending an EncKey1 to the special code scanning terminal.
Mkey=SM2Decrypt(MpriKey,EncKey);
EncKey1=SM2Encrypt(TCert,Mkey);
(3) The special code scanning terminal decrypts the encrypted data by using the private decryption key TpriKey to obtain an SM4 symmetric key, decrypts the two-dimensional code security data ciphertext to obtain vehicle information plaintext data Message1, and compares the vehicle information Message with the vehicle information Message to verify.
Mkey=SM2Decrypt(TpriKey,EncKey1);
Message1=SM4Decrypt(Mkey,EncData);
The embodiment is different from the traditional server side which returns vehicle information, the server side returns a vehicle two-dimensional code symmetric key after the terminal certificate is encrypted, and the terminal decrypts the two-dimensional code encrypted information, so that on one hand, tampering or information leakage in the information transmission process is prevented, on the other hand, a terminal ciphertext can be realized, and the security of the key is improved.
Meanwhile, a credible vehicle two-dimensional code management system can be built, the online generation, the system sending and the management of the vehicle two-dimensional codes are realized by relying on the Internet and a vehicle information private network, and the quick and safe mobile terminal vehicle two-dimensional code identification and detection service is provided for management departments. The number plate production is standardized, and the number plate is connected with a public security traffic management application platform in a networking mode and in butt joint, so that the marks are left in the whole number plate production process, and the number plate supervision capacity and the management level are improved.
EXAMPLE five
The embodiment provides an authentication system of two-dimensional code license plate, includes:
the verification request receiving module is used for receiving a two-dimensional code verification request of the mobile terminal;
and the two-dimension code verification module is used for returning the vehicle two-dimension code encryption key after encrypting the vehicle two-dimension code encryption key by using the mobile terminal security key after decrypting the vehicle two-dimension code encryption key, decrypting the vehicle two-dimension code encryption key by using the mobile terminal security key module and decrypting the vehicle two-dimension code for verification.
Specifically, as shown in fig. 1, the two-dimensional code license plate authentication system is composed of modules such as a vehicle identity authentication system, a two-dimensional code generation server, a two-dimensional code verification server, a two-dimensional code secure communication authentication gateway, a mobile terminal code scanning special client and the like, and realizes secure and controllable vehicle two-dimensional code management by combining a PKI password service platform system and a terminal secure password module.
The two-dimension code generation server is responsible for collecting vehicle information, connecting the vehicle identity authentication server for verification, calling the PKI password service platform to dynamically generate the vehicle two-dimension code and issuing the vehicle two-dimension code to the vehicle two-dimension code manufacturing terminal.
The two-dimension code verification server is responsible for receiving a two-dimension code verification request of the mobile terminal, returning the vehicle two-dimension code encryption key after encrypting the vehicle two-dimension code encryption key by using the mobile terminal security key after decrypting the vehicle two-dimension code encryption key, decrypting the vehicle two-dimension code encryption key by the mobile terminal security key module, and decrypting the vehicle two-dimension code for verification.
The vehicle PKI password service platform realizes the management of the life cycle of identity authentication certificates and keys of all modules of the system, including server certificates, communication certificates, administrator certificates and mobile terminal security module certificate application, certificate signing, certificate downloading, certificate updating, certificate logout and the like, and provides password operation support for two-dimensional code services, such as data encryption/decryption, signature/verification and the like.
The vehicle identity authentication server is connected with vehicle data services of a management department, provides an identity identification authentication interface of the vehicle and realizes the functions of vehicle identity identification and authentication.
The two-dimension code safety communication authentication gateway realizes the safety communication of the internal and external network boundaries between the mobile terminal and the two-dimension code verification server and simultaneously checks the identities of both communication parties.
The vehicle identity authentication server and the two-dimension code verification server respectively generate and verify the two-dimension code, the two-dimension code generation server is distinguished according to the service flow, and the two-dimension code generation server does not provide service for the outside and is used by an internal service system; the two-dimension code verification server provides service for management departments or personnel and can be deployed on different network segments.
The mobile terminal comprises a mobile terminal security password module and a code scanning security client, and the terminal certificate, the key security storage and the vehicle two-dimensional code scanned ciphertext decoding and checking are achieved.
EXAMPLE six
The present embodiment provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the steps in the vehicle information two-dimensional code generation method as described above;
the present embodiment also provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the authentication method for a two-dimensional code license plate as described in any one of the above.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A vehicle information two-dimensional code generation method is characterized by comprising the following steps:
acquiring vehicle information, calling a PKI (public key infrastructure) password service platform to encrypt the vehicle information to generate a vehicle information encryption ciphertext, and digitally signing the vehicle information encryption ciphertext;
and fusing the vehicle information encryption ciphertext and the digital signature to generate a credible vehicle two-dimensional code according to the selected image code version and the error correction level.
2. The vehicle information two-dimensional code generation method according to claim 1, before acquiring the vehicle information, further comprising:
and submitting vehicle authentication information to a vehicle identity authentication server to confirm the validity of the vehicle identity.
3. The vehicle information two-dimensional code generation method of claim 1, wherein a PKI password service platform is invoked to randomly generate an SM4 key, the format code is used for encrypting the vehicle information, and an SM2 digital signature is used for the vehicle information encryption ciphertext.
4. A vehicle information two-dimensional code generation server is characterized by comprising:
the encrypted signature module is used for acquiring the vehicle information, calling a PKI (public key infrastructure) password service platform to encrypt the vehicle information and then generate a vehicle information encrypted ciphertext, and digitally signing the vehicle information encrypted ciphertext;
and the two-dimensional code generation module is used for fusing the vehicle information encryption ciphertext and the digital signature to generate a credible vehicle two-dimensional code according to the selected image code version and the error correction level.
5. A two-dimensional code license plate is characterized in that a two-dimensional code on the two-dimensional code license plate is obtained by the vehicle information two-dimensional code generation method according to any one of claims 1 to 3.
6. The authentication method of the two-dimensional code license plate of claim 5, comprising:
receiving a two-dimensional code verification request of a mobile terminal;
after the vehicle two-dimensional code encryption key is decrypted, the vehicle two-dimensional code encryption key is encrypted by using the mobile terminal security key and then returned, and the vehicle two-dimensional code encryption key is decrypted by the mobile terminal security key module and then verified.
7. The authentication method of the two-dimensional code license plate of claim 6, wherein the process of decrypting the vehicle two-dimensional code for verification is as follows:
verifying the two-dimensional code digital signature by using a public digital certificate MCert;
after the digital signature verification is passed, the terminal digital certificate TCert is connected with an identity authentication gateway secure link channel, a two-dimensional code number is received, a private key is used for decryption to obtain an SM4 symmetric key, and the terminal digital certificate TCert is encrypted and then sends an EncKey1 to a code scanning terminal;
and decrypting by using the decryption private key TpriKey to obtain an SM4 symmetric key, decrypting the two-dimensional code security data ciphertext to obtain vehicle information plaintext data Message1, and comparing and verifying the vehicle information Message.
8. The authentication system of the two-dimensional code license plate of claim 5, comprising:
the verification request receiving module is used for receiving a two-dimensional code verification request of the mobile terminal;
and the two-dimension code verification module is used for returning the vehicle two-dimension code encryption key after encrypting the vehicle two-dimension code encryption key by using the mobile terminal security key after decrypting the vehicle two-dimension code encryption key, decrypting the vehicle two-dimension code encryption key by using the mobile terminal security key module and decrypting the vehicle two-dimension code for verification.
9. The authentication system of the two-dimensional code license plate of claim 8, wherein the two-dimensional code verification module is further configured to:
verifying the two-dimensional code digital signature by using a public digital certificate MCert;
after the digital signature verification is passed, the terminal digital certificate TCert is connected with an identity authentication gateway secure link channel, a two-dimensional code number is received, a private key is used for decryption to obtain an SM4 symmetric key, and the terminal digital certificate TCert is encrypted and then sends an EncKey1 to a code scanning terminal;
and decrypting by using the decryption private key TpriKey to obtain an SM4 symmetric key, decrypting the two-dimensional code security data ciphertext to obtain vehicle information plaintext data Message1, and comparing and verifying the vehicle information Message.
10. A computer-readable storage medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements the steps in the vehicle information two-dimensional code generating method according to any one of claims 1 to 3;
or the program is executed by a processor to realize the steps in the authentication method of the two-dimensional code license plate according to any one of claims 6 to 7.
CN202010312383.1A 2020-04-20 2020-04-20 Vehicle information two-dimensional code generation method, two-dimensional code license plate, authentication method and system Pending CN111539496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010312383.1A CN111539496A (en) 2020-04-20 2020-04-20 Vehicle information two-dimensional code generation method, two-dimensional code license plate, authentication method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010312383.1A CN111539496A (en) 2020-04-20 2020-04-20 Vehicle information two-dimensional code generation method, two-dimensional code license plate, authentication method and system

Publications (1)

Publication Number Publication Date
CN111539496A true CN111539496A (en) 2020-08-14

Family

ID=71979084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010312383.1A Pending CN111539496A (en) 2020-04-20 2020-04-20 Vehicle information two-dimensional code generation method, two-dimensional code license plate, authentication method and system

Country Status (1)

Country Link
CN (1) CN111539496A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100206A (en) * 2020-11-13 2020-12-18 支付宝(杭州)信息技术有限公司 Digital label generation method, device, equipment and readable medium
CN112469003A (en) * 2021-02-04 2021-03-09 南京理工大学 Traffic sensor network data transmission method, system and medium based on hybrid encryption
CN113706881A (en) * 2021-07-30 2021-11-26 郑州信大捷安信息技术股份有限公司 Visible light-based vehicle fake plate detection system and method
CN113706880A (en) * 2021-07-30 2021-11-26 郑州信大捷安信息技术股份有限公司 Vehicle fake plate detection system and method based on Internet of vehicles

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779263A (en) * 2012-06-19 2012-11-14 袁开国 Credible two-dimensional code scheme based on public key infrastructure (PKI) and digital signature
CN203267949U (en) * 2013-01-14 2013-11-06 马赫 Anti-counterfeiting license plate system based on two-dimensional code
CN103955664A (en) * 2014-04-29 2014-07-30 山东神思电子技术股份有限公司 High-speed document scanner capable of safely decoding two-dimensional code of vehicle approval certificate and decoding method
CN104816685A (en) * 2015-04-09 2015-08-05 陈汉翔 Program control variable two-dimension code-based anti-counterfeiting license plate and application method thereof
CN106156738A (en) * 2015-01-16 2016-11-23 合肥工业大学 A kind of read method of the automotive license plate ciphertext graph picture of band encryption QR Quick Response Code
CN107222501A (en) * 2017-07-06 2017-09-29 中国电子科技集团公司第二十九研究所 A kind of information interaction security transmission method and system based on the non-electromagnetic signal of message identification code
CN109495268A (en) * 2017-09-12 2019-03-19 中国移动通信集团公司 A kind of two dimension code authentication method, device and computer readable storage medium
CN110289958A (en) * 2019-07-18 2019-09-27 郑州信大捷安信息技术股份有限公司 Internet of Vehicles identity authentication method and system
CN110572418A (en) * 2019-10-25 2019-12-13 国机智骏科技有限公司 Vehicle identity authentication method and device, computer equipment and storage medium
CN110598422A (en) * 2019-08-01 2019-12-20 浙江葫芦娃网络集团有限公司 Trusted identity authentication system and method based on mobile digital certificate

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779263A (en) * 2012-06-19 2012-11-14 袁开国 Credible two-dimensional code scheme based on public key infrastructure (PKI) and digital signature
CN203267949U (en) * 2013-01-14 2013-11-06 马赫 Anti-counterfeiting license plate system based on two-dimensional code
CN103955664A (en) * 2014-04-29 2014-07-30 山东神思电子技术股份有限公司 High-speed document scanner capable of safely decoding two-dimensional code of vehicle approval certificate and decoding method
CN106156738A (en) * 2015-01-16 2016-11-23 合肥工业大学 A kind of read method of the automotive license plate ciphertext graph picture of band encryption QR Quick Response Code
CN104816685A (en) * 2015-04-09 2015-08-05 陈汉翔 Program control variable two-dimension code-based anti-counterfeiting license plate and application method thereof
CN107222501A (en) * 2017-07-06 2017-09-29 中国电子科技集团公司第二十九研究所 A kind of information interaction security transmission method and system based on the non-electromagnetic signal of message identification code
CN109495268A (en) * 2017-09-12 2019-03-19 中国移动通信集团公司 A kind of two dimension code authentication method, device and computer readable storage medium
CN110289958A (en) * 2019-07-18 2019-09-27 郑州信大捷安信息技术股份有限公司 Internet of Vehicles identity authentication method and system
CN110598422A (en) * 2019-08-01 2019-12-20 浙江葫芦娃网络集团有限公司 Trusted identity authentication system and method based on mobile digital certificate
CN110572418A (en) * 2019-10-25 2019-12-13 国机智骏科技有限公司 Vehicle identity authentication method and device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李克强: ""电动汽车工程手册 第6卷"", 北京:机械工业出版社, pages: 496 - 499 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100206A (en) * 2020-11-13 2020-12-18 支付宝(杭州)信息技术有限公司 Digital label generation method, device, equipment and readable medium
CN112469003A (en) * 2021-02-04 2021-03-09 南京理工大学 Traffic sensor network data transmission method, system and medium based on hybrid encryption
CN113706881A (en) * 2021-07-30 2021-11-26 郑州信大捷安信息技术股份有限公司 Visible light-based vehicle fake plate detection system and method
CN113706880A (en) * 2021-07-30 2021-11-26 郑州信大捷安信息技术股份有限公司 Vehicle fake plate detection system and method based on Internet of vehicles
CN113706881B (en) * 2021-07-30 2022-06-07 郑州信大捷安信息技术股份有限公司 Visible light-based vehicle fake plate detection system and method

Similar Documents

Publication Publication Date Title
CN107196966B (en) Identity authentication method and system based on block chain multi-party trust
CN108964919B (en) Lightweight anonymous authentication method with privacy protection based on Internet of vehicles
CN110769393B (en) Identity authentication system and method for vehicle-road cooperation
CN112887338B (en) Identity authentication method and system based on IBC identification password
US7937584B2 (en) Method and system for key certification
CN111539496A (en) Vehicle information two-dimensional code generation method, two-dimensional code license plate, authentication method and system
CN106789042B (en) Authentication key negotiation method for user in IBC domain to access resources in PKI domain
CN101212293B (en) Identity authentication method and system
WO2003073688A1 (en) Authenticating hardware devices incorporating digital certificates
CN108880995B (en) Block chain-based unfamiliar social network user information and message pushing encryption method
CN101136748A (en) Identification authentication method and system
CN111934884B (en) Certificate management method and device
CN101296083A (en) Enciphered data transmission method and system
CN114036539A (en) Safety auditable Internet of things data sharing system and method based on block chain
CN104243439A (en) File transfer processing method and system and terminals
CN112564906A (en) Block chain-based data security interaction method and system
CN114553441B (en) Electronic contract signing method and system
CN114650173A (en) Encryption communication method and system
CN1859149A (en) Method for realizing stream medium business service
JP2008234143A (en) Subject limited mail opening system using biometrics, method therefor, and program therefor
JP2005512395A (en) Method and system for authenticating electronic certificates
CN104065483B (en) Identity-based cryptograph (IBC) classified using method of electronic communication identities
US20210044435A1 (en) Method for transmitting data from a motor vehicle and method for another vehicle to receive the data through a radio communication channel
CN113839786B (en) Key distribution method and system based on SM9 key algorithm
CN112866240B (en) Safety communication method and equipment for Internet of vehicles

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