Civil aviation security check off-line verification method and system, computer equipment and storage medium

The offline verification method of the electronic ID card QR code solves the inconvenience caused by physical documents and the verification difficulties in an offline environment, and realizes an efficient and safe civil aviation security inspection process.

CN120688527APending Publication Date: 2025-09-23何晓春
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510853689.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-24
Publication Date
2025-09-23

AI Technical Summary

Technical Problem

Existing civil aviation security checks rely on physical identification documents, which makes it inconvenient for passengers to carry them, increases the risk of losing documents, and complicates the security check process. In addition, verification cannot be carried out smoothly in an offline environment.

Method used

Electronic ID card QR codes are used to replace physical ID cards, security checks are carried out through offline verification methods, encryption, decryption and digital signature verification are used to ensure the security and integrity of identity information, and realize security inspection processes in an offline environment.

Benefits of technology

Reduce the burden on passengers, improve security inspection efficiency, ensure smooth security inspection in an offline environment, and protect the privacy and information security of passengers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120688527A_ABST
    Figure CN120688527A_ABST
Patent Text Reader

Abstract

The invention relates to a civil aviation security check off-line verification method and system of an electronic identity card two-dimensional code, computer equipment and a storage medium, and the method comprises the steps that a civil aviation system obtains the travel information of a passenger from a ticket booking system and exchanges the electronic identity information of the passenger from an electronic identity card management system; encrypting the electronic identity information of the passenger, and transmitting the encrypted electronic identity information and travel information to an airport off-line verification system; the airport off-line verification system decrypts to obtain the electronic identity information of the passenger, and associates and stores the electronic identity information and the travel information as the unique identity of the passenger; a code scanning device of the airport security check system scans the electronic identity card two-dimensional code of the passenger, obtains a code string and sends the code string to the airport offline verification system; and when the airport offline verification system verifies that the digital signature in the code string is valid, the travel information and the electronic identity information are obtained from the local storage according to the unique identity identifier, and the travel information and the electronic identity information are returned to the airport security check system. According to the method, the security check of the two-dimensional code of the electronic identity card is ensured to be smoothly realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of security inspection processing technology, and in particular to a civil aviation security inspection offline verification method, system, computer equipment and storage medium for electronic identity card QR codes. Background Art

[0002] Currently, civil aviation security checks primarily rely on physical IDs, which passengers must carry with them. The security check process is cumbersome and carries the risk of document loss. Consequently, passengers frequently have to present their physical IDs, which can lead to congestion in security checkpoints. Lost IDs are also difficult to replace quickly, impacting passengers' ability to navigate security checks and travel. Summary of the Invention

[0003] Based on this, it is necessary to provide a civil aviation security offline verification method, system, computer equipment and storage medium for the electronic ID card QR code to address the above technical problems. The electronic ID card QR code can be used instead of the physical document for security verification, reducing the burden on passengers. Security inspection can be carried out by offline verification, and security inspection can be carried out in a disconnected or weak network environment, ensuring the smooth implementation of security inspection and verification of the electronic ID card QR code.

[0004] A method for offline verification of an electronic ID card QR code for civil aviation security inspection, the method comprising: The civil aviation system obtains the itinerary information of passengers departing on the same day from the ticket booking system, exchanges the itinerary information for the passenger's electronic identity information from the electronic ID card management system, encrypts the passenger's electronic identity information, and transmits the encrypted electronic identity information and itinerary information to the airport's offline verification system; The airport's offline verification system decrypts the encrypted electronic identity information, obtains the passenger's electronic identity information, associates it with the itinerary information using the passenger's unique identity identifier, and stores it locally. The airport security system's code scanning device scans the passenger's electronic ID card's QR code, obtains the QR code string containing the passenger's unique identity identifier and digital signature, and sends the code string to the airport's offline verification system; The airport's offline verification system verifies the validity of the digital signature in the code string. If valid, it confirms that the passenger's electronic ID card QR code has not been tampered with. After confirming that it has not been tampered with, the itinerary information and electronic identity information are obtained from the airport's local storage based on the unique identity identifier, and the itinerary information and electronic identity information are returned to the airport security inspection system for security inspection of the passenger.

[0005] Preferably, the itinerary information includes flight number and seat number.

[0006] Preferably, the airport offline verification system has a built-in electronic ID card decoding library, which verifies the validity of the digital signature through the decoding library to confirm whether the passenger's electronic ID card QR code has been tampered with.

[0007] Preferably, encrypting the passenger's electronic identity information includes: Encrypt passengers' electronic identity information using national encryption algorithms; The airport offline verification system decrypts the encrypted electronic identity information to obtain the passenger's electronic identity information, including: The airport offline verification system decrypts the encrypted electronic identity information using a national secret algorithm to obtain the electronic identity information and the hash value of the electronic ID card, and uses the hash value as the passenger's unique identity identifier.

[0008] Preferably, the passenger's electronic ID card QR code is generated by an electronic ID card application based on the passenger's electronic identity information, and the passenger's electronic ID card QR code includes a digital signature and a unique identity identifier.

[0009] Preferably, the passenger's electronic identity information includes a unique identity identifier, name, ID number, ID photo, and ID validity period.

[0010] Preferably, the airport offline verification system also associates the passenger's name, ID number, ID photo, ID validity period with the itinerary information and stores them locally.

[0011] A civil aviation security offline verification system for electronic ID card QR codes, comprising a civil aviation system, an airport security system, and an airport offline verification system; The civil aviation system obtains the itinerary information of the passenger departing on the same day from the ticket booking system, exchanges the itinerary information for the passenger's electronic identity information from the electronic ID card management system, encrypts the passenger's electronic identity information, and transmits the encrypted electronic identity information and itinerary information to the airport offline verification system; The airport offline verification system decrypts the encrypted electronic identity information, obtains the passenger's electronic identity information, associates it with the itinerary information using the passenger's unique identity identifier, and then stores it locally; The code scanning device of the airport security system scans the QR code of the passenger's electronic ID card to obtain a code string of the electronic ID card QR code, which contains the passenger's unique identity identifier and digital signature, and sends the code string to the airport offline verification system; The airport offline verification system verifies the validity of the digital signature in the code string. If valid, it confirms that the passenger's electronic ID card QR code has not been tampered with. After confirming that it has not been tampered with, the itinerary information and electronic identity information are obtained from the airport's local storage based on the unique identity identifier, and the itinerary information and electronic identity information are returned to the airport security inspection system for security inspection of the passenger.

[0012] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of any of the above-mentioned embodiments are implemented.

[0013] A computer-readable storage medium stores a computer program, which implements the steps of any of the above-mentioned method embodiments when executed by a processor.

[0014] The above-mentioned civil aviation security offline verification method, system, computer device and storage medium for electronic ID card QR codes include: the civil aviation system obtains itinerary information of passengers departing on the same day from the ticket booking system, exchanges the itinerary information for the passenger's electronic identity information from the electronic ID card management system, encrypts the passenger's electronic identity information, and transmits the encrypted electronic identity information and itinerary information to the airport offline verification system; the airport offline verification system decrypts the encrypted electronic identity information to obtain the passenger's electronic identity information, associates it with the itinerary information with the passenger's unique identity identifier, and then stores it locally; the airport security system's code scanning device scans the passenger's electronic ID card QR code to obtain a code string of the electronic ID card QR code, which contains the passenger's unique identity identifier and digital signature, and sends the code string to the airport offline verification system; the airport offline verification system verifies the validity of the digital signature in the code string. If valid, it confirms that the passenger's electronic ID card QR code has not been tampered with. After confirming that it has not been tampered with, it obtains the itinerary information and electronic identity information from the airport's local storage based on the unique identity identifier, and returns the itinerary information and electronic identity information to the airport security system for security inspection of the passenger. Therefore, the electronic ID card QR code is used instead of the physical document for security check and verification, which reduces the burden on passengers. Security check is carried out through offline verification, which can be achieved in disconnected or weak network environment, ensuring the smooth implementation of security check and verification of the electronic ID card QR code. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 1. A schematic flow chart of a method for offline verification of an electronic ID card QR code for civil aviation security inspection according to an embodiment; Figure 2 The figure is a schematic structural diagram of a civil aviation security offline verification system for an electronic ID card QR code in one embodiment. DETAILED DESCRIPTION

[0016] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0017] This application provides a method for offline verification of the QR code of an electronic ID card for civil aviation security inspection. Figure 1 As shown, in one embodiment, a method for offline verification of an electronic ID card QR code for civil aviation security inspection includes the following steps: S101, the civil aviation system obtains the itinerary information of the passenger departing on the same day from the ticket booking system, exchanges the itinerary information for the passenger's electronic identity information from the electronic ID card management system, encrypts the passenger's electronic identity information, and transmits the encrypted electronic identity information and itinerary information to the airport offline verification system.

[0018] The itinerary information includes the flight number and seat number. The passenger's electronic identity information includes a unique identity identifier, name, ID number, ID photo, and ID validity period.

[0019] In this embodiment, itinerary information for passengers departing on the same day is obtained from the ticketing system. Specifically, passenger information is collected from the ticketing system interface, and the electronic identity information and itinerary information of all departing passengers are automatically obtained daily. For example, this information includes flight number, seat number, and ID number. To ensure the security of passenger identity information, this electronic identity information is encrypted and transmitted to the airport's offline verification system. Specifically, the SM4 algorithm is used to encrypt the passenger's identity information before transmission to the airport's offline verification system.

[0020] Specifically, the civil aviation system obtains the passenger's booking itinerary from the ticketing system and exchanges it for the passenger's electronic ID card information from the electronic ID card management system. The civil aviation system then sends this combined information to the airport's offline verification system for storage, which then receives the passenger's itinerary and electronic ID card information.

[0021] S102: The airport offline verification system decrypts the encrypted electronic identity information, obtains the passenger's electronic identity information, associates it with the itinerary information using the passenger's unique identity identifier, and then stores it locally.

[0022] The airport offline verification system also associates the passenger's name, ID number, ID photo, ID validity period and itinerary information and stores them locally.

[0023] In this embodiment, the airport's offline verification system decrypts the encrypted electronic identity information and only stores the desensitized unique identifier of the electronic identity information, such as a hash value, without storing the plaintext identity information. This ensures the security of passengers' sensitive personal information.

[0024] Specifically, the unique identity identifier refers to the unique identifier on the passenger's ID card. Daily ticket purchase passenger information is obtained, and the passenger's electronic ID information is synchronized with the airport in advance. The unique identity identifier is contained in the QR code generated by the electronic ID card application.

[0025] S103, the code scanning device of the airport security system scans the QR code of the passenger's electronic ID card, obtains the code string of the electronic ID card QR code, which contains the passenger's unique identity identifier and digital signature, and sends the code string to the airport offline verification system.

[0026] The airport offline verification system has a built-in electronic ID card decoding library, which verifies the validity of the digital signature through the decoding library to confirm whether the passenger's electronic ID card QR code has been tampered with.

[0027] Specifically, the airport security system's code scanner reads the passenger's electronic ID card's QR code, extracts the QR code string from the passenger's electronic ID card, and transmits it to the offline verification system. The code string contains the passenger's unique identity identifier and digital signature.

[0028] For example, a passenger presents their electronic ID card's QR code at the airport, which is then scanned by a scanner. The airport security system uses an offline verification module to call an encryption / decryption machine and return the unique identifier in the QR code. The offline verification module then uses the unique identifier to retrieve the passenger's detailed identity information.

[0029] In one example, the encrypting of the passenger's electronic identity information includes: encrypting the passenger's electronic identity information through a national secret algorithm; the airport offline verification system decrypts the encrypted electronic identity information to obtain the passenger's electronic identity information, including: the airport offline verification system decrypts the encrypted electronic identity information through a national secret algorithm to obtain the electronic identity information, and obtains a hash value of the electronic ID card, and uses the hash value as the passenger's unique identity identifier.

[0030] The passenger's electronic ID card QR code is generated by the electronic ID card application based on the passenger's electronic identity information, and the passenger's electronic ID card QR code includes a digital signature and a unique identity identifier.

[0031] Specifically, passengers use an official electronic ID card application to generate a standard electronic ID QR code. The airport's locally deployed verification server includes a built-in electronic ID card decoding library, digital signature verification module, and dedicated encryption engine. This unique identifier quickly links the passenger's complete identity information.

[0032] Passengers use the e-ID app to generate an e-ID QR code containing a digital signature and timestamp. This code contains an encrypted unique identifier (such as a UUID) and digital signature. The airport's offline verification system utilizes a pre-installed decoding library and local database to enable rapid verification even in offline environments, with a response time of ≤1 second.

[0033] S104, the airport offline verification system verifies the validity of the digital signature in the code string. If valid, it confirms that the passenger's electronic ID card QR code has not been tampered with. After confirming that it has not been tampered with, the itinerary information and electronic identity information are obtained from the airport's local storage based on the unique identity identifier, and the itinerary information and electronic identity information are returned to the airport security inspection system for security inspection of the passenger.

[0034] Specifically, the airport's offline verification system verifies the validity of the digital signature on the electronic ID card's QR code to confirm that the code has not been tampered with. Once verified, de-identified identity information, such as name and flight number, is retrieved from the airport's local database based on the unique identity identifier and returned to the airport security system's security equipment.

[0035] Therefore, the transmission layer uses SM4 encryption and the storage layer uses a desensitized unique identifier to double protect privacy and security.

[0036] In the above-mentioned civil aviation security offline verification method for an electronic ID card QR code, the civil aviation system obtains itinerary information of passengers departing on the same day from the ticket booking system, exchanges the itinerary information for the passenger's electronic identity information from the electronic ID card management system, encrypts the passenger's electronic identity information, and transmits the encrypted electronic identity information and itinerary information to the airport offline verification system; the airport offline verification system decrypts the encrypted electronic identity information to obtain the passenger's electronic identity information, associates it with the itinerary information with the passenger's unique identity identifier, and then stores it locally; the airport security system's code scanning device scans the passenger's electronic ID card QR code to obtain a code string of the electronic ID card QR code, which contains the passenger's unique identity identifier and digital signature, and sends the code string to the airport offline verification system; the airport offline verification system verifies the validity of the digital signature in the code string. If valid, it confirms that the passenger's electronic ID card QR code has not been tampered with. After confirming that it has not been tampered with, it obtains the itinerary information and electronic identity information from the airport's local storage based on the unique identity identifier, and returns the itinerary information and electronic identity information to the airport security system for security inspection of the passenger. Therefore, the electronic ID card QR code is used instead of the physical document for security check and verification, which reduces the burden on passengers. Security check is carried out through offline verification, which can be achieved in disconnected or weak network environment, ensuring the smooth implementation of security check and verification of the electronic ID card QR code.

[0037] A specific example is given below: Passengers generate an electronic ID QR code within the internet-based electronic ID application. This code contains the passenger's unique ID. Airports use QR code scanners to scan the QR code in the electronic ID application and transmit it to the airport's offline verification system. Upon receiving the verification request, the system verifies the digital signature and decodes it using a dedicated encryption machine, returning the passenger's unique ID. The system then uses the ID returned by the encryption machine to query the airport's local database for detailed information about the passenger's identity, including the ID, name, ID number, photo, and expiration date.

[0038] In summary, the above-mentioned civil aviation security offline verification method for the electronic ID card QR code is as follows: Passengers can directly access the electronic ID card application interface to generate an electronic ID card QR code, ensuring compatibility across airports nationwide. Airports utilize pre-installed decoding libraries and local databases to enable rapid verification even in disconnected environments. Furthermore, SM4 encryption is used at the transport layer, and desensitized unique identifiers are used at the storage layer, doubly safeguarding passenger privacy and security.

[0039] The present invention also provides a civil aviation security offline verification system for electronic ID card QR codes. Figure 2 As shown, a civil aviation security offline verification system for an electronic ID card QR code includes a civil aviation system 201 , an airport offline verification system 202 and an airport security system 203 . The civil aviation system 201 obtains the itinerary information of passengers departing on the same day from the ticket booking system, exchanges the itinerary information for the passenger's electronic identity information from the electronic ID card management system, encrypts the passenger's electronic identity information, and transmits the encrypted electronic identity information and itinerary information to the airport offline verification system 202. The airport offline verification system 202 decrypts the encrypted electronic identity information to obtain the passenger's electronic identity information, associates it with the itinerary information using the passenger's unique identity identifier, and then stores it locally. The code scanning device of the airport security inspection system 203 scans the passenger's electronic ID card QR code to obtain a code string of the electronic ID card QR code, which contains the passenger's unique identity identifier and digital signature, and sends the code string to the airport offline verification system. The airport offline verification system 202 verifies the validity of the digital signature in the code string. If valid, it confirms that the passenger's electronic ID card QR code has not been tampered with. After confirming that it has not been tampered with, it obtains the itinerary information and electronic identity information from the airport's local storage based on the unique identity identifier, and returns the itinerary information and electronic identity information to the airport security inspection system 203 for security inspection of the passenger.

[0040] Regarding the specific definition of a civil aviation security offline verification system for an electronic ID card QR code, please refer to the definition of a civil aviation security offline verification method for an electronic ID card QR code above, which will not be repeated here. Each module in the above-mentioned civil aviation security offline verification system for an electronic ID card QR code can be implemented in whole or in part through software, hardware, and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

Claims

1. A civil aviation security inspection offline verification method for an electronic ID card QR code, characterized in that: The method comprises: The civil aviation system obtains the itinerary information of passengers departing on the same day from the ticket booking system, exchanges the itinerary information for the passenger's electronic identity information from the electronic ID card management system, encrypts the passenger's electronic identity information, and transmits the encrypted electronic identity information and itinerary information to the airport's offline verification system; The airport's offline verification system decrypts the encrypted electronic identity information, obtains the passenger's electronic identity information, associates it with the itinerary information using the passenger's unique identity identifier, and then stores it locally. The airport security system's code scanning device scans the passenger's electronic ID card's QR code, obtains the QR code string containing the passenger's unique identity identifier and digital signature, and sends the code string to the airport's offline verification system; The airport's offline verification system verifies the validity of the digital signature in the code string. If valid, it confirms that the passenger's electronic ID card QR code has not been tampered with. After confirming that it has not been tampered with, the itinerary information and electronic identity information are obtained from the airport's local storage based on the unique identity identifier, and the itinerary information and electronic identity information are returned to the airport security inspection system for security inspection of the passenger.

2. The method according to claim 1, characterized in that The itinerary information includes flight number and seat number.

3. The method according to claim 1, characterized in that The airport offline verification system has a built-in electronic ID card decoding library, which verifies the validity of the digital signature through the decoding library to confirm whether the passenger's electronic ID card QR code has been tampered with.

4. The method according to claim 1, wherein Encrypting the passenger's electronic identity information includes: Encrypt passengers' electronic identity information using national encryption algorithms; The airport offline verification system decrypts the encrypted electronic identity information to obtain the passenger's electronic identity information, including: The airport offline verification system decrypts the encrypted electronic identity information using a national secret algorithm to obtain the electronic identity information and the hash value of the electronic ID card, and uses the hash value as the passenger's unique identity identifier.

5. The method according to claim 4, characterized in that The passenger's electronic ID card QR code is generated by the electronic ID card application based on the passenger's electronic identity information. The passenger's electronic ID card QR code contains a digital signature and a unique identity identifier.

6. The method according to claim 1, wherein The passenger's electronic identity information includes unique identity identification, name, ID number, ID photo and ID validity period.

7. The method according to claim 6, characterized in that The airport offline verification system also associates the passenger's name, ID number, ID photo, ID validity period with the itinerary information and stores them locally.

8. A civil aviation security offline verification system for electronic ID card QR codes, characterized by: The system includes civil aviation system, airport security system and airport offline verification system; The civil aviation system obtains the itinerary information of the passenger departing on the same day from the ticket booking system, exchanges the itinerary information for the passenger's electronic identity information from the electronic ID card management system, encrypts the passenger's electronic identity information, and transmits the encrypted electronic identity information and itinerary information to the airport offline verification system; The airport offline verification system decrypts the encrypted electronic identity information, obtains the passenger's electronic identity information, associates it with the itinerary information using the passenger's unique identity identifier, and then stores it locally; The code scanning device of the airport security system scans the QR code of the passenger's electronic ID card to obtain a code string of the electronic ID card QR code, which contains the passenger's unique identity identifier and digital signature, and sends the code string to the airport offline verification system; The airport offline verification system verifies the validity of the digital signature in the code string. If valid, it confirms that the passenger's electronic ID card QR code has not been tampered with. After confirming that it has not been tampered with, the itinerary information and electronic identity information are obtained from the airport's local storage based on the unique identity identifier, and the itinerary information and electronic identity information are returned to the airport security inspection system for security inspection of the passenger.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.