A method and application for generating and authenticating trusted business travel codes for online rental and homestays.

By generating a trusted business travel code authentication method using encrypted QR codes, combined with blockchain and dual verification codes, the security and efficiency issues of identity verification in online rental and homestays are solved, achieving efficient and secure identity management and accommodation experience.

CN119941272BActive Publication Date: 2025-12-02SHANDONG QILU PUBLIC SECURITY RES INST CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510018599.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-12-02
Estimated Expiration
2045-01-07

AI Technical Summary

Technical Problem

The real-name authentication process for online rental and homestay services carries the risk of information leakage, and manual verification is inefficient, affecting the check-in experience. Furthermore, managing room cards is inconvenient for users.

Method used

The system adopts a trusted business travel code generation and authentication method. After collecting user information and ID card photos, an encrypted QR code is generated after real-name authentication. Login behavior is recorded using blockchain technology, and dual verification codes are used. Multiple data source cross-verification and encryption algorithms are employed to ensure the security and convenience of identity verification.

Benefits of technology

It improves the security and efficiency of identity verification, reduces the use of physical documents, optimizes the accommodation experience, enables precise management, and prevents the leakage and misuse of identity information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119941272B_ABST
    Figure CN119941272B_ABST
Patent Text Reader

Abstract

This invention provides a method and application for generating and authenticating trusted business travel codes for online rental and homestays. This application initially verifies the user's identity and verifies real-name authentication based on user information and ID card photos. After successful real-name authentication, the user information is transmitted to the CTID e-certificate platform for authentication. The CTID e-certificate platform completes user identity data authentication, generates e-certificate data for the user as plaintext data for the A-segment code, and generates a unique authentication code. Plaintext data for the B-segment code is generated according to the user's electronic certificate information in a set format and rules. An S-segment code for verification is generated based on the plaintext data of the A-segment code and the B-segment code. The A-segment code, B-segment code, and S-segment code form a trusted e-certificate business travel code with dual attributes of identity and certificate. Each part of the trusted e-certificate business travel code is encrypted and obfuscated, the encryption and obfuscation result is hashed, and the hash result is decryptably encrypted. A trusted business travel code in QR code form is generated based on the encrypted information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of trusted business travel codes, and in particular to a method and application method for generating and authenticating trusted business travel codes for online rental hotels and homestays. Background Technology

[0002] With the development of society, online rental hotels and homestays are becoming increasingly common. Registering for these services requires real-name registration, and users must provide their physical ID cards. This gives multiple parties access to user information, increasing the risk of data breaches. Furthermore, the registration process relies on manual ID verification, which is inefficient, especially during peak tourist seasons, leading to long queues and negatively impacting the guest experience. For users, the process of being assigned a room key after check-in is inconvenient as they need to manage it carefully. Summary of the Invention

[0003] To solve the above-mentioned technical problems, or at least partially solve them, the present invention provides a method and application method for generating and authenticating trusted business travel codes for online booking and homestays.

[0004] In a first aspect, the present invention provides a method for generating and authenticating trusted business travel codes for online booking hotels and homestays, comprising: collecting user information user_info and user ID card photo id_card_image and initially verifying the user's identity; after the user's identity is initially verified, verifying real-name authentication through a real-name authentication interface based on the user information user_info and ID card photo id_card_image;

[0005] After real-name authentication is successful, the user information user_info is transmitted to the CTID e-certificate platform for authentication. After the user completes the user identity data authentication through the CTID e-certificate platform, the CTID e-certificate platform generates the corresponding e-certificate data for the user as the plaintext data a_segment_data of the A segment code. After successful authentication, the encrypted user information encrypted_user_info is generated with a unique authentication code timestamped_hash using the hash timestamp algorithm GenerateHashTimestamp(), which facilitates the CTID e-certificate platform to trace and verify the e-certificate data of the trusted business travel code.

[0006] Obtain electronic certificate information authorized by the user, and generate plaintext data in B-segment code according to the set format and rules based on the electronic certificate information provided by the user;

[0007] Based on the plaintext data of segment A and segment B, generate segment S for verification; combine and associate the generated segment A, segment B and segment S according to the established encoding standard to form a complete trusted online business travel plaintext code with dual attributes of identity and certificate.

[0008] Each part of the trusted online travel certificate's plaintext code, combined_code, is encrypted and obfuscated to obtain the encrypted and obfuscated result, encrypted_combined_code. The encrypted and obfuscated result, encrypted_combined_code, is then hashed. The hash result of segment B is associated with the electronic certificate, and the hash result of segment A corresponds to the online certificate data. The hash result is then decryptably encrypted, converting the encrypted information into QR code content and optimizing it to obtain compressed QR code content. A trusted travel code in QR code form is generated based on the compressed QR code content. A verification identifier is constructed using the hash value of the encrypted and obfuscated result, encrypted_combined_code, and a salt value based on user information.

[0009] Furthermore, when a user initiates a login or registration process on the homestay booking platform, the platform records the initial login data based on blockchain distributed ledger technology to ensure the traceability of the login behavior; the initial login data includes: the login / registration time and the device information used for login;

[0010] When users initiate login or registration on the homestay booking platform, a dual verification mechanism of image verification code and SMS verification code is adopted: a complex image verification code is generated by an algorithm that generates random deformed characters and interference lines, and users provide the correct image verification code to request login or registration; a one-time password algorithm generates an SMS verification code with a short validity period, and users provide the correct SMS verification code to request login or registration.

[0011] Furthermore, the initial verification of user identity includes: extracting document information (extracted_info) from the ID card photo using OCR on the homestay booking platform. The document information (extracted_info) includes: name (extracted_info.name) and ID card number (extracted_info.id_number).

[0012] The PerformLivenessCheck() liveness detection algorithm, based on facial motion sequences, confirms that the user is a real, living person.

[0013] The CheckRedundancy() algorithm is used to verify the weighted checksum of the ID number extracted_info.id_number in the document information and the character rules of the name extracted_info.name in the document information, thus achieving preliminary accuracy and completeness verification.

[0014] Furthermore, the verification process based on user information (user_info) and ID card photo (id_card_image) via the real-name authentication interface includes:

[0015] The DataMatch() algorithm is used to verify whether the user information user_info and the ID card photo id_card_image match.

[0016] The image recognition algorithm ImageRecognition() is used to compare the features of the user-uploaded identity photo (user_photo) with those of the police system archived photos (police_records). The user-uploaded identity photo (user_photo) is obtained from the ID card photo (id_card_image); the police system archived photos (police_records) are obtained through the real-name authentication interface.

[0017] The CrossValidation() algorithm integrates multi-dimensional data information from multiple databases, such as the public security system, and performs multi-dimensional cross-validation on the multi-dimensional data information multiple_databases and user information user_info. If the cross-validation fails, the reason for failure and the number of failures are recorded. When the number of failures reaches the threshold, the manual review process is initiated.

[0018] Use the above three methods to perform real-name authentication. If real-name authentication fails, a message will appear indicating that real-name authentication has failed and you should try again.

[0019] Furthermore, the CTID e-certificate platform collects user identity data (user_identity_data) through CollectUserIdentityData(), verifies the user identity data (user_identity_data) through ValidateUserIdentity(), and if the verification is successful, the CTID e-certificate platform issues e-certificate data as plaintext data (a_segment_data) based on the user identity data (user_identity_data) through IssueNetIDData(); and processes the user information (user_info) into encrypted user information (encrypted_user_info) through the blockchain encryption protocol EncryptUsingBlockchain(). After successful authentication, a unique authentication code (timestamped_hash) with a time stamp is generated for the encrypted user information (encrypted_user_info) using the hash timestamp algorithm GenerateHashTimestamp(), which facilitates the CTID e-certificate platform's traceability and verification of the trusted business travel code.

[0020] Furthermore, the electronic certificate information electronic_id_info is collected from the electronic certificate data electronic_id_data provided by the user through CollectElectronicIDInfo(). The homestay booking platform verifies the validity through ValidateElectronicID(). If the verification is successful, plaintext data b_segment_data of B segment code is generated.

[0021] Furthermore, the encrypted information is converted into QR code content and optimized, including:

[0022] The Reed-Solomon error-correcting coding algorithm ReedSolomonEncode() is used to perform error correction coding on the information concatenated with the encrypted ciphertext and metadata, adding redundant information.

[0023] The compressed QR code content, compressed_data, is obtained by dynamically adjusting the compression strategy based on the QR code capacity limit and data characteristics using the adaptive data compression algorithm CompressData().

[0024] Furthermore, the trusted business travel code generated from the compressed QR code content includes:

[0025] The DNA-based color image encryption algorithm VisualEncrypt() hides key information of a QR code within the QR code image.

[0026] We use the YOLOv8Optimize() optimization method based on YOLOv8 to perform edge enhancement and contrast adjustment operations on the QR code image.

[0027] Furthermore, the authentication process for the trusted business travel code includes:

[0028] The relevant verification party reads the trusted business travel code;

[0029] Decrypt the content scanned_code of the trusted business travel code to obtain the decrypted_code result, and extract the contents of segment A, segment B and segment S from the decrypted_code result;

[0030] The electronic certificate associated with the hash result of the B segment code verifies the B segment code, and the online certificate data corresponding to the hash result of the A segment code verifies the A segment code.

[0031] The hash result of the electronic certificate's A-segment code, associated with the B-segment code, corresponds to the S-segment code of the online certificate data verification.

[0032] The final verification result is obtained by combining the verification results of the A, B, and S segments.

[0033] Secondly, the present invention provides a registration method based on a trusted business travel code, comprising: booking services online and generating a trusted business travel code;

[0034] Scan the trusted business travel code and generate business registration information based on the scanned content;

[0035] A verification request is generated based on the A code segment, B code segment, and face image obtained from the scan, and the verification request is used to initiate verification.

[0036] After processing the identity verification, a business serial number is generated and confirmed using the user identity information associated with the B code segment;

[0037] Enter the relevant user identity information and returned business transaction number into the room registration information to complete the registration.

[0038] The technical solutions provided in the embodiments of the present invention have the following advantages compared with the prior art:

[0039] This application relies on the CTID e-certificate platform to generate a personal identity identifier linked and bound to personal data, thereby creating a trusted business travel code with both identity and business attributes. The information capacity of this trusted business travel code is fixed and does not increase with the accumulation of information. In practical applications, the personal identity identifier realizes the concept of "person and code as one, identity consensus, and one code for all," ensuring both travel efficiency and precise management. This invention improves the efficiency and security of identity verification for business accommodations, reduces the use of physical documents, lowers verification complexity, enhances data security, and optimizes the accommodation experience. Specifically, it achieves the following: ① Enhanced security and convenience: Improves the security and convenience of business accommodations and optimizes the accommodation experience. ② Increased registration efficiency: Reduces waiting time at the front desk, allowing for quick information collection and verification by scanning the accommodation code. ③ Enhanced information security: Utilizes CTID e-certificate encryption technology and authoritative authentication mechanisms to prevent identity information leakage and misuse. ④ Optimized management processes: Enables automated entry and updating of accommodation information, reducing human error and workload. Attached Figure Description

[0040] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] Figure 1 A flowchart of a method for generating and authenticating trusted business travel codes for online rental and homestays, provided in an embodiment of the present invention;

[0043] Figure 2 A schematic diagram illustrating the trusted business travel code provided in an embodiment of the present invention;

[0044] Figure 3 An architecture diagram of business registration based on a trusted business travel code provided in an embodiment of the present invention;

[0045] Figure 4 A flowchart for business registration based on a trusted business travel code, provided as an embodiment of the present invention. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0047] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0048] Example 1

[0049] like Figure 1 As shown, the present invention provides a method for generating and authenticating trusted business travel codes for online rental and homestay services. The present invention includes the following steps:

[0050] The trusted business travel code generation process includes:

[0051] Step 1: Log in or register on the homestay booking platform.

[0052] Users can initiate the login or registration process through the homestay booking platform's app or mini-program.

[0053] When a user initiates a login or registration process on a homestay booking platform, initial login data is collected and recorded using a distributed ledger based on blockchain. This initial login data includes the login / registration time and the device used for login. Recording initial login data using a distributed ledger ensures that login behavior is traceable.

[0054] When users initiate login or registration on the homestay booking platform, a dual verification mechanism using both image verification code and SMS verification code is employed.

[0055] Complex graphic verification codes are generated using a random character deformation and interference line generation algorithm. Users provide the correct graphic verification code to request login or registration, preventing automatic machine recognition. A one-time password algorithm generates SMS verification codes with a short validity period. Users provide the correct SMS verification code to request login or registration, preventing malicious registration and brute-force attacks.

[0056] The code is as follows:

[0057]

[0058] Step 2: Collect user information (user_info) and user ID card photo (id_card_image) and perform preliminary verification of user identity.

[0059] User uploads ID card photo id_card_image;

[0060] The document information extracted_info is extracted from the ID card photo using OCR, which is used to extract information from the ID card photo. The document information extracted_info includes: name extracted_info.name and ID card number extracted_info.id_number.

[0061] The PerformLivenessCheck() liveness detection algorithm, based on facial motion sequences, verifies that the user is a real, living person, preventing photo or video spoofing. The algorithm requires the user to perform facial motion sequences such as blinking and head shaking. PerformLivenessCheck() returns the detection result, liveness_result.

[0062] The CheckRedundancy() algorithm verifies the weighted checksum of the ID number (extracted_info.id_number) and the character rules of the name (extracted_info.name) in the document information, thus achieving preliminary accuracy and completeness verification. The CheckRedundancy() algorithm returns the verification result `initial_validation`.

[0063] The code is as follows:

[0064]

[0065] Step 3: After the user's identity is initially verified, real-name authentication is performed through the real-name authentication interface based on the user information user_info and the ID card photo id_card_image.

[0066] Step 3 includes: verifying whether the user information (user_info) and the ID card photo (id_card_image) match using the DataMatch() data matching algorithm. The DataMatch() algorithm returns a match_result.

[0067] The ImageRecognition() algorithm compares the features of the user-uploaded ID photo (user_photo) with those of the photos archived in the public security system (police_records). The user-uploaded ID photo (user_photo) is obtained from the ID card photo (id_card_image); the public security system archived photos (police_records) are obtained through the real-name authentication interface. The ImageRecognition() algorithm returns the image matching result as image_match_result.

[0068] The CrossValidation() algorithm integrates multidimensional data from multiple databases, including the public security system (multiple_databases), using a multi-database cross-validation method. This cross-validation is performed between the multiple_databases and user information (user_info) to reduce the false positive rate. The CrossValidation() algorithm returns the cross-validation result as `cross_validation_result`. If cross-validation fails, the reason for the failure and the number of failures are recorded. When the number of failures reaches a threshold, a manual review process is initiated.

[0069] The code is as follows:

[0070]

[0071] Use the above three methods to perform real-name authentication. If real-name authentication fails, a message will appear indicating that real-name authentication has failed and you should try again.

[0072] Step 4: Transmit the user information user_info to the CTID e-certificate platform for authentication. After the user completes the user identity data authentication through the CTID e-certificate platform, the CTID e-certificate platform generates the corresponding e-certificate data for the user based on the user identity data as the plaintext data a_segment_data of the A segment code.

[0073] In practice, the CTID e-certificate platform collects user identity data (user_identity_data) using CollectUserIdentityData(). The CTID e-certificate platform then verifies the user identity data (user_identity_data) using ValidateUserIdentity(). If the verification is successful, the CTID e-certificate platform issues e-certificate data as plaintext data (a_segment_data) of the A-segment code using IssueNetIDData(). Otherwise, it returns "invalid user identity".

[0074] The code is as follows:

[0075]

[0076]

[0077] In the specific implementation process, the user information `user_info` is processed into encrypted user information `encrypted_user_info` through the blockchain encryption protocol `EncryptUsingBlockchain()`, ensuring data confidentiality and integrity. After successful authentication, a unique authentication code `timestamped_hash` with a timestamp is generated for the encrypted user information `encrypted_user_info` using the hash timestamp algorithm `GenerateHashTimestamp()`, facilitating traceability and verification.

[0078] The code is as follows:

[0079]

[0080] Step 5: Obtain the electronic certificate information electronic_id_info provided by the user, and generate the B-segment code according to the set format and rules based on the electronic certificate information electronic_id_info provided by the user.

[0081] The electronic certificate information electronic_id_info is collected from the electronic certificate data electronic_id_data provided by the user through CollectElectronicIDInfo(). The homestay booking platform verifies the validity through ValidateElectronicID(). If the verification is successful, plaintext data b_segment_data of the B segment code is generated through CreateBSegmentCode().

[0082] The code is as follows:

[0083] FUNCTION GenerateBSegment(electronic_id_data)

[0084]

[0085] The B-segment code corresponds to the electronic certificate presented by the person displaying the certificate and is a business attribute of the trusted business travel code. It identifies the type and purpose of the electronic certificate and associates relevant information such as validity period and issuing authority. It is used for business process control, such as access control and workflow approval. The B-segment code works in conjunction with the A-segment code to jointly realize the identity authentication and business functions of the electronic certificate.

[0086] Step 6: Generate S-segment code based on the plaintext data of A-segment code and B-segment code.

[0087] The process includes: receiving segment A and segment B; using the CalculateChecksum() algorithm to calculate the checksum values ​​of segment A and segment B; and combining the checksum values ​​with segment A and segment B to form segment S.

[0088] The S-segment code serves as a supplement or verification tool. Containing check bits, the S-segment code is calculated from the A-segment and B-segment codes using a specific algorithm. It is used to verify the accuracy and integrity of the entire trusted business travel code, preventing errors during data transmission or generation.

[0089] The code is as follows:

[0090]

[0091]

[0092] Step 7: Combine and associate the generated A-segment code, B-segment code, and S-segment code according to the established encoding standard to form a complete trusted online business travel code combined_code with dual attributes of identity and certificate.

[0093] The generated A-segment, B-segment, and S-segment codes are combined and associated according to a predetermined encoding standard using the EncodeSegments() function.

[0094] The code is as follows:

[0095]

[0096] An established encoding standard uses delimiters to connect segments, or encodes segments in a specific order and format.

[0097] delimiter="-"

[0098] combined_code=A_segment+delimiter+B_segment+delimiter+S_segment;

[0099] Encrypt and obfuscate each part of the trusted online travel certificate plaintext code combined_code to obtain the encrypted obfuscated result encrypted_combined_code.

[0100] By using the elliptic curve cryptography technique EncryptUsingECC() to encrypt and obfuscate each part, data is ensured to be less susceptible to theft or tampering during storage and transmission, thus improving data security.

[0101] encrypted_combined_code=EncryptUsingECC(combined_code)

[0102] Step 8: Hash the encrypted and obfuscated result `encrypted_combined_code` of the trusted online travel certificate's plaintext code `combinedcode`. Use the SHA-256 hash algorithm to hash the encrypted and obfuscated `CombinedCode`, obtaining the hash value `hash_CombinedCode` of the encrypted and obfuscated result `encrypted_combined_code`.

[0103] The encrypted and obfuscated result `encrypted_combined_code` of the trusted online travel certificate's plaintext code `combinedcode` is processed using the SHA-256 hash algorithm to generate a fixed-length hash value, ensuring the irreversibility and integrity of the information. In practice, a multi-core GPU processor is used to simultaneously perform SHA-256 hash operations on multiple encrypted and obfuscated `CombinedCode` data blocks to improve processing speed. A Bloom filter is used for fast hash value filtering and collision detection to ensure uniqueness.

[0104] For B-segment codes, hash values ​​and salt values ​​are combined to associate B-segment codes with identity information: The GenerateHMAC() algorithm combines the system timestamp, a random string generated by a random number generator, and user information to generate a salt value hmac_value, increasing randomness and security, resisting rainbow table attacks, and comprehensively ensuring the quality of verification identifiers.

[0105] The code is as follows:

[0106]

[0107] Step 9: Encrypt the hash value using a decryptable encryption method.

[0108] The AES encryption algorithm AESEncrypt() combines the dynamic key generated by the TOTP dynamic key generation algorithm with the hash value hash_CombinedCode of the encrypted and obfuscated result encrypted_combined_code to obtain the AES encrypted information aes_encrypted_info.

[0109] The hashed information is then encrypted. This step focuses on further encrypting the hashed information. By employing multiple encryption algorithms, the security and integrity of data during storage and transmission are ensured, preventing information leakage and tampering. Furthermore, the characteristics of specific encryption algorithms are leveraged to meet potential subsequent data analysis needs, enabling the entire system to maintain robust data processing and analysis capabilities while ensuring data security.

[0110] The code is as follows:

[0111]

[0112] Step 10: Convert the encrypted information into QR code content and optimize it.

[0113] The Reed-Solomon error-correcting code algorithm (ReedSolomonEncode()) is used to perform error correction encoding on the information concatenated with encrypted ciphertext and metadata, adding redundant information to improve the fault tolerance of the QR code.

[0114] The adaptive data compression algorithm CompressData() is used to dynamically adjust the compression strategy based on the QR code capacity limit and data characteristics to process the QR code content into compressed QR code content compressed_data, thereby improving data storage efficiency and generation speed, and avoiding increased processing time due to data exceeding the capacity limit; the compression strategy includes Huffman coding or arithmetic coding.

[0115] The code is as follows:

[0116]

[0117] By employing specific data encoding and format conversion algorithms, the encrypted information is further processed, optimizing the entire QR code content generation process. This ensures that the generated QR code can accurately carry the encrypted key information while also possessing good fault tolerance and meeting capacity limit requirements, enabling stable and efficient use in subsequent display and scanning verification operations.

[0118] Step 11: Generate a trusted business travel code in QR code format based on the compressed QR code content.

[0119] The DNA-based color image encryption algorithm VisualEncrypt() hides key information in the QR code image, enhancing anti-counterfeiting and security performance and preventing malicious forgery and information theft.

[0120] By using the YOLOv8-based optimization method YOLOv8Optimize() to perform edge enhancement and contrast adjustment on QR code images, the readability and recognition rate in different environments are improved, application scenarios and ease of use are expanded, and user experience and business operation efficiency are enhanced.

[0121] The code is as follows:

[0122]

[0123] Authentication of Trusted Business Travel Code:

[0124] The relevant verification parties read the trusted business travel code using scanning devices or software;

[0125] The trusted business travel code is decrypted, and then the contents of the A-segment, B-segment, and S-segment codes are extracted and verified. Through interaction with the CTID online certificate platform and the electronic certificate system, the legitimacy of the user identity corresponding to the A-segment code, the authenticity and validity of the electronic certificate pointed to by the B-segment code, and the verification of the S-segment code are confirmed, thus completing the entire certificate verification process.

[0126] In the specific implementation process, the verifier reads the trusted business travel code through a scanning device or software, assigns the read content to scanned_code, decrypts the content scanned_code of the trusted business travel code to obtain the decrypted_code, and extracts the content of segment A, segment B and segment S from the decrypted_code.

[0127] The electronic certificate associated with the hash result of the B segment code verifies the B segment code, and the online certificate data corresponding to the hash result of the A segment code verifies the A segment code.

[0128] The hash result of the electronic certificate's A-segment code, associated with the B-segment code, corresponds to the S-segment code of the online certificate data verification.

[0129] The final verification result is obtained by combining the verification results of the A, B, and S segments. The code is as follows:

[0130]

[0131] Example 2

[0132] See Figure 3 and Figure 4 As shown, this embodiment of the invention provides a registration method based on a trusted business travel code. By scanning the trusted business travel code, the user's identity information is verified, and room registration is finally completed. The specific business process includes:

[0133] Book your business online through an online booking website and generate a trusted business travel code;

[0134] During registration, the business registration window scans the trusted business travel code MERC HANT_TRAVEL_CODE using ScanQRCode(), and generates business registration information REGISTRATION_INFO based on the scanned content SCANNED_DATA;

[0135]

[0136]

[0137] The business registration window generates a verification request (VALIDATION_RESPONSE) based on the scanned A code segment (A_CODE), B code segment (B_CODE), and face image (FACE_IMAGE). It then uses this VALIDATION_RESPONSE to initiate verification with the business service system. The code is as follows:

[0138]

[0139] The business service system uploads A-segment codes, B-segment codes, and a facial image, interacting with the Trusted Business Travel Code platform for identity verification. Specifically, the Trusted Business Travel Code platform interacts with the CTID online certificate platform when verifying the A-segment code. The code is as follows:

[0140]

[0141] After identity verification, the business service system generates a business serial number (BUSINESS_SERIAL_NUMBER) based on the user identity information (ASSOCIATED_IDENTITY_INFO) associated with the B code segment. The code is as follows:

[0142]

[0143] The user identity information associated with the B code segment, ASSOCIATE_IDENTITY_INFO, and the returned business serial number, BUSINESS_SERIAL_NUMBER, were confirmed in the business registration window. The code is as follows:

[0144]

[0145] The business registration window enters the relevant user identity information (ASSOCIATED_IDENTITY_INFO) and the returned business serial number (BUSINESS_SERIAL_NUMBER) into the room registration information maintained by the room registration management system.

[0146]

[0147] Return to the transaction processing result and complete the room registration.

[0148]

[0149] In the embodiments provided by this invention, it should be understood that the disclosed structures and methods can be implemented in other ways. For example, the structural embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, structures, or units, and may be electrical, mechanical, or other forms.

[0150] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0151] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0152] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for generating and authenticating trusted business travel codes for online rental and homestay accommodations, characterized in that, include: Collect user information (user_info) and user ID card photo (id_card_image) and perform preliminary verification of user identity; After the user's identity is initially verified, real-name authentication is performed based on the user information user_info and the ID card photo id_card_image through the real-name authentication interface; After real-name authentication is successful, the user information user_info is transmitted to the CTID e-certificate platform for authentication. After the user completes the user identity data authentication through the CTID e-certificate platform, the CTID e-certificate platform generates the corresponding e-certificate data for the user as the plaintext data a_segment_data of the A segment code based on the user identity data. After successful authentication, the encrypted user information encrypted_user_info is generated with a unique authentication code timestamped_hash using the hash timestamp algorithm GenerateHashTimestamp(), which facilitates the CTID e-certificate platform to trace and verify the e-certificate data of the trusted business travel code. Obtain electronic certificate information authorized by the user, and generate plaintext data in B-segment code according to the set format and rules based on the electronic certificate information provided by the user; Based on the plaintext data of segment A and segment B, generate segment S for verification; combine and associate the generated segment A, segment B and segment S according to the established encoding standard to form a complete trusted online business travel plaintext code with dual attributes of identity and certificate. Each part of the trusted online travel certificate's plaintext code, combined_code, is encrypted and obfuscated to obtain the encrypted and obfuscated result, encrypted_combined_code. The encrypted and obfuscated result, encrypted_combined_code, is then hashed. The hash result of segment B is associated with the electronic certificate, and the hash result of segment A corresponds to the online certificate data. The hash result is then decryptably encrypted, converting the encrypted information into QR code content and optimizing it to obtain compressed QR code content. A trusted travel code in QR code form is generated based on the compressed QR code content. A verification identifier is constructed using the hash value of the encrypted and obfuscated result, encrypted_combined_code, and a salt value based on user information.

2. The method for generating and authenticating trusted business travel codes for online rental accommodations and homestays according to claim 1, characterized in that, When a user initiates a login or registration process on a homestay booking platform, the platform records the initial login data based on blockchain distributed ledger technology to ensure the traceability of the login behavior. The initial login data includes: the login / registration time and the device information used for login. When users initiate login or registration on the homestay booking platform, a dual verification mechanism of graphic verification code and SMS verification code is used: a complex graphic verification code is generated by an algorithm that generates random deformed characters and interference lines, and users provide the correct graphic verification code to request login or registration. A one-time password algorithm generates an SMS verification code with a short validity period. Users provide the correct SMS verification code to request login or registration.

3. The method for generating and authenticating trusted business travel codes for online rental accommodations and homestays according to claim 1, characterized in that, Preliminary user identity verification includes: extracting document information (extracted_info) from the ID card photo using OCR on the homestay booking platform. The document information (extracted_info) includes: name (extracted_info.name) and ID card number (extracted_info.id_number). The PerformLivenessCheck() liveness detection algorithm, based on facial motion sequences, confirms that the user is a real, living person. The CheckRedundancy() algorithm is used to verify the weighted checksum of the ID number extracted_info.id_number in the document information and the character rules of the name extracted_info.name in the document information, thus achieving preliminary accuracy and completeness verification.

4. The method for generating and authenticating trusted business travel codes for online rental accommodations and homestays according to claim 1, characterized in that, The verification process based on user information (user_info) and ID card photo (id_card_image) via the real-name authentication interface includes: The DataMatch() algorithm is used to verify whether the user information user_info and the ID card photo id_card_image match. The image recognition algorithm ImageRecognition() is used to compare the features of the user-uploaded identity photo (user_photo) with those of the police system archived photos (police_records). The user-uploaded identity photo (user_photo) is obtained from the ID card photo (id_card_image); the police system archived photos (police_records) are obtained through the real-name authentication interface. The CrossValidation() algorithm integrates multi-dimensional data information from multiple databases in the public security system, and performs multi-dimensional cross-validation on the multi-dimensional data information multiple_databases and user information user_info. If the cross-validation fails, the reason for failure and the number of failures are recorded. When the number of failures reaches the threshold, the manual review process is initiated. Use the above three methods to perform real-name authentication. If real-name authentication fails, a message will appear indicating that real-name authentication has failed and you should try again.

5. The method for generating and authenticating trusted business travel codes for online rental accommodations and homestays according to claim 1, characterized in that, The CTID e-certificate platform collects user identity data (user_identity_data) using the `CollectUserIdentityData()` function. It then verifies this data using the `ValidateUserIdentity()` function. If verification is successful, the platform issues e-certificate data as plaintext data (a_segment_data) based on the user identity data (user_identity_data) using the `IssueNetIDData()` function. Finally, it processes the user information (user_info) into encrypted user information (encrypted_user_info) using the blockchain encryption protocol `EncryptUsingBlockchain()`. After successful authentication, it generates a unique, time-stamped authentication code (timestamped_hash) for the encrypted user information (encrypted_user_info) using the `GenerateHashTimestamp()` algorithm, facilitating the CTID e-certificate platform's traceability and verification of trusted business travel codes.

6. The method for generating and authenticating trusted business travel codes for online rental hotels and homestays according to claim 1, characterized in that, The electronic certificate information electronic_id_info is collected from the electronic certificate data electronic_id_data provided by the user through CollectElectronicIDInfo(). The homestay booking platform verifies the validity through ValidateElectronicID(). If the verification is successful, plaintext data b_segment_data of B segment code is generated.

7. The method for generating and authenticating trusted business travel codes for online rental accommodations and homestays according to claim 1, characterized in that, Converting encrypted information into QR code content and optimizing it includes: The Reed-Solomon error-correcting coding algorithm ReedSolomonEncode() is used to perform error correction coding on the information concatenated with encrypted ciphertext and metadata, adding redundant information. The compressed QR code content, compressed_data, is obtained by dynamically adjusting the compression strategy based on the QR code capacity limit and data characteristics using the adaptive data compression algorithm CompressData().

8. The method for generating and authenticating trusted business travel codes for online rental hotels and homestays according to claim 1, characterized in that, The trusted business travel code generated from the compressed QR code content includes: The DNA-based color image encryption algorithm VisualEncrypt() hides key information of a QR code within the QR code image. We use the YOLOv8Optimize() optimization method based on YOLOv8 to perform edge enhancement and contrast adjustment operations on the QR code image.

9. The method for generating and authenticating trusted business travel codes for online rental hotels and homestays according to claim 1, characterized in that, The authentication process for the Trusted Business Travel Code includes: The relevant verification party reads the trusted business travel code; Decrypt the content scanned_code of the trusted business travel code to obtain the decrypted_code result, and extract the contents of segment A, segment B and segment S from the decrypted_code result; The electronic certificate associated with the hash result of the B segment code verifies the B segment code, and the online certificate data corresponding to the hash result of the A segment code verifies the A segment code. The hash result of the electronic certificate's A-segment code, associated with the B-segment code, corresponds to the S-segment code of the online certificate data verification. The final verification result is obtained by combining the verification results of the A, B, and S segments.

10. The method for generating and authenticating trusted business travel codes for online rental accommodations and homestays according to claim 1, characterized in that, The registration process based on the trusted business travel code includes: booking services online through an online booking website and generating a trusted business travel code; During registration, the business registration window scans the trusted business travel code and generates business registration information based on the scanned content; The business registration window generates a verification request based on the scanned A-segment code, B-segment code, and facial image, and uses the verification request to initiate verification to the business service system; The business service system uploads the A-segment code, B-segment code, and facial image, and interacts with the trusted business travel code platform to verify identity. After processing the identity verification, the business service system generates a business transaction number through the user identity information associated with the B-segment code, which is then confirmed by the business registration window. The business registration window will enter the relevant user identity information and the returned business serial number into the room registration information to complete the registration.

Citation Information

Patent Citations

  • Business data acquisition method and device, equipment and storage medium

    CN117811757A