CN117372019A - Civil aviation airport settlement system and method based on blockchain platform alliance chain - Google Patents
Civil aviation airport settlement system and method based on blockchain platform alliance chain Download PDFInfo
- Publication number
- CN117372019A CN117372019A CN202311629203.2A CN202311629203A CN117372019A CN 117372019 A CN117372019 A CN 117372019A CN 202311629203 A CN202311629203 A CN 202311629203A CN 117372019 A CN117372019 A CN 117372019A
- Authority
- CN
- China
- Prior art keywords
- information
- data
- settlement
- alliance chain
- civil aviation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000005516 engineering process Methods 0.000 claims abstract description 21
- 238000012550 audit Methods 0.000 claims abstract description 6
- 239000010410 layer Substances 0.000 claims description 113
- 230000006870 function Effects 0.000 claims description 33
- 230000008569 process Effects 0.000 claims description 29
- 238000007726 management method Methods 0.000 claims description 22
- 238000013507 mapping Methods 0.000 claims description 20
- 238000012545 processing Methods 0.000 claims description 15
- 238000003860 storage Methods 0.000 claims description 14
- 238000004422 calculation algorithm Methods 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 10
- 238000013475 authorization Methods 0.000 claims description 8
- 238000012790 confirmation Methods 0.000 claims description 7
- 239000012792 core layer Substances 0.000 claims description 7
- 230000007246 mechanism Effects 0.000 claims description 7
- 230000003993 interaction Effects 0.000 claims description 6
- 230000001360 synchronised effect Effects 0.000 claims description 6
- 238000013515 script Methods 0.000 claims description 5
- 238000012795 verification Methods 0.000 claims description 5
- 230000002452 interceptive effect Effects 0.000 claims description 4
- 238000012986 modification Methods 0.000 claims description 4
- 230000004048 modification Effects 0.000 claims description 4
- 230000001960 triggered effect Effects 0.000 claims description 4
- 230000009471 action Effects 0.000 claims description 3
- 238000007792 addition Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 claims description 3
- 238000012217 deletion Methods 0.000 claims description 3
- 230000037430 deletion Effects 0.000 claims description 3
- 230000010365 information processing Effects 0.000 claims description 3
- 238000004806 packaging method and process Methods 0.000 claims description 3
- 238000011161 development Methods 0.000 abstract description 7
- 230000006872 improvement Effects 0.000 abstract description 3
- 238000012544 monitoring process Methods 0.000 abstract description 2
- 238000004590 computer program Methods 0.000 description 9
- 230000008901 benefit Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 230000001976 improved effect Effects 0.000 description 3
- 230000008520 organization Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 238000007639 printing Methods 0.000 description 2
- 238000012827 research and development Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical group [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000005304 joining Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000013439 planning Methods 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000007634 remodeling Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3827—Use of message hashing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
- G06F16/2255—Hash tables
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2471—Distributed queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- Mathematical Physics (AREA)
- Probability & Statistics with Applications (AREA)
- Fuzzy Systems (AREA)
- Computational Linguistics (AREA)
- General Business, Economics & Management (AREA)
- Finance (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention belongs to the technical field of civil aviation settlement, and discloses a civil aviation airport settlement system and method based on a block chain platform alliance chain. The system adopts a multicentric permission type network alliance chain, takes data providers of airlines, airports, flight flows and passenger flows as block chain nodes, constructs alliance chains of airlines, airports, civil aviation office operation monitoring centers, air traffic control data centers, aviation settlement finite responsibility companies, civil aviation settlement centers, civil aviation big data centers, third party platforms and financial institution nodes, and specifically comprises the following components from bottom to top: a data access layer, a data service layer and an application layer. According to the industrial characteristics of the civil aviation industry and the actual requirements of the civil aviation settlement service, the invention combines the basic principle of the blockchain and the industrial development, applies the FISCO BCOS alliance chain technology to the civil aviation settlement service, realizes the improvement of the efficiency of the civil aviation airport settlement, shortens the account period, simplifies the flow, effectively audits and reduces the cost.
Description
Technical Field
The invention belongs to the technical field of civil aviation settlement, and particularly relates to a civil aviation airport settlement system and method based on a block chain platform alliance chain.
Background
In recent years, the throughput of civil aviation passengers is greatly increased, the airport scale is continuously enlarged, the complexity of service organization is continuously increased, and higher requirements are put on the informatization capability of the whole civil aviation industry. Therefore, constructing an airport group to form the cooperative coordination and data sharing of airports, air enterprises, air pipes, various security departments and joint inspection units, obtaining the overall efficient coordination of civil aviation operation becomes a key for accelerating the intelligent construction of the airports. Blockchains have been infiltrated into applications in all industries as independent technology stacks that integrate cryptographic principles, peer-to-peer networks, consensus mechanisms, and distributed storage.
The civil aviation industry has the characteristics of strong systematicness, more participation in cooperative bodies, large data volume, long service chain and the like, and accords with the characteristics of research and development of the blockchain technology. Therefore, the digital economy is actively developed, global overall planning is promoted by means of a good informatization basis, the international speaking right and rule making right of civil aviation are promoted in the field of block chain technology and industrial innovation development, and the method is the direction of effort in the current and future quite long time of the civil aviation industry.
Furthermore, the settlement of civil aviation main service mainly has three settlement modes, namely self settlement, settlement through a civil aviation bureau clearing center and settlement through a China aviation settlement limited responsibility company. Self-settlement is the most common settlement mode, settlement work is carried out by contractors according to contracts, and aviation industry generally takes service side/provider provided bills and service/handover ticket attachments as main components, and independent settlement is carried out according to contracts.
The settlement is carried out through the civil aviation bureau clearing center, and the main responsibility of the civil aviation bureau clearing center is to provide fund clearing service for civil aviation fund, administrative public utility charge, air traffic control charge and airport service charge, for example, in the settlement link of an airport and an airline company, the self-settlement is adopted under the condition of one-to-many due to the large number of the airlines, so that the airport can provide relevant bill to the China civil aviation bureau clearing center, the civil aviation bureau clearing center and the airline company carry out settlement and pay a certain proportion of commission, and meanwhile, a financial institution is introduced to provide receivables financing service.
The settlement is carried out by the aviation settlement limited liability company, and the Chinese aviation settlement limited liability company is mainly used for financial settlement and proxy settlement of domestic and foreign aviation passenger and cargo transportation, ground service, aviation oil, machine service, aviation transportation extension service and non-trade foreign exchange balance. Because the middle airline letters are responsible for the distribution link of the air tickets, related information is mastered, and if the airlines have interaction conditions such as passenger interchange, the airlines can be settled through the China aviation settlement limited liability company and pay a certain commission.
The settlement business of civil aviation plays a crucial role in the overall operation of the civil aviation, but there are a plurality of problems in the settlement business between airports and aviators and between aviators and aviators. Firstly, the efficiency is low, the settlement business volume is large, various documents are more, the business data is complex, a large amount of data still needs manual intervention processing, and the printing of various documents, the manual intervention processing and other factors also intangibly increase the economic cost in the settlement process. The unit for providing the upper month asking for money in the first three days of the month is very few in the industry; secondly, the settlement service has long chain, from the initiation approval of the money requesting party to the approval of the paying party, and then to the final settlement, the number of the process loops is large, the processing time of each link is long, and the account period agreed by the contract is added, so that the whole settlement period is as long as three months or even half a year. The sharing degree of the data of each party is low, the partial data is imperfect, and the problems of low credibility, difficult disputes and the like are also unavoidable. In addition, after the civil aviation charging price is released, higher requirements are also provided for a flexible settlement mode while more space is provided for price adjustment and market guidance.
The current civil aviation settlement process has the problems of low efficiency, long account period, complicated flow, more disputes in the settlement process, less financing channels of small and medium-sized enterprises, high cost and the like.
Disclosure of Invention
In order to overcome the problems in the related art, the disclosed embodiments of the invention provide a civil aviation airport settlement system and method based on a blockchain platform alliance chain. In particular to a system for charging and settling the aircrafts of civil airports by using a FISCO BCOS (FISCO BCOS (Be Credit, open & Secure) which is a domestic Open source and has the leading advantages of safety, controllability, stability, easiness in use, high performance and the like, namely a block chain bottom layer platform) alliance chain technology. The invention aims to integrate civil aviation settlement business into a blockchain technology, improve the civil aviation settlement efficiency and reduce the cost, and simultaneously provide more and updated derivative financial products and services to contribute to the development of civil aviation.
The technical scheme is as follows: the utility model provides a civil aviation airport settlement system based on blockchain platform alliance chain, this system adopts multicentric permission formula network alliance chain, regard data provider of airline, airport, flight stream, passenger flow as the blockchain node, constitute the alliance chain of airline, airport, civil aviation office operation monitoring center, air traffic control data center, civil aviation settlement center, civil aviation big data center, third party platform, financial institution node, this system includes from bottom to top specifically: a data access layer, a data service layer and an application layer;
The data access layer is used for completing the task of acquiring fund flow, information flow, flight flow and business flow information and uploading the information to the data service layer;
the data service layer comprises a cloud service layer and a alliance chain service layer, and is formed by adopting a FISCO BCOS blockchain and a dream database for storing query fields and transaction value mapping; the flight information, the luggage information, the user information, the merchant information and the intelligent contract are stored in a blockchain, and the mapping relation between the query field of the data information and the transaction hash value is stored in a dream database; when inquiring, the corresponding hash value is searched in the dream database according to the inquiring condition, and then the corresponding data is searched in the blockchain according to the hash value, so that the efficiency and instantaneity of the civil aviation business transaction inquiring are met;
the application layer is used for providing an interactive interface for a user, so that the user can use the service provided by the cloud service layer and the cloud service layer to conduct data interaction.
Further, in the data access layer, the flight flow is service charges generated when the aircraft completes the flight task, including aviation service charges and non-aviation service charges, wherein the aviation service charges include take-off and landing charges, stop charges, passenger bridge charges, passenger service charges and security check charges, and the non-aviation service charges include first class cabin charges, public service cabin lease charges, office service lease charges, ticket counter lease charges, cabinet counter lease charges and ground service charges;
Further, in the data access layer, data uploading inputs data information through a front-end operation interface, an intelligent contract address service interface is called, and according to the geographic position of a user, the data is uploaded to a block chain node where the user is located by utilizing an ICP/IP network protocol, so that uploading of business data to a alliance chain is completed.
Further, in the data service layer, flight information, luggage information, user information, merchant information and intelligent contracts are stored in a blockchain, the mapping relation between query fields of data information and transaction hash values is stored in a dream database, when a user executes one-time check of all data or query data, a background searches corresponding transaction hash values in the dream database according to the query fields, an index of the query fields is established in the dream database, and corresponding data of corresponding transactions are searched in the blockchain according to the transaction hash values and displayed;
the method comprises the steps that a storage function of data is pre-configured in a blockchain intelligent contract, when the data is uploaded to the blockchain, an API calls the corresponding storage function in the intelligent contract, data objects are packaged and transacted, a data hash algorithm is used for encrypting the data objects into a 16-system random sequence, and then the transacted is broadcasted in the whole blockchain network; after the nodes of the whole network airport and the navigation department agree on the transaction, the block packed with the transaction is accessed into the block chain of each node.
Further, the alliance chain service layer is used for providing alliance chain transaction service to the outside and maintaining alliance chain account book data to the inside; the alliance chain network layer consists of a plurality of alliance chain nodes, each alliance chain node submits a transaction to a transaction pool, a transaction packaging thread in the consensus module is responsible for taking the transaction from the transaction pool, and the transaction is packaged based on the highest block of the nodes to generate a new block; the consensus module receives a new block from a local or through a network, completes a consensus process according to a received consensus message packet, finally writes the new block which achieves consensus into a block chain, and deletes the uplink transaction from a transaction pool after the block is uplink; the PBFT consensus algorithm realized in the FISCO BCOS block chain is selected to be used as a consensus mechanism, data in the alliance chain is synchronized into a distributed cluster formed by a plurality of alliance chain nodes under the action of the consensus mechanism, and an alliance chain service layer realizes the addition, deletion and modification of the data in the alliance chain through an intelligent contract and provides an interface for a cloud service layer to call the intelligent contract so as to realize the safe operation of the alliance chain data.
Further, the cloud service layer provides cloud services, wherein the cloud services comprise external account management and intelligent contract calling services; the cloud service provides an API interface for the application layer and processes the Https request from the application layer; meanwhile, the cloud service layer directly interacts with the alliance chain service layer, and the cloud service layer invokes an intelligent contract to realize business logic through an alliance chain interface;
The processing of Https requests from the application layer includes: the client accesses the API interface of the server, calls the corresponding API interface according to different request types of the client, and accesses the server;
the intelligent contract is based on trusted and non-tamperable data, and can automatically execute certain predefined rules and terms; the intelligent combination is divided into: flight information management intelligent contracts, airport information intelligent contracts, airline information intelligent contracts, aircraft information intelligent contracts, contract information intelligent contracts, bill information intelligent contracts, and funds information intelligent contracts;
the invoking the intelligent contract to implement business logic includes:
(1) Predefining contracts, contract terms being commonly contracted by all coalition members participating in the settlement business;
(2) Triggering contracts, and executing transactions when information is received and conditions are met;
(3) Generating a bill, wherein on the premise of meeting the conditions, the intelligent contract is automatically triggered, and the generation of a fee bill is carried out according to contract terms according to the collected alliance node information;
(4) After the fee bill is generated, the two parties carry out-of-chain transaction, the in-chain bill data is bound with an out-of-chain settlement instruction, and a third party is introduced to complete the settlement transaction.
Further, in the data service layer, the FISCO BCOS blockchain includes:
base layer: providing a basic data structure and an algorithm library of a block chain;
core layer: the core logic of the block chain is realized, and the core layer realizes the chain data structure of the block chain, the transaction execution engine, the storage drive and the communication among nodes;
management layer: realizing the management function of the blockchain, including parameter configuration, account book management and AMOP;
interface layer: and the block chain user is oriented, and an RPC interface and an SDK of various protocols are provided.
Another object of the present invention is to provide a civil aviation airport settlement method based on a blockchain platform alliance chain, the method is implemented by applying the civil aviation airport settlement system based on the blockchain platform alliance chain, the method includes:
s1, deploying an intelligent contract in a alliance chain by writing an intelligent contract code to generate an intelligent contract calling address, wherein the alliance chain stores service data of civil aviation settlement; the user invokes an intelligent contract address service interface through the cloud service layer to operate the business data of civil aviation settlement in the alliance chain, and finally, the business data is reflected to a front-end user operation page; the intelligent contracts include flight information management intelligent contracts, airport information intelligent contracts, airline information intelligent contracts, airplane information intelligent contracts, contract information intelligent contracts, bill information intelligent contracts, and fund information intelligent contracts;
S2, when the user accesses alliance chain data through the intelligent contract, the access control of intelligent contract authority of civil aviation settlement business data is carried out according to node role access authority and the intelligent contract; the nodes comprise a main node, a secondary node and a common node; each node has different rights to access the intelligent contract;
s3, based on intelligent contract authority access control results of civil aviation settlement service data, airport group service data information processing is conducted through information uplink and service data query.
In step S1, intelligent contracts which correspondingly meet different applications are designed for different users; smart contracts for different applications include:
the intelligent contract for managing the flight information records the incoming and outgoing information, the departure time, the stop time, the bridge time, the luggage number, the passenger number, the starting station, the destination station, the flight model, the machine number and the airline company information of the flight;
an airport information intelligent contract records three character codes, regional attributes and Chinese and English short information of an airport;
an aviation department information intelligent contract records two codes, regional attributes, chinese and English abbreviations and aviation branch company codes and names of aviation departments;
an airplane information intelligent contract records airplane model, airplane number, affiliated airlines, take-off weight, industry load and seat number information;
Contract information intelligent contracts record charging rules and calculation parameters of aviation business charging and non-aviation business charging specified by civil aviation bureau, and simultaneously record charging items and calculation parameters signed by airports and aviation drivers;
the intelligent contract of the bill information records the bill information after the airport airline company passes the audit;
and (3) a fund information intelligent contract, which records fund accounts and account entering and exiting information of the avionics and the airport opened at a third-party financial institution.
In step S2, the master node of the entire civil aviation settlement alliance chain is a data provider, has a full data file, and alliance members who do not want to participate in or need to participate in full data synchronization are taken as secondary nodes, only block chain data related to the members are synchronized, and a third party financial institution is taken as a common node only and is limited to checking related bills; the master node or the appointed node with better calculation capability is used as a billing person, and according to actual operation data generated in the whole process of taking off and landing the flight, an intelligent contract is matched to carry out a clear-after-flight mode to form a settlement instant confirmation and write-in block; in the block generation process, a main node packages and broadcasts a plurality of flight information, and nodes which have high-performance computing technology and can meet the requirements and efficiency of airport financial settlement data quantity are regarded as nodes with better computing capability; after receiving the broadcast block information of the main node, the node with better computing capability selects the PBFT consensus algorithm in the FISCO BCOS block chain for consensus confirmation; writing into a block chain to form a new block; the new block continuously receives common verification of other nodes in the whole network broadcasting process, and after the continuous quantity is confirmed, the whole network node determines whether to synchronize the block according to respective requirements;
Related institution nodes serving as common nodes are added to a alliance chain network through permission authorization, and the functions of reading and writing account books of all the institution nodes are managed and controlled by using account book authorities or legal identity certificates, so that once the account books are successfully written, the account books cannot be tampered; highly encrypting all account book data on a alliance chain, wherein the account book data is only limited to the view of alliance members, and the data is obtained by decrypting through authorization when the alliance members reading other node data;
in step S3, the information uplink includes: the users of the primary node and the secondary node perform information uplink; the common node user only carries out the uplink of fund information; after the server side interface script receives the uplink information, a corresponding intelligent contract and a contract function are called, and the data information is packaged into a transaction object and uploaded into a blockchain;
the service data query includes: airport, airline users query flight information, airport information, airline information, aircraft information, contract information, billing information, funds information stored in the blockchain; if the user inquiry information firstly stores the mapping relation between the inquiry field and the transaction hash value in the dream database, firstly, acquiring the corresponding transaction hash value from the dream database according to the inquiry field, and then calling intelligent contracts and contract functions to inquire the corresponding transaction by taking the hash value as a parameter; if the mapping relation is not stored in the dream database, the intelligent contract and the contract function are called by taking the query field as parameters to query the corresponding hash value, and then the contract function is called to query the corresponding transaction according to the hash value.
By combining all the technical schemes, the invention has the advantages and positive effects that: according to the industrial characteristics of the civil aviation industry and the actual requirements of the civil aviation settlement service, the invention combines the basic principle of the blockchain and the industrial development, applies the FISCO BCOS alliance chain technology to the civil aviation settlement service, and achieves the effects of improving the efficiency of the civil aviation airport settlement, shortening the account period, simplifying the flow, checking efficiently, reducing the cost and the like.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure;
FIG. 1 is a schematic diagram of a structure of a FISCO BCOS provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of a civil airport settlement system based on a blockchain platform alliance chain provided by an embodiment of the invention;
fig. 3 is a schematic diagram of a data flow of a data access layer according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a data service layer according to an embodiment of the present invention;
FIG. 5 is a flowchart of a civil aviation airport settlement method based on a blockchain platform alliance chain provided by an embodiment of the invention;
fig. 6 is a contract affiliation chart provided by an embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the invention will be readily understood, a more particular description of the invention will be rendered by reference to the appended drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. The invention may be embodied in many other forms than described herein and similarly modified by those skilled in the art without departing from the spirit or scope of the invention, which is therefore not limited to the specific embodiments disclosed below.
The civil aviation airport settlement system and method based on the block chain platform alliance chain provided by the embodiment of the invention have the innovation points that:
in embodiment 1, based on technical characteristics and advantages of a blockchain and requirements of civil aviation airport settlement service, the invention provides the civil aviation airport settlement system based on the blockchain platform alliance chain, namely the civil aviation airport settlement system based on the FISCO BCOS alliance chain, which is provided by the embodiment, and provides various data services and service applications for airports and airlines, such as user management, flight management, airplane management, bill generation, bill audit and the like, by combining intelligent contracts, and data uplink is used for guaranteeing reliable sharing and synergy of block link point data. The method has the advantages of improving efficiency of settlement of civil aviation airports, shortening account period, simplifying flow, efficiently auditing, reducing cost and the like.
The civil aviation airport settlement system of the FISCO BCOS alliance chain takes financial business practices as reference samples for a financial blockchain cooperation alliance source-opening work group, performs module upgrading and function remodeling on the basis of a BCOS source-opening platform, and is a safe and controllable deeply customized blockchain bottom layer platform which is suitable for the financial industry and is completely source-opening.
Blockchain (blockchain) is a distributed database system that is engaged by multiple independent nodes, also known as a distributed book (distributed ledger technology, DLT for short), that is commonly maintained by these nodes. The method is characterized in that the method is difficult to tamper, difficult to forge and traceable, the blockchain records all information of transaction, the process is efficient and transparent, and the data is high in safety. The blockchain technique can be applied to all application fields requiring fairness, fairness and honest.
Blockchains are classified into public chains, private chains and alliance chains in categories, with the core difference being the degree of openness of the access rights. The public chain nodes are opened to anyone, and the public chain nodes are characterized by high decentralization, high safety, low transaction efficiency, transparent data disclosure and inapplicability to a large number of public-to-public data privacy processing services. The alliance chain is only limited to participation of authorized alliance members, and the data processing speed is faster than that of a public chain, but the data processing speed is not completely decentralised, the alliance chain essentially belongs to a private chain, and only the authority design requirement is more complex and more credible. Therefore, the multicentric licensed network alliance chain takes advantages of public chains and private chains into consideration, has the characteristics of high performance, multicentric property, safety, reliability and the like, and is more suitable for application scenes of settlement business of civil aviation industry.
In order to accelerate the research and development of the alliance chain bottom technology, the technology accords with the autonomous and controllable strategy of China, promotes the application of the blockchain to the ground in various industries, is condensed in the technical field of the blockchain, improves the Chinese strength, and is created by the alliance chain bottom technology platform FISCO BCOS constructed by the gold chain alliance. The structure of the FISCO BCOS is shown in FIG. 1. On the whole architecture, the fsco BCOS is divided into a base layer, a core layer, a management layer and an interface layer.
Base layer: a base data structure and algorithm library for a blockchain is provided.
Core layer: the core logic of the blockchain is realized, and the core layer realizes the chain data structure of the blockchain, the transaction execution engine, the storage drive and the communication among nodes.
Management layer: and the management function of the blockchain is realized, including parameter configuration, account book management and AMOP.
Interface layer: and the block chain user is oriented, and an RPC interface and an SDK of various protocols are provided. The FISCO BCOS is based on a clear modular design, enabling blockchain developers to implement specific applications faster and to bring the application into practical industrial use. Therefore, the invention selects the FISCO BCOS alliance chain technology as the underlying foundation of the alliance chain for development and implementation.
The civil aviation airport settlement system based on the block chain platform alliance chain provided by the embodiment of the invention adopts a multicentric permission type network alliance chain, takes data providers of airlines, airports, flight streams and passenger streams as block chain nodes, and constructs alliance chains of nodes of airlines, airports, civil aviation office operation monitoring centers, empty pipe data centers, china aviation settlement finite liability companies, civil aviation settlement centers, civil aviation large data centers, third party platforms, financial institutions and the like. As shown in fig. 2, the system architecture is divided into, from bottom to top: the system comprises a data access layer, a data service layer and an application layer, wherein the data service layer is divided into a cloud service layer and a alliance chain service layer.
The data access layer is used for completing the task of acquiring fund flow, information flow, flight flow and business flow information and uploading the information to the data service layer;
the data service layer is formed by adopting a FISCO BCOS blockchain and a dream database for storing query fields and transaction value mapping; flight information, baggage information, user information, merchant information, and intelligent contracts are stored in a blockchain; the mapping relation between the query field of the data information and the transaction hash value thereof is stored in a dream database; when inquiring, firstly, the corresponding hash value is searched in the dream database according to the inquiring condition, and then the corresponding data is searched in the blockchain according to the hash value, so that the efficiency and instantaneity of the civil aviation business transaction inquiring are met;
the application layer is used for providing an interactive interface for a user, so that the user can use the service provided by the cloud service layer and the cloud service layer to conduct data interaction.
Illustratively, the data access layer essentially accomplishes the task of obtaining and uploading information of funds flows, information flows, flight flows (passenger and goods mail), business flows, and the like to the data services layer. The flight flow is the core of the current settlement business, and surrounds various service fees generated by completing a flight task of an airplane, such as a series of fees of aviation business fees (taking off and landing fees, stop fees, bridge fees, passenger service fees, security check fees) and non-aviation business fees (first class cabins, business class cabins, office service rentals, ticket counter rentals, cabinet counter rentals, ground service fees) and the like. As shown in fig. 3, the data uploading may input data information through the front-end operation interface, call the intelligent contract address service interface, and upload the data to the located blockchain node by using the ICP/IP network protocol according to the geographic location of the user, thereby completing the uploading of the service data to the alliance chain.
The data service layer, the block chain bottom data storage is stateless, and the required transaction hash value cannot be directly obtained from the block. The method for establishing mapping from the query field to the transaction hash value by adopting the intelligent contract requires multiple times of calling interface scripts to communicate with the blockchain, so that the efficiency is low, and the efficiency and instantaneity of transaction query cannot be met under the condition of high concurrent query of the civil aviation airport group. Therefore, the data service layer of the system is formed by adopting the FISCO BCOS blockchain and the dream database as the mapping, and the structure of the data service layer is shown in figure 4. Wherein the flight information, baggage information, user information, merchant information, and smart contracts are stored in a blockchain. The mapping relation between the query field of the data information and the transaction hash value is stored in the dream database. When the user executes one-time checking all data or inquiring data, the background will search the corresponding transaction hash value in the dream database according to the inquiring field, and then search the corresponding data of the corresponding transaction in the blockchain according to the transaction hash value and display. When data is uploaded to the blockchain, the API calls a storage function in the intelligent contract to encapsulate the data object into a transaction and encrypt the transaction into a 16-ary random sequence, and then broadcasts the transaction in the whole blockchain network. After the nodes of the whole network airport and the navigation department agree on the transaction, the block packed with the transaction is accessed into the block chain of each node.
The alliance chain service layer is used for providing alliance chain transaction service to the outside and maintaining alliance chain account book data to the inside. The federation chain network layer is made up of a plurality of federation link points. Under the action of a consensus mechanism, the data in the alliance chain is synchronized into a distributed cluster formed by a plurality of alliance chain nodes, and the alliance chain service layer realizes the addition, deletion and modification of the data in the alliance chain through an intelligent contract and provides an interface for the cloud service layer to call the intelligent contract, so that the security operation of the alliance chain data is realized. In the present application, the federation chain service layer is implemented using the FISCO BCOS federation chain technique.
The cloud service layer provides cloud services, and the cloud services comprise external account management and intelligent contract calling services. The cloud service layer plays a role of middleware in the application, namely, the cloud service provides an API interface for the application layer, the Https request from the application layer is processed, meanwhile, the cloud service layer directly interacts with the alliance chain service layer, and the cloud service layer invokes an intelligent contract through the alliance chain interface to realize business logic. In this way, the cloud service layer implements decoupling of the application layer and the federated chain service layer. This allows the user to mask the complexities of the federated chain service layer without requiring excessive additional learning when using federated chain-based applications.
Illustratively, the processing the Https request from the application layer includes: the client accesses the API interface of the server, calls the corresponding API interface according to different request types of the client, and accesses the server, for example: the client stores the flight information, calls an API interface corresponding to the flight information storage, and uploads the flight information to the server through the flight information storage interface;
the intelligent contract is based on trusted and non-tamperable data, and can automatically execute certain predefined rules and terms; the intelligent combination is divided into: flight information management intelligent contracts, airport information intelligent contracts, airline information intelligent contracts, aircraft information intelligent contracts, contract information intelligent contracts, bill information intelligent contracts, and funds information intelligent contracts;
the invoking the intelligent contract to implement business logic includes:
(1) Predefining contracts, contract terms being commonly contracted by all coalition members participating in the settlement business;
(2) Triggering contracts, and executing transactions when information is received and conditions are met;
(3) Generating a bill, wherein on the premise of meeting the conditions, the intelligent contract is automatically triggered, and the generation of a fee bill is carried out according to contract terms according to the collected alliance node information;
(4) After the fee bill is generated, the two parties can carry out-of-chain transaction, the in-chain bill data is bound with the out-of-chain settlement instruction, and a third party which is trusted and reliable is introduced to complete the settlement transaction; the user does not need excessive extra learning when using the application based on the alliance chain, the complexity of the alliance chain service layer is shielded, the uplink and the query of airport financial settlement data can be conveniently and rapidly realized only by using an API interface, and the alliance chain service layer does not need to be directly operated, so that the decoupling of the application layer and the alliance chain service layer is realized.
The application layer provides an interactive interface for a user, so that the user can better use the service provided by the cloud service layer, and the user can better perform data interaction with the cloud service layer.
According to the embodiment, the fund turnover efficiency can be improved by building the civil aviation settlement blockchain, and the credit radiation range of enterprises can be enlarged. Thereby realizing the aims of reducing financing risk, reducing financing cost and improving financing efficiency. And the settlement efficiency is improved, and quick benefits are obtained.
The invention is a big application of the FISCO BCOS alliance chain technology and the domestic dream database in civil aviation settlement business, which can realize the improvement of the efficiency of the civil aviation airport settlement, shorten the account period, simplify the flow, efficiently audit and reduce the cost.
After the technology based on the blockchain, the risk of the civil aviation settlement process is greatly reduced, the arrival of each settlement is known through the traceability characteristic of the blockchain, and the existence of the intelligent contract is added, so that the settlement bill becomes unique, highly reliable and effective.
Embodiment 2, as shown in fig. 5, the civil aviation airport settlement method based on the blockchain platform alliance chain provided by the embodiment of the invention includes:
s1, deploying an intelligent contract in a alliance chain by writing an intelligent contract code to generate an intelligent contract calling address, wherein the alliance chain stores service data of civil aviation settlement; the user invokes an intelligent contract address service interface through the cloud service layer to operate the business data of civil aviation settlement in the alliance chain, and finally, the business data is reflected to a front-end user operation page; the intelligent combination is divided into: flight information management intelligent contracts, airport information intelligent contracts, airline information intelligent contracts, aircraft information intelligent contracts, contract information intelligent contracts, bill information intelligent contracts, and funds information intelligent contracts;
wherein, the intelligent contract mainly comprises the following steps:
the contract is predefined, and the contract terms are commonly contracted by all alliance members participating in the settlement business.
Triggering the contract, and executing the transaction when the contract receives the information and meets the conditions.
And generating a bill, wherein on the premise that the condition is met, the intelligent contract is automatically triggered, and the generation of a cost bill is performed according to contract terms according to the collected alliance node information.
And (5) settling accounts of both parties. After the fee bill is generated, the two parties can carry out-of-chain transaction, the in-chain bill data is bound with the out-of-chain settlement instruction, and a third party which trusts each other reliably is introduced to complete the settlement transaction.
S2, when the user accesses alliance chain data through the intelligent contract, the access control of intelligent contract authority of civil aviation settlement business data is carried out according to node role access authority and the intelligent contract; the nodes comprise a main node, a secondary node and a common node; each node has different rights to access the intelligent contract;
s3, based on intelligent contract authority access control results of civil aviation settlement service data, airport group service data information processing is conducted through information uplink and service data query.
Illustratively, in step S1, service data of civil aviation settlement is stored in a federation chain, data in the federation chain network is operated by an intelligent contract in a federation chain application, an intelligent contract code is written, the intelligent contract is deployed in the federation chain to generate an intelligent contract call address, a user calls an intelligent contract address service interface through a cloud service layer to operate the data in the federation chain, and finally the operation is reflected to a front-end user operation page.
It can be understood that intelligent contracts are introduced to achieve the execution effect of promoting and verifying settlement two-party agreements, and the performance risk can be effectively managed and controlled. The intelligent contract can rapidly execute transactions, has high settlement efficiency, saves a great deal of labor cost, reduces the economic cost of the settlement process, has high transparency to all participants on terms and execution conditions of the intelligent contract, and solves the dispute problem. 7 smart contracts were designed for 7 users in the system to meet different applications. The contract affiliation is shown in figure 6.
The intelligent contract for managing the flight information mainly records the information of the incoming and outgoing port information, the departure time, the stop time, the bridge time, the luggage number, the passenger number, the starting station, the destination station, the flight model, the number of the aircraft, the airline company and the like of the flight.
The intelligent contract for airport information mainly records information such as three character codes, regional attributes, chinese and English abbreviations and the like of an airport.
The intelligent contracts of the aviation department information mainly record two codes of aviation department, regional attributes, chinese and English abbreviations, codes, names and the like of aviation branch companies.
The intelligent contract for airplane information mainly records information such as airplane model, airplane number, affiliated airlines, take-off weight, industry load, seat number and the like.
The contract information intelligent contract mainly records charging rules and calculation parameters of aviation business charging and non-aviation business charging specified by civil aviation bureau, and simultaneously records charging items and calculation parameters signed by airports and aviation drivers.
The bill information intelligent contract mainly records bill information after the airport airline is checked and passed before generation.
The intelligent contract of the fund information mainly records the fund account and account entering and exiting information of the avionics and the airport opened at the third-party financial institution.
For example, in step S2, when the user performs alliance chain data access through the intelligent contract, in order to ensure data access security, the access authority of the user needs to be verified, and in the present invention, three nodes, namely, a primary node, a secondary node and a common node are designed. Each node has different authorities for accessing the intelligent contract function, and in order to reduce the intelligent contract function which the user override access does not belong to, the invention designs the intelligent contract authority access control applied to civil aviation settlement service according to the node role access control and the intelligent contract.
In step S2, the master node of the entire civil aviation settlement alliance chain is a data provider, has a full-volume data file, and alliance members who do not want to participate in or need to participate in full-volume data synchronization are taken as secondary nodes, only block chain data related to the master node is synchronized, and a third-party financial institution is taken as a common node and is limited to checking related bills; the master node or the appointed node with better calculation capability is used as a billing person, and according to actual operation data generated in the whole process of taking off and landing the flight, an intelligent contract is matched to carry out a clear-after-flight mode to form a settlement instant confirmation and write-in block; in the block generation process, a main node packages and broadcasts a plurality of flight information, a node which has a high-performance computing technology and can meet the requirements and efficiency of airport financial settlement data quantity is regarded as a node with better computing capability, and in a main data provider, a large airport and an airline company with stronger comprehensive strength, the part of alliance members have better support on a hardware equipment network and also have certain capability to jointly maintain the ecology of a civil aviation settlement alliance chain, and the node belongs to the node with better computing capability. After receiving the broadcast block information of the main node, the node with better computing capability computes a specific consensus algorithm to confirm, and the application selects the PBFT consensus algorithm in the FISCO BCOS block chain to perform consensus confirmation. Writing into a block chain to form a new block; the new block continuously receives the common verification of other nodes in the whole network broadcasting process, and after the continuous quantity is confirmed, the whole network node determines whether to synchronize the block according to the respective requirements.
Related institution nodes serving as common nodes are added to a alliance chain network through permission authorization, and the functions of reading and writing account books of all the institution nodes are managed and controlled by using account book authorities or legal identity certificates, so that once the account books are successfully written, the account books cannot be tampered; the method is characterized in that all account book data on the alliance chain are highly encrypted, and only alliance members view the account book data by themselves, and the obtained data are decrypted through authorization when the alliance members reading other node data.
In step S3, the information uplink includes: users of the primary node and the secondary node can perform information uplink; the common node user only carries out the uplink of fund information; after the server side interface script receives the uplink information, a corresponding intelligent contract and a contract function are called, and the data information is packaged into a transaction object and uploaded into a blockchain;
the service data query includes: airport, airline users query flight information, airport information, airline information, aircraft information, contract information, billing information, funds information stored in the blockchain; if the user inquiry information firstly stores the mapping relation between the inquiry field and the transaction hash value in the dream database, firstly, acquiring the corresponding transaction hash value from the dream database according to the inquiry field, and then calling intelligent contracts and contract functions to inquire the corresponding transaction by taking the hash value as a parameter; if the mapping relation is not stored in the dream database, the intelligent contract and the contract function are called by taking the query field as parameters to query the corresponding hash value, and then the contract function is called to query the corresponding transaction according to the hash value.
As shown in Table 1, the master node of the entire civil aviation settlement alliance chain is a data provider and is provided with a full data file, such as a civil aviation office operation monitoring center, an empty pipe data center, a civil aviation big data center and the like. Coalition members who do not want to participate or need to participate in full data synchronization can act as secondary nodes to synchronize only blockchain data related to themselves, such as large airlines, airports, and third party financial institutions act as ordinary nodes only, limited to viewing related bills. The main node or the appointed node with better calculation capability can be used as a billing person, and the real operation data generated in the whole process of taking off and landing the flight, such as taking off time, landing time, flight number, destination, passenger number, cargo number and the like, are matched with an intelligent contract to carry out a real-time clearing mode to form a settlement instant confirmation and write-in block. In the block generation process, the main node packages and broadcasts a plurality of flight information, and after receiving the broadcast block information of the main node, the node with better operation capability calculates a specific algorithm to confirm, and writes the broadcast block information into a block chain to form a new block. The new block continuously receives the common verification of other nodes in the whole network broadcasting process, and after the continuous quantity is confirmed, the whole network node determines whether to synchronize the block according to the respective requirements.
Table 1 the user access rights control table provided by the embodiment of the invention
。
Financial institutions act as third parties between large airlines and airports, and only query and confirm relevant bills after joining in the settlement business blockchain, so that creditors (such as airports) can be pre-paid, and the problem of cash reservation of middle and small airports and small micro-enterprises can be solved. After receiving payment, the creditor (such as airport) transfers the creditor to the financial institution, and the financial institution carries out additional discussion on the settlement amount of the creditor. Of course, the creditor (such as airport) needs to pay corresponding commission to the financial institution, which is higher than the deposit interest rate of advance payment, and the commission can be correspondingly reduced in large airports with more settlement business. The mode is also suitable for settlement business among airlines, passenger and cargo agents and airlines, in the mode, once settlement amount in a blockchain is generated, after bank verification is passed, the airport, the airlines or other units can receive the settlement amount very fast, and the bank also obtains a certain profit.
The related organization nodes are added into the alliance chain network through permission authorization, the node credibility is guaranteed, the account book authority or legal identity certificates are utilized to manage and control the functions of reading and writing account books of all the organization nodes, and once the account book writing is successful, the account book cannot be tampered. All account book data on the alliance chain are highly encrypted, only alliance members view the account book data by themselves, the alliance members needing to read other node data can decrypt and acquire the data through authorization, and the data security is ensured.
Illustratively, in step S3, the information uplink includes: users of the primary and secondary nodes may perform information chaining. The regular node users can only perform the uplink of fund information. And after the server side interface script receives the uplink information, calling a corresponding intelligent contract and a contract function, packaging the data information into a transaction object, and uploading the transaction object into a blockchain. The user can choose whether to store the mapping relation between the query field and the transaction hash value in the dream database so as to improve the retrieval speed.
The service data query includes: airport, airline users can query flight information, airport information, airline information, aircraft information, contract information, billing information, and funds information stored in the blockchain. The third party financial institution may view billing information and funds information in the blockchain. If the information which the user wants to inquire stores the mapping relation between the inquiry field and the transaction hash value in the dream database in advance, acquiring the corresponding transaction hash value from the dream database according to the inquiry field, and calling the intelligent contract and the contract function to inquire the corresponding transaction by taking the hash value as a parameter; if the mapping relation is not stored in the dream database, the intelligent contract and the contract function are called by taking the query field as parameters to query the corresponding hash value, and then the contract function is called to query the corresponding transaction according to the hash value.
The civil aviation settlement alliance chain operation mechanism is based on the blockchain technology, the risk of the settlement process is greatly reduced, the going of each settlement is known through the traceability characteristic of the blockchain, and the existence of the intelligent contract is added, so that the settlement bill becomes unique, highly credible and effective. In a word, the efficiency and the cost can be improved and reduced in the aspects of intelligent contracts, payment settlement business, financial services and the like of the civil aviation industry chain through the blockchain technology, more and updated derivative financial products and services are provided, and the system contributes to the development of the civil aviation.
It can be understood that the invention applies the alliance chain technology to civil aviation settlement business, reduces the cost and increases the efficiency, increases the credibility and the effectiveness of the account book, ensures the data safety, effectively controls the risk of performing, and accelerates the intelligent construction of airports.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
The content of the information interaction and the execution process between the devices/units and the like is based on the same conception as the method embodiment of the present invention, and specific functions and technical effects brought by the content can be referred to in the method embodiment section, and will not be described herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present invention. For specific working processes of the units and modules in the system, reference may be made to corresponding processes in the foregoing method embodiments.
The embodiment of the invention also provides a computer device, which comprises: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, which when executed by the processor performs the steps of any of the various method embodiments described above.
Embodiments of the present invention also provide a computer readable storage medium storing a computer program which, when executed by a processor, performs the steps of the respective method embodiments described above.
The embodiment of the invention also provides an information data processing terminal, which is used for providing a user input interface to implement the steps in the method embodiments when being implemented on an electronic device, and the information data processing terminal is not limited to a mobile phone, a computer and a switch.
The embodiment of the invention also provides a server, which is used for realizing the steps in the method embodiments when being executed on the electronic device and providing a user input interface.
Embodiments of the present invention provide a computer program product which, when run on an electronic device, causes the electronic device to perform the steps of the method embodiments described above.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/terminal apparatus, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc.
To further illustrate the effects associated with the embodiments of the present invention, the following experiments were performed: the settlement business of civil aviation plays a crucial role in the overall operation of the civil aviation, but there are a plurality of problems in the settlement business between airports and aviators and between aviators and aviators. Firstly, the efficiency is low, the settlement business volume is large, various documents are more, the business data is complex, a large amount of data still needs manual intervention processing, and the printing of various documents, the manual intervention processing and other factors also intangibly increase the economic cost in the settlement process. The unit for providing the upper month asking for money in the first three days of the month is very few in the industry; secondly, the settlement service has long chain, from the initiation approval of the money requesting party to the approval of the paying party, and then to the final settlement, the number of the process loops is large, the processing time of each link is long, and the account period agreed by the contract is added, so that the whole settlement period is as long as three months or even half a year. The sharing degree of the data of each party is low, the partial data is imperfect, and the problems of low credibility, difficult disputes and the like are also unavoidable. In addition, after the civil aviation charging price is released, higher requirements are also provided for a flexible settlement mode while more space is provided for price adjustment and market guidance.
According to the industrial characteristics of the civil aviation industry and the actual requirements of the civil aviation settlement service, the invention combines the basic principle of the blockchain and the industrial development, applies the FISCO BCOS alliance chain technology to the civil aviation settlement service, realizes the improvement of the efficiency of the civil aviation airport settlement, shortens the account period, simplifies the flow, effectively audits and reduces the cost.
While the invention has been described with respect to what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but on the contrary, is intended to cover various modifications, equivalents, and alternatives falling within the spirit and scope of the invention.
Claims (10)
1. The utility model provides a civil aviation airport settlement system based on blockchain platform alliance chain, its characterized in that, this system adopts multicentric permission formula network alliance chain, regard the data provider of airline, airport, flight stream, passenger flow as the blockchain node, constitute the alliance chain of airline, airport, civil aviation office operation monitoring center, air traffic control data center, civil aviation settlement center, civil aviation big data center, third party platform, financial institution node, this system includes from bottom to top specifically: a data access layer, a data service layer and an application layer;
The data access layer is used for completing the task of acquiring fund flow, information flow, flight flow and business flow information and uploading the information to the data service layer;
the data service layer comprises a cloud service layer and a alliance chain service layer, and is formed by adopting a FISCO BCOS blockchain and a dream database for storing query fields and transaction value mapping; the flight information, the luggage information, the user information, the merchant information and the intelligent contract are stored in a blockchain, and the mapping relation between the query field of the data information and the transaction hash value is stored in a dream database; when inquiring, the corresponding hash value is searched in the dream database according to the inquiring condition, and then the corresponding data is searched in the blockchain according to the hash value, so that the efficiency and instantaneity of the civil aviation business transaction inquiring are met;
the application layer is used for providing an interactive interface for a user, so that the user can use the service provided by the cloud service layer and the cloud service layer to conduct data interaction.
2. The civil aviation airport settlement system based on the blockchain platform alliance chain of claim 1, wherein in the data access layer, the service charges generated by the flight flow for the aircraft to complete the flight mission include aviation service charges including landing and taking off charges, parking charges, bridge charges, passenger service charges, security check charges, and non-aviation service charges including first class cabin charges, office cabin rental charges, office service rental charges, ticket counter rental charges, cabinet counter rental charges, ground service charges.
3. The civil aviation airport settlement system based on the block chain platform alliance chain according to claim 2, wherein in the data access layer, data uploading inputs data information through a front-end operation interface, an intelligent contract address service interface is called, and according to the geographic position of a user, the data is uploaded to the block chain node by utilizing an ICP/IP network protocol, so that the uploading of service data to the alliance chain is completed.
4. The civil aviation airport settlement system based on the blockchain platform alliance chain according to claim 1, wherein in the data service layer, flight information, luggage information, user information, merchant information and intelligent contracts are stored in a blockchain, the mapping relation between query fields of data information and transaction hash values is stored in a dan-Meng database, when a user executes one-time check of all data or query data, a background searches the corresponding transaction hash values in the dan-Meng database according to the query fields, an index of the query fields is established in the dan-Meng database, and corresponding data of corresponding transactions are searched in the blockchain according to the transaction hash values and displayed;
the method comprises the steps that a storage function of data is pre-configured in a blockchain intelligent contract, when the data is uploaded to the blockchain, an API calls the corresponding storage function in the intelligent contract, data objects are packaged and transacted, a data hash algorithm is used for encrypting the data objects into a 16-system random sequence, and then the transacted is broadcasted in the whole blockchain network; after the nodes of the whole network airport and the navigation department agree on the transaction, the block packed with the transaction is accessed into the block chain of each node.
5. The civil aviation airport settlement system based on the blockchain platform alliance chain of claim 1, wherein the alliance chain service layer is used for providing alliance chain transaction service to the outside and maintaining alliance chain account book data to the inside; the alliance chain network layer consists of a plurality of alliance chain nodes, each alliance chain node submits a transaction to a transaction pool, a transaction packaging thread in the consensus module is responsible for taking the transaction from the transaction pool, and the transaction is packaged based on the highest block of the nodes to generate a new block; the consensus module receives a new block from a local or through a network, completes a consensus process according to a received consensus message packet, finally writes the new block which achieves consensus into a block chain, and deletes the uplink transaction from a transaction pool after the block is uplink; the PBFT consensus algorithm realized in the FISCO BCOS block chain is selected to be used as a consensus mechanism, data in the alliance chain is synchronized into a distributed cluster formed by a plurality of alliance chain nodes under the action of the consensus mechanism, and an alliance chain service layer realizes the addition, deletion and modification of the data in the alliance chain through an intelligent contract and provides an interface for a cloud service layer to call the intelligent contract so as to realize the safe operation of the alliance chain data.
6. The civil aviation airport settlement system based on the blockchain platform alliance chain of claim 5, wherein the cloud service layer provides cloud services including external account management and intelligent contract invocation services; the cloud service provides an API interface for the application layer and processes the Https request from the application layer; meanwhile, the cloud service layer directly interacts with the alliance chain service layer, and the cloud service layer invokes an intelligent contract to realize business logic through an alliance chain interface;
the processing of Https requests from the application layer includes: the client accesses the API interface of the server, calls the corresponding API interface according to different request types of the client, and accesses the server;
the intelligent contract is based on trusted and non-tamperable data, and can automatically execute certain predefined rules and terms; the intelligent combination is divided into: flight information management intelligent contracts, airport information intelligent contracts, airline information intelligent contracts, aircraft information intelligent contracts, contract information intelligent contracts, bill information intelligent contracts, and funds information intelligent contracts;
the invoking the intelligent contract to implement business logic includes:
(1) Predefining contracts, contract terms being commonly contracted by all coalition members participating in the settlement business;
(2) Triggering contracts, and executing transactions when information is received and conditions are met;
(3) Generating a bill, wherein on the premise of meeting the conditions, the intelligent contract is automatically triggered, and the generation of a fee bill is carried out according to contract terms according to the collected alliance node information;
(4) After the fee bill is generated, the two parties carry out-of-chain transaction, the in-chain bill data is bound with an out-of-chain settlement instruction, and a third party is introduced to complete the settlement transaction.
7. The civil aviation airport settlement system based on the blockchain platform alliance chain of claim 1, wherein in the data service layer, the FISCO BCOS blockchain comprises:
base layer: providing a basic data structure and an algorithm library of a block chain;
core layer: the core logic of the block chain is realized, and the core layer realizes the chain data structure of the block chain, the transaction execution engine, the storage drive and the communication among nodes;
management layer: realizing the management function of the blockchain, including parameter configuration, account book management and AMOP;
interface layer: and the block chain user is oriented, and an RPC interface and an SDK of various protocols are provided.
8. A civil aviation airport settlement method based on a blockchain platform alliance chain, characterized in that the method is implemented by applying the civil aviation airport settlement system based on the blockchain platform alliance chain according to any one of claims 1-7, and the method comprises the following steps:
S1, deploying an intelligent contract in a alliance chain by writing an intelligent contract code to generate an intelligent contract calling address, wherein the alliance chain stores service data of civil aviation settlement; the user invokes an intelligent contract address service interface through the cloud service layer to operate the business data of civil aviation settlement in the alliance chain, and finally, the business data is reflected to a front-end user operation page; the intelligent contracts include flight information management intelligent contracts, airport information intelligent contracts, airline information intelligent contracts, airplane information intelligent contracts, contract information intelligent contracts, bill information intelligent contracts, and fund information intelligent contracts;
s2, when the user accesses alliance chain data through the intelligent contract, the access control of intelligent contract authority of civil aviation settlement business data is carried out according to node role access authority and the intelligent contract; the nodes comprise a main node, a secondary node and a common node; each node has different rights to access the intelligent contract;
s3, based on intelligent contract authority access control results of civil aviation settlement service data, airport group service data information processing is conducted through information uplink and service data query.
9. The civil aviation airport settlement method based on the blockchain platform alliance chain according to claim 8, wherein in step S1, intelligent contracts corresponding to different applications are designed for different kinds of users; smart contracts for different applications include:
The intelligent contract for managing the flight information records the incoming and outgoing information, the departure time, the stop time, the bridge time, the luggage number, the passenger number, the starting station, the destination station, the flight model, the machine number and the airline company information of the flight;
an airport information intelligent contract records three character codes, regional attributes and Chinese and English short information of an airport;
an aviation department information intelligent contract records two codes, regional attributes, chinese and English abbreviations and aviation branch company codes and names of aviation departments;
an airplane information intelligent contract records airplane model, airplane number, affiliated airlines, take-off weight, industry load and seat number information;
contract information intelligent contracts record charging rules and calculation parameters of aviation business charging and non-aviation business charging specified by civil aviation bureau, and simultaneously record charging items and calculation parameters signed by airports and aviation drivers;
the intelligent contract of the bill information records the bill information after the airport airline company passes the audit;
and (3) a fund information intelligent contract, which records fund accounts and account entering and exiting information of the avionics and the airport opened at a third-party financial institution.
10. The civil aviation airport settlement method based on the blockchain platform alliance chain according to claim 8, wherein in step S2, a master node of the entire civil aviation settlement alliance chain is a data provider, has a full data file, alliance members who do not want to participate in or need to participate in full data synchronization are taken as secondary nodes, only the blockchain data related to the third party are synchronized, only the third party financial institution is taken as a common node, and only related bills are checked; the master node or the appointed node with better calculation capability is used as a billing person, and according to actual operation data generated in the whole process of taking off and landing the flight, an intelligent contract is matched to carry out a clear-after-flight mode to form a settlement instant confirmation and write-in block; in the block generation process, a main node packages and broadcasts a plurality of flight information, and nodes which have high-performance computing technology and can meet the requirements and efficiency of airport financial settlement data quantity are regarded as nodes with better computing capability; after receiving the broadcast block information of the main node, the node with better computing capability selects the PBFT consensus algorithm in the FISCO BCOS block chain for consensus confirmation; writing into a block chain to form a new block; the new block continuously receives common verification of other nodes in the whole network broadcasting process, and after the continuous quantity is confirmed, the whole network node determines whether to synchronize the block according to respective requirements;
Related institution nodes serving as common nodes are added to a alliance chain network through permission authorization, and the functions of reading and writing account books of all the institution nodes are managed and controlled by using account book authorities or legal identity certificates, so that once the account books are successfully written, the account books cannot be tampered; highly encrypting all account book data on a alliance chain, wherein the account book data is only limited to the view of alliance members, and the data is obtained by decrypting through authorization when the alliance members reading other node data;
in step S3, the information uplink includes: the users of the primary node and the secondary node perform information uplink; the common node user only carries out the uplink of fund information; after the server side interface script receives the uplink information, a corresponding intelligent contract and a contract function are called, and the data information is packaged into a transaction object and uploaded into a blockchain;
the service data query includes: airport, airline users query flight information, airport information, airline information, aircraft information, contract information, billing information, funds information stored in the blockchain; if the user inquiry information firstly stores the mapping relation between the inquiry field and the transaction hash value in the dream database, firstly, acquiring the corresponding transaction hash value from the dream database according to the inquiry field, and then calling intelligent contracts and contract functions to inquire the corresponding transaction by taking the hash value as a parameter; if the mapping relation is not stored in the dream database, the intelligent contract and the contract function are called by taking the query field as parameters to query the corresponding hash value, and then the contract function is called to query the corresponding transaction according to the hash value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311629203.2A CN117372019B (en) | 2023-12-01 | 2023-12-01 | Civil aviation airport settlement system and method based on blockchain platform alliance chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311629203.2A CN117372019B (en) | 2023-12-01 | 2023-12-01 | Civil aviation airport settlement system and method based on blockchain platform alliance chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117372019A true CN117372019A (en) | 2024-01-09 |
CN117372019B CN117372019B (en) | 2024-03-12 |
Family
ID=89396860
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311629203.2A Active CN117372019B (en) | 2023-12-01 | 2023-12-01 | Civil aviation airport settlement system and method based on blockchain platform alliance chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117372019B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118521418A (en) * | 2024-07-25 | 2024-08-20 | 首都机场集团有限公司 | Aviation settlement device and method based on data accounting |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107507005A (en) * | 2017-08-01 | 2017-12-22 | 众安信息技术服务有限公司 | Data access method and system outside a kind of chain based on alliance's chain |
CN111865563A (en) * | 2020-07-27 | 2020-10-30 | 北京航空航天大学 | Civil aviation passenger data safety protection and anti-falsification scheme based on alliance chain |
CN112215610A (en) * | 2020-11-11 | 2021-01-12 | 深圳市爱云信息科技有限公司 | Digital currency transaction payment platform based on block chain BaaS core technology |
CN112261064A (en) * | 2020-11-12 | 2021-01-22 | 中国民航管理干部学院 | Block chain-based aviation business privacy protection quick settlement method and system |
CN112261109A (en) * | 2020-10-16 | 2021-01-22 | 中国民用航空华东地区空中交通管理局 | Multi-airport time slot exchange system and method based on block chain |
KR20210012973A (en) * | 2019-07-24 | 2021-02-03 | 주식회사 핑거 | Platform system for pay service and method for pay service using the same |
CN112671580A (en) * | 2020-12-23 | 2021-04-16 | 厦门大学 | QAR data management method based on block chain technology |
FR3107777A1 (en) * | 2020-02-27 | 2021-09-03 | Thales | AVIONICS SOFTWARE AND DATABASE UPDATES |
CN115567312A (en) * | 2022-10-13 | 2023-01-03 | 佛山众陶联供应链服务有限公司 | Alliance chain data authority management system and method capable of meeting multiple scenes |
CN116800541A (en) * | 2023-08-07 | 2023-09-22 | 中国民航大学 | Classified and hierarchical access control and access method for flight operation data |
-
2023
- 2023-12-01 CN CN202311629203.2A patent/CN117372019B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107507005A (en) * | 2017-08-01 | 2017-12-22 | 众安信息技术服务有限公司 | Data access method and system outside a kind of chain based on alliance's chain |
KR20210012973A (en) * | 2019-07-24 | 2021-02-03 | 주식회사 핑거 | Platform system for pay service and method for pay service using the same |
FR3107777A1 (en) * | 2020-02-27 | 2021-09-03 | Thales | AVIONICS SOFTWARE AND DATABASE UPDATES |
CN111865563A (en) * | 2020-07-27 | 2020-10-30 | 北京航空航天大学 | Civil aviation passenger data safety protection and anti-falsification scheme based on alliance chain |
CN112261109A (en) * | 2020-10-16 | 2021-01-22 | 中国民用航空华东地区空中交通管理局 | Multi-airport time slot exchange system and method based on block chain |
CN112215610A (en) * | 2020-11-11 | 2021-01-12 | 深圳市爱云信息科技有限公司 | Digital currency transaction payment platform based on block chain BaaS core technology |
CN112261064A (en) * | 2020-11-12 | 2021-01-22 | 中国民航管理干部学院 | Block chain-based aviation business privacy protection quick settlement method and system |
CN112671580A (en) * | 2020-12-23 | 2021-04-16 | 厦门大学 | QAR data management method based on block chain technology |
CN115567312A (en) * | 2022-10-13 | 2023-01-03 | 佛山众陶联供应链服务有限公司 | Alliance chain data authority management system and method capable of meeting multiple scenes |
CN116800541A (en) * | 2023-08-07 | 2023-09-22 | 中国民航大学 | Classified and hierarchical access control and access method for flight operation data |
Non-Patent Citations (4)
Title |
---|
周星光: "基于联盟链的航空商务隐私保护结算方案", 《航空计算技术》, 30 September 2021 (2021-09-30) * |
呼延智;: "应用区块链技术实现旅客身份认证在民航安检业务中的实践", 空运商务, no. 01, 25 January 2020 (2020-01-25) * |
李国: "面向解决民航虚占座位的改进PoA共识机制区块链系统研究", 《计算机应用研究》, 30 November 2020 (2020-11-30) * |
王宏坤;: "区块链技术驱动航空金融创新发展研究", 区域经济评论, no. 01, 12 January 2018 (2018-01-12) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118521418A (en) * | 2024-07-25 | 2024-08-20 | 首都机场集团有限公司 | Aviation settlement device and method based on data accounting |
Also Published As
Publication number | Publication date |
---|---|
CN117372019B (en) | 2024-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Alam et al. | Blockchain-based initiatives: current state and challenges | |
US20200211005A1 (en) | System and method for tracking of provenance and flows of goods, services, and payments in responsible supply chains | |
Hu et al. | Parking management: A blockchain-based privacy-preserving system | |
CN111400749A (en) | Government affair financial data sharing platform based on block chain and implementation method thereof | |
US11616816B2 (en) | Distributed ledger based document image extracting and processing within an enterprise system | |
CN110009326A (en) | Accounting system, transaction and its processing method, terminal, system, device and medium | |
US20190318328A1 (en) | Real-time data processing platform with integrated communication linkage | |
WO2014079330A1 (en) | Synchronous payment system | |
US20240320671A1 (en) | System architecture for enabling distributed temporary control of discrete units of an asset | |
Bothos et al. | Leveraging blockchain for open mobility-as-a-service ecosystems | |
CN108921630A (en) | A kind of water route Shipping invoices automatic creation system and method based on bank account | |
CN113987061A (en) | Block chain evidence storage method and device | |
Achanta | Cross-border money transfer using blockchain-enabled by big data | |
Fabrizio et al. | Invoice discounting: A blockchain-based approach | |
CN114124428B (en) | Block chain-based access method and device for Internet of things equipment | |
CN114116884A (en) | Block chain evidence storage method and device | |
JP7410479B2 (en) | Payment devices, payment methods and payment programs | |
Jayalath et al. | A microtransaction model based on blockchain technology to improve service levels in public transport sector in Sri Lanka | |
CN117372019B (en) | Civil aviation airport settlement system and method based on blockchain platform alliance chain | |
Shi et al. | Research on the development path of blockchain in shipping industry | |
Xu et al. | Example use cases | |
CN113987226A (en) | Hybrid storage method and device | |
Pavlović et al. | Innovative ICT model of E-business in urban railway transport | |
Yang et al. | Research on online payment mode based on internet banking payment gateway | |
Harris | Towards a Blockchain Solution for Customs Duty-Related Fraud |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |