WO2020134631A1 - Block chain-based data processing method and apparatus - Google Patents

Block chain-based data processing method and apparatus Download PDF

Info

Publication number
WO2020134631A1
WO2020134631A1 PCT/CN2019/116226 CN2019116226W WO2020134631A1 WO 2020134631 A1 WO2020134631 A1 WO 2020134631A1 CN 2019116226 W CN2019116226 W CN 2019116226W WO 2020134631 A1 WO2020134631 A1 WO 2020134631A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
service provider
terminal
blockchain
information
Prior art date
Application number
PCT/CN2019/116226
Other languages
French (fr)
Chinese (zh)
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 阿里巴巴集团控股有限公司
Publication of WO2020134631A1 publication Critical patent/WO2020134631A1/en

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
    • G06F16/275Synchronous replication
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • 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

Abstract

A block chain-based data processing method and apparatus. The block chain comprises a service platform node device. The method comprises: the service platform node device obtains order information sent by a service demander terminal, the order information comprising a demanded service content (step 102); on the basis of the order information, send order distribution information to a service provider terminal to distribute a service provider to the service demander terminal, wherein a distributed database of a block chain comprises identity identification information of the service provider so as to implement identity verification and comparison when the service provider provides a service (step 104); receive a service content actually provided by the service provider and sent by the service demander terminal or the service provider terminal (step 106); and send a service storage transaction to the block chain, so that the service storage transaction is recorded in the distributed database of the block chain after being consented and verified by the block chain, wherein the service storage transaction is used for storing the service content actually provided by the service provider (step 108).

Description

基于区块链的数据处理方法和装置Blockchain-based data processing method and device 技术领域Technical field
本说明书涉及数据处理技术领域,尤其涉及一种基于区块链的数据处理方法和装置。This specification relates to the technical field of data processing, and in particular to a data processing method and device based on blockchain.
背景技术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. Blockchain technology has the characteristics of decentralization, openness and transparency, each computing device can participate in database records, and data synchronization can be quickly performed between computing devices, making blockchain technology widely used in many fields. To apply.
发明内容Summary of the invention
有鉴于此,本说明书一个或多个实施例提供了一种基于区块链的数据处理方法,所述区块链包括服务平台节点设备;所述方法包括:In view of this, one or more embodiments of this specification provide a blockchain-based data processing method, the blockchain includes a service platform node device; the method includes:
所述服务平台节点设备获取服务需求方终端发送的订单信息,其中,所述订单信息包括需求的服务内容;The service platform node device obtains order information sent by a service demanding terminal, wherein the order information includes required service content;
基于所述订单信息,向服务提供方终端发送订单分配信息,以为所述服务需求方终端分配服务提供方,其中,所述区块链的分布式数据库中存证有上述服务提供方的身份识别信息,用以供所述服务提供方在提供服务时作身份校验对比;Based on the order information, order allocation information is sent to the service provider terminal to allocate a service provider to the service demanding terminal, wherein the distributed database of the blockchain holds the identity of the above service provider Information for the service provider to perform identity verification and comparison when providing services;
接收所述服务需求方终端或所述服务提供方终端发送的服务提供方实际提供的服务内容;Receiving the service content actually provided by the service provider sent by the service demander terminal or the service provider terminal;
向所述区块链发送服务存证交易,以使所述服务存证交易被所述区块链共识验证后收录于所述区块链的分布式数据库;所述服务存证交易用于为服务提供方实际提供的服务内容进行存证。Send a service deposit transaction to the blockchain, so that the service deposit transaction is included in the distributed database of the blockchain after being verified by the blockchain consensus; the service deposit transaction is used for The service content actually provided by the service provider shall be certified.
在又一示出的实施方式中,所述身份识别信息为所述服务提供方的生物学身份识别信息。In yet another illustrated embodiment, the identification information is biological identification information of the service provider.
在又一示出的实施方式中,所述的方法,还包括:In another embodiment shown, the method further includes:
接收所述服务提供方终端或所述服务需求方终端发送的身份校验信息,所述身份校 验信息包括所述服务提供方的现有身份信息;Receiving identity verification information sent by the service provider terminal or the service demanding terminal, the identity verification information including the existing identity information of the service provider;
对比所述身份识别信息与所述现有身份信息;Comparing the identification information with the existing identification information;
将对比的结果发送至所述服务提供方终端或所述服务需求方终端。The result of the comparison is sent to the service provider terminal or the service demander terminal.
在又一示出的实施方式中,所述的方法,还包括:In another embodiment shown, the method further includes:
获取所述服务提供方在所述区块链的分布式数据库中存证的身份识别信息;Obtain the identity identification information of the service provider stored in the distributed database of the blockchain;
向所述服务提供方终端或所述服务需求方终端发送所述身份识别信息,以使所述服务提供方终端或所述服务需求方终端基于所述身份识别信息,对所述服务提供方作身份校验对比;Sending the identity identification information to the service provider terminal or the service demand side terminal, so that the service provider terminal or the service demand side terminal acts on the service provider based on the identity identification information Identity verification comparison;
接收所述服务提供方终端或所述服务需求方终端发送的身份校验对比结果。Receive an identity verification comparison result sent by the service provider terminal or the service demander terminal.
在又一示出的实施方式中,所述服务提供方实际提供的服务内容包括所述服务提供方节点设备的定位信息、所述服务提供方的身份校验对比结果、服务提供方开始服务时间、服务提供方结束服务时间、服务过程备忘信息内容或内容的数学摘要中的一种或多种。In yet another embodiment shown, the service content actually provided by the service provider includes the location information of the node device of the service provider, the comparison result of the identity verification of the service provider, and the service start time of the service provider One or more of the service provider's end service time, service process memo information content, or mathematical summary of the content.
在又一示出的实施方式中,所述区块链的为联盟链,所述服务平台节点设备为联盟成员节点设备。In another embodiment shown, the block chain is a consortium chain, and the service platform node device is a consortium member node device.
相应地,本说明书还提供了一种基于区块链的数据处理装置,所述区块链包括服务平台节点设备;所述装置包括:Correspondingly, this specification also provides a blockchain-based data processing device, the blockchain includes a service platform node device; the device includes:
获取单元,用于获取服务需求方终端发送的订单信息,其中,所述订单信息包括需求的服务内容;An obtaining unit, configured to obtain order information sent by a service demanding terminal, wherein the order information includes required service content;
发送单元,用于基于所述订单信息,向服务提供方终端发送订单分配信息,以为所述服务需求方终端分配服务提供方,其中,所述区块链的分布式数据库中存证有上述服务提供方的身份识别信息,用以供所述服务提供方在提供服务时作身份校验对比;A sending unit, configured to send order allocation information to a service provider terminal based on the order information to allocate a service provider to the service demanding terminal, wherein the distributed service is stored in the distributed database of the blockchain The identification information of the provider is used for the identity verification comparison of the service provider when providing the service;
接收单元,接收所述服务需求方终端或所述服务提供方终端发送的服务提供方实际提供的服务内容;The receiving unit receives the service content actually provided by the service provider sent by the service demanding terminal or the service provider terminal;
交易发送单元,用于向所述区块链发送服务存证交易,以使所述服务存证交易被所述区块链共识验证后收录于所述区块链的分布式数据库;所述服务存证交易用于为服务提供方实际提供的服务内容进行存证。A transaction sending unit, configured to send a service deposit transaction to the blockchain, so that the service deposit transaction is included in the distributed database of the blockchain after being verified by the blockchain consensus; the service The certificate deposit transaction is used to deposit certificates for the service content actually provided by the service provider.
在又一示出的实施方式中,所述身份识别信息为所述服务提供方的生物学身份识别信息。In yet another illustrated embodiment, the identification information is biological identification information of the service provider.
在又一示出的实施方式中,所述接收单元,进一步用于接收所述服务提供方终端或所述服务需求方终端发送的身份校验信息,所述身份校验信息包括所述服务提供方的现有身份信息;In yet another illustrated embodiment, the receiving unit is further configured to receive identity verification information sent by the service provider terminal or the service demanding terminal, the identity verification information including the service provision Party's existing identity information;
所述装置还包括对比单元,用于对比所述身份识别信息与所述现有身份信息;The device further includes a comparison unit for comparing the identity identification information with the existing identity information;
所述发送单元,进一步用于将对比的结果发送至所述服务提供方终端或所述服务需求方终端。The sending unit is further configured to send the comparison result to the service provider terminal or the service demander terminal.
在又一示出的实施方式中,所述获取单元,进一步用于获取所述服务提供方在所述区块链的分布式数据库中存证的身份识别信息;In yet another embodiment shown, the acquiring unit is further configured to acquire the identity identification information of the service provider stored in the distributed database of the blockchain;
所述发送单元,进一步用于向所述服务提供方终端或所述服务需求方终端发送所述身份识别信息,以使所述服务提供方终端或所述服务需求方终端基于所述身份识别信息,对所述服务提供方作身份校验对比;The sending unit is further configured to send the identity identification information to the service provider terminal or the service demand side terminal, so that the service provider terminal or the service demand side terminal is based on the identity identification information , Compare and verify the identity of the service provider;
所述接收单元,进一步用于接收所述服务提供方终端或所述服务需求方终端发送的身份校验对比结果。The receiving unit is further configured to receive the identity verification comparison result sent by the service provider terminal or the service demander terminal.
在又一示出的实施方式中,所述服务提供方实际提供的服务内容包括所述服务提供方节点设备的定位信息、所述服务提供方的身份校验对比结果、服务提供方开始服务时间、服务提供方结束服务时间、服务过程备忘信息内容或内容的数学摘要中的一种或多种。In yet another embodiment shown, the service content actually provided by the service provider includes the location information of the node device of the service provider, the comparison result of the identity verification of the service provider, and the service start time of the service provider One or more of the service provider's end service time, service process memo information content, or mathematical summary of the content.
在又一示出的实施方式中,所述区块链的为联盟链,所述服务平台节点设备为联盟成员节点设备。In another embodiment shown, the block chain is a consortium chain, and the service platform node device is a consortium member node device.
相应地,本说明书还提出了一种计算机设备,包括:存储器和处理器;所述存储器上存储有可由处理器运行的计算机程序;所述处理器运行所述计算机程序时,执行上述服务平台节点设备所执行的基于区块链的数据处理方法。Correspondingly, this specification also proposes a computer device, including: a memory and a processor; a computer program executable by the processor is stored on the memory; when the processor runs the computer program, the above-mentioned service platform node is executed Blockchain-based data processing method performed by the device.
本说明书还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器运行时,执行上述服务平台节点设备所执行的基于区块链的数据处理方法。This specification also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, executes the blockchain-based data processing method performed by the service platform node device.
由以上技术方案可见,本说明书提供的基于区块链的数据处理方法及装置,将服务平台终端设置为区块链的节点设备,基于区块链技术的分布式数据库存储机制,实际完 成的服务内容被去中心化地记录在多个区块链节点中,由区块链节点共同维护,实时进行同步,所有记录可回溯;而且,基于区块链的共识机制,服务平台节点设备提供的已完成的服务内容信息不会在提供后被篡改,从而保证了已完成的服务内容的真实性和安全性,为基于该已完成的服务内容进行的取证或其他应用提供了有效的数据基础。It can be seen from the above technical solutions that the blockchain-based data processing method and device provided in this specification set the service platform terminal as a blockchain node device, a distributed database storage mechanism based on blockchain technology, and the actual completed service The content is decentralized recorded in multiple blockchain nodes, maintained by the blockchain nodes, synchronized in real time, all records can be traced back; and, based on the consensus mechanism of the blockchain, the service platform node equipment has provided The completed service content information will not be tampered after it is provided, thereby ensuring the authenticity and security of the completed service content, and providing an effective data foundation for forensics or other applications based on the completed service content.
附图说明BRIEF DESCRIPTION
图1为本说明书所提供的一实施例所示的基于区块链的数据处理方法的流程示意图;FIG. 1 is a schematic flowchart of a blockchain-based data processing method according to an embodiment provided by this specification;
图2为本说明书所提供的一实施例提供的基于区块链的数据处理装置的示意图;2 is a schematic diagram of a blockchain-based data processing device according to an embodiment provided by this specification;
图3为运行本说明书所提供的基于区块链的数据处理装置实施例的一种硬件结构图。FIG. 3 is a hardware structure diagram of an embodiment of a blockchain-based data processing device provided in this specification.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本说明书一个或多个实施例相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本说明书一个或多个实施例的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail here, examples of which are shown in the drawings. When referring to the drawings below, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The 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 devices and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.
需要说明的是:在其他实施例中并不一定按照本说明书示出和描述的顺序来执行相应方法的步骤。在一些其他实施例中,其方法所包括的步骤可以比本说明书所描述的更多或更少。此外,本说明书中所描述的单个步骤,在其他实施例中可能被分解为多个步骤进行描述;而本说明书中所描述的多个步骤,在其他实施例中也可能被合并为单个步骤进行描述。It should be noted that in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than described in this specification. In addition, the single step described in this specification may be decomposed into multiple steps for description in other embodiments; and the multiple steps described in this specification may also be combined into a single step in other embodiments. description.
随着互联网科技的发展,基于网络的服务模式不断地推陈出新。对于彼此不熟识的服务者和被服务者,由于彼此间的陌生可能带来很多安全隐患,这种安全隐患尤其是在远程服务或上门服务等服务模式中尤为凸显。With the development of Internet technology, network-based service models are constantly being updated. For the server and the serviceee who are not familiar with each other, due to the strangeness between them, many security risks may be brought about. This security risk is especially prominent in service models such as remote service or on-site service.
基于以上提出的技术现状和问题,图1是本说明书所提供的一实施例所示的基于区块链的数据处理方法,所述区块链包括服务平台节点设备。Based on the technical status and problems raised above, FIG. 1 is a data processing method based on a blockchain shown in an embodiment provided in this specification, and the blockchain includes a service platform node device.
本实施例所述的服务平台可包括受理用户某类型的服务需求或服务提供,而进行服务撮合或服务分配等业务的平台性质服务机构,例如上门服务(如家政类服务、维修类服务、家教类服务)业务撮合平台、远程服务(如远程教学)业务撮合平台等等,在本 说明书中不作限定。The service platform described in this embodiment may include a platform-type service organization that accepts a certain type of service demand or service provision from a user, and performs services such as service matching or service allocation, such as on-site services (such as housekeeping services, maintenance services, and tutoring) Service) business matching platform, remote service (such as distance learning) business matching platform, etc., not limited in this manual.
本实施例所述的区块链,具体可指一个各节点通过共识机制达成的、具有分布式数据存储结构的P2P网络系统,该区块链内的数据分布在时间上相连的一个个“区块(block)”之内,后一区块包含前一区块的数据摘要,且根据具体的共识机制(如POW、POS、DPOS或PBFT等)的不同,达成全部或部分节点的数据全备份。本领域的技术人员熟知,由于区块链系统在相应共识机制下运行,已收录至区块链数据库内的数据很难被任意的节点篡改,例如采用Pow共识的区块链,至少需要全网51%算力的攻击才有可能篡改已有数据,因此区块链系统有着其他中心化数据库系统所无法比拟的保证数据安全、防攻击篡改的特性。由此可知,在本说明书所提供的实施例中,被收录至区块链的分布式数据库中的数据不会被攻击或篡改,从而保证了上述服务平台节点设备向上述区块链存证的数据信息的真实可靠性。The blockchain described in this embodiment may specifically refer to a P2P network system with distributed data storage structure reached by each node through a consensus mechanism. The data in the blockchain is distributed in time-connected "areas" Within the "block", 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.), complete data backup of all or some nodes is achieved . Those skilled in the art are familiar with the fact that since the blockchain 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. For example, the blockchain using Pow consensus requires at least the entire network Only an attack of 51% computing power can tamper with the existing data, so 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, in the embodiment provided in this specification, the data included in the distributed database of the blockchain will not be attacked or tampered, thereby ensuring that the service platform node device deposits the certificate to the blockchain The authenticity of data information.
本实施例所述的服务平台节点设备,可通过遵循相应节点协议、运行节点协议程序的安装来加入该区块链,作为该区块链的节点。本领域的技术人员通常将具有区块链分布式数据库的数据全备份的节点设备称为全节点,将具有区块链分布式数据库的部分备份数据(如仅有区块头的数据)的节点设备称为轻节点或客户端等;在本实施例中所述的服务平台节点设备可包括上述的全节点、轻节点或客户端,只要直接或间接连入上述区块链、且可发送或获取区块链的分布式数据库的数据的任何设备均可称为本实施例所述的节点设备。The service platform node device described in this embodiment may join the blockchain as a node of the blockchain by following the installation of the corresponding node protocol and running the node protocol program. A person skilled in the art usually refers to a node device with full backup of data in a blockchain distributed database as a full node, and a node device with partial backup data of a blockchain distributed database (such as data with only a block header) It is called a light node or client, etc.; the service platform node device described in this embodiment may include the above-mentioned full node, light node or client, as long as it is directly or indirectly connected to the above-mentioned blockchain and can be sent or obtained Any device of the data of the distributed database of the blockchain can be referred to as the node device described in this embodiment.
如图1所示,上述基于区块链的数据处理方法包括:As shown in Figure 1, the above blockchain-based data processing methods include:
步骤102,所述服务平台节点设备获取服务需求方终端发送的订单信息,其中,所述订单信息包括需求的服务内容。Step 102: The service platform node device obtains order information sent by a service demanding terminal, where the order information includes required service content.
本实施例所述的服务需求方终端,在与上述服务平台节点设备通信的过程中,向上述服务平台节点设备发送订单信息。上述订单信息可包括服务需求方所需求的服务内容,所述需求的服务内容包括:服务类型内容,或服务提供方所应满足的条件等内容,以方便服务平台可基于上述订单信息进行服务双方的匹配、撮合或分配。The service demanding terminal described in this embodiment sends order information to the service platform node device during communication with the service platform node device. The above-mentioned order information may include the service content required by the service demanding party, and the required service content includes: service type content, or the condition that the service provider should satisfy, etc., so that the service platform can perform services for both parties based on the above order information Matching, matching or distribution.
步骤104,基于所述订单信息,向服务提供方终端发送订单分配信息,用以为所述服务需求方终端分配服务提供方,其中,所述区块链的分布式数据库中存证有上述服务提供方的身份识别信息,用以供所述服务提供方在提供服务时作身份校验对比。Step 104: Based on the order information, send order allocation information to the service provider terminal to allocate the service provider to the service demanding terminal, wherein the distributed service database of the blockchain has the above service provision The identity identification information of the party is used for the identity verification comparison of the service provider when providing the service.
区块链的分布式数据库中存证有服务提供方的身份识别信息,用以为实际提供服务 的服务提供方做身份校验对比,防止在上述服务平台登记入册的服务提供方、与接单后实际提供服务的服务提供方不属于同一用户,带来可能发生的安全隐患。The distributed database of the blockchain holds the identification information of the service provider, which is used to compare and verify the identity of the service provider who actually provides the service, to prevent the service provider registered with the above service platform from receiving orders. The service providers who actually provide services afterwards do not belong to the same user, which may cause hidden security risks.
上述身份识别信息可包括身份证件信息(如身份证图片、身份证号码等)、生物学身份识别信息(如指纹、面貌、声纹、虹膜等识别信息),以确定服务提供方的身份。The above identification information may include identity document information (such as ID card pictures, ID numbers, etc.), biological identification information (such as fingerprints, features, voiceprints, irises, and other identification information) to determine the identity of the service provider.
服务提供方可在注册成为上述服务平台的服务提供人员时,将上述身份识别信息录入到服务平台节点设备中,并由上述服务平台节点设备将上述身份识别信息存证到区块链的分布式数据库中。值得注意的是,将上述身份识别信息存证于区块链的分布式数据库中的具体方式可以有多种,除了将上述身份识别信息的原文备份到区块链的分布式数据库中,由各节点设备共同备份维护;由于上述服务提供方的身份识别信息通常为用户非常敏感的个人隐私信息,还可将上述身份识别信息加密后发布于区块链的分布式数据库中,以防止区块链中的其他节点设备在获取上述身份识别信息后进行非法应用。The service provider may enter the above identification information into the service platform node device when registering as the service provider of the above service platform, and the above service platform node device will deposit the above identification information to the distributed blockchain Database. It is worth noting that there are many specific ways to deposit the above identification information in the distributed database of the blockchain. In addition to backing up the original text of the above identification information to the distributed database of the blockchain, each The node equipment is backed up and maintained together; because the identification information of the above service provider is usually very sensitive personal privacy information of the user, the above identification information can also be encrypted and published in the distributed database of the blockchain to prevent the blockchain The other node devices in are illegally applied after acquiring the above identification information.
在又一示出的实施方式中,上述将身份识别信息存证于区块链的分布式数据库中的具体方式还可以表现为,服务平台节点设备收集服务提供方的身份识别信息,并将服务提供方的身份识别信息的摘要(如哈希摘要值)发送到区块链的分布式数据库中,以为上述服务提供方的身份识别信息进行存证。In another embodiment shown, the specific way of storing the identification information in the distributed database of the blockchain can also be expressed as: the service platform node device collects the identification information of the service provider, and the service The digest of the provider's identification information (such as the hash digest value) is sent to the distributed database of the blockchain to deposit the identification information of the above service provider.
在本实施例中,区块链的分布式数据库中存证的服务提供方的身份识别信息,用以供该服务提供方在提供服务时作身份校验对比。关于上述身份校验对比可以包括多种具体实现流程。In this embodiment, the identity identification information of the service provider stored in the distributed database of the blockchain is used for the identity verification comparison of the service provider when providing the service. The above-mentioned identity verification comparison may include various specific implementation processes.
在一示出的实施方式中,上述身份校验对比由上述服务平台节点设备执行,具体过程可包括:In an illustrated embodiment, the identity verification comparison is performed by the service platform node device, and the specific process may include:
当服务提供方接收到服务平台发送的订单分配信息后,会依据服务需求方的需求提供服务;在提供相应服务时,为了确保实际的服务提供方确实为上述订单分配信息指定的服务提供者,服务提供方或服务需求方终端会采集实际的服务提供方的现有身份识别信息,如对实际的服务提供方进行人脸识别或查验采集其身份证件等,并将上述采集到的现有身份识别信息发送到服务平台节点设备,以供服务平台节点设备进行身份校验对比;When the service provider receives the order allocation information sent by the service platform, it will provide services according to the needs of the service demand side; when providing the corresponding service, in order to ensure that the actual service provider is indeed the service provider specified for the above order allocation information, The terminal of the service provider or service demander will collect the actual identification information of the actual service provider, such as face recognition or inspection of the actual service provider to collect their identity documents, etc., and will collect the existing identities collected above The identification information is sent to the service platform node device for the service platform node device to perform identity verification comparison;
上述服务平台节点设备接收上述服务提供方终端或上述服务需求方终端发送的身份校验信息后,基于区块链中存证的、订单分配信息中对应的服务提供方的身份识别信息,对上述存证的身份识别信息与上述现有身份信息进行对比;并将对比的结果发送至所述 服务需求方终端或所述服务提供方终端,以使上述服务需求方确认此时实际的服务提供方和订单分配信息中指定的服务提供方是否为同一人。After receiving the identity verification information sent by the service provider terminal or the service requester terminal, the service platform node device based on the identity identification information of the corresponding service provider in the order allocation information stored in the blockchain The identity identification information stored is compared with the above existing identity information; and the result of the comparison is sent to the service demanding terminal or the service provider terminal, so that the service demanding side confirms the actual service provider at this time Is it the same person as the service provider specified in the order allocation information?
在又一示出的实施方式中,上述身份校验对比可由服务提供方终端或服务需求方终端执行。具体流程可包括:上述服务平台节点设备获取所述服务提供方在所述区块链的分布式数据库中存证的身份识别信息;向所述服务提供方终端或所述服务需求方终端发送所述身份识别信息,以使所述服务提供方终端或所述服务需求方终端基于所述身份识别信息,对所述服务提供方作身份校验对比;接收所述服务提供方终端或所述服务需求方终端发送的身份校验对比结果。In yet another illustrated embodiment, the above identity verification comparison may be performed by the service provider terminal or the service demander terminal. The specific process may include: the above service platform node device obtains the identity identification information of the service provider stored in the distributed database of the blockchain; and sends the service provider terminal or the service demander terminal The identity identification information, so that the service provider terminal or the service demand side terminal performs identity verification comparison with the service provider based on the identity identification information; receiving the service provider terminal or the service The identity verification comparison result sent by the demanding terminal.
以上两实施例仅是对服务提供方的身份信息进行校验对比的两种具体实现方式,本说明书中并不限定基于区块链的分布式数据库中存证的服务提供方的身份识别信息对实际的服务提供方进行身份校验对比的实现过程及执行主体,凡是基于区块链的分布式数据库中存证的服务提供方的身份识别信息对实际的服务提供方进行身份校验对比以获得身份校验对比结果,均属于本说明书保护的范围。The above two embodiments are only two specific implementation methods for verifying and comparing the identity information of the service provider. This specification does not limit the identity identification information pair of the service provider in the distributed database based on the blockchain The implementation process and execution subject of the actual service provider's identity verification comparison, all the identity identification information of the service provider based on the distributed database of the blockchain is compared with the actual service provider's identity verification to obtain The comparison results of identity verification belong to the scope of protection of this manual.
步骤106,接收所述服务需求方终端或所述服务提供方终端发送的服务提供方实际提供的服务内容。Step 106: Receive the service content actually provided by the service provider sent by the service demander terminal or the service provider terminal.
具体来说,上述服务提供方实际提供的服务内容可包括:服务提供方节点设备的定位信息(用以表明服务提供方已达到服务位置)、所述服务提供方的身份校验对比结果(用以表明服务提供方为订单分配信息中指定的服务提供方)、服务提供方开始服务时间、服务提供方结束服务时间、服务过程备忘信息等内容中的一种或多种。Specifically, the service content actually provided by the above service provider may include: positioning information of the service provider node device (to indicate that the service provider has reached the service location), and the comparison result of the identity verification of the service provider (use To indicate that the service provider is one or more of the service provider specified in the order allocation information), service provider start service time, service provider end service time, service process memo information, etc.
关于上述服务提供方实际提供的服务内容可以由所述服务需求方终端发送,也可由所述服务提供方终端发送,视实际业务需求或流程而定,在本说明书中不作限定。The content of the service actually provided by the above service provider may be sent by the service requester terminal or may be sent by the service provider terminal, depending on actual business needs or processes, and is not limited in this specification.
步骤108,向所述区块链发送服务存证交易,以使所述服务存证交易被所述区块链共识验证后收录于所述区块链的分布式数据库;所述服务存证交易用于为服务提供方实际提供的服务内容进行存证。Step 108: Send a service deposit transaction to the blockchain, so that the service deposit transaction is included in the distributed database of the blockchain after being verified by the blockchain consensus; the service deposit transaction It is used to deposit certificates for the service content actually provided by the service provider.
在本说明书中所描述的交易(transfer),是指通过区块链的节点设备创建,并需要最终发布至区块链的分布式数据库中的一笔数据。其中,区块链中的交易,存在狭义的交易以及广义的交易之分。狭义的交易是指用户向区块链发布的一笔价值转移;例如,在传统的比特币区块链网络中,交易可以是用户在区块链中发起的一笔转账。而广义的交易是指用户向区块链发布的一笔具有业务意图的业务数据;例如,本说明书的上述实 施例所述的发布至上述区块链中的、用于为服务提供方实际提供的服务内容进行存证的数据即可以为一笔交易;或者将上述已完成的服务内容按照预设的交易数据格式整理,从而转化为一笔交易。The transfer described in this specification refers to a piece of data created by the node device of the blockchain and needs to be finally released to the distributed database of the blockchain. Among them, there are transactions in the narrow sense and transactions in the broad sense in the blockchain. A narrowly defined transaction refers to a value transfer issued by the user to the blockchain; for example, in the traditional Bitcoin blockchain network, the transaction can be a transfer initiated by the user in the blockchain. The generalized transaction refers to a piece of business data released by the user to the blockchain with business intent; for example, the data posted to the blockchain described in the above embodiments of this specification for the actual provision of service providers The data of the service content of the certificate can be a transaction; or the above completed service content can be organized according to the preset transaction data format, so as to be converted into a transaction.
本实施例所述的服务存证交易,用于为服务提供方实际提供的、或已完成的服务内容进行存证。例如,服务提供方终端或服务需求方终端可以从服务提供方达到服务位置开始,将服务提供方提供的一系列相关服务内容、或执行的一系列相关服务动作上传到上述服务平台节点设备,既可使上述服务平台节点设备监管服务提供方提供的服务内容,又可使上述服务平台节点设备将上述提供方实际提供的服务内容在区块链的分布式数据库中进行存证。The service certificate deposit transaction described in this embodiment is used to deposit a certificate for the service content actually provided by the service provider or completed. For example, a service provider terminal or a service demander terminal may upload a series of related service contents provided by the service provider or a series of related service actions performed to the above service platform node device from the time the service provider reaches the service location. The service platform node device can supervise the service content provided by the service provider, and the service platform node device can enable the service content actually provided by the provider to deposit certificates in the distributed database of the blockchain.
具体来说,上述服务提供方实际提供的服务内容可包括:服务提供方节点设备的定位信息(用以表明服务提供方已达到服务位置)、所述服务提供方的身份校验对比结果(用以表明服务提供方为订单分配信息中指定的服务提供方)、服务提供方开始服务时间、服务提供方结束服务时间、服务过程备忘信息等内容中的一种或多种。相应地,上述服务存证交易可包括上述服务提供方实际提供的服务内容的原文或加密密文,或上述服务提供方实际提供的服务内容的数学摘要(如哈希摘要),以为上述服务提供方实际提供的服务内容进行存证。Specifically, the service content actually provided by the above service provider may include: positioning information of the service provider node device (to indicate that the service provider has reached the service location), and the comparison result of the identity verification of the service provider (use To indicate that the service provider is one or more of the service provider specified in the order allocation information), service provider start service time, service provider end service time, service process memo information, etc. Correspondingly, the above service deposit transaction may include the original text or encrypted ciphertext of the service content actually provided by the above service provider, or a mathematical summary (such as a hash summary) of the service content actually provided by the above service provider to provide the above service The actual content of the service provided by the party shall be certified.
上述实施例所述的将所述服务存证交易上传到所述区块链的分布式数据库中的详细过程,可依据所述区块链的共识机制及交易规则而具体设定。在一示出的实施例中,将所述服务存证交易上传到所述区块链的分布式数据库中,包括:The detailed process of uploading the service deposit transaction to the distributed database of the blockchain described in the above embodiments may be specifically set according to the consensus mechanism and transaction rules of the blockchain. In an illustrated embodiment, uploading the service deposit transaction to the distributed database of the blockchain includes:
所述区块链中具有记账权限的节点设备将所述服务存证交易加入到候选区块;The node device with the accounting authority in the blockchain adds the service deposit transaction to the candidate block;
从所述具有记账权限的节点设备中确定满足所述区块链共识机制的共识记账节点设备;Determine, from the node devices with accounting authority, a consensus accounting node device that satisfies the blockchain consensus mechanism;
所述共识记账节点向所述区块链的节点设备广播所述候选区块;The consensus accounting node broadcasts the candidate block to the node device of the blockchain;
在所述候选区块通过所述区块链符合预设数量的节点设备的验证认可后,所述候选区块被视为最新区块,加入到所述区块链的分布式数据库中。After the candidate block passes the verification and approval of the node device that the blockchain meets a preset number, the candidate block is regarded as the latest block and is added to the distributed database of the blockchain.
在上述的实施例中,具有记账权限的节点设备是指具有生成候选区块权限的节点设备。根据所述区块链的共识机制,可从所述候选区块具有记账权限的节点设备中确定共识记账节点设备,上述共识机制可以包括工作量证明机制(PoW)、或权利证明机制(PoS)、或股份授权证明机制(DPoS)等。In the above embodiments, the node device with accounting authority refers to the node device with authority to generate candidate blocks. According to the consensus mechanism of the blockchain, a consensus billing node device can be determined from the node devices with accounting authority of the candidate block, and the above consensus mechanism may include a proof of work mechanism (PoW) or a proof of rights mechanism ( PoS), or share authorization mechanism (DPoS), etc.
PoS或DPoS共识机制与PoW类似,均属于公有区块链中确认共识记账节点设备所常选用的共识算法。在又一示出的实施例中,为降低交易或数据的确认时间、提高交易吞吐量、满足对安全和性能的需求,本说明书所提供的实施例还可选用联盟链架构来构建该区块链。上述服务平台节点设备、或对相关服务业务实行监管的机构可作为该联盟链的预选的节点设备,参与区块的记账。联盟链的共识过程也由该预选的节点设备控制,当网络上有超过设定比例(如2/3)的节点设备确认一个区块,该区块记录的交易或数据将得到全网确认。The PoS or DPoS consensus mechanism is similar to PoW, and both belong to the consensus algorithm commonly used in the public blockchain to confirm the consensus accounting node equipment. In another embodiment shown, in order to reduce the transaction or data confirmation time, improve transaction throughput, and meet the requirements for security and performance, the embodiments provided in this specification can also use the alliance chain architecture to construct the block chain. The above-mentioned service platform node equipment, or an institution that supervises related service business, can be used as the pre-selected node equipment of the alliance chain to participate in the block accounting. The consensus process of the alliance chain is also controlled by the pre-selected node device. When there is a node device on the network that exceeds a set ratio (such as 2/3) to confirm a block, the transactions or data recorded in the block will be confirmed by the entire network.
联盟链通常多采用权益证明或PBFT、RAFT等共识算法。在实现时,在区块链的每一轮共识开始之前,可以在区块链中的各节点设备中选举出一台主节点设备,即上述实施例所述的共识记账节点(比如,每一轮共识都重新选举出一主节点设备,其它节点设备作为从节点设备),由主节点设备进一步向发起交易的验证和共识,并负责基于共识通过的交易数据(或目标数据)为区块链创建最新的区块。The alliance chain usually adopts proof-of-stake or consensus algorithms such as PBFT and RAFT. During implementation, before each round of consensus of the blockchain, a master node device can be elected from each node device in the blockchain, that is, the consensus accounting node (for example, each A round of consensus re-elects a master node device, and other node devices are used as slave node devices). The master node device further verifies and initiates the transaction and consensus, and is responsible for the transaction data (or target data) based on the consensus as the block The chain creates the latest block.
PBFT算法作为本说明书所提供的联盟链的共识算法的一种优选的实施方式,是由于采用该种算法共识的效率高,可满足高频交易量的需求,例如在本实施例中服务平台基于频繁发生的订单信息而生成服务存证交易;且共识的时延很低,基本达到实时处理的要求,能快速实时地在区块链的新生区块中收录上述服务存证交易;而且,将联盟链网络中可信节点作为预选的记账节点,兼顾了安全性与稳定性;另外,采用PBFT算法不会消耗过多的计算机算力资源,也不一定需要代币流通,因此具有良好的可使用性。As a preferred implementation of the consensus algorithm of the alliance chain provided in this specification, the PBFT algorithm is due to the high efficiency of consensus using this algorithm, which can meet the needs of high-frequency transaction volume. For example, in this embodiment, the service platform is based on Generate service registration transactions with frequently occurring order information; and the consensus delay is very low, basically meeting the requirements of real-time processing, and the above service registration transactions can be included in the new block of the blockchain quickly and in real time; As a pre-selected accounting node, the trusted node in the alliance chain network takes into account the security and stability; in addition, the use of the PBFT algorithm will not consume too much computing power resources, nor does it necessarily require token circulation, so it has a good Usability.
基于本实施例提供的服务方法,基于区块链技术的分布式数据库存储机制,实际完成的服务内容被去中心化地记录在多个区块链节点中,由区块链节点共同维护,实时进行同步,所有记录可回溯;而且,基于区块链的共识机制,服务平台节点设备提供的已完成的服务内容信息不会在提供后被篡改,从而保证了已完成的服务内容的真实性和安全性,为基于该已完成的服务内容进行的取证或其他应用提供了有效的数据基础。Based on the service method provided in this embodiment, the distributed database storage mechanism based on blockchain technology, the actual completed service content is decentralized and recorded in multiple blockchain nodes, jointly maintained by the blockchain nodes, real-time Synchronization, all records can be traced back; and, based on the consensus mechanism of the blockchain, the completed service content information provided by the service platform node device will not be tampered after being provided, thus ensuring the authenticity and completeness of the completed service content Security provides an effective data foundation for forensics or other applications based on the completed service content.
与上述流程实现对应,本说明书的实施例还提供了基于区块链的数据处理装置20。该装置20可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为逻辑意义上的装置,是通过所在设备的CPU(Central Process Unit,中央处理器)将对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,除了图3所示的CPU、内存以及存储器之外,网络风险业务的实现装置所在的设备通常还包括用于进行无线信号收发的芯片等其他硬件,和/或用于实现网络通信功能的板卡等其他硬件。Corresponding to the above flow implementation, the embodiments of the present specification also provide a blockchain-based data processing device 20. The device 20 may be implemented by software, or 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 through the CPU (Central Processing Unit) of the device where it is located. From a hardware perspective, in addition to the CPU, memory, and storage shown in FIG. 3, the device where the network risk service implementation device is located usually also includes other hardware such as chips for wireless signal transmission and reception, and/or for implementation Network communication board and other hardware.
图2所示为本说明书还提供了一种基于区块链的数据处理装置20,所述区块链包括 服务平台节点设备;所述装置20包括:As shown in FIG. 2, this specification further provides a data processing device 20 based on a blockchain, the blockchain includes a service platform node device; the device 20 includes:
获取单元202,用于获取服务需求方终端发送的订单信息,其中,所述订单信息包括需求的服务内容;The obtaining unit 202 is used to obtain order information sent by a service demanding terminal, wherein the order information includes required service content;
发送单元204,用于基于所述订单信息,向服务提供方终端发送订单分配信息,以为所述服务需求方终端分配服务提供方,其中,所述区块链的分布式数据库中存证有上述服务提供方的身份识别信息,用以供所述服务提供方在提供服务时作身份校验对比;The sending unit 204 is configured to send order allocation information to the service provider terminal based on the order information to allocate a service provider to the service demanding terminal, wherein the distributed database of the blockchain has the above certificate The service provider's identification information for the service provider to perform identity verification and comparison when providing the service;
接收单元206,用于接收所述服务需求方终端或所述服务提供方终端发送的服务提供方实际提供的服务内容;The receiving unit 206 is configured to receive the service content actually provided by the service provider sent by the service demanding terminal or the service provider terminal;
交易发送单元208,用于向所述区块链发送服务存证交易,以使所述服务存证交易被所述区块链共识验证后收录于所述区块链的分布式数据库;所述服务存证交易用于为服务提供方实际提供的服务内容进行存证。A transaction sending unit 208, configured to send a service deposit transaction to the blockchain, so that the service deposit transaction is included in the distributed database of the blockchain after being verified by the blockchain consensus; The service deposit transaction is used for depositing the service content actually provided by the service provider.
在又一示出的实施方式中,所述身份识别信息为所述服务提供方的生物学身份识别信息。In yet another illustrated embodiment, the identification information is biological identification information of the service provider.
在又一示出的实施方式中,所述接收单元206,进一步用于接收所述服务提供方终端或所述服务需求方终端发送的身份校验信息,所述身份校验信息包括所述服务提供方的现有身份信息;In yet another illustrated embodiment, the receiving unit 206 is further configured to receive identity verification information sent by the service provider terminal or the service demanding terminal, and the identity verification information includes the service The existing identity information of the provider;
所述装置20还包括对比单元210,用于对比所述身份识别信息与所述现有身份信息;The device 20 further includes a comparison unit 210 for comparing the identity identification information with the existing identity information;
所述发送单元204,进一步用于将对比的结果发送至所述服务提供方终端或所述服务需求方终端。The sending unit 204 is further configured to send the comparison result to the service provider terminal or the service demander terminal.
在又一示出的实施方式中,所述获取单元202,进一步用于获取所述服务提供方在所述区块链的分布式数据库中存证的身份识别信息;In yet another illustrated embodiment, the obtaining unit 202 is further configured to obtain the identification information of the service provider's certificate stored in the distributed database of the blockchain;
所述发送单元204,进一步用于向所述服务提供方终端或所述服务需求方终端发送所述身份识别信息,以使所述服务提供方终端或所述服务需求方终端基于所述身份识别信息,对所述服务提供方作身份校验对比;The sending unit 204 is further configured to send the identity identification information to the service provider terminal or the service demand side terminal, so that the service provider terminal or the service demand side terminal is identified based on the identity Information, compare and verify the identity of the service provider;
所述接收单元206,进一步用于接收所述服务提供方终端或所述服务需求方终端发送的身份校验对比结果。The receiving unit 206 is further configured to receive the identity verification comparison result sent by the service provider terminal or the service demander terminal.
在又一示出的实施方式中,所述服务提供方实际提供的服务内容包括所述服务提供方节点设备的定位信息、所述服务提供方的身份校验对比结果、服务提供方开始服务时 间、服务提供方结束服务时间、服务过程备忘信息内容或内容的数学摘要中的一种或多种。In yet another embodiment shown, the service content actually provided by the service provider includes the location information of the node device of the service provider, the comparison result of the identity verification of the service provider, and the service start time of the service provider One or more of the service provider's end service time, service process memo information content, or mathematical summary of the content.
在又一示出的实施方式中,所述区块链的为联盟链,所述服务平台节点设备为联盟成员节点设备。In another embodiment shown, the block chain is a consortium chain, and the service platform node device is a consortium member node device.
上述装置20中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,相关之处参见方法实施例的部分说明即可,在此不再赘述。For the implementation process of the functions and functions of the units in the above apparatus 20, please refer to the implementation process of the corresponding steps in the above method for specific details. For the relevant parts, please refer to the description of the method embodiments, which will not be repeated here.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部单元或模块来实现本说明书方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。The device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical modules, that is, may be located in One place, or can be distributed to multiple network modules. Some or all of the units or modules may be selected according to actual needs to achieve the objectives of the solutions in this specification. Those of ordinary skill in the art can understand and implement without paying creative labor.
上述实施例阐明的装置、单元、模块,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。The devices, units, and modules illustrated in the above embodiments may be specifically implemented by computer chips or entities, or implemented by products with certain functions. A typical implementation device is a computer, and the specific form of the computer may 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 sending and receiving device, and a game control Desk, tablet computer, wearable device, or any combination of these devices.
与上述方法实施例相对应,本说明书的实施例还提供了一种计算机设备,如图3所示,该计算机设备包括存储器和处理器。其中,存储器上存储有能够由处理器运行的计算机程序;处理器在运行存储的计算机程序时,执行本说明书实施例中服务平台节点设备执行的基于区块链的数据处理方法的各个步骤。对服务平台节点设备执行的基于区块链的数据处理方法的各个步骤的详细描述请参见之前的内容,不再重复。Corresponding to the above method embodiments, the embodiments of the present specification also provide a computer device. As shown in FIG. 3, the computer device includes a memory and a processor. Wherein, the memory stores a computer program that can be executed by the processor; when the processor runs the stored computer program, it executes the steps of the blockchain-based data processing method executed by the service platform node device in the embodiments of the present specification. For a detailed description of the various steps of the blockchain-based data processing method performed by the service platform node device, please refer to the previous content and will not be repeated.
与上述方法实施例相对应,本说明书的实施例还提供了一种计算机可读存储介质,该存储介质上存储有计算机程序,这些计算机程序在被处理器运行时,执行本说明书实施例中服务平台节点设备执行的基于区块链的数据处理方法的各个步骤。对服务平台节点设备执行的基于区块链的数据处理方法的各个步骤的详细描述请参见之前的内容,不再重复。Corresponding to the above method embodiments, the embodiments of the present specification also provide a computer-readable storage medium that stores computer programs on the storage medium, and these computer programs, when executed by the processor, execute the services in the embodiments of the present specification The various steps of the blockchain-based data processing method performed by the platform node device. For a detailed description of the various steps of the blockchain-based data processing method performed by the service platform node device, please refer to the previous content and will not be repeated.
以上所述仅为本说明书的较佳实施例而已,并不用以限制本说明书,凡在本说明书的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书保护的范围之内。The above are only the preferred embodiments of this specification and are not intended to limit this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of this specification should be included in this specification Within the scope of protection.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory, random access memory (RAM) and/or non-volatile memory in a computer-readable medium, such as read only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。Computer readable media, including permanent and non-permanent, removable and non-removable media, can store information by any method or technology. The information may be computer readable instructions, data structures, modules of programs, 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 technologies, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape 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. As defined in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device that includes a series of elements not only includes those elements, but also includes Other elements not explicitly listed, or include elements inherent to such processes, methods, goods, or equipment. Without more restrictions, the element defined by the sentence "include one..." does not exclude that there are other identical elements in the process, method, commodity or equipment that includes the element.
本领域技术人员应明白,本说明书的实施例可提供为方法、系统或计算机程序产品。因此,本说明书的实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书的实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of this specification may take 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 code .

Claims (14)

  1. 一种基于区块链的数据处理方法,所述区块链包括服务平台节点设备;所述方法包括:A blockchain-based data processing method, the blockchain includes a service platform node device; the method includes:
    所述服务平台节点设备获取服务需求方终端发送的订单信息,其中,所述订单信息包括需求的服务内容;The service platform node device obtains order information sent by a service demanding terminal, wherein the order information includes required service content;
    基于所述订单信息,向服务提供方终端发送订单分配信息,用以为所述服务需求方终端分配服务提供方,其中,所述区块链的分布式数据库中存证有所述服务提供方的身份识别信息,用以供所述服务提供方在提供服务时作身份校验对比;Based on the order information, order allocation information is sent to the service provider terminal for allocating the service provider to the service demanding terminal, wherein the distributed database of the blockchain stores the service provider’s Identification information for the service provider to perform identity verification and comparison when providing services;
    接收所述服务需求方终端或所述服务提供方终端发送的服务提供方实际提供的服务内容;Receiving the service content actually provided by the service provider sent by the service demander terminal or the service provider terminal;
    向所述区块链发送服务存证交易,以使所述服务存证交易被所述区块链共识验证后收录于所述区块链的分布式数据库;所述服务存证交易用于为服务提供方实际提供的服务内容进行存证。Send a service deposit transaction to the blockchain, so that the service deposit transaction is included in the distributed database of the blockchain after being verified by the blockchain consensus; the service deposit transaction is used for The service content actually provided by the service provider shall be certified.
  2. 根据权利要求1所述的方法,所述身份识别信息为所述服务提供方的生物学身份识别信息。The method according to claim 1, wherein the identification information is biological identification information of the service provider.
  3. 根据权利要求1或2所述的方法,还包括:The method according to claim 1 or 2, further comprising:
    接收所述服务提供方终端或所述服务需求方终端发送的身份校验信息,所述身份校验信息包括所述服务提供方的现有身份信息;Receiving identity verification information sent by the service provider terminal or the service demanding terminal, the identity verification information including the existing identity information of the service provider;
    对比所述身份识别信息与所述现有身份信息;Comparing the identification information with the existing identification information;
    将对比的结果发送至所述服务提供方终端或所述服务需求方终端。The result of the comparison is sent to the service provider terminal or the service demander terminal.
  4. 根据权利要求1或2所述的方法,还包括:The method according to claim 1 or 2, further comprising:
    获取所述服务提供方在所述区块链的分布式数据库中存证的身份识别信息;Obtain the identity identification information of the service provider stored in the distributed database of the blockchain;
    向所述服务提供方终端或所述服务需求方终端发送所述身份识别信息,以使所述服务提供方终端或所述服务需求方终端基于所述身份识别信息,对所述服务提供方作身份校验对比;Sending the identity identification information to the service provider terminal or the service demand side terminal, so that the service provider terminal or the service demand side terminal acts on the service provider based on the identity identification information Identity verification comparison;
    接收所述服务提供方终端或所述服务需求方终端发送的身份校验对比结果。Receive an identity verification comparison result sent by the service provider terminal or the service demander terminal.
  5. 根据权利要求1所述的方法,所述服务提供方实际提供的服务内容包括所述服务提供方节点设备的定位信息、所述服务提供方的身份校验对比结果、服务提供方开始服务时间、服务提供方结束服务时间、服务过程备忘信息内容或内容的数学摘要中的一种或多种。The method according to claim 1, the service content actually provided by the service provider includes location information of the service provider node device, the comparison result of the identity verification of the service provider, the service provider start time, The service provider ends one or more of service time, service process memo information content, or a mathematical summary of the content.
  6. 根据权利要求1所述的方法,所述区块链的为联盟链,所述服务平台节点设备 为联盟成员节点设备。The method according to claim 1, wherein the blockchain is an alliance chain, and the service platform node device is an alliance member node device.
  7. 一种基于区块链的数据处理装置,所述区块链包括服务平台节点设备;所述装置包括:A data processing device based on a blockchain, the blockchain includes a service platform node device; the device includes:
    获取单元,用于获取服务需求方终端发送的订单信息,其中,所述订单信息包括需求的服务内容;An obtaining unit, configured to obtain order information sent by a service demanding terminal, wherein the order information includes required service content;
    发送单元,用于基于所述订单信息,向服务提供方终端发送订单分配信息,以为所述服务需求方终端分配服务提供方,其中,所述区块链的分布式数据库中存证有所述服务提供方的身份识别信息,用以供所述服务提供方在提供服务时作身份校验对比;A sending unit, configured to send order allocation information to a service provider terminal based on the order information to allocate a service provider to the service demanding terminal, wherein the distributed database of the blockchain has the certificate The service provider's identification information for the service provider to perform identity verification and comparison when providing the service;
    接收单元,用于接收所述服务需求方终端或所述服务提供方终端发送的服务提供方实际提供的服务内容;A receiving unit, configured to receive the service content actually provided by the service provider sent by the service demander terminal or the service provider terminal;
    交易发送单元,用于向所述区块链发送服务存证交易,以使所述服务存证交易被所述区块链共识验证后收录于所述区块链的分布式数据库;所述服务存证交易用于为服务提供方实际提供的服务内容进行存证。A transaction sending unit, configured to send a service deposit transaction to the blockchain, so that the service deposit transaction is included in the distributed database of the blockchain after being verified by the blockchain consensus; the service The certificate deposit transaction is used to deposit certificates for the service content actually provided by the service provider.
  8. 根据权利要求7所述的装置,所述身份识别信息为所述服务提供方的生物学身份识别信息。The apparatus according to claim 7, wherein the identification information is biological identification information of the service provider.
  9. 根据权利要求7或8所述的装置,The device according to claim 7 or 8,
    所述接收单元,进一步用于接收所述服务提供方终端或所述服务需求方终端发送的身份校验信息,所述身份校验信息包括所述服务提供方的现有身份信息;The receiving unit is further configured to receive identity verification information sent by the service provider terminal or the service demanding terminal, and the identity verification information includes the existing identity information of the service provider;
    所述装置还包括对比单元,用于对比所述身份识别信息与所述现有身份信息;The device further includes a comparison unit for comparing the identity identification information with the existing identity information;
    所述发送单元,进一步用于将对比的结果发送至所述服务提供方终端或所述服务需求方终端。The sending unit is further configured to send the comparison result to the service provider terminal or the service demander terminal.
  10. 根据权利要求7或8所述的装置:The device according to claim 7 or 8:
    所述获取单元,进一步用于获取所述服务提供方在所述区块链的分布式数据库中存证的身份识别信息;The obtaining unit is further used to obtain the identity identification information of the service provider stored in the distributed database of the blockchain;
    所述发送单元,进一步用于向所述服务提供方终端或所述服务需求方终端发送所述身份识别信息,以使所述服务提供方终端或所述服务需求方终端基于所述身份识别信息,对所述服务提供方作身份校验对比;The sending unit is further configured to send the identity identification information to the service provider terminal or the service demand side terminal, so that the service provider terminal or the service demand side terminal is based on the identity identification information , Compare and verify the identity of the service provider;
    所述接收单元,进一步用于接收所述服务提供方终端或所述服务需求方终端发送的身份校验对比结果。The receiving unit is further configured to receive the identity verification comparison result sent by the service provider terminal or the service demander terminal.
  11. 根据权利要求7所述的装置,所述服务提供方实际提供的服务内容包括所述服务提供方节点设备的定位信息、所述服务提供方的身份校验对比结果、服务提供方开始 服务时间、服务提供方结束服务时间、服务过程备忘信息内容或内容的数学摘要中的一种或多种。The apparatus according to claim 7, the service content actually provided by the service provider includes positioning information of the node device of the service provider, an identity verification comparison result of the service provider, a service provider start service time, The service provider ends one or more of service time, service process memo information content, or a mathematical summary of the content.
  12. 根据权利要求7所述的装置,所述区块链的为联盟链,所述服务平台节点设备为联盟成员节点设备。The apparatus according to claim 7, wherein the blockchain is an alliance chain, and the service platform node device is an alliance member node device.
  13. 一种计算机设备,包括:存储器和处理器;所述存储器上存储有可由所述处理器运行的计算机程序;所述处理器运行所述计算机程序时,执行如权利要求1到6任意一项所述的方法。A computer device, comprising: a memory and a processor; a computer program executable by the processor is stored on the memory; when the processor runs the computer program, it executes any of The method described.
  14. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器运行时,执行如权利要求1到6任意一项所述的方法。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, executes the method according to any one of claims 1 to 6.
PCT/CN2019/116226 2018-12-29 2019-11-07 Block chain-based data processing method and apparatus WO2020134631A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811636710.8A CN110009339A (en) 2018-12-29 2018-12-29 Data processing method and device based on block chain
CN201811636710.8 2018-12-29

Publications (1)

Publication Number Publication Date
WO2020134631A1 true WO2020134631A1 (en) 2020-07-02

Family

ID=67165311

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/116226 WO2020134631A1 (en) 2018-12-29 2019-11-07 Block chain-based data processing method and apparatus

Country Status (3)

Country Link
CN (1) CN110009339A (en)
TW (1) TW202027457A (en)
WO (1) WO2020134631A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110009339A (en) * 2018-12-29 2019-07-12 阿里巴巴集团控股有限公司 Data processing method and device based on block chain
CN110609869B (en) * 2019-09-10 2023-04-07 连连银通电子支付有限公司 Block chain-based data storage method, related equipment and storage medium
CN111797165B (en) * 2020-06-24 2023-11-28 泰康保险集团股份有限公司 Data processing method and device based on block chain
CN111783144A (en) * 2020-08-20 2020-10-16 支付宝(杭州)信息技术有限公司 Data processing method and device based on block chain
CN111931238B (en) * 2020-09-15 2021-05-04 支付宝(杭州)信息技术有限公司 Block chain-based data asset transfer method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897902A (en) * 2017-02-21 2017-06-27 中链科技有限公司 Service transacting method, system and trading server based on block chain technology
CN108717629A (en) * 2018-05-14 2018-10-30 现在(北京)支付股份有限公司 A kind of intelligent payment method, system and electronic equipment
CN108805650A (en) * 2018-04-27 2018-11-13 深圳市元征科技股份有限公司 A kind of order matching process and server
CN109034437A (en) * 2018-08-16 2018-12-18 刘仕博 A kind of library system based on cloud terminal
CN110009339A (en) * 2018-12-29 2019-07-12 阿里巴巴集团控股有限公司 Data processing method and device based on block chain

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108389129B (en) * 2018-02-27 2020-12-04 创新先进技术有限公司 Transaction execution method and device based on block chain and electronic equipment
CN108765070A (en) * 2018-05-22 2018-11-06 深圳市元征科技股份有限公司 A kind of service providing method, system, equipment and computer readable storage medium
CN109064330A (en) * 2018-07-19 2018-12-21 中链科技有限公司 Service transacting processing method, system and device based on alliance's block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897902A (en) * 2017-02-21 2017-06-27 中链科技有限公司 Service transacting method, system and trading server based on block chain technology
CN108805650A (en) * 2018-04-27 2018-11-13 深圳市元征科技股份有限公司 A kind of order matching process and server
CN108717629A (en) * 2018-05-14 2018-10-30 现在(北京)支付股份有限公司 A kind of intelligent payment method, system and electronic equipment
CN109034437A (en) * 2018-08-16 2018-12-18 刘仕博 A kind of library system based on cloud terminal
CN110009339A (en) * 2018-12-29 2019-07-12 阿里巴巴集团控股有限公司 Data processing method and device based on block chain

Also Published As

Publication number Publication date
TW202027457A (en) 2020-07-16
CN110009339A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
TWI779231B (en) Blockchain-based certificate storage method and device
WO2020248603A1 (en) Blockchain-based virtual resource allocation method and device
WO2020155789A1 (en) Blockchain-based certificate storage method and apparatus
CN107180350B (en) Method, device and system for multi-party sharing transaction metadata based on block chain
TWI724391B (en) Node management method and device based on blockchain
CN110363527B (en) Block chain-based evidence storage and supervision method and device
US11669811B2 (en) Blockchain-based digital token utilization
TWI694350B (en) Information supervision method and device based on blockchain
CN110009337B (en) Data processing method and device based on block chain
WO2020134631A1 (en) Block chain-based data processing method and apparatus
US20230026665A1 (en) Digital fiat currency
WO2020103566A1 (en) Blockchain certificate storage method and apparatus, and computer device
WO2020082887A1 (en) Block chain transaction method and apparatus
JP2023113804A (en) Cryptographic method and system for secure extraction of data from block chain
CN110769035B (en) Block chain asset issuing method, platform, service node and storage medium
WO2020038105A1 (en) Blockchain-based data storage method and apparatus
US11126458B2 (en) Method, apparatus, and electronic device for resource allocation based on blockchain
TW202018619A (en) Blockchain-based private transactions and usage method and apparatus therefor
WO2020220759A1 (en) Block chain-based payment method and device
CN109614813B (en) Privacy transaction method and device based on block chain and application method and device thereof
CN115632854A (en) Data processing method and device based on block chain
EP3933642A1 (en) Managing transactions in multiple blockchain networks
WO2020125234A1 (en) Blockchain-based data processing method and apparatus
EP3937050B1 (en) Managing transactions in multiple blockchain networks
TW202026926A (en) Blockchain-based recordkeeping method and apparatus

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: 19904618

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19904618

Country of ref document: EP

Kind code of ref document: A1