Insurance policy processing method and system based on blockchain
By forming smart contracts on the blockchain and performing digital signatures, the problems of data asynchronousness and information asymmetry in policy processing are solved, transparent traceability of information and protection of user privacy are achieved, ensuring data synchronization and security. .
Patent Information
- Application Number
- CN202210581188.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-26
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-05-26
AI Technical Summary
The existing policy processing methods suffer from data asynchronous and information asymmetry problems, making it difficult to protect user privacy, and dishonest service providers can modify the contract content at will.
Adopting a blockchain-based policy processing method, the policy information purchased by the user is formed into a smart contract, digitally signed using the private key, and sent to the distributed network to achieve data synchronization and information symmetry, ensuring information transparency, traceability, and protection Customer Privacy.
It achieves synchronization and transparent traceability of policy information, protects user privacy, prevents dishonest behavior, and ensures data security and consistency.
Smart Images

Figure CN114896616B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain-based insurance policy processing method and system. Background Art
[0002] After the insurance policy occurs, subsequent preservation-related businesses will be generated, such as: preservation items of core content: claims and payments; preservation items of non-core content: most basic services (cancellation, change, management services) and additional services, etc.
[0003] Protection products generally have a payment period, and the corresponding insurance policies have cash values from the insurance company. After the insured or insured unit purchases the insurance policy (i.e. the above-mentioned protection product), after paying the premiums for different years, the insurance company will promise to give the subscriber a return table divided by years on specific dates in different years in the future. In this way, the policy holder can redeem the relevant policy value from the insurance company according to different policy terms, or return the policy to get the cash value of the current year.
[0004] For people who purchase insurance policies, when they encounter financial difficulties, they can mortgage the policy to a bank, or borrow the policy value from the insurance company, or conduct corresponding insurance transfer transactions.
[0005] In related technologies, information such as insurance policy contracts and values are stored in the central databases of banks and insurance companies, mainly relying on reconciliation information. However, due to the abuse of power by the center, insurance policies may be tampered with at will; moreover, the data between different institutional service platforms are not synchronized, resulting in asymmetric insurance policy information; in addition, dishonest service providers can modify the contract content without user authorization, making it difficult to protect user privacy.
[0006] From this we can see that the existing insurance policy processing method has problems with data asynchrony and information asymmetry. Summary of the invention
[0007] In view of this, an embodiment of the present invention provides a blockchain-based insurance policy processing method and system to achieve data synchronization, information symmetry, ensure information transparency and traceability, and protect customer privacy.
[0008] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0009] The first aspect of the embodiment of the present invention discloses a blockchain-based insurance policy processing method, which is applicable to a user node, where the user node is a node on the blockchain. The method includes:
[0010] Form a smart contract with the information of each insurance policy purchased by the user, and create a contract address for the smart contract and the pre-created personal account, wherein the smart contract includes a transaction summary, transaction content and a data signature, and the contract address is used to record and track the details of changes to the smart contract;
[0011] Digitally sign the smart contract using the user's private key, and send the digitally signed smart contract to the distributed network;
[0012] Sending a contract information viewing request to the blockchain, so that other nodes on the blockchain authenticate the user based on the contract information viewing request;
[0013] After obtaining the verification success information, obtaining the corresponding digitally signed smart contract in the distributed network;
[0014] If the digitally signed smart contract needs to be changed, a contract information change request is sent to the blockchain, so that other nodes on the blockchain accept the contract information change request. After the acceptance is completed, the first private key signature and the secure digital identity are updated based on the second private key, and the contract processing result is digitally signed and sent to the distributed network, wherein the second private key, the first private key signature and the secure digital identity are all pre-generated;
[0015] Get and view the contract processing result.
[0016] Optionally, in the process of forming the smart contract, the following steps are further included:
[0017] Generate a first private key and a second private key of the user;
[0018] Based on the first private key and the second private key, using the asymmetric algorithm RSA, respectively generate the first public key and the second public key of the user, and perform hash encryption on the first public key and the second public key to generate a secure digital identity;
[0019] The secure digital identity, the first private key signature, the first public key, the second public key and the secure digital identity are uploaded to the blockchain, so that other nodes on the blockchain bind the first public key, the second public key and the secure digital identity.
[0020] Optionally, sending the obtained digitally signed smart contract to the distributed network includes:
[0021] Using broadcast encryption, the other nodes on the blockchain are equally divided into n subsets, where n is a positive integer, and each subset is assigned a key;
[0022] Selecting a session key, encrypting the session key using the key corresponding to each of the subsets, and encrypting the transaction content using the session key to obtain an encrypted message, wherein the encrypted message includes a broadcast header and a broadcast body;
[0023] The encrypted message is sent to the distributed network.
[0024] Optionally, after obtaining the verification success information, obtaining the corresponding digitally signed smart contract in the distributed network includes:
[0025] After obtaining the verification success information, obtaining the corresponding encrypted message in the distributed network;
[0026] Searching for the encrypted data of the set to which the user belongs in the broadcast header;
[0027] Decrypting the encrypted data using a private key to obtain the session key;
[0028] Decrypting the broadcast body using the session key to obtain the smart contract content;
[0029] Accordingly, if the digitally signed smart contract needs to be changed, a contract information change request is sent to the blockchain, including:
[0030] If the content of the smart contract needs to be changed, a contract information change request is sent to the blockchain.
[0031] A second aspect of an embodiment of the present invention discloses a blockchain-based insurance policy processing method, which is applicable to a verification node, where the verification node is a node on the blockchain. The method includes:
[0032] Obtaining a first public key, a second public key, and a secure digital identity on the blockchain, wherein the first public key and the second public key are generated based on the first private key and the second private key of the user generated when the smart contract is formed, respectively using the asymmetric algorithm RSA, and uploaded to the blockchain by the user node, and the secure digital identity is obtained by hashing the first public key and the second public key, and uploaded to the blockchain by the user node;
[0033] Binding the first public key, the second public key and the secure digital identity.
[0034] Optionally, also include:
[0035] Obtain a request to view contract information on the blockchain;
[0036] Based on the contract information viewing request, obtain the hash-encrypted public key to be verified, the hash-encrypted second public key, the secure digital identity and the first private key signature uploaded by the user node to the blockchain;
[0037] Using the secure digital identity and the first private key signature, verify the hash-encrypted public key to be verified;
[0038] If the verification is successful, the user's identity is determined to be legitimate, and the verification success information is sent to the blockchain;
[0039] updating the first private key signature and the secure digital identity based on the second private key;
[0040] If the verification fails, the user identity is determined to be illegal, and the verification failure information is sent to the blockchain.
[0041] Optionally, also include:
[0042] Binding a pre-created personal account corresponding to the user to the secure digital identity based on the first public key and the second public key;
[0043] Based on the second private key signature, the personal account is retrieved.
[0044] The third aspect of the embodiment of the present invention discloses a blockchain-based insurance policy processing method, which is applicable to a smart contract processing node, where the smart contract processing node is a node on the blockchain. The method includes:
[0045] Obtaining a contract information change request on the blockchain;
[0046] According to the contract information change request, the smart contract information that needs to be changed by the user node on the blockchain is obtained, and the smart contract information is processed to obtain the contract processing result;
[0047] After acceptance is completed, the first private key signature and the secure digital identity are updated based on the second private key, and the contract processing result is digitally signed and sent to the distributed network, so that other nodes on the blockchain can obtain and view the contract processing result, wherein the second private key, the first private key signature and the secure digital identity are all pre-generated.
[0048] A fourth aspect of an embodiment of the present invention discloses a blockchain-based insurance policy processing system, which is applicable to a user node, where the user node is a node on the blockchain. The system includes:
[0049] The contract formation module is used to form a smart contract with the information of each insurance policy purchased by the user, and to create a contract address for the smart contract and the pre-created personal account, wherein the smart contract includes a transaction summary, transaction content and a data signature, and the contract address is used to record and track the details of changes to the smart contract;
[0050] A digital signature module, used to digitally sign the smart contract using the user's private key, and send the digitally signed smart contract to the distributed network;
[0051] An authority determination module, used to send a contract information viewing request to the blockchain, so that other nodes on the blockchain authenticate the user based on the contract information viewing request;
[0052] An acquisition module, used to acquire the corresponding digitally signed smart contract in the distributed network after obtaining the verification success information;
[0053] A change module, for sending a contract information change request to the blockchain if the digitally signed smart contract needs to be changed, so that other nodes on the blockchain accept the contract information change request, and after acceptance, update the first private key signature and the secure digital identity based on the second private key, and send the contract processing result to the distributed network after digitally signing it, wherein the second private key, the first private key signature and the secure digital identity are all pre-generated;
[0054] The viewing module is used to obtain and view the contract processing results.
[0055] Optionally, in the process of forming a smart contract, the contract forming module is further used to:
[0056] Generate a first private key and a second private key of the user; based on the first private key and the second private key, use an asymmetric algorithm RSA to generate a first public key and a second public key of the user respectively, and hash the first public key and the second public key to generate a secure digital identity; upload the secure digital identity, the first private key signature, the first public key, the second public key and the secure digital identity to the blockchain, so that other nodes on the blockchain bind the first public key, the second public key and the secure digital identity.
[0057] Based on the above-mentioned embodiments of the present invention, a blockchain-based insurance policy processing method and system are provided, which are applicable to user nodes, and the user node is a node on the blockchain. The method includes: forming a smart contract with the information of each insurance policy purchased by the user, and creating a contract address for the smart contract and a pre-created personal account, wherein the smart contract includes a transaction summary, transaction content and a data signature, and the contract address is used to record and track the details of changes in the smart contract; digitally signing the smart contract with the private key of the user, and sending the obtained digitally signed smart contract to the distributed network; sending a contract information viewing request to the blockchain, so that the smart contract on the blockchain can be viewed. Other nodes authenticate the user based on the contract information viewing request; after obtaining the verification success information, obtain the corresponding digitally signed smart contract in the distributed network; if the digitally signed smart contract needs to be changed, send the contract information change request to the blockchain, so that other nodes on the blockchain accept it according to the contract information change request, and after acceptance, update the first private key signature and secure digital identity based on the second private key, and digitally sign the contract processing result and send it to the distributed network, wherein the second private key, the first private key signature and the secure digital identity are all pre-generated; obtain the contract processing result and view it. In this solution, each policy information is formed into a smart contract, a contract address is created for the smart contract and the personal account, and the smart contract is digitally signed and sent to the distributed network. Customers with different identities view the content of the smart contract according to the identity verification situation, so as to achieve data synchronization, information symmetry, ensure information transparency and traceability, and protect customer privacy. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0059] Figure 1 A flowchart of a blockchain-based insurance policy processing method provided by an embodiment of the present invention;
[0060] Figure 2 A schematic diagram of a process of sending a digitally signed smart contract to a distributed network provided by an embodiment of the present invention;
[0061] Figure 3 A schematic diagram of a process for obtaining a corresponding digitally signed smart contract in a distributed network provided by an embodiment of the present invention;
[0062] Figure 4 A flowchart of another insurance policy processing method based on blockchain provided by an embodiment of the present invention;
[0063] Figure 5 A schematic diagram of another process for obtaining a corresponding digitally signed smart contract in a distributed network provided by an embodiment of the present invention;
[0064] Figure 6 A schematic diagram of the structure of a blockchain-based insurance policy processing system provided in an embodiment of the present invention;
[0065] Figure 7 A schematic diagram of the structure of another insurance policy processing system based on blockchain provided in an embodiment of the present invention;
[0066] Figure 8 A schematic diagram of the structure of another insurance policy processing system based on blockchain provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0067] 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 only 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.
[0068] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0069] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein.
[0070] As can be seen from the background technology, the existing insurance policy processing method has problems such as data asynchrony and information asymmetry.
[0071] Therefore, an embodiment of the present invention provides a blockchain-based insurance policy processing method and system. In this solution, each insurance policy information is formed into a smart contract, a contract address is created for the smart contract and the personal account, and the smart contract is digitally signed and sent to the distributed network. Customers with different identities can view the content of the smart contract based on their identity authentication, thereby achieving data synchronization, information symmetry, ensuring information transparency and traceability, and protecting customer privacy.
[0072] like Figure 1 As shown, it is a flowchart of a blockchain-based insurance policy processing method provided in an embodiment of the present invention, and the method is applicable to user nodes.
[0073] It should be noted that a user node is a node on the blockchain.
[0074] It should be noted that blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm.
[0075] The blockchain-based insurance policy processing method mainly includes the following steps:
[0076] Step S101: Form a smart contract with the information of each insurance policy purchased by the user, and create a contract address for the smart contract and the pre-created personal account.
[0077] In step S101, the smart contract includes a transaction summary, transaction content and a data signature.
[0078] The contract address is used to record and track the details of changes to the smart contract.
[0079] Smart contracts can be represented by Contract Account, and personal accounts can be represented by Externally OwnedAccount.
[0080] In the specific implementation of step S101, a personal account is created for each user in advance, the user node obtains the insurance policies purchased by each user through different channels, and obtains the policy information corresponding to each policy, forms each policy information into a smart contract, and creates a contract address for the smart contract and the personal account, that is, the smart contract has an address like the personal account. Every time the smart contract changes, the details of the smart contract change are tracked through the contract address to ensure that the information is transparent and traceable.
[0081] Preferably, in a specific embodiment, the bank creates a contract address so that the smart contract has an address like a personal account.
[0082] Optionally, the process of executing step S101 to form a smart contract with information of each insurance policy purchased by the user may further include:
[0083] Step S11: Generate a user's first private key and second private key.
[0084] In the process of implementing step S11, when the smart contract is generated, the user's first private key and second private key are generated along with the creation of the data identity.
[0085] Step S12: Based on the first private key and the second private key, the asymmetric algorithm RSA is used to generate the user's first public key and the second public key respectively, and the first public key and the second public key are hashed to generate a secure digital identity.
[0086] Step S13: Upload the secure digital identity, the first private key signature, the first public key, the second public key and the secure digital identity to the blockchain, so that other nodes on the blockchain bind the first public key, the second public key and the secure digital identity.
[0087] In step S13, other nodes include but are not limited to verification nodes and smart contract processing nodes.
[0088] In practical applications, nodes include but are not limited to insurance companies, regulatory agencies, banks and investment institutions.
[0089] In the process of specifically implementing step S13, the user node uploads the secure digital identity, the first private key signature, the first public key, the second public key and the secure digital identity to the blockchain, so that other nodes on the blockchain bind the first public key, the second public key and the secure digital identity. In actual applications, the user node uploads the secure digital identity and the first private key signature to the blockchain, and uploads the first public key, the second public key and the secure digital identity to the verification node (which can be understood as the authentication center), so that the verification node binds the first public key, the second public key and the secure digital identity.
[0090] Step S102: Digitally sign the smart contract using the user's private key, and send the digitally signed smart contract to the distributed network.
[0091] It should be noted that a distributed network can be understood as a node on the blockchain.
[0092] In the specific implementation of step S102, the user node digitally signs the corresponding smart contract through the user's private key to obtain a digitally signed smart contract, and sends the digitally signed smart contract to the distributed network.
[0093] Optionally, executing step S102 digitally signs the smart contract using the user's private key, and sending the digitally signed smart contract to the distributed network, such as Figure 2As shown, a schematic diagram of a process of sending a digitally signed smart contract to a distributed network provided by an embodiment of the present invention mainly includes the following steps:
[0094] Step S201: Use broadcast encryption to equally divide other nodes on the blockchain to obtain n subsets.
[0095] In step S201, n is a positive integer, and each subset is assigned a key.
[0096] In the specific implementation process of step S201, when the user node sends the digitally signed smart contract to the distributed network, a broadcast encryption method is used to equally divide other nodes on the blockchain to obtain n subsets, which can be represented as subsets L1, L2, L3, L4...
[0097] It can be understood that each subset is equivalent to a set.
[0098] It should be noted that each set Li is assigned a key Ki group <first public key, second private key> (1≤i≤4), and the system assigns secret information Pu to each user u, so that for users vu∈Li, Li can be calculated, that is, each user belongs to several sets, and the user holds the keys corresponding to all the sets to which he belongs.
[0099] Step S202: Select a session key, encrypt the session key using the key corresponding to each subset, and encrypt the transaction content using the session key to obtain an encrypted message.
[0100] In step S202, the session key may be represented by K.
[0101] The key corresponding to the subset can be expressed as {Ki1, Ki2, Ki3, Ki4}.
[0102] The encrypted message includes a broadcast header and a broadcast body.
[0103] In the specific implementation of step S202, a session key is selected, the session key is encrypted using the keys corresponding to each subset, and the transaction content (which can be understood as the sent message M) is encrypted using the session key to obtain an encrypted message.
[0104] It can be understood that the broadcaster selects a session key K and encrypts the session key K with the keys {Ki1, Ki2, Ki3, Ki4} corresponding to these partitioned subsets, and the sent message M is encrypted with the session key K to obtain an encrypted message, that is, the ciphertext is in the form of <[i1, i2, i3, i4, EKi1(k), EKi2(k), EKi3(k), EKi4(k)], Ek(M)>.
[0105] The part in the square brackets is called the broadcast header, and Ek(M) is called the broadcast body.
[0106] Step S203: Send the encrypted message to the distributed network.
[0107] Step S103: Send the contract information viewing request to the blockchain, so that other nodes on the blockchain can authenticate the user based on the contract information viewing request.
[0108] In the specific implementation of step S103, the user node can log in to the personal account at any time to view the smart contract information. That is to say, the user node initiates a corresponding request according to the demand, which includes but is not limited to a preservation request, a pledge loan application request and a contract information viewing request. Taking the contract information viewing request as an example, the user node sends the contract information viewing request to the blockchain, so that other nodes on the blockchain authenticate the user based on the contract information viewing request. If the verification is successful, the user identity is determined to be legal, and the verification success information is sent to the blockchain. If the verification fails, the user identity is determined to be illegal, and the verification failure information is sent to the blockchain.
[0109] Step S104: After obtaining the verification success information, obtain the corresponding digitally signed smart contract in the distributed network.
[0110] In the specific implementation process of step S104, the user node obtains the verification success information, indicating that the user identity is legal. After obtaining the verification success information, the corresponding digitally signed smart contract in the distributed network is obtained.
[0111] Optionally, after obtaining the verification success information, executing step S104, a process of obtaining the corresponding digitally signed smart contract in the distributed network is performed, such as Figure 3 As shown, a schematic diagram of a process for obtaining a corresponding digitally signed smart contract in a distributed network provided by an embodiment of the present invention mainly includes the following steps:
[0112] Step S301: After obtaining the verification success information, obtain the corresponding encrypted message in the distributed network.
[0113] In the specific implementation process of step S301, the user node obtains verification success information, indicating that the user identity is legal. After obtaining the verification success information, the corresponding encrypted message in the distributed network is obtained.
[0114] Step S302: Search the broadcast header for the encrypted data of the set to which the user belongs.
[0115] In the specific process of implementing step S302, the user node searches for the encrypted data of the set to which the user belongs in the broadcast header, that is, searches for the encrypted data of the set to which the user belongs in the broadcast header.
[0116] Step S303: Decrypt the encrypted data using the private key to obtain the session key.
[0117] In the specific process of implementing step S303, the user node decrypts the encrypted data using its own private key to obtain the session key K.
[0118] Step S304: Use the session key to decrypt the broadcast body to obtain the smart contract content.
[0119] In the specific implementation process of step S304, the user node uses the session key K to decrypt the broadcast body to obtain the smart contract content.
[0120] Step S105: If a digitally signed smart contract needs to be changed, a contract information change request is sent to the blockchain, so that other nodes on the blockchain can accept the contract information change request. After the acceptance is completed, the first private key signature and secure digital identity are updated based on the second private key, and the contract processing result is digitally signed and sent to the distributed network.
[0121] In step S105, the second private key, the first private key signature and the secure digital identity are all generated in advance.
[0122] In the specific implementation process of step S105, after the user identity authentication is passed, if the user node needs to change the content corresponding to the digitally signed smart contract, a contract information change request is initiated, and the contract information change request is sent to the blockchain, so that other nodes on the blockchain obtain the user's changed smart contract information according to the contract information change request, and accept the smart contract information to obtain the contract processing result. After the acceptance is completed, the first private key signature and the secure digital identity are updated based on the second private key, and the contract processing result is digitally signed and sent to the distributed network.
[0123] Optionally, in a specific embodiment, if the content of the smart contract needs to be changed, a contract information change request is sent to the blockchain.
[0124] Step S106: Get and view the contract processing results.
[0125] In the specific implementation of step S106, the user node obtains the corresponding contract processing result in the distributed network and checks the contract processing result.
[0126] A blockchain-based insurance policy processing method provided by an embodiment of the present invention is applicable to a user node, which is a node on a blockchain. The information of each insurance policy purchased by the user is formed into a smart contract, and a contract address is created for the smart contract and a pre-created personal account, wherein the smart contract includes a transaction summary, transaction content and a data signature, and the contract address is used to record and track the details of the changes in the smart contract; the smart contract is digitally signed by the user's private key, and the obtained digitally signed smart contract is sent to a distributed network; a contract information viewing request is sent to the blockchain, so that other nodes on the blockchain authenticate the user based on the contract information viewing request; after obtaining the verification success information, the corresponding digitally signed smart contract in the distributed network is obtained; if the digitally signed smart contract needs to be changed, the contract information change request is sent to the blockchain, so that other nodes on the blockchain accept it according to the contract information change request, and after the acceptance is completed, the first private key signature and the secure digital identity are updated based on the second private key, and the contract processing result is digitally signed and sent to the distributed network, wherein the second private key, the first private key signature and the secure digital identity are all pre-generated; the contract processing result is obtained and viewed. In this solution, each policy information is formed into a smart contract, a contract address is created for the smart contract and personal account, and the smart contract is digitally signed and sent to the distributed network. Customers with different identities can view the content of the smart contract based on their identity authentication, thereby achieving data synchronization, information symmetry, ensuring information transparency and traceability, and protecting customer privacy.
[0127] Based on the above embodiments of the present invention Figure 1 The blockchain-based insurance policy processing method shown in Figure 4 As shown, it is a flow chart of another insurance policy processing method based on blockchain provided in an embodiment of the present invention, which is applicable to verification nodes.
[0128] It should be noted that a verification node is a node on the blockchain.
[0129] In the embodiment of the present invention, the verification node may be understood as an authentication center.
[0130] The method mainly includes the following steps:
[0131] Step S401: Obtain the first public key, the second public key and the secure digital identity on the blockchain.
[0132] In step S401, the first public key and the second public key are generated based on the first private key and the second private key of the user generated when the smart contract is formed, respectively using the asymmetric algorithm RSA, and are uploaded to the blockchain by the user node.
[0133] The secure digital identity is obtained by hashing the first public key and the second public key, and uploaded to the blockchain by the user node.
[0134] In the specific implementation process of step S401, the verification node obtains the first public key, the second public key and the secure digital identity uploaded to the blockchain by the user node.
[0135] Step S402: Bind the first public key, the second public key and the secure digital identity.
[0136] In the specific implementation of step S402, the verification node binds the first public key, the second public key and the secure digital identity, that is, the authentication center binds the first public key, the second public key and the secure digital identity.
[0137] Step S403: Obtain a contract information viewing request on the blockchain.
[0138] In the specific implementation process of step S403, the user node can log in to the personal account at any time to view the smart contract information. That is to say, the user node initiates a corresponding request according to the demand. When the request is a contract information viewing request, the user node sends the contract information viewing request to the blockchain, and the verification node obtains the contract information viewing request on the blockchain.
[0139] Step S404: Based on the contract information viewing request, obtain the hash-encrypted public key to be verified, the hash-encrypted second public key, the secure digital identity and the first private key signature uploaded by the user node to the blockchain.
[0140] In the process of implementing step S404, based on the contract information viewing request, the verification node obtains the data required for subsequent operations, that is, obtains the hash-encrypted public key to be verified, the hash-encrypted second public key, the secure digital identity and the first private key signature uploaded by the user node to the blockchain.
[0141] Step S405: Use the secure digital identity and the first private key signature to verify the hash-encrypted public key to be verified.
[0142] It should be noted that if the verification passes, step S406 is executed, and if the verification fails, step S408 is executed.
[0143] In the specific implementation of step S405, the verification node verifies the hash-encrypted public key to be verified using the secure digital identity and the first private key signature. That is, the verification node verifies the hash-encrypted public key to be verified with the secure digital identity and the first private key signature.
[0144] Step S406: Determine that the user identity is legitimate and send verification success information to the blockchain.
[0145] In the specific implementation process of step S406, after the verification node determines that the hash-encrypted public key to be verified has been verified, it further determines that the user identity is qualified and sends the verification success information to the blockchain.
[0146] Step S407: Update the first private key signature and the secure digital identity based on the second private key.
[0147] Step S408: Determine that the user identity is illegal and send verification failure information to the blockchain.
[0148] In the specific implementation process of step S408, after the verification node determines that the hash-encrypted public key to be verified has failed verification, it further determines that the user identity is unqualified and sends the verification failure information to the blockchain.
[0149] Step S409: Based on the first public key and the second public key, bind the pre-created personal account and secure digital identity of the corresponding user.
[0150] In the process of implementing step S409, a personal account corresponding to the user is created in advance, and the verification node binds the user's personal account with the secure digital identity based on the first public key and the second public key. That is, the authentication center binds the user's personal account with the secure digital identity based on the first public key and the second public key.
[0151] Step S410: Retrieve the personal account based on the second private key signature.
[0152] In the process of implementing step S410, the verification node retrieves the personal account corresponding to the user based on the second private key signature. That is to say, the authentication center retrieves the personal account corresponding to the user based on the second private key signature. It can be understood that the authentication center retrieves the protocol default key based on the second private key signature.
[0153] A blockchain-based insurance policy processing method is provided based on an embodiment of the present invention. The first public key, the second public key and the secure digital identity are first bound. After the hash-encrypted public key to be verified is verified, the user's corresponding personal account and the secure digital identity are bound based on the first public key and the second public key, thereby realizing the retrieval confirmation of the personal account, further enhancing the verification security, and being able to achieve data synchronization, information symmetry, ensure information transparency and traceability, and protect customer privacy.
[0154] Based on the above embodiments of the present invention Figure 1 and Figure 4 The blockchain-based insurance policy processing method shown in Figure 5 As shown, it is a flow chart of another insurance policy processing method based on blockchain provided in an embodiment of the present invention, which is applicable to smart contract processing nodes.
[0155] It should be noted that the smart contract processing node is a node on the blockchain.
[0156] The method mainly includes the following steps:
[0157] Step S501: Obtain a contract information change request on the blockchain.
[0158] In the specific implementation process of step S501, after the user identity authentication is passed, if the user node needs to change the content corresponding to the digitally signed smart contract, a contract information change request is initiated and sent to the blockchain, and the smart contract processing node obtains the contract information change request on the blockchain.
[0159] Step S502: According to the contract information change request, the smart contract information that needs to be changed by the user node on the blockchain is obtained, and the smart contract information is accepted to obtain the contract processing result.
[0160] In the process of specifically implementing step S502, the smart contract processing node obtains the smart contract information that needs to be changed by the user node on the blockchain according to the contract information change request, accepts the smart contract information, and obtains the contract processing result.
[0161] Step S503: After the acceptance is completed, the first private key signature and the secure digital identity are updated based on the second private key, and the contract processing result is digitally signed and sent to the distributed network, so that other nodes on the blockchain can obtain and view the contract processing result.
[0162] In step S503, the second private key, the first private key signature and the secure digital identity are all generated in advance.
[0163] In the specific implementation process of step S503, after the smart contract processing node completes the acceptance of the smart contract information, it updates the first private key signature and the secure digital identity based on the second private key, and digitally signs the contract processing result and sends it to the distributed network, so that other nodes on the blockchain can obtain and view the contract processing result, that is, the user node or verification node can obtain and view the contract processing result.
[0164] A blockchain-based insurance policy processing method provided by an embodiment of the present invention first obtains the smart contract information that needs to be changed by the user node on the blockchain according to the contract information change request, then accepts the smart contract information, and digitally signs the obtained contract processing result and sends it to the distributed network, so that other nodes on the blockchain can obtain and view the contract processing result, thereby achieving data synchronization, information symmetry, ensuring information transparency and traceability, and protecting customer privacy.
[0165] The above-mentioned embodiment of the present invention Figure 1Corresponding to the blockchain-based insurance policy processing method shown in the embodiment of the present invention, an insurance policy processing system based on blockchain is also provided. Figure 6 As shown, the system is applicable to user nodes, which are nodes on the blockchain. The system includes: a contract formation module 61, a digital signature module 62, an authority determination module 63, an acquisition module 64, a change module 65 and a viewing module 66.
[0166] The contract formation module 61 is used to form a smart contract with the information of each insurance policy purchased by the user, and to create a contract address for the smart contract and a pre-created personal account.
[0167] Among them, the smart contract includes transaction summary, transaction content and data signature, and the contract address is used to record and track the details of changes in the smart contract.
[0168] The digital signature module 62 is used to digitally sign the smart contract using the user's private key and send the obtained digitally signed smart contract to the distributed network.
[0169] The authority determination module 63 is used to send the contract information viewing request to the blockchain, so that other nodes on the blockchain can authenticate the user based on the contract information viewing request.
[0170] The acquisition module 64 is used to obtain the corresponding digitally signed smart contract in the distributed network after obtaining the verification success information.
[0171] The change module 65 is used to send a contract information change request to the blockchain if a digitally signed smart contract needs to be changed, so that other nodes on the blockchain can accept the contract information change request. After the acceptance is completed, the first private key signature and the secure digital identity are updated based on the second private key, and the contract processing result is digitally signed and sent to the distributed network.
[0172] Among them, the second private key, the first private key signature and the secure digital identity are all pre-generated.
[0173] The viewing module 66 is used to obtain and view the contract processing results.
[0174] Optional, based on the above Figure 6 The illustrated contract formation module 61, in the process of forming a smart contract, is also used to:
[0175] Generate a first private key and a second private key of the user; based on the first private key and the second private key, use the asymmetric algorithm RSA to generate a first public key and a second public key of the user respectively, and hash the first public key and the second public key to generate a secure digital identity; upload the secure digital identity, the first private key signature, the first public key, the second public key and the secure digital identity to the blockchain, so that other nodes on the blockchain bind the first public key, the second public key and the secure digital identity.
[0176] Optional, based on the above Figure 6 The digital signature module 62 shown includes:
[0177] The equal division unit is used to equally divide other nodes on the blockchain into n subsets by using broadcast encryption.
[0178] Where n is a positive integer and each subset is assigned a key.
[0179] The encryption unit is used to select a session key, encrypt the session key using the keys corresponding to each subset, and encrypt the transaction content using the session key to obtain an encrypted message.
[0180] The encrypted message includes a broadcast header and a broadcast body.
[0181] The sending unit is used to send the encrypted message to the distributed network.
[0182] Optional, based on the above Figure 6 The acquisition module 64 shown is specifically used for:
[0183] After obtaining the verification success information, obtain the corresponding encrypted message in the distributed network; find the encrypted data of the set to which the user belongs in the broadcast header; use the private key to decrypt the encrypted data to obtain the session key; use the session key to decrypt the broadcast body to obtain the smart contract content.
[0184] Accordingly, the changing module 65 is specifically used for:
[0185] If the content of the smart contract needs to be changed, a contract information change request is sent to the blockchain.
[0186] It should be noted that the specific principles and execution processes of each module in the blockchain-based insurance policy processing system disclosed in the above-mentioned embodiment of the present invention are the same as the blockchain-based insurance policy processing method implemented in the above-mentioned present invention. Please refer to the corresponding parts of the blockchain-based insurance policy processing method disclosed in the above-mentioned embodiment of the present invention, and no further details will be given here.
[0187] A blockchain-based insurance policy processing system provided by an embodiment of the present invention is applicable to a user node, which is a node on a blockchain. The information of each insurance policy purchased by the user is formed into a smart contract, and a contract address is created for the smart contract and a pre-created personal account, wherein the smart contract includes a transaction summary, transaction content and a data signature, and the contract address is used to record and track the details of the changes in the smart contract; the smart contract is digitally signed by the user's private key, and the obtained digitally signed smart contract is sent to a distributed network; a contract information viewing request is sent to the blockchain, so that other nodes on the blockchain authenticate the user based on the contract information viewing request; after obtaining the verification success information, the corresponding digitally signed smart contract in the distributed network is obtained; if the digitally signed smart contract needs to be changed, the contract information change request is sent to the blockchain, so that other nodes on the blockchain accept it according to the contract information change request, and after the acceptance is completed, the first private key signature and the secure digital identity are updated based on the second private key, and the contract processing result is digitally signed and sent to the distributed network, wherein the second private key, the first private key signature and the secure digital identity are all pre-generated; the contract processing result is obtained and viewed. In this solution, each policy information is formed into a smart contract, a contract address is created for the smart contract and personal account, and the smart contract is digitally signed and sent to the distributed network. Customers with different identities can view the content of the smart contract based on their identity authentication, thereby achieving data synchronization, information symmetry, ensuring information transparency and traceability, and protecting customer privacy.
[0188] The above-mentioned embodiment of the present invention Figure 4 Corresponding to the blockchain-based insurance policy processing method shown in the embodiment of the present invention, another blockchain-based insurance policy processing system is also provided. Figure 7 As shown, the system is applicable to a verification node, the verification center is a node on the blockchain, and the system includes: a first acquisition module 71 and a first binding module 72.
[0189] The first acquisition module 71 is used to obtain the first public key, the second public key and the secure digital identity on the blockchain.
[0190] Among them, the first public key and the second public key are based on the first private key and the second private key of the user generated when the smart contract is formed, and are generated respectively using the asymmetric algorithm RSA, and uploaded to the blockchain by the user node. The secure digital identity is obtained by hashing the first public key and the second public key, and uploaded to the blockchain by the user node.
[0191] The first binding module 72 is used to bind the first public key, the second public key and the secure digital identity.
[0192] Optional, based on the above Figure 7 The blockchain-based insurance policy processing system shown in the figure is combined with Figure 7 The blockchain-based insurance policy processing system further includes a second acquisition module 73, a verification module 74, a first determination module 75, an update module 76 and a second determination module 77.
[0193] The second acquisition module 73 is used to obtain a contract information viewing request on the blockchain; based on the contract information viewing request, obtain the hash-encrypted public key to be verified, the hash-encrypted second public key, the secure digital identity and the first private key signature uploaded by the user node to the blockchain.
[0194] The verification module 74 is used to verify the hash-encrypted public key to be verified using the secure digital identity and the first private key signature. If the verification passes, the first determination module 75 is executed; if the verification fails, the second determination module 77 is executed.
[0195] The first determination module 75 is used to determine the legitimacy of the user's identity and send the verification success information to the blockchain.
[0196] The updating module 76 is used to update the first private key signature and the secure digital identity based on the second private key.
[0197] The second determination module 77 is used to determine that the user identity is illegal and send the verification failure information to the blockchain.
[0198] Optional, based on the above Figure 7 The blockchain-based insurance policy processing system shown in the figure is combined with Figure 7 The blockchain-based insurance policy processing system further includes a second binding module 78 and a retrieval module 79.
[0199] A second binding module 78, for binding a pre-created personal account of a corresponding user with a secure digital identity based on the first public key and the second public key;
[0200] The retrieval module 79 is used to retrieve the personal account based on the second private key signature.
[0201] It should be noted that the specific principles and execution processes of each module in the blockchain-based insurance policy processing system disclosed in the above-mentioned embodiment of the present invention are the same as the blockchain-based insurance policy processing method implemented in the above-mentioned present invention. Please refer to the corresponding parts of the blockchain-based insurance policy processing method disclosed in the above-mentioned embodiment of the present invention, and no further details will be given here.
[0202] A blockchain-based insurance policy processing system is provided based on an embodiment of the present invention. The first public key, the second public key and the secure digital identity are first bound. After the hash-encrypted public key to be verified is verified, the user's corresponding personal account and the secure digital identity are bound based on the first public key and the second public key, thereby realizing the retrieval confirmation of the personal account, further enhancing the verification security, and being able to achieve data synchronization, information symmetry, ensure information transparency and traceability, and protect customer privacy.
[0203] The above-mentioned embodiment of the present invention Figure 5 Corresponding to the insurance policy processing method based on blockchain shown in the embodiment of the present invention, another insurance policy processing system based on blockchain is also provided. Figure 8 As shown, the system is applicable to a smart contract processing node, which is a node on a blockchain. The system includes: an acquisition module 81, an acceptance module 82, and an update and sending module 83.
[0204] The acquisition module 81 is used to obtain the contract information change request on the blockchain.
[0205] The acceptance module 82 is used to obtain the smart contract information that needs to be changed by the user node on the blockchain according to the contract information change request, and accept the smart contract information to obtain the contract processing result.
[0206] The updating and sending module 83 is used to update the first private key signature and the secure digital identity based on the second private key after the acceptance is completed, and digitally sign the contract processing result and send it to the distributed network, so that other nodes on the blockchain can obtain and view the contract processing result.
[0207] Among them, the second private key, the first private key signature and the secure digital identity are all pre-generated.
[0208] It should be noted that the specific principles and execution processes of each module in the blockchain-based insurance policy processing system disclosed in the above-mentioned embodiment of the present invention are the same as the blockchain-based insurance policy processing method implemented in the above-mentioned present invention. Please refer to the corresponding parts of the blockchain-based insurance policy processing method disclosed in the above-mentioned embodiment of the present invention, and no further details will be given here.
[0209] A blockchain-based insurance policy processing method provided by an embodiment of the present invention first obtains the smart contract information that needs to be changed by the user node on the blockchain according to the contract information change request, then accepts the smart contract information, and digitally signs the obtained contract processing result and sends it to the distributed network, so that other nodes on the blockchain can obtain and view the contract processing result, thereby achieving data synchronization, information symmetry, ensuring information transparency and traceability, and protecting customer privacy.
[0210] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0211] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0212] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A blockchain-based insurance policy processing method, characterized in that: Applicable to a user node, the user node being a node on a blockchain, the method comprising: Form a smart contract with the information of each insurance policy purchased by the user, and create a contract address for the smart contract and the pre-created personal account, wherein the smart contract includes a transaction summary, transaction content and a data signature, and the contract address is used to record and track the details of changes to the smart contract; Digitally sign the smart contract using the user's private key, and send the digitally signed smart contract to the distributed network; Sending a contract information viewing request to the blockchain, so that other nodes on the blockchain authenticate the user based on the contract information viewing request; After obtaining the verification success information, obtaining the corresponding digitally signed smart contract in the distributed network; If the digitally signed smart contract needs to be changed, a contract information change request is sent to the blockchain, so that other nodes on the blockchain accept the contract information change request. After the acceptance is completed, the first private key signature and the secure digital identity are updated based on the second private key, and the contract processing result is digitally signed and sent to the distributed network, wherein the second private key, the first private key signature and the secure digital identity are all pre-generated; Obtain and view the contract processing result; The process of forming the smart contract also includes: generating the first private key and the second private key of the user; based on the first private key and the second private key, using the asymmetric algorithm RSA to generate the first public key and the second public key of the user respectively, and hashing the first public key and the second public key to generate a secure digital identity; uploading the secure digital identity, the first private key signature, the first public key, the second public key and the secure digital identity to the blockchain, so that other nodes on the blockchain bind the first public key, the second public key and the secure digital identity.
2. The method according to claim 1, characterized in that The step of sending the obtained digitally signed smart contract to the distributed network includes: Using broadcast encryption, the other nodes on the blockchain are equally divided into n subsets, where n is a positive integer, and each subset is assigned a key; Selecting a session key, encrypting the session key using the key corresponding to each of the subsets, and encrypting the transaction content using the session key to obtain an encrypted message, wherein the encrypted message includes a broadcast header and a broadcast body; The encrypted message is sent to the distributed network.
3. The method according to claim 1 or 2, characterized in that: After obtaining the verification success information, obtaining the corresponding digitally signed smart contract in the distributed network includes: After obtaining the verification success information, obtaining the corresponding encrypted message in the distributed network; Searching for the encrypted data of the set to which the user belongs in the broadcast header; Decrypting the encrypted data using a private key to obtain the session key; Decrypting the broadcast body using the session key to obtain the smart contract content; Accordingly, if the digitally signed smart contract needs to be changed, a contract information change request is sent to the blockchain, including: If the content of the smart contract needs to be changed, a contract information change request is sent to the blockchain.
4. A blockchain-based insurance policy processing method, characterized in that: Applicable to a verification node, the verification node being a node on a blockchain, the method comprising: Obtaining a first public key, a second public key and a secure digital identity on the blockchain, wherein the first public key and the second public key are based on the first private key and the second private key of the user generated when the smart contract is formed, respectively generated using the asymmetric algorithm RSA, and uploaded to the blockchain by the user node, and the secure digital identity is obtained by hashing the first public key and the second public key, and uploaded to the blockchain by the user node; the user node is used to execute the blockchain-based insurance policy processing method according to any one of claims 1 to 3; Binding the first public key, the second public key and the secure digital identity.
5. The method according to claim 4, characterized in that Also includes: Obtain a request to view contract information on the blockchain; Based on the contract information viewing request, obtain the hash-encrypted public key to be verified, the hash-encrypted second public key, the secure digital identity and the first private key signature uploaded by the user node to the blockchain; Using the secure digital identity and the first private key signature, verify the hash-encrypted public key to be verified; If the verification is successful, the user's identity is determined to be legitimate, and the verification success information is sent to the blockchain; updating the first private key signature and the secure digital identity based on the second private key; If the verification fails, the user identity is determined to be illegal, and the verification failure information is sent to the blockchain.
6. The method according to claim 5, characterized in that Also includes: Binding a pre-created personal account corresponding to the user to the secure digital identity based on the first public key and the second public key; Based on the second private key signature, the personal account is retrieved.
7. A blockchain-based insurance policy processing method, characterized in that: Applicable to a smart contract processing node, the smart contract processing node being a node on a blockchain, the method comprising: Obtaining a contract information change request on the blockchain; According to the contract information change request, the smart contract information that needs to be changed by the user node on the blockchain is obtained, and the smart contract information is accepted to obtain the contract processing result; the user node is used to execute the blockchain-based insurance policy processing method according to any one of claims 1 to 3; After acceptance is completed, the first private key signature and the secure digital identity are updated based on the second private key, and the contract processing result is digitally signed and sent to the distributed network, so that other nodes on the blockchain can obtain and view the contract processing result, wherein the second private key, the first private key signature and the secure digital identity are all pre-generated.
8. A blockchain-based insurance policy processing system, characterized in that: Applicable to a user node, the user node being a node on a blockchain, the system comprises: The contract formation module is used to form a smart contract with the information of each insurance policy purchased by the user, and to create a contract address for the smart contract and the pre-created personal account, wherein the smart contract includes a transaction summary, transaction content and a data signature, and the contract address is used to record and track the details of changes to the smart contract; A digital signature module, used to digitally sign the smart contract using the user's private key, and send the digitally signed smart contract to the distributed network; An authority determination module, used to send a contract information viewing request to the blockchain, so that other nodes on the blockchain authenticate the user based on the contract information viewing request; An acquisition module, used to acquire the corresponding digitally signed smart contract in the distributed network after obtaining the verification success information; A change module, for sending a contract information change request to the blockchain if the digitally signed smart contract needs to be changed, so that other nodes on the blockchain accept the contract information change request, and after acceptance, update the first private key signature and the secure digital identity based on the second private key, and send the contract processing result to the distributed network after digitally signing it, wherein the second private key, the first private key signature and the secure digital identity are all pre-generated; A viewing module, used to obtain and view the contract processing results; In the process of the contract formation module being used to form a smart contract, it is also used to: generate the first private key and the second private key of the user; based on the first private key and the second private key, use the asymmetric algorithm RSA to generate the first public key and the second public key of the user respectively, and hash the first public key and the second public key to generate a secure digital identity; upload the secure digital identity, the first private key signature, the first public key, the second public key and the secure digital identity to the blockchain, so that other nodes on the blockchain bind the first public key, the second public key and the secure digital identity.
