CN111159304A - Data processing method, device, equipment and system based on block chain - Google Patents

Data processing method, device, equipment and system based on block chain Download PDF

Info

Publication number
CN111159304A
CN111159304A CN202010252228.5A CN202010252228A CN111159304A CN 111159304 A CN111159304 A CN 111159304A CN 202010252228 A CN202010252228 A CN 202010252228A CN 111159304 A CN111159304 A CN 111159304A
Authority
CN
China
Prior art keywords
contract
service
information
signed
block chain
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
CN202010252228.5A
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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202010252228.5A priority Critical patent/CN111159304A/en
Publication of CN111159304A publication Critical patent/CN111159304A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the specification discloses a data processing method, a device, equipment and a system based on a block chain, which are applied to a block chain node, wherein the method comprises the following steps: receiving a contract signing request of a target service sent by an initiator, wherein the contract signing request comprises contract data required to be signed; generating a contract to be signed of the target service according to the contract data; sending the contract to be signed to the initiator, receiving the signed contract which comprises the signature information and is sent by the initiator, and generating a service contract of the target service according to the signed contract comprising the signature information; determining a contract rule corresponding to the service contract according to the service contract, generating a first intelligent contract corresponding to the service contract based on the contract rule, and deploying the first intelligent contract in a block chain; the contract rule is executed when it is detected based on the first smart contract that the status of the business contract satisfies the contract rule.

Description

Data processing method, device, equipment and system based on block chain
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a system for processing data based on a block chain.
Background
The signing contract is a very common behavior in the market economy, and usually, both parties of the contract set the content of the contract in advance based on the rights and obligations possessed by both parties, and then make a paper contract agreement, and both parties of the contract sign and seal.
With the development of market economy, people have stronger legal consciousness, people hope that many behaviors (including civil behaviors and the like) or activities can be guaranteed through contracts, and the performance and default treatment of the contracts are usually realized through offline communication of two parties, so that a series of complex processes for signing paper contracts are obviously not beneficial to quickly and conveniently signing the contracts and treating the performance and default of the contracts, and a method for making the paper contracts firstly and then mailing the paper contracts for many times is adopted to reach the other parties for signing and sealing, so that great risk exists, and the reliability is seriously lacked. Therefore, it is desirable to provide a technical solution for contract signing and contract processing (such as performing or default processing) with more simplified process and higher reliability.
Disclosure of Invention
An object of the embodiments of the present specification is to provide a method, an apparatus, a device, and a system for processing data based on a block chain, so as to provide a technical solution that a contract signing and contract processing (such as performing or default processing) process is more simplified and has higher reliability.
In order to implement the above technical solution, the embodiments of the present specification are implemented as follows:
an embodiment of the present specification provides a data processing method based on a block chain, which is applied to a block chain node, and the method includes: receiving a contract signing request of a target service sent by an initiator, wherein the contract signing request comprises contract data required to be signed. And generating a contract to be signed of the target service according to the contract data. And sending the contract to be signed to the initiator, receiving the signed contract which comprises the signature information and is sent by the initiator, and generating the service contract of the target service according to the signed contract comprising the signature information. Determining contract rules corresponding to the service contract according to the service contract, generating a first intelligent contract corresponding to the service contract based on the contract rules, and deploying the first intelligent contract in a block chain, wherein the contract rules comprise performance rules and/or default rules. Executing the contract rule when detecting that the status of the business contract satisfies the contract rule based on a first smart contract.
An embodiment of the present specification provides a data processing apparatus based on a block chain, where the apparatus includes: the contract request module receives a contract signing request of the target service sent by an initiator, wherein the contract signing request comprises contract data required to be signed. And the contract processing module is used for generating a contract to be signed of the target service according to the contract data. And the service contract generating module is used for sending the contract to be signed to the initiator, receiving the signed contract which comprises the signature information and is sent by the initiator, and generating the service contract of the target service according to the signed contract comprising the signature information. And the intelligent contract deployment module is used for determining contract rules corresponding to the service contracts according to the service contracts, generating first intelligent contracts corresponding to the service contracts based on the contract rules, and deploying the first intelligent contracts in a block chain, wherein the contract rules comprise performance rules and/or default rules. And the contract rule execution module is used for executing the contract rule when detecting that the state of the business contract meets the contract rule based on the first intelligent contract.
An embodiment of the present specification provides a data processing apparatus based on a block chain, where the data processing apparatus based on a block chain includes: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: receiving a contract signing request of a target service sent by an initiator, wherein the contract signing request comprises contract data required to be signed. And generating a contract to be signed of the target service according to the contract data. And sending the contract to be signed to the initiator, receiving the signed contract which comprises the signature information and is sent by the initiator, and generating the service contract of the target service according to the signed contract comprising the signature information. Determining contract rules corresponding to the service contract according to the service contract, generating a first intelligent contract corresponding to the service contract based on the contract rules, and deploying the first intelligent contract in a block chain, wherein the contract rules comprise performance rules and/or default rules. Executing the contract rule when detecting that the status of the business contract satisfies the contract rule based on a first smart contract.
An embodiment of the present specification provides a data processing system based on a blockchain, where the system includes a contract platform and a service platform based on a blockchain, where: the service platform is configured to send a contract signing request of the target service to the contract platform based on the block chain, and the contract signing request includes contract data required to be signed. The contract platform based on the block chain is configured to generate a contract to be signed of the target service according to the contract data, and send the contract to be signed to the service platform. The service platform is also configured to display the contract to be signed, acquire signature information of a signing party, and send the signed contract including the signature information to the contract platform based on the block chain. The contract platform based on the block chain is further configured to generate a service contract of the target service according to the signed contract including the signature information, determine a contract rule corresponding to the service contract according to the service contract, generate a first intelligent contract corresponding to the service contract based on the contract rule, and deploy the first intelligent contract in the block chain, wherein the contract rule includes a performance rule and/or a default rule. The blockchain-based contract platform is further configured to invoke the first intelligent contract in the blockchain to detect the state of the business contract, and execute the contract rule when detecting that the state of the business contract meets the contract rule based on the first intelligent contract.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 is a block chain-based data processing method embodiment of the present disclosure;
FIG. 2 is a flow chart of contract template generation based on blockchain according to the present disclosure;
FIG. 3 is a block chain based data processing system according to the present disclosure;
FIG. 4 is a flow chart illustrating the generation of a service contract for a blockchain-based target service according to the present disclosure;
FIG. 5 is a flow chart illustrating updating of the status of a business contract based on blockchains according to the present disclosure;
FIG. 6 is a flow chart illustrating a method for providing evidence about a service contract for an application based on a blockchain;
FIG. 7 is a flow diagram illustrating another blockchain-based contract template generation process consistent with the present disclosure;
FIG. 8 is a flow chart of yet another blockchain-based contract template generation consistent with the present disclosure;
FIG. 9 is a block chain based data processing apparatus embodiment of the present description;
FIG. 10 is a block chain based data processing apparatus embodiment of the present description;
FIG. 11 is a block chain based data processing system according to another embodiment of the present disclosure;
FIG. 12 is a block chain based data processing system according to yet another embodiment of the present disclosure.
Detailed Description
The embodiment of the specification provides a data processing method, a device, equipment and a system based on a block chain.
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
Example one
As shown in fig. 1, an embodiment of the present disclosure provides a data processing method based on a blockchain, where an execution subject of the method may be a blockchain node, and the blockchain node may be a terminal device or a server, where the terminal device may be a mobile terminal device such as a mobile phone, a tablet computer, and the like, and may also be a device such as a personal computer. The server may be an independent server, a server cluster including a plurality of servers, or the like. The server may be a background server of a certain service (such as a transaction service), or may be a background server of an application (such as a shopping application provided by a certain brand). The method may specifically comprise the steps of:
in step S102, a contract signing request of the target service sent by the initiator is received, where the contract signing request includes contract data to be signed.
The initiator may be any party in a contract that needs to be signed, such as a party a or a party b called in a common contract, and specifically, such as an applicant signing an insurance contract or an organization providing the insurance service. The target service may be any service such as an insurance service, a financial service, a shopping service, etc. The contract data may be data in a certain contract, may be data of a part of items therein, or may be data of all items therein, wherein the contract may be any contract, such as an insurance contract, a sales contract, a loan contract, a labor contract, and the like.
In practice, signing a contract is a very common practice in the market economy, and usually, both parties of the contract set the contents of the contract in advance based on the rights and obligations possessed by both parties, and then make a paper contract agreement, and both parties of the contract sign and seal the paper contract agreement. With the development of market economy, people have stronger legal consciousness, people hope that many behaviors (including civil behaviors and the like) or activities can be guaranteed through contracts, and the performance and default treatment of the contracts are usually realized through offline communication of two parties, so that a series of complex processes for signing paper contracts are obviously not beneficial to quickly and conveniently signing the contracts and treating the performance and default of the contracts, and a method for making the paper contracts firstly and then mailing the paper contracts for many times is adopted to reach the other parties for signing and sealing, so that great risk exists, and the reliability is seriously lacked. Therefore, it is desirable to provide a technical solution for contract signing and contract processing (such as performing or default processing) with more simplified process and higher reliability. An embodiment of the present specification provides a method capable of implementing the above technical solution, which may specifically include the following:
with the rapid development of electronic commerce, a large number of organizations or enterprises are more and more inclined to use electronic information to perform business communication and communication to reduce cost and improve competitiveness, and for this reason, an electronic contract mode can be used to quickly lock customers, reduce cost and improve competitiveness. The contract template may be a base constituting a contract, and may include items of the contract, such as an item of the first party, an item of the second party, an expiration date, and the like, and may further include related information, such as related information of a right and an obligation possessed by the signing party, and the like. For the set contract template, corresponding contracts can be set according to different services, specifically, different requirements can be met for different services, and different requirements may require contract templates of different contract structures and projects, so that corresponding contract templates can be preset for different service requirements, and service identifiers and identifiers of the contract templates can be stored correspondingly.
In addition, for the storage device for storing the contract template, considering the accuracy and the tamper prevention of the contract template, a block chain can be constructed, and the contract template can be stored in the block chain. A blockchain is essentially a decentralized database, which is a string of data blocks associated using cryptography, each data block may contain stored data and its associated information (e.g., information that can be used to verify the validity (or anti-counterfeit) of the stored data and generate the next block). The block chain can be well applied to the on-line data tamper-proofing, anti-counterfeiting and traceable directions, and if relevant behavior data in the processes of contract template use, management, and the like are added into the block chain, the contract relevant information cannot be changed and repudiated. Therefore, the contract related information can be maintained through the blockchain, so that all parties can check the data of a certain contract based on the related information in the blockchain, and the accuracy of the contract template, the contract content and the like is ensured.
Based on the above, the block chain node may respond to the relevant processing of the contract to provide the relevant service for the originator of the contract processing, specifically, when two or more parties need to sign a contract, the two or more parties or any one of the parties may request the contract template of the contract from the block chain node, that is, a relevant page signed by the contract may be set in advance, a request entry of the contract template may be set in the page (specifically, the page may be embodied by a key or a hyperlink, etc.), the two or more parties or any one of the parties may open the page through the terminal device, and may enter the acquisition page of the contract template through the request entry of the contract template, and may obtain information of the target service (such as a service identifier of the target service) input in an input box of relevant information of the service (i.e., the target service) corresponding to the contract template in the acquisition page, a contract template acquisition request of the target service is generated, the terminal device can send the contract template acquisition request of the target service to the block link node, and the block link node can acquire a corresponding contract template according to information of the target service (such as a service identifier of the target service) and can send the acquired contract template to the terminal device. The terminal device may display the contract template, which may be viewed by two or more parties to be signed with the contract, and the contract template may include various items and related information, such as name items, identity information items, obligations and terms of duties, performance-related information, and default-related information (e.g., default funds, etc.) of the two parties to the contract. After the completion of the filling, the terminal device may obtain data corresponding to the filled information and data contained in the contract template (i.e., contract data to be signed) to generate a contract signing request for the target service, and may send the contract signing request for the target service to the block chain node, where the block chain node may receive the contract signing request for the target service sent by the initiator, where the contract signing request includes the contract data to be signed.
In addition, the processing in step S102 may be implemented by the following manner, specifically, the block chain may also be implemented by making a contract template by two or more parties to sign a contract without setting a contract template in advance, where the two or more parties to sign the contract may fill corresponding information in the contract template, and after the completion of the filling, the data corresponding to the filled information and the data contained in the contract template (i.e., the contract data to be signed) may be used by the terminal device to generate a contract signing request for the target service, and the contract signing request for the target service may be sent to the block chain node, and the block chain node may receive the contract signing request for the target service sent by the initiator, where the contract signing request includes the contract data to be signed.
In step S104, a contract to be signed of the target service is generated based on the contract data.
In implementation, for the case that a contract template is set in the block chain, after receiving the contract signing request of the target service sent by the initiator through the processing in step S102, the contract template corresponding to the target service may be determined according to the service identifier and other information of the target service, or alternatively, the identifier of the contract template returned by the block chain node may be recorded in advance in the process that the terminal device requests the contract template from the block chain node, and then, after receiving the contract signing request of the target service sent by the initiator, the block chain node may obtain the identifier of the contract template returned to the block chain node, which is recorded in advance, and may obtain the corresponding contract template and other information through the identifier. In practical application, the contract template may be obtained in various other manners besides the manner described above, and may be specifically set according to practical situations, which is not limited in the embodiments of the present specification.
After the contract template corresponding to the target service is obtained in the above manner, the obtained contract template can be combined with the contract data in the contract signing request, so as to obtain the filled content or the modified content in the contract. Since the contract template and the contract data are only the main contents constituting the corresponding contract, and other contents such as information of the signing party of the contract, a limited term, a rule for processing a breach of contract, and the like are often required in the contract, for this reason, an initial contract can be generated by the contract template and the contract data, and then, an input area of the information can be inserted at a preset position of the initial contract, and a contract to be signed can be generated. For example, an initial contract can be generated from the contract template and the contract data, and then an input field for a signature and date can be inserted at the last position of the initial contract, thereby generating a contract to be signed including the contract data and the input field for the signature and date.
For the case that no contract template is set in the block chain, the contract signing request may further include structure information of the contract, and the block link point may determine the initial contract directly based on the acquired contract data to be signed and the structure information, and then may insert the input region of the information at a preset position of the initial contract, and further may generate the contract to be signed.
In step S106, the contract to be signed is sent to the initiator, and the signed contract sent by the initiator and including the signature information is received, and the service contract of the target service is generated according to the signed contract including the signature information.
The signature information may be information related to the signing party, such as a name, a contact, an identity document number, and the like of the signing party, which are input by the signing party through a manual writing method or a preset input method, and may be set according to actual conditions, which is not limited in the embodiments of the present specification. The contract to be signed is a contract not containing signature information, the contract to be signed can be a contract which is not complete yet, the signed contract containing the signature information can be a signed contract containing original signature information of a signing party, the signed contract containing the signature information can be a complete contract original, and the service contract can be a final contract which is generated based on the complete contract original and can be stored in the block chain.
In implementation, after the block chain node generates the contract to be signed through the processing of step S104, the block chain node may send the contract to be signed to the initiator, the initiator may display the contract to be signed, the signing party may browse the content in the contract to be signed, if the signing party confirms that the data in the contract to be signed is accurate, the signing may be performed at the position in the contract to be signed where the signature is needed, after the signature is completed, the signed contract with the signature may be obtained, and the terminal device of the initiator may obtain the signed contract including the signature information to be signed, and send the signed contract to the block chain node. The blockchain node may receive a signed contract sent by the initiator that includes signature information.
After receiving the signed contract including the signature information sent by the initiator, the block link node may use the signed contract including the signature information as a service contract of the target service, or may convert the signed contract including the signature information into a service contract of the target service by a preset conversion method, for example, may obtain the identity information corresponding to the signature information by the signature information, may convert the signature information and the obtained identity information into the global unique identifier corresponding to the identity information, and may generate the service contract of the target service based on the obtained global unique identifier and the contract to be signed. In practical applications, the specific processing manner of generating the service contract of the target service according to the signed contract including the signature information includes not only the two types described above, but also multiple types, which may be specifically set according to actual situations, and this is not limited in the embodiment of this specification.
In step S108, a contract rule corresponding to the service contract is determined according to the service contract, a first intelligent contract corresponding to the service contract is generated based on the contract rule, and the first intelligent contract is deployed in the blockchain, where the contract rule includes a performance rule and/or a default rule.
The first intelligent contract may be any intelligent contract, wherein an intelligent contract may be a computer protocol intended to propagate, verify or execute contracts in an informational manner, the intelligent contract allowing trusted interactions without third parties, which may be tracked and irreversible, including agreements on which contract participants may execute rights and obligations agreed to by the contract participants. The intelligent contract may include a trigger condition for triggering execution of the intelligent contract, and a result corresponding to the trigger condition, the intelligent contract may include one or more trigger conditions, and each trigger condition may correspond to a result, for example, the trigger condition of a certain intelligent contract is: the date of fulfillment is 3 months and 10 days, and the corresponding result of the triggering condition is as follows: and sending a fulfillment reminding message to a certain contracting party at 10 o' clock of 3 months and 9 days. The fulfillment rules may be related rules related to the fulfillment of the contract, e.g., fulfillment rules may include rules for fulfillment reminders, rules related to fulfillment payments, etc. The default rule may be a relevant rule related to the contract violation, for example, the default rule may include a deduction rule for violating the late fund, and the default rule may be specifically set according to an actual situation.
In implementation, after the block link point obtains the service contract of the target service, the content of the service contract may be analyzed, and relevant information of performance may be extracted from the service contract, and a corresponding performance rule may be determined based on the relevant information of performance, and/or information related to default may be extracted from the service contract, and a corresponding default rule may be determined based on the information related to default, so that the contract rule of the service contract may be obtained based on the performance rule and the default rule. The block chain node may generate a corresponding intelligent contract (i.e., a first intelligent contract corresponding to the service contract) based on the contract rule of the service contract, and may deploy the first intelligent contract corresponding to the service contract into the block chain network in which the block chain node is located, so that the information of the contract rule and the corresponding first intelligent contract are stored in the block chain, and other organizations or persons cannot tamper with the information of the contract rule and the corresponding first intelligent contract, and the block chain node detects and processes the contract rule of the service contract through the first intelligent contract.
In step S110, when it is detected that the state of the business contract satisfies the contract rule based on the first intelligent contract, the contract rule is executed.
The status of the service contract may include various statuses, such as performance reminding, performance execution, default, litigation, and the like, which may be set according to actual situations, and this is not limited in the embodiments of the present specification.
In implementation, after the block node generates the first intelligent contract corresponding to the service contract, the first intelligent contract may be deployed into the block chain, and then the block node may invoke the first intelligent contract to detect the state of the service contract, specifically, the contract rules may include multiple types, each type of contract rule may correspond to the state of one type of service contract, for example, the state of the service contract is a performance prompt, the corresponding contract rule may be a performance prompt rule, for example, the state of the service contract is a default, and the corresponding contract rule may be a default rule, and the like. The first intelligent contract may record a plurality of different service contract states and information (such as a contract rule identifier) related to the contract rule corresponding to each state, and after the first intelligent contract is deployed in the block chain, the state of the service contract may be monitored in real time, which may be implemented in various ways, for example, the information related to the service contract may be obtained in real time from a signing party, so as to determine the state of the service contract, or even if the signing party updates the state of the service contract, the block link point may directly obtain the state of the service contract by executing the contract, and the like. Then, the monitored state of the service contract may be compared with the state information recorded in the first intelligent contract, and if the monitored state matches a certain state recorded in the first intelligent contract, a contract rule corresponding to the state may be triggered. For example, the status information recorded in the first intelligent contract includes performing execution and default, and if the status of the block link point monitored by the first intelligent contract is default, the first intelligent contract may trigger the default rule to execute.
The embodiment of the present specification provides a data processing method based on a blockchain, which is implemented by setting a processing mechanism of a contract in the blockchain, so as to generate a contract to be signed according to contract data provided by an initiator, further obtain a signed contract including signature information, and finally generate a business contract of the target business based on the signed contract including signature information, thereby simplifying a complicated processing process of a paper contract under a line, and meanwhile, generating and storing the business contract through the blockchain, thereby ensuring accuracy of the finally generated business contract and preventing falsification, and in addition, determining a contract rule corresponding to the business of the contract according to the business contract, generating a first intelligent contract rule corresponding to the business contract based on the contract rule, triggering execution of the corresponding contract rule (a performance rule and/or a default rule) through the first intelligent contract, thus, the contract processing process can be greatly simplified and the reliability is higher by triggering the performance and/or default processing based on the block chain.
Example two
As shown in fig. 2, an embodiment of the present disclosure provides a data processing method based on a blockchain, where an execution subject of the method may be a blockchain node, and the blockchain node may be a terminal device or a server, where the terminal device may be a mobile terminal device such as a mobile phone, a tablet computer, and the like, and may also be a device such as a personal computer. The server may be an independent server, a server cluster including a plurality of servers, or the like. The server may be a background server of a certain service (such as a transaction service), or may be a background server of an application (such as a shopping application provided by a certain brand). The system architecture related to the embodiments of the present specification may be as shown in fig. 3. The method may specifically comprise the steps of:
based on the related content in the first embodiment, the block chain may not need to preset a contract template corresponding to the target service, and optionally, the block chain may also preset a contract template corresponding to the target service, that is, before step S102 in the first embodiment, contract templates corresponding to different services may be constructed in advance, so that the initiator may quickly and conveniently obtain contract data to be signed. In practical application, the contract template may be constructed in advance in a plurality of different manners, for example, after the initiator self-compiles the contract template, the compiled contract template is uploaded to the blockchain to be stored, and the subsequent initiator may retrieve the contract template from the blockchain.
In step S202, a plurality of signed history contract data of the contract type corresponding to the target service is acquired.
The contract type may be a type to which the contract belongs, and the contract type may include multiple types, such as buying and selling, insurance, lending, hiring, and the like, and may be specifically set according to an actual situation, which is not limited in the embodiments of the present specification. The historical contract data may be data of an already-contracted contract or data of a contract used in a target service or the like, for example, data of a contract already contracted within 3 years from the present time.
In implementation, the plurality of signed historical contract data of the contract type corresponding to the target service can be acquired in a plurality of ways, for example, the historical contract data for the target service can be purchased from different organizations or individuals in a purchasing way; or, historical contract data for the target service may be acquired from different organizations or individuals in a convertible manner, specifically, one historical contract data may be converted into a movie ticket coupon, and the like; or, the historical contract data of the target service can be searched through a preset network search engine; or, historical contract data of the target service and the like may be crawled from the internet through a preset web crawler, which may be specifically set according to an actual situation, and this is not limited in the embodiments of the present specification.
In step S204, based on the plurality of historical contract data, a contract template corresponding to the target service is generated through a second intelligent contract preset in the block chain, and the service identifier of the target service is stored in correspondence with the identifier of the contract template corresponding to the target service.
Wherein the second intelligent contract may be an intelligent contract for generating a contract template. The content in the second intelligent contract can be set according to actual conditions. The service identifier may be a name or code of the target service, and the identifier of the contract template may also be a name or code of the contract template.
In an implementation, after obtaining the plurality of historical contract data, the block link point may invoke a second intelligent contract preset in the block chain, and the plurality of historical contract data may be analyzed through the second intelligent contract, so as to determine basic items and basic information that should be included in the contract of the target service, specifically, items included in more than 70% of the plurality of historical contract data may be used as the basic items, and information included in more than 80% of the plurality of historical contract data may be used as the basic information, for example. Then, a contract template corresponding to the target service can be generated based on the obtained basic item and basic information and the related information of the target service. In order to accurately find the contract template subsequently, the service identifier of the target service and the identifier of the contract template corresponding to the target service may be stored in the block chain correspondingly, and in practical application, the correspondence may be stored in a form of a table.
In addition, in order to reduce the complexity of subsequent processing, after a contract template of a target service is generated, an intelligent contract corresponding to the contract template may be generated, and the intelligent contract may be deployed in a block chain, where the intelligent contract may be referred to as a first intelligent contract, but the first intelligent contract at this time may include only a structural framework of the intelligent contract and does not include information related to specific service contract contents, such as only names of items of a first party, a second party, a contract valid period, a default, a performance, and the like, and does not include contents of the above items, and information related to performance corresponding to the service contract, information related to a signing party of the service contract, information related to the default corresponding to the service contract, and the like.
By the above method, contract templates of different businesses can be generated in the blockchain, so that the contract template and the service related to the corresponding business contract can be provided for the signing party subsequently, and the following contents can be specifically referred.
In step S206, a contract obtaining request of the target service sent by the sender is received, where the contract obtaining request includes a service identifier of the target service.
In implementation, a page for triggering contract template acquisition may be preset, a terminal device of an initiator may acquire a service identifier of a target service through a trigger mechanism preset in the page, and may generate a contract acquisition request of the target service based on the service identifier, and may send the contract acquisition request of the target service to a blockchain node, where the blockchain node may receive the contract acquisition request of the target service sent by a sender.
In step S208, according to the service identifier of the target service, an identifier of the contract template corresponding to the service identifier of the target service is obtained.
In implementation, based on the above content, the block chain stores the corresponding relationship between the service identifier and the identifier of the contract template, the service identifier of the target service may be searched from the corresponding relationship, and if the service identifier of the target service is searched, the identifier of the corresponding contract template may be determined according to the corresponding relationship.
In step S210, the contract template corresponding to the obtained identifier of the contract template is sent to the initiator, so that the initiator can obtain the contract data required to be signed based on the contract template.
In implementation, after receiving the contract template, the initiator may display the contract template to the signer, and the signer may fill corresponding information in the contract template to obtain the contract data to be signed after the completion of the filling.
Optionally, after generating the contract template corresponding to the target service in the blockchain through the processing procedure, for the target service, in order to adapt to the current latest user requirement, the initiator may also actively modify the contract template in the blockchain, which may specifically be implemented in the following manner: receiving a modification request of a contract template corresponding to a target service sent by an initiator, wherein the modification request comprises modification information of the contract template; and modifying the contract template according to the modification information of the contract template to obtain the modified contract template.
The modification information of the contract template may include information for modifying clause information existing in the contract template, or information for adding some clauses to the contract template.
Optionally, the contract corresponding to the target service may be a negotiable contract, and the negotiable contract may be a contract in which two parties signing the contract need to negotiate specific contents in the contract with each other, based on which, after generating a contract template corresponding to the target service in the blockchain through the processing procedure and sending the contract template to the initiator requesting the contract template, the blockchain node may also perform a verification on related data in the contract negotiation procedure, and the corresponding processing may include: acquiring first negotiation data which is uploaded to a block chain by an initiator and generated in a contract negotiation process aiming at a target service, and storing the first negotiation data to the block chain; and/or acquiring second negotiation data which is uploaded to the block chain by the initiator and generated in a contract negotiation process aiming at the target service, and storing the second negotiation data to the block chain. Wherein the first negotiation data may comprise one or more of: the second negotiation data may include one or more of data corresponding to an initial contract generated based on the contract template, data corresponding to an intermediate contract generated based on the initiator modifying the initial contract, and data corresponding to a final contract generated based on the signing party determining: the modification data returned by the signing party to the initial contract and/or the intermediate contract received by the initiator and the contract confirmation information sent by the signing party received by the initiator.
Specifically, after receiving the contract template provided by the blockchain node, the initiator may fill in corresponding information based on items in the contract template, for example, the contract template is a contract template for a certain insurance item, the contract template may include items such as a party providing insurance service, an insurer, and the like, and related clause content of the insurance item, and the initiator may fill in information of the items, and may improve related clause content of the insurance item, and the like. Then, the initiator may generate an initial contract based on the contract template and the filled-in corresponding information, upload data corresponding to the initial contract to the blockchain, and store the data corresponding to the initial contract in the blockchain by the blockchain node.
The initiator may provide the initial contract to the signing party, the signing party may view the content of the initial contract, if the signing party disagrees with some content in the initial contract, the signing party may make modification opinions on the content in the initial contract, and may send corresponding modification data to the initiator, the initiator may upload the received modification data returned by the signing party for the initial contract to the block chain, and the block chain node may store the modification data in the block chain.
The initiator may modify the related content in the initial contract according to the modification data provided by the signer, so as to generate a first intermediate contract, the initiator may upload data corresponding to the first intermediate contract to the block chain, and the block chain node may store the data corresponding to the intermediate contract in the block chain. The initiator may send the first intermediate contract to the signer, the signer may check the content of the intermediate contract, if the signer still disagrees with some content in the intermediate contract, the signer may propose modification opinions again for the content in the intermediate contract, and may send corresponding modification data to the initiator, the initiator may upload the received modification data returned by the signer for the intermediate contract to the block chain, and the block chain node may store the modification data in the block chain. The initiator may modify the intermediate contract again based on the returned modification data to obtain a second intermediate contract, and then repeat the above processing procedure, and may obtain a plurality of intermediate contracts through a plurality of modifications to the contracts, and the initiator may upload data corresponding to the plurality of intermediate contracts to the block chain, and the block chain link point may store the data in the block chain.
After the contract negotiation process for the target service is performed, the signing party may not disagree with the content of the modified contract provided by the initiating party to the signing party, at this time, the initiating party and the signing party agree with the contract content of the target service, the signing party may send contract confirmation information to the initiating party to indicate that the signing party does not disagree with the content of the modified contract, the initiating party may upload the received contract confirmation information sent by the signing party to the block chain, and the block chain link point may store the block chain in the block chain. In addition, the initiator may upload data corresponding to a final contract generated from the data of the contract confirmed by the signer to the block chain, and the block chain link point may store the data in the block chain.
It should be noted that, for the above-mentioned contract template, the contract template may include fixed clause information, and include selectable clause information and/or information-to-be-appended area, where the fixed clause information may be information that cannot be changed in the contract template, the selectable clause information may be clause information that is provided in advance and can be selected by the initiator or the signer according to actual needs, the information-to-be-appended area may be an area where some additional information needs to be added by the initiator or the signer, and the initiator or the signer may add related information such as additional clauses in the information-to-be-appended area. Based on the above, after receiving the contract template provided by the blockchain node, the initiator may fill in corresponding information based on the items in the contract template, and may select the required optional clause information, and may add additional clauses in the area to be added with information, thereby generating the initial contract.
After the processing is completed, the block link node may execute the processing of steps S102 to S104 in the first embodiment, that is, receive a contract signing request of the target service sent by the initiator, where the contract signing request includes contract data to be signed; and generating a contract to be signed of the target service according to the contract data.
As for the processing of step S106 in the first embodiment, in practical applications, various realizable manners may be included, and an optional manner is provided below, as shown in fig. 4, the optional manner may specifically include the following processing of step S402 to step S408.
In step S402, the contract to be signed is sent to the initiator, and the signed contract including the signature information sent by the initiator is received.
After the block link node receives the signed contract including the signature information sent by the initiator, in order to ensure the authenticity of the signed contract, the block link node may further send a contract signing certificate to the signer of the signature information, which may be specifically referred to the following processing of step S404 and step S406.
In step S404, an authentication request for signing the service contract is sent to the signer corresponding to the signature information according to the communication information corresponding to the signature information.
In implementation, before signing the contract, the signing party of the contract may register in the blockchain, and through the registration, the identity information (such as name, gender, identification number, etc.) of the signing party, the communication information (such as mobile phone number, email address, account of instant messaging application, etc.) of the signing party, and create a corresponding account for the signing party, etc. may be obtained. In addition, the signing party of the contract can also perform the registration processing in the service system of the target service, and then the service system can upload the registration information corresponding to the registration processing to the block chain.
After the block link node receives the signed contract which is sent by the initiator and comprises the signature information, the block link node can acquire the communication information (comprising a mobile phone number, an email address, an account of instant messaging application and the like) matched with the signature information from the registration information, and can request the signer to confirm whether the signer has the intention of signing the service contract of the target service by sending a service contract signing request to the signer corresponding to the signature information through the acquired communication information.
In step S406, if the notification message that the signing of the service contract is authenticated and sent by the signing party is received within the predetermined time, the digital signature information of the signing party corresponding to the signature information is acquired according to the signature information.
The predetermined time period may be any time period, for example, 5 minutes or 10 minutes, and may be set specifically according to an actual situation, which is not limited in this embodiment of the specification. The digital signature information may also be referred to as electronic signature information, and the digital signature information may be generated by a preset algorithm through related information of a signer, where the related information of the signer may include one or more of identity information (such as an identity card number, a name, and the like) of the signer, signature information, and registration information (such as a registered account number and the like) of the signer.
In an implementation, the digital signature information of the signer corresponding to the signature information may be acquired in various ways according to the signature information, for example, the identity information of the signer matching with the signature information, the account registered by the signer, and the like may be acquired according to the signature information, and the digital signature information of the signer corresponding to the signature information may be generated based on the acquired information and the signature information. Or, the block chain node may generate the digital signature information of the registered user by using a corresponding algorithm according to the identity information of the registered user, the registered account number, and other information, and after the block chain node acquires the signature information, the block chain node may acquire the identifier of the corresponding signing party based on the signature information, and may further search the corresponding digital signature information through the identifier of the signing party. The foregoing is only that the embodiment of the present specification provides two optional processing manners, and in practical applications, other various implementation manners may also be included, which may be specifically set according to practical situations, and the embodiment of the present specification does not limit this.
In step S408, a service contract of the target service is generated based on the signed contract including the signature information and the digital signature information of the signing party.
It should be noted that the contract to be signed is a contract that does not include signature information, the contract to be signed may be a contract whose content is not yet complete, the signed contract that includes signature information may be a signed contract that includes original signature information of the signing party, the signed contract that includes signature information may be a contract original whose content is complete, and the service contract may be a final contract that is generated based on the contract original whose content is complete and that can be stored in the block chain.
After the service contract of the target service is generated through the processing procedure, the block link node may continue to perform the processing of step S108 in the first embodiment, that is, determine a contract rule corresponding to the service contract according to the service contract, generate a first intelligent contract corresponding to the service contract based on the contract rule, and deploy the first intelligent contract in the block link, where the contract rule includes a performance rule and/or a default rule.
In the implementation, only the first intelligent contract including the structural framework of the intelligent contract is generated based on the processing of the step S206, but the first intelligent contract at this time is not complete, and a complete contract of the target service, i.e., a service contract, is generated through the processing of the steps S202 to S210, S102 to S104, and S402 to S/408, and the complete first intelligent contract can be generated based on the complete service contract. Specifically, the business contract usually includes performance terms and/or default terms, and the block link points may determine performance rules and/or default rules corresponding to the business contract through analysis of the performance terms and/or default terms, and may determine contract rules corresponding to the business contract based on the obtained performance rules and/or default rules. The content of the generated first intelligent contract including the structural framework of the intelligent contract may be filled and refined based on the obtained contract rule and the related data included in the business contract, for example, the content of items such as the first party, the second party, the contract validity period, the default bond, the performance bond and the like included in the first intelligent contract may be filled based on the obtained contract rule and the related data included in the business contract, and a complete (or final) first intelligent contract corresponding to the final business contract may be generated.
It should be noted that the first intelligent contract and the second intelligent contract may be two different intelligent contracts, or may be preset in a total intelligent contract, that is, for the processing performed by using the two intelligent contracts, both the processing may be performed by using the total intelligent contract, and the setting may be specifically performed according to the actual situation.
Optionally, in order to improve the efficiency of subsequently executing the contract rule, the status of the service contract may be updated periodically or in real time, and an optional processing manner is provided below, as shown in fig. 5, and the optional processing manner may specifically include the following processing of steps S502 to S504.
In step S502, behavior data of the signing party of the service contract with respect to the service contract is acquired.
The behavior data of the signing party for the service contract may include various types, for example, data of the signing party initiating a resource transfer behavior (such as a payment behavior) to another signing party for the service contract, or behavior data of the signing party initiating a violation warning to another signing party for the service contract, and the like.
In the implementation, the behavior data of the signing party of the service contract for the service contract may be obtained in various ways, for example, the behavior data of the signing party for the service contract may be periodically pulled to each signing party through a preset period, or the behavior data of the signing party for the service contract may be uploaded by each or a part of the signing direction block chain when the status information of the service contract changes, and the like, and may be specifically set according to the actual situation.
In step S504, the status of the service contract is updated based on the first intelligent contract in the block chain according to the behavior data of the signing party for the service contract.
It should be noted that the state of the service contract may be updated based on the first intelligent contract in the block chain, in practical application, a new intelligent contract may also be generated in advance, and the state of the service contract may be updated based on the newly generated intelligent contract, which may be specifically set according to an actual situation.
After updating the status of the service contract through the above processing procedure, the block link node may continue to perform the processing of step S110 in the first embodiment, that is, execute the contract rule when it is detected that the status of the service contract satisfies the contract rule based on the first intelligent contract.
The processing of step S110 may be various, and two possible cases may be provided below for explanation, and the processing of step S110 may further include the following case one and case two.
The first condition is as follows: and if the state of the service contract is detected to be the performance reminding based on the first intelligent contract, sending a preset performance reminding message to a performing party corresponding to the service contract.
The fulfillment prompt may be a prompt that needs to be sent to the fulfillment party before reaching the relevant rules in the service contract, and may be initiated by a pre-specified application program or initiated by communication information (such as a mobile phone number or an email address) during registration. The fulfillment prompting message may include related information of the service contract of the target service, deadline information of fulfillment, and the like.
In practice, for example, the signing party a and the signing party B sign a service contract corresponding to a certain insurance service, the performance rule in the service contract is that the signing party a pays 50 yuan to the signing party B at 15 days of each natural month, the corresponding performance reminder may be at 0 o 'clock of 15 days of each natural month, and when the service contract is detected to be the performance reminder based on the first intelligent contract, a preset performance reminder message (which may include paying 50 yuan to the signing party B at 24 o' clock before 15 days, etc.) may be sent to the performing party corresponding to the service contract.
Case two: and if the updated state information in the information of the state of the service contract is detected to be the performing execution information comprising the preset resource account information of the performing party based on the first intelligent contract, triggering and transferring the occupation right of the performing resource corresponding to the service contract in the preset resource account of the performing party to the performed party corresponding to the service contract based on the first intelligent contract.
The preset resource account information may be information of a payment account, such as a name of the payment account and corresponding identity information, or information of an account of a coupon or a credit, and the corresponding fulfillment resource may include one or more of money, the coupon, and the credit.
In addition, in order to encourage more signing parties to actively fulfill the fulfillment rules in the service contract, the signing parties performing the fulfillment in time may also be awarded a guard, which may specifically include the following: and transferring the resource corresponding to the conservation processing rule to the performing party based on the first intelligent contract according to a preset conservation processing rule, and sending a notification message of the resource transfer to the performing party.
Wherein, the above mentioned resources may also comprise one or more items of currency, coupons, points, etc.
In addition, in order to verify the performance, after the processing is completed, the following processing may be executed: and recording related information for transferring the occupation right of the performing resource in the preset resource account of the performing party to the performed party.
The recorded related information may include information of a preset resource account of the performing party, information of the performing resource, related information of the performing party (such as information of a resource account of the performing party), time for transferring the performing resource, and the like.
Optionally, the block link point may not only perform the generation of the contract template, the performing process and the default process of the service contract, but also provide related services for other platforms or systems, as shown in fig. 3, the block link may also provide evidence related to service contract disputes for judicial organizations and the like, and refer to fig. 6 and the following processes of step S602 and step S604.
In step S602, a status query request of the service contract sent by the application side is received.
The application party may be a party using the information related to the service contract in the blockchain, and specifically may be a judicial institution or other organization or individual.
In implementation, if a signing party seriously violates contract rules related to a business contract (i.e. a signing party seriously violates a contract rule), another signing party may initiate a smart mediation, arbitration or lawsuit request or the like to a judicial organization according to actual conditions, at this time, the judicial organization may send a status query request of the business contract to a blockchain, wherein the status query request of the business contract may include a business identifier of a target business, an identifier of the business contract, or the like.
In step S604, based on the first intelligent contract in the blockchain, current state information of the service contract and execution condition information of the contract rule are obtained, and the obtained current state information and execution condition information of the contract rule are sent to the application party.
The execution situation information of the contract rule may include the execution time of the fulfillment rule, the related content or data in the execution process, the execution time of the default rule, the related content or data in the execution process, the number of execution times of the fulfillment rule, the number of execution times of the default rule, and the like.
In implementation, the application side receives the current state information and the execution condition information of the contract rule, may verify the obtained information, specifically, may obtain a check value (e.g., a hash value) of the information from the blockchain, and then compare the obtained check value with a check value corresponding to the obtained information to verify the obtained information. After verification is passed, the request initiated by the signer may be responded to based on the acquired information.
The embodiment of the present specification provides a data processing method based on a blockchain, which sets a contract processing mechanism in the blockchain, and further generates a contract template of a target service based on historical contract data and a corresponding intelligent contract in advance, so as to generate a contract to be signed according to the contract data provided by an initiator, and further obtain a signed contract including signature information, and finally generate a service contract of the target service based on the signed contract including signature information, thereby simplifying the complicated processing process of offline paper contracts, and at the same time, generating and storing service contracts through the blockchain, which can ensure the accuracy of the finally generated service contract, prevent falsification, in addition, determining a contract rule corresponding to the service contract according to the service contract, and generating a first intelligent contract corresponding to the service contract based on the contract rule, the first intelligent contract triggers the corresponding contract rules (performance rules and/or default rules) to execute, so that the performance and/or default treatment is triggered based on the block chain, the contract treatment process can be greatly simplified, and the reliability is higher.
EXAMPLE III
The embodiment of the present specification provides a data processing method based on a block chain, where an execution main body of the method may be a block chain node, and the block chain node may be a terminal device or a server, where the terminal device may be a mobile terminal device such as a mobile phone, a tablet computer, and the like, and may also be a device such as a personal computer and the like. The server may be an independent server, a server cluster including a plurality of servers, or the like. The server may be a background server of a certain service (such as a transaction service), or may be a background server of an application (such as a shopping application provided by a certain brand). The method may specifically comprise the steps of:
optionally, before step S102 in the first embodiment, contract templates corresponding to different services may be constructed in advance, so that the initiator may quickly and conveniently obtain contract data to be signed. In practical applications, the contract template may be constructed in advance in a plurality of different ways, and an optional contract template construction way is provided below, as shown in fig. 7, which may specifically refer to the processing of steps S702 to S704 below.
In step S702, a contract template generation request of the target service sent by the sender is received, where the contract template generation request includes information required by the sender to treat the generated contract template.
The demand information may include various information, such as information related to the target service, information related to the contract type (e.g., labor-type contract, sales-type contract, loan-type contract, etc.), information that needs to be particularly emphasized or noticed, and the like.
In implementation, a page generated by the contract template may be preset, the page may include an input frame of the requirement information of the contract template to be generated, the initiator may pass through the page, and then the requirement information of the sender is input in the input frame of the requirement information of the contract template to be generated, after the input is completed, the terminal device of the initiator may generate a contract template generation request of the target service based on the input requirement information, and may send the contract template generation request of the target service to the blockchain node.
In step S704, according to the requirement information, a contract template corresponding to the target service is generated through a third intelligent contract preset in the block chain, and the generated contract template is sent to the initiator, so that the initiator obtains contract data to be signed based on the contract template.
The third intelligent contract may be an intelligent contract that generates a corresponding contract template based on the demand information, and the content or the processing mechanism in the third intelligent contract may be set according to the actual situation.
Through the mode, the initiator only needs to provide the demand information, and the block chain nodes can directly generate the corresponding contract template in real time based on the demand information, so that the generation efficiency of the contract template is improved, and the generated contract template can better meet the actual demand of the initiator.
Optionally, after generating the contract template corresponding to the target service in the blockchain through the processing procedure, the initiator may also actively modify the contract template in the blockchain, which may specifically be implemented by the following method: receiving a modification request of a contract template corresponding to a target service sent by an initiator, wherein the modification request comprises modification information of the contract template; and modifying the contract template according to the modification information of the contract template to obtain the modified contract template.
Optionally, the contract corresponding to the target service may be a negotiable contract, based on which, after generating a contract template corresponding to the target service in the blockchain through the processing procedure and sending the contract template to the initiator requesting the contract template, the blockchain node may also store the relevant data in the contract negotiation procedure, and the corresponding processing may include: acquiring first negotiation data which is uploaded to a block chain by an initiator and generated in a contract negotiation process aiming at a target service, and storing the first negotiation data to the block chain; and/or acquiring second negotiation data which is uploaded to the block chain by the initiator and generated in a contract negotiation process aiming at the target service, and storing the second negotiation data to the block chain. Wherein the first negotiation data may comprise one or more of: the second negotiation data may include one or more of data corresponding to an initial contract generated based on the contract template, data corresponding to an intermediate contract generated based on the initiator modifying the initial contract, and data corresponding to a final contract generated based on the signing party determining: the modification data returned by the signing party to the initial contract and/or the intermediate contract received by the initiator and the contract confirmation information sent by the signing party received by the initiator.
It should be noted that, for the above-mentioned contract template, the contract template may include fixed clause information, and include selectable clause information and/or an information area to be appended.
The specific processing manner of the optional processing may refer to relevant contents in the above embodiments, and is not described herein again.
After the above processing, the block link point may perform the processing of steps S102 to S104 in the first embodiment as follows:
in step S102, a contract signing request of the target service sent by the initiator is received, where the contract signing request includes contract data to be signed.
In step S104, a contract to be signed of the target service is generated based on the contract data.
For the processing of step S106 in the first embodiment, in practical application, various realizable manners may be included, and in this embodiment, the processing is realized by steps S402 to S408 in the second embodiment as follows:
in step S402, the contract to be signed is sent to the initiator, and the signed contract including the signature information sent by the initiator is received.
After the block link node receives the signed contract including the signature information sent by the initiator, in order to ensure the authenticity of the signed contract, the block link node may further send a contract signing certificate to the signer of the signature information, which may be specifically referred to the following processing of step S404 and step S406.
In step S404, an authentication request for signing the service contract is sent to the signer corresponding to the signature information according to the communication information corresponding to the signature information.
In step S406, if the notification message that the signing of the service contract is authenticated and sent by the signing party is received within the predetermined time, the digital signature information of the signing party corresponding to the signature information is acquired according to the signature information.
In step S408, a service contract of the target service is generated based on the signed contract including the signature information and the digital signature information of the signing party.
It should be noted that the contract to be signed is a contract that does not include signature information, the contract to be signed may be a contract whose content is not yet complete, the signed contract that includes signature information may be a signed contract that includes original signature information of the signing party, the signed contract that includes signature information may be a contract original whose content is complete, and the service contract may be a final contract that is generated based on the contract original whose content is complete and that can be stored in the block chain.
After the service contract of the target service is generated through the above processing procedure, the block link node may continue to execute the processing of step S108 in the first embodiment, as follows:
in step S108, a contract rule corresponding to the service contract is determined according to the service contract, a first intelligent contract corresponding to the service contract is generated based on the contract rule, and the first intelligent contract is deployed in the blockchain, where the contract rule includes a performance rule and/or a default rule.
It should be noted that the first intelligent contract and the third intelligent contract may be two different intelligent contracts, or may be preset in a total intelligent contract, that is, for the processing performed by using the two intelligent contracts, both the processing may be performed by using the total intelligent contract, and the setting may be specifically performed according to the actual situation.
Optionally, in order to improve the efficiency of subsequently executing the contract rule, the state of the service contract may be updated periodically or in real time, which is implemented by steps S502 to S504 in the second embodiment described above, as follows:
in step S502, behavior data of the signing party of the service contract with respect to the service contract is acquired.
In step S504, the status of the service contract is updated based on the first intelligent contract in the block chain according to the behavior data of the signing party for the service contract.
After updating the status of the service contract through the above processing procedure, the block link node may continue to perform the processing of step S110 in the first embodiment, that is, execute the contract rule when it is detected that the status of the service contract satisfies the contract rule based on the first intelligent contract.
The processing of step S101 may be various, and two possible cases may be provided below for explanation, and the processing of step S101 may further include the following case one and case two.
The first condition is as follows: and if the state of the service contract is detected to be the performance reminding based on the first intelligent contract, sending a preset performance reminding message to a performing party corresponding to the service contract.
Case two: and if the updated state information in the information of the state of the service contract is detected to be the performing execution information comprising the preset resource account information of the performing party based on the first intelligent contract, triggering and transferring the occupation right of the performing resource corresponding to the service contract in the preset resource account of the performing party to the performed party corresponding to the service contract based on the first intelligent contract.
In addition, in order to encourage more signing parties to actively fulfill the fulfillment rules in the service contract, the signing parties performing the fulfillment in time may also be awarded a guard, which may specifically include the following: and transferring the resource corresponding to the conservation processing rule to the performing party based on the first intelligent contract according to a preset conservation processing rule, and sending a notification message of the resource transfer to the performing party.
In addition, in order to verify the performance, after the processing is completed, the following processing may be executed: and recording related information for transferring the occupation right of the performing resource in the preset resource account of the performing party to the performed party.
Optionally, the block link point may not only perform the generation of the contract template, the performance processing and the default processing of the service contract, but also provide related services for other platforms or systems, such as the above block link may also provide evidence related to disputes of the service contract for judicial organizations, and this embodiment is implemented by step S602 and step S604 in the above second embodiment, as follows:
in step S602, a status query request of the service contract sent by the application side is received.
In step S604, based on the first intelligent contract in the blockchain, current state information of the service contract and execution condition information of the contract rule are obtained, and the obtained current state information and execution condition information of the contract rule are sent to the application party.
The embodiment of the present specification provides a data processing method based on a blockchain, which sets a processing mechanism of a contract in the blockchain, and further generates a contract template of a target service based on demand information of the contract template to be generated provided by an initiator and a corresponding intelligent contract, so as to generate a contract to be signed according to the contract data provided by the initiator, and further obtain a signed contract including signature information, and finally generate a service contract of the target service based on the signed contract including signature information, thereby simplifying a complicated processing process of a offline paper contract, and simultaneously generating and storing a contract service through the blockchain, which can ensure accuracy of the finally generated service contract, prevent falsification, and in addition, determine a contract rule corresponding to the service contract according to the service contract, and generate a first intelligent contract corresponding to the service contract based on the contract rule, the first intelligent contract triggers the corresponding contract rules (performance rules and/or default rules) to execute, so that the performance and/or default treatment is triggered based on the block chain, the contract treatment process can be greatly simplified, and the reliability is higher.
Example four
The embodiment of the present specification provides a data processing method based on a block chain, where an execution main body of the method may be a block chain node, and the block chain node may be a terminal device or a server, where the terminal device may be a mobile terminal device such as a mobile phone, a tablet computer, and the like, and may also be a device such as a personal computer and the like. The server may be an independent server, a server cluster including a plurality of servers, or the like. The server may be a background server of a certain service (such as a transaction service), or may be a background server of an application (such as a shopping application provided by a certain brand). The method may specifically comprise the steps of:
optionally, before step S102 in the first embodiment, contract templates corresponding to different services may be constructed in advance, so that the initiator may quickly and conveniently obtain contract data to be signed. In practical applications, the contract template may be constructed in advance in a plurality of different ways, and an optional contract template construction way is provided below, as shown in fig. 8, which may specifically refer to the processing of steps S802 to S806 below.
In step S802, a contract obtaining request of the target service sent by the sender is received, where the contract obtaining request includes a service identifier of the target service.
In step S804, according to the service identifier of the target service, a fourth intelligent contract corresponding to the service identifier of the target service is obtained from the block chain.
The fourth intelligent contract may be an intelligent contract used for generating a contract template corresponding to the target service, and a mechanism for generating the contract template corresponding to the corresponding service may be preset in the fourth intelligent contract.
In step S806, a contract template corresponding to the target service is generated according to the fourth intelligent contract, and the contract template corresponding to the target service is sent to the initiator, so that the initiator obtains contract data to be signed based on the contract template.
In implementation, the block chain node may directly invoke the fourth intelligent contract, and may directly generate a contract template corresponding to the target service through a processing mechanism set in the fourth intelligent contract, thereby further simplifying the block chain node processing logic.
Optionally, after the contract template corresponding to the target service is generated in the block chain through the processing procedure, the initiator may also actively modify the contract template in the block chain, which may specifically refer to the relevant content in the above embodiment, and details are not described here.
Optionally, the contract corresponding to the target service may be a negotiable contract, based on which, after the contract template corresponding to the target service is generated in the blockchain through the processing procedure and is sent to the initiator that requests the contract template, the blockchain link node may also store the relevant data in the contract negotiation procedure, which may specifically refer to the relevant content in the above embodiment, and is not described here again.
It should be noted that, for the above-mentioned contract template, the contract template may include fixed clause information, and include selectable clause information and/or an information area to be appended.
After the above processing, the block link point may perform the processing of steps S102 to S104 in the first embodiment as follows:
in step S102, a contract signing request of the target service sent by the initiator is received, where the contract signing request includes contract data to be signed.
In step S104, a contract to be signed of the target service is generated based on the contract data.
For the processing of step S106 in the first embodiment, in practical application, various realizable manners may be included, and in this embodiment, the processing is realized by steps S402 to S408 in the second embodiment as follows:
in step S402, the contract to be signed is sent to the initiator, and the signed contract including the signature information sent by the initiator is received.
After the block link node receives the signed contract including the signature information sent by the initiator, in order to ensure the authenticity of the signed contract, the block link node may further send a contract signing certificate to the signer of the signature information, which may be specifically referred to the following processing of step S404 and step S406.
In step S404, an authentication request for signing the service contract is sent to the signer corresponding to the signature information according to the communication information corresponding to the signature information.
In step S406, if the notification message that the signing of the service contract is authenticated and sent by the signing party is received within the predetermined time, the digital signature information of the signing party corresponding to the signature information is acquired according to the signature information.
In step S408, a service contract of the target service is generated based on the signed contract including the signature information and the digital signature information of the signing party.
It should be noted that the contract to be signed is a contract that does not include signature information, the contract to be signed may be a contract whose content is not yet complete, the signed contract that includes signature information may be a signed contract that includes original signature information of the signing party, the signed contract that includes signature information may be a contract original whose content is complete, and the service contract may be a final contract that is generated based on the contract original whose content is complete and that can be stored in the block chain.
After the service contract of the target service is generated through the above processing procedure, the block link node may continue to execute the processing of step S108 in the first embodiment, as follows:
in step S108, a contract rule corresponding to the service contract is determined according to the service contract, a first intelligent contract corresponding to the service contract is generated based on the contract rule, and the first intelligent contract is deployed in the blockchain, where the contract rule includes a performance rule and/or a default rule.
It should be noted that the first intelligent contract and the fourth intelligent contract may be two different intelligent contracts, or may be preset in a total intelligent contract, that is, for the processing performed by using the two intelligent contracts, both the processing may be performed by using the total intelligent contract, and the setting may be specifically performed according to the actual situation.
Optionally, in order to improve the efficiency of subsequently executing the contract rule, the state of the service contract may be updated periodically or in real time, which is implemented by steps S502 to S504 in the second embodiment described above, as follows:
in step S502, data related to the service contract by the signing party of the service contract is acquired.
In step S504, the status information of the service contract is updated based on the first intelligent contract in the block chain according to the relevant data of the signing party for the service contract.
It should be noted that the state of the service contract may be updated based on the first intelligent contract in the block chain, in practical application, a new intelligent contract may also be generated in advance, and the state of the service contract may be updated based on the newly generated intelligent contract, which may be specifically set according to an actual situation.
After updating the status of the service contract through the above processing procedure, the block link node may continue to perform the processing of step S110 in the first embodiment, that is, execute the contract rule when it is detected that the status of the service contract satisfies the contract rule based on the first intelligent contract.
The processing of step S101 may be various, and two possible cases may be provided below for explanation, and the processing of step S101 may further include the following case one and case two.
The first condition is as follows: and if the state of the service contract is detected to be the performance reminding based on the first intelligent contract, sending a preset performance reminding message to a performing party corresponding to the service contract.
Case two: and if the updated state information in the information of the state of the service contract is detected to be the performing execution information comprising the preset resource account information of the performing party based on the first intelligent contract, triggering and transferring the occupation right of the performing resource corresponding to the service contract in the preset resource account of the performing party to the performed party corresponding to the service contract based on the first intelligent contract.
In addition, in order to encourage more signing parties to actively fulfill the fulfillment rules in the service contract, the signing parties performing the fulfillment in time may also be awarded a guard, which may specifically include the following: and transferring the resource corresponding to the conservation processing rule to the performing party based on the first intelligent contract according to a preset conservation processing rule, and sending a notification message of the resource transfer to the performing party.
In addition, in order to verify the performance, after the processing is completed, the following processing may be executed: and recording related information for transferring the occupation right of the performing resource in the preset resource account of the performing party to the performed party.
Optionally, the block link point may not only perform the generation of the contract template, the performance processing and the default processing of the service contract, but also provide related services for other platforms or systems, such as the above block link may also provide evidence related to disputes of the service contract for judicial organizations, and this embodiment is implemented by step S602 and step S604 in the above second embodiment, as follows:
in step S602, a status query request of the service contract sent by the application side is received.
In step S604, based on the first intelligent contract in the blockchain, current state information of the service contract and execution condition information of the contract rule are obtained, and the obtained current state information and execution condition information of the contract rule are sent to the application party.
The embodiment of the present specification provides a data processing method based on a blockchain, in which a contract processing mechanism is set in the blockchain, and a contract template of a target service is directly generated based on an intelligent contract of the target service that is preset to be generated, so that a contract to be signed is generated according to contract data provided by an initiator, and a signed contract including signature information is obtained, and a service contract of the target service is finally generated based on the signed contract including signature information, thereby simplifying a complicated processing process of an offline paper contract, and meanwhile, generating and storing a service contract through the blockchain can ensure accuracy of the finally generated contract service, and prevent the service contract from being tampered Thus, the contract processing process can be greatly simplified and the reliability is higher by triggering the performance and/or default processing based on the block chain.
EXAMPLE five
Based on the same idea, the block chain-based data processing method provided in the embodiment of the present specification further provides a block chain-based data processing apparatus, as shown in fig. 9.
The block chain-based data processing apparatus includes: a contract request module 901, a contract processing module 902, a service contract generation module 903, an intelligent contract deployment module 904 and a contract rule execution module 905, wherein:
a contract request module 901, configured to receive a contract signing request of a target service sent by an initiator, where the contract signing request includes contract data to be signed;
a contract processing module 902, configured to generate a contract to be signed of the target service according to the contract data;
the service contract generating module 903 is configured to send the contract to be signed to the initiator, receive the signed contract sent by the initiator and including the signature information, and generate the service contract of the target service according to the signed contract including the signature information;
an intelligent contract deployment module 904, which determines contract rules corresponding to the service contract according to the service contract, generates a first intelligent contract corresponding to the service contract based on the contract rules, and deploys the first intelligent contract in a block chain, where the contract rules include performance rules and/or default rules;
a contract rule execution module 905 that executes the contract rule when it is detected that the state of the business contract satisfies the contract rule based on the first intelligent contract.
In an embodiment of this specification, the apparatus further includes:
the template request module is used for receiving a contract acquisition request of the target service sent by the sender, wherein the contract acquisition request comprises a service identifier of the target service;
the identification acquisition module is used for acquiring the identification of the contract template corresponding to the service identification of the target service according to the service identification of the target service;
and the template sending module is used for sending the contract template corresponding to the acquired identification of the contract template to the initiator so that the initiator can acquire the contract data required to be signed based on the contract template.
In an embodiment of this specification, the apparatus further includes:
the historical data acquisition module is used for acquiring a plurality of signed historical contract data of the contract type corresponding to the target service;
and the first contract template generation module is used for generating a contract template corresponding to the target service through a second intelligent contract preset in the block chain based on the plurality of historical contract data, and correspondingly storing the service identifier of the target service and the identifier of the contract template corresponding to the target service.
In an embodiment of this specification, the apparatus further includes:
the template generation request module is used for receiving a contract template generation request of the target service sent by the sender, wherein the contract template generation request comprises the information required by the sender for the contract template to be generated;
and the second contract template generation module is used for generating a contract template corresponding to the target service through a third intelligent contract preset in the block chain according to the demand information, and sending the generated contract template to the initiator so that the initiator acquires the contract data required to be signed based on the contract template.
In an embodiment of this specification, the apparatus further includes:
the contract request module is used for receiving a contract acquisition request of the target service sent by the sender, wherein the contract acquisition request comprises a service identifier of the target service;
the intelligent contract acquisition module is used for acquiring a fourth intelligent contract corresponding to the service identifier of the target service from the block chain according to the service identifier of the target service;
and the third contract template generation module is used for generating a contract template corresponding to the target service according to the fourth intelligent contract and sending the contract template corresponding to the target service to the initiator so that the initiator acquires the contract data required to be signed based on the contract template.
In this embodiment of the present specification, the contract corresponding to the target service is a negotiable contract, and the apparatus further includes:
a negotiation data obtaining module, configured to obtain first negotiation data, which is uploaded to the block chain by the initiator and generated in a contract negotiation process for the target service, and store the first negotiation data in the block chain, where the first negotiation data includes one or more of the following: data corresponding to an initial contract generated based on the contract template, data corresponding to an intermediate contract generated based on the initiator modifying the initial contract, and data corresponding to a final contract generated based on the signature party determining;
and/or the presence of a gas in the gas,
acquiring second negotiation data which is uploaded to the block chain by the initiator and generated in a contract negotiation process aiming at the target service, and storing the second negotiation data to the block chain, wherein the second negotiation data comprises one or more of the following items: the modification data returned by the signing party for the initial contract and/or the intermediate contract received by the initiator, and the contract confirmation information sent by the signing party received by the initiator.
In an embodiment of this specification, the apparatus further includes:
a modification request receiving module, configured to receive a modification request of a contract template corresponding to the target service, where the modification request includes modification information of the contract template;
and the template modification module is used for modifying the contract template according to the modification information of the contract template to obtain the modified contract template.
In the embodiment of the present specification, the contract template includes fixed clause information, and includes selectable clause information and/or an information area to be appended.
In an embodiment of this specification, the apparatus further includes:
the behavior data acquisition module is used for acquiring the behavior data of the signing party of the service contract aiming at the service contract;
and the state updating module is used for updating the state of the service contract based on the first intelligent contract in the block chain according to the behavior data of the signing party for the service contract.
In this embodiment of the present specification, the contract rule executing module 905 includes:
the first execution unit is used for sending a preset performance reminding message to a performing party corresponding to the service contract if the state of the service contract is detected to be the performance reminding based on a first intelligent contract;
and a second execution unit, configured to trigger, based on the first intelligent contract, transfer the occupation right of the fulfillment resource corresponding to the service contract in the preset resource account of the fulfillment party to a implemented party corresponding to the service contract if it is detected that the information of the state of the service contract includes fulfillment execution information of preset resource account information of the implemented party based on the first intelligent contract.
In an embodiment of this specification, the apparatus further includes:
and the conservation processing module transfers the resources corresponding to the conservation processing rule to the performing party based on the first intelligent contract according to a preset conservation processing rule, and sends a notification message of the resource transfer to the performing party.
In an embodiment of this specification, the apparatus further includes:
and the information recording module is used for recording the related information for transferring the occupation authority of the fulfillment resources in the preset resource account of the fulfillment party to the fulfilled party.
In this embodiment of this specification, the service contract generating module 903 includes:
the authentication unit is used for sending an authentication request signed by the service contract to a signer corresponding to the signature information according to the communication information corresponding to the signature information;
and the service contract generating unit is used for generating the service contract of the target service according to the signed contract comprising the signature information if a notification message that the signing certification of the service contract sent by the signing party is passed is received within a preset time length.
In this embodiment of this specification, the service contract generating module 903 includes:
the digital signature acquisition unit is used for acquiring digital signature information of a signing party corresponding to the signature information according to the signature information;
and the service contract generating unit is used for generating the service contract of the target service according to the signed contract comprising the signature information and the digital signature information of the signature party.
In an embodiment of this specification, the apparatus further includes:
the query request module is used for receiving a state query request of the service contract sent by an application party;
and the information sending module is used for acquiring the current state information of the service contract and the execution condition information of the contract rule based on the first intelligent contract in the block chain, and sending the acquired current state information and the execution condition information of the contract rule to the application party.
The embodiment of the present specification provides a data processing apparatus based on a blockchain, which sets a processing mechanism of a contract in the blockchain, and further establishes contract templates corresponding to different services in advance in the blockchain in multiple different ways, so as to generate a contract to be signed according to contract data provided by an initiator, and further obtain a signed contract including signature information, and finally generate a service contract of the target service based on the signed contract including signature information, thereby simplifying a complicated processing procedure of a offline paper contract, and at the same time, generating and storing the service contract through the blockchain, which can ensure accuracy of the finally generated service contract, prevent falsification, and in addition, determining a contract rule corresponding to the service contract according to the service contract, generating a first intelligent contract corresponding to the service contract based on the contract rule, and triggering corresponding contract rules (performance rules and/or default rules) to execute execution through the first intelligent contract Thus, the contract processing process can be greatly simplified and the reliability is higher by triggering the performance and/or default processing based on the block chain.
EXAMPLE six
Based on the same idea, the block chain based data processing apparatus provided in the embodiment of the present specification further provides a block chain based data processing device, as shown in fig. 10.
The data processing device based on the blockchain may be the blockchain node provided in the above embodiments.
A blockchain-based data processing apparatus, which may have a large difference due to different configurations or performances, may include one or more processors 1001 and a memory 1002, and one or more stored applications or data may be stored in the memory 1002. Memory 1002 may be, among other things, transient storage or persistent storage. The application program stored in memory 1002 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for a blockchain-based data processing device. Still further, the processor 1001 may be arranged in communication with the memory 1002 for executing a series of computer executable instructions in the memory 1002 on a blockchain based data processing device. The blockchain-based data processing apparatus may also include one or more power supplies 1003, one or more wired or wireless network interfaces 1004, one or more input-output interfaces 1005, one or more keyboards 1006.
In particular, in this embodiment, the blockchain based data processing apparatus includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the blockchain based data processing apparatus, and the one or more programs configured to be executed by the one or more processors include computer executable instructions for:
receiving a contract signing request of a target service sent by an initiator, wherein the contract signing request comprises contract data required to be signed;
generating a contract to be signed of the target service according to the contract data;
sending the contract to be signed to the initiator, receiving the signed contract which comprises the signature information and is sent by the initiator, and generating a service contract of the target service according to the signed contract comprising the signature information;
determining contract rules corresponding to the service contract according to the service contract, generating a first intelligent contract corresponding to the service contract based on the contract rules, and deploying the first intelligent contract in a block chain, wherein the contract rules comprise performance rules and/or default rules;
executing the contract rule when detecting that the status of the business contract satisfies the contract rule based on a first smart contract.
In the embodiment of this specification, the method further includes:
receiving a contract acquisition request of the target service sent by the sender, wherein the contract acquisition request comprises a service identifier of the target service;
acquiring the identifier of a contract template corresponding to the service identifier of the target service according to the service identifier of the target service;
and sending the contract template corresponding to the acquired identification of the contract template to the initiator so that the initiator acquires the contract data required to be signed based on the contract template.
In the embodiment of this specification, the method further includes:
acquiring a plurality of signed historical contract data of a contract type corresponding to the target service;
and generating a contract template corresponding to the target service through a second intelligent contract preset in the block chain based on the plurality of historical contract data, and correspondingly storing the service identifier of the target service and the identifier of the contract template corresponding to the target service.
In the embodiment of this specification, the method further includes:
receiving a contract template generation request of the target service sent by the sender, wherein the contract template generation request comprises the information required by the sender for a contract template to be generated;
and generating a contract template corresponding to the target service through a third intelligent contract preset in the block chain according to the demand information, and sending the generated contract template to the initiator so that the initiator acquires the contract data required to be signed based on the contract template.
In the embodiment of this specification, the method further includes:
receiving a contract acquisition request of the target service sent by the sender, wherein the contract acquisition request comprises a service identifier of the target service;
acquiring a fourth intelligent contract corresponding to the service identifier of the target service from the block chain according to the service identifier of the target service;
and generating a contract template corresponding to the target service according to the fourth intelligent contract, and sending the contract template corresponding to the target service to the initiator, so that the initiator acquires the contract data required to be signed based on the contract template.
In this embodiment of the present specification, the contract corresponding to the target service is a negotiable contract, and further includes:
acquiring first negotiation data which is uploaded to the block chain by the initiator and generated in a contract negotiation process aiming at the target service, and storing the first negotiation data to the block chain, wherein the first negotiation data comprises one or more of the following items: data corresponding to an initial contract generated based on the contract template, data corresponding to an intermediate contract generated based on the initiator modifying the initial contract, and data corresponding to a final contract generated based on the signature party determining;
and/or the presence of a gas in the gas,
acquiring second negotiation data which is uploaded to the block chain by the initiator and generated in a contract negotiation process aiming at the target service, and storing the second negotiation data to the block chain, wherein the second negotiation data comprises one or more of the following items: the modification data returned by the signing party for the initial contract and/or the intermediate contract received by the initiator, and the contract confirmation information sent by the signing party received by the initiator.
In the embodiment of this specification, the method further includes:
a modification request receiving module, configured to receive a modification request of a contract template corresponding to the target service, where the modification request includes modification information of the contract template;
and the template modification module is used for modifying the contract template according to the modification information of the contract template to obtain the modified contract template.
In the embodiment of the present specification, the contract template includes fixed clause information, and includes selectable clause information and/or an information area to be appended.
In this embodiment of the present specification, before executing the contract rule when it is detected that the status of the business contract satisfies the contract rule based on the first intelligent contract, the method further includes:
acquiring behavior data of a signing party of the service contract aiming at the service contract;
and updating the state of the service contract based on the first intelligent contract in the block chain according to the behavior data of the signing party for the service contract.
In this embodiment of the present specification, the executing the contract rule when it is detected that the state of the business contract satisfies the contract rule based on the first intelligent contract includes:
if the state of the service contract is detected to be a performance reminding based on a first intelligent contract, sending a preset performance reminding message to a performing party corresponding to the service contract;
and if the information of the state of the service contract is detected to include the performance execution information of the preset resource account information of the performing party based on a first intelligent contract, triggering and transferring the occupation right of the performing resource corresponding to the service contract in the preset resource account of the performing party to the performed party corresponding to the service contract based on the first intelligent contract.
In this embodiment of the present specification, after the triggering the transfer of the occupation right of the performing resource corresponding to the service contract in the preset resource account of the performing party to the performed party corresponding to the service contract, the method further includes:
transferring the resource corresponding to the conservation processing rule to the performing party based on the first intelligent contract according to a preset conservation processing rule, and sending a notification message of the resource transfer to the performing party.
In this embodiment of the present specification, after the triggering the transfer of the occupation right of the performing resource corresponding to the service contract in the preset resource account of the performing party to the performed party corresponding to the service contract, the method further includes:
and recording related information for transferring the occupation right of the fulfillment resources in the preset resource account of the fulfillment party to the fulfilled party.
In an embodiment of this specification, the generating a service contract of the target service according to the signed contract including the signature information includes:
according to the communication information corresponding to the signature information, sending an authentication request signed by the service contract to a signer corresponding to the signature information;
and if a notification message that the signing of the service contract sent by the signing party passes the authentication is received within a preset time, generating the service contract of the target service according to the signed contract comprising the signature information.
In an embodiment of this specification, the generating a service contract of the target service according to the signed contract including the signature information includes:
acquiring digital signature information of a signing party corresponding to the signature information according to the signature information;
and generating a service contract of the target service according to the signed contract comprising the signature information and the digital signature information of the signature party.
In the embodiment of this specification, the method further includes:
receiving a state query request of the service contract sent by an application party;
and acquiring the current state information of the service contract and the execution condition information of the contract rule based on the first intelligent contract in the block chain, and sending the acquired current state information and the execution condition information of the contract rule to the application party.
The embodiment of the present specification provides a data processing apparatus based on a block chain, where a contract processing mechanism is set in the block chain, and contract templates corresponding to different services are pre-established in the block chain in multiple different ways, so as to generate a contract to be signed according to contract data provided by an initiator, and further obtain a signed contract including signature information, and finally generate a service contract of the target service based on the signed contract including signature information, thereby simplifying a complicated processing procedure of a offline paper contract, and meanwhile, generating and storing the service contract through the block chain, which can ensure accuracy of the finally generated service contract, and prevent falsification Thus, the contract processing process can be greatly simplified and the reliability is higher by triggering the performance and/or default processing based on the block chain.
EXAMPLE seven
Based on the same idea, the block chain based data processing system provided in the embodiment of the present specification further provides a block chain based data processing system, as shown in fig. 11.
The blockchain based data processing system may be based on a blockchain contract platform 1101 and a business platform 1102, wherein:
the service platform 1102 is configured to send a contract signing request of the target service to the block chain-based contract platform 1101, where the contract signing request includes contract data to be signed.
A block chain-based contract platform 1101 configured to generate a contract to be signed of the target service according to the contract data, and send the contract to be signed to the service platform 1102;
the service platform 1102 is further configured to display the contract to be signed, acquire signature information of a signing party, and send a signed contract including the signature information to the contract platform 1101 based on the block chain;
the block chain-based contract platform 1101 is further configured to generate a business contract of the target business according to the signed contract including the signature information, determine a contract rule corresponding to the business contract according to the business contract, generate a first intelligent contract corresponding to the business contract based on the contract rule, and deploy the first intelligent contract in the block chain, where the contract rule includes a performance rule and/or a default rule;
the blockchain-based contract platform 1101 is further configured to invoke the first intelligent contract in the blockchain to detect a status of the business contract, and execute the contract rule when it is detected based on the first intelligent contract that the status of the business contract satisfies the contract rule.
Based on the above, as shown in fig. 11, the data processing system may include a contract platform 1101 and a service platform 1102 based on a block chain, where the service platform 1102 may be a platform corresponding to any service, such as a financial service, a shopping service, an insurance service, and the like, the service platform 1102 may provide corresponding service for a plurality of different users, and the service platform 1102 may interact with the contract platform 1101 based on the block chain based on a request generated by an initiator. The contract platform 1101 based on the blockchain may be a platform formed by blockchains and used for providing related services such as contract management and contract processing, and specific processing manners and processing procedures thereof may refer to related contents in the first to fourth embodiments, which are not described herein again.
In this embodiment, as shown in fig. 12, the system further includes a judicial platform 1103, where:
the judicial platform 1103 configured to send a status query request of the service contract to the block chain-based contract platform 1101;
the block chain based contract platform 1101 is further configured to invoke a first intelligent contract in the block chain, acquire current state information of the service contract and execution condition information of the contract rule in the block chain, and send the acquired current state information and execution condition information of the contract rule to the judicial platform 1103.
It should be noted that the judicial platform 1103 may correspond to the application party in the second to fourth embodiments, and the application party may send the status query request of the service contract to the contract platform 1101 based on the block chain through the judicial platform 1103, which may specifically refer to the above related contents, and details are not described here.
In practical applications, the contract platform 1101 based on the block chain may be further refined according to actual needs, for example, the contract platform 1101 based on the block chain may be divided into a plurality of different hierarchical structures according to different functions and related technology applications, specifically, the contract platform 1101 based on the block chain may be divided into an upper contract management or contract processing platform, a lower block chain network, and the like, where the upper contract management or contract processing platform may be provided with corresponding service processing logic, and may be used to perform processing in the service logic aspect in the above-mentioned embodiments one-fourth, and the lower block chain network may be used to store data, verification information, and intelligent contracts (including the first intelligent contract, the second intelligent contract, the third intelligent contract, and the fourth intelligent contract) of the service contract.
In this embodiment of the present specification, the contract platform 1101 based on the blockchain is further configured to receive a contract obtaining request of the target service sent by the sender, where the contract obtaining request includes a service identifier of the target service; acquiring the identifier of a contract template corresponding to the service identifier of the target service according to the service identifier of the target service; and sending the contract template corresponding to the acquired identification of the contract template to the initiator so that the initiator acquires the contract data required to be signed based on the contract template.
In this embodiment of the present specification, the block chain-based contract platform 1101 is further configured to obtain a plurality of signed historical contract data of a contract type corresponding to the target service; and generating a contract template corresponding to the target service through a second intelligent contract preset in the block chain based on the plurality of historical contract data, and correspondingly storing the service identifier of the target service and the identifier of the contract template corresponding to the target service.
In this embodiment of the present specification, the contract platform 1101 based on the block chain is further configured to receive a contract template generation request of the target service sent by the sender, where the contract template generation request includes information on a contract template to be generated by the sender; and generating a contract template corresponding to the target service through a third intelligent contract preset in the block chain according to the demand information, and sending the generated contract template to the initiator so that the initiator acquires the contract data required to be signed based on the contract template.
In this embodiment of the present specification, the contract platform 1101 based on the blockchain is further configured to receive a contract obtaining request of the target service sent by the sender, where the contract obtaining request includes a service identifier of the target service; acquiring a fourth intelligent contract corresponding to the service identifier of the target service from the block chain according to the service identifier of the target service; and generating a contract template corresponding to the target service according to the fourth intelligent contract, and sending the contract template corresponding to the target service to the initiator, so that the initiator acquires the contract data required to be signed based on the contract template.
In this embodiment of this specification, the contract corresponding to the target service is a negotiable contract, and the contract platform 1101 based on the block chain is further configured to acquire first negotiation data, which is uploaded to the block chain by the initiator and generated in a contract negotiation process for the target service, and store the first negotiation data in the block chain, where the first negotiation data includes one or more of the following: data corresponding to an initial contract generated based on the contract template, data corresponding to an intermediate contract generated based on the initiator modifying the initial contract, and data corresponding to a final contract generated based on the signature party determining;
and/or the presence of a gas in the gas,
acquiring second negotiation data which is uploaded to the block chain by the initiator and generated in a contract negotiation process aiming at the target service, and storing the second negotiation data to the block chain, wherein the second negotiation data comprises one or more of the following items: the modification data returned by the signing party for the initial contract and/or the intermediate contract received by the initiator, and the contract confirmation information sent by the signing party received by the initiator.
In this embodiment of the present specification, the contract platform 1101 based on the block chain is further configured to receive a modification request of a contract template corresponding to the target service, where the modification request includes modification information of the contract template; and modifying the contract template according to the modification information of the contract template to obtain the modified contract template.
In the embodiment of the present specification, the contract template includes fixed clause information, and includes selectable clause information and/or an information area to be appended.
In this embodiment of the present specification, the contract platform 1101 based on the block chain is further configured to obtain behavior data of a signing party of the service contract with respect to the service contract; and updating the state of the service contract based on the first intelligent contract in the block chain according to the behavior data of the signing party for the service contract.
In this embodiment of the present specification, the block chain-based contract platform 1101 is further configured to send a preset performance reminding message to a performing party corresponding to the service contract if it is detected that the status of the service contract is a performance reminding based on the first intelligent contract; and if the information of the state of the service contract is detected to include the performance execution information of the preset resource account information of the performing party based on a first intelligent contract, triggering and transferring the occupation right of the performing resource corresponding to the service contract in the preset resource account of the performing party to the performed party corresponding to the service contract based on the first intelligent contract.
In this embodiment, the block chain-based contract platform 1101 is further configured to transfer, according to a preset conservation process rule, a resource corresponding to the conservation process rule to the performing party based on the first smart contract, and send a notification message of the resource transfer to the performing party.
In this embodiment of the present specification, the block chain-based contract platform 1101 is further configured to record related information for transferring the occupation right of the performing resource in the preset resource account of the performing party to the performed party.
In this embodiment of the present specification, the contract platform 1101 based on the block chain is further configured to send, according to the communication information corresponding to the signature information, an authentication request signed by the service contract to the signer corresponding to the signature information; and if a notification message that the signing of the service contract sent by the signing party passes the authentication is received within a preset time, generating the service contract of the target service according to the signed contract comprising the signature information.
In this embodiment of the present specification, the contract platform 1101 based on the block chain is further configured to obtain, according to the signature information, digital signature information of a signing party corresponding to the signature information; and generating a service contract of the target service according to the signed contract comprising the signature information and the digital signature information of the signature party.
The embodiment of the present specification provides a block chain-based data processing system, which sets a contract processing mechanism in a block chain, and further establishes contract templates corresponding to different services in the block chain in advance in multiple different ways, so as to generate a contract to be signed according to contract data provided by an initiator, and further obtain a signed contract including signature information, and finally generate a service contract of the target service based on the signed contract including signature information, thereby simplifying a complicated processing procedure of a offline paper contract, and meanwhile, generating and storing the service contract through the block chain, which can ensure accuracy of the finally generated service contract, and prevent falsification Thus, the contract processing process can be greatly simplified and the reliability is higher by triggering the performance and/or default processing based on the block chain.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" (software), which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsrapl (Hardware Description Language), vhjhdl (Hardware Description Language), vhigh-Language, etc., which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present description are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be 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 diagram block or blocks.
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 diagram block or blocks.
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 diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.

Claims (23)

1. A data processing method based on a block chain is applied to a block chain node, and the method comprises the following steps:
receiving a contract signing request of a target service sent by an initiator, wherein the contract signing request comprises contract data required to be signed;
generating a contract to be signed of the target service according to the contract data;
sending the contract to be signed to the initiator, receiving the signed contract which comprises the signature information and is sent by the initiator, and generating a service contract of the target service according to the signed contract comprising the signature information;
determining contract rules corresponding to the service contract according to the service contract, generating a first intelligent contract corresponding to the service contract based on the contract rules, and deploying the first intelligent contract in a block chain, wherein the contract rules comprise performance rules and/or default rules;
executing the contract rule when detecting that the status of the business contract satisfies the contract rule based on a first smart contract.
2. The method of claim 1, further comprising:
receiving a contract acquisition request of the target service sent by the sender, wherein the contract acquisition request comprises a service identifier of the target service;
acquiring the identifier of a contract template corresponding to the service identifier of the target service according to the service identifier of the target service;
and sending the contract template corresponding to the acquired identification of the contract template to the initiator so that the initiator acquires the contract data required to be signed based on the contract template.
3. The method of claim 2, further comprising:
acquiring a plurality of signed historical contract data of a contract type corresponding to the target service;
and generating a contract template corresponding to the target service through a second intelligent contract preset in the block chain based on the plurality of historical contract data, and correspondingly storing the service identifier of the target service and the identifier of the contract template corresponding to the target service.
4. The method of claim 1, further comprising:
receiving a contract template generation request of the target service sent by the sender, wherein the contract template generation request comprises the information required by the sender for a contract template to be generated;
and generating a contract template corresponding to the target service through a third intelligent contract preset in the block chain according to the demand information, and sending the generated contract template to the initiator so that the initiator acquires the contract data required to be signed based on the contract template.
5. The method of claim 1, further comprising:
receiving a contract acquisition request of the target service sent by the sender, wherein the contract acquisition request comprises a service identifier of the target service;
acquiring a fourth intelligent contract corresponding to the service identifier of the target service from the block chain according to the service identifier of the target service;
and generating a contract template corresponding to the target service according to the fourth intelligent contract, and sending the contract template corresponding to the target service to the initiator, so that the initiator acquires the contract data required to be signed based on the contract template.
6. The method of any of claims 2-5, the contract for the target service being a negotiable contract, the method further comprising:
acquiring first negotiation data which is uploaded to the block chain by the initiator and generated in a contract negotiation process aiming at the target service, and storing the first negotiation data to the block chain, wherein the first negotiation data comprises one or more of the following items: data corresponding to an initial contract generated based on the contract template, data corresponding to an intermediate contract generated based on the initiator modifying the initial contract, and data corresponding to a final contract generated based on the signature party determining;
and/or the presence of a gas in the gas,
acquiring second negotiation data which is uploaded to the block chain by the initiator and generated in a contract negotiation process aiming at the target service, and storing the second negotiation data to the block chain, wherein the second negotiation data comprises one or more of the following items: the modification data returned by the signing party for the initial contract and/or the intermediate contract received by the initiator, and the contract confirmation information sent by the signing party received by the initiator.
7. The method of any of claims 2-5, further comprising:
receiving a modification request of a contract template corresponding to the target service, which is sent by the initiator, wherein the modification request comprises modification information of the contract template;
and modifying the contract template according to the modification information of the contract template to obtain the modified contract template.
8. The method of claim 6, wherein the contract template includes fixed clause information therein, and includes selectable clause information and/or an information to be appended area.
9. The method of claim 1, further comprising, prior to executing the contract rule when the status of the business contract is detected to satisfy the contract rule based on a first smart contract:
acquiring behavior data of a signing party of the service contract aiming at the service contract;
and updating the state of the service contract based on the first intelligent contract in the block chain according to the behavior data of the signing party for the service contract.
10. The method of claim 9, the executing the contract rule upon detecting, based on a first smart contract, that a state of the business contract satisfies the contract rule, comprising:
if the state of the service contract is detected to be a performance reminding based on a first intelligent contract, sending a preset performance reminding message to a performing party corresponding to the service contract;
and if the information of the state of the service contract is detected to include the performance execution information of the preset resource account information of the performing party based on a first intelligent contract, triggering and transferring the occupation right of the performing resource corresponding to the service contract in the preset resource account of the performing party to the performed party corresponding to the service contract based on the first intelligent contract.
11. The method of claim 10, after the triggering transferring the occupation right of the performing resource corresponding to the service contract in the preset resource account of the performing party to the performed party corresponding to the service contract, the method further comprises:
transferring the resource corresponding to the conservation processing rule to the performing party based on the first intelligent contract according to a preset conservation processing rule, and sending a notification message of the resource transfer to the performing party.
12. The method of claim 10, after the triggering transferring the occupation right of the performing resource corresponding to the service contract in the preset resource account of the performing party to the performed party corresponding to the service contract, the method further comprises:
and recording related information for transferring the occupation right of the fulfillment resources in the preset resource account of the fulfillment party to the fulfilled party.
13. The method of claim 1, the generating a business contract for the target business from the signed contract comprising signature information, comprising:
according to the communication information corresponding to the signature information, sending an authentication request signed by the service contract to a signer corresponding to the signature information;
and if a notification message that the signing of the service contract sent by the signing party passes the authentication is received within a preset time, generating the service contract of the target service according to the signed contract comprising the signature information.
14. The method of claim 1 or 13, the generating a business contract for the target business from the signed contract including signature information, comprising:
acquiring digital signature information of a signing party corresponding to the signature information according to the signature information;
and generating a service contract of the target service according to the signed contract comprising the signature information and the digital signature information of the signature party.
15. The method of claim 1, further comprising:
receiving a state query request of the service contract sent by an application party;
and acquiring the current state information of the service contract and the execution condition information of the contract rule based on the first intelligent contract in the block chain, and sending the acquired current state information and the execution condition information of the contract rule to the application party.
16. A blockchain-based data processing apparatus, the apparatus comprising:
the contract signing request module is used for receiving a contract signing request of a target service sent by an initiator, wherein the contract signing request comprises contract data required to be signed;
the contract processing module is used for generating a contract to be signed of the target service according to the contract data;
the service contract generating module is used for sending the contract to be signed to the initiator, receiving the signed contract which comprises the signature information and is sent by the initiator, and generating the service contract of the target service according to the signed contract comprising the signature information;
the intelligent contract deployment module is used for determining contract rules corresponding to the business contracts according to the business contracts, generating first intelligent contracts corresponding to the business contracts on the basis of the contract rules, and deploying the first intelligent contracts into a block chain, wherein the contract rules comprise performance rules and/or default rules;
and the contract rule execution module is used for executing the contract rule when detecting that the state of the business contract meets the contract rule based on the first intelligent contract.
17. The apparatus of claim 16, the apparatus further comprising:
the behavior data acquisition module is used for acquiring the behavior data of the signing party of the service contract aiming at the service contract;
and the state updating module is used for updating the state of the service contract based on the first intelligent contract in the block chain according to the behavior data of the signing party for the service contract.
18. The apparatus of claim 17, the contract rule enforcement module, comprising:
the first execution unit is used for sending a preset performance reminding message to a performing party corresponding to the service contract if the state of the service contract is detected to be the performance reminding based on a first intelligent contract;
and a second execution unit, configured to trigger, based on the first intelligent contract, transfer the occupation right of the fulfillment resource corresponding to the service contract in the preset resource account of the fulfillment party to a implemented party corresponding to the service contract if it is detected that the information of the state of the service contract includes fulfillment execution information of preset resource account information of the implemented party based on the first intelligent contract.
19. The apparatus of claim 18, the apparatus further comprising:
and the conservation processing module transfers the resources corresponding to the conservation processing rule to the performing party based on the first intelligent contract according to a preset conservation processing rule, and sends a notification message of the resource transfer to the performing party.
20. The apparatus of claim 16, the apparatus further comprising:
the query request module is used for receiving a state query request of the service contract sent by an application party;
and the information sending module is used for acquiring the current state information of the service contract and the execution condition information of the contract rule based on the first intelligent contract in the block chain, and sending the acquired current state information and the execution condition information of the contract rule to the application party.
21. A blockchain based data processing apparatus, the blockchain based data processing apparatus comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving a contract signing request of a target service sent by an initiator, wherein the contract signing request comprises contract data required to be signed;
generating a contract to be signed of the target service according to the contract data;
sending the contract to be signed to the initiator, receiving the signed contract which comprises the signature information and is sent by the initiator, and generating a service contract of the target service according to the signed contract comprising the signature information;
determining contract rules corresponding to the service contract according to the service contract, generating a first intelligent contract corresponding to the service contract based on the contract rules, and deploying the first intelligent contract in a block chain, wherein the contract rules comprise performance rules and/or default rules;
executing the contract rule when detecting that the status of the business contract satisfies the contract rule based on a first smart contract.
22. A blockchain based data processing system, the system comprising a blockchain based contract platform and a business platform, wherein:
the service platform is configured to send a contract signing request of a target service to the contract platform based on the block chain, wherein the contract signing request comprises contract data required to be signed;
the contract platform based on the block chain is configured to generate a contract to be signed of the target service according to the contract data and send the contract to be signed to the service platform;
the service platform is also configured to display the contract to be signed, acquire signature information of a signing party and send the signed contract comprising the signature information to the contract platform based on the block chain;
the contract platform based on the block chain is further configured to generate a service contract of the target service according to the signed contract including the signature information, determine a contract rule corresponding to the service contract according to the service contract, generate a first intelligent contract corresponding to the service contract based on the contract rule, and deploy the first intelligent contract in the block chain, wherein the contract rule includes a performance rule and/or a default rule;
the blockchain-based contract platform is further configured to invoke the first intelligent contract in the blockchain to detect the state of the business contract, and execute the contract rule when detecting that the state of the business contract meets the contract rule based on the first intelligent contract.
23. The apparatus of claim 22, the system further comprising a judicial platform, wherein:
the judicial platform is configured to send a state query request of the service contract to the contract platform based on the block chain;
the contract platform based on the block chain is further configured to call a first intelligent contract in the block chain, acquire current state information of the service contract and execution condition information of the contract rule in the block chain, and send the acquired current state information and the execution condition information of the contract rule to the judicial platform.
CN202010252228.5A 2020-04-01 2020-04-01 Data processing method, device, equipment and system based on block chain Pending CN111159304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010252228.5A CN111159304A (en) 2020-04-01 2020-04-01 Data processing method, device, equipment and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010252228.5A CN111159304A (en) 2020-04-01 2020-04-01 Data processing method, device, equipment and system based on block chain

Publications (1)

Publication Number Publication Date
CN111159304A true CN111159304A (en) 2020-05-15

Family

ID=70567697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010252228.5A Pending CN111159304A (en) 2020-04-01 2020-04-01 Data processing method, device, equipment and system based on block chain

Country Status (1)

Country Link
CN (1) CN111159304A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111539835A (en) * 2020-06-23 2020-08-14 杭州易派链科技有限公司 Flight delay mutual-help method and system based on block chain
CN111741035A (en) * 2020-08-28 2020-10-02 支付宝(杭州)信息技术有限公司 Electronic contract signing method, device and equipment
CN111814150A (en) * 2020-06-23 2020-10-23 深圳市先河系统技术有限公司 Block chain default handling method, electronic device and storage medium
CN111985007A (en) * 2020-10-19 2020-11-24 支付宝(杭州)信息技术有限公司 Contract signing and executing method and device based on block chain
CN112270160A (en) * 2020-10-10 2021-01-26 中国信息通信研究院 Method and device for distributing identifiers based on intelligent contracts
CN112435127A (en) * 2021-01-26 2021-03-02 支付宝(杭州)信息技术有限公司 Contract signing method, device, equipment and storage medium based on block chain
CN112766768A (en) * 2021-01-26 2021-05-07 云账户技术(天津)有限公司 Contract flow management method and device, electronic equipment and readable storage medium
CN113010923A (en) * 2021-02-26 2021-06-22 中国工商银行股份有限公司 Block chain based letter distribution and access method and device
CN113220701A (en) * 2021-05-25 2021-08-06 成都佰纳瑞信息技术有限公司 Block chain-based data structure adaptive change upgrading method, device, equipment and product
CN114169863A (en) * 2021-12-07 2022-03-11 中国建设银行股份有限公司 Signing method, signing device, electronic equipment and computer readable medium
CN115017550A (en) * 2022-06-02 2022-09-06 湖南长银五八消费金融股份有限公司 Electronic contract data processing method and device, computer equipment and medium
CN115239314A (en) * 2022-08-26 2022-10-25 北京中诺链捷数字科技有限公司 Intelligent contract signing method, device, equipment and storage medium
WO2023142098A1 (en) * 2022-01-30 2023-08-03 京东方科技集团股份有限公司 Contract task processing method and device
CN117522384A (en) * 2023-12-11 2024-02-06 大唐融合通信股份有限公司 Robot operation and maintenance method and device, node equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106960165A (en) * 2017-03-13 2017-07-18 广东网金控股股份有限公司 It is a kind of that the method that electronic contract is conutersigned in many ways is realized based on the intelligent contract of block chain
US20190052454A1 (en) * 2016-02-23 2019-02-14 nChain Holdings Limited System and method for controlling asset-related actions via a block chain
CN109523225A (en) * 2018-10-12 2019-03-26 平安科技(深圳)有限公司 A kind of measure of managing contract, system and terminal device
CN109559257A (en) * 2018-12-14 2019-04-02 深圳壹账通智能科技有限公司 Contract generation method, device, equipment and readable storage medium storing program for executing based on block chain
WO2019082100A1 (en) * 2017-10-24 2019-05-02 Tata Consultancy Services Limited System and method for generating a blockchain application for different blockchain technologies
CN109903123A (en) * 2019-01-18 2019-06-18 众安信息技术服务有限公司 A kind of house lease method and system
CN110033269A (en) * 2019-03-18 2019-07-19 阿里巴巴集团控股有限公司 Contract based on block chain consults method and device, electronic equipment, storage medium
CN110111078A (en) * 2019-05-08 2019-08-09 北京智签科技有限公司 Electronic contract based on block chain is honoured an agreement management method and system manually
CN110555299A (en) * 2019-08-01 2019-12-10 平安科技(深圳)有限公司 electronic contract signing and storing method and device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190052454A1 (en) * 2016-02-23 2019-02-14 nChain Holdings Limited System and method for controlling asset-related actions via a block chain
CN106960165A (en) * 2017-03-13 2017-07-18 广东网金控股股份有限公司 It is a kind of that the method that electronic contract is conutersigned in many ways is realized based on the intelligent contract of block chain
WO2019082100A1 (en) * 2017-10-24 2019-05-02 Tata Consultancy Services Limited System and method for generating a blockchain application for different blockchain technologies
CN109523225A (en) * 2018-10-12 2019-03-26 平安科技(深圳)有限公司 A kind of measure of managing contract, system and terminal device
CN109559257A (en) * 2018-12-14 2019-04-02 深圳壹账通智能科技有限公司 Contract generation method, device, equipment and readable storage medium storing program for executing based on block chain
CN109903123A (en) * 2019-01-18 2019-06-18 众安信息技术服务有限公司 A kind of house lease method and system
CN110033269A (en) * 2019-03-18 2019-07-19 阿里巴巴集团控股有限公司 Contract based on block chain consults method and device, electronic equipment, storage medium
CN110111078A (en) * 2019-05-08 2019-08-09 北京智签科技有限公司 Electronic contract based on block chain is honoured an agreement management method and system manually
CN110555299A (en) * 2019-08-01 2019-12-10 平安科技(深圳)有限公司 electronic contract signing and storing method and device, computer equipment and storage medium

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111814150A (en) * 2020-06-23 2020-10-23 深圳市先河系统技术有限公司 Block chain default handling method, electronic device and storage medium
CN111539835A (en) * 2020-06-23 2020-08-14 杭州易派链科技有限公司 Flight delay mutual-help method and system based on block chain
US11461860B2 (en) * 2020-08-28 2022-10-04 Alipay (Hangzhou) Information Technology Co., Ltd. Signing methods, apparatuses and devices of electronic contract
CN111741035A (en) * 2020-08-28 2020-10-02 支付宝(杭州)信息技术有限公司 Electronic contract signing method, device and equipment
CN111741035B (en) * 2020-08-28 2020-11-24 支付宝(杭州)信息技术有限公司 Electronic contract signing method, device and equipment
CN112671769B (en) * 2020-08-28 2022-10-11 支付宝(杭州)信息技术有限公司 Electronic contract signing method, device and equipment
CN112671769A (en) * 2020-08-28 2021-04-16 支付宝(杭州)信息技术有限公司 Electronic contract signing method, device and equipment
CN112270160A (en) * 2020-10-10 2021-01-26 中国信息通信研究院 Method and device for distributing identifiers based on intelligent contracts
CN111985007A (en) * 2020-10-19 2020-11-24 支付宝(杭州)信息技术有限公司 Contract signing and executing method and device based on block chain
CN112766768A (en) * 2021-01-26 2021-05-07 云账户技术(天津)有限公司 Contract flow management method and device, electronic equipment and readable storage medium
CN112435127A (en) * 2021-01-26 2021-03-02 支付宝(杭州)信息技术有限公司 Contract signing method, device, equipment and storage medium based on block chain
CN113010923A (en) * 2021-02-26 2021-06-22 中国工商银行股份有限公司 Block chain based letter distribution and access method and device
CN113220701A (en) * 2021-05-25 2021-08-06 成都佰纳瑞信息技术有限公司 Block chain-based data structure adaptive change upgrading method, device, equipment and product
CN114169863A (en) * 2021-12-07 2022-03-11 中国建设银行股份有限公司 Signing method, signing device, electronic equipment and computer readable medium
WO2023142098A1 (en) * 2022-01-30 2023-08-03 京东方科技集团股份有限公司 Contract task processing method and device
CN115017550A (en) * 2022-06-02 2022-09-06 湖南长银五八消费金融股份有限公司 Electronic contract data processing method and device, computer equipment and medium
CN115239314A (en) * 2022-08-26 2022-10-25 北京中诺链捷数字科技有限公司 Intelligent contract signing method, device, equipment and storage medium
CN115239314B (en) * 2022-08-26 2023-10-13 北京中诺链捷数字科技有限公司 Intelligent contract signing method, device, equipment and storage medium
CN117522384A (en) * 2023-12-11 2024-02-06 大唐融合通信股份有限公司 Robot operation and maintenance method and device, node equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111159304A (en) Data processing method, device, equipment and system based on block chain
US20220261882A1 (en) Method for creating commodity assets from unrefined commodity reserves utilizing blockchain and distributed ledger technology
US11734756B1 (en) Blockchain based loan securitization
CN110795501A (en) Method, device, equipment and system for creating verifiable statement based on block chain
CN111382980B (en) Logistics management method, device, equipment and system based on block chain
CN112149187B (en) Method and device for processing traceability information based on blockchain
JP2020513707A (en) Business data processing method, verification method, device, and system
US11475453B2 (en) System and techniques for utilizing a smart contracts library
CN110322220A (en) A kind of labor management service providing method and device based on block chain
CN110047008A (en) A kind of Claims Resolution method and apparatus based on block chain
CN111899008B (en) Resource transfer method, device, equipment and system
EP3964995B1 (en) Data processing methods, apparatuses, and devices
CN112200569B (en) Digital seal using method and device based on block chain and electronic equipment
CN110992162A (en) Resource processing method, device, equipment and system
US20210319456A1 (en) Methods, apparatuses, devices, and systems for generating customs clearance confirmation information
CN112200585A (en) Service processing method, device, equipment and system
Boehm et al. Holistic tracking of products on the blockchain using NFC and verified users
CN116157818A (en) Electronic wallet allowing virtual currency expiration date
CN112561407A (en) Asset management method, system and device based on block chain
Ge Smart payment contract mechanism based on blockchain smart contract mechanism
CN114331437A (en) Block chain-based digital seal using method and device
CN115239446A (en) Data processing method and device based on block chain
CN112434347B (en) Rental business processing method, device, equipment and system
CN115099925A (en) Risk assessment method, device and equipment based on block chain
CN113761496A (en) Identity verification method and device based on block chain and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40029166

Country of ref document: HK

RJ01 Rejection of invention patent application after publication

Application publication date: 20200515

RJ01 Rejection of invention patent application after publication