Block chain-based travel service transaction record anti-counterfeiting method and system, and medium
By recording travel service transaction information in the blockchain data structure and performing anti-counterfeiting verification, the problem of insufficient anti-counterfeiting of travel service transaction records in the existing technology is solved, and reasonable speed and low error rate of travel service reimbursement are achieved.
Patent Information
- Application Number
- CN202411714768.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-05-13
AI Technical Summary
The lack of effective anti-counterfeiting methods for travel service transaction records in the prior art, resulting in frequent reimbursement of perjury in other places, affecting the reasonable speed and low error rate of corporate travel service reimbursement.
The anti-counterfeiting method of travel service transaction records based on blockchain is adopted, and the situation of perjury is reduced by recording travel service transaction information in the blockchain data structure and combining the user's registration information.
It effectively reduces the perjury of reimbursement in other places, and ensures the reasonable speed and low error rate of corporate travel services reimbursement.
Smart Images

Figure CN119991315A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and more specifically, to a blockchain-based travel service transaction record anti-counterfeiting method, system and medium. Background Art
[0002] The characteristics of blockchain include decentralization, immutability, transparency, security and programmability. Each data block is linked to the previous block to form a continuous chain, ensuring the integrity of the transaction history.
[0003] Therefore, blockchain can be applied in a wide range of fields, such as supply chain finance, asset transactions, judicial evidence storage, traceability and anti-counterfeiting, digital certificates, and logistics. At present, it has no application in the record and reimbursement process of corporate travel services, and further research and limitation can be carried out. Summary of the invention
[0004] The purpose of the present invention is to provide a blockchain-based anti-counterfeiting method, system and medium for travel service transaction record, which records travel service transaction information in the data structure of the blockchain, and performs anti-counterfeiting verification in combination with the user's actual registration information to reduce the perjury of reimbursement in other places, while ensuring the reasonable, fast and low error rate of corporate travel service reimbursement.
[0005] The first aspect of the present invention provides a blockchain-based anti-counterfeiting method for travel service transaction records, comprising the following steps:
[0006] Acquiring travel service transaction data, wherein the travel service transaction data includes transaction location, transaction type and transaction bill details;
[0007] Responding to registration data when a user uploads information, wherein the registration data includes the upload location, selection type, and upload billing details;
[0008] Performing data comparison based on the travel service transaction data and the registration data stored and transmitted via the blockchain to output an anti-counterfeiting result;
[0009] If there is no error in the anti-counterfeiting result, the current transaction is normal. If there is an error in the anti-counterfeiting result, the transaction is abnormal.
[0010] In this solution, the acquisition of travel service transaction data specifically includes:
[0011] Obtain travel application reports submitted by users based on the management platform;
[0012] Identify the travel destination, mode of transportation and reimbursement amount based on the travel application report;
[0013] Obtaining the transaction location based on the travel destination;
[0014] The transaction type is obtained based on the transportation mode, and the transaction type includes train / high-speed rail travel, airplane travel, and ship travel;
[0015] The transaction bill details are obtained based on the reimbursement amount.
[0016] In this solution, the registration data in response to the user uploading information specifically includes:
[0017] The registration data is obtained in response to the user's uploaded information associated with the travel application report, wherein:
[0018] Obtaining the upload location based on the geographical location when uploading the information;
[0019] Obtaining a selection type based on the transportation mode selected by the user when uploading information, wherein the selection type includes a bus ticket, an air ticket, and a boat ticket;
[0020] The uploaded bill details are obtained based on the travel bill uploaded by the user when uploading information.
[0021] In this solution, obtaining the user's uploaded information specifically includes:
[0022] The geographic location is obtained based on the real-time positioning data of the current user's smart device collected when the user uploads information;
[0023] When the user uploads information through the management platform, the receipt image uploaded by the user is identified and processed to obtain the selected type;
[0024] When a user uploads information through the management platform, the bill image uploaded by the user or the scanned actual bill is identified to obtain the uploaded bill details.
[0025] In this solution, the data comparison based on the travel service transaction data and the registration data stored and transmitted via the blockchain is performed to output an anti-counterfeiting result, specifically including:
[0026] Performing location data comparison based on the transaction location and the upload location to output a location comparison result;
[0027] Performing a pass comparison based on the transaction type and the selection type to output a pass comparison result;
[0028] Performing a bill comparison based on the transaction bill details and the uploaded bill details to output an account comparison result;
[0029] The anti-counterfeiting result is obtained based on the location comparison result, the passage comparison result and the account comparison result.
[0030] In this solution, if there is no error in the anti-counterfeiting result, the current transaction is normal; if there is an error in the anti-counterfeiting result, the transaction is abnormal, specifically including:
[0031] If the location comparison result, the traffic comparison result and the account comparison result are all correct, the output transaction is normal;
[0032] If there is an error in the location comparison result, the location anti-counterfeiting exception is output;
[0033] If there is an error in the pass comparison result, output a pass anti-counterfeiting exception;
[0034] If there is an error in the account comparison result, an account anti-counterfeiting exception is output.
[0035] The second aspect of the present invention further provides a travel service transaction record anti-counterfeiting system based on blockchain, comprising a memory and a processor, wherein the memory comprises a travel service transaction record anti-counterfeiting method program based on blockchain, and when the travel service transaction record anti-counterfeiting method program based on blockchain is executed by the processor, the following steps are implemented:
[0036] Acquiring travel service transaction data, wherein the travel service transaction data includes transaction location, transaction type and transaction bill details;
[0037] Responding to registration data when a user uploads information, wherein the registration data includes the upload location, selection type, and upload billing details;
[0038] Performing data comparison based on the travel service transaction data and the registration data stored and transmitted via the blockchain to output an anti-counterfeiting result;
[0039] If there is no error in the anti-counterfeiting result, the current transaction is normal. If there is an error in the anti-counterfeiting result, the transaction is abnormal.
[0040] In this solution, the acquisition of travel service transaction data specifically includes:
[0041] Obtain travel application reports submitted by users based on the management platform;
[0042] Identify the travel destination, mode of transportation and reimbursement amount based on the travel application report;
[0043] Obtaining the transaction location based on the travel destination;
[0044] The transaction type is obtained based on the transportation mode, and the transaction type includes train / high-speed rail travel, airplane travel, and ship travel;
[0045] The transaction bill details are obtained based on the reimbursement amount.
[0046] In this solution, the registration data in response to the user uploading information specifically includes:
[0047] The registration data is obtained in response to the user's uploaded information associated with the travel application report, wherein:
[0048] Obtaining the upload location based on the geographical location when uploading the information;
[0049] Obtaining a selection type based on the transportation mode selected by the user when uploading information, wherein the selection type includes a bus ticket, an air ticket, and a boat ticket;
[0050] The uploaded bill details are obtained based on the travel bill uploaded by the user when uploading information.
[0051] In this solution, obtaining the user's uploaded information specifically includes:
[0052] The geographic location is obtained based on the real-time positioning data of the current user's smart device collected when the user uploads information;
[0053] When the user uploads information through the management platform, the receipt image uploaded by the user is identified and processed to obtain the selected type;
[0054] When a user uploads information through the management platform, the bill image uploaded by the user or the scanned actual bill is identified to obtain the uploaded bill details.
[0055] In this solution, the data comparison based on the travel service transaction data and the registration data stored and transmitted via the blockchain is performed to output an anti-counterfeiting result, specifically including:
[0056] Performing location data comparison based on the transaction location and the upload location to output a location comparison result;
[0057] Performing a pass comparison based on the transaction type and the selection type to output a pass comparison result;
[0058] Performing a bill comparison based on the transaction bill details and the uploaded bill details to output an account comparison result;
[0059] The anti-counterfeiting result is obtained based on the location comparison result, the passage comparison result and the account comparison result.
[0060] In this solution, if there is no error in the anti-counterfeiting result, the current transaction is normal; if there is an error in the anti-counterfeiting result, the transaction is abnormal, specifically including:
[0061] If the location comparison result, the traffic comparison result and the account comparison result are all correct, the output transaction is normal;
[0062] If there is an error in the location comparison result, the location anti-counterfeiting exception is output;
[0063] If there is an error in the pass comparison result, output a pass anti-counterfeiting exception;
[0064] If there is an error in the account comparison result, an account anti-counterfeiting exception is output.
[0065] The third aspect of the present invention provides a computer-readable storage medium, which includes a machine-based blockchain-based travel service transaction record anti-counterfeiting method program. When the blockchain-based travel service transaction record anti-counterfeiting method program is executed by a processor, the steps of a blockchain-based travel service transaction record anti-counterfeiting method as described in any one of the above items are implemented.
[0066] The present invention discloses a blockchain-based anti-counterfeiting method, system and medium for travel service transaction record, which records travel service transaction information in the data structure of the blockchain, and performs anti-counterfeiting verification in combination with the user's actual registration information to reduce the perjury of reimbursement in other places, while ensuring the reasonable, fast and low error rate of corporate travel service reimbursement. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 A flowchart of a blockchain-based anti-counterfeiting method for travel service transaction records of the present invention is shown;
[0068] Figure 2 A block diagram of a travel service transaction record anti-counterfeiting system based on blockchain in the present invention is shown. DETAILED DESCRIPTION
[0069] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0070] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0071] In order to upgrade the travel experience of employees and improve the consistency and convenience of the overall travel experience, enterprises can reduce costs and increase efficiency and shorten account periods in actual applications. For example, travel air ticket itineraries can obtain flight dynamics, hotel additional original room renewal, re-booking and other convenient functions by connecting to flight dynamic service providers; travel train tickets can access ticket inspection information, combined with push functions to provide intimate travel services for employees; and support employees to complete international travel online, comprehensively improve user travel experience, and achieve the goal of improving the consistency and convenience of the user's overall travel experience. Therefore, a blockchain-based travel service transaction record anti-counterfeiting method is proposed in this application.
[0072] like Figure 1 As shown, the present application discloses a blockchain-based anti-counterfeiting method for travel service transaction records, comprising the following steps:
[0073] S102, obtaining travel service transaction data, wherein the travel service transaction data includes transaction location, transaction type and transaction bill details;
[0074] S104, responding to the registration data when the user uploads information, wherein the registration data includes the upload location, the selection type and the upload bill details;
[0075] S106, performing data comparison based on the travel service transaction data and the registration data stored and transmitted via the blockchain to output an anti-counterfeiting result;
[0076] S108, if there is no error in the anti-counterfeiting result, output that the current transaction is normal; if there is an error in the anti-counterfeiting result, output that the transaction is abnormal.
[0077] It should be noted that in this embodiment, since the data stored and transmitted via the blockchain cannot be tampered with, the travel service transaction information can be recorded and anti-counterfeiting based on the blockchain technology. First, before the user goes on a business trip, the user's travel service transaction data on the management platform is obtained, wherein the travel service transaction data includes the transaction location, transaction type and transaction bill details, and when the user is on a business trip, the registration data uploaded by the user to the management platform is immediately responded to, wherein the registration data includes the upload location, selection type and upload bill details. Since the transmitted data is all based on the blockchain technology, the travel service transaction data can be compared with the registration data stored and transmitted via the blockchain to output an anti-counterfeiting result. Different comparison results correspond to different anti-counterfeiting results. If there is no error in the anti-counterfeiting result, the current transaction is normal. If there is an error in the anti-counterfeiting result, the transaction is abnormal.
[0078] According to an embodiment of the present invention, obtaining travel service transaction data specifically includes:
[0079] Obtain travel application reports submitted by users based on the management platform;
[0080] Identify the travel destination, mode of transportation and reimbursement amount based on the travel application report;
[0081] Obtaining the transaction location based on the travel destination;
[0082] The transaction type is obtained based on the transportation mode, and the transaction type includes train / high-speed rail travel, airplane travel, and ship travel;
[0083] The transaction bill details are obtained based on the reimbursement amount.
[0084] It should be noted that, in this embodiment, the travel service transaction data includes the transaction location, transaction type and transaction bill details. Specifically, first, the travel application report form submitted by the user is obtained based on the management platform, and then the travel destination, transportation method and reimbursement amount are identified based on the travel application report form, wherein the transaction location is obtained based on the travel destination. For example, the current user A plans to go on a business trip to Beijing and the hotel selected for accommodation is Hotel B. Then the travel destination in the travel application report form is the location of Hotel B in Beijing. Accordingly, the transaction location is generated as Beijing. Furthermore, it also includes obtaining the transaction type based on the transportation method, and the transaction types include train / high-speed rail travel, airplane travel and ship travel; and obtaining the transaction bill details based on the reimbursement amount. Similarly, the transaction type and transaction bill details are obtained, which will not be elaborated here.
[0085] According to an embodiment of the present invention, the registration data in response to the user uploading information specifically includes:
[0086] The registration data is obtained in response to the user's uploaded information associated with the travel application report, wherein:
[0087] Obtaining the upload location based on the geographical location when uploading the information;
[0088] Obtaining a selection type based on the transportation mode selected by the user when uploading information, wherein the selection type includes a bus ticket, an air ticket, and a boat ticket;
[0089] The uploaded bill details are obtained based on the travel bill uploaded by the user when uploading information.
[0090] It should be noted that, in this embodiment, after arriving at the travel destination, the user needs to register information through the management platform for subsequent travel reimbursement, wherein the registration data is obtained in response to the user's uploaded information associated with the travel application report form, wherein the upload location is obtained based on the geographical location when the information is uploaded, wherein the user uses a smart device to upload the information when uploading the information, so the current geographical location can be collected, and the selection type is obtained based on the transportation method selected by the user when uploading the information, and the selection type includes train tickets, air tickets and boat tickets. The user can upload actual tickets when uploading, and further, it also includes obtaining the uploaded bill details based on the travel bill uploaded by the user when uploading the information.
[0091] According to an embodiment of the present invention, obtaining the user's uploaded information specifically includes:
[0092] The geographic location is obtained based on the real-time positioning data of the current user's smart device collected when the user uploads information;
[0093] When the user uploads information through the management platform, the ticket image uploaded by the user is identified and processed to obtain the selected type;
[0094] When a user uploads information through the management platform, the bill image uploaded by the user or the scanned actual bill is identified to obtain the uploaded bill details.
[0095] It should be noted that, in this embodiment, the above embodiment describes that when the user uploads the system to register information, a smart device, such as a mobile phone, is used for registration. Therefore, the geographic location can be obtained based on the real-time positioning data of the current user's smart device collected when the user uploads the information, such as the location of Beijing Hotel B described in the above embodiment; and when the user uploads information through the management platform, the ticket image uploaded by the user is identified and image processing is performed to obtain the selected type, that is, after the user uploads the ticket image, the content of the ticket image is recognized to obtain the corresponding ticket; and when the user uploads information through the management platform, the bill image uploaded by the user or the scanned actual bill is identified to obtain the uploaded bill details.
[0096] According to an embodiment of the present invention, the data comparison based on the travel service transaction data and the registration data stored and transmitted via the blockchain to output an anti-counterfeiting result specifically includes:
[0097] Performing location data comparison based on the transaction location and the upload location to output a location comparison result;
[0098] Performing a pass comparison based on the transaction type and the selection type to output a pass comparison result;
[0099] Performing a bill comparison based on the transaction bill details and the uploaded bill details to output an account comparison result;
[0100] The anti-counterfeiting result is obtained based on the location comparison result, the passage comparison result and the account comparison result.
[0101] It should be noted that, in this embodiment, when the comparison is performed, the comparison is specifically based on the actual registration information and the travel service transaction data obtained in advance. Specifically, the location data is compared based on the transaction location and the uploaded location to output the location comparison result, specifically to see whether the two locations are the same location, and the passage mode is compared based on the transaction type and the selected type to output the passage comparison result, specifically to see whether the transportation mode actually taken by the user is consistent with the pre-set one; and the bill comparison is performed based on the transaction bill details and the uploaded bill details to output the account comparison result, that is, whether the corresponding reimbursement amount is within the range;
[0102] The anti-counterfeiting result is obtained based on the location comparison result, the passage comparison result and the account comparison result.
[0103] According to an embodiment of the present invention, if there is no error in the anti-counterfeiting result, outputting that the current transaction is normal, and if there is an error in the anti-counterfeiting result, outputting that the transaction is abnormal, specifically includes:
[0104] If the location comparison result, the traffic comparison result and the account comparison result are all correct, the output transaction is normal;
[0105] If there is an error in the location comparison result, the location anti-counterfeiting exception is output;
[0106] If there is an error in the pass comparison result, output a pass anti-counterfeiting exception;
[0107] If there is an error in the account comparison result, an account anti-counterfeiting exception is output.
[0108] It should be noted that, in this embodiment, the anti-counterfeiting results include normal anti-counterfeiting and abnormal anti-counterfeiting, among which normal anti-counterfeiting indicates that all anti-counterfeiting comparison results are correct, and the anti-counterfeiting abnormalities include location anti-counterfeiting abnormalities, pass anti-counterfeiting abnormalities and account anti-counterfeiting abnormalities. Specifically, if the location comparison result, the pass comparison result and the account comparison result are all correct, then the transaction is output as normal. Furthermore, if there is an error in the location comparison result, then the location anti-counterfeiting abnormality is output; if there is an error in the pass comparison result, then the pass anti-counterfeiting abnormality is output; and if there is an error in the account comparison result, then the account anti-counterfeiting abnormality is output.
[0109] It is worth mentioning that it also includes:
[0110] Obtain network IP information, wherein the network IP information includes operator network IP or WI FI network IP;
[0111] Respond to the registration data when the user uploads information, wherein the registration data also includes network IP information.
[0112] It should be noted that: in this embodiment, the above embodiment describes that when a user uploads information to the system for registration, a smart device, such as a mobile phone, is used for registration. Therefore, the network IP information can be obtained based on the IP address of the mobile network to which the current user's smart device is connected in real time when the user uploads information; wherein the mobile network includes but is not limited to an operator network or a WI FI hotspot network.
[0113] It is worth mentioning that it also includes:
[0114] The regional location is obtained based on the network IP information of the current user's smart device collected when the user uploads information;
[0115] A location data comparison is performed based on the regional location and the uploaded location to output a regional comparison result.
[0116] It should be noted that: in this embodiment, when performing the comparison, specifically, based on the network IP information, the regional location corresponding to the network IP address to which the smart device is connected is obtained through the IP reverse query interface. The regional location is compared with the uploaded location data to output the regional comparison result, specifically to see whether the location is within the regional location range. And based on the comparison result, if there is an error in the regional comparison result, the regional anti-counterfeiting exception is output.
[0117] It is worth mentioning that it also includes:
[0118] In response to the user uploading information, encrypted registration data is obtained according to the registration data and the preset encryption rules;
[0119] Based on the encrypted registration data stored and transmitted via the blockchain, the registration data is obtained after decryption.
[0120] It should be noted that: in this embodiment, when a user uploads information, the registration data, including the upload location, selection type, and upload bill details, is first encrypted according to a preset encryption rule, and then transmitted and stored via blockchain technology; the registration data is then decrypted to obtain the registration data for data comparison to output an anti-counterfeiting result. This embodiment encrypts and transmits the registration data transmitted in the blockchain and decrypts and verifies it, thereby avoiding data transmission in plain text and improving data confidentiality.
[0121] Figure 2A block diagram of a travel service transaction record anti-counterfeiting system based on blockchain in the present invention is shown.
[0122] like Figure 2 As shown, the present invention discloses a travel service transaction record anti-counterfeiting system based on blockchain, including a memory and a processor, wherein the memory includes a travel service transaction record anti-counterfeiting method program based on blockchain, and when the travel service transaction record anti-counterfeiting method program based on blockchain is executed by the processor, the following steps are implemented:
[0123] Acquiring travel service transaction data, wherein the travel service transaction data includes transaction location, transaction type and transaction bill details;
[0124] Responding to registration data when a user uploads information, wherein the registration data includes the upload location, selection type, and upload billing details;
[0125] Performing data comparison based on the travel service transaction data and the registration data stored and transmitted via the blockchain to output an anti-counterfeiting result;
[0126] If there is no error in the anti-counterfeiting result, the current transaction is normal. If there is an error in the anti-counterfeiting result, the transaction is abnormal.
[0127] It should be noted that in this embodiment, since the data stored and transmitted via the blockchain cannot be tampered with, the travel service transaction information can be recorded and anti-counterfeiting based on the blockchain technology. First, before the user goes on a business trip, the user's travel service transaction data on the management platform is obtained, wherein the travel service transaction data includes the transaction location, transaction type and transaction bill details, and when the user is on a business trip, the registration data uploaded by the user to the management platform is immediately responded to, wherein the registration data includes the upload location, selection type and upload bill details. Since the transmitted data is all based on the blockchain technology, the travel service transaction data can be compared with the registration data stored and transmitted via the blockchain to output an anti-counterfeiting result. Different comparison results correspond to different anti-counterfeiting results. If there is no error in the anti-counterfeiting result, the current transaction is normal. If there is an error in the anti-counterfeiting result, the transaction is abnormal.
[0128] According to an embodiment of the present invention, obtaining travel service transaction data specifically includes:
[0129] Obtain travel application reports submitted by users based on the management platform;
[0130] Identify the travel destination, mode of transportation and reimbursement amount based on the travel application report;
[0131] Obtaining the transaction location based on the travel destination;
[0132] The transaction type is obtained based on the transportation mode, and the transaction type includes train / high-speed rail travel, airplane travel, and ship travel;
[0133] The transaction bill details are obtained based on the reimbursement amount.
[0134] It should be noted that, in this embodiment, the travel service transaction data includes the transaction location, transaction type and transaction bill details. Specifically, first, the travel application report form submitted by the user is obtained based on the management platform, and then the travel destination, transportation method and reimbursement amount are identified based on the travel application report form, wherein the transaction location is obtained based on the travel destination. For example, the current user A plans to go on a business trip to Beijing and the hotel selected for accommodation is Hotel B. Then the travel destination in the travel application report form is the location of Hotel B in Beijing. Accordingly, the transaction location is generated as Beijing. Furthermore, it also includes obtaining the transaction type based on the transportation method, and the transaction types include train / high-speed rail travel, airplane travel and ship travel; and obtaining the transaction bill details based on the reimbursement amount. Similarly, the transaction type and transaction bill details are obtained, which will not be elaborated here.
[0135] According to an embodiment of the present invention, the registration data in response to the user uploading information specifically includes:
[0136] The registration data is obtained in response to the user's uploaded information associated with the travel application report, wherein:
[0137] Obtaining the upload location based on the geographical location when uploading the information;
[0138] Obtaining a selection type based on the transportation mode selected by the user when uploading information, wherein the selection type includes a bus ticket, an air ticket, and a boat ticket;
[0139] The uploaded bill details are obtained based on the travel bill uploaded by the user when uploading information.
[0140] It should be noted that, in this embodiment, after arriving at the travel destination, the user needs to register information through the management platform for subsequent travel reimbursement, wherein the registration data is obtained in response to the user's uploaded information associated with the travel application report form, wherein the upload location is obtained based on the geographical location when the information is uploaded, wherein the user uses a smart device to upload the information when uploading the information, so the current geographical location can be collected, and the selection type is obtained based on the transportation method selected by the user when uploading the information, and the selection type includes train tickets, air tickets and boat tickets. The user can upload actual tickets when uploading, and further, it also includes obtaining the uploaded bill details based on the travel bill uploaded by the user when uploading the information.
[0141] According to an embodiment of the present invention, obtaining the user's uploaded information specifically includes:
[0142] The geographic location is obtained based on the real-time positioning data of the current user's smart device collected when the user uploads information;
[0143] When the user uploads information through the management platform, the ticket image uploaded by the user is identified and processed to obtain the selected type;
[0144] When a user uploads information through the management platform, the bill image uploaded by the user or the scanned actual bill is identified to obtain the uploaded bill details.
[0145] It should be noted that, in this embodiment, the above embodiment describes that when the user uploads the system to register information, a smart device, such as a mobile phone, is used for registration. Therefore, the geographic location can be obtained based on the real-time positioning data of the current user's smart device collected when the user uploads the information, such as the location of Beijing Hotel B described in the above embodiment; and when the user uploads information through the management platform, the ticket image uploaded by the user is identified and image processing is performed to obtain the selected type, that is, after the user uploads the ticket image, the content of the ticket image is recognized to obtain the corresponding ticket; and when the user uploads information through the management platform, the bill image uploaded by the user or the scanned actual bill is identified to obtain the uploaded bill details.
[0146] According to an embodiment of the present invention, the data comparison based on the travel service transaction data and the registration data stored and transmitted via the blockchain to output an anti-counterfeiting result specifically includes:
[0147] Performing location data comparison based on the transaction location and the upload location to output a location comparison result;
[0148] Performing a pass comparison based on the transaction type and the selection type to output a pass comparison result;
[0149] Performing a bill comparison based on the transaction bill details and the uploaded bill details to output an account comparison result;
[0150] The anti-counterfeiting result is obtained based on the location comparison result, the passage comparison result and the account comparison result.
[0151] It should be noted that, in this embodiment, when the comparison is performed, the comparison is specifically based on the actual registration information and the travel service transaction data obtained in advance. Specifically, the location data is compared based on the transaction location and the uploaded location to output the location comparison result, specifically to see whether the two locations are the same location, and the passage mode is compared based on the transaction type and the selected type to output the passage comparison result, specifically to see whether the transportation mode actually taken by the user is consistent with the pre-set one; and the bill comparison is performed based on the transaction bill details and the uploaded bill details to output the account comparison result, that is, whether the corresponding reimbursement amount is within the range;
[0152] The anti-counterfeiting result is obtained based on the location comparison result, the passage comparison result and the account comparison result.
[0153] According to an embodiment of the present invention, if there is no error in the anti-counterfeiting result, outputting that the current transaction is normal, and if there is an error in the anti-counterfeiting result, outputting that the transaction is abnormal, specifically includes:
[0154] If the location comparison result, the traffic comparison result and the account comparison result are all correct, the output transaction is normal;
[0155] If there is an error in the location comparison result, the location anti-counterfeiting exception is output;
[0156] If there is an error in the pass comparison result, output a pass anti-counterfeiting exception;
[0157] If there is an error in the account comparison result, an account anti-counterfeiting exception is output.
[0158] It should be noted that, in this embodiment, the anti-counterfeiting results include normal anti-counterfeiting and abnormal anti-counterfeiting, among which normal anti-counterfeiting indicates that all anti-counterfeiting comparison results are correct, and the anti-counterfeiting abnormalities include location anti-counterfeiting abnormalities, pass anti-counterfeiting abnormalities and account anti-counterfeiting abnormalities. Specifically, if the location comparison result, the pass comparison result and the account comparison result are all correct, then the transaction is output as normal. Furthermore, if there is an error in the location comparison result, then the location anti-counterfeiting abnormality is output; if there is an error in the pass comparison result, then the pass anti-counterfeiting abnormality is output; and if there is an error in the account comparison result, then the account anti-counterfeiting abnormality is output.
[0159] It is worth mentioning that it also includes:
[0160] Obtain network IP information, wherein the network IP information includes operator network IP or WIFI network IP;
[0161] Respond to the registration data when the user uploads information, wherein the registration data also includes network IP information.
[0162] It should be noted that: in this embodiment, the above embodiment describes that when a user uploads information to the system for registration, a smart device, such as a mobile phone, is used for registration. Therefore, the network IP information can be obtained based on the IP address of the mobile network to which the current user's smart device is connected in real time when the user uploads information; wherein, the mobile network includes but is not limited to an operator network or a WI FI hotspot network.
[0163] It is worth mentioning that it also includes:
[0164] The regional location is obtained based on the network IP information of the current user's smart device collected when the user uploads information;
[0165] A location data comparison is performed based on the regional location and the uploaded location to output a regional comparison result.
[0166] It should be noted that: in this embodiment, when performing the comparison, specifically, based on the network IP information, the regional location corresponding to the network IP address to which the smart device is connected is obtained through the IP reverse query interface. The regional location is compared with the uploaded location data to output the regional comparison result, specifically to see whether the location is within the regional location range. And based on the comparison result, if there is an error in the regional comparison result, the regional anti-counterfeiting exception is output.
[0167] It is worth mentioning that it also includes:
[0168] In response to the user uploading information, encrypted registration data is obtained according to the registration data and the preset encryption rules;
[0169] Based on the encrypted registration data stored and transmitted via the blockchain, the registration data is obtained after decryption.
[0170] It should be noted that: in this embodiment, when the user uploads information, the registration data, including the upload location, selection type, and upload bill details, are first encrypted according to the preset encryption rules, and then transmitted and stored via blockchain technology; the registration data is then obtained by decryption, which is used for data comparison to output anti-counterfeiting results. This embodiment encrypts and transmits the registration data transmitted in the blockchain and decrypts and verifies it, thereby avoiding data transmission in plain text and improving the confidentiality of the data. The third aspect of the present invention provides a computer-readable storage medium, the computer-readable storage medium includes a travel service transaction record anti-counterfeiting method program based on blockchain, and when the travel service transaction record anti-counterfeiting method program based on blockchain is executed by a processor, the steps of a travel service transaction record anti-counterfeiting method based on blockchain as described in any of the above items are implemented.
[0171] The present invention discloses a blockchain-based anti-counterfeiting method, system and medium for travel service transaction record, which records travel service transaction information in the data structure of the blockchain, and performs anti-counterfeiting verification in combination with the user's actual registration information to reduce the perjury of reimbursement in other places, while ensuring the reasonable, fast and low error rate of corporate travel service reimbursement.
[0172] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0173] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0174] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0175] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks or optical disks, and other media that can store program codes.
[0176] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. A blockchain-based anti-counterfeiting method for travel service transaction records, characterized in that: The following steps are involved: Acquiring travel service transaction data, wherein the travel service transaction data includes transaction location, transaction type and transaction bill details; Responding to registration data when a user uploads information, wherein the registration data includes the upload location, selection type, and upload billing details; Performing data comparison based on the travel service transaction data and the registration data stored and transmitted via the blockchain to output an anti-counterfeiting result; If there is no error in the anti-counterfeiting result, the current transaction is normal. If there is an error in the anti-counterfeiting result, the transaction is abnormal.
2. According to claim 1, a blockchain-based anti-counterfeiting method for travel service transaction records is characterized in that: The obtaining of travel service transaction data specifically includes: Obtain travel application reports submitted by users based on the management platform; Identify the travel destination, mode of transportation and reimbursement amount based on the travel application report; Obtaining the transaction location based on the travel destination; The transaction type is obtained based on the transportation mode, and the transaction type includes train / high-speed rail travel, airplane travel, and ship travel; The transaction bill details are obtained based on the reimbursement amount.
3. According to claim 2, a blockchain-based anti-counterfeiting method for travel service transaction records is characterized in that: The registration data in response to the user uploading information specifically includes: The registration data is obtained in response to the user's uploaded information associated with the travel application report, wherein: Obtaining the upload location based on the geographical location when uploading the information; Obtaining a selection type based on the transportation mode selected by the user when uploading information, wherein the selection type includes a bus ticket, an air ticket, and a boat ticket; The uploaded bill details are obtained based on the travel bill uploaded by the user when uploading information.
4. According to claim 3, a blockchain-based anti-counterfeiting method for travel service transaction records is characterized in that: Obtaining the user's uploaded information specifically includes: The geographic location is obtained based on the real-time positioning data of the current user's smart device collected when the user uploads information; When the user uploads information through the management platform, the receipt image uploaded by the user is identified and processed to obtain the selected type; When a user uploads information through the management platform, the bill image uploaded by the user or the scanned actual bill is identified to obtain the uploaded bill details.
5. According to claim 4, a blockchain-based anti-counterfeiting method for travel service transaction records is characterized in that: The data comparison based on the travel service transaction data and the registration data stored and transmitted via the blockchain to output an anti-counterfeiting result specifically includes: Performing location data comparison based on the transaction location and the upload location to output a location comparison result; Performing a pass comparison based on the transaction type and the selection type to output a pass comparison result; Performing a bill comparison based on the transaction bill details and the uploaded bill details to output an account comparison result; The anti-counterfeiting result is obtained based on the location comparison result, the passage comparison result and the account comparison result.
6. According to claim 5, a blockchain-based anti-counterfeiting method for travel service transaction records is characterized in that: If there is no error in the anti-counterfeiting result, the current transaction is normal; if there is an error in the anti-counterfeiting result, the transaction is abnormal. Specifically, it includes: If the location comparison result, the traffic comparison result and the account comparison result are all correct, the output transaction is normal; If there is an error in the location comparison result, the location anti-counterfeiting exception is output; If there is an error in the pass comparison result, output a pass anti-counterfeiting exception; If there is an error in the account comparison result, an account anti-counterfeiting exception is output.
7. A blockchain-based anti-counterfeiting system for travel service transaction records, characterized in that: The invention comprises a memory and a processor, wherein the memory comprises a travel service transaction record anti-counterfeiting method program based on blockchain, and the travel service transaction record anti-counterfeiting method program based on blockchain is executed by the processor to implement the following steps: Acquiring travel service transaction data, wherein the travel service transaction data includes transaction location, transaction type and transaction bill details; Responding to registration data when a user uploads information, wherein the registration data includes the upload location, selection type, and upload billing details; Performing data comparison based on the travel service transaction data and the registration data stored and transmitted via the blockchain to output an anti-counterfeiting result; If there is no error in the anti-counterfeiting result, the current transaction is normal. If there is an error in the anti-counterfeiting result, the transaction is abnormal.
8. According to claim 7, a blockchain-based travel service transaction record anti-counterfeiting system is characterized in that: The obtaining of travel service transaction data specifically includes: Obtain travel application reports submitted by users based on the management platform; Identify the travel destination, mode of transportation and reimbursement amount based on the travel application report; Obtaining the transaction location based on the travel destination; The transaction type is obtained based on the transportation mode, and the transaction type includes train / high-speed rail travel, airplane travel, and ship travel; The transaction bill details are obtained based on the reimbursement amount.
9. According to claim 8, a blockchain-based travel service transaction record anti-counterfeiting system is characterized in that: The registration data in response to the user uploading information specifically includes: The registration data is obtained in response to the user's uploaded information associated with the travel application report, wherein: Obtaining the upload location based on the geographical location when uploading the information; Obtaining a selection type based on the transportation mode selected by the user when uploading information, wherein the selection type includes a bus ticket, an air ticket, and a boat ticket; The uploaded bill details are obtained based on the travel bill uploaded by the user when uploading information.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a blockchain-based travel service transaction record anti-counterfeiting method program. When the blockchain-based travel service transaction record anti-counterfeiting method program is executed by a processor, the steps of a blockchain-based travel service transaction record anti-counterfeiting method as described in any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Travel data management method and system based on cloud computing and scene matching, and computing equipment
CN121707499A