Insurance claims settlement method, device, equipment and medium based on blockchain

Through blockchain technology and smart contracts, automated verification of insurance claims is realized, which solves the problem of low efficiency in verifying customer information and policy information in insurance claims, improves verification efficiency and enhances data security.

CN112070618BActive Publication Date: 2024-09-10CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010911993.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-02
Publication Date
2024-09-10
Estimated Expiration
2040-09-02

AI Technical Summary

Technical Problem

The centralized storage of customer information and policy information in insurance claims results in low efficiency of authenticity verification, which requires repeated verification by multiple parties, reducing verification efficiency.

Method used

Adopting a blockchain-based insurance claim verification method, the smart contract address is managed through the factory contract, the claim verification request is obtained, the corresponding smart contract is called, and the policy information described in the smart contract is compared with the blockchain data to achieve automated verification and avoid manual review. .

Benefits of technology

It improves the efficiency of insurance claims verification, ensures data security, reduces the need for users to issue certificates, and enhances the automation of the claims process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112070618B
    Figure CN112070618B
Patent Text Reader

Abstract

The present invention relates to blockchain technology, and in particular to a blockchain-based insurance claims method, device, equipment and storage medium. The blockchain-based insurance claims method is applied to a blockchain network, in which a factory contract is deployed, and the factory contract is used to manage the contract addresses of multiple smart contracts deployed in the blockchain network; the factory contract corresponds to a deployment address; the blockchain-based insurance claims method includes: taking a claim verification request; based on the factory contract and the target customer identifier, obtaining the contract address corresponding to the target customer identifier; based on the deployment address, calling the smart contract corresponding to the contract address; comparing the policy information described by the smart contract with the block data corresponding to the policy information stored in the blockchain network, and obtaining the claim verification result. The blockchain-based insurance claims method can realize automatic claims verification, greatly improve the claims efficiency, and effectively meet the needs of decentralization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to an insurance claims settlement method, device, equipment and medium based on blockchain. Background Art

[0002] At present, customer information and policy information are generally stored in a centralized manner, and data can be easily tampered with and abused by central institutions, and data security cannot be guaranteed. When making insurance claims, since the customer information and policy information involved in the claims verification are stored in a centralized manner, the authenticity of the customer information and policy information in the insurance claims event still needs to be repeatedly verified by multiple parties (for example, proving whether the user purchased this type of insurance at a certain point in time, whether the payment was successful, etc.), which requires the insured to actively collect and submit a wide variety of claims-related certification materials, and the claims personnel will verify the claims based on the certification materials. When a large number of claims verification events occur, the verification efficiency will be greatly reduced. Summary of the invention

[0003] The embodiments of the present invention provide a blockchain-based insurance claims method, device, equipment and medium to solve the problem that current insurance claims require dedicated claims personnel to verify the authenticity of the claims event, resulting in low verification efficiency.

[0004] A blockchain-based insurance claims method is applied to a blockchain network, wherein a factory contract is deployed in the blockchain network, and the factory contract is used to manage the contract addresses of multiple smart contracts deployed in the blockchain network; the factory contract corresponds to a deployment address; the blockchain-based insurance claims method includes:

[0005] Obtaining a claim verification request, wherein the claim verification request includes a customer identifier;

[0006] Based on the factory contract, obtaining a contract address corresponding to the customer identifier;

[0007] According to the deployment address, calling the smart contract corresponding to the contract address; wherein the smart contract is used to describe the policy information;

[0008] The insurance policy information described in the smart contract is compared with the block data corresponding to the insurance policy information stored in the blockchain network to obtain the claim verification result.

[0009] A blockchain-based insurance claims settlement device is applied to a blockchain network, wherein a factory contract is deployed in the blockchain network, and the factory contract is used to manage the contract addresses of multiple smart contracts deployed in the blockchain network; the factory contract corresponds to a deployment address; the blockchain-based insurance claims settlement device includes:

[0010] A claim verification request acquisition module, used to obtain a claim verification request, wherein the claim verification request includes a target customer identifier;

[0011] A contract address acquisition module, used to acquire a contract address corresponding to the target customer identifier based on the factory contract and the target customer identifier;

[0012] A smart contract calling module, used to call the smart contract corresponding to the contract address based on the deployment address; wherein the smart contract is used to describe the policy information;

[0013] The claim verification module is used to compare the policy information described in the smart contract with the block data corresponding to the policy information stored in the blockchain network to obtain the claim verification result.

[0014] A computer device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned blockchain-based insurance claims settlement method when executing the computer program.

[0015] A computer storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the above-mentioned blockchain-based insurance claims settlement method.

[0016] In the above-mentioned insurance claims settlement method, device, equipment and medium based on blockchain, in this embodiment, by obtaining a claims settlement verification request, the contract address corresponding to the target customer identifier is obtained from the factory contract according to the target customer identifier in the claims settlement verification request, and the deployment address corresponding to the factory contract is used as the caller address to call the smart contract corresponding to the contract address, so as to call the smart contract through a unified factory contract interface (i.e., the deployment address of the factory contract), effectively avoiding the exposure of the core function of the smart contract to the client when deploying the smart contract, and ensuring the security of the contract. Finally, the policy information described by the smart contract is compared with the block data corresponding to the policy information stored in the blockchain network, and the claims settlement verification result is obtained. The smart contract is combined with the insurance claim, and the user does not need to provide various application certificates. The staff conducts manual review to realize rapid verification of claims events, which greatly improves the efficiency of claims settlement. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0018] Figure 1 It is a schematic diagram of an application environment of an insurance claim settlement method based on blockchain in one embodiment of the present invention;

[0019] Figure 2 It is a flow chart of an insurance claim settlement method based on blockchain in one embodiment of the present invention;

[0020] Figure 3 It is a flow chart of an insurance claim settlement method based on blockchain in one embodiment of the present invention;

[0021] Figure 4 yes Figure 2 A specific flow chart of step S203;

[0022] Figure 5 It is a flow chart of an insurance claim settlement method based on blockchain in one embodiment of the present invention;

[0023] Figure 6 yes Figure 2 A specific flow chart of step S202;

[0024] Figure 7 It is a flow chart of an insurance claim settlement method based on blockchain in one embodiment of the present invention;

[0025] Figure 8 It is a flow chart of an insurance claim settlement method based on blockchain in one embodiment of the present invention;

[0026] Fig. 9 It is a schematic diagram of an insurance claim settlement device based on blockchain in one embodiment of the present invention;

[0027] Fig.10 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] The blockchain-based insurance claims method can be applied in Figure 1 In an application environment, a computer device communicates with a server via a network. The computer device may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The server may be implemented as a standalone server.

[0030] In one embodiment, if Figure 2As shown, a blockchain-based insurance claim method is provided, which is applied to a blockchain network. A factory contract is deployed in the blockchain network. The factory contract is used to manage the contract addresses of multiple smart contracts deployed in the blockchain network; the factory contract corresponds to a deployment address; the method is applied in Figure 1 The server in the example is used as an example to illustrate the process, including the following steps:

[0031] S201: Obtain a claim verification request, which includes a target customer identifier.

[0032] Among them, this method can be applied in the insurance claim system to respond to the claim verification request triggered by the insurance claim event, to verify the authenticity of the claim event, and to abandon the manual verification process of traditional insurance claims to achieve the purpose of automatic claims.

[0033] Specifically, the blockchain network includes blockchain nodes such as policyholders and claims institutions (such as airlines, airlines or third-party institutions) to jointly store a set of smart contracts, achieve multi-party consensus, achieve the purpose of decentralization, and ensure data security. It should be noted that this embodiment can be used in various claims time scenarios, such as medical insurance claims, auto insurance claims or aviation insurance claims. To further understand this case, the following description of the scheme is explained using the application of aviation insurance claims as an example.

[0034] Specifically, the claim verification request may be triggered by the customer or automatically triggered by an external traffic system, which is not limited here. The target customer identifier refers to the customer identifier of the customer who needs to make an insurance claim.

[0035] S202: Based on the factory contract and the target customer identifier, obtain a contract address corresponding to the target customer identifier.

[0036] Among them, the factory contract is used to manage multiple smart contracts and corresponding contract addresses of the deployed customer in the blockchain network, such as multiple insurance claim agreements signed by the customer and the airline, that is, multiple insurance policies. It can be understood that the factory contract, as a virtual contract, can call multiple smart contracts it manages through the corresponding deployment address (such as one insurance policy associated with multiple insurance policies of different products). The mapping relationship between the customer identifier and the contract address is recorded in the factory contract through the mapping storage structure. By obtaining the information of the caller who calls the smart contract, that is, the target customer identifier, the contract address corresponding to the target customer identifier can be obtained.

[0037] S203: According to the deployment address, call the smart contract corresponding to the contract address; wherein the smart contract is used to describe the policy information.

[0038] Among them, the smart contract can specifically refer to the aviation delay insurance claim agreement signed between the customer and the airline, that is, the policy information.

[0039] Specifically, when calling a smart contract, the ownership of the contract caller, that is, the variable msg.sender, needs to reference the deployment address of the factory contract, so that the corresponding contract address can be called through the deployment address of the factory contract to obtain the required smart contract. In this embodiment, multiple smart contracts are managed through factory contracts to realize calling smart contracts through a unified factory contract interface (i.e., the deployment address of the factory contract), effectively avoiding exposing the core functions of the smart contract to the client when deploying the smart contract, and ensuring the security of the contract.

[0040] Furthermore, before calling a smart contract, the identity of each contract caller will be verified according to the permission verification function, i.e., isOwner, to determine whether the contract caller has the permission to call the contract. If so, the verification passes, and it is considered that the contract caller has the permission to call the contract. Based on the contract address, the smart contract corresponding to the contract address can be called. The permission verification function is limited by a modifier to implement permission verification for the user before each contract call, without the need to repeatedly develop the processing logic for permission verification.

[0041] S204: Compare the policy information described in the smart contract with the block data corresponding to the policy information stored in the blockchain network to obtain the claim verification result.

[0042] Specifically, when a customer signs a claim agreement with an insurance company, a smart contract corresponding to the policy will be created, and then a consensus will be reached between the customer node (i.e., the policyholder) and the insurance company based on the blockchain network. After the consensus is reached, the collection of smart contracts can be packaged into multiple block data for verification by each blockchain network node (i.e., the customer node and the insurance company). After the verification is passed, the smart contract can be deployed to the blockchain network, and the block data records a detailed description of the event of the user purchasing insurance at a certain point in time. By comparing the policy information described in the contract with the block data corresponding to the policy information stored in the blockchain, it can be determined whether the user actually purchased the insurance and signed the agreement, whether the claim conditions are met, etc., and the claim verification results can be obtained.

[0043] In this embodiment, by obtaining a claim verification request, the contract address corresponding to the target customer identifier in the claim verification request is obtained from the factory contract, and the deployment address corresponding to the factory contract is used as the caller address to call the smart contract corresponding to the contract address, so as to call the smart contract through a unified factory contract interface (i.e., the deployment address of the factory contract), effectively avoiding exposing the core functions of the smart contract to the client when deploying the smart contract, and ensuring the security of the contract. Finally, the policy information described by the smart contract is compared with the block data corresponding to the policy information stored in the blockchain network, and the claim verification result is obtained. The smart contract is combined with the insurance claim, and the user does not need to provide various application certificates, and the staff conducts manual review to realize the rapid verification of the claim event, which greatly improves the efficiency of the claim.

[0044] In one embodiment, if Figure 3 As shown, in step S201, a claim verification request is obtained, which specifically includes the following steps:

[0045] S301: Monitor the flight data collected by the external traffic system in real time; wherein the flight data includes flight identification and flight status.

[0046] Among them, the flight identification is used to uniquely identify the airline's flight, and the flight status includes but is not limited to flight cancellation, normal take-off, flight take-off delay, etc.

[0047] S302: According to the flight ID, customers who have purchased insurance on the flight corresponding to the flight ID are taken as target customers.

[0048] S303: When the flight status is abnormal, a claim verification request is generated according to the target customer identifier of the target customer.

[0049] Specifically, the flight data includes a flight identification, and each flight corresponds to the information of all passengers who have purchased insurance on that flight. If the flight status is abnormal due to external environmental factors, that is, the flight is delayed or cancelled, all the passengers who have purchased insurance corresponding to the flight will be regarded as target customers, and based on the target customer identification of each target customer, the claim event corresponding to the customer will be automatically triggered to achieve rapid claims settlement.

[0050] In this embodiment, flight data collected by the external transportation system can be monitored in real time to automatically trigger an insurance claim event and generate a claim verification request. When the verified claim event is true and valid, that is, the claim verification result is true, subsequent claims operations are performed to achieve full automation of the claims process.

[0051] In one embodiment, a smart contract includes a main contract and associated contracts; Figure 4As shown, in step S203, based on the deployment address, the smart contract corresponding to the contract address is called, which specifically includes the following steps:

[0052] S401: Based on the deployment address, call the main contract corresponding to the contract address.

[0053] S402: Obtain a contract registry, which is used to describe the address dependency relationship between the factory contract and the associated contracts.

[0054] Among them, the contract registration table stores the contract identifiers of multiple associated contracts and the corresponding contract addresses. Specifically, when N insurance policies are involved in the same insurance claim event, there is a dependency relationship between the policies. Therefore, when N associated contracts need to be called (for example, different products are involved in a certain policy, and each product corresponds to different claims rules, that is, different products correspond to different contracts. When the claim is checked for the policy, it is also necessary to call the contracts corresponding to the multiple products that have an associated relationship with the policy (that is, the main contract), that is, the associated contracts), the call between the contracts can be realized through the dependency relationship between the factory contract and the associated contracts. It can be understood that the deployment address can be used as the caller address to call the main contract corresponding to the contract address.

[0055] S403: Based on the address dependency described in the contract registry, determine the associated address of each associated contract according to the deployment address.

[0056] S404: According to the associated address, call the associated contract corresponding to the associated address.

[0057] It can be understood that when each factory contract is deployed, a contract address (i.e., deployment address) will be returned. Based on the deployment address described in the contract registry and the address dependency relationship between the associated contract, the contract address of the associated contract can be obtained. For example, the deployment address fed back by the deployment of factory contract 1 is 21. The dependency relationship between the factory contract and the associated contract is data = data + 2 (data is the contract address of the associated contract). When calling associated contract 2, data can be initialized to the contract address of 1 (i.e., 21). Through the above dependency relationship, the contract address of the associated contract 2 can be determined to be 23. When calling associated contract 3, data can be initialized to the address of 2 (i.e., 23). Through the above dependency relationship, the contract address of the associated contract 3 can be determined to be 25. By analogy, the contract address of each associated contract can be determined. At the same time, through the chain call principle, when a certain contract is upgraded, the upgraded contract can be directly redeployed, the deployed contract address can be obtained, and the deployed contract address can be registered in the contract registry. Other contracts can directly obtain the latest contract address in the contract registry without redeployment, realizing decoupling between contracts and flexible upgrades.

[0058] Furthermore, by modularizing the storage of contracts for different products, that is, each product involved in the same insurance policy corresponds to an independent smart contract, the contracts can be made independent of each other, thus achieving contract decoupling.

[0059] In this embodiment, when a contract call is made, it is necessary to call multiple associated contracts through the factory contract. In order to quickly call multiple associated contracts, this method uses the address dependency described in the contract registry to determine the associated address of each associated contract according to the deployment address, and then calls the associated contract corresponding to the associated address according to the associated address to optimize the contract call. In addition, if a contract is subsequently upgraded, the upgraded contract can be directly redeployed, the deployed contract address is obtained, and the deployed contract address is registered in the contract registry. Other contracts can directly obtain the latest contract address in the contract registry without redeployment, and upgrade flexibly.

[0060] In one embodiment, if Figure 5 As shown, before step S203, the blockchain-based insurance claims method further includes the following steps:

[0061] S501: Acquire a counter contract corresponding to a target customer identifier.

[0062] It is understandable that different users will each be created with a dedicated counter contract, which is used to count the number of calls each time the caller calls the smart contract. By counting the number of calls, it is possible to solve the problem of errors in the number of calls caused by deviations in the data updated by the counter due to time delays when the caller performs concurrent operations.

[0063] S502: Call the type-safe calculation function to update the count variable in the counter contract and obtain the count variable value corresponding to the client identifier; the count variable value is used to indicate the number of calls to the smart contract.

[0064] The type-safe calculation function refers to the currently open-source SafeMath library to prevent integer calculation overflow. In this embodiment, when the contract is continuously called, that is, the counter is continuously counting, there will be an integer calculation overflow. Therefore, in this embodiment, the count variable in the counter contract is updated by calling the type-safe calculation function to avoid the problem of integer calculation overflow.

[0065] In one embodiment, if Figure 6 As shown, in step S202, based on the factory contract and the target customer identifier, the contract address corresponding to the target customer identifier is obtained, which specifically includes the following steps:

[0066] S601: Convert the original customer identifier stored in the factory contract into an array type to be traversed, wherein each original customer identifier in the array to be traversed corresponds to an index value; the index value is used to map the contract address corresponding to the original customer identifier.

[0067] Specifically, the factory contract records the mapping relationship between the customer ID and the contract address through mapping. After obtaining the contract address corresponding to the target customer ID, it is necessary to loop through the mapping storage structure. However, since the iterator is only for collection type data, in this embodiment, the mapping needs to be reconstructed to implement the iteration of the mapping.

[0068] Specifically, iteration is achieved by recording additional metadata information outside the mapping, that is, the key stored in the mapping (i.e., the original contract identifier) ​​is converted into an array element in the contract array to be traversed, and each array element corresponds to an index value (index). Then, the iterator is used to traverse the contract array to be traversed, and the array element corresponding to each index value (i.e., the original contract identifier) ​​is compared with the target customer identifier by reading the index value to obtain the matching array element, and then the corresponding contract address is obtained according to the index value corresponding to the array element.

[0069] S602: According to the target customer identifier, an iterator is used to iterate the array to be traversed, and an index value corresponding to the target customer identifier is determined.

[0070] S603: According to the index value, obtain the contract address corresponding to the target customer identifier.

[0071] Specifically, according to the target customer identifier, an iterator is used to iterate the traversal array, so as to obtain an index value (index) that matches the target customer identifier, and then map it to a contract address according to the index value, thereby realizing mapping iteration.

[0072] In this embodiment, by recording additional metadata information outside the mapping, that is, converting the key in the mapping data into the type of element set through an array, the data group is traversed, and the contract address is mapped according to the index value, thereby realizing the iteration of the mapping.

[0073] In one embodiment, if Figure 7 As shown, before step S201, the blockchain-based insurance claims method further includes the following steps:

[0074] S701: Obtain insurance policy information and customer information, and create a smart contract based on the insurance policy information and customer information.

[0075] Among them, the policy information includes but is not limited to the policy identification, insurance name, insurance amount, insurance period, premium, claim conditions and corresponding compensation amount. Customer information includes customer identification, age, etc. Smart contracts are used to describe policy information in the blockchain. When a customer signs an aviation insurance claim agreement with an airline, a smart contract corresponding to the customer identification will be created according to the signed policy information using the preset contract structure and deployed to the blockchain.

[0076] Specifically, the airline and the customer act as user nodes in the blockchain network, and the blockchain will return a pair of public and private keys to them. The airline and the customer use their own private keys to sign the smart contract to ensure the validity of the contract, and then deploy the signed smart contract (i.e., policy information) to the blockchain, so that the airline and the customer can trade in the blockchain. It can be understood that the smart contract deployed to the blockchain can be directly called according to the preset trigger event, for example, automatically triggering the claim event according to the claim items agreed in the smart contract.

[0077] S702: Use a peer-to-peer network to broadcast the smart contract to the blockchain nodes so that the blockchain nodes can reach a consensus on the smart contract; the blockchain nodes are used to indicate the insured and the claims agency in the policy information.

[0078] Among them, peer-to-peer network, namely P2P (Peer to Peer), refers to a peer-to-peer computer network, which is a distributed application architecture that distributes tasks and workloads among peers. It is a networking or network form formed by the peer computing model at the application layer. Its characteristics include decentralization, scalability and high cost performance.

[0079] Specifically, the smart contract is broadcasted in the entire blockchain network through P2P. Each node in the blockchain will receive the smart contract and save it in memory, waiting for consensus. Among them, consensus is the process of establishing trust and obtaining rights between different nodes, that is, through the information stored by the airline and the customer, to jointly verify to ensure the authenticity and uniqueness of the policy information, thereby abandoning the complex process of the traditional claim process in which the customer fills in the claim application form and produces the certification documents issued by the airline, and can directly use the "uniqueness" of the blockchain to achieve automatic claims.

[0080] S703: When the blockchain nodes reach consensus on the smart contract within the preset time, a smart contract set is obtained.

[0081] Specifically, when the consensus time reaches the preset event, the verification node in the blockchain will form a smart contract set with the smart contracts saved in the recent period, and call the preset algorithm to calculate the hash value of the smart contract set, and form a block with the hash value and the smart contract set. The block may include the hash value of the current block, the hash value of the previous block, the timestamp when the consensus is reached, the description information and the smart contract set. The block is broadcast to the blockchain nodes, and each blockchain node parses the hash value corresponding to the smart contract set in the block, and compares the hash value with the hash value of the saved smart contract set. At the same time, each blockchain node sends its saved smart contract set to other blockchain nodes for comparison. Finally, when all blockchain nodes reach an agreement on the smart contract set within the preset time, the consensus is passed, and the smart contract set that passes the consensus is obtained.

[0082] S704: Pack the set of smart contracts into blocks, and broadcast the smart contract set in the form of blocks to the blockchain nodes, so that each blockchain node verifies the smart contract set. When the verification passes, the smart contract is deployed to the blockchain network.

[0083] In this embodiment, the set of smart contracts that have passed the consensus is broadcast to the blockchain node in the form of blocks. When the blockchain node receives the smart contract set, it verifies the smart contract set to verify whether the private key signatures of the airline and the customer in the smart contract match the accounts stored in the blockchain node. When the verification passes, the smart contract is deployed to the blockchain to ensure the security of the data, and the smart contract can be directly triggered to make a claim when a claim is needed, thereby improving the efficiency of claims.

[0084] In one embodiment, if Figure 8 As shown, after step S204, the blockchain-based insurance claims method further includes the following steps:

[0085] S801: If the claim verification result is true, determine whether the claim is established based on the policy information described in the smart contract.

[0086] S802: When the claim conditions in the policy information are met, the claim amount is obtained.

[0087] S803: Call the transfer service to perform claim payment operations based on the customer information in the policy information and the claim amount.

[0088] Specifically, if the claim verification result is true, that is, it is believed that the customer has indeed purchased the insurance and signed an insurance claim agreement at a certain point in time, then the claim event is determined based on the claim conditions in the policy information described in the smart contract; when the claim conditions in the policy information are met (for example, the claim conditions in the flight delay insurance stipulate that a delay of 2-4 hours is 200-400 yuan, then it is connected to the external transportation system to determine whether the claim conditions are met), if so, the transfer service is called based on the customer information in the policy information (such as the customer account) to perform the claim payment operation according to the claim amount.

[0089] As an example, if the claim amount needs to be calculated through a further insurance compensation calculation formula, it is necessary to connect to the claim amount calculation module and receive the amount fed back by the claim amount calculation module, and then call the transfer service based on the customer account information in the policy information, and perform claim payment operations according to the claim amount to realize automatic claims and improve the execution efficiency of claims events.

[0090] Furthermore, in this embodiment, after the claim is completed, the contract status will be updated in the contract registry. That is, after the contract status is updated to completed, the suicide() function can be selectively called to destroy the contract. Then, the method in the contract cannot be called again, that is, the claim cannot be triggered again, thereby protecting the rights and interests of the claims agency.

[0091] In this embodiment, the authenticity verification of the claim event, calculation of the claim amount, and transfer services are independent, that is, different functions are performed by different modules to achieve decoupling between the functional modules and ensure system performance.

[0092] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0093] In one embodiment, a blockchain-based insurance claims settlement device is provided, and the blockchain-based insurance claims settlement device corresponds one-to-one to the blockchain-based insurance claims settlement method in the above embodiment. Fig. 9 As shown, the insurance claim settlement device based on blockchain includes a claim settlement request acquisition module 10, a contract address acquisition module 20, a smart contract calling module 30 and a claim settlement verification module 40. The functional modules are described in detail as follows:

[0094] The claim verification request acquisition module 10 is used to obtain a claim verification request, which includes a target customer identifier.

[0095] The contract address acquisition module 20 is used to acquire the contract address corresponding to the target customer identifier based on the factory contract and the target customer identifier.

[0096] The smart contract calling module 30 is used to call the smart contract corresponding to the contract address based on the deployment address; wherein the smart contract is used to describe the policy information.

[0097] The claim verification module 40 is used to compare the policy information described in the smart contract with the block data corresponding to the policy information stored in the blockchain network to obtain the claim verification result.

[0098] Specifically, the claim verification request acquisition module includes a flight data collection unit, a target customer determination unit and a claim verification request acquisition unit.

[0099] The flight data collection unit is used to monitor the flight data collected by the external transportation system in real time; wherein the flight data includes the flight identification and flight status.

[0100] The target customer determination unit is used to determine, according to the flight identifier, the customers who have purchased insurance on the flight corresponding to the flight identifier as target customers.

[0101] The claim verification request acquisition unit is used to generate a claim verification request according to the customer identifier of the target customer when the flight status is abnormal.

[0102] Specifically, the smart contract includes multiple associated contracts; the smart contract calling module includes a contract registry acquisition unit, an associated address determination unit and an associated contract calling unit.

[0103] The contract registry acquisition unit is used to obtain the contract registry, which is used to describe the address dependency relationship between the factory contract and the associated contracts.

[0104] The associated address determination unit is used to determine the associated address of each associated contract based on the address dependency described in the contract registry and according to the deployment address corresponding to the factory contract.

[0105] The associated contract calling unit is used to call the associated contract corresponding to the associated address according to the associated address.

[0106] Specifically, the blockchain-based insurance claims settlement device also includes a counter contract acquisition module and a counting variable value acquisition module.

[0107] The counter contract acquisition module is used to acquire the counter contract corresponding to the customer identifier.

[0108] The counting variable value acquisition module is used to call the type-safe calculation function to update the counting variable in the counter contract and obtain the counting variable value corresponding to the customer identifier; the counting variable value is used to indicate the number of calls to the smart contract.

[0109] Specifically, the contract address acquisition module includes a type conversion unit, a traversal unit and a contract address acquisition unit.

[0110] The type conversion unit is used to convert the original customer identifier stored in the factory contract into an array type to be traversed; wherein each original customer identifier in the array to be traversed corresponds to an index value; and the index value is used to map the contract address corresponding to the original customer identifier.

[0111] The traversal unit is used to iterate the array to be traversed using an iterator according to the target customer identifier, and determine the index value corresponding to the target customer identifier.

[0112] The contract address acquisition unit is used to obtain the contract address corresponding to the target customer identifier according to the index value.

[0113] Specifically, the blockchain-based insurance claims settlement device also includes a smart contract creation module, a broadcast module, a consensus module and a deployment module.

[0114] The smart contract creation module is used to obtain policy information and customer information, and create a smart contract based on the policy information and customer information.

[0115] The broadcast module is used to broadcast the smart contract to the blockchain nodes using a peer-to-peer network so that the blockchain nodes can reach a consensus on the smart contract; the blockchain nodes are used to indicate the insured and the claims agency in the policy information.

[0116] The consensus module is used to obtain a smart contract set when the blockchain nodes reach a consensus on the smart contract within a preset time.

[0117] The deployment module is used to package the set of smart contracts into blocks and broadcast the smart contract set in the form of blocks to the blockchain nodes so that each blockchain node can verify the smart contract set. When the verification passes, the smart contract is deployed to the blockchain network.

[0118] Specifically, the blockchain-based insurance claims settlement device also includes a claims determination module, a claims amount acquisition module and a payment module.

[0119] The claim determination module is used to determine whether the claim is established based on the policy information described in the smart contract if the claim verification result is true.

[0120] The claim amount acquisition module is used to obtain the claim amount when the claim conditions in the policy information are met.

[0121] The payment module is used to call the transfer service to perform claim payment operations based on the customer information in the policy information and the claim amount.

[0122] For the specific definition of the insurance claims settlement device based on blockchain, please refer to the definition of the insurance claims settlement method based on blockchain above, which will not be repeated here. Each module in the above-mentioned insurance claims settlement device based on blockchain can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0123] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a computer storage medium and an internal memory. The computer storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the computer storage medium. The database of the computer device is used to store data generated or obtained during the execution of the blockchain-based insurance claims method, such as policy information. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a blockchain-based insurance claims method is implemented.

[0124] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the insurance claim settlement method based on blockchain in the above embodiment are implemented, for example Figure 2 Steps S201-S204 shown, or Figures 3 to 8 Alternatively, when the processor executes the computer program, the functions of each module / unit in the embodiment of the insurance claim settlement device based on blockchain are implemented, for example Fig. 9 The functions of the modules / units shown are not described here in detail to avoid repetition.

[0125] In one embodiment, a computer storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the insurance claims settlement method based on blockchain in the above embodiment are implemented, for example: Figure 2 Steps S201-S204 shown, or Figures 3 to 8 To avoid repetition, the steps shown in are not described here. Alternatively, when the computer program is executed by the processor, the functions of each module / unit in the embodiment of the insurance claim settlement device based on blockchain are realized, for example Fig. 9The functions of the modules / units shown are not described here in detail to avoid repetition.

[0126] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0127] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0128] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A blockchain-based insurance claims method, characterized in that: Applied to a blockchain network, wherein a factory contract is deployed in the blockchain network, and the factory contract is used to manage the contract addresses of multiple smart contracts deployed in the blockchain network; The factory contract corresponds to a deployment address; the blockchain-based insurance claim settlement method includes: Obtaining policy information and customer information, and creating a smart contract based on the policy information and customer information; The smart contract is broadcasted to the blockchain nodes using a peer-to-peer network so that the blockchain nodes reach a consensus on the smart contract; the blockchain nodes are used to indicate the policyholder and the claims agency in the policy information; When the blockchain nodes reach a consensus on the smart contract within a preset time, a smart contract set is obtained; Packing the set of smart contracts into blocks, and broadcasting the set of smart contracts in the form of blocks to the blockchain nodes, so that each blockchain node verifies the set of smart contracts, and when the verification passes, deploying the smart contract to the blockchain network; Obtaining a claim verification request, wherein the claim verification request includes a target customer identifier; Based on the factory contract and the target customer identifier, the contract address corresponding to the target customer identifier is obtained; based on the factory contract and the target customer identifier, the contract address corresponding to the target customer identifier is obtained, including converting the original customer identifier stored in the factory contract into an array to be traversed of an array type; wherein each original customer identifier in the array to be traversed corresponds to an index value; the index value is used to map the contract address corresponding to the original customer identifier; according to the target customer identifier, the array to be traversed is iterated and traversed using an iterator to determine the index value corresponding to the target customer identifier; according to the index value, the contract address corresponding to the target customer identifier is obtained; Based on the deployment address, the smart contract corresponding to the contract address is called; wherein the smart contract is used to describe the policy information; the smart contract includes a main contract and an associated contract; based on the deployment address, the smart contract corresponding to the contract address is called, including, based on the deployment address, calling the main contract corresponding to the contract address; obtaining a contract registry, the contract registry is used to describe the address dependency relationship between the factory contract and the associated contract; based on the address dependency relationship described in the contract registry, determining the associated address of each associated contract according to the deployment address; according to the associated address, calling the associated contract corresponding to the associated address; The insurance policy information described in the smart contract is compared with the block data corresponding to the insurance policy information stored in the blockchain network to obtain the claim verification result.

2. The blockchain-based insurance claims method according to claim 1, characterized in that: The claim verification request includes: Real-time monitoring of flight data collected by external traffic systems; wherein the flight data includes flight identification and flight status; According to the flight identifier, customers who have purchased insurance on the flight corresponding to the flight identifier are taken as target customers; When the flight status is abnormal, the claim verification request is generated according to the target customer identifier of the target customer.

3. The blockchain-based insurance claims method according to claim 1, characterized in that: Before calling the smart contract corresponding to the contract address based on the deployment address, the blockchain-based insurance claims method further includes: Obtaining a counter contract corresponding to the target customer identifier; The type-safe calculation function is called to update the count variable in the counter contract to obtain the count variable value corresponding to the client identifier; the count variable value is used to indicate the number of calls to the smart contract.

4. The blockchain-based insurance claims method according to claim 1, characterized in that: After the step of comparing the policy information described in the smart contract with the block data corresponding to the policy information stored in the blockchain network to obtain the claim verification result, the blockchain-based insurance claim settlement method further includes: If the claim verification result is true, then whether the claim is established is determined based on the policy information described in the smart contract; When the claim conditions in the policy information are met, the claim amount is obtained; The transfer service is called to perform a claim payment operation based on the customer information in the policy information and the claim amount.

5. An insurance claims settlement device based on blockchain, characterized in that: Applied to a blockchain network, wherein a factory contract is deployed in the blockchain network, and the factory contract is used to manage the contract addresses of multiple smart contracts deployed in the blockchain network; The factory contract corresponds to a deployment address; the blockchain-based insurance claim settlement device includes: A smart contract creation module, used to obtain policy information and customer information, and create a smart contract based on the policy information and customer information; A broadcast module, used to broadcast the smart contract to blockchain nodes using a peer-to-peer network so that the blockchain nodes reach a consensus on the smart contract; the blockchain nodes are used to indicate the policyholder and the claims agency in the policy information; A consensus module; used to obtain a smart contract set when the blockchain nodes reach a consensus on the smart contract within a preset time; A deployment module, used to package the set of smart contracts into blocks, and broadcast the set of smart contracts in the form of blocks to the blockchain nodes, so that each blockchain node verifies the set of smart contracts, and when the verification passes, deploys the smart contract to the blockchain network; A claim verification request acquisition module, used to obtain a claim verification request, wherein the claim verification request includes a target customer identifier; A contract address acquisition module, used to acquire a contract address corresponding to the target customer identifier based on the factory contract and the target customer identifier; The contract address acquisition module includes a type conversion unit, a traversal unit and a contract address acquisition unit; Convert the original customer identifier stored in the factory contract into an array to be traversed of an array type; wherein each original customer identifier in the array to be traversed corresponds to an index value; and the index value is used to map the contract address corresponding to the original customer identifier; The traversal unit is used to iterate the array to be traversed using an iterator according to the target customer identifier, and determine the index value corresponding to the target customer identifier; The contract address acquisition unit is used to acquire the contract address corresponding to the target customer identifier according to the index value; A smart contract calling module, used to call the smart contract corresponding to the contract address based on the deployment address; wherein the smart contract is used to describe the policy information; the smart contract includes a main contract and an associated contract; the smart contract calling module includes a contract registry acquisition unit, an associated address determination unit and an associated contract calling unit; The contract registry acquisition unit is used to acquire a contract registry, where the contract registry is used to describe the address dependency relationship between the factory contract and the associated contract; The associated address determining unit is used to determine the associated address of each associated contract according to the deployment address based on the address dependency relationship described in the contract registry; The associated contract calling unit is used to call the associated contract corresponding to the associated address according to the associated address; The claim verification module is used to compare the policy information described in the smart contract with the block data corresponding to the policy information stored in the blockchain network to obtain the claim verification result.

6. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the blockchain-based insurance claims settlement method as described in any one of claims 1 to 4 are implemented.

7. A computer storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the blockchain-based insurance claims settlement method as described in any one of claims 1 to 4 are implemented.