



技术领域technical field
本说明书涉及数据处理技术领域,尤其涉及一种基于区块链的数据处理方法和装置。This specification relates to the technical field of data processing, and in particular to a blockchain-based data processing method and device.
背景技术Background technique
区块链技术,也被称之为分布式账本技术,是一种由若干台计算设备共同参与“记账”,共同维护一份完整的分布式数据库的新兴技术。由于区块链技术具有去中心化、公开透明、每台计算设备可以参与数据库记录、并且各计算设备之间可以快速的进行数据同步的特性,使得区块链技术已在众多的领域中广泛的进行应用。Blockchain technology, also known as distributed ledger technology, is an emerging technology in which several computing devices jointly participate in "bookkeeping" and jointly maintain a complete distributed database. Due to the characteristics of decentralization, openness and transparency, each computing device can participate in database records, and fast data synchronization between computing devices, blockchain technology has been widely used in many fields. to apply.
发明内容Contents of the invention
有鉴于此,本说明书一个或多个实施例提供一种基于区块链的数据处理方法、装置、计算机设备和计算机可读存储介质。In view of this, one or more embodiments of this specification provide a blockchain-based data processing method, device, computer equipment, and computer-readable storage medium.
为实现上述目的,本说明书一个或多个实施例提供了一种基于区块链的数据处理方法,应用于包括业务平台方节点设备、用户客户端和业务提供方客户端的区块链网络,所述用户客户端和所述业务提供方客户端与所述业务平台节点设备通信连接;所述区块链的分布式数据库内存储有所述业务平台方与所述业务提供方签署的业务代理合约,所述业务代理合约对应有唯一性的识别码;所述业务平台节点设备配置有与所述业务代理合约对应的至少一份业务服务数据;所述方法由所述业务平台方节点设备执行,包括:In order to achieve the above purpose, one or more embodiments of this specification provide a blockchain-based data processing method, which is applied to a blockchain network including a service platform node device, a user client, and a service provider client. The user client and the service provider client communicate with the service platform node device; the distributed database of the block chain stores the service agency contract signed by the service platform and the service provider , the business proxy contract corresponds to a unique identification code; the business platform node device is configured with at least one piece of business service data corresponding to the business proxy contract; the method is executed by the business platform side node device, include:
向所述用户客户端发送业务展示数据,所述业务展示数据包括至少一份业务服务数据的标识信息,和与所述至少一份业务服务数据对应的业务代理合约的识别码;Sending business presentation data to the user client, the business presentation data including identification information of at least one piece of business service data, and an identification code of a business agency contract corresponding to the at least one piece of business service data;
接收所述用户客户端发送的目标订单,所述目标订单包括用户选定的目标业务服务数据的标识信息,和与所述目标业务服务数据对应的目标业务代理合约的识别码;receiving the target order sent by the user client, the target order including the identification information of the target business service data selected by the user, and the identification code of the target business agency contract corresponding to the target business service data;
基于所述目标业务代理合约和所述目标业务服务数据,执行预设的业务受理逻辑。Execute preset business acceptance logic based on the target business proxy contract and the target business service data.
在又一示出的实施方式中,所述业务代理合约包括所述平台节点设备与所述业务提供方客户端作出的数字签名。In yet another illustrated embodiment, the service proxy contract includes digital signatures made by the platform node device and the service provider client.
在又一示出的实施方式中,所述业务代理合约为部署在所述区块链的智能合约。In yet another illustrated embodiment, the service proxy contract is a smart contract deployed on the blockchain.
在又一示出的实施方式中,所述目标业务代理合约包括所述业务平台方可代理的业务特征内容;所述目标业务服务数据包括有所述业务平台方提供的目标业务特征内容;所述执行预设的业务受理逻辑包括:In yet another illustrated embodiment, the target business proxy contract includes the business feature content that the business platform side can proxy; the target business service data includes the target business feature content provided by the business platform side; The pre-set business acceptance logic described above includes:
验证所述目标业务服务数据包括的目标业务特征内容与目标业务代理合约可代理的业务特征内容是否一致。Verifying whether the target business feature content included in the target business service data is consistent with the business feature content that can be proxied by the target business proxy contract.
在又一示出的实施方式中,所述验证所述目标业务服务数据包括的目标业务特征内容与目标业务代理合约可代理的业务特征内容是否一致,包括:In yet another illustrated embodiment, the verifying whether the target business feature content included in the target business service data is consistent with the business feature content that can be proxied by the target business proxy contract includes:
调用业务服务数据验证智能合约,执行所述智能合约声明的业务服务数据验证逻辑,验证所述目标业务服务数据包括的目标业务特征内容与目标业务代理合约可代理的业务特征内容是否一致。Call the business service data verification smart contract, execute the business service data verification logic declared by the smart contract, and verify whether the target business feature content included in the target business service data is consistent with the business feature content that can be proxied by the target business proxy contract.
在又一示出的实施方式中,所述区块链为联盟链,所述业务平台节点设备为联盟成员节点设备。In yet another illustrated embodiment, the block chain is a consortium chain, and the service platform node device is a consortium member node device.
在又一示出的实施方式中,所述业务平台方节点设备为保险平台方节点设备;所述用户客户端为投保用户客户端;所述业务提供方客户端为保险提供方客户端;所述业务代理合约为保单代理合约;所述业务服务数据为保单条款数据;所述预设的业务受理逻辑为投保受理逻辑。In yet another illustrated embodiment, the service platform node device is an insurance platform node device; the user client is an insurance user client; the service provider client is an insurance provider client; The business agency contract is an insurance policy agency contract; the business service data is policy clause data; the preset business acceptance logic is insurance acceptance logic.
在又一示出的实施方式中,所述业务平台方节点设备为保险平台方节点设备;所述用户客户端为投保用户客户端;所述业务提供方客户端为保险提供方客户端;所述业务代理合约为保单代理合约;所述业务服务数据为保单条款数据;所述业务特征内容包括保费、或保额或风险内容;所述预设的业务受理逻辑为投保受理逻辑。In yet another illustrated embodiment, the service platform node device is an insurance platform node device; the user client is an insurance user client; the service provider client is an insurance provider client; The business agency contract is an insurance policy agency contract; the business service data is policy clause data; the business characteristic content includes insurance premium, or insurance amount or risk content; the preset business acceptance logic is insurance acceptance logic.
相应地,本说明书还提供了一种基于区块链的数据处理装置,应用于包括业务平台方节点设备、用户客户端和业务提供方客户端的区块链网络,所述用户客户端和所述业务提供方客户端与所述业务平台节点设备通信连接;所述区块链的分布式数据库内存储有所述业务平台方与所述业务提供方签署的业务代理合约,所述业务代理合约对应有唯一性的识别码;所述业务平台节点设备配置有与所述业务代理合约对应的至少一份业务服务数据;所述装置应用于所述业务平台节点设备端,包括:Correspondingly, this specification also provides a block chain-based data processing device, which is applied to a block chain network including a service platform node device, a user client and a service provider client, the user client and the The client of the service provider communicates with the node device of the service platform; the distributed database of the block chain stores the service agency contract signed by the service platform party and the service provider, and the service agency contract corresponds to A unique identification code; the business platform node device is configured with at least one piece of business service data corresponding to the business proxy contract; the device is applied to the business platform node device end, including:
发送单元,用于向所述用户客户端发送业务展示数据,所述业务展示数据包括至少一份业务服务数据的标识信息,和与所述至少一份业务服务数据对应的业务代理合约的识别码;A sending unit, configured to send business presentation data to the user client, where the business presentation data includes identification information of at least one piece of business service data, and an identification code of a business proxy contract corresponding to the at least one piece of business service data ;
接收单元,用于接收所述用户客户端发送的目标订单,所述目标订单包括用户选定的目标业务服务数据的标识信息,和与所述目标业务服务数据对应的目标业务代理合约的识别码;The receiving unit is configured to receive the target order sent by the user client, the target order includes the identification information of the target business service data selected by the user, and the identification code of the target business agency contract corresponding to the target business service data ;
执行单元,基于所述目标业务代理合约和所述目标业务服务数据,执行预设的业务受理逻辑。The executing unit executes preset business acceptance logic based on the target business proxy contract and the target business service data.
在又一示出的实施方式中,所述业务代理合约包括所述平台节点设备与所述业务提供方客户端作出的数字签名。In yet another illustrated embodiment, the service proxy contract includes digital signatures made by the platform node device and the service provider client.
在又一示出的实施方式中,所述业务代理合约为部署在所述区块链的智能合约。In yet another illustrated embodiment, the service proxy contract is a smart contract deployed on the blockchain.
在又一示出的实施方式中,所述目标业务代理合约包括所述业务平台方可代理的业务特征内容,所述执行单元,进一步用于:In yet another illustrated embodiment, the target service proxy contract includes service feature content that can be proxied by the service platform, and the execution unit is further configured to:
验证所述目标业务服务数据的业务特征内容与目标业务代理合约可代理的业务特征内容是否一致。Verifying whether the business feature content of the target business service data is consistent with the business feature content that can be proxied by the target business proxy contract.
在又一示出的实施方式中,所述验证所述目标业务服务数据的业务特征内容与目标业务代理合约可代理的业务特征内容是否一致,包括:In yet another illustrated embodiment, the verifying whether the business feature content of the target business service data is consistent with the business feature content that can be proxied by the target business proxy contract includes:
调用业务服务数据验证智能合约,执行所述智能合约声明的业务服务数据验证逻辑,验证所述目标业务服务数据的业务特征内容与目标业务代理合约可代理的业务特征内容是否一致。Call the business service data verification smart contract, execute the business service data verification logic declared by the smart contract, and verify whether the business feature content of the target business service data is consistent with the business feature content that can be proxied by the target business proxy contract.
在又一示出的实施方式中,所述区块链为联盟链,所述业务平台节点设备为联盟成员节点设备。In yet another illustrated embodiment, the block chain is a consortium chain, and the service platform node device is a consortium member node device.
在又一示出的实施方式中,所述业务平台方节点设备为保险平台方节点设备;所述用户客户端为投保用户客户端;所述业务提供方客户端为保险提供方客户端;所述业务代理合约为保单代理合约;所述业务服务数据为保单条款数据;所述预设的业务受理逻辑为投保受理逻辑。In yet another illustrated embodiment, the service platform node device is an insurance platform node device; the user client is an insurance user client; the service provider client is an insurance provider client; The business agency contract is an insurance policy agency contract; the business service data is policy clause data; the preset business acceptance logic is insurance acceptance logic.
在又一示出的实施方式中,所述业务平台方节点设备为保险平台方节点设备;所述用户客户端为投保用户客户端;所述业务提供方客户端为保险提供方客户端;所述业务代理合约为保单代理合约;所述业务服务数据为保单条款数据;所述业务特征内容包括保费、或保额或风险内容;所述预设的业务受理逻辑为投保受理逻辑。In yet another illustrated embodiment, the service platform node device is an insurance platform node device; the user client is an insurance user client; the service provider client is an insurance provider client; The business agency contract is an insurance policy agency contract; the business service data is policy clause data; the business characteristic content includes insurance premium, or insurance amount or risk content; the preset business acceptance logic is insurance acceptance logic.
相应地,本说明书还提供了一种计算机设备,包括:存储器和处理器;所述存储器上存储有可由所述处理器运行的计算机程序;所述处理器运行所述计算机程序时,执行如业务平台方节点设备所执行的数据处理方法。Correspondingly, this specification also provides a computer device, including: a memory and a processor; a computer program that can be run by the processor is stored in the memory; when the processor runs the computer program, it executes such as business The data processing method executed by the node device on the platform side.
相应地,本说明书还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器运行时,执行如业务平台方节点设备所执行的数据处理方法。Correspondingly, this specification also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is run by a processor, it executes a data processing method as executed by a node device on the service platform side.
由以上技术方案可见,本说明书提供的基于区块链的数据处理方法和装置,在区块链的分布式数据库内存储业务平台方与业务提供方签署的业务代理合约,基于区块链的防篡改机制,为上述业务代理合约进行存证,进而为业务平台方提供的业务服务数据是否符合业务代理合约的规定提供内容佐证;相较于线下与业务提供方签署业务代理合约,为签署该业务代理合约和业务平台基于上述业务代理合约的应用降低了人力成本,提高了执行效率。It can be seen from the above technical solutions that the block chain-based data processing method and device provided in this manual store the business agency contract signed by the business platform party and the service provider in the block chain distributed database, and the block chain-based security The tampering mechanism is used to store evidence for the above-mentioned business agency contract, and then provide content evidence for whether the business service data provided by the business platform meets the requirements of the business agency contract; The application of the business agency contract and the business platform based on the above-mentioned business agency contract reduces labor costs and improves execution efficiency.
附图说明Description of drawings
图1为本说明书所提供的一实施例所示的基于区块链的数据处理方法的流程示意图;FIG. 1 is a schematic flow diagram of a blockchain-based data processing method shown in an embodiment provided in this specification;
图2为本说明书所提供的一实施例所示的将基于区块链的数据处理方法应用于投保业务中的流程示意图;Fig. 2 is a schematic flow diagram of applying a blockchain-based data processing method to the insurance business as shown in an embodiment provided by this specification;
图3为本说明书所提供的一实施例提供的应用于保险平台节点设备端的基于区块链的投保装置的示意图;Fig. 3 is a schematic diagram of a blockchain-based insurance application device applied to an insurance platform node device provided by an embodiment provided in this specification;
图4为运行本说明书所提供的基于区块链的投保装置实施例的一种硬件结构图。Fig. 4 is a hardware structure diagram for running the embodiment of the blockchain-based insurance application device provided in this specification.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本说明书一个或多个实施例相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本说明书一个或多个实施例的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. Implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of this specification. Rather, they are merely examples of apparatuses and methods consistent with aspects of one or more embodiments of the present specification as recited in the appended claims.
需要说明的是:在其他实施例中并不一定按照本说明书示出和描述的顺序来执行相应方法的步骤。在一些其他实施例中,其方法所包括的步骤可以比本说明书所描述的更多或更少。此外,本说明书中所描述的单个步骤,在其他实施例中可能被分解为多个步骤进行描述;而本说明书中所描述的多个步骤,在其他实施例中也可能被合并为单个步骤进行描述。It should be noted that in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or less steps than those described in this specification. In addition, a single step described in this specification may be decomposed into multiple steps for description in other embodiments; multiple steps described in this specification may also be combined into a single step in other embodiments describe.
在现有基于平台的保险投保业务场景中,保险平台运营方通常需与保险公司线下签署保单代理合约(或保险产品代理合约),以为保险平台上提供用户进行投保的保单提供代理权限及保险内容的合理性支持。线下签署的保单代理合约,未形成结构化的数据,因此使用效率不高;而且核对或者查询线下的合约数据均需要工作人员手动进行,且分散签署的合约数据较难集中,难以基于合约数据进行抽象或建模,对合约数据的使用不方便。In the existing platform-based insurance application business scenario, the insurance platform operator usually needs to sign a policy agency contract (or insurance product agency contract) with the insurance company offline to provide agency authority and insurance coverage for the insurance policies provided by users on the insurance platform. Reasonable support for the content. The insurance policy agency contract signed offline does not form structured data, so the use efficiency is not high; moreover, checking or querying offline contract data requires manual work by staff, and it is difficult to centralize contract data signed separately, and it is difficult to The data is abstracted or modeled, and the use of contract data is inconvenient.
有鉴于此,在本说明书示出的一种实施方式中,提供了一种基于区块链的数据处理方法,应用于包括业务平台方节点设备、用户客户端和业务提供方客户端的区块链网络,所述用户客户端和所述业务提供方客户端与所述业务平台节点设备通信连接;所述区块链的分布式数据库内存储有所述业务平台方与所述业务提供方签署的业务代理合约,所述业务代理合约对应有唯一性的识别码;所述业务平台节点设备配置有与所述业务代理合约对应的至少一份业务服务数据。In view of this, in one embodiment shown in this specification, a data processing method based on block chain is provided, which is applied to the block chain including service platform node device, user client and service provider client. network, the user client and the service provider client communicate with the service platform node device; the distributed database of the block chain stores the information signed by the service platform and the service provider A business proxy contract, the business proxy contract corresponds to a unique identification code; the business platform node device is configured with at least one piece of business service data corresponding to the business proxy contract.
本说明书一个或多个实施例所述的区块链网络,具体可指一个各节点设备通过共识机制达成的、具有分布式数据存储结构的P2P网络系统,该区块链内的数据分布在时间上相连的一个个“区块(block)”之内,后一区块包含前一区块的数据摘要,且根据具体的共识机制(如POW、POS、DPOS或PBFT等)的不同,达成全部或部分节点的数据全备份。本领域的技术人员熟知,由于区块链网络系统在相应共识机制下运行,已收录至区块链数据库内的数据很难被任意的节点篡改,例如采用Pow共识的区块链,至少需要全网51%算力的攻击才有可能篡改已有数据,因此区块链系统有着其他中心化数据库系统所无法比拟的保证数据安全、防攻击篡改的特性。由此可知,被收录至区块链的分布式数据库中的数据不会被攻击或篡改,从而保证了存证入区块链的分布式数据库的数据信息的真实可靠性。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 achieved by each node device through a consensus mechanism. The data in the blockchain is distributed in time In the "blocks" connected above, the latter 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 Or full data backup of some nodes. Those skilled in the art are well aware that since the blockchain network system operates under the corresponding consensus mechanism, the data that has been included in the blockchain database is difficult to be tampered with by any node. Only an attack of 51% of the computing power of the network can 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 from this that the data recorded in the distributed database of the blockchain will not be attacked or tampered with, thereby ensuring the authenticity and reliability of the data information stored in the distributed database of the blockchain.
区块链网络的示例类型可以包括公有区块链网络、私有区块链网络和联盟区块链网络。尽管术语区块链通常与比特币加密货币网络相关联,但是本文使用的区块链可指代不参考任何特定用例的DLS(分布式账本系统)。Example types of blockchain networks may include public blockchain networks, private blockchain networks, and consortium blockchain networks. Although the term blockchain is often associated with the Bitcoin cryptocurrency network, blockchain as used herein may refer to a DLS (Distributed Ledger System) without reference to any particular use case.
在公有区块链网络中,共识过程由共识网络的节点控制。例如,数百、数千、甚至数百万个实体可以在公有区块链网络中协作,每个实体在公有区块链网络中操作至少一个节点。因此,公有区块链网络可以被认为是相对于参与实体的公有网络。示例公有区块链网络包括比特币网络,比特币网络是对等支付网络。比特币网络利用分布式账本,被称为区块链。然而如上所述,术语区块链通常用于指代不特别参考比特币网络的分布式账本。In a public blockchain network, the consensus process is controlled by the nodes of the consensus network. For example, hundreds, thousands, or even millions of entities can collaborate in a public blockchain network, with each entity operating at least one node in the public blockchain network. Therefore, a public blockchain network can be thought of as a public network relative to 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, known as the blockchain. As mentioned above, however, the term blockchain is often used to refer to a distributed ledger without specific reference to the Bitcoin network.
通常,公有区块链网络支持公有交易。公有交易与公有区块链网络内的所有节点共享,并存储在全局区块链中。全局区块链是跨所有节点复制的区块链。也就是说,对于全局区块链,所有节点处于完全一致的状态。为了达成共识(例如,同意向区块链添加块),在公有区块链网络内实施共识协议。示例共识协议包括但不限于,在比特币网络中实施的工作量证明(proof-of-work,POW)。Typically, public blockchain networks support public transactions. Public transactions are shared with all nodes within the public blockchain network and stored in the global blockchain. A global blockchain is a blockchain replicated across all nodes. That is, for the global blockchain, all nodes are in a completely consistent state. In order to achieve consensus (e.g. agree to add blocks to the blockchain), a consensus protocol is implemented within the public blockchain network. Example consensus protocols include, but are not limited to, proof-of-work (POW) implemented in the Bitcoin network.
通常,私有区块链网络提供给特定实体,特定实体集中控制读取和写入权限。该实体控制哪些节点能够参与区块链网络。因此,私有区块链网络通常被称为许可网络,其对允许谁参与网络及其参与水平(例如,仅在某些交易中)施加限制。可以使用各种类型的访问控制机制(例如,现有参与者投票添加新实体,监管机构可以控制准入)。Typically, private blockchain networks are provided to specific entities that centrally control read and write permissions. This entity controls which nodes are able to participate in the blockchain network. For this reason, private blockchain networks are often referred to as permissioned networks, which impose restrictions on who is allowed to participate in the network and their level of participation (e.g., only in certain transactions). Various types of access control mechanisms can be used (e.g. existing participants vote to add new entities, regulators can control access).
通常,联盟区块链网络在参与实体中是私有的。在联盟区块链网络中,共识过程由授权的一组节点(联盟成员节点)控制,一个或多个节点由相应的实体(例如,企业)操作。例如,由十(10)个实体(例如,企业)组成的联盟可以操作联盟区块链网络,每个实体在该联盟区块链网络中操作至少一个节点。因此,就参与实体而言,联盟区块链网络可以被认为是私有网络。在一些示例中,每个实体(节点)必须对每个块进行签名,以使该块有效并将有效的块添加到区块链。在一些示例中,至少实体(节点)的子集(例如,至少7个实体)必须对每个块进行签名以使该块有效,并且将有效的块添加到区块链。Typically, consortium blockchain networks are private among participating entities. In a consortium blockchain network, the consensus process is controlled by an authorized group of nodes (confederation member nodes), and one or more nodes are operated by corresponding entities (eg, enterprises). For example, a consortium of ten (10) entities (eg, businesses) may operate a consortium blockchain network, each entity operating at least one node in the consortium blockchain network. As such, a consortium blockchain network can be considered a private network as far as participating entities are concerned. In some examples, each entity (node) must sign each block in order for the block to be valid and to add the valid block to the blockchain. In some examples, at least a subset of entities (nodes) (eg, at least 7 entities) must sign each block for the block to be valid, and valid blocks are added to the blockchain.
可以预期,本说明书所提供的实施方式能够在任何合适类型的区块链网络中实现。It can be expected that the implementations provided in this specification can be implemented in any suitable type of blockchain network.
本说明书一个或多个实施例所述的节点(或节点设备)是指可通过遵循相应节点协议、运行节点协议程序的安装来加入该区块链,作为该区块链的节点。本领域的技术人员通常将具有区块链分布式数据库的数据全备份的节点设备称为全节点,将具有区块链分布式数据库的部分备份数据(如仅有区块头的数据)的节点设备称为轻节点等。在本说明书的一个或多个实施例中,并不限定上述业务平台方节点设备的节点类型。本说明书也不限定上述业务平台节点设备的个数,业务平台方可以对应一个设备终端或服务器,也可以对应多个设备终端或服务器以作为上述区块链的节点设备。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 the node of the blockchain. Those skilled in the art usually refer to a node device with full data backup of the blockchain distributed database as a full node, and a node device with partial backup data of the blockchain distributed database (such as only the data of the block header) called light nodes etc. In one or more embodiments of this specification, the node type of the above-mentioned service platform node device is not limited. This manual also does not limit the number of node devices of the above-mentioned business platform. The business platform can correspond to one device terminal or server, or can correspond to multiple device terminals or servers as the node devices of the above-mentioned blockchain.
本说明书中一个或多个实施例所述的业务平台是指面向用户的提供业务服务受理或通知的网络平台;上述业务平台的用户包括接受上述业务服务的用户;上述业务提供方包括通过上述网络平台为上述业务平台的用户提供业务服务提供或支持的实体,一般为组织实体;上述业务平台的用户和业务提供方相应的客户端均与业务平台节点设备通信连接。本说明书中一个或多个实施例所述的“业务服务数据”可以看作业务平台方向平台用户提供的、用以表现业务提供方与平台用户就上述业务服务达成的共识数据(如业务合同的数字化体现)。The business platform described in one or more embodiments of this specification refers to a user-oriented network platform that provides business service acceptance or notification; users of the above-mentioned business platform include users who receive the above-mentioned business services; the above-mentioned service provider includes The platform is an entity that provides business services or support for the users of the above-mentioned business platform, and is generally an organizational entity; the users of the above-mentioned business platform and the corresponding clients of the service provider are all connected to the node equipment of the business platform through communication. The "business service data" described in one or more embodiments of this specification can be regarded as the data provided by the business platform to the platform users to represent the consensus data reached between the service provider and the platform users on the above-mentioned business services (such as business contract data). digital representation).
在本说明书提供的一个或多个实施例中,上述业务平台的用户实体和业务提供方通过在终端运行客户端安装程序加入到上述区块链网络中来,上述客户端安装程序可以为区块链节点设备的安装程序,相应地,该客户端也作为上述区块链的节点设备,在备份区块链的分布式数据库副本时向其邻近的节点设备(如上述业务平台方节点设备)发起数据获取请求,或通过向其邻近的节点设备进行数据广播而向区块链上发布数据;上述客户端安装程序也可以是与联盟区块链链中的一联盟成员节点设备(如上述业务平台方节点设备)连接的、被控制访问的区块链用户客户端程序,相应地,该客户端由于不具备直接访问区块链的分布式数据库的权限,而一般不被作为上述区块链的节点,需要向与其连接的一个或多个联盟成员节点进行具有权限获知的数据请求。本说明书并不限定上述用户客户端、业务提供方客户端是否为上述区块链的节点设备。In one or more embodiments provided in this specification, the user entities and service providers of the above-mentioned business platform join the above-mentioned blockchain network by running the client installation program on the terminal. The above-mentioned client installation program can be a block The installation program of the chain node device, correspondingly, the client also serves as the node device of the above-mentioned blockchain, when backing up the distributed database copy of the blockchain, it initiates data acquisition request, or publish data to the block chain by broadcasting data to its adjacent node devices; Party node device) connected to the blockchain user client program that is controlled and accessed. Correspondingly, because the client does not have the authority to directly access the distributed database of the blockchain, it is generally not used as the blockchain user A node needs to make a data request with permission to one or more federated member nodes connected to it. This manual does not limit whether the above-mentioned user client and service provider client are node devices of the above-mentioned blockchain.
本说明书中一个或多个实施例中提到的“业务代理合约”,包括业务平台方与业务提供方签署的纸质业务代理合约(电子版)、电子业务代理合约等,用以为业务平台提供的上述业务服务数据提供代理权限证明或合规性证明,防止业务平台方无权限代理上述业务服务,或其提供的业务服务数据的内容与业务代理合约规定的内容不符。上述业务代理合约在区块链的分布式数据库中对应有唯一性的识别码;上述识别码可以是业务平台方为上述业务代理合约分配的,也可以是由上述业务代理合约的内容决定的,例如,使用上述业务代理合约的哈希摘要作为识别码。通过使用“识别码-业务代理合约”的形式关系化存储上述业务代理合约,方便了对业务代理合约的关键字段抽取、查询或使用。The "business agency contract" mentioned in one or more embodiments of this specification includes a paper business agency contract (electronic version), an electronic business agency contract, etc. signed by the business platform party and the service provider, to provide business platforms with The above-mentioned business service data shall provide agency authority certificate or compliance certificate to prevent the business platform from having no authority to act as agent for the above-mentioned business service, or the content of the business service data provided by it does not conform to the content stipulated in the business agency contract. The above-mentioned business agency contract corresponds to a unique identification code in the distributed database of the blockchain; the above-mentioned identification code can be assigned by the business platform for the above-mentioned business agency contract, or can be determined by the content of the above-mentioned business agency contract. For example, use the hash digest of the above business proxy contract as the identification code. By using the form of "identification code-business proxy contract" to store the above-mentioned business proxy contract relationally, it is convenient to extract, query or use the key fields of the business proxy contract.
上述业务代理合约可以以“交易”的内容或部分内容的形式被存储在区块链的分布式数据库中。本说明书中一个或多个实施方式中所描述的交易(transaction),是指通过区块链的节点设备创建,并需要最终发布至区块链的分布式数据库中的一笔数据。其中,区块链中的交易,存在狭义的交易以及广义的交易之分。狭义的交易是指用户向区块链发布的一笔价值转移;例如,在传统的比特币区块链网络中,交易可以是用户在区块链中发起的一笔转账。而广义的交易是指用户实体通过节点向区块链发布的一笔具有业务意图的业务服务数据。本实施方式所述的包括业务代理合约内容的交易,可以包含上述业务代理合约的原文或密文,以为上述业务代理合约的内容作存证,也可以包含上述业务代理合约内容的“数字指纹”——即上述业务代理合约的哈希摘要以作为存证数据,基于区块链的防篡改机制,起到为上述业务代理合约存证的作用。The above-mentioned business proxy contract can be stored in the distributed database of the block chain in the form of "transaction" content or part of the content. The transaction described in one or more implementations in this specification refers to a piece of data that is created by the node device of the blockchain and needs to be finally published to the distributed database of the blockchain. Among them, transactions in the blockchain can be divided into transactions in a narrow sense and transactions in a broad sense. A transaction in a narrow sense refers to a value transfer issued by a user to the blockchain; for example, in the traditional Bitcoin blockchain network, a transaction can be a transfer initiated by a user in the blockchain. In a broad sense, a transaction refers to a piece of business service data with business intentions issued by a user entity to the blockchain through a node. The transaction including the content of the business agency contract described in this embodiment may include the original text or cipher text of the above-mentioned business agency contract as a deposit for the content of the above-mentioned business agency contract, and may also include the "digital fingerprint" of the content of the above-mentioned business agency contract ——That is, the hash summary of the above-mentioned business agency contract is used as the evidence storage data, and based on the anti-tampering mechanism of the blockchain, it plays the role of depositing the above-mentioned business agency contract.
在实际的业务应用中,本说明书上述一个或多个实施例所述的区块链网络可以构架为联盟链,上述业务平台方节点设备作为联盟成员节点设备,向联盟链上发送包含所述业务代理合约的存证交易。相比于公有链,联盟链采用的共识算法通常效率高,可满足高频交易量的需求,例如基于业务提供方多样化的业务服务提供而需与业务平台频繁签约产生的业务代理合约的存证交易;且共识的时延很低,基本达到实时处理的要求,能快速实时地在区块链的新生区块中收录上述存证交易;而且,将联盟链网络中可信节点(如业务平台方、或政府机构对应的节点)作为预选的记账节点,兼顾了安全性与稳定性;另外,联盟链的共识算法(如PBFT)通常不会消耗过多的计算机算力资源,也不一定需要代币流通,因此具有良好的可使用性。In actual business applications, the block chain network described in one or more embodiments of this specification can be structured as a consortium chain, and the above-mentioned business platform party node device, as a consortium member node device, sends a message containing the business to the consortium chain Deposit transaction of proxy contract. Compared with the public chain, the consensus algorithm adopted by the alliance chain is usually more efficient and can meet the needs of high-frequency transaction volume. and the time delay of the consensus is very low, which basically meets the requirements of real-time processing, and can quickly and real-time record the above-mentioned deposit transactions in the new blocks of the blockchain; moreover, the trusted nodes in the alliance chain network (such as business platform, or the node corresponding to the government agency) as the pre-selected accounting node, taking into account security and stability; in addition, the consensus algorithm (such as PBFT) of the alliance chain usually does not consume too much computer computing Token circulation must be required, so it has good usability.
为了方便业务平台方对为用户提供的业务服务数据进行查验、校正等合规性操作,该业务平台节点设备将业务服务数据与上述业务代理合约对应配置。上述业务服务数据与业务代理合约的对应关系可以为一对一对应关系,也可以为多对一对应关系,在本说明书中不作限定。In order to facilitate the business platform side to perform compliance operations such as checking and correcting the business service data provided to users, the business platform node device configures the business service data corresponding to the above-mentioned business agency contract. The correspondence between the above business service data and business agency contracts may be one-to-one or many-to-one, which is not limited in this specification.
在一示出的实施方式中,上述业务代理合约包括上述业务平台方节点设备与上述业务提供方客户端作出的数字签名,从而防止其他机构或用户冒充上述合约签署双方任意方的身份伪造合约,为上述业务代理合约的合法合规性提供进一步的保证。In an illustrated embodiment, the above-mentioned service agency contract includes the digital signatures made by the above-mentioned service platform node device and the above-mentioned service provider client, so as to prevent other organizations or users from impersonating the identity of any party signing the above-mentioned contract to forge the contract, Provide further assurance for the legal compliance of the above-mentioned business agency contract.
在又一示出的实施方式中,上述业务代理合约为部署在上述区块链的智能合约。为进一步提供本说明书的实施方式的背景,在区块链网络中,可以开发、测试和部署应用程序以在区块链网络内执行。示例应用程序可以包括但不限于智能合约。智能合约可以被描述为具有影响各方的合约条款的现实世界的法律合约的数字表示,如本实施例所提供的业务代理合约。智能合约被实施、存储、更新(根据需要)、并在区块链网络内执行。与智能合约相关联的合约方(例如,买方和卖方)被表示为区块链网络中的节点。In yet another illustrated embodiment, the above-mentioned business proxy contract is a smart contract deployed on the above-mentioned blockchain. To provide further context for embodiments of the present specification, in a blockchain network, applications may be developed, tested, and deployed for execution within the blockchain network. Example applications may include, but are not limited to, smart contracts. A smart contract can be described as a digital representation of a real-world legal contract with contractual terms affecting the parties, such as the business proxy contract provided by this embodiment. Smart contracts are implemented, stored, updated (as needed), and executed within the blockchain network. Contracting parties (eg, buyers and sellers) associated with a smart contract are represented as nodes in the blockchain network.
在一些示例中,智能合约可以存储数据,该数据可以用于记录信息、事实、关联、余额以及实现合约执行逻辑所需的任何其他信息,如本实施方式所提供的业务代理合约可记录具体的业务特征内容,用以体现上述业务代理合约的关键特征数据。智能合约可以被描述为由函数组成的计算机可执行程序,其中可以创建该智能合约的实例(instance),调用函数以执行智能合约的逻辑。In some examples, smart contracts can store data, which can be used to record information, facts, associations, balances, and any other information required to implement contract execution logic. For example, the business proxy contract provided by this embodiment can record specific The content of business characteristics is used to reflect the key characteristic data of the above-mentioned business agency contract. A smart contract can be described as a computer-executable program composed of functions, where instances of the smart contract can be created and functions called to execute the logic of the smart contract.
在技术方面,可以基于对象和面向对象的类来实现智能合约。例如,智能合约的条款和组件可以表示为由实现智能合约的应用程序处理的对象。智能合约(或智能合约中的对象)可以像其他面向对象的对象一样调用另一个智能合约(或同一智能合约中的对象)。例如,对象进行的调用可以是创建、更新、删除、传播或与另一个类的对象通信的调用。对象之间的调用可以由函数、方法、应用程序编程接口(application programming interface,API)或其他调用机制实现。例如,第一对象可以调用函数来创建第二对象。On the technical side, smart contracts can be implemented based on objects and object-oriented classes. For example, the terms and components of a smart contract can be represented as objects that are processed by the application implementing the smart contract. A smart contract (or an object within a smart contract) can call another smart contract (or an object within the same smart contract) just like any other object-oriented object. For example, a call made by an object may be a call to create, update, delete, propagate, or communicate with an object of another class. Calls between objects may be implemented by functions, methods, application programming interfaces (application programming interface, API) or other call mechanisms. For example, a first object may call a function to create a second object.
因此,基于以上关于智能合约的描述,在本实施方式中,可以将上述业务平台方与所述业务提供方对业务代理合约内容进行签署的逻辑,编写为智能合约代码,并经区块链的共识验证后部署在区块链上。通过上述业务平台节点设备、或所述业务提供方客户端对该智能合约的调用交易,完成上述业务代理合约的签署或查询。本领域的技术人员应知,该智能合约的执行逻辑经区块链节点设备的共识验证,基于区块链的防篡改机制和共识机制,具有执行高效(可随时应包含加密数据的调用交易的触发而执行)、执行准确(执行结果经区块链共识验证)、低人为干预风险(智能合约所执行的代码经区块链共识验证放篡改)、较低的运行成本(如人力成本)等优点,从而自动地、既为合约双方签署业务代理合约的逻辑进行存证,又为合约双方签署业务代理合约的内容进行了存证。Therefore, based on the above description about the smart contract, in this embodiment, the logic of signing the content of the business agency contract between the above-mentioned service platform and the service provider can be written as a smart contract code, and passed through the block chain Deployed on the blockchain after consensus verification. The signing or querying of the above-mentioned service agency contract is completed through the above-mentioned service platform node device or the invocation transaction of the smart contract by the service provider client. Those skilled in the art should know that the execution logic of the smart contract has been verified by the consensus of the block chain node equipment, and based on the block chain tamper-proof mechanism and consensus mechanism, it has high execution efficiency (can include encrypted data call transactions at any time) Triggered execution), accurate execution (the execution result is verified by the blockchain consensus), low risk of human intervention (the code executed by the smart contract is verified by the blockchain consensus to prevent tampering), low operating costs (such as labor costs), etc. Advantages, thus automatically depositing evidence for the logic of signing the business agency contract by both parties to the contract, and depositing evidence for the content of the business agency contract signed by both parties.
如图1所示,本实施方式所提供的基于区块链的数据处理方法,包括:As shown in Figure 1, the blockchain-based data processing method provided in this embodiment includes:
步骤102,所述业务平台节点设备向所述用户客户端发送业务展示数据,所述业务展示数据包括至少一份业务服务数据的标识信息,和与所述至少一份业务服务数据对应的业务代理合约的识别码。
上述业务服务数据的标识信息,可以包括业务服务数据的全部内容,或业务服务数据的编码序列号等标识码,以方便用户客户端获取到业务服务数据的内容信息进行查阅,并从至少一份业务服务数据中选择目标业务服务数据。The identification information of the above business service data may include the entire content of the business service data, or identification codes such as the coded serial number of the business service data, so that the user client can obtain the content information of the business service data for reference, and from at least one Select the target business service data in the business service data.
步骤104,接收所述用户客户端发送的目标订单,所述目标订单包括用户选定的目标业务服务数据的标识信息,和与所述目标业务服务数据对应的目标业务代理合约的识别码。Step 104: Receive the target order sent by the user client, the target order includes the identification information of the target business service data selected by the user, and the identification code of the target business agency contract corresponding to the target business service data.
步骤106,基于所述目标业务代理合约和所述目标业务服务数据,执行预设的业务受理逻辑。
上述实施方式所述的业务受理逻辑,可以包括用户资料获取、或传递、或对用户选定的目标业务服务进行审核、或签署目标业务服务合同等业务受理流程。The business acceptance logic described in the above embodiments may include business acceptance processes such as user data acquisition, or transfer, or review of the target business service selected by the user, or signing of the target business service contract.
在又一示出的实施方式中,所述目标业务代理合约包括所述业务平台方可代理的业务特征内容;所述目标业务服务数据包括有所述业务平台方提供的目标业务特征内容;所述执行预设的业务受理逻辑包括:验证所述目标业务服务数据包括的目标业务特征内容与目标业务代理合约可代理的业务特征内容是否一致。In yet another illustrated embodiment, the target business proxy contract includes the business feature content that the business platform side can proxy; the target business service data includes the target business feature content provided by the business platform side; The execution of the preset business acceptance logic includes: verifying whether the target business characteristic content included in the target business service data is consistent with the business characteristic content that can be proxied by the target business agency contract.
在本说明书上述各实施方式中,目标业务代理合约为数字化的合约或可数字化的合约(例如,当上述目标业务代理合约为数字图片格式的纸质合约时,可通过文字识别等方式获取到数字化的合约);业务平台方可对目标业务代理合约的数据内容进行查询、提取、对比等数据化操作。因此,通过将业务平台方提供的上述目标业务服务数据的目标业务特征内容与目标业务代理合约可代理的业务特征内容进行对比,可验证上述两业务特征内容是否一致,从而得出目标业务服务数据是否符合上述目标业务代理合约的约定或目标业务服务数据是否有效的结论,避免了现有的业务受理流程中,由人工进行目标业务数据的内容核验。In each of the above-mentioned implementations of this specification, the target business agency contract is a digital contract or a digital contract (for example, when the above-mentioned target business agency contract is a paper contract in the format of a digital image, the digitized contract can be obtained through text recognition, etc. contract); the business platform can perform data operations such as query, extraction, and comparison on the data content of the target business agency contract. Therefore, by comparing the target business feature content of the above target business service data provided by the business platform with the business feature content that can be proxied by the target business agency contract, it can be verified whether the above two business feature content is consistent, and thus the target business service data can be obtained Whether it conforms to the agreement of the above-mentioned target business agency contract or whether the target business service data is valid, avoids manual verification of the content of the target business data in the existing business acceptance process.
由于在本说明书上述各实施方式中,目标业务代理合约为数字化的合约或可数字化的合约,上述验证所述目标业务服务数据的目标业务特征内容与目标业务代理合约可代理的业务特征内容是否一致的过程可由计算机可执行的程序执行。在一示出的实施方式中,上述过程可通过调用业务服务数据验证智能合约,执行所述智能合约声明的业务服务数据验证逻辑,验证所述目标业务服务数据包括的目标业务特征内容与目标业务代理合约可代理的业务特征内容是否一致。Since in each of the above-mentioned implementations of this specification, the target business agency contract is a digital contract or a digital contract, the above-mentioned verification of whether the target business feature content of the target business service data is consistent with the business feature content that can be represented by the target business agency contract The process can be performed by a computer-executable program. In an illustrated embodiment, the above-mentioned process can call the business service data verification smart contract, execute the business service data verification logic declared by the smart contract, and verify the target business feature content included in the target business service data and the target business Whether the content of business characteristics that can be represented by the agency contract is consistent.
可选的,上述业务服务数据验证智能合约可以与业务代理合约对应的智能合约为同一合约,即为上述业务代理合约对应的智能合约部署相应的业务服务数据验证逻辑,通过调用上述业务代理智能合约,即可完成对目标业务服务数据的验证。Optionally, the above business service data verification smart contract can be the same contract as the smart contract corresponding to the business proxy contract, that is, to deploy the corresponding business service data verification logic for the smart contract corresponding to the above business proxy contract, by calling the above business proxy smart contract , the verification of the target business service data can be completed.
具体地,可将本说明书上述一个或多个实施方式所提供的基于区块链的数据处理方法应用于保险投保领域,即上述业务平台方节点设备为保险平台方节点设备;上述用户客户端为投保用户客户端;上述业务提供方客户端为保险提供方客户端;上述业务代理合约为保单代理合约;上述业务服务数据为保单条款数据;上述预设的业务受理逻辑为投保受理逻辑。Specifically, the blockchain-based data processing method provided by one or more of the above-mentioned embodiments of this specification can be applied to the field of insurance application, that is, the above-mentioned business platform node device is an insurance platform-side node device; the above-mentioned user client is The insurance user client; the above-mentioned business provider client is the insurance provider client; the above-mentioned business agency contract is the policy agency contract; the above-mentioned business service data is the policy clause data; the above-mentioned preset business acceptance logic is the insurance application acceptance logic.
上述的保险平台是指提供投保服务的面向用户的网络平台;上述保险平台的投保用户是在上述保险平台上接收保险产品或保单的购置或签订的个人或组织实体;上述保险提供方是通过保险平台为投保用户提供保险服务的组织机构;投保用户和保险提供方相应的客户端均与保险平台节点设备通信连接。本说明书中一个或多个实施例所述的“保单”是保险提供方与投保用户待签订的保险合同的数字化体现。The above-mentioned insurance platform refers to a user-oriented network platform that provides insurance services; the insured users of the above-mentioned insurance platform are individuals or organizational entities that receive the purchase or signing of insurance products or policies on the above-mentioned insurance platform; The platform is an organization that provides insurance services to insured users; the corresponding clients of insured users and insurance providers communicate with the insurance platform node equipment. The "policy" described in one or more embodiments of this specification is the digital embodiment of the insurance contract to be signed between the insurance provider and the insured user.
上述的“保险代理合约”,包括保险平台方与保险提供方签署的纸质合约(电子版)、电子合约等,用以为保险平台提供的保险产品或保单提供合规性证明,防止保险平台无权限代理保单,或代理保单的内容与保单代理合约规定的内容不符。上述保单代理合约在区块链的分布式数据库中对应有唯一性的识别码;上述识别码可以是保险平台为上述保单代理合约分配的,也可以是由上述保单代理合约决定的,例如,使用上述保单代理合约的哈希摘要作为识别码。通过使用“识别码-保单代理合约”的形式关系化存储上述保单代理合约,方便了对保单代理合约的关键字段抽取、查询或使用。The above-mentioned "insurance agency contract" includes the paper contract (electronic version) and electronic contract signed by the insurance platform party and the insurance provider, which is used to provide compliance certificates for the insurance products or policies provided by the insurance platform to prevent the insurance platform from being illegal. Authorization to act as an agent for the policy, or the content of the agent’s policy does not match the content stipulated in the policy agency contract. The above-mentioned policy agency contract corresponds to a unique identification code in the distributed database of the blockchain; the above-mentioned identification code can be assigned by the insurance platform for the above-mentioned policy agency contract, or can be determined by the above-mentioned policy agency contract, for example, use The hash digest of the above policy agency contract is used as the identification code. By using the form of "identification code-policy agency contract" to store the above insurance policy agency contract relationally, it is convenient to extract, query or use the key fields of the policy agency contract.
因此,如图2所示,上述保险平台方节点设备执行的基于区块链的投保受理方法,包括:Therefore, as shown in Figure 2, the block chain-based insurance acceptance method performed by the above-mentioned insurance platform node device includes:
步骤201,向所述用户客户端发送保单展示数据,所述保单展示数据包括至少一份保单的标识信息,和与所述至少一份保单对应的保单代理合约的识别码。
上述保单的标识信息,可以包括保单的全部内容,或保单的序列号等标识码,以方便投保用户客户端获取到保单的内容信息进行查阅,并从至少一份保单中选择待投保的目标保单。The identification information of the above policy may include the entire content of the policy, or identification codes such as the serial number of the policy, so that the client of the policyholder can easily obtain the content information of the policy for review, and select the target policy to be insured from at least one policy .
步骤202,接收所述投保用户客户端发送的目标订单,所述目标订单包括用户选定的目标保单的标识信息,和与所述目标保单对应的目标保单代理合约的识别码;
步骤203,基于所述目标保单代理合约和所述目标包括,执行预设的投保受理逻辑。
上述的投保受理逻辑,可以包括投保用户资料获取、或传递、或对投保用户核保、或接受核保结果、或签署保险合同等投保业务流程。The above-mentioned insurance application acceptance logic may include insurance application business processes such as acquisition or transmission of insurance application user data, or underwriting of insurance application users, or acceptance of underwriting results, or signing of insurance contracts.
在又一示出的实施方式中,所述业务代理合约包括所述平台节点设备与所述业务提供方客户端作出的数字签名。In yet another illustrated embodiment, the service proxy contract includes digital signatures made by the platform node device and the service provider client.
在又一示出的实施方式中,所述业务代理合约为部署在所述区块链的智能合约。In yet another illustrated embodiment, the service proxy contract is a smart contract deployed on the blockchain.
在一示出的实施方式中,上述目标保单代理合约包括所述保险平台可代理的保单特征内容,所述保单特征内容用以体现保单的关键特征信息,如保费、或保额或风险内容。由于在本说明书上述各实施方式中,目标保单代理合约为数字化的合约或可数字化的合约(例如,当上述目标保单代理合约为数字图片格式的纸质合约时,可通过文字识别等方式获取到数字化的合约);保险平台可对目标保单代理合约的数据内容进行查询、提取、对比等数据化操作。因此,通过将保险平台提供的上述目标保单的保单特征内容与目标保单代理合约可代理的保单特征内容进行对比,可验证上述两保单特征内容是否一致,从而得出目标保单是否符合上述目标代理合约的约定或目标保单是否有效的结论,避免了现有的投保受理流程中,由人工进行目标保单的内容核验。In an illustrated embodiment, the above-mentioned target policy agency contract includes policy feature content that can be represented by the insurance platform, and the policy feature content is used to reflect key feature information of the policy, such as premium, or insurance amount, or risk content. Since in each of the above-mentioned embodiments of this specification, the target insurance policy agency contract is a digital contract or a digital contract (for example, when the above-mentioned target policy agency contract is a paper contract in digital image format, it can be obtained through text recognition, etc. digital contract); the insurance platform can perform digital operations such as query, extraction, and comparison on the data content of the target policy agency contract. Therefore, by comparing the policy feature content of the above target policy provided by the insurance platform with the policy feature content that can be represented by the target policy agency contract, it can be verified whether the above two policy feature content is consistent, so as to determine whether the target policy conforms to the above target agency contract The agreement or the conclusion of whether the target policy is valid avoids manual verification of the content of the target policy in the existing insurance application acceptance process.
由于在本说明书上述各实施方式中,目标保单代理合约为数字化的合约或可数字化的合约,上述验证所述目标保单的保单特征内容与目标保单代理合约可代理的保单特征内容是否一致的过程可由计算机可执行的程序执行。在一示出的实施方式中,上述过程可通过调用保单验证智能合约,执行所述智能合约声明的保单验证逻辑,验证所述目标保单的保单特征内容与目标保单代理合约可代理的保单特征内容是否一致。Since in the above-mentioned embodiments of this specification, the target policy agency contract is a digital contract or a digital contract, the process of verifying whether the policy feature content of the target policy is consistent with the policy feature content that can be represented by the target policy agency contract can be performed by Computer-executable program execution. In an illustrated embodiment, the above process can call the policy verification smart contract, execute the policy verification logic declared by the smart contract, and verify the policy feature content of the target policy and the policy feature content that can be represented by the target policy agency contract Is it consistent.
可选的,上述保单验证智能合约可以与保单代理合约对应的智能合约为同一合约,即为上述保单代理合约对应的智能合约部署相应的保单验证逻辑,通过调用上述保单代理智能合约,即可完成对目标保单的验证。Optionally, the above-mentioned policy verification smart contract can be the same contract as the smart contract corresponding to the policy agency contract, that is, deploy the corresponding policy verification logic for the smart contract corresponding to the above-mentioned policy agency contract, and it can be completed by calling the above-mentioned policy agency smart contract Validation of the target policy.
与上述流程实现对应,本说明书的实施例还提供了基于区块链的数据处理装置30。装置30可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为逻辑意义上的装置,是通过所在设备的CPU(Central Process Unit,中央处理器)将对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,除了图4所示的CPU、内存以及存储器之外,上述装置所在的设备通常还包括用于进行无线信号收发的芯片等其他硬件,和/或用于实现网络通信功能的板卡等其他硬件。Corresponding to the implementation of the above process, the embodiment of this specification also provides a data processing device 30 based on blockchain. The device 30 may be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by reading corresponding computer program instructions into the memory through the CPU (Central Process Unit, central processing unit) of the device where it is located and running. From the perspective of hardware, in addition to the CPU, memory, and storage shown in Figure 4, the device where the above-mentioned device is located usually includes other hardware such as a chip for wireless signal transmission and reception, and/or a device for implementing network communication functions. boards and other hardware.
如图3所示,本说明书还提供了一种基于区块链的数据处理装置30,应用于包括业务平台方节点设备、用户客户端和业务提供方客户端的区块链网络,所述用户客户端和所述业务提供方客户端与所述业务平台节点设备通信连接;所述区块链的分布式数据库内存储有所述业务平台方与所述业务提供方签署的业务代理合约,所述业务代理合约对应有唯一性的识别码;所述业务平台节点设备配置有与所述业务代理合约对应的至少一份业务服务数据;所述装置30应用于所述业务平台节点设备端,包括:As shown in Figure 3, this specification also provides a block chain-based data processing device 30, which is applied to a block chain network including a service platform node device, a user client, and a service provider client. The client terminal and the service provider client communicate with the service platform node device; the distributed database of the block chain stores the service agency contract signed by the service platform party and the service provider, and the The business proxy contract corresponds to a unique identification code; the business platform node device is configured with at least one piece of business service data corresponding to the business proxy contract; the device 30 is applied to the business platform node device end, including:
发送单元302,用于向所述用户客户端发送业务展示数据,所述业务展示数据包括至少一份业务服务数据的标识信息,和与所述至少一份业务服务数据对应的业务代理合约的识别码;A sending unit 302, configured to send business presentation data to the user client, where the business presentation data includes identification information of at least one piece of business service data, and identification of a business proxy contract corresponding to the at least one piece of business service data code;
接收单元304,用于接收所述用户客户端发送的目标订单,所述目标订单包括用户选定的目标业务服务数据的标识信息,和与所述目标业务服务数据对应的目标业务代理合约的识别码;The receiving unit 304 is configured to receive the target order sent by the user client, the target order includes the identification information of the target business service data selected by the user, and the identification of the target business proxy contract corresponding to the target business service data code;
执行单元306,基于所述目标业务代理合约和所述目标业务服务数据,执行预设的业务受理逻辑。The executing unit 306 executes preset business acceptance logic based on the target business proxy contract and the target business service data.
在又一示出的实施方式中,所述业务代理合约包括所述平台节点设备与所述业务提供方客户端作出的数字签名。In yet another illustrated embodiment, the service proxy contract includes digital signatures made by the platform node device and the service provider client.
在又一示出的实施方式中,所述业务代理合约为部署在所述区块链的智能合约。In yet another illustrated embodiment, the service proxy contract is a smart contract deployed on the blockchain.
在又一示出的实施方式中,所述目标业务代理合约包括所述业务平台方可代理的业务特征内容,所述执行单元306,进一步用于:In yet another illustrated embodiment, the target service proxy contract includes service feature content that can be proxied by the service platform, and the execution unit 306 is further configured to:
验证所述目标业务服务数据的业务特征内容与目标业务代理合约可代理的业务特征内容是否一致。Verifying whether the business feature content of the target business service data is consistent with the business feature content that can be proxied by the target business proxy contract.
在又一示出的实施方式中,所述验证所述目标业务服务数据的业务特征内容与目标业务代理合约可代理的业务特征内容是否一致,包括:In yet another illustrated embodiment, the verifying whether the business feature content of the target business service data is consistent with the business feature content that can be proxied by the target business proxy contract includes:
调用业务服务数据验证智能合约,执行所述智能合约声明的业务服务数据验证逻辑,验证所述目标业务服务数据的业务特征内容与目标业务代理合约可代理的业务特征内容是否一致。Call the business service data verification smart contract, execute the business service data verification logic declared by the smart contract, and verify whether the business feature content of the target business service data is consistent with the business feature content that can be proxied by the target business proxy contract.
在又一示出的实施方式中,所述区块链为联盟链,所述业务平台节点设备为联盟成员节点设备。In yet another illustrated embodiment, the block chain is a consortium chain, and the service platform node device is a consortium member node device.
在又一示出的实施方式中,所述业务平台方节点设备为保险平台方节点设备;所述用户客户端为投保用户客户端;所述业务提供方客户端为保险提供方客户端;所述业务代理合约为保单代理合约;所述业务服务数据为保单条款数据;所述预设的业务受理逻辑为投保受理逻辑。In yet another illustrated embodiment, the service platform node device is an insurance platform node device; the user client is an insurance user client; the service provider client is an insurance provider client; The business agency contract is an insurance policy agency contract; the business service data is policy clause data; the preset business acceptance logic is insurance acceptance logic.
在又一示出的实施方式中,所述业务平台方节点设备为保险平台方节点设备;所述用户客户端为投保用户客户端;所述业务提供方客户端为保险提供方客户端;所述业务代理合约为保单代理合约;所述业务服务数据为保单条款数据;所述业务特征内容包括保费、或保额或风险内容;所述预设的业务受理逻辑为投保受理逻辑。In yet another illustrated embodiment, the service platform node device is an insurance platform node device; the user client is an insurance user client; the service provider client is an insurance provider client; The business agency contract is an insurance policy agency contract; the business service data is policy clause data; the business characteristic content includes insurance premium, or insurance amount or risk content; the preset business acceptance logic is insurance acceptance logic.
上述装置30中各个单元的功能和作用的实现过程具体详见上述业务平台方节点设备所执行的基于区块链的数据处理方法中对应步骤的实现过程,相关之处参见方法实施例的部分说明即可,在此不再赘述。For the implementation process of the functions and functions of each unit in the above-mentioned device 30, please refer to the implementation process of the corresponding steps in the blockchain-based data processing method executed by the above-mentioned service platform node device for details, and for relevant parts, please refer to the partial description of the method embodiment That is, it will not be repeated here.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部单元或模块来实现本说明书方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown 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. Part or all of the units or modules can be selected according to actual needs to achieve the purpose of the solution in this specification. It can be understood and implemented by those skilled in the art without creative effort.
上述实施例阐明的装置、单元、模块,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。The devices, units, and modules described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementing device is a computer, which may take the form of a personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media player, navigation device, e-mail device, game control device, etc. desktops, tablets, wearables, or any combination of these.
与上述方法实施例相对应,本说明书的实施例还提供了一种计算机设备,如图4所示,该计算机设备包括存储器和处理器。其中,存储器上存储有能够由处理器运行的计算机程序;处理器在运行存储的计算机程序时,执行本说明书实施例中上述业务平台方节点设备所执行的基于区块链的数据处理方法的各个步骤。对上述业务平台方节点设备所执行的基于区块链的数据处理方法的各个步骤的详细描述请参见之前的内容,不再重复。Corresponding to the foregoing method embodiments, the embodiments of this specification further provide a computer device. As shown in FIG. 4 , the computer device includes a memory and a processor. Wherein, a computer program that can be run by the processor is stored on the memory; when the processor runs the stored computer program, it executes each of the blockchain-based data processing methods performed by the above-mentioned service platform node device in the embodiment of this specification. step. For a detailed description of the various steps of the blockchain-based data processing method performed by the above-mentioned service platform node device, please refer to the previous content, and will not be repeated.
与上述方法实施例相对应,本说明书的实施例还提供了一种计算机可读存储介质,该存储介质上存储有计算机程序,这些计算机程序在被处理器运行时,执行本说明书实施例中上述业务平台方节点设备所执行的基于区块链的数据处理方法的各个步骤。对上述业务平台方节点设备所执行的基于区块链的数据处理方法的各个步骤的详细描述请参见之前的内容,不再重复。Corresponding to the above-mentioned method embodiments, the embodiments of this specification also provide a computer-readable storage medium, on which computer programs are stored. When these computer programs are run by a processor, the above-mentioned Each step of the block chain-based data processing method executed by the node device of the service platform. For a detailed description of the various steps of the blockchain-based data processing method performed by the above-mentioned service platform node device, please refer to the previous content, and will not be repeated.
以上所述仅为本说明书的较佳实施例而已,并不用以限制本说明书,凡在本说明书的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书保护的范围之内。The above descriptions are only preferred embodiments of this specification, and are not intended to limit this specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this specification shall be included in this specification. within the scope of protection.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data.
计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。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, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本领域技术人员应明白,本说明书的实施例可提供为方法、系统或计算机程序产品。因此,本说明书的实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书的实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of this specification may be provided as methods, systems or computer program products. Accordingly, the embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present specification may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein. .
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910577026.5ACN110347750B (en) | 2019-06-28 | 2019-06-28 | Blockchain-based data processing method and device |
| CN202310619195.7ACN116541465A (en) | 2019-06-28 | 2019-06-28 | Block chain-based data processing method and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910577026.5ACN110347750B (en) | 2019-06-28 | 2019-06-28 | Blockchain-based data processing method and device |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310619195.7ADivisionCN116541465A (en) | 2019-06-28 | 2019-06-28 | Block chain-based data processing method and device |
| Publication Number | Publication Date |
|---|---|
| CN110347750A CN110347750A (en) | 2019-10-18 |
| CN110347750Btrue CN110347750B (en) | 2023-06-13 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310619195.7APendingCN116541465A (en) | 2019-06-28 | 2019-06-28 | Block chain-based data processing method and device |
| CN201910577026.5AActiveCN110347750B (en) | 2019-06-28 | 2019-06-28 | Blockchain-based data processing method and device |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310619195.7APendingCN116541465A (en) | 2019-06-28 | 2019-06-28 | Block chain-based data processing method and device |
| Country | Link |
|---|---|
| CN (2) | CN116541465A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112182096B (en)* | 2020-04-02 | 2025-02-28 | 蚂蚁区块链科技(上海)有限公司 | Cross-chain data subscription method and device |
| CN112667180B (en)* | 2020-12-29 | 2024-05-28 | 百果园技术(新加坡)有限公司 | Service data display method and device, computer equipment and storage medium |
| CN112950181A (en)* | 2021-02-26 | 2021-06-11 | 成都质数斯达克科技有限公司 | Asset management method, electronic device and readable storage medium |
| CN116975145A (en)* | 2022-11-15 | 2023-10-31 | 腾讯科技(深圳)有限公司 | Block chain-based data processing method, device, equipment and readable storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109327528A (en)* | 2018-10-31 | 2019-02-12 | 阿里巴巴集团控股有限公司 | Node management method and device based on block chain |
| CN109614438A (en)* | 2018-10-24 | 2019-04-12 | 阿里巴巴集团控股有限公司 | A kind of Claims Resolution method and apparatus based on block chain |
| WO2019072297A2 (en)* | 2018-12-13 | 2019-04-18 | Alibaba Group Holding Limited | INTELLIGENT CONTRACT SERVICE OUTSIDE CHAIN REGISTRY ("OFF-CHAIN") BASED ON A CONFIDENTIAL EXECUTION ENVIRONMENT |
| WO2019104690A1 (en)* | 2017-11-30 | 2019-06-06 | 深圳前海达闼云端智能科技有限公司 | Mobile network access authentication method, device, storage medium and block chain node |
| CN109918878A (en)* | 2019-04-24 | 2019-06-21 | 中国科学院信息工程研究所 | A blockchain-based industrial IoT device identity authentication and secure interaction method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019104690A1 (en)* | 2017-11-30 | 2019-06-06 | 深圳前海达闼云端智能科技有限公司 | Mobile network access authentication method, device, storage medium and block chain node |
| CN109614438A (en)* | 2018-10-24 | 2019-04-12 | 阿里巴巴集团控股有限公司 | A kind of Claims Resolution method and apparatus based on block chain |
| CN109327528A (en)* | 2018-10-31 | 2019-02-12 | 阿里巴巴集团控股有限公司 | Node management method and device based on block chain |
| WO2019072297A2 (en)* | 2018-12-13 | 2019-04-18 | Alibaba Group Holding Limited | INTELLIGENT CONTRACT SERVICE OUTSIDE CHAIN REGISTRY ("OFF-CHAIN") BASED ON A CONFIDENTIAL EXECUTION ENVIRONMENT |
| CN109918878A (en)* | 2019-04-24 | 2019-06-21 | 中国科学院信息工程研究所 | A blockchain-based industrial IoT device identity authentication and secure interaction method |
| Title |
|---|
| 众筹区块链上的智能合约设计;黄洁华等;《信息安全研究》;20170305(第03期);全文* |
| Publication number | Publication date |
|---|---|
| CN116541465A (en) | 2023-08-04 |
| CN110347750A (en) | 2019-10-18 |
| Publication | Publication Date | Title |
|---|---|---|
| CN110009337B (en) | A method and device for data processing based on blockchain | |
| TWI724391B (en) | Node management method and device based on blockchain | |
| CN110620810B (en) | Non-linked ownership of continuous asset transfer over blockchain | |
| CN110166442B (en) | Data processing method and device based on block chain | |
| CN110633963B (en) | Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device | |
| TW202029106A (en) | A blockchain-based evidence storage method and device | |
| CN110347750B (en) | Blockchain-based data processing method and device | |
| WO2020103566A1 (en) | Blockchain certificate storage method and apparatus, and computer device | |
| WO2020082887A1 (en) | Block chain transaction method and apparatus | |
| WO2020082894A1 (en) | Blockchain-based data deposit and acquisition methods and devices | |
| WO2020147568A1 (en) | Block chain-based evidence storage method and device | |
| US11194911B2 (en) | Blockchain technique for agile software development framework | |
| US20200089509A1 (en) | Collaborative model execution | |
| CN110471982B (en) | Data processing method and device based on block chain | |
| CN111127021B (en) | Service request method and device based on block chain | |
| CN111311341B (en) | Bill processing method, equipment and medium | |
| TW202027457A (en) | Block chain-based data processing method and apparatus | |
| CN111414434B (en) | Block chain-based data transaction management network, transaction device and storage medium | |
| CN111274597B (en) | Data processing method and device | |
| CN112837043B (en) | Block chain-based data processing method and device and electronic equipment | |
| TW202025068A (en) | Real estate transaction record system and method including a blockchain database storing a decentralized ledger, a storage unit storing an application software, a plurality of user ends and a server unit | |
| HK40015733A (en) | Data processing method and device based on block chain | |
| HK40015733B (en) | Data processing method and device based on block chain | |
| US12174827B2 (en) | Trustless operations for blockchain networks | |
| HK40043551B (en) | Blockchain-based data processing method and apparatus, and electronic device |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| REG | Reference to a national code | Ref country code:HK Ref legal event code:DE Ref document number:40015733 Country of ref document:HK | |
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right | Effective date of registration:20200925 Address after:Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands Applicant after:Innovative advanced technology Co.,Ltd. Address before:Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands Applicant before:Advanced innovation technology Co.,Ltd. Effective date of registration:20200925 Address after:Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands Applicant after:Advanced innovation technology Co.,Ltd. Address before:A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands Applicant before:Alibaba Group Holding Ltd. | |
| GR01 | Patent grant | ||
| GR01 | Patent grant |