CN110866830A - Data processing method based on block chain and related device - Google Patents

Data processing method based on block chain and related device Download PDF

Info

Publication number
CN110866830A
CN110866830A CN201911166818.XA CN201911166818A CN110866830A CN 110866830 A CN110866830 A CN 110866830A CN 201911166818 A CN201911166818 A CN 201911166818A CN 110866830 A CN110866830 A CN 110866830A
Authority
CN
China
Prior art keywords
task
client
electronic resource
blockchain network
data
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201911166818.XA
Other languages
Chinese (zh)
Inventor
李茂材
刘区城
王宗友
孔利
蓝虎
张劲松
周开班
时一防
刘攀
朱耿良
杨常青
黄焕坤
崔嘉辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911166818.XA priority Critical patent/CN110866830A/en
Publication of CN110866830A publication Critical patent/CN110866830A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the application discloses a data processing method based on a block chain and a related device, wherein the method comprises the following steps: uploading first task data corresponding to the first task and a first electronic resource associated with the first task to a blockchain network, so that the blockchain network issues the first task data and freezes the first electronic resource; viewing user information of a second client claiming the first task through the blockchain network; and if a settlement request of the second client is detected, sending a transaction request to the blockchain network, wherein the transaction request comprises first acceptance data aiming at the first task and a first numerical value of the electronic resource required to be drawn, so that the second client draws the electronic resource with the first numerical value from the first electronic resource according to the first acceptance data. By adopting the embodiment of the application, the first client can be ensured to timely check and accept the first task and pay after the second client completes the first task, and the loss of the second client is reduced.

Description

Data processing method based on block chain and related device
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a data processing method and related apparatus based on blockchain.
Background
Project management is a plan management method developed in the later 50 s of the 20 th century, and is a project management method which effectively combines various systems, resources and personnel together and adopts a standardized management flow to finish projects within a specified time, budget and quality target range. Project management has gradually developed into an independent subject system in developed countries, and is widely applied to various industries such as construction, engineering, electronics, finance, investment and the like.
With the rapid development of the industry, a plurality of problems gradually derive. Currently, in a larger project, a project side generally needs to divide the project into a plurality of tasks, contract the tasks to a receiving side, and pay based on task installments after the receiving side completes the tasks, and there may be a possibility that the project side does not want to pay for the receiving side after the receiving side completes the tasks, thereby causing a larger loss of the receiving side.
Disclosure of Invention
The embodiment of the application provides a data processing method and a related device based on a block chain, which can ensure that a first client side timely checks and accepts a first task and pays after a second client side completes the first task, reduce the loss of the second client side, and improve the fairness of transaction and the safety of fund.
In a first aspect, an embodiment of the present application provides a data processing method based on a blockchain, where the data processing method based on a blockchain is applied to a first client, and the method includes:
uploading first task data corresponding to a first task and a first electronic resource associated with the first task to a blockchain network, so that the blockchain network issues the first task data and freezes the first electronic resource;
viewing user information of a second client claiming the first task through the blockchain network;
and if the settlement request of the second client is detected, sending a transaction request to the blockchain network, wherein the transaction request comprises first acceptance data aiming at the first task and a first numerical value of the electronic resource required to be taken out, so that the second client can take out the electronic resource with the first numerical value from the first electronic resource according to the first acceptance data.
In a second aspect, an embodiment of the present application provides a data processing method based on a blockchain, where the data processing method based on a blockchain is applied to a second client, and the method includes:
checking first task data corresponding to a first task uploaded by a first client and a first electronic resource associated with the first task in a blockchain network, wherein the first electronic resource is frozen in the blockchain network;
sending a claim request for requesting to claim the first task to the blockchain network, the claim request including user information of a second client, so that the first client can view the user information of the second client claiming the first task through the blockchain network;
and acquiring first acceptance data aiming at the first task and a first numerical value of the electronic resource needing to be taken from the blockchain network, and sending a taking request to the blockchain network according to the first acceptance data so that the blockchain network takes the electronic resource of the first numerical value from the first electronic resource to the second client side according to the taking request.
With reference to the second aspect, in one possible implementation, the method further includes:
receiving a task completion instruction from the blockchain network, and sending a claiming request for requesting claiming of a second task to the blockchain network, wherein the task completion instruction is triggered after the blockchain network successfully verifies the first signature information and successfully verifies the second signature information and pays the electronic resource with the first value from the first electronic resource to the second client, and the first signature information is obtained by signing the first acceptance data and the first value through a private key of the first client.
In a third aspect, an embodiment of the present application provides a data processing apparatus based on a block chain, where the data processing apparatus based on a block chain runs in a first client, and the apparatus includes:
a first uploading unit, configured to upload first task data corresponding to a first task and a first electronic resource associated with the first task to a blockchain network, so that the blockchain network issues the first task data and freezes the first electronic resource;
a first viewing unit for viewing user information of a second client claiming the first task through the blockchain network;
the first sending unit is configured to send a transaction request to the blockchain network if a settlement request of the second client is detected, where the transaction request includes first acceptance data for the first task and a first numerical value of the electronic resource to be taken, so that the second client takes the electronic resource of the first numerical value from the first electronic resource according to the first acceptance data.
With reference to the third aspect, in a possible implementation manner, the first sending unit is specifically configured to:
signing the first acceptance data and the first numerical value of the electronic resource to be taken through a private key of the first client to obtain first signature information;
and generating a transaction request according to the first signature information, and sending the transaction request to the blockchain network so that the blockchain network adopts the public key of the first client to check and sign the first signature information.
With reference to the third aspect, in a possible implementation manner, the apparatus further includes:
the system comprises a creating unit, a processing unit and a processing unit, wherein the creating unit is used for calling a first function in an intelligent contract and creating a first project, the first project comprises at least one task, and the at least one task comprises the first task;
and the adding unit is used for calling a second function in the intelligent contract and adding first task data to the first task.
With reference to the third aspect, in a possible implementation manner, the apparatus further includes:
a first transceiving unit for receiving a task completion instruction from the blockchain network; the first transceiver unit is further configured to send evaluation information for the first task to the blockchain network, so that the blockchain network updates the user information of the second client according to the evaluation information;
the task completion instruction is triggered after the block chain network successfully verifies the first signature information and successfully verifies the second signature information, the electronic resource of the first numerical value is bought from the first electronic resource to the second client side, and the second signature information is obtained by signing the first acceptance data and the first numerical value through the private key of the second client side.
In a fourth aspect, an embodiment of the present application provides a block chain-based data processing apparatus, where the block chain-based data processing apparatus runs in a second client, and the apparatus includes:
the second checking unit is used for checking first task data corresponding to a first task uploaded by a first client and a first electronic resource associated with the first task in the blockchain network, wherein the first electronic resource is frozen in the blockchain network;
a second sending unit, configured to send a claim request for requesting to claim the first task to the blockchain network, where the claim request includes user information of a second client, so that the first client views the user information of the second client claiming the first task through the blockchain network;
the acquisition unit is used for acquiring first acceptance data aiming at the first task and a first numerical value of the electronic resource needing to be taken from the blockchain network, and sending a taking request to the blockchain network according to the first acceptance data, so that the blockchain network takes the electronic resource of the first numerical value from the first electronic resource to the second client side according to the taking request.
With reference to the fourth aspect, in a possible implementation manner, the apparatus further includes:
a second uploading unit, configured to upload a second electronic resource to a blockchain network, so that the blockchain network freezes the second electronic resource, where the second electronic resource is used to collect an electronic resource with a second value from the second electronic resource to the first client if the first acceptance data includes first indication information, and the first indication information is used to indicate to collect the electronic resource with the second value from the first client.
With reference to the fourth aspect, in a possible implementation manner, the obtaining unit is specifically configured to:
signing the first acceptance data and the first numerical value of the electronic resource to be taken through a private key of a second client to obtain second signature information;
and generating a drawing request according to the second signature information, and sending the drawing request to the blockchain network so as to enable the blockchain network to adopt the public key of the second client to check and sign the second signature information.
With reference to the fourth aspect, in a possible implementation manner, the apparatus further includes:
a second transceiver unit for receiving a task completion instruction from the blockchain network; the second transceiving unit is further configured to send a claiming request for requesting to claim a second task to the blockchain network, where the task completion instruction is triggered after the blockchain network successfully signs the first signature information and successfully signs the second signature information, and the first signature information is obtained by signing the first acceptance data and the first numerical value with the private key of the first client, and the blockchain network pays the electronic resource of the first numerical value from the first electronic resource to the second client.
In a fifth aspect, an embodiment of the present application provides a data processing apparatus based on a block chain, including a processor, a memory, and an input/output interface, where the processor, the memory, and the input/output interface are connected to each other, where the input/output interface is used to input or output data, the memory is used to store program codes, and the processor is used to call the program codes to execute the data processing method based on the block chain in the first aspect or the second aspect.
In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor to execute the block chain based data processing method of the first aspect or the second aspect.
In a seventh aspect, an embodiment of the present application provides a data processing system based on a block chain, where the data processing system based on a block chain includes a block chain link point system for operating a block chain network, a first client, and a second client; wherein the content of the first and second substances,
the first client uploads first task data corresponding to a first task and a first electronic resource associated with the first task to a block chain network, so that the block chain network issues the first task data and freezes the first electronic resource;
the second client checks first task data corresponding to a first task uploaded by a first client and a first electronic resource associated with the first task in a blockchain network, wherein the first electronic resource is frozen in the blockchain network;
the second client sends a claim request for requesting to claim the first task to the blockchain network, wherein the claim request comprises user information of the second client, so that the first client can view the user information of the second client claiming the first task through the blockchain network;
the first client side checks the user information of the second client side claiming the first task through the block chain network;
the second client acquires first acceptance data aiming at the first task and a first numerical value of the electronic resource needing to be taken from the blockchain network, and sends a taking request to the blockchain network according to the first acceptance data, so that the blockchain network takes the electronic resource of the first numerical value from the first electronic resource to the second client according to the taking request;
and if the first client detects a settlement request of the second client, sending a transaction request to the blockchain network, wherein the transaction request comprises first acceptance data aiming at the first task and a first numerical value of the electronic resource required to be obtained, so that the second client obtains the electronic resource of the first numerical value from the first electronic resource according to the first acceptance data.
In this embodiment, a first client may upload first task data corresponding to a first task and a first electronic resource associated with the first task to a blockchain network, so that the blockchain network issues the first task data, freezes the first electronic resource, views user information of a second client claiming the first task through the blockchain network, and sends a transaction request to the blockchain network if a settlement request of the second client is detected, where the transaction request includes first acceptance data for the first task and a first numerical value of an electronic resource that needs to be taken, so that the second client takes the electronic resource of the first numerical value from the first electronic resource according to the first acceptance data. By adopting the embodiment of the application, the first client can be ensured to timely check and accept the first task and pay after the second client finishes the first task, the loss of the second client is reduced, and the fairness of transaction and the safety of fund are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is an architecture diagram of a data processing system based on block chains according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method based on a block chain according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another data processing method based on a blockchain according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a data processing apparatus based on a block chain according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another data processing apparatus based on a block chain according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a data processing device based on a block chain according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is an architecture diagram of a data processing system based on a blockchain according to an embodiment of the present application. As shown in fig. 1, a blockchain-based data processing system may include a blockchain link point system for operating a blockchain network, a first client and a second client, the first client and the second client may perform identity registration in the blockchain network, and the first client and the second client may be qualified for performing electronic resource transactions and information viewing in the blockchain network after completing identity registration in the blockchain network. Optionally, the first client is a client used by the project side, and the second client is a client used by the receiving side; the first client and the second client may each be any one of: a terminal, a standalone Application, an Application Programming Interface (API), or a Software Development Kit (SDK). Alternatively, a first client (i.e. an item side) may transfer a first electronic resource to a first contract account for a first task, a second client (i.e. an accepting side) may transfer a second electronic resource to a second contract account for the first task, the first contract account is used for keeping the first electronic resource, the second contract account is used for keeping the second electronic resource, the electronic resource with a first value is taken from the first contract account to the second client executing the first task by calling a contract code corresponding to the first contract account, the second client executing the first task is guaranteed with economic penalty, and a corresponding default fund is taken from the contract account (such as the first contract account or the second contract account) by calling the contract code (such as the contract code corresponding to the first contract account or the contract code corresponding to the second contract account), wherein the default party may be the first client or the second client. Optionally, the first contract account and the second contract account are contract accounts on a token management platform. Optionally, the first client and the second client may interact with the blockchain network through DApp (decentralized application). Optionally, a federation chain node may be included in the block chain node system, and the federation chain node is provided by an arbitrator, through which a labor dispute between the first client and the second client may be handled, wherein the arbitrator may include a human resources office, a workshop, and a judicial department.
In the embodiment of the application, the second client executing the first task can be ensured to obtain the corresponding electronic resource in time through the blockchain network, and the default party is ensured to receive the economic punishment, so that the benefits of the first client and the second client are ensured not to be damaged.
Referring to fig. 2, fig. 2 is a schematic flowchart of a data processing method based on a blockchain according to an embodiment of the present application. As shown in fig. 2, the data processing method based on the blockchain may be performed by the first client and the second client in fig. 1, and the method may include, but is not limited to, the following steps S201 to S206:
s201, a first client uploads first task data corresponding to a first task and a first electronic resource associated with the first task to a blockchain network, so that the blockchain network issues the first task data and freezes the first electronic resource.
In one possible implementation, a user may perform identity registration on the blockchain network, and the registration information may include user basic information, user contact information, and qualification information of the user. Optionally, the blockchain network may include a project outsourcing staging management platform, where the project outsourcing staging management platform may be operated by an intelligent contract, and a user may perform identity registration and create multiple projects on the project outsourcing staging management platform. Alternatively, the user may be the first user or the second user. Optionally, the first user corresponds to the first client, and the second user corresponds to the second client. Optionally, after the first client completes identity registration in the blockchain network, the first client is qualified to perform electronic resource transaction and information viewing in the blockchain network.
Optionally, before the first client uploads first task data corresponding to the first task and the first electronic resource associated with the first task to the blockchain network, the first client may call a first function (such as method a) in the intelligent contract to create a first project, where the first project may include at least one task, and the at least one task includes the first task; the first client may invoke a second function (e.g., method b) in the intelligent contract to add first task data to the first task. Optionally, the first task data may include task content information, acceptance terms corresponding to the first task, task time limit corresponding to the first task, human support information provided by the first client for the first task, and material list information.
Further, the first client may upload first task data corresponding to the first task and a first electronic resource associated with the first task to the block chain network, so that the block chain network issues the first task data and freezes the first electronic resource. Optionally, the first electronic resource may be a first deposit paid by the first user for the first task, and the first electronic resource is larger than the cost for executing the first task, where the deposit paid by the project party is mainly used to guarantee the rights and interests of the recipient, for example, if the project party violates a contract, the recipient may collect the breach money from the first electronic resource, thereby reducing the loss of the recipient to the minimum. Optionally, the first client may upload the first electronic resource associated with the first task to a token hosting platform on the outsourcing stage management platform, and the token hosting platform hosts the first electronic resource. Optionally, after the blockchain network issues the first task data and freezes the first electronic resource, the first client does not qualify to use the first electronic resource. Optionally, for each task in the first project, the first client needs to pay a corresponding electronic resource for the task, and one task corresponds to one electronic resource, for example, the first client pays the first electronic resource for the first task.
S202, the second client checks first task data corresponding to the first task uploaded by the first client and first electronic resources related to the first task in the blockchain network.
In one possible implementation, the second client may perform identity registration in the blockchain network, and after the identity registration is completed on the blockchain network, the second client is qualified to perform electronic resource transaction and information viewing in the blockchain network. Further, after the second client checks the first task data corresponding to the first task uploaded by the first client and the first electronic resource associated with the first task in the blockchain network, the second client may apply for claiming the first task, where the first electronic resource is frozen in the blockchain network and the second client cannot afford to collect the first electronic resource.
S203, the second client sends a claim request for requesting to claim the first task to the blockchain network.
In one possible implementation, the claim request may include user information of the second client, so that the first client views the user information of the second client claiming the first task through the blockchain network. Optionally, the user information of the second client may include the user basic information, the user contact information, and the qualification information of the second user, where the second user corresponds to the second client.
Further, the second client may upload the second electronic resource to the blockchain network to cause the blockchain network to freeze the second electronic resource. Optionally, the second electronic resource is a second deposit paid by the second client for the first task, where the deposit paid by the acceptor is mainly for guaranteeing the rights and interests of the project party, for example, if the acceptor violates a contract, the project party may draw the default deposit from the second electronic resource, so as to minimize the loss of the project party.
S204, the first client side checks the user information of the second client side claiming the first task through the block chain network.
In a possible implementation manner, the first client may view the user information of the second client claiming the first task through the blockchain network, and if the user information of the second client meets the requirement of the first client for executing the first task, the first client may call a third function in the smart contract
The first client and the second client can directly sign the project contract through the intelligent contract, and the communication cost and the economic cost between the first client and the second client are reduced.
S205, the second client acquires the first acceptance data aiming at the first task and the first numerical value of the electronic resource needing to be taken from the blockchain network, and sends a taking request to the blockchain network according to the first acceptance data, so that the blockchain network takes the electronic resource with the first numerical value from the first electronic resource to the second client according to the taking request.
In a possible implementation manner, after the second client executes the first task, the second client may obtain first acceptance data for the first task and a first numerical value of the electronic resource to be taken from the blockchain network, may sign the first acceptance data and the first numerical value of the electronic resource to be taken with a private key of the second client, obtain second signature information, and generate a take request according to the second signature information, and send the take request to the blockchain network, so that the blockchain network adopts the public key of the second client to sign the second signature information, and if the blockchain network succeeds in signing the second signature information, the blockchain network may take the electronic resource of the first numerical value from the first electronic resource to the second client according to the take request. Optionally, the first acceptance data may be obtained by the first client after the first task executed by the second client is accepted according to the acceptance term and the task duration in the first task data, for example, if the second client does not complete the first task within the task duration of the first task, the first client determines that 90% meets the standard, and if the acceptance term in the first task data is 5 terms in total, the first client determines that the second client meets 4 terms in the 5 terms, the first client determines that 4/5 ═ 80% meets the standard, and 90% × 80% × 72%, and the first client needs to draw 72% of the first electronic resource from the first electronic resource to the second client, where the 72% of the first electronic resource is the electronic resource of the first value.
S206, if the first client detects the settlement request of the second client, the first client sends a transaction request to the blockchain network.
In a possible implementation manner, if the first client detects a settlement request of the second client (the settlement request may be that the second client invokes a method of the intelligent contract to request the blockchain network to settle the first task, and the blockchain network sends the settlement request to the first client), the first client may sign the first acceptance data and the first numerical value of the electronic resource to be taken through a private key of the first client to obtain first signature information, and generate a transaction request according to the first signature information, and send the transaction request to the blockchain network, so that the blockchain network verifies and signs the first signature information by using a public key of the first client. Optionally, the transaction request may include first acceptance data for the first task and a first value of the electronic resource to be collected, and the second client collects the electronic resource of the first value from the first electronic resource according to the first acceptance data; the first acceptance data may be obtained by the first client through input after the first client accepts the first task executed by the second client according to the acceptance term and the task term in the first task data, and the first acceptance data may include the term of the second client for completing the first task and various data obtained when the first client accepts the first task according to the acceptance term; and the first client calculates the electronic resource of a first value according to the deadline of the second client for completing the first task and the data. Optionally, after the blockchain network successfully verifies the signature of the first signature information and successfully verifies the signature of the second signature information, the electronic resource of the first value may be collected from the first electronic resource to the second client according to the collection request. Optionally, the transaction request may include first signature information and transaction information, and the first signature information may be appended to the transaction information, wherein the transaction information may include first acceptance data and a first value of the electronic resource to be drawn.
Optionally, the first client may receive a task completion instruction from the blockchain network by calling a fourth function (such as method d) in the intelligent contract, and send evaluation information for the first task to the blockchain network, so that the blockchain network updates the user information of the second client according to the evaluation information. Optionally, the user information of the second client may include scoring information.
In this embodiment, a first client may upload first task data corresponding to a first task and a first electronic resource associated with the first task to a blockchain network, so that the blockchain network issues the first task data, freezes the first electronic resource, views user information of a second client claiming the first task through the blockchain network, and sends a transaction request to the blockchain network if a settlement request of the second client is detected, where the transaction request includes first acceptance data for the first task and a first numerical value of an electronic resource that needs to be taken, so that the second client takes the electronic resource of the first numerical value from the first electronic resource according to the first acceptance data. By adopting the embodiment of the application, the first client can be ensured to timely check and accept the first task and pay after the second client finishes the first task, the loss of the second client is reduced, and the fairness of transaction and the safety of fund are improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of another data processing method based on a blockchain according to an embodiment of the present application. As shown in fig. 3, the data processing method based on the blockchain may be performed by the first client and the second client in fig. 1, and the method may include, but is not limited to, the following steps S301 to S314:
s301, the first client calls a first function in the intelligent contract to create a first project.
In one possible implementation, multiple functions may be included in the smart contract, and the multiple functions may correspond to multiple different functions. Optionally, the first project may include at least one task, and the at least one task includes the first task. Optionally, the relationship between the tasks is a serial execution relationship. Optionally, the task may include at least one subtask, and if there is a dependency relationship between the subtask and the subtask, the relationship between the subtask and the subtask is a serial execution relationship; if the dependency relationship does not exist between the subtasks, the relationship between the subtasks and the subtasks is a parallel execution relationship, wherein the dependency relationship may be an execution sequence of at least one subtask.
S302, the first client calls a second function in the intelligent contract to add first task data to the first task.
In a possible implementation manner, the first task data may include task content information, acceptance terms corresponding to the first task, human support information provided by the first client for the first task, and material list information, where the acceptance terms may include a plurality of terms.
S303, the first client uploads the first task data corresponding to the first task and the first electronic resource associated with the first task to the blockchain network, so that the blockchain network issues the first task data and freezes the first electronic resource.
In a possible implementation manner, step S303 in the embodiment of the present application may refer to step S201 in the embodiment shown in fig. 2, and is not described herein again.
S304, the second client checks the first task data corresponding to the first task uploaded by the first client and the first electronic resource associated with the first task in the blockchain network.
In a possible implementation manner, step S304 in the embodiment of the present application may refer to step S202 in the embodiment shown in fig. 2, and details are not repeated here.
S305, the second client sends a claim request for claiming the first task to the blockchain network.
In a possible implementation manner, step S305 in the embodiment of the present application may refer to step S203 in the embodiment shown in fig. 2, and is not described herein again.
S306, the second client uploads the second electronic resource to the blockchain network, so that the blockchain network freezes the second electronic resource.
In a possible implementation manner, the second electronic resource is configured to collect a second value of the electronic resource from the second electronic resource to the first client if the first acceptance data includes first indication information, and the first indication information is used to indicate that the second value of the electronic resource is collected to the first client. Optionally, the first acceptance data may include material loss data, which is input by the first client for material loss occurring in the process of executing the first task by the second client, and the electronic resource of the second value may be obtained by calculation according to the material loss data, so that the block chain network draws the electronic resource of the second value from the second electronic resource to the first client.
S307, the first client checks the user information of the second client claiming the first task through the blockchain network.
In a possible implementation manner, step S307 in the embodiment of the present application may refer to step S204 in the embodiment shown in fig. 2, and is not described herein again.
S308, the second client obtains the first acceptance data for the first task and the first numerical value of the electronic resource to be taken from the blockchain network.
In a possible embodiment, the first acceptance data of the first task and the first value of the electronic resource to be taken may be uploaded to the blockchain network by the first client. Optionally, the first acceptance data may be obtained by the first client after the first client accepts the first task executed by the second client according to the acceptance term and the task term in the first task data, and the first acceptance data may include the term for the second client to complete the first task and various data obtained when the first client accepts the first task according to the acceptance term; the first client can calculate the electronic resource with a first value according to the time limit for the second client to complete the first task and the data, and upload the first acceptance data aiming at the first task and the first value of the electronic resource required to be taken to the block chain network.
And S309, the second client signs the first acceptance data and the first numerical value of the electronic resource to be taken through the private key of the second client to obtain second signature information.
In a possible implementation manner, the second client may generate a private key and a public key of the corresponding second client, and the second client may perform a hash operation on the first acceptance data and the first numerical value of the electronic resource to be paid out to obtain a first hash value, and perform a signature on the first hash value by using the private key of the second client based on a digital signature algorithm to obtain second signature information. Optionally, the digital signature algorithm may include, but is not limited to: RSA (a signature algorithm), DSA (a signature algorithm), ECDSA (a signature algorithm), etc.
And S310, the second client generates a drawing request according to the second signature information and sends the drawing request to the blockchain network, so that the blockchain network adopts the public key of the second client to check and sign the second signature information.
In a possible implementation manner, the second client generates a withdrawal request according to the second signature information, and sends the withdrawal request to the blockchain network, so that the blockchain network decrypts the second signature information by using the public key of the second client to obtain a second hash value, if the second hash value is the same as the first hash value, the verification is successful, the withdrawal request is determined to be generated by the second client, and the blockchain network can withdraw the electronic resource of the first value from the first electronic resource to the second client according to the withdrawal request.
And S311, the first client signs the first acceptance data and the first numerical value of the electronic resource to be taken through the private key of the first client to obtain first signature information.
In a possible implementation manner, the first client may generate a private key and a public key of the corresponding first client, and then the first client may perform a hash operation on the first acceptance data and the first numerical value of the electronic resource to be paid out to obtain a third hash value, and perform a signature on the third hash value by using the private key of the first client based on a digital signature algorithm to obtain first signature information. Optionally, the digital signature algorithm may include, but is not limited to: RSA (a signature algorithm), DSA (a signature algorithm), ECDSA (a signature algorithm), etc.
And S312, the first client generates a transaction request according to the first signature information, and sends the transaction request to the blockchain network, so that the blockchain network adopts the public key of the first client to check the signature of the first signature information.
In one possible embodiment, the transaction request may include first acceptance data for the first task and a first value of the electronic resource to be paid out, so that the second client pays out the electronic resource of the first value from the first electronic resource according to the first acceptance data. Optionally, the first client generates a transaction request according to the first signature information, and sends the transaction request to the blockchain network, so that the blockchain network decrypts the first signature information by using the public key of the first client to obtain a fourth hash value, if the fourth hash value is the same as the third hash value, the signature verification is successful, it is determined that the transaction request is generated by the first client, and the second client can draw the electronic resource of the first value from the first electronic resource according to the first acceptance data. Optionally, the transaction request may include first signature information and transaction information, and the first signature information may be appended to the transaction information, wherein the transaction information may include first acceptance data and a first value of the electronic resource to be drawn.
S313, the first client receives the task completion instruction from the blockchain network, and sends evaluation information for the first task to the blockchain network, so that the blockchain network updates the user information of the second client according to the evaluation information.
In a possible embodiment, the task completion instruction is triggered after the blockchain network pays the electronic resource of the first value from the first electronic resource to the second client after successfully verifying the first signature information and successfully verifying the second signature information, and the second signature information is obtained by signing the first acceptance data and the first value through the private key of the second client. Optionally, if the check of the first signature information by the blockchain network is successful, it indicates that the transaction request is generated by the first client; if the check signing of the block chain network to the second signature information is successful, determining that the request is generated by the second client; if the blockchain network successfully signs the first signature information and successfully signs the second signature information, the first client can draw the electronic resource of the first numerical value from the first electronic resource to the second client, and then the task is completed, wherein the signature method using a private key (such as the first private key or the second private key) is used for making the first client and the second client undeniable own behaviors, improving the reputation effect and improving the doing and disgust cost, so as to protect the benefits of both the first client and the second client, for example, if any one of the first client and the second client has a default behavior, the corresponding default fund needs to be paid from the electronic resource (such as the first electronic resource or the second electronic resource).
Further, the first client may call a fourth function (e.g., method d) in the smart contract, receive a task completion instruction from the blockchain network, and send evaluation information for the first task to the blockchain network, so that the blockchain network updates the user information of the second client according to the evaluation information. Optionally, the rating information may include rating information. Optionally, the first client may preset a plurality of score ranges and values of a plurality of electronic resources corresponding to the score ranges; grading the second client to obtain a target grade; determining that the target score belongs to a target score range of the plurality of score ranges; and determining a third value of the target electronic resource corresponding to the target scoring range, wherein the first client can draw the electronic resource of the third value from the first electronic resource to the second client.
S314, the second client receives the task completion instruction from the blockchain network, and sends a claim request for requesting to claim the second task to the blockchain network.
In a possible embodiment, the task completion instruction is triggered after the blockchain network pays the electronic resource of the first value from the first electronic resource to the second client after successfully verifying the first signature information and successfully verifying the second signature information, and the first signature information is obtained by signing the first acceptance data and the first value through the private key of the first client. Optionally, the second client receives the task completion instruction from the blockchain network, and may send a claim request for requesting to claim a second task to the blockchain network, where the second task may be one of the at least one task included in the first item. Optionally, the second client may evaluate the first client.
Optionally, the arbitration mechanism may register on the blockchain network, and after the arbitration mechanism successfully registers, the arbitration mechanism has a qualification for handling labor disputes between the first client and the second client, and may invoke a dispute arbitration contract to handle the first electronic resource and the second electronic resource; the first user corresponding to the first client may be a project side, the second user corresponding to the second client may be a carrier side, and the arbitration mechanism may include, but is not limited to, a human resource office, a workshop, and a judicial department.
In this embodiment, a first client may upload first task data corresponding to a first task and a first electronic resource associated with the first task to a blockchain network, so that the blockchain network issues the first task data, freezes the first electronic resource, views user information of a second client claiming the first task through the blockchain network, and sends a transaction request to the blockchain network if a settlement request of the second client is detected, where the transaction request includes first acceptance data for the first task and a first numerical value of an electronic resource that needs to be taken, so that the second client takes the electronic resource of the first numerical value from the first electronic resource according to the first acceptance data. By adopting the embodiment of the application, the first client can be ensured to timely check and accept the first task and pay after the second client finishes the first task, the loss of the second client is reduced, and the fairness of transaction and the safety of fund are improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a data processing apparatus based on a blockchain according to an embodiment of the present application. As shown in fig. 4, the blockchain-based data processing apparatus 40 may be operable in the first client, and the blockchain-based data processing apparatus 40 may include:
a first uploading unit 403, configured to upload first task data corresponding to a first task and a first electronic resource associated with the first task to a blockchain network, so that the blockchain network issues the first task data and freezes the first electronic resource;
a first viewing unit 404, configured to view user information of a second client claiming the first task through the blockchain network;
a first sending unit 405, configured to send a transaction request to the blockchain network if a settlement request of the second client is detected, where the transaction request includes first acceptance data for the first task and a first value of the electronic resource to be collected, so that the second client collects the electronic resource of the first value from the first electronic resource according to the first acceptance data.
In a possible implementation manner, the first sending unit 405 is further configured to:
signing the first acceptance data and the first numerical value of the electronic resource to be taken through a private key of the first client to obtain first signature information;
and generating a transaction request according to the first signature information, and sending the transaction request to the blockchain network so that the blockchain network adopts the public key of the first client to check and sign the first signature information.
In a possible implementation, the above block chain-based data processing apparatus 40 further includes:
a creating unit 401, configured to invoke a first function in the intelligent contract, and create a first project, where the first project includes at least one task, and the at least one task includes the first task;
an adding unit 402, configured to invoke a second function in the intelligent contract, and add first task data to the first task.
In a possible implementation, the above block chain-based data processing apparatus 40 further includes:
a first transceiving unit 406, configured to receive a task completion instruction from the blockchain network; the first transceiver unit 406 is further configured to send evaluation information for the first task to the blockchain network, so that the blockchain network updates the user information of the second client according to the evaluation information;
the task completion instruction is triggered after the block chain network successfully verifies the first signature information and successfully verifies the second signature information, the electronic resource of the first numerical value is bought from the first electronic resource to the second client side, and the second signature information is obtained by signing the first acceptance data and the first numerical value through the private key of the second client side.
In this embodiment, a first client may upload first task data corresponding to a first task and a first electronic resource associated with the first task to a blockchain network, so that the blockchain network issues the first task data, freezes the first electronic resource, views user information of a second client claiming the first task through the blockchain network, and sends a transaction request to the blockchain network if a settlement request of the second client is detected, where the transaction request includes first acceptance data for the first task and a first numerical value of an electronic resource that needs to be taken, so that the second client takes the electronic resource of the first numerical value from the first electronic resource according to the first acceptance data. By adopting the embodiment of the application, the first client can be ensured to timely check and accept the first task and pay after the second client finishes the first task, the loss of the second client is reduced, and the fairness of transaction and the safety of fund are improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another data processing apparatus based on a blockchain according to an embodiment of the present application. As shown in fig. 5, the blockchain-based data processing apparatus 50 may be operable in the second client, and the blockchain-based data processing apparatus 50 may include:
a second checking unit 501, configured to check, in a blockchain network, first task data corresponding to a first task uploaded by a first client and a first electronic resource associated with the first task, where the first electronic resource is frozen in the blockchain network;
a second sending unit 502, configured to send a claim request for requesting to claim the first task to the blockchain network, where the claim request includes user information of a second client, so that the first client views the user information of the second client claiming the first task through the blockchain network;
an obtaining unit 504, configured to obtain, from the blockchain network, first acceptance data for the first task and a first numerical value of the electronic resource that needs to be taken, and send a taking request to the blockchain network according to the first acceptance data, so that the blockchain network takes the electronic resource of the first numerical value from the first electronic resource to the second client according to the taking request.
In a possible implementation, the above block chain based data processing apparatus 50 further includes:
a second uploading unit 503, configured to upload a second electronic resource to the blockchain network, so that the blockchain network freezes the second electronic resource, where the second electronic resource is used to collect an electronic resource with a second value from the second electronic resource to the first client if the first acceptance data includes first indication information, and the first indication information is used to indicate to collect the electronic resource with the second value from the first client.
In a possible implementation manner, the obtaining unit 504 is further configured to:
signing the first acceptance data and the first numerical value of the electronic resource to be taken through a private key of a second client to obtain second signature information;
and generating a drawing request according to the second signature information, and sending the drawing request to the blockchain network so as to enable the blockchain network to adopt the public key of the second client to check and sign the second signature information.
In a possible implementation, the above block chain based data processing apparatus 50 further includes:
a second transceiving unit 505, configured to receive a task completion instruction from the blockchain network; the second transceiving unit 505 is further configured to send a claiming request for requesting to claim a second task to the blockchain network, where the task completion instruction is triggered after the blockchain network successfully signs a first signature information and successfully signs a second signature information, and then pays the electronic resource of the first value from the first electronic resource to the second client, and the first signature information is obtained by signing the first acceptance data and the first value with the private key of the first client.
In this embodiment, the second client may check, in the blockchain network, first task data corresponding to a first task uploaded by the first client and a first electronic resource associated with the first task, send a request for requesting to claim the first task to the blockchain network, obtain, from the blockchain network, first acceptance data for the first task and a first numerical value of an electronic resource that needs to be taken, and send a take request to the blockchain network according to the first acceptance data, so that the blockchain network takes the electronic resource of the first numerical value from the first electronic resource to the second client according to the take request. By adopting the embodiment of the application, the first client can be ensured to timely check and accept the first task and pay after the second client finishes the first task, the loss of the second client is reduced, and the fairness of transaction and the safety of fund are improved.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating a composition structure of a blockchain-based data processing apparatus 60 according to an embodiment of the present disclosure, where the blockchain-based data processing apparatus includes a processor 601, a memory 602, an input/output interface 603, and a communication bus 604. The processor 601 is connected to the memory 602 and the input output interface 603, for example, the processor 601 may be connected to the memory 602 and the input output interface 603 through a communication bus 604.
The processor 601 is configured to support the blockchain based data processing apparatus to perform corresponding functions in the blockchain based data processing method of fig. 2-3. The Processor 601 may be a Central Processing Unit (CPU), a Network Processor (NP), a hardware chip, or any combination thereof. The hardware chip may be an Application-Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a Field-Programmable Gate Array (FPGA), General Array Logic (GAL), or any combination thereof.
The memory 602 is used for storing program codes and the like. The Memory 602 may include Volatile Memory (VM), such as Random Access Memory (RAM); the Memory 602 may also include a Non-Volatile Memory (NVM), such as a Read-only Memory (ROM), a flash Memory (flash Memory), a Hard Disk Drive (HDD) or a Solid-State Drive (SSD); the memory 602 may also comprise a combination of memories of the kind described above.
The input/output interface 603 is used for inputting or outputting data.
The processor 601 may call the program code to perform the following operations:
a first client uploads first task data corresponding to a first task and a first electronic resource associated with the first task to a block chain network, so that the block chain network issues the first task data and freezes the first electronic resource;
the first client side checks the user information of the second client side claiming the first task through the block chain network;
and if the first client detects a settlement request of the second client, sending a transaction request to the blockchain network, wherein the transaction request comprises first acceptance data aiming at the first task and a first numerical value of the electronic resource required to be obtained, so that the second client obtains the electronic resource of the first numerical value from the first electronic resource according to the first acceptance data.
The processor 601 may also call the program code to perform the following operations:
the second client checks first task data corresponding to a first task uploaded by the first client and a first electronic resource associated with the first task in the blockchain network, wherein the first electronic resource is frozen in the blockchain network;
the second client sends a claim request for requesting to claim the first task to the blockchain network, wherein the claim request comprises user information of the second client, so that the first client can view the user information of the second client claiming the first task through the blockchain network;
the second client acquires first acceptance data aiming at the first task and a first numerical value of the electronic resource needing to be taken from the blockchain network, and sends a taking request to the blockchain network according to the first acceptance data, so that the blockchain network takes the electronic resource of the first numerical value from the first electronic resource to the second client according to the taking request.
It should be noted that, the implementation of each operation may also correspond to the corresponding description of the method embodiments shown in fig. 2 to fig. 3; the processor 601 may also cooperate with the input output interface 603 to perform other operations in the above-described method embodiments.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program, where the computer program includes program instructions, and the program instructions, when executed by a computer, cause the computer to execute the method according to the foregoing embodiments, and the computer may be a part of the above-mentioned account information management device. Such as the processor 601 described above.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
In the present application, "a and/or B" means one of the following cases: a, B, A and B. "at least one of … …" refers to any combination of the listed items or any number of the listed items, e.g., "at least one of A, B and C" refers to one of: any one of seven cases, a, B, C, a and B, B and C, a and C, A, B and C.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The method and the related apparatus provided by the embodiments of the present application are described with reference to the flowchart and/or the structural diagram of the method provided by the embodiments of the present application, and each flow and/or block of the flowchart and/or the structural diagram of the method, and the combination of the flow and/or block in the flowchart and/or the block diagram can be specifically implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block or blocks of the block diagram. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block or blocks of the block diagram. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block or blocks.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A data processing method based on a block chain is characterized by comprising the following steps:
uploading first task data corresponding to a first task and a first electronic resource associated with the first task to a blockchain network, so that the blockchain network publishes the first task data and freezes the first electronic resource;
viewing user information of a second client claiming the first task through the blockchain network;
and if a settlement request of the second client is detected, sending a transaction request to the blockchain network, wherein the transaction request comprises first acceptance data aiming at the first task and a first numerical value of the electronic resource to be taken, so that the second client takes the electronic resource with the first numerical value from the first electronic resource according to the first acceptance data.
2. The method of claim 1, wherein sending a transaction request to the blockchain network comprises:
signing the first acceptance data and the first numerical value of the electronic resource to be taken through a private key of the first client to obtain first signature information;
and generating a transaction request according to the first signature information, and sending the transaction request to the blockchain network so that the blockchain network adopts the public key of the first client to verify the signature of the first signature information.
3. The method of claim 1 or 2, wherein prior to uploading the first task data corresponding to the first task and the first electronic resource associated with the first task to the blockchain network, further comprising:
calling a first function in an intelligent contract and creating a first project, wherein the first project comprises at least one task, and the at least one task comprises the first task;
and calling a second function in the intelligent contract and adding first task data for the first task.
4. The method of claim 2, further comprising:
receiving a task completion instruction from the blockchain network, and sending evaluation information for the first task to the blockchain network so that the blockchain network updates user information of the second client according to the evaluation information;
the task completion instruction is triggered after the blockchain network successfully verifies the first signature information and successfully verifies second signature information, the electronic resource of the first numerical value is bought from the first electronic resource to the second client side, and the second signature information is obtained by signing the first acceptance data and the first numerical value through a private key of the second client side.
5. A data processing method based on a block chain is characterized by comprising the following steps:
checking first task data corresponding to a first task uploaded by a first client and a first electronic resource associated with the first task in a block chain network, wherein the first electronic resource is frozen in the block chain network;
sending a claim request for requesting to claim the first task to the blockchain network, wherein the claim request comprises user information of a second client, so that the first client can view the user information of the second client claiming the first task through the blockchain network;
and acquiring first acceptance data aiming at the first task and a first numerical value of the electronic resource needing to be taken from the block chain network, and sending a taking request to the block chain network according to the first acceptance data, so that the block chain network takes the electronic resource of the first numerical value from the first electronic resource to the second client side according to the taking request.
6. The method of claim 5, wherein after sending a claim request to the blockchain network for requesting a claim of the first task, further comprising:
uploading a second electronic resource to a blockchain network so as to enable the blockchain network to freeze the second electronic resource, wherein the second electronic resource is used for getting an electronic resource with a second numerical value from the second electronic resource to the first client side if the first acceptance data comprises first indication information, and the first indication information is used for indicating that the electronic resource with the second numerical value is got to the first client side.
7. The method of claim 5, wherein sending a draw request to the blockchain network based on the first acceptance data comprises:
signing the first acceptance data and the first numerical value of the electronic resource to be taken through a private key of a second client to obtain second signature information;
and generating a drawing request according to the second signature information, and sending the drawing request to the blockchain network so as to enable the blockchain network to adopt the public key of the second client to check and sign the second signature information.
8. A blockchain-based data processing apparatus, comprising:
a first uploading unit, configured to upload first task data corresponding to a first task and a first electronic resource associated with the first task to a blockchain network, so that the blockchain network issues the first task data and freezes the first electronic resource;
a first viewing unit configured to view, through the blockchain network, user information of a second client claiming the first task;
and the first sending unit is used for sending a transaction request to the blockchain network if a settlement request of the second client is detected, wherein the transaction request comprises first acceptance data aiming at the first task and a first numerical value of the electronic resource to be taken, so that the second client takes the electronic resource of the first numerical value from the first electronic resource according to the first acceptance data.
9. A blockchain based data processing apparatus comprising a processor, a memory and an input output interface, the processor, the memory and the input output interface being connected to each other, wherein the input output interface is used for inputting or outputting data, the memory is used for storing program codes, and the processor is used for calling the program codes and executing the blockchain based data processing method according to any one of claims 1 to 4; alternatively, the processor is further configured to call the program code to perform the blockchain-based data processing method according to any one of claims 5 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the blockchain-based data processing method according to any one of claims 1 to 4; alternatively, the computer-readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the blockchain-based data processing method according to any one of claims 5 to 7.
CN201911166818.XA 2019-11-25 2019-11-25 Data processing method based on block chain and related device Pending CN110866830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911166818.XA CN110866830A (en) 2019-11-25 2019-11-25 Data processing method based on block chain and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911166818.XA CN110866830A (en) 2019-11-25 2019-11-25 Data processing method based on block chain and related device

Publications (1)

Publication Number Publication Date
CN110866830A true CN110866830A (en) 2020-03-06

Family

ID=69655121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911166818.XA Pending CN110866830A (en) 2019-11-25 2019-11-25 Data processing method based on block chain and related device

Country Status (1)

Country Link
CN (1) CN110866830A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586038A (en) * 2020-05-06 2020-08-25 青岛大学 Data processing method and device, block chain link point equipment and storage medium
CN111798230A (en) * 2020-06-18 2020-10-20 昆明大棒客科技有限公司 Block chain based staged payment method, device and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586038A (en) * 2020-05-06 2020-08-25 青岛大学 Data processing method and device, block chain link point equipment and storage medium
CN111798230A (en) * 2020-06-18 2020-10-20 昆明大棒客科技有限公司 Block chain based staged payment method, device and equipment

Similar Documents

Publication Publication Date Title
CN108667632B (en) Credit record sharing method and device based on block chain and electronic equipment
CN106504094B (en) Transaction matching method and system of distributed general ledger system based on block chain technology
CN106934619B (en) Transaction recording method and system
CN109493204B (en) Service accounting method based on block chain and terminal equipment
CN108537655B (en) Data processing method and device for digital assets
CN111612453A (en) Decentralized transaction method and device based on block chain and electronic equipment
CN107911819B (en) Method and system for selecting packaging node based on mobile phone number
CN110866830A (en) Data processing method based on block chain and related device
CN113568971A (en) Bidding management method and device based on block chain, computer equipment and medium
CN111010284B (en) Processing method of block to be identified, related device and block chain system
CN110765211A (en) Engineering bid inviting management method, device, terminal and storage medium based on block chain
CN111583047A (en) Pension escrow service system and method based on block chain
CN109064329B (en) Calculation power transaction method and device
CN114239066A (en) Contract processing method based on block chain and related equipment
CN110766403A (en) Data processing device and method based on block chain and storage medium
WO2019074371A1 (en) Distributed database manager
CN111327565A (en) Block chaining and deblocking method and system
CN107679839B (en) Data processing method and system
EP2924637A1 (en) System and method for electronic money transfer of fractional amounts
CN111210345B (en) Signature method and device based on block chain network transaction and terminal equipment
CN112598502A (en) Evidence obtaining method, device, equipment and storage medium
CN109857748B (en) Contract data processing method and device and electronic equipment
EP4135259A1 (en) Delegated off-chain payments using cryptocurrencies
CN110910091A (en) Data processing method, device and medium
CN113283997A (en) Medical insurance claim settlement method and device based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40021489

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination