WO2021004058A1 - 基于区块链的数据处理方法和装置 - Google Patents

基于区块链的数据处理方法和装置 Download PDF

Info

Publication number
WO2021004058A1
WO2021004058A1 PCT/CN2020/071842 CN2020071842W WO2021004058A1 WO 2021004058 A1 WO2021004058 A1 WO 2021004058A1 CN 2020071842 W CN2020071842 W CN 2020071842W WO 2021004058 A1 WO2021004058 A1 WO 2021004058A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction
node device
data
service
business object
Prior art date
Application number
PCT/CN2020/071842
Other languages
English (en)
French (fr)
Inventor
王海彬
王晓恬
周凡
Original Assignee
创新先进技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 创新先进技术有限公司 filed Critical 创新先进技术有限公司
Priority to US16/805,641 priority Critical patent/US10771242B2/en
Priority to US16/940,757 priority patent/US20200358597A1/en
Publication of WO2021004058A1 publication Critical patent/WO2021004058A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Definitions

  • This specification relates to the field of data processing technology, and in particular to a data processing method and device based on blockchain.
  • Blockchain technology also known as distributed ledger technology, is an emerging technology in which several computing devices participate in "bookkeeping" and jointly maintain a complete distributed database. Because the blockchain technology has the characteristics of decentralization, openness and transparency, each computing device can participate in database records, and the rapid data synchronization between computing devices, the blockchain technology has been widely used in many fields. To apply.
  • one or more embodiments of this specification provide a blockchain-based data processing method, device, and computer equipment.
  • a blockchain-based data processing method is proposed, which is applied to a blockchain network system including a service platform side node device and a service provider node device;
  • the service platform-side node device communicates with the service provider node device for data transmission; the method includes:
  • the service platform side node device generates service acceptance data of the target business object, where the service acceptance data includes the identification of the target business object;
  • the service platform side node device sends a first transaction to the blockchain, where the first transaction is generated based on the service acceptance data; the first transaction includes the identification of the target business object;
  • the service provider node device obtains the first transaction from the block of the blockchain
  • the service provider node device executes preset service acceptance data acquisition logic
  • the service provider node device executes the business processing logic of the target business object based on the service acceptance data to generate the business processing data of the target business object, and the business processing data includes the target The identifier of the business object and at least one attribute data of the target business object;
  • the service provider node device sends a second transaction to the blockchain network; the second transaction is generated based on the service processing data and includes the identification of the target business object and the at least one attribute data;
  • the service platform side node device obtains the second transaction from the block of the blockchain
  • the service platform side node device checks whether the service processing data corresponding to the second transaction sent by the service provider node device has been received;
  • the service platform side node device executes preset service processing data acquisition logic
  • the service platform side node device executes application logic for the service processing data.
  • a blockchain-based data processing method is proposed, which is applied to a blockchain network system including a service platform side node device and a service provider node device;
  • the service platform node device communicates with the service provider node device for data transmission; the method is executed by the service platform node device and includes:
  • the second transaction is generated by the service provider node device based on service processing data and sent to the blockchain, and the second transaction includes the target The identification of the business object and at least one attribute data of the target business object;
  • the business processing data is generated by the service provider node device based on the business acceptance data, and the business processing data includes the identification of the target business object And at least one attribute data of the target business object;
  • a blockchain-based data processing method is proposed, which is applied to a blockchain network system including a service platform side node device and a service provider node device;
  • the service platform node device communicates with the service provider node device for data transmission;
  • the method executed by the service provider node device includes:
  • the first transaction is generated by the business platform side node device based on the business acceptance data of the target business object and sent to the blockchain; the first transaction Includes the identifier of the target business object; the service acceptance data is generated by the node device of the service platform and includes the identifier of the target business object;
  • the business processing logic of the target business object executes the business processing logic of the target business object to generate business processing data of the target business object, and the business processing data includes the identification of the target business object and the At least one attribute data of the target business object;
  • a second transaction is sent to the blockchain network; the second transaction is generated based on the business processing data and includes the identification of the target business object and the at least one attribute data.
  • a blockchain-based data processing device which is applied to a blockchain network system including a service platform side node device and a service provider node device;
  • the node device on the service platform side communicates with the node device on the service provider side for data transmission;
  • the device is applied to the node device side on the service platform side and includes:
  • a generating unit configured to generate business acceptance data of a target business object, where the business acceptance data includes an identifier of the target business object;
  • a sending unit configured to send a first transaction to the blockchain, the first transaction being generated based on the business acceptance data; the first transaction including the identification of the target business object;
  • the obtaining unit is configured to obtain a second transaction from a block of the blockchain, the second transaction is generated by the service provider node device based on service processing data and sent to the blockchain, the second transaction
  • the transaction includes the identification of the target business object and at least one attribute data of the target business object
  • the service processing data is generated by the service provider node device based on the service acceptance data, and the service processing data includes the The identification of the target business object and at least one attribute data of the target business object;
  • a checking unit configured to check whether the service processing data corresponding to the second transaction sent by the service provider node device has been received
  • the execution unit is used to execute the application logic of the business processing data or execute the preset business processing data acquisition logic.
  • a blockchain-based data processing device which is applied to a blockchain network system including a service platform side node device and a service provider node device;
  • the node device of the service platform and the node device of the service provider are in communication connection for data transmission;
  • the device is applied to the node device of the service provider and includes:
  • An obtaining unit configured to obtain a first transaction from a block of the blockchain, the first transaction being generated by the service platform side node device based on the service acceptance data of the target business object and sent to the blockchain;
  • the first transaction includes the identifier of the target business object;
  • the service acceptance data is generated by the node device of the service platform and includes the identifier of the target business object;
  • a checking unit configured to check whether the service acceptance data corresponding to the first transaction sent by the service platform side node device has been received
  • the execution unit is configured to execute the business processing logic of the target business object based on the business acceptance data to generate business processing data of the target business object, the business processing data including the identification of the target business object and At least one attribute data of the target business object;
  • the sending unit is configured to send a second transaction; the second transaction is generated based on the business processing data and includes the identification of the target business object and the at least one attribute data.
  • a computer device including: a memory and a processor; the memory stores a computer program that can be run by the processor; In the computer program, the data processing method executed by the node device on the service platform side is executed.
  • a computer device including: a memory and a processor; the memory stores a computer program that can be run by the processor; The computer program executes the data processing method executed by the service provider node device.
  • the blockchain-based data processing method and device provided in this specification are based on the business acceptance of the target business object by the service platform node device and the business processing of the target business object by the service provider node device.
  • the distributed database of the blockchain the corresponding blockchain storage is carried out for the business acceptance and business processing of the target business object.
  • the business of the target business object in the distributed database of the blockchain The acceptance and processing flow establishes a non-tamperable data traceability link, which facilitates service platform parties and service providers to verify and complete business data based on the data traceability link, which improves the efficiency of data verification.
  • Fig. 1 is a schematic flow diagram of a blockchain-based data processing method according to an embodiment provided in this specification
  • Figure 2 is a schematic flow diagram of applying a blockchain-based data processing method to an insurance application or correction business scenario according to an embodiment provided in this specification;
  • FIG. 3 is a data structure of a transaction flow record of an insurance policy/revision sheet provided by an exemplary embodiment of this specification;
  • Figure 4 (a) is a data structure corresponding to the insurance policy stored in the blockchain world state database provided by an exemplary embodiment of this specification;
  • Figure 4(b) is a data structure corresponding to the correction form stored in the blockchain world state database provided by an exemplary embodiment of this specification;
  • FIG. 5 is a schematic diagram of a block chain-based data processing device applied to a node device end of a service platform provided by an embodiment provided in this specification;
  • FIG. 6 is a schematic diagram of a block chain-based data processing device applied to the device side of a service provider node provided by an embodiment provided in this specification;
  • FIG. 7 is a hardware structure diagram of an embodiment of the data processing device based on blockchain provided in this specification.
  • the steps of the corresponding method may not be executed in the order shown and described in this specification.
  • the method includes more or fewer steps than described in this specification.
  • a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may also be combined into a single step in other embodiments. description.
  • the business platform on the Internet can interface with multiple service providers to provide services of user business acceptance and notification of business processing results for the business processing of multiple service providers.
  • two-way synchronization of service data is required.
  • the biggest problem is that the data flows in one direction, and the sender cannot perceive the receiving status of the data, resulting in data inconsistency.
  • the data verification schemes used by many business platforms and service provider terminals are based on the daily settlement documents of both parties' databases (for example, the governor's verification). When there is a data loss, there is no rapid discovery and positioning mechanism; at the same time, data synchronization The verification process lacks sufficient trust credentials.
  • a blockchain-based data processing method is provided, which is applied to a blockchain network system including a service platform node device and a service provider node device;
  • the service platform-side node device communicates with the service-provider node device for data transmission.
  • the blockchain network described in one or more embodiments of this specification can specifically refer to a P2P network system with a distributed data storage structure reached by each node device through a consensus mechanism.
  • the data in the blockchain is distributed in time Within the connected “blocks”, the next block contains the data summary of the previous block, and according to the specific consensus mechanism (such as POW, POS, DPOS or PBFT, etc.), all are achieved Or all the data of some nodes are backed up.
  • the specific consensus mechanism such as POW, POS, DPOS or PBFT, etc.
  • a blockchain using Pow consensus requires at least full The attack of 51% of the network's computing power may tamper with existing data. Therefore, the blockchain system has the characteristics of ensuring data security and preventing attack and tampering that other centralized database systems cannot match. It can be seen that the data included in the distributed database of the blockchain will not be attacked or tampered with, thereby ensuring the authenticity of the data information stored in the distributed database of the blockchain.
  • Example types of blockchain networks may include public blockchain networks, private blockchain networks, and consortium blockchain networks.
  • blockchain is usually associated with the Bitcoin cryptocurrency network
  • the blockchain used in this article can refer to DLS (Distributed Ledger System) that does not refer to any specific use case.
  • the consensus process is controlled by the nodes of the consensus network.
  • hundreds, thousands, or even millions of entities can collaborate in a public blockchain network, and each entity operates at least one node in the public blockchain network. Therefore, the public blockchain network can be considered as a public network relative to the participating entities.
  • Example public blockchain networks include the Bitcoin network, which is a peer-to-peer payment network.
  • the Bitcoin network utilizes a distributed ledger, called a blockchain.
  • blockchain is often used to refer to distributed ledgers that do not specifically refer to the Bitcoin network.
  • public blockchain networks support public transactions.
  • Public transactions are shared with all nodes in the public blockchain network and stored in the global blockchain.
  • the global blockchain is a blockchain replicated across all nodes. In other words, for the global blockchain, all nodes are in a completely consistent state.
  • consensus protocols include, but are not limited to, proof-of-work (POW) implemented in the Bitcoin network.
  • private blockchain networks are provided to specific entities, and specific entities centrally control read and write permissions. This entity controls which nodes can participate in the blockchain network. Therefore, private blockchain networks are often referred to as permissioned networks, which impose restrictions on who is allowed to participate in the network and the level of participation (for example, only in certain transactions). Various types of access control mechanisms can be used (for example, existing participants vote to add new entities, and regulators can control access).
  • the alliance blockchain network is private among participating entities.
  • the consensus process is controlled by an authorized group of nodes (consortium member nodes), and one or more nodes are operated by corresponding entities (for example, enterprises).
  • entities for example, enterprises
  • a consortium consisting of ten (10) entities e.g., enterprises
  • each entity operates at least one node in the consortium blockchain network. Therefore, in terms of participating entities, the consortium blockchain network can be considered a private network.
  • each entity (node) must sign each block in order to make the block valid and add the valid block to the blockchain.
  • at least a subset of entities (nodes) e.g., at least 7 entities
  • the node (or node device) described in one or more embodiments of this specification refers to a node that can join the blockchain by following the corresponding node protocol and running the installation of the node protocol program as a node of the blockchain.
  • Those skilled in the art usually refer to a node device with a full backup of the data of the blockchain distributed database as a full node, and a node device with partial backup data of the blockchain distributed database (such as data with only the block header) It is called light node and so on.
  • the node type of the above-mentioned service platform-side node equipment or service provider node equipment is not limited; nor is the number of the above-mentioned service platform-side node equipment or service provider node equipment limited.
  • the aforementioned service platform party or service provider can correspond to one device terminal or server, or can correspond to multiple device terminals or servers as node devices of the aforementioned blockchain.
  • the service platform party described in one or more implementation manners of this specification refers to the entity party corresponding to the network service platform, and the service provider is the entity party that processes the services accepted by the service platform.
  • the business platform can provide user-oriented services for the business operated by the business provider.
  • the above-mentioned services can include receiving the user’s business acceptance and providing the user with business processing results; therefore, the business platform can communicate with one or more service provider terminals Docking, sending service acceptance data to one or more service provider terminals, and receiving service processing data from one or more service providers.
  • the blockchain-based data processing method provided by this embodiment includes:
  • Step 102 The service platform side node device generates service acceptance data of the target business object, where the service acceptance data includes the identifier of the target business object.
  • the business platform node device can generate the business acceptance data of the target business object based on the user's business application according to its own business processing flow; this manual does not limit the content and form of the above business object or the target business object, but It depends on the specific type of business operated by the aforementioned business platform.
  • the aforementioned business object or target business object may be a traded commodity or service
  • the aforementioned business platform party operates a human service business such as housekeeping and maintenance
  • the aforementioned business object or target business object can be Individuals who provide human services
  • the above-mentioned business platform party operates an asset custody business
  • the above-mentioned business object or target business object may be the asset under custody of the user
  • the above-mentioned business platform party operates an insurance business
  • the above-mentioned business object or target business object may Insurance policies for users, etc.
  • the service platform node device can autonomously generate the target business object's identity, or select an attribute of the target business object as the target business object's identity; for example, in the examples listed above,
  • the identification of the target business object in the above-mentioned business acceptance data may include: an e-commerce order number, or a service personnel identification number, or a managed asset attribute code, or an insurance policy number, etc., which are not limited here.
  • Step 104 The service platform side node device sends a first transaction to the blockchain, the first transaction is generated based on the service acceptance data; the first transaction includes the identification of the target business object.
  • the transaction described in one or more embodiments in this specification refers to a piece of data that is created by a node device of the blockchain and needs to be finally released to the block of the blockchain.
  • transactions in the blockchain are divided into narrow transactions and broad transactions.
  • a transaction in a narrow sense refers to a value transfer issued by a user to the blockchain; for example, in a traditional Bitcoin blockchain network, a transaction can be a transfer initiated by the user in the blockchain.
  • a transaction refers to a piece of business data with business intent released by a user entity to the blockchain through a node.
  • the first transaction described in this embodiment is a piece of data generated based on the business acceptance data that includes the identification of the target business object; in a specific implementation manner, the first transaction may include the business acceptance For the entire content of the data, in another specific implementation, the first transaction may include the hash digest of the business acceptance data and the identification of the target business object; the anti-tampering mechanism based on the blockchain can serve the business The role of acceptance data and identification of target business objects.
  • uploading the first transaction to the distributed database of the blockchain includes:
  • the node with the accounting authority in the blockchain adds the first transaction to the candidate block;
  • the consensus accounting node broadcasts the candidate block to the nodes of the blockchain
  • the candidate block After the candidate block is verified and approved by the blockchain in accordance with the preset number of nodes, the candidate block is regarded as the latest block and added to the distributed database of the blockchain.
  • the node with the accounting authority refers to the node with the authority to generate candidate blocks.
  • the consensus accounting node can be determined from the nodes that have accounting authority for the candidate block.
  • the consensus mechanism may include a proof of work mechanism (PoW) or a proof of right mechanism ( PoS), or proof of share authorization mechanism (DPoS), or the Byzantine fault-tolerant algorithm mechanism (PBFT) commonly used in alliance chains.
  • PoW proof of work mechanism
  • PoS proof of right mechanism
  • DoS proof of share authorization mechanism
  • PBFT Byzantine fault-tolerant algorithm mechanism
  • the blockchain network described in one or more of the above embodiments of this specification can be constructed as a consortium chain, and the above-mentioned service platform node device serves as a consortium member node device to send the aforementioned first transaction to the consortium chain .
  • the consensus algorithm adopted by the alliance chain is usually more efficient and can meet the needs of high-frequency transaction volume, such as the first transaction frequently generated based on a large number of business acceptance needs; and the consensus delay is very low, basically reaching real-time Processing requirements, the first transaction can be included in the new block of the blockchain quickly and in real time; moreover, the trusted node in the alliance chain network (such as the node corresponding to the business platform or the business provider) is used as the preselected record
  • the account node takes into account both security and stability; in addition, the consensus algorithm of the alliance chain (such as PBFT) usually does not consume too much computer computing resources, and does not necessarily require token circulation, so it has good usability.
  • Step 106 The aforementioned service provider node device obtains the first transaction from the block of the blockchain.
  • the above-mentioned service provider node device can set up an event monitoring mechanism for the above-mentioned first transaction, and when synchronizing to the block storing the above-mentioned first transaction, obtain the information of the block where the first transaction is included in the blockchain Event notification, thereby obtaining the above-mentioned first transaction from the locally synchronized blockchain block.
  • the aforementioned service provider node device can also search and query the block data of the blockchain based on the identifier of the target business object to obtain the aforementioned first transaction.
  • Step 108 The service provider node device checks whether the service acceptance data corresponding to the first transaction sent by the service platform node device has been received.
  • the service platform-side node device is in communication connection with the service provider node device, and the service platform-side node device can directly send the service acceptance data to the service provider node device, so that the service provider node device The device receives the service acceptance data; however, due to network system congestion or failure, the service provider node device may also have not received the service acceptance data sent by the service platform when the first transaction is obtained.
  • step 110 the service provider node device executes preset service acceptance data acquisition logic.
  • the service provider node device may send the service acceptance data acquisition application to the service platform side node device to prompt the service platform side
  • the node device sends or resends the service acceptance data; in another implementation, when the first transaction includes all the content of the service acceptance data, the service provider node device may be based on the block synchronized from the blockchain network
  • the content of the service acceptance data is generated from the first transaction obtained in the.
  • the service provider node device executes the business processing logic of the target business object based on the business acceptance data to generate the business processing data of the target business object, and the business processing data includes The identifier of the target business object and at least one attribute data of the target business object.
  • the service provider node device performs business processing on the target business object based on the business processing logic rules set by itself to generate the business processing data of the target business object;
  • the at least one attribute data can be used to describe the processing result of the target business object,
  • the attribute data of the business object can be "shipped", or "order received", or “custodial” or “warranted”, etc.; in another example
  • the at least one attribute data may also be a hash digest of the business processing data of the target business object.
  • Step 114 The service provider node device sends a second transaction to the blockchain network; the second transaction is generated based on the service processing data, and includes the identification of the target business object and the at least one attribute data.
  • the second transaction described in this embodiment is a piece of data generated based on the business processing data that includes the identification of the target business object and at least one attribute data of the target business object;
  • the above-mentioned second transaction may include all the contents of the above-mentioned business processing data.
  • the above-mentioned second transaction may include the hash digest of the above-mentioned business processing data and the above-mentioned target.
  • the identification of the business object and at least one attribute data; the anti-tampering mechanism based on the blockchain plays the role of at least one attribute data for the above-mentioned business processing data and the identification of the target business object.
  • Step 116 The service platform side node device obtains the second transaction from the block of the blockchain.
  • the above-mentioned service platform-side node device can set up an event monitoring mechanism for the above-mentioned second transaction, and when it synchronizes to the block where the above-mentioned second transaction is stored, it obtains that the second transaction is included in the blockchain. Block event notification, thereby obtaining the above-mentioned first transaction from the locally synchronized block chain.
  • the above-mentioned service platform side node device may also search and query the block data of the blockchain based on the identification of the target business object to obtain the above-mentioned second transaction.
  • Step 118 The service platform node device checks whether the service processing data corresponding to the second transaction sent by the service provider node device has been received.
  • the service platform-side node device is in communication connection with the service provider node device, and the service provider node device can directly send the service processing data to the service platform-side node device, so that the service platform-side node device The device receives the service processing data; however, due to network system congestion or failure, the node device on the service platform side may also have not received the service acceptance data sent by the service provider when the second transaction is obtained.
  • step 120 the service platform side node device executes preset service processing data acquisition logic.
  • this embodiment does not limit the specific execution mode of the foregoing preset service processing data acquisition logic.
  • the service platform-side node device may send the service processing data acquisition application to the service provider node device to prompt the foregoing
  • the service provider node device sends or resends the above-mentioned service processing data; in another implementation manner, when the above-mentioned second transaction includes all the contents of the above-mentioned service processing data, the above-mentioned service platform-side node device may be based on synchronization from the blockchain network The above-mentioned second transaction obtained in the block of generates the content of the business processing data.
  • step 122 the service platform side node device executes application logic for the service processing data.
  • This embodiment does not limit the specific execution content and manner of the application logic of the business processing data.
  • the above-mentioned business platform node device can execute the application of the business processing data containing the business processing results based on the specific business application scenarios of the business platform, such as Platform users push business processing results, or execute business actions in the next process, and so on.
  • the corresponding blockchain is performed for the business acceptance data and business processing data of the target business object in the distributed database (block) of the blockchain Attestation, based on the anti-tampering mechanism of the block chain, based on the target business object identification in the block ledger of the block chain, a complete and non-tamperable data traceability link is established for the business acceptance and processing process of the target business object, which is convenient
  • the service platform party and the service provider perform service data verification and completion based on the data traceability link, which improves the efficiency of data verification.
  • the service platform node device and the service provider node device both generate transaction flow records of the target business object based on the first transaction and the second transaction obtained from the block;
  • the transaction flow record includes the identification of the target business object, and the transaction identification of the first transaction and the second transaction.
  • the transaction identifier of the first transaction may include the hash value of the business acceptance data, or the hash value (TxID) of the first transaction, etc.; the transaction identifier of the second transaction may include the hash value of the business processing data, or the above The hash value (TxID) of the second transaction, etc.
  • the service provider node device described in the foregoing embodiment checks whether it has received the service acceptance data corresponding to the first transaction sent by the service platform node device, including: the service The provider node device checks whether the service acceptance data sent by the service platform node device has been received based on the transaction identifier of the first transaction included in the transaction flow record.
  • the service platform-side node device described in the foregoing embodiment checks whether it has received the service processing data corresponding to the second transaction sent by the service provider node device, including: the service platform-side node Based on the transaction identifier of the second transaction included in the transaction flow record, the device checks whether the service processing data sent by the service provider node device has been received.
  • the above-mentioned service platform party and service provider node devices can check the business data they receive based on the transaction flow record generated by the blockchain data.
  • the business data received by each is consistent with the transaction flow record on the chain, the business transmitted by both parties can be guaranteed The data records are consistent, and no business data is missed or dropped.
  • business data verification is performed based on transaction flow records, without waiting for daily tube pairing, and can be started at any time, which improves the efficiency of business data verification; because the existing verification system development and joint debugging costs are relatively high, and the cooperation of both parties is required.
  • the data verification based on the blockchain does not require further development and deployment of the verification and joint debugging between the two parties, which reduces the cost of business data verification; moreover, the data verification based on the blockchain data benefits from the fact that the blockchain data is not easily tampered with Attributes, which further improve the credibility of business data verification.
  • the two parties can send data acquisition applications through communication again, and timely fill in the business data missing or dropped in the data transmission between the two parties, or the two parties can be based on the first transaction on the blockchain or
  • the second transaction is to complete the business data that is missed or dropped in the data transmission between the two parties, thereby further improving the efficiency of the business processing of the two parties' systems.
  • Those skilled in the art should know that the completion of business data based on the first transaction or the second transaction stored on the blockchain block not only saves the cost of re-joining the two parties, but also based on the anti-tampering mechanism of the blockchain , It has improved the credibility of its supplemented business data.
  • the distributed database of the blockchain can also include the data generated based on transactions on the block “ledger” and distributed locally on the node devices of the blockchain.
  • the "world state” database the specific method of generating the world state of the corresponding data object based on the transactions in the block is generally executed by invoking the smart contract through the transactions in the block, which will not be repeated here.
  • the above-mentioned first transaction is used to be included in the block of the blockchain by the node device of the blockchain based on the first transaction.
  • the world state database of the block chain establishes a data set corresponding to the target business object, the data set includes the identification of the target business object; the second transaction is used after being included in the block of the block chain
  • the node device of the blockchain updates the data set corresponding to the target business object in the world state database of the blockchain based on the second transaction, and the updated data set includes the identification of the target business object And the at least one attribute data.
  • the target business object corresponding to the target business object stored in the blockchain world state database is based on the first transaction, and can also be based on the data stored in the blockchain world state database after the first transaction is included in the block.
  • the data set corresponding to the target business object generates the business processing data.
  • the service platform node device or the service provider node device can directly query the identification of the target business object or the attribute data of the target business object in the local database, thereby directly obtaining the corresponding service acceptance data or service processing data.
  • the insurance platform party serves as the above-mentioned business platform party, and the insurance institution serves as the above-mentioned business provider; the insurance platform can provide user-oriented insurance or policy correction services for the insurance products of at least one insurance institution; the insurance policy or insurance review form is the target business object mentioned above; Correspondingly, the identification of the above-mentioned target business object is the number of the insurance policy or the number of the insurance review form, the above-mentioned business acceptance data is the policy acceptance data or the insurance review form acceptance data, and the above-mentioned business processing data is the insurance policy underwriting result data or the insurance Correction form to correct the result data.
  • the terminal of the insurance platform and the terminal of the insurance institution need to transmit business data.
  • the terminal of the insurance platform and the terminal of the insurance institution are the node devices of the blockchain, and the process of the data processing method based on the blockchain that is executed cooperatively includes:
  • Step 201 The node device of the insurance platform generates insurance policy/approval order acceptance data based on the user's insurance or policy review request;
  • Step 202 The insurance platform-side node device sends the insurance policy/correction order acceptance data to the insurance institution-side node device;
  • Step 203 The node device of the insurance platform sends a first transaction to the blockchain, and the first transaction is generated based on the acceptance data of the insurance policy/revision form; the first transaction includes the number of the insurance policy/revision form as The identification of the aforementioned insurance policy/revision form;
  • Step 204 the insurance institution side node device obtains the first transaction from the block of the blockchain; the above first transaction has been established in the world state database of the blockchain corresponding to the insurance policy/revision form Data collection, the above-mentioned data collection can adopt, for example, the data collection structure shown in Figure 4(a) and (b);
  • Step 205 The node device of the insurance institution side checks whether it has received the insurance policy/revision form acceptance data corresponding to the first transaction sent by the insurance platform side;
  • step 206 the insurance institution-side node device generates corresponding insurance policy/correction order acceptance data based on the data set stored in the local world state database as shown in Figure 4(a)(b);
  • the insurance institution-side node device executes the approval business processing logic for the insurance policy/revision form based on the policy/revision form acceptance data to generate the insurance policy underwriting result data or the insurance revision form Single approval result data
  • the policy underwriting result data or the insurance approval form approval result data includes the number of the insurance policy/approval form and the policy underwriting result/approval form approval result, as an insurance policy/approval At least one attribute data of the order;
  • the aforementioned policy underwriting result can include "underwritten” or "underwriting failure", etc.
  • the aforementioned correction form can include "correction by" or "revision failure", etc.;
  • Step 208 The node device of the insurance institution sends a second transaction to the blockchain network; the second transaction is generated based on the insurance policy underwriting result data or the insurance approval form approval result data, and includes the insurance policy /The number of the correction form and the result of the stated policy underwriting / the correction result of the correction form;
  • Step 209 The node device of the insurance institution sends the insurance policy underwriting result data/the insurance approval form correction result data to the node device of the insurance platform, so that the insurance platform node device can obtain the insurance policy underwriting result Data/Data on the result of the said insurance approval form;
  • Step 210 the insurance platform side node device obtains the second transaction from the block of the blockchain; the above second transaction has been updated in the world state database of the blockchain to complete the corresponding insurance policy/revision form Data collection
  • Step 211 The insurance platform side node device generates a transaction flow record of the insurance policy/revision form based on the first transaction and the second transaction; the transaction flow record includes the number of the insurance policy/revision form, and the number of the first transaction.
  • FIG. 3 illustrates the transaction flow record of the insurance policy/revision form provided by an exemplary embodiment of this specification;
  • Step 212 The node device of the insurance platform side checks whether it has received the insurance policy underwriting result data/the insurance approval form approval result data sent by the insurance institution node device based on the transaction flow record;
  • step 213 the insurance platform party pushes the underwriting result/revision result notification to the insurance platform user based on the aforementioned insurance policy underwriting result data/the insurance review form review result data.
  • step 214 the insurance platform node device generates the corresponding insurance policy underwriting result data/the insurance review based on the data set corresponding to the insurance policy/revision form that has been updated based on the second transaction stored in the local world state database Single correction result data.
  • the blockchain network system can set the corresponding world state data set for the above insurance policy/revision form based on the above first transaction and second transaction;
  • Figure 4(a)(b) respectively shows that the above blockchain The data collection structure corresponding to the insurance policy and the approval form stored in the world state database; the above-mentioned insurance institution side and insurance platform side node equipment can be based on the insurance policy/approval form shown in Figure 4(a)(b) stored in the device local database In the status data, complete the acceptance data of its insurance policy/revision form and the result data of the insurance policy/revision result data of the insurance revision form.
  • the aforementioned insurance policies/revision orders can be obtained more conveniently and quickly The status or corresponding business data.
  • the embodiments of this specification also provide data processing devices 50 and 60 based on blockchain.
  • the devices 50 and 60 can be implemented by software, or can be implemented by hardware or a combination of software and hardware.
  • Taking software implementation as an example as a logical device, it is formed by reading the corresponding computer program instructions into the memory by the CPU (Central Process Unit, central processing unit) of the device where it is located.
  • the CPU Central Process Unit, central processing unit
  • the device where the above-mentioned device is located usually also includes other hardware such as chips for wireless signal transmission and reception, and/or for implementing network communication functions. Other hardware such as boards.
  • this specification also provides a block chain-based data processing device 50, which is applied to a block chain network system including a service platform side node device and a service provider node device; the service platform side node device The device communicates with the node device of the service provider for data transmission; the device is applied to the node device of the service platform and includes:
  • the generating unit 502 is configured to generate business acceptance data of a target business object, where the business acceptance data includes an identifier of the target business object;
  • a sending unit 504 configured to send a first transaction to the blockchain, the first transaction being generated based on the business acceptance data; the first transaction including the identification of the target business object;
  • the obtaining unit 506 is configured to obtain a second transaction from a block of the blockchain, and the second transaction is generated by the service provider node device based on service processing data and sent to the blockchain. 2.
  • the transaction includes the identification of the target business object and at least one attribute data of the target business object;
  • the service processing data is generated by the service provider node device based on the service acceptance data, and the service processing data includes all The identifier of the target business object and at least one attribute data of the target business object;
  • the checking unit 508 is configured to check whether the service processing data corresponding to the second transaction sent by the service provider node device has been received;
  • the execution unit 510 is configured to execute application logic for the business processing data or execute preset business processing data acquisition logic.
  • execution unit 510 is further configured to:
  • execution unit 510 is further configured to:
  • the business processing data is generated.
  • the business platform side node device generates a transaction flow record of the target business object based on the first transaction and the second transaction; the transaction flow record includes the target business object , The transaction identifier of the first transaction and the second transaction;
  • the checking unit 508 is further used for:
  • the first transaction is used for the node device of the blockchain to be in the block based on the first transaction after being included in the block of the blockchain.
  • the world state database of the block chain establishes a data set corresponding to the target business object, the data set including the identification of the target business object;
  • the second transaction is used to update the target business object in the world state database of the blockchain based on the second transaction by the node device of the blockchain after being included in the block of the blockchain
  • the updated data set includes the identification of the target business object and the at least one attribute data.
  • execution unit 510 is further configured to:
  • the business processing data is generated based on the data set corresponding to the target business object.
  • this specification also provides a blockchain-based data processing device 60, which is applied to a blockchain network system including a service platform-side node device and a service-provider node device; the service platform-side node The device communicates with the service provider node device for data transmission; the device 60 is applied to the service provider node device, and includes:
  • the obtaining unit 602 is configured to obtain a first transaction from a block of the blockchain, and the first transaction is generated by the service platform node device based on the service acceptance data of the target business object and sent to the blockchain
  • the first transaction includes the identification of the target business object
  • the service acceptance data is generated by the node device of the service platform and includes the identification of the target business object
  • the checking unit 604 is configured to check whether the service acceptance data corresponding to the first transaction sent by the service platform side node device has been received;
  • the execution unit 606 is configured to execute business processing logic of the target business object based on the business acceptance data to generate business processing data of the target business object, the business processing data including the identification of the target business object And at least one attribute data of the target business object;
  • the sending unit 608 is configured to send a second transaction; the second transaction is generated based on the business processing data, and includes the identification of the target business object and the at least one attribute data.
  • execution unit 606 is further configured to:
  • execution unit 606 is further configured to:
  • the business acceptance data is generated.
  • the service platform side node device and the service provider node device both generate transaction flow records of the target business object based on the first transaction and the second transaction;
  • the transaction flow record includes the identifier of the target business object, the transaction identifiers of the first transaction and the second transaction;
  • the checking unit 604 is further configured to:
  • the first transaction is used for the node device of the blockchain to be in the block based on the first transaction after being included in the block of the blockchain.
  • the world state database of the block chain establishes a data set corresponding to the target business object, the data set including the identification of the target business object;
  • the second transaction is used to update the target business object in the world state database of the blockchain based on the second transaction by the node device of the blockchain after being included in the block of the blockchain
  • the updated data set includes the identification of the target business object and the at least one attribute data.
  • execution unit 606 is further configured to:
  • the business acceptance data is generated based on the data set corresponding to the target business object.
  • the device embodiments described above are merely illustrative.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical modules, that is, they may be located in One place, or it can be distributed to multiple network modules. Some or all of the units or modules can be selected according to actual needs to achieve the purpose of the solution in this specification. Those of ordinary skill in the art can understand and implement it without creative work.
  • a typical implementation device is a computer.
  • the specific form of the computer can be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email receiving and sending device, and a game control A console, a tablet computer, a wearable device, or a combination of any of these devices.
  • the embodiments of this specification also provide a computer device.
  • the computer device includes a memory and a processor.
  • the memory stores a computer program that can be run by the processor; when the processor runs the stored computer program, it executes each of the blockchain-based data processing methods executed by the above-mentioned service platform-side node device in the embodiment of this specification. step.
  • the processor runs the stored computer program, it executes each of the blockchain-based data processing methods executed by the above-mentioned service platform-side node device in the embodiment of this specification. step.
  • step For a detailed description of each step of the blockchain-based data processing method executed by the above-mentioned business platform side node device, please refer to the previous content and will not be repeated.
  • the embodiment of this specification also provides a computer device.
  • the computer device includes a memory and a processor.
  • the memory stores a computer program that can be run by the processor; when the processor runs the stored computer program, it executes each of the blockchain-based data processing methods executed by the service provider node device in the embodiment of this specification. step.
  • the processor runs the stored computer program, it executes each of the blockchain-based data processing methods executed by the service provider node device in the embodiment of this specification. step.
  • the computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • processors CPU
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory or other memory technology
  • CD-ROM compact disc
  • DVD digital versatile disc
  • Magnetic cassettes magnetic tape magnetic disk storage or other magnetic storage devices or any other non
  • the embodiments of this specification can be provided as methods, systems or computer program products. Therefore, the embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of this specification can be in the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. .
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Bioethics (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种基于区块链的数据处理方法和装置,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述方法包括:所述业务平台方节点设备向所述区块链发送第一交易;所述业务提供方节点设备基于所述第一交易核对是否已接收到所述业务平台方节点设备发送的业务受理数据;如果否,执行预设的业务受理数据获取逻辑;如果是,执行对所述目标业务对象的业务处理逻辑,向所述区块链网络发送第二交易;所述业务平台方节点设备从所述区块链的区块获取所述第二交易;核对是否已接收到所述业务处理数据;如果否,执行预设的业务处理数据获取逻辑;如果是,执行对所述业务处理数据的应用逻辑。

Description

基于区块链的数据处理方法和装置 技术领域
本说明书涉及数据处理技术领域,尤其涉及一种基于区块链的数据处理方法和装置。
背景技术
区块链技术,也被称之为分布式账本技术,是一种由若干台计算设备共同参与“记账”,共同维护一份完整的分布式数据库的新兴技术。由于区块链技术具有去中心化、公开透明、每台计算设备可以参与数据库记录、并且各计算设备之间可以快速的进行数据同步的特性,使得区块链技术已在众多的领域中广泛的进行应用。
发明内容
有鉴于此,本说明书一个或多个实施例提供一种基于区块链的数据处理方法、装置、和计算机设备。
为实现上述目的,本说明书一个或多个实施例提供技术方案如下:
根据本说明书一个或多个实施例的第一方面,提出了一种基于区块链的数据处理方法,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行数据传输;所述方法包括:
所述业务平台方节点设备生成目标业务对象的业务受理数据,所述业务受理数据包括所述目标业务对象的标识;
所述业务平台方节点设备向所述区块链发送第一交易,所述第一交易基于所述业务受理数据生成;所述第一交易包括目标业务对象的标识;
所述业务提供方节点设备从所述区块链的区块获取所述第一交易;
所述业务提供方节点设备核对是否已接收到所述业务平台方节点设备发送的、与所述第一交易对应的所述业务受理数据;
如果否,所述业务提供方节点设备执行预设的业务受理数据获取逻辑;
如果是,所述业务提供方节点设备基于所述业务受理数据,执行对所述目标业务对象的业务处理逻辑,以生成所述目标业务对象的业务处理数据,所述业务处理数据包括 所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;
所述业务提供方节点设备向所述区块链网络发送第二交易;所述第二交易基于所述业务处理数据生成,且包括所述目标业务对象的标识和所述至少一个属性数据;
所述业务平台方节点设备从所述区块链的区块获取所述第二交易;
所述业务平台方节点设备核对是否已接收到所述业务提供方节点设备发送的、与所述第二交易对应的所述业务处理数据;
如果否,所述业务平台方节点设备执行预设的业务处理数据获取逻辑;
如果是,所述业务平台方节点设备执行对所述业务处理数据的应用逻辑。
根据本说明书一个或多个实施例的第二方面,提出了一种基于区块链的数据处理方法,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行数据传输;所述方法由所述业务平台方节点设备执行,包括:
生成目标业务对象的业务受理数据,所述业务受理数据包括所述目标业务对象的标识;
向所述区块链发送第一交易,所述第一交易基于所述业务受理数据生成;所述第一交易包括目标业务对象的标识;
从所述区块链的区块获取第二交易,所述第二交易由所述业务提供方节点设备基于业务处理数据生成且向所述区块链发送,所述第二交易包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;所述业务处理数据由所述业务提供方节点设备基于所述业务受理数据生成,所述业务处理数据包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;
核对是否已接收到所述业务提供方节点设备发送的、与所述第二交易对应的所述业务处理数据;
如果否,执行预设的业务处理数据获取逻辑;
如果是,执行对所述业务处理数据的应用逻辑。
根据本说明书一个或多个实施例的第三方面,提出了一种基于区块链的数据处理方法,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行数据传输;所述方法由所 述业务提供方节点设备执行,包括:
从所述区块链的区块获取第一交易,所述第一交易由所述业务平台方节点设备基于目标业务对象的业务受理数据生成且向所述区块链发送;所述第一交易包括所述目标业务对象的标识;所述业务受理数据由所述业务平台方节点设备生成且包括所述目标业务对象的标识;
核对是否已接收到所述业务平台方节点设备发送的、与所述第一交易对应的所述业务受理数据;
如果否,执行预设的业务受理数据获取逻辑;
如果是,基于所述业务受理数据,执行对所述目标业务对象的业务处理逻辑,以生成所述目标业务对象的业务处理数据,所述业务处理数据包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;
向所述区块链网络发送第二交易;所述第二交易基于所述业务处理数据生成,且包括所述目标业务对象的标识和所述至少一个属性数据。
根据本说明书一个或多个实施例的第四方面,提出了一种基于区块链的数据处理装置,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行数据传输;所述装置应用于所述业务平台方节点设备端,包括:
生成单元,用于生成目标业务对象的业务受理数据,所述业务受理数据包括所述目标业务对象的标识;
发送单元,用于向所述区块链发送第一交易,所述第一交易基于所述业务受理数据生成;所述第一交易包括目标业务对象的标识;
获取单元,用于从所述区块链的区块获取第二交易,所述第二交易由所述业务提供方节点设备基于业务处理数据生成且向所述区块链发送,所述第二交易包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;所述业务处理数据由所述业务提供方节点设备基于所述业务受理数据生成,所述业务处理数据包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;
核对单元,用于核对是否已接收到所述业务提供方节点设备发送的、与所述第二交易对应的所述业务处理数据;
执行单元,用于执行对所述业务处理数据的应用逻辑或执行预设的业务处理数据获取逻辑。
根据本说明书一个或多个实施例的第五方面,提出了一种基于区块链的数据处理装置,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行数据传输;所述装置应用于所述业务提供方节点设备端,包括:
获取单元,用于从所述区块链的区块获取第一交易,所述第一交易由所述业务平台方节点设备基于目标业务对象的业务受理数据生成且向所述区块链发送;所述第一交易包括所述目标业务对象的标识;所述业务受理数据由所述业务平台方节点设备生成且包括所述目标业务对象的标识;
核对单元,用于核对是否已接收到所述业务平台方节点设备发送的、与所述第一交易对应的所述业务受理数据;
执行单元,用于基于所述业务受理数据,执行对所述目标业务对象的业务处理逻辑,以生成所述目标业务对象的业务处理数据,所述业务处理数据包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;
或执行预设的业务受理数据获取逻辑;
发送单元,用于发送第二交易;所述第二交易基于所述业务处理数据生成,且包括所述目标业务对象的标识和所述至少一个属性数据。
根据本说明书一个或多个实施例的第六方面,提出了一种计算机设备,包括:存储器和处理器;所述存储器上存储有可由所述处理器运行的计算机程序;所述处理器运行所述计算机程序时,执行上述业务平台方节点设备所执行的数据处理方法。
根据本说明书一个或多个实施例的第七方面,提出了一种计算机设备,包括:存储器和处理器;所述存储器上存储有可由所述处理器运行的计算机程序;所述处理器运行所述计算机程序时,执行上述业务提供方节点设备所执行的数据处理方法。
由以上技术方案可见,本说明书提供的基于区块链的数据处理方法和装置,基于业务平台方节点设备对目标业务对象的业务受理和业务提供方节点设备对目标业务对象的业务处理,在区块链的分布式数据库中为目标业务对象的业务受理和业务处理进行相应的区块链存证,基于区块链的防篡改机制,在区块链的分布式数据库中为目标业务对象的业务受理和处理流程建立了不可篡改的数据追溯链路,方便业务平台方和业务提供 方基于该数据追溯链路进行业务数据的核对和补全,提高了数据核对的效率。
附图说明
图1为本说明书所提供的一实施例所示的基于区块链的数据处理方法的流程示意图;
图2为本说明书所提供的一实施例所示的将基于区块链的数据处理方法应用于保险投保或批改业务场景中的流程示意图;
图3为本说明书一示例性实施例所提供的保单/批改单的交易流水记录的数据结构;
图4(a)为本说明书一示例性实施例所提供的区块链世界状态数据库中存储的保单对应的数据结构;
图4(b)为本说明书一示例性实施例所提供的区块链世界状态数据库中存储的批改单对应的数据结构;
图5为本说明书所提供的一实施例提供的应用于业务平台方节点设备端的基于区块链的数据处理装置的示意图;
图6为本说明书所提供的一实施例提供的应用于业务提供方节点设备端的基于区块链的数据处理装置的示意图;
图7为运行本说明书所提供的基于区块链的数据处理装置实施例的一种硬件结构图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本说明书一个或多个实施例相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本说明书一个或多个实施例的一些方面相一致的装置和方法的例子。
需要说明的是:在其他实施例中并不一定按照本说明书示出和描述的顺序来执行相应方法的步骤。在一些其他实施例中,其方法所包括的步骤可以比本说明书所描述的更多或更少。此外,本说明书中所描述的单个步骤,在其他实施例中可能被分解为多个步骤进行描述;而本说明书中所描述的多个步骤,在其他实施例中也可能被合并为单个步骤进行描述。
互联网上的业务平台作为面向用户的平台,可对接多家业务提供方以为多家业务提供方的业务处理提供用户业务受理、及业务处理结果通知服务。业务平台和业务提供方在合作过程中,需要进行业务数据双向同步,为此出现最大的问题是数据单向流动,接收方的接收情况,发送方无法感知,进而造成数据不一致的情况。目前很多业务平台和业务提供方终端使用的数据核对方案,都是基于双方的数据库的日结文件进行核对(例如总督核对),当出现数据缺失时,没有快速的发现定位机制;同时数据的同步核对过程缺乏足够的信任凭证。
有鉴于此,在本说明书示出的一种实施方式中,提供了一种基于区块链的数据处理方法,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行数据传输。
本说明书一个或多个实施例所述的区块链网络,具体可指一个各节点设备通过共识机制达成的、具有分布式数据存储结构的P2P网络***,该区块链内的数据分布在时间上相连的一个个“区块(block)”之内,后一区块包含前一区块的数据摘要,且根据具体的共识机制(如POW、POS、DPOS或PBFT等)的不同,达成全部或部分节点的数据全备份。本领域的技术人员熟知,由于区块链网络***在相应共识机制下运行,已收录至区块链数据库内的数据很难被任意的节点篡改,例如采用Pow共识的区块链,至少需要全网51%算力的攻击才有可能篡改已有数据,因此区块链***有着其他中心化数据库***所无法比拟的保证数据安全、防攻击篡改的特性。由此可知,被收录至区块链的分布式数据库中的数据不会被攻击或篡改,从而保证了存证入区块链的分布式数据库的数据信息的真实可靠性。
区块链网络的示例类型可以包括公有区块链网络、私有区块链网络和联盟区块链网络。尽管术语区块链通常与比特币加密货币网络相关联,但是本文使用的区块链可指代不参考任何特定用例的DLS(分布式账本***)。
在公有区块链网络中,共识过程由共识网络的节点控制。例如,数百、数千、甚至数百万个实体可以在公有区块链网络中协作,每个实体在公有区块链网络中操作至少一个节点。因此,公有区块链网络可以被认为是相对于参与实体的公有网络。示例公有区块链网络包括比特币网络,比特币网络是对等支付网络。比特币网络利用分布式账本,被称为区块链。然而如上所述,术语区块链通常用于指代不特别参考比特币网络的分布式账本。
通常,公有区块链网络支持公有交易。公有交易与公有区块链网络内的所有节点共 享,并存储在全局区块链中。全局区块链是跨所有节点复制的区块链。也就是说,对于全局区块链,所有节点处于完全一致的状态。为了达成共识(例如,同意向区块链添加块),在公有区块链网络内实施共识协议。示例共识协议包括但不限于,在比特币网络中实施的工作量证明(proof-of-work,POW)。
通常,私有区块链网络提供给特定实体,特定实体集中控制读取和写入权限。该实体控制哪些节点能够参与区块链网络。因此,私有区块链网络通常被称为许可网络,其对允许谁参与网络及其参与水平(例如,仅在某些交易中)施加限制。可以使用各种类型的访问控制机制(例如,现有参与者投票添加新实体,监管机构可以控制准入)。
通常,联盟区块链网络在参与实体中是私有的。在联盟区块链网络中,共识过程由授权的一组节点(联盟成员节点)控制,一个或多个节点由相应的实体(例如,企业)操作。例如,由十(10)个实体(例如,企业)组成的联盟可以操作联盟区块链网络,每个实体在该联盟区块链网络中操作至少一个节点。因此,就参与实体而言,联盟区块链网络可以被认为是私有网络。在一些示例中,每个实体(节点)必须对每个块进行签名,以使该块有效并将有效的块添加到区块链。在一些示例中,至少实体(节点)的子集(例如,至少7个实体)必须对每个块进行签名以使该块有效,并且将有效的块添加到区块链。
可以预期,本说明书所提供的实施方式能够在任何合适类型的区块链网络中实现。
本说明书一个或多个实施例所述的节点(或节点设备)是指可通过遵循相应节点协议、运行节点协议程序的安装来加入该区块链,作为该区块链的节点。本领域的技术人员通常将具有区块链分布式数据库的数据全备份的节点设备称为全节点,将具有区块链分布式数据库的部分备份数据(如仅有区块头的数据)的节点设备称为轻节点等。在本说明书的一个或多个实施例中,并不限定上述业务平台方节点设备或业务提供方节点设备的节点类型;也并不限定上述业务平台方节点设备或业务提供方节点设备的个数,上述业务平台方或业务提供方可以对应一个设备终端或服务器,也可以对应多个设备终端或服务器以作为上述区块链的节点设备。
本说明书一个或多个实施方式所述的业务平台方是指网络业务平台对应的实体方,业务提供方是对业务平台受理的业务进行处理的实体方。业务平台可以是为业务提供方运营的业务提供面向用户的服务,上述服务可包括接收用户的业务受理、向用户提供业务处理结果等;因此,业务平台方可以与一个或多个业务提供方终端对接,向一个或多个业务提供方终端发送业务受理数据,并从一个或多个业务提供方接收经其处理所得的 业务处理数据。
如图1所示,本实施方式所提供的基于区块链的数据处理方法,包括:
步骤102,所述业务平台方节点设备生成目标业务对象的业务受理数据,所述业务受理数据包括所述目标业务对象的标识。
业务平台方节点设备可根据其自身设定的业务处理流程,基于用户的业务申请,而生成目标业务对象的业务受理数据;本说明书并不限定上述业务对象或目标业务对象的内容和形式,可根据上述业务平台方所运营的具体业务类型而定。例如,当上述业务平台方运营电子商务业务时,上述业务对象或目标业务对象可以为交易的商品或服务;当上述业务平台方运营家政维修等人力服务业务时,上述业务对象或目标业务对象可以为提供人力服务的个人;当上述业务平台方运营资产托管业务时,上述业务对象或目标业务对象可以为用户托管的资产;当上述业务平台方运营投保业务时,上述业务对象或目标业务对象可以为用户投保的保单,等等。
相应地,该业务平台方节点设备基于目标业务对象的性质,可自主生成目标业务对象的标识,或选用目标业务对象的某项属性作为目标业务对象的标识;例如,在上述列举的实例中,上述业务受理数据中的目标业务对象的标识可包括:电商订单编号、或服务人员身份标识号码、或托管的资产属性编码、或保单编号等等,在此不做限定。
步骤104,所述业务平台方节点设备向所述区块链发送第一交易,所述第一交易基于所述业务受理数据生成;所述第一交易包括目标业务对象的标识。
本说明书中一个或多个实施方式中所描述的交易(transaction),是指通过区块链的节点设备创建,并需要最终发布至区块链的区块中的一笔数据。其中,区块链中的交易,存在狭义的交易以及广义的交易之分。狭义的交易是指用户向区块链发布的一笔价值转移;例如,在传统的比特币区块链网络中,交易可以是用户在区块链中发起的一笔转账。而广义的交易是指用户实体通过节点向区块链发布的一笔具有业务意图的业务数据。本实施方式所述的第一交易,是基于所述业务受理数据生成的其包括上述目标业务对象的标识的一笔数据;在一种具体的实施方式中,上述第一交易可包括上述业务受理数据的全部内容,在又一种具体的实施方式中,上述第一交易可包括上述业务受理数据的哈希摘要和目标业务对象的标识;基于区块链的防篡改机制,起到为上述业务受理数据和目标业务对象的标识存证的作用。
将上述实施例所述的第一交易收录到所述区块链的区块中的详细过程,可依据所述 区块链的验证机制、共识机制而具体设定。在一示出的实施例中,所述将第一交易上传到所述区块链的分布式数据库中,包括:
所述区块链中具有记账权限的节点在验证所述第一交易通过后,将所述第一交易加入到候选区块;
从所述具有记账权限的节点中确定满足所述区块链共识机制的共识记账节点;
所述共识记账节点向所述区块链的节点广播所述候选区块;
在所述候选区块通过所述区块链符合预设数量的节点的验证认可后,所述候选区块被视为最新区块,加入到所述区块链的分布式数据库中。
在上述的实施例中,具有记账权限的节点是指具有生成候选区块权限的节点。根据所述区块链的共识机制,可从上述对所述候选区块具有记账权限的节点中确定共识记账节点,上述共识机制可以包括工作量证明机制(PoW)、或权利证明机制(PoS)、或股份授权证明机制(DPoS)、或联盟链常用的拜占庭容错算法机制(PBFT)等。
在实际的业务应用中,本说明书上述一个或多个实施例所述的区块链网络可以构架为联盟链,上述业务平台方节点设备作为联盟成员节点设备,向联盟链上发送上述第一交易。相比于公有链,联盟链采用的共识算法通常效率高,可满足高频交易量的需求,例如基于大量业务受理需求而频繁产生的第一交易;且共识的时延很低,基本达到实时处理的要求,能快速实时地在区块链的新生区块中收录上述第一交易;而且,将联盟链网络中可信节点(如业务平台方或业务提供方对应的节点)作为预选的记账节点,兼顾了安全性与稳定性;另外,联盟链的共识算法(如PBFT)通常不会消耗过多的计算机算力资源,也不一定需要代币流通,因此具有良好的可使用性。
步骤106,上述业务提供方节点设备从所述区块链的区块获取所述第一交易。
上述业务提供方节点设备可为上述第一交易设置事件监听机制,在同步到存储有上述第一交易的区块时,获取到所述第一交易被收录至所述区块链的区块的事件通知,从而从本地已同步的区块链区块中获取到上述第一交易。当然,上述业务提供方节点设备也可基于目标业务对象的标识,在区块链的区块数据中检索查询,以获取上述第一交易。
步骤108,所述业务提供方节点设备核对是否已接收到所述业务平台方节点设备发送的、与所述第一交易对应的所述业务受理数据。
在本实施方式中,上述业务平台方节点设备与业务提供方节点设备通信连接,上述 业务平台方节点设备可直接向上述业务提供方节点设备发送所述业务受理数据,以使上述业务提供方节点设备接收上述业务受理数据;但是由于网络***拥堵或故障等原因,上述业务提供方节点设备也可能在获取到上述第一交易时还未接到收到业务平台方发送的业务受理数据。
如果否,步骤110,所述业务提供方节点设备执行预设的业务受理数据获取逻辑。
本实施方式并不限定上述预设的业务受理数据获取逻辑的具体执行方式,业务提供方节点设备可向所述业务平台方节点设备发送所述业务受理数据的获取申请,以提示上述业务平台方节点设备发送或者再次发送上述业务受理数据;在又一实现方式中,当上述第一交易包括上述业务受理数据的全部内容时,上述业务提供方节点设备可以基于从区块链网络同步的区块中获取到的上述第一交易,生成所述业务受理数据的内容。
如果是,步骤112,所述业务提供方节点设备基于所述业务受理数据,执行对所述目标业务对象的业务处理逻辑,以生成所述目标业务对象的业务处理数据,所述业务处理数据包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据。
上述业务提供方节点设备基于自身设置的业务处理逻辑规则,对目标业务对象进行业务处理,以生成上述目标业务对象的业务处理数据;上述至少一个属性数据可用于描述上述目标业务对象的处理结果,如在上述列举的各种业务对象实例中,业务对象的属性数据可以为“已发货”、或“已接单”、或“已托管”或“已批保”等等;在又一示出的实施方式中,上述至少一个属性数据还可以为上述目标业务对象的业务处理数据的哈希摘要。
步骤114,所述业务提供方节点设备向所述区块链网络发送第二交易;所述第二交易基于所述业务处理数据生成,且包括所述目标业务对象的标识和所述至少一个属性数据。
与上述第一交易类似,本实施方式所述的第二交易,是基于所述业务处理数据生成的其包括上述目标业务对象的标识和所述目标业务对象的至少一个属性数据的一笔数据;在一种具体的实施方式中,上述第二交易可包括上述业务处理数据的全部内容,在又一种具体的实施方式中,上述第二交易可包括上述业务处理数据的哈希摘要、上述目标业务对象的标识和至少一个属性数据;基于区块链的防篡改机制,起到为上述业务处理数据和目标业务对象的标识存证和至少一个属性数据的作用。
将上述第二交易收录至区块链区块的具体过程可与上述第一交易被收录的具体实施 过程类似,在此不再赘述。
步骤116,所述业务平台方节点设备从所述区块链的区块获取所述第二交易。
类似地,上述业务平台方节点设备可为上述第二交易设置事件监听机制,在同步到存储有上述第二交易的区块时,获取到所述第二交易被收录至所述区块链的区块的事件通知,从而从本地已同步的区块链区块中获取到上述第一交易。当然,上述业务平台方节点设备也可基于目标业务对象的标识,在区块链的区块数据中检索查询,以获取上述第二交易。
步骤118,所述业务平台方节点设备核对是否已接收到所述业务提供方节点设备发送的、与所述第二交易对应的所述业务处理数据。
在本实施方式中,上述业务平台方节点设备与业务提供方节点设备通信连接,上述业务提供方节点设备可直接向上述业务平台方节点设备发送所述业务处理数据,以使上述业务平台方节点设备接收到上述业务处理数据;但是由于网络***拥堵或故障等原因,上述业务平台方节点设备也可能在获取到上述第二交易时还未接到收到业务提供方发送的业务受理数据。
如果否,步骤120,所述业务平台方节点设备执行预设的业务处理数据获取逻辑。
类似地,本实施方式并不限定上述预设的业务处理数据获取逻辑的具体执行方式,业务平台方节点设备可向所述业务提供方节点设备发送所述业务处理数据的获取申请,以提示上述业务提供方节点设备发送或者再次发送上述业务处理数据;在又一实现方式中,当上述第二交易包括上述业务处理数据的全部内容时,上述业务平台方节点设备可以基于从区块链网络同步的区块中获取到的上述第二交易,生成所述业务处理数据的内容。
如果是,步骤122,所述业务平台方节点设备执行对所述业务处理数据的应用逻辑。
本实施方式并不限定对业务处理数据的应用逻辑的具体执行内容和方式,上述业务平台方节点设备可基于业务平台的具体业务应用场景而执行包含业务处理结果的业务处理数据的应用,如向平台用户推送业务处理结果,或执行下一流程的业务动作,等等。
基于上述一个或多个实施方式提供的基于区块链的数据处理方法,在区块链的分布式数据库(区块)中为目标业务对象的业务受理数据和业务处理数据进行相应的区块链存证,基于区块链的防篡改机制,在区块链的区块账本中基于目标业务对象标识,为目标业务对象的业务受理和处理流程建立了完整且不可篡改的数据追溯链路,方便业务平 台方和业务提供方基于该数据追溯链路进行业务数据的核对和补全,提高了数据核对的效率。
为了进一步方便上述业务平台方和业务提供方的数据核对,当所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行上述业务受理数据和业务处理数据的传输时,在又一示出的实施方式中,所述业务平台方节点设备和所述业务提供方节点设备均基于从区块上获取的第一交易和第二交易生成有所述目标业务对象的交易流水记录;所述交易流水记录包括所述目标业务对象的标识、所述第一交易和第二交易的交易标识。第一交易的交易标识可以包括业务受理数据的哈希值、或上述第一交易的哈希值(TxID),等等;第二交易的交易标识可包括业务处理数据的哈希值、或上述第二交易的哈希值(TxID),等等。
相应地,上述实施方式所述的所述业务提供方节点设备核对是否已接收到所述业务平台方节点设备发送的、与所述第一交易对应的所述业务受理数据,包括:所述业务提供方节点设备基于所述交易流水记录包括的第一交易的交易标识,核对是否已接收到所述业务平台方节点设备发送的所述业务受理数据。上述实施方式所述的所述业务平台方节点设备核对是否已接收到所述业务提供方节点设备发送的、与所述第二交易对应的所述业务处理数据,包括:所述业务平台方节点设备基于所述交易流水记录包括的第二交易的交易标识,核对是否已接收到所述业务提供方节点设备发送的所述业务处理数据。
上述业务平台方和业务提供方节点设备可基于区块链数据生成的交易流水记录核对各自接收的业务数据,当各自接收的业务数据与链上交易流水记录一致时,即可保证双方传输的业务数据记录一致,无业务数据遗漏或掉包。而且基于交易流水记录进行业务数据核对,无需等待以进行日结核对,可随时展开,提高了业务数据核对的效率;由于现有的核对***开发联调成本较大,且需要双方配合进行,而基于区块链开展的数据核对,无需进一步开发部署双方的核对联调,降低了业务数据核对的成本;而且,基于区块链数据开展的数据核对,得益于区块链数据不易被篡改的属性,更加提高了业务数据核对的可信程度。
经过上述高效且可信的数据核对,双方可通过再次通信发送数据获取申请,及时地补全在双方数据传输中遗漏或掉包的业务数据,或者,双方可基于区块链上的第一交易或第二交易,补全在双方数据传输中遗漏或掉包的业务数据,从而进一步提高了双方***业务处理的效率。本领域的技术人员应知,基于区块链区块上存储的第一交易或 第二交易进行业务数据补全,不仅省去了双方再次联调的成本,而且基于区块链的防篡改机制,更提高了其补全的业务数据的可信程度。
值得注意的是,区块链的分布式数据库除了包括区块链的区块“账本”,还可包括基于区块“账本”上的交易而生成的、分布在区块链的节点设备本地的“世界状态(world state)”数据库;基于区块内的交易生成相应数据对象的世界状态的具体方式,一般通过区块内的交易调用智能合约来执行,在此不再赘述。
因此在本说明书又一示出的实施方式中,上述第一交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第一交易在所述区块链的世界状态数据库建立目标业务对象对应的数据集合,所述数据集合包括所述目标业务对象的标识;所述第二交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第二交易在所述区块链的世界状态数据库更新目标业务对象对应的数据集合,所述更新后的数据集合包括所述目标业务对象的标识和所述至少一个属性数据。
因此在本实施方式中,上述业务平台方节点设备除了基于所述第二交易,还可在第二交易被收录到区块后,基于区块链世界状态数据库中存储的所述目标业务对象对应的数据集合生成所述业务处理数据;上述业务提供方节点设备除了基于所述第一交易,还可在第一交易被收录到区块后,基于区块链世界状态数据库中存储的基于所述目标业务对象对应的数据集合生成所述业务处理数据。
业务平台方节点设备或业务提供方节点设备可在本地数据库中直接查询目标业务对象的标识或目标业务对象的属性数据,从而直接获取到相应的业务受理数据或业务处理数据。
以下在金融保险领域中,保险平台与保险公司机构协同进行用户保险投保或保单批改的应用场景为例,对本申请的技术方案进行详细说明。
保险平台方作为上述业务平台方,保险机构作为上述业务提供方;保险平台可以为至少一个保险机构的保险产品提供面向用户的投保或保单批改业务;保险保单或保险批改单作为上述目标业务对象;相应的,上述目标业务对象的标识为保单的编号或保险批改单的编号,上述业务受理数据为保单受理数据或保险批改单受理数据,上述业务处理数据为保单核保结果数据或所述保险批改单批改结果数据。
为完成上述业务,保险平台方终端和保险机构方终端需进行业务数据的传输。如图2所示,保险平台方终端和保险机构方终端作为区块链的节点设备,协同执行的基 于区块链的数据处理方法流程包括:
步骤201,保险平台方节点设备基于用户的投保或保单批改请求,生成保单/批改单受理数据;
步骤202,保险平台方节点设备向所述保险机构方节点设备发送所述保单/批改单受理数据;
步骤203,保险平台方节点设备向所述区块链发送第一交易,所述第一交易基于所述保单/批改单受理数据生成;所述第一交易包括保单/批改单的编号,以作为上述保单/批改单的标识;
步骤204,保险机构方节点设备从所述区块链的区块获取所述第一交易;上述第一交易已在该区块链的世界状态数据库中建立好与所述保单/批改单对应的数据集合,上述数据集合可采用例如图4(a)和(b)所示的数据集合结构;
步骤205,保险机构方节点设备核对是否已接收到保险平台方发送的与第一交易对应的保单/批改单受理数据;
如果否,步骤206,保险机构方节点设备基于本地的世界状态数据库中存储的如图4(a)(b)所示结构的数据集合,生成相应的保单/批改单受理数据;
如果是,步骤207,保险机构方节点设备基于所述保单/批改单受理数据,执行对所述保单/批改单的审批业务处理逻辑,以生成所述保单核保结果数据或所述保险批改单批改结果数据,所述保单核保结果数据或所述保险批改单批改结果数据包括所述保单/批改单的编号和所述保单核保结果/批改单批改结果,以作为保单/批改单的至少一个属性数据;上述保单核保结果可包括“已核保”或“核保失败”等等,上述批改单批改结果可包括“以批改”或“批改失败”等等;
步骤208,保险机构方节点设备向所述区块链网络发送第二交易;所述第二交易基于所述保单核保结果数据或所述保险批改单批改结果数据生成,且包括所述保单/批改单的编号和所述保单核保结果/批改单批改结果;
步骤209,保险机构方节点设备向保险平台方节点设备发送所述保单核保结果数据/所述保险批改单批改结果数据,以使所述保险平台方节点设备获取所述保单核保结果数据/所述保险批改单批改结果数据;
步骤210,保险平台方节点设备从所述区块链的区块获取所述第二交易;上述第 二交易已在该区块链的世界状态数据库中更新完成与所述保单/批改单对应的数据集合;
步骤211,保险平台方节点设备基于所述第一交易和第二交易生成所述保单/批改单的交易流水记录;所述交易流水记录包括所述所述保单/批改单的编号、所述第一交易和第二交易的交易标识TxID;图3示意了本说明书一示例性实施例所提供的保单/批改单的交易流水记录;
步骤212,保险平台方节点设备基于所述交易流水记录,核对是否已接收到所述保险机构节点设备发送的所述保单核保结果数据/所述保险批改单批改结果数据;
如果是,步骤213,保险平台方基于上述保单核保结果数据/所述保险批改单批改结果数据向保险平台用户推送核保结果/批改结果通知。
如果否,步骤214,保险平台方节点设备基于本地的世界状态数据库中存储的已基于第二交易更新的保单/批改单对应的数据集合,生成相应的保单核保结果数据/所述保险批改单批改结果数据。
如前所述,区块链网络***可基于上述第一交易和第二交易为上述保单/批改单设置相应的世界状态数据集合;图4(a)(b)分别示意了在上述区块链的世界状态数据库中存储的保单和批改单对应的数据集合结构;上述保险机构方和保险平台方节点设备可基于设备本地数据库中存储的如图4(a)(b)示意的保单/批改单状态数据中,补全其保单/批改单受理数据和保单核保结果数据/所述保险批改单批改结果数据。相对于通过区块链交易获取上述保单/批改单的状态或相应业务数据,通过在区块链的世界状态数据库中建立保单/批改单状态数据,可以更加方便快捷地获取到上述保单/批改单的状态或相应业务数据。
与上述流程实现对应,本说明书的实施例还提供了基于区块链的数据处理装置50和60。装置50、60可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为逻辑意义上的装置,是通过所在设备的CPU(Central Process Unit,中央处理器)将对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,除了图7所示的CPU、内存以及存储器之外,上述装置所在的设备通常还包括用于进行无线信号收发的芯片等其他硬件,和/或用于实现网络通信功能的板卡等其他硬件。
如图5所示,本说明书还提供了一种基于区块链的数据处理装置50,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行数据传输;所述装置应用于所述业务平 台方节点设备端,包括:
生成单元502,用于生成目标业务对象的业务受理数据,所述业务受理数据包括所述目标业务对象的标识;
发送单元504,用于向所述区块链发送第一交易,所述第一交易基于所述业务受理数据生成;所述第一交易包括目标业务对象的标识;
获取单元506,用于从所述区块链的区块获取第二交易,所述第二交易由所述业务提供方节点设备基于业务处理数据生成且向所述区块链发送,所述第二交易包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;所述业务处理数据由所述业务提供方节点设备基于所述业务受理数据生成,所述业务处理数据包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;
核对单元508,用于核对是否已接收到所述业务提供方节点设备发送的、与所述第二交易对应的所述业务处理数据;
执行单元510,用于执行对所述业务处理数据的应用逻辑或执行预设的业务处理数据获取逻辑。
在又一示出的实施方式中,所述执行单元510,进一步用于:
向所述业务提供方节点设备发送所述业务处理数据的获取申请。
在又一示出的实施方式中,所述执行单元510,进一步用于:
基于所述第二交易,生成所述业务处理数据。
在又一示出的实施方式中,所述业务平台方节点设备基于所述第一交易和第二交易生成有所述目标业务对象的交易流水记录;所述交易流水记录包括所述目标业务对象的标识、所述第一交易和第二交易的交易标识;
所述核对单元508,进一步用于:
基于所述交易流水记录,核对是否已接收到所述业务提供方节点设备发送的所述业务处理数据。
在又一示出的实施方式中,所述第一交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第一交易在所述区块链的世界状态数据库建立目标业务对象对应的数据集合,所述数据集合包括所述目标业务对象的标识;
所述第二交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第二交易在所述区块链的世界状态数据库更新目标业务对象对应的数据集合,所述更新后的数据集合包括所述目标业务对象的标识和所述至少一个属性数据。
在又一示出的实施方式中,所述执行单元510,进一步用于:
基于所述目标业务对象对应的数据集合,生成所述业务处理数据。
上述装置50中各个单元的功能和作用的实现过程具体详见上述业务平台方节点设备所执行的基于区块链的数据处理方法中对应步骤的实现过程,相关之处参见方法实施例的部分说明即可,在此不再赘述。
如图6所示,本说明书还提供了一种基于区块链的数据处理装置60,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行数据传输;所述装置60应用于所述业务提供方节点设备端,包括:
获取单元602,用于从所述区块链的区块获取第一交易,所述第一交易由所述业务平台方节点设备基于目标业务对象的业务受理数据生成且向所述区块链发送;所述第一交易包括所述目标业务对象的标识;所述业务受理数据由所述业务平台方节点设备生成且包括所述目标业务对象的标识;
核对单元604,用于核对是否已接收到所述业务平台方节点设备发送的、与所述第一交易对应的所述业务受理数据;
执行单元606,用于基于所述业务受理数据,执行对所述目标业务对象的业务处理逻辑,以生成所述目标业务对象的业务处理数据,所述业务处理数据包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;
或执行预设的业务受理数据获取逻辑;
发送单元608,用于发送第二交易;所述第二交易基于所述业务处理数据生成,且包括所述目标业务对象的标识和所述至少一个属性数据。
在又一示出的实施方式中,所述执行单元606,进一步用于:
向所述业务平台方节点设备发送所述业务受理数据的获取申请。
在又一示出的实施方式中,所述执行单元606,进一步用于:
基于所述第一交易,生成所述业务受理数据。
在又一示出的实施方式中,所述业务平台方节点设备和所述业务提供方节点设备均基于所述第一交易和第二交易生成有所述目标业务对象的交易流水记录;所述交易流水记录包括所述目标业务对象的标识、所述第一交易和第二交易的交易标识;
所述核对单元604,进一步用于:
基于所述交易流水记录,核对是否已接收到所述业务平台方节点设备发送的所述业务受理数据。
在又一示出的实施方式中,所述第一交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第一交易在所述区块链的世界状态数据库建立目标业务对象对应的数据集合,所述数据集合包括所述目标业务对象的标识;
所述第二交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第二交易在所述区块链的世界状态数据库更新目标业务对象对应的数据集合,所述更新后的数据集合包括所述目标业务对象的标识和所述至少一个属性数据。
在又一示出的实施方式中,所述执行单元606,进一步用于:
基于所述目标业务对象对应的数据集合,生成所述业务受理数据。
上述装置60中各个单元的功能和作用的实现过程具体详见上述业务提供方节点设备所执行的基于区块链的数据处理方法中对应步骤的实现过程,相关之处参见方法实施例的部分说明即可,在此不再赘述。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部单元或模块来实现本说明书方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
上述实施例阐明的装置、单元、模块,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。
与上述方法实施例相对应,本说明书的实施例还提供了一种计算机设备,如图7 所示,该计算机设备包括存储器和处理器。其中,存储器上存储有能够由处理器运行的计算机程序;处理器在运行存储的计算机程序时,执行本说明书实施例中上述业务平台方节点设备所执行的基于区块链的数据处理方法的各个步骤。对上述业务平台方节点设备所执行的基于区块链的数据处理方法的各个步骤的详细描述请参见之前的内容,不再重复。
与上述方法实施例相对应,本说明书的实施例还提供了一种计算机设备,如图7所示,该计算机设备包括存储器和处理器。其中,存储器上存储有能够由处理器运行的计算机程序;处理器在运行存储的计算机程序时,执行本说明书实施例中上述业务提供方节点设备所执行的基于区块链的数据处理方法的各个步骤。对上述业务提供方节点设备所执行的基于区块链的数据处理方法的各个步骤的详细描述请参见之前的内容,不再重复。
以上所述仅为本说明书的较佳实施例而已,并不用以限制本说明书,凡在本说明书的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书保护的范围之内。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。
计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本领域技术人员应明白,本说明书的实施例可提供为方法、***或计算机程序产品。因此,本说明书的实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书的实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。

Claims (36)

  1. 一种基于区块链的数据处理方法,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行数据传输;所述方法包括:
    所述业务平台方节点设备生成目标业务对象的业务受理数据,所述业务受理数据包括所述目标业务对象的标识;
    所述业务平台方节点设备向所述区块链发送第一交易,所述第一交易基于所述业务受理数据生成;所述第一交易包括目标业务对象的标识;
    所述业务提供方节点设备从所述区块链的区块获取所述第一交易;
    所述业务提供方节点设备核对是否已接收到所述业务平台方节点设备发送的、与所述第一交易对应的所述业务受理数据;
    如果否,所述业务提供方节点设备执行预设的业务受理数据获取逻辑;
    如果是,所述业务提供方节点设备基于所述业务受理数据,执行对所述目标业务对象的业务处理逻辑,以生成所述目标业务对象的业务处理数据,所述业务处理数据包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;
    所述业务提供方节点设备向所述区块链网络发送第二交易;所述第二交易基于所述业务处理数据生成,且包括所述目标业务对象的标识和所述至少一个属性数据;
    所述业务平台方节点设备从所述区块链的区块获取所述第二交易;
    所述业务平台方节点设备核对是否已接收到所述业务提供方节点设备发送的、与所述第二交易对应的所述业务处理数据;
    如果否,所述业务平台方节点设备执行预设的业务处理数据获取逻辑;
    如果是,所述业务平台方节点设备执行对所述业务处理数据的应用逻辑。
  2. 根据权利要求1所述的方法,所述业务提供方节点设备执行预设的业务受理数据获取逻辑,包括:
    所述业务提供方节点设备向所述业务平台方节点设备发送所述业务受理数据的获取申请;
    所述业务平台方节点设备执行预设的业务处理数据获取逻辑,包括:
    所述业务平台方节点设备向所述业务提供方节点设备发送所述业务处理数据的获取申请。
  3. 根据权利要求1所述的方法,所述业务提供方节点设备执行预设的业务受理数据获取逻辑,包括:
    所述业务提供方节点设备基于所述第一交易,生成所述业务受理数据;
    所述业务平台方节点设备执行预设的业务处理数据获取逻辑,包括:
    所述业务平台方节点设备基于所述第二交易,生成所述业务处理数据。
  4. 根据权利要求1或2或3所述的方法,所述业务平台方节点设备和所述业务提供方节点设备均基于所述第一交易和第二交易生成有所述目标业务对象的交易流水记录;所述交易流水记录包括所述目标业务对象的标识、所述第一交易和第二交易的交易标识;
    所述业务提供方节点设备核对是否已接收到所述业务平台方节点设备发送的、与所述第一交易对应的所述业务受理数据,包括:
    所述业务提供方节点设备基于所述交易流水记录,核对是否已接收到所述业务平台方节点设备发送的所述业务受理数据;
    所述业务平台方节点设备核对是否已接收到所述业务提供方节点设备发送的、与所述第二交易对应的所述业务处理数据,包括:
    所述业务平台方节点设备基于所述交易流水记录,核对是否已接收到所述业务提供方节点设备发送的所述业务处理数据。
  5. 根据权利要求1所述的方法,所述第一交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第一交易在所述区块链的世界状态数据库建立目标业务对象对应的数据集合,所述数据集合包括所述目标业务对象的标识;
    所述第二交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第二交易在所述区块链的世界状态数据库更新目标业务对象对应的数据集合,所述更新后的数据集合包括所述目标业务对象的标识和所述至少一个属性数据。
  6. 根据权利要求5所述的方法,所述业务提供方节点设备执行预设的业务受理数据获取逻辑,包括:
    所述业务提供方节点设备基于所述目标业务对象对应的数据集合,生成所述业务受理数据;
    所述业务平台方节点设备执行预设的业务处理数据获取逻辑,还包括:
    所述业务平台方节点设备基于所述目标业务对象对应的数据集合,生成所述业务处理数据。
  7. 根据权利要求1或2或3所述的方法,所述业务平台方为保险平台方,所述业务提供方为保险机构方,所述目标业务对象为保单或保险批改单,所述目标业务对象的标识为所述保单或所述保险批改单的编号,所述业务受理数据为所述保单受理数据或所 述保险批改单受理数据,所述业务处理数据为所述保单核保结果数据或所述保险批改单批改结果数据。
  8. 根据权利要求1所述的方法,所述区块链为联盟链,所述业务平台方节点设备和业务提供方节点设备为所述联盟链的联盟成员节点设备。
  9. 一种基于区块链的数据处理方法,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行数据传输;所述方法由所述业务平台方节点设备执行,包括:
    生成目标业务对象的业务受理数据,所述业务受理数据包括所述目标业务对象的标识;
    向所述区块链发送第一交易,所述第一交易基于所述业务受理数据生成;所述第一交易包括目标业务对象的标识;
    从所述区块链的区块获取第二交易,所述第二交易由所述业务提供方节点设备基于业务处理数据生成且向所述区块链发送,所述第二交易包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;所述业务处理数据由所述业务提供方节点设备基于所述业务受理数据生成,所述业务处理数据包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;
    核对是否已接收到所述业务提供方节点设备发送的、与所述第二交易对应的所述业务处理数据;
    如果否,执行预设的业务处理数据获取逻辑;
    如果是,执行对所述业务处理数据的应用逻辑。
  10. 根据权利要求9所述的方法,所述执行预设的业务处理数据获取逻辑,包括:
    向所述业务提供方节点设备发送所述业务处理数据的获取申请。
  11. 根据权利要求9所述的方法,所述执行预设的业务处理数据获取逻辑,包括:
    基于所述第二交易,生成所述业务处理数据。
  12. 根据权利要求9或10或11所述的方法,所述业务平台方节点设备基于所述第一交易和第二交易生成有所述目标业务对象的交易流水记录;所述交易流水记录包括所述目标业务对象的标识、所述第一交易和第二交易的交易标识;
    所述核对是否已接收到所述业务提供方节点设备发送的、与所述第二交易对应的所述业务处理数据,包括:
    基于所述交易流水记录,核对是否已接收到所述业务提供方节点设备发送的所述业务处理数据。
  13. 根据权利要求9所述的方法,所述第一交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第一交易在所述区块链的世界状态数据库建立目标业务对象对应的数据集合,所述数据集合包括所述目标业务对象的标识;
    所述第二交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第二交易在所述区块链的世界状态数据库更新目标业务对象对应的数据集合,所述更新后的数据集合包括所述目标业务对象的标识和所述至少一个属性数据。
  14. 根据权利要求13所述的方法,所述执行预设的业务处理数据获取逻辑,包括:
    基于所述目标业务对象对应的数据集合,生成所述业务处理数据。
  15. 根据权利要求9所述的方法,所述区块链为联盟链,所述业务平台方节点设备和业务提供方节点设备为所述联盟链的联盟成员节点设备。
  16. 一种基于区块链的数据处理方法,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行数据传输;所述方法由所述业务提供方节点设备执行,包括:
    从所述区块链的区块获取第一交易,所述第一交易由所述业务平台方节点设备基于目标业务对象的业务受理数据生成且向所述区块链发送;所述第一交易包括所述目标业务对象的标识;所述业务受理数据由所述业务平台方节点设备生成且包括所述目标业务对象的标识;
    核对是否已接收到所述业务平台方节点设备发送的、与所述第一交易对应的所述业务受理数据;
    如果否,执行预设的业务受理数据获取逻辑;
    如果是,基于所述业务受理数据,执行对所述目标业务对象的业务处理逻辑,以生成所述目标业务对象的业务处理数据,所述业务处理数据包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;
    向所述区块链网络发送第二交易;所述第二交易基于所述业务处理数据生成,且包括所述目标业务对象的标识和所述至少一个属性数据。
  17. 根据权利要求16所述的方法,所述执行预设的业务受理数据获取逻辑,包括:
    向所述业务平台方节点设备发送所述业务受理数据的获取申请。
  18. 根据权利要求16所述的方法,所述执行预设的业务受理数据获取逻辑,包括:
    基于所述第一交易,生成所述业务受理数据。
  19. 根据权利要求16或17或18所述的方法,所述业务平台方节点设备和所述业务提供方节点设备均基于所述第一交易和第二交易生成有所述目标业务对象的交易流 水记录;所述交易流水记录包括所述目标业务对象的标识、所述第一交易和第二交易的交易标识;
    所述核对是否已接收到所述业务平台方节点设备发送的、与所述第一交易对应的所述业务受理数据,包括:
    基于所述交易流水记录,核对是否已接收到所述业务平台方节点设备发送的所述业务受理数据。
  20. 根据权利要求16所述的方法,所述第一交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第一交易在所述区块链的世界状态数据库建立目标业务对象对应的数据集合,所述数据集合包括所述目标业务对象的标识;
    所述第二交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第二交易在所述区块链的世界状态数据库更新目标业务对象对应的数据集合,所述更新后的数据集合包括所述目标业务对象的标识和所述至少一个属性数据。
  21. 根据权利要求20所述的方法,所述执行预设的业务受理数据获取逻辑,包括:
    基于所述目标业务对象对应的数据集合,生成所述业务受理数据。
  22. 根据权利要求16所述的方法,所述区块链为联盟链,所述业务平台方节点设备和业务提供方节点设备为所述联盟链的联盟成员节点设备。
  23. 一种基于区块链的数据处理装置,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行数据传输;所述装置应用于所述业务平台方节点设备端,包括:
    生成单元,用于生成目标业务对象的业务受理数据,所述业务受理数据包括所述目标业务对象的标识;
    发送单元,用于向所述区块链发送第一交易,所述第一交易基于所述业务受理数据生成;所述第一交易包括目标业务对象的标识;
    获取单元,用于从所述区块链的区块获取第二交易,所述第二交易由所述业务提供方节点设备基于业务处理数据生成且向所述区块链发送,所述第二交易包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;所述业务处理数据由所述业务提供方节点设备基于所述业务受理数据生成,所述业务处理数据包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;
    核对单元,用于核对是否已接收到所述业务提供方节点设备发送的、与所述第二交易对应的所述业务处理数据;
    执行单元,用于执行对所述业务处理数据的应用逻辑或执行预设的业务处理数据获 取逻辑。
  24. 根据权利要求23所述的装置,所述执行单元,进一步用于:
    向所述业务提供方节点设备发送所述业务处理数据的获取申请。
  25. 根据权利要求23所述的装置,所述执行单元,进一步用于:
    基于所述第二交易,生成所述业务处理数据。
  26. 根据权利要求23或24或25所述的装置,所述业务平台方节点设备基于所述第一交易和第二交易生成有所述目标业务对象的交易流水记录;所述交易流水记录包括所述目标业务对象的标识、所述第一交易和第二交易的交易标识;
    所述核对单元,进一步用于:
    基于所述交易流水记录,核对是否已接收到所述业务提供方节点设备发送的所述业务处理数据。
  27. 根据权利要求23所述的装置,所述第一交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第一交易在所述区块链的世界状态数据库建立目标业务对象对应的数据集合,所述数据集合包括所述目标业务对象的标识;
    所述第二交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第二交易在所述区块链的世界状态数据库更新目标业务对象对应的数据集合,所述更新后的数据集合包括所述目标业务对象的标识和所述至少一个属性数据。
  28. 根据权利要求27所述的装置,所述执行单元,进一步用于:
    基于所述目标业务对象对应的数据集合,生成所述业务处理数据。
  29. 一种基于区块链的数据处理装置,应用于包括业务平台方节点设备和业务提供方节点设备的区块链网络***;所述业务平台方节点设备与所述业务提供方节点设备通信连接以进行数据传输;所述装置应用于所述业务提供方节点设备端,包括:
    获取单元,用于从所述区块链的区块获取第一交易,所述第一交易由所述业务平台方节点设备基于目标业务对象的业务受理数据生成且向所述区块链发送;所述第一交易包括所述目标业务对象的标识;所述业务受理数据由所述业务平台方节点设备生成且包括所述目标业务对象的标识;
    核对单元,用于核对是否已接收到所述业务平台方节点设备发送的、与所述第一交易对应的所述业务受理数据;
    执行单元,用于基于所述业务受理数据,执行对所述目标业务对象的业务处理逻辑,以生成所述目标业务对象的业务处理数据,所述业务处理数据包括所述目标业务对象的标识和所述目标业务对象的至少一个属性数据;
    或执行预设的业务受理数据获取逻辑;
    发送单元,用于发送第二交易;所述第二交易基于所述业务处理数据生成,且包括所述目标业务对象的标识和所述至少一个属性数据。
  30. 根据权利要求29所述的装置,所述执行单元,进一步用于:
    向所述业务平台方节点设备发送所述业务受理数据的获取申请。
  31. 根据权利要求29所述的装置,所述执行单元,进一步用于:
    基于所述第一交易,生成所述业务受理数据。
  32. 根据权利要求29或30或31所述的装置,所述业务平台方节点设备和所述业务提供方节点设备均基于所述第一交易和第二交易生成有所述目标业务对象的交易流水记录;所述交易流水记录包括所述目标业务对象的标识、所述第一交易和第二交易的交易标识;
    所述核对单元,进一步用于:
    基于所述交易流水记录,核对是否已接收到所述业务平台方节点设备发送的所述业务受理数据。
  33. 根据权利要求29所述的装置,所述第一交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第一交易在所述区块链的世界状态数据库建立目标业务对象对应的数据集合,所述数据集合包括所述目标业务对象的标识;
    所述第二交易用以在被收录至所述区块链的区块后,由所述区块链的节点设备基于所述第二交易在所述区块链的世界状态数据库更新目标业务对象对应的数据集合,所述更新后的数据集合包括所述目标业务对象的标识和所述至少一个属性数据。
  34. 根据权利要求33所述的装置,所述执行单元,进一步用于:
    基于所述目标业务对象对应的数据集合,生成所述业务受理数据。
  35. 一种计算机设备,包括:存储器和处理器;所述存储器上存储有可由所述处理器运行的计算机程序;所述处理器运行所述计算机程序时,执行如权利要求9至15任意一项所述的方法。
  36. 一种计算机设备,包括:存储器和处理器;所述存储器上存储有可由所述处理器运行的计算机程序;所述处理器运行所述计算机程序时,执行如权利要求16至22任意一项所述的方法。
PCT/CN2020/071842 2019-07-09 2020-01-13 基于区块链的数据处理方法和装置 WO2021004058A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US16/805,641 US10771242B2 (en) 2019-07-09 2020-02-28 Blockchain-based data processing
US16/940,757 US20200358597A1 (en) 2019-07-09 2020-07-28 Blockchain-based data processing

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910615701.9A CN110471982B (zh) 2019-07-09 2019-07-09 基于区块链的数据处理方法和装置
CN201910615701.9 2019-07-09

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/805,641 Continuation US10771242B2 (en) 2019-07-09 2020-02-28 Blockchain-based data processing

Publications (1)

Publication Number Publication Date
WO2021004058A1 true WO2021004058A1 (zh) 2021-01-14

Family

ID=68507163

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/071842 WO2021004058A1 (zh) 2019-07-09 2020-01-13 基于区块链的数据处理方法和装置

Country Status (2)

Country Link
CN (2) CN110471982B (zh)
WO (1) WO2021004058A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112927078A (zh) * 2021-03-03 2021-06-08 关莉莉 区块链金融大数据分析处理***及方法和交易平台***

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10771242B2 (en) 2019-07-09 2020-09-08 Alibaba Group Holding Limited Blockchain-based data processing
CN110471982B (zh) * 2019-07-09 2020-11-17 创新先进技术有限公司 基于区块链的数据处理方法和装置
CN112287033B (zh) * 2020-12-24 2021-03-19 腾讯科技(深圳)有限公司 一种数据同步方法、设备以及计算机可读存储介质
CN112967065B (zh) * 2021-05-18 2021-07-13 腾讯科技(深圳)有限公司 一种交易验证方法、装置、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150310497A1 (en) * 2009-12-17 2015-10-29 David Valin Method and process for registration, creation and management of micro shares of real or intangible properties and advertisements in a network system
CN109218079A (zh) * 2018-08-16 2019-01-15 北京京东尚科信息技术有限公司 一种区块链网络、部署方法及存储介质
CN109685674A (zh) * 2018-12-21 2019-04-26 众安信息技术服务有限公司 基于区块链的订单通证化、赔付、查询的方法、装置及存储介质
CN109947845A (zh) * 2018-11-23 2019-06-28 阿里巴巴集团控股有限公司 一种区块链存证方法、装置和计算机设备
CN109981588A (zh) * 2019-02-27 2019-07-05 四川享宇金信金融科技有限公司 一种基于区块链的数据交易业务处理方法及***
CN110471982A (zh) * 2019-07-09 2019-11-19 阿里巴巴集团控股有限公司 基于区块链的数据处理方法和装置

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341702B (zh) * 2017-03-08 2020-06-23 创新先进技术有限公司 一种业务处理的方法及装置
US11816642B2 (en) * 2017-03-20 2023-11-14 Steven Victor Wasserman Blockchain digital currency: systems and methods for use in enterprise blockchain banking
CN107395665B (zh) * 2017-05-22 2020-04-24 创新先进技术有限公司 一种区块链业务受理及业务共识方法及装置
CN111866008B (zh) * 2017-07-14 2022-05-31 创新先进技术有限公司 一种业务数据处理方法、业务处理方法及设备
CN108737361B (zh) * 2018-01-25 2022-01-04 阳光保险集团股份有限公司 一种基于区块链的数据验证方法
CN108550079A (zh) * 2018-03-09 2018-09-18 深圳市元征科技股份有限公司 保险理赔信息管理方法、***及区块链节点设备
CN108665946B (zh) * 2018-05-08 2023-01-17 创新先进技术有限公司 一种业务数据的访问方法和装置
CN109345386B (zh) * 2018-08-31 2020-04-14 阿里巴巴集团控股有限公司 基于区块链的交易共识处理方法及装置、电子设备
CN109255709B (zh) * 2018-09-05 2020-11-03 深圳正品创想科技有限公司 一种基于区块链的结账方法及其***
CN109584082A (zh) * 2018-09-17 2019-04-05 平安科技(深圳)有限公司 基于区块链的保险理赔方法、电子装置及存储介质
CN109257427B (zh) * 2018-09-26 2021-04-02 网宿科技股份有限公司 一种基于区块链的业务处理方法及***
CN109614438A (zh) * 2018-10-24 2019-04-12 阿里巴巴集团控股有限公司 一种基于区块链的理赔方法和装置
CN109447643B (zh) * 2018-10-31 2022-12-20 ***股份有限公司 一种基于区块链的数据共享***及数据共享方法
CN109598149B (zh) * 2018-11-20 2020-04-07 阿里巴巴集团控股有限公司 业务处理的方法和装置
KR102051231B1 (ko) * 2018-11-27 2020-01-08 한국과학기술원 블록체인을 활용한 사용자 개인정보 활용 파악을 위한 방법 및 시스템
CN109726251B (zh) * 2018-12-28 2022-04-05 苏州鸿链信息科技有限公司 一种基于区块链开展的跨链分布式业务***及方法
CN109947848A (zh) * 2019-01-30 2019-06-28 阿里巴巴集团控股有限公司 基于区块链的存证方法和装置
CN109886712A (zh) * 2019-02-25 2019-06-14 众安信息技术服务有限公司 基于区块链的数据处理方法与装置
CN109951488B (zh) * 2019-03-27 2022-01-07 百度在线网络技术(北京)有限公司 内容分发网络的服务实现方法、装置、设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150310497A1 (en) * 2009-12-17 2015-10-29 David Valin Method and process for registration, creation and management of micro shares of real or intangible properties and advertisements in a network system
CN109218079A (zh) * 2018-08-16 2019-01-15 北京京东尚科信息技术有限公司 一种区块链网络、部署方法及存储介质
CN109947845A (zh) * 2018-11-23 2019-06-28 阿里巴巴集团控股有限公司 一种区块链存证方法、装置和计算机设备
CN109685674A (zh) * 2018-12-21 2019-04-26 众安信息技术服务有限公司 基于区块链的订单通证化、赔付、查询的方法、装置及存储介质
CN109981588A (zh) * 2019-02-27 2019-07-05 四川享宇金信金融科技有限公司 一种基于区块链的数据交易业务处理方法及***
CN110471982A (zh) * 2019-07-09 2019-11-19 阿里巴巴集团控股有限公司 基于区块链的数据处理方法和装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112927078A (zh) * 2021-03-03 2021-06-08 关莉莉 区块链金融大数据分析处理***及方法和交易平台***

Also Published As

Publication number Publication date
CN112612856A (zh) 2021-04-06
CN110471982A (zh) 2019-11-19
CN110471982B (zh) 2020-11-17
CN112612856B (zh) 2024-03-29

Similar Documents

Publication Publication Date Title
TWI724391B (zh) 基於區塊鏈的節點管理方法和裝置
US11669811B2 (en) Blockchain-based digital token utilization
US10997159B2 (en) Blockchain notification board storing blockchain resources
US11240001B2 (en) Selective access to asset transfer data
WO2021004058A1 (zh) 基于区块链的数据处理方法和装置
TWI716140B (zh) 基於區塊鏈的資料處理方法和裝置
US20220209948A1 (en) Blockchain notification board storing blockchain resources
US20220066997A1 (en) Blockchain implementing reliability database
US20220382746A1 (en) Blockchain notification board storing blockchain resources
US20220138212A1 (en) Blockchain implementing reliability database
US10922097B2 (en) Collaborative model execution
US11489672B2 (en) Verification of conditions of a blockchain transaction
US11195180B2 (en) Virtual blockchain
US11308073B2 (en) Database node functional testing
US20220147534A1 (en) Blockchain implementing reliability database
US20200226546A1 (en) Global optimizer for supply chain
US11316385B2 (en) Wireless energy transfer
WO2020134631A1 (zh) 基于区块链的数据处理方法和装置
CN110347750B (zh) 基于区块链的数据处理方法和装置
US11769147B2 (en) Secure smart note
US11893554B2 (en) Secure smart note
US20200358597A1 (en) Blockchain-based data processing
CN112837043B (zh) 基于区块链的数据处理方法、装置及电子设备
CN113709197B (zh) 联盟区块链组织***、区块链***
US20230208648A1 (en) Htlc with proof of elapsed time

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20836467

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20836467

Country of ref document: EP

Kind code of ref document: A1