Intelligent settlement system for aviation business travel
The intelligent settlement system for aviation business travel utilizes IPFS distributed storage and blockchain technology to solve the problem of secure sharing of passenger data in aviation business transactions. It enables secure storage, reasonable sharing, and efficient access of passenger data, thereby improving settlement efficiency and security.
Patent Information
- Application Number
- CN202411342348.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-01-10
AI Technical Summary
In aviation business transactions, the secure sharing of passenger data among multiple entities faces privacy protection challenges. Existing technologies are insufficient to ensure the secure storage, reasonable sharing, and efficient access of passenger data in environments with high concurrency and strong inter-entity interaction.
The system adopts an intelligent settlement system for airline business travel, utilizing the IPFS distributed storage platform and blockchain technology. Passenger data is encrypted using hash and RSA signature algorithms and stored on the airline consortium blockchain to achieve secure storage and reasonable sharing of files. Combined with the JAVA SDK interface, efficient access to files is achieved.
It enables secure storage, reasonable sharing, and efficient access to passenger data, improves settlement efficiency and security level, reduces on-chain storage space occupation, and supports the traceability and immutability of bills.
Smart Images

Figure CN119295066A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of aviation settlement, and in particular to an aviation business travel intelligent settlement system. Background Art
[0002] With the rapid increase in the volume of civil aviation passenger travel, business passengers have become an important part of the aviation passenger source, accounting for as much as 56% in recent years. Business travel consumption for business travel is mainly participated by airlines, corporate customers, business passengers and other entities. The relevant business data mainly involves passenger personal data, commercial transaction data, and service platform data. With the introduction of advanced technologies such as the Internet of Things, cloud computing, and big data, the processing capacity of transaction data and the comprehensive service capabilities of various digital platforms have been enhanced, but the resulting security issues have also become increasingly prominent. In recent years, the aviation industry has become a "hard-hit area" for cyber attacks. With the introduction of relevant laws and regulations, the importance of data security and privacy protection has risen to a new historical height. In the existing business consumption model, the business passenger and the airline trade during the journey, and the corporate customer settles with the airline and the passenger after the journey. The aviation business data involved mainly includes passenger data, transaction data, and platform data, and has the characteristics of large business volume, high concurrency, and strong timeliness. Under the above security background and technology development trend, aviation business data has the following security challenges:
[0003] When business is running collaboratively, multi-subject secure sharing of passenger data faces challenges. Passenger data mainly includes passenger identity data and travel consumption data, which are directly related to passenger personal privacy. According to statistics, a single trip of a passenger will generate 3 to 5 consumption ticket coupons that are strongly associated with his or her identity. The ticket coupons are distributed at various nodes of the travel chain, involving multiple subjects such as business passengers, corporate customers, airlines, merchants, settlement institutions, and regulatory agencies. Various business chains are established between various subjects through agreements, accounts, and reserve funds, and they collaborate to complete reconciliation, settlement, payment, review, and supervision processes. The multi-source subject collaborative interaction mechanism brings challenges to user privacy protection: once the travel bill of a business passenger is uploaded to the system or cloud, the passenger himself or herself will lose physical control of it, and it will be managed by corporate customers, airlines, clearing institutions, and other subjects. In order to improve operational efficiency, a collaborative sharing mechanism between various subjects has emerged, which has led to privacy protection issues under multi-role access.
[0004] Therefore, it is urgent to adopt a privacy protection method that is in line with the high concurrency and strong linkage of current aviation business transactions, focus on resolving the conflict between user privacy protection needs and subject collaborative sharing, and ensure that passenger data is securely stored, reasonably shared and efficiently accessed. Summary of the invention
[0005] The purpose of this application is to provide an intelligent settlement system for aviation business travel that can ensure that passenger data is securely stored, reasonably shared, and efficiently accessed.
[0006] To achieve the above objectives, this application provides the following solutions:
[0007] The present application provides an aviation business travel intelligent settlement system, which includes: a user login module, an IPFS distributed storage platform, a contract generation module, a Javaweb module, and a digital signature module;
[0008] The user login module is used to generate a user account and a corresponding contract address according to user information, and to generate a private key and a public key;
[0009] The IPFS distributed storage platform is connected to the user login module; the IPFS distributed storage platform is used to store the files uploaded by the contract address and generate the corresponding hash value and obtain the corresponding file through the hash value;
[0010] The digital signature module is used to encrypt the hash value using the private key corresponding to the user and the RSA signature algorithm;
[0011] The contract generation module is deployed on the blockchain and is used to generate a storefile contract and a getfile contract; the storefile contract is used to store the encrypted hash value on the blockchain; the getfile contract is used to obtain the encrypted hash value from the blockchain;
[0012] The Javaweb module is used to use the JAVA SDK interface to call the contract generated by the contract generation module to realize the uplink and downlink of the encrypted hash value.
[0013] Optionally, the user login module is deployed on the front-end interface; the front-end interface connects to the IPFS distributed storage platform by viewing the interface document of ipfs-http-client and creating IPFS objects; the front-end interface connects to the Javaweb module using a plug-in.
[0014] Optionally, the plug-in method is $.ajax of the jQuery plug-in.
[0015] Optionally, the contract generation module further includes a mapping unit; the mapping unit is used to store different files.
[0016] Optionally, the Javaweb module is also connected to a database; the database is used to store the public key;
[0017] The Javaweb module uses prepareStatement to execute database sql statements.
[0018] Optionally, the fields of the database include: username, password, public_key and private_key.
[0019] Optionally, when the Javaweb module is deployed using a tomcat container, the life cycle of the tomcat container is advanced by annotating load-start.
[0020] Optionally, when the Javaweb module interacts with the contract generation module, a java file is generated by one-click through WEBASE, and then the IP address of the connection server is changed.
[0021] Optionally, the aviation business travel intelligent settlement system further includes: a view beautification module;
[0022] The view beautification module is used for beautification using mdui plug-in, bootstrap plug-in and sweetalert plug-in.
[0023] Optionally, the blockchain is an aviation enterprise alliance chain.
[0024] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0025] This application provides an intelligent settlement system for aviation business travel, which generates a bill hash value by submitting a file (consumption bill), transmitting it through the settlement platform and storing it in the IPFS distributed storage platform, and uploading the bill in ciphertext to the aviation enterprise alliance chain (based on FISCO BCOS) after signing. When the user's company needs to settle the bill, it logs in to the settlement platform, downloads the corresponding bill, and performs signature verification. After the verification is passed, the bill content is verified and a unified settlement is performed; this application calls the JAVA SDK interface to realize file storage, search and download; the IPFS distributed storage platform is used to realize the conversion of bill data to hash values, form storage evidence, and save space on the chain; and the JAVA SDK interface is used to call the contract on the blockchain to transfer the storage evidence to the chain to realize evidence storage. This application uses the trusted accounting mechanism of the blockchain to design the IPFS distributed storage platform and the blockchain platform for consumption accounting, ensuring that passenger data is securely stored, reasonably shared and efficiently accessed, and realizing easy and convenient business travel booking and rapid reimbursement to lay the platform foundation and technical support. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 This is a schematic diagram of the structure of an aviation business travel intelligent settlement system in one embodiment of the present application;
[0028] Figure 2 Schematic diagram of the design framework for the contract generation module;
[0029] Figure 3 This is a schematic diagram of the upload process;
[0030] Figure 4 This is a schematic diagram of the download process;
[0031] Figure 5 This is a technical framework diagram of an aviation business travel intelligent settlement system in one embodiment of the present application; DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0033] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0034] In an exemplary embodiment, Figure 1 As shown, an aviation business travel intelligent settlement system is provided, which includes: a user login module, an IPFS distributed storage platform, a contract generation module, a Javaweb module and a digital signature module;
[0035] The user login module is used to generate a user account and a corresponding contract address according to user information, and to generate a private key and a public key;
[0036] The IPFS distributed storage platform is connected to the user login module; the IPFS distributed storage platform is used to store the files uploaded by the contract address and generate the corresponding hash value and obtain the corresponding file through the hash value; the IPFS distributed storage platform realizes the direct storage of files and generates evidence in the form of hash value, realizing the first layer of security protection for files. The evidence information stored on the IPFS distributed storage platform is in text form and small in size, so it can be accepted by the contract and stored in the WeBank blockchain in the form of variables, which greatly saves space on the chain.
[0037] The digital signature module is used to encrypt the hash value using the private key corresponding to the user and the RSA signature algorithm;
[0038] The contract generation module is deployed on the blockchain and is used to generate a storefile contract and a getfile contract; the storefile contract is used to store the encrypted hash value on the blockchain; the getfile contract is used to obtain the encrypted hash value from the blockchain; the design framework of the contract generation module is as follows Figure 2 shown.
[0039] The Storefile contract provides two parameters, the first one is used to receive the dictionary key, and the second parameter is used to store the value corresponding to the key, that is, the real hash value. When you need to retrieve the hash value of a file, you can enter the file name and call the getfile contract to get the hash value from the chain.
[0040] The Javaweb module is used to use the JAVA SDK interface to call the contract generated by the contract generation module to realize the uplink and downlink of the encrypted hash value.
[0041] When registering a user, the user login module enters the user name once and the same password twice. The user login module will automatically generate a pair of key pairs for encryption and decryption in the background. After entering the user name, password and authentication identity in the user login module, you can enter the upload and download interface.
[0042] After the user successfully registers, a contract address is generated to upload files. When uploading files, enter the name of the file and you can get the corresponding file through the contract address.
[0043] For the same user, after uploading the consumption bill, the deployment of the contract address has been completed. When uploading again, the file can be uploaded through the deployed contract address, which will increase the speed by about 50% compared to the first upload.
[0044] When downloading a consumption bill, first enter the name of the uploaded file, then copy the file address from the upper right corner of the front-end interface and obtain it through the contract address.
[0045] The file name, contract address information and other contents will be submitted to the blockchain through the Javaweb module.
[0046] The user login module is deployed on the front-end interface; the front-end interface connects to the IPFS distributed storage platform by viewing the interface document of ipfs-http-client and creating IPFS objects; the front-end interface connects to the Javaweb module in a plug-in manner. The English IPFS distributed storage platform requires asynchronous calls, so asynchronous calls are used.
[0047] The plug-in method is the $.ajax of the jQuery plug-in; in order to improve the security level, the input method selects the post transmission method.
[0048] The contract generation module also includes a mapping unit (similar to a python dictionary); the mapping unit is used to store different files. When the user enters different file names, different hash values will be stored on the blockchain, so the user can use different file names to retrieve files.
[0049] The Javaweb module is also connected to a database; the database is used to store public keys;
[0050] The Javaweb module uses prepareStatement to execute database sql statements.
[0051] The Javaweb module is used to interact with the front-end interface / database / contract to realize the interaction between the front-end interface and the blockchain, and then realize the operations of uploading files (storefile contract) and downloading files (getfile contract).
[0052] 1) Interact with the front-end interface, use the httpServlet class that comes with tomcat, an inherited httpServlet class, and then call the dopost and doget methods, and use the req parameter to receive parameters. Use the repsonse parameter to send the json format data type to the front-end interface.
[0053] 2) To interact with the database, use the mysql.jar package to first connect to the database, and then use prepareStatement to execute the database sql statement. In order to make the data stored in the database more secure, the md5 encryption strategy is implemented when inserting the password.
[0054] The fields of the database include username, password, public_key and private_key, where username is the primary key and is unique. When a user registers, a pair of public and private keys are automatically generated for digital signature and verification.
[0055] 3) To interact with the contract, use the one-click generated java file on WEBASE, and then change the ip of the connected server so that it can read the file content and connect to the corresponding server when initializing the sdk. To use WEBASE to automatically generate java project files, you need to use the above function to directly convert the called contract into the contract method of the java file to achieve the purpose of interacting with the contract.
[0056] The specific operation process is as follows: the front-end interface interacts with ipfs to obtain the hash value, and uses the private key of the digital signature module to sign. The generated encrypted hash value is stored on the chain by calling the storefile method of the contract. When the user obtains the file, the public key stored in the database is first called to obtain the data from the chain, and the data is decrypted using the decryption algorithm to generate a new link. After clicking the link, the corresponding file will appear. The upload process and download process are as follows: Figure 3 and Figure 4 shown.
[0057] like Figure 5 As shown, the technical framework is divided into three levels. In the interface display layer, users can interact with the browser of the front-end interface, and different permissions of users are displayed according to their different identities. Users need to submit their real identities and obtain corresponding permissions after authentication.
[0058] At the business logic layer, users follow the travel booking and settlement process. For example, after passing identity authentication, individual users can perform consumption records, bill inquiries, uploads, and downloads; corporate users can perform offline unified settlements based on search bills. The alliance chain platform provides users with the function of uploading and downloading data. Both individual users and corporate users can download encrypted evidence information from the chain.
[0059] At the data access layer, this application connects the browser, IPFS server, and FISCO alliance chain system, and realizes file storage, search, and download by calling the JAVASDK interface.
[0060] Specifically, users upload their consumption bills to the IPFS distributed storage platform through the settlement platform, convert the bills into hash values, perform distributed storage and sign (RSA signature); then use the JAVA SDK to call the contract in the FISCO BCOS blockchain to achieve the uplink and downlink of the hash value. Among them, the IPFS distributed storage platform mainly includes two functions: one is to realize the conversion of bill data into hash values, form storage evidence, and save space on the chain; the other is to use the JAVA SDK to call the FISCO BCOS blockchain, transfer the storage evidence to the chain, and realize evidence storage.
[0061] In a specific embodiment, the aviation business travel intelligent settlement system further includes: a view beautification module;
[0062] The view beautification module is used for beautification using mdui plug-in, bootstrap plug-in and sweetalert plug-in.
[0063] (1) Use mdui plug-in to achieve beautification effect;
[0064] (2) Use the bootstrap plug-in to create a drop-down menu effect and a portrait effect;
[0065] (3) Use the sweetalert plug-in to beautify the prompt box.
[0066] When the Javaweb module is deployed using a tomcat container, the life cycle of the tomcat container is advanced by annotating load-start, so that the SDK is loaded first when the project is initialized, and then the blockchain's depart method is called, which greatly improves the speed.
[0067] This application has achieved unexpected results in many aspects, such as:
[0068] From a technical perspective: (1) Strong system compatibility: Connecting to the IPFS distributed storage platform, the WeBank chain can be integrated with the mainstream distributed storage network, laying the foundation for future community ecological transplantation. (2) Saving on-chain space: The evidence information on the IPFS distributed storage platform is in text form and has a small volume, so it can be accepted by smart contracts and stored in the WeBank blockchain in the form of variables (hash values), greatly saving on-chain space.
[0069] From a business perspective: (1) Improve settlement efficiency: Each business consumption bill of passengers only needs to be signed, and no actual payment is required. It will be settled by the company, which greatly improves the travel experience and settlement efficiency of passengers. After testing, the time for data to be uploaded and downloaded from the chain is only in milliseconds, as shown below. It has obvious advantages in the time for large text data to be uploaded and downloaded from the chain. For any form of text, it will first be converted into a hash value through the IPFS distributed storage platform, which takes up very little bandwidth. (2) Improve security level: Support the traceability of each bill, and ensure the authenticity and immutability of consumption information through digital signatures (implemented using the RSA algorithm).
[0070] In summary, this application uses hash algorithm and RSA encryption algorithm to make the settlement system have dual security performance. And by connecting to the IPFS distributed storage platform, the platform compatibility is improved, and the integration of WeChain and mainstream distributed storage networks is realized, laying the foundation for future community ecological transplantation. This solution can provide technical support in the field of smart settlement of aviation and business travel, and has certain commercial value.
[0071] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0072] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. An intelligent settlement system for air travel, characterized in that: The aviation business travel intelligent settlement system includes: a user login module, an IPFS distributed storage platform, a contract generation module, a Javaweb module and a digital signature module; The user login module is used to generate a user account and a corresponding contract address according to user information, and to generate a private key and a public key; The IPFS distributed storage platform is connected to the user login module; the IPFS distributed storage platform is used to store the files uploaded by the contract address and generate the corresponding hash value and obtain the corresponding file through the hash value; The digital signature module is used to encrypt the hash value using the private key corresponding to the user and the RSA signature algorithm; The contract generation module is deployed on the blockchain and is used to generate a storefile contract and a getfile contract; the storefile contract is used to store the encrypted hash value on the blockchain; the getfile contract is used to obtain the encrypted hash value from the blockchain; The Javaweb module is used to use the JAVA SDK interface to call the contract generated by the contract generation module to realize the uplink and downlink of the encrypted hash value.
2. The air travel intelligent settlement system according to claim 1, characterized in that: The user login module is deployed on the front-end interface; the front-end interface connects to the IPFS distributed storage platform by viewing the interface document of ipfs-http-client and creating IPFS objects; the front-end interface connects to the Javaweb module in a plug-in manner.
3. The air travel intelligent settlement system according to claim 2, characterized in that: The plug-in method is the $.ajax of the jquery plug-in.
4. The air travel intelligent settlement system according to claim 1, characterized in that: The contract generation module also includes a mapping unit; the mapping unit is used to store different files.
5. The air travel intelligent settlement system according to claim 1, characterized in that: The Javaweb module is also connected to a database; the database is used to store public keys; The Javaweb module uses prepareStatement to execute database sql statements.
6. The air travel intelligent settlement system according to claim 5, characterized in that: The fields of the database include: username, password, public_key and private_key.
7. The air travel intelligent settlement system according to claim 1, characterized in that: When the Javaweb module is deployed using a tomcat container, the life cycle of the tomcat container is advanced by annotating load-start.
8. The air travel intelligent settlement system according to claim 1, characterized in that: When the Javaweb module interacts with the contract generation module, the java file is generated by one click through WEBASE, and then the IP address of the connection server is changed.
9. The air travel intelligent settlement system according to claim 1, characterized in that: The aviation business travel intelligent settlement system further includes: a view beautification module; The view beautification module is used for beautification using mdui plug-in, bootstrap plug-in and sweetalert plug-in.
10. The air travel intelligent settlement system according to any one of claims 1 to 9, characterized in that: The blockchain is an aviation enterprise alliance chain.