CN111274597B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN111274597B
CN111274597B CN202010076865.1A CN202010076865A CN111274597B CN 111274597 B CN111274597 B CN 111274597B CN 202010076865 A CN202010076865 A CN 202010076865A CN 111274597 B CN111274597 B CN 111274597B
Authority
CN
China
Prior art keywords
contract
enterprise
electronic contract
node
user
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.)
Active
Application number
CN202010076865.1A
Other languages
Chinese (zh)
Other versions
CN111274597A (en
Inventor
刘攀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010076865.1A priority Critical patent/CN111274597B/en
Publication of CN111274597A publication Critical patent/CN111274597A/en
Application granted granted Critical
Publication of CN111274597B publication Critical patent/CN111274597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/602Providing cryptographic facilities or services
    • 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/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/105Human resources
    • G06Q10/1053Employment or hiring
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services
    • G06Q50/188Electronic negotiation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2151Time stamp
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Tourism & Hospitality (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Technology Law (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a data processing method and equipment, wherein the method comprises the following steps: acquiring a contract initiating request of an enterprise node, calling an intelligent contract according to the contract initiating request, and generating an electronic contract for a user node and the enterprise node through the intelligent contract; the electronic contract is maintained by the smart contract; acquiring a system time stamp of a blockchain network, and detecting state information of the electronic contract when the time stamp is matched with the transfer time of the seal resource yield in the electronic contract, wherein the state information comprises a locking state and an activating state; and when the electronic contract is in an activated state, determining transfer resource yield according to the intelligent contract, and transmitting the digital asset corresponding to the transfer resource yield from the enterprise account of the enterprise node to the user account of the user node. By adopting the application, the data reliability of the protocol and the secret protocol can be improved.

Description

Data processing method and device
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a data processing method and apparatus.
Background
In some high-tech enterprises, staff may contact core technologies or confidential information of the enterprises, some competing enterprises adopt improper means for acquiring technologies of competitors, the purpose of stealing the core technologies is achieved by recruiting staff of the competitors, when the staff leaves the office, the enterprises and the staff sign labor agreements to ensure that the technologies of the enterprises are not revealed, but the agreement cannot be timely checked, meanwhile, the data accuracy of the agreement cannot be ensured, and the agreement cannot be timely executed.
Disclosure of Invention
The embodiment of the application provides a data processing method and device, which can improve the data reliability of a labor protocol.
In one aspect, an embodiment of the present application provides a data processing method, which may include:
acquiring a contract initiating request of an enterprise node, calling an intelligent contract according to the contract initiating request, and generating an electronic contract for a user node and the enterprise node through the intelligent contract; the electronic contract is maintained by the smart contract;
acquiring a system time stamp of a blockchain network, and detecting state information of the electronic contract when the time stamp is matched with the transfer time of the seal resource yield in the electronic contract, wherein the state information comprises a locking state and an activating state;
and when the electronic contract is in an activated state, determining transfer resource yield according to the intelligent contract, and transmitting the digital asset corresponding to the transfer resource yield from the enterprise account of the enterprise node to the user account of the user node.
Wherein, still include:
detecting enterprise information of the user node, and when the enterprise information belongs to a reference enterprise in the electronic contract, sending digital assets corresponding to the default resource output in the electronic contract from the user account to an enterprise account according to an intelligent contract;
And setting the state information of the electronic contract into a locking state, and stopping the digital asset transfer service from the enterprise node to the user node when the electronic contract is in the locking state.
The method for obtaining the contract initiation request of the enterprise node, calling an intelligent contract according to the contract initiation request, generating an electronic contract for the user node and the enterprise node through the intelligent contract, and comprises the following steps:
acquiring a contract initiating request of an enterprise node, calling an intelligent contract according to the contract initiating request, and acquiring an initial electronic contract corresponding to the enterprise node through the intelligent contract;
generating an electronic contract according to the enterprise signature of the enterprise node, the user signature of the user node and the initial electronic contract;
encrypting the electronic contract, and synchronizing the encrypted electronic contract to a blockchain network.
Wherein the obtaining the system time stamp of the blockchain network, when the time stamp matches with the transfer time of the seal resource yield in the electronic contract, detecting the state information of the electronic contract includes:
acquiring a confidentiality period and a transfer period in the electronic contract, and determining the transfer time of the yield of the confidentiality in the electronic contract by adopting an intelligent contract;
And acquiring a system time stamp of the blockchain network, and detecting state information of the electronic contract when the time stamp is matched with the transfer time.
When the electronic contract is in an activated state, determining transfer resource yield according to an intelligent contract, and sending the digital asset corresponding to the transfer resource yield from the enterprise account of the enterprise node to the user account of the user node, wherein the method comprises the following steps:
when the electronic contract is in an activated state, acquiring a user account of a user and an enterprise account of an enterprise from the electronic contract according to an intelligent contract;
determining transfer resource yield of the electronic contract according to a confidentiality limit and a transfer period in the electronic contract;
generating transaction data from the user account, the enterprise account, the transfer asset yield, and a source account for the transfer asset yield;
acquiring an enterprise private key of an enterprise node, and signing the transaction data by adopting the enterprise private key to obtain transfer signature information;
performing consensus processing on the transaction data and the transfer signature information;
after the consensus is passed, storing the transaction data and the transfer signature information into a blockchain network; the user node has asset transfer rights to the transaction data that has been stored into the blockchain network.
Wherein, still include:
according to the intelligent contract, detecting the transfer state of the confidential resource yield of the electronic contract when the electronic contract is detected to reach the confidential period;
and if the digital asset transferred from the enterprise account to the user account is equal to the digital asset corresponding to the secret asset yield or the electronic contract is in a locked state, destroying the electronic contract from the blockchain according to an intelligent contract.
Wherein, still include:
acquiring a query instruction of an enterprise node, and detecting the electronic contract according to the query instruction and query information carried by the query instruction;
when the information meeting the correlation threshold with the query information is detected, obtaining the default resource yield in the electronic contract according to an intelligent contract;
and transmitting the digital asset corresponding to the default resource output from the user account to the enterprise account.
In one aspect, an embodiment of the present application provides a data processing apparatus, which may include:
the electronic contract generation unit is used for acquiring a contract initiation request of the enterprise node, calling an intelligent contract according to the contract initiation request, and generating an electronic contract for the user node and the enterprise node through the intelligent contract; the electronic contract is maintained by the smart contract;
A contract state detection unit, configured to obtain a system timestamp of a blockchain network, and detect state information of the electronic contract when the timestamp matches with a transfer time of a seal resource yield in the electronic contract, where the state information includes a locking state and an activation state;
and the asset transfer unit is used for determining transfer resource yield according to the intelligent contract when the electronic contract is in an activated state, and sending the digital asset corresponding to the transfer resource yield from the enterprise account of the enterprise node to the user account of the user node.
Wherein, still include:
the contract state setting unit is used for detecting enterprise information of the user node, and when the enterprise information belongs to a reference enterprise in the electronic contract, the digital asset corresponding to the default resource output in the electronic contract is sent to an enterprise account from the user account according to the intelligent contract;
and setting the state information of the electronic contract into a locking state, and stopping the digital asset transfer service from the enterprise node to the user node when the electronic contract is in the locking state.
The electronic contract generating unit is specifically configured to:
Acquiring a contract initiating request of an enterprise node, calling an intelligent contract according to the contract initiating request, and acquiring an initial electronic contract corresponding to the enterprise node through the intelligent contract;
generating an electronic contract according to the enterprise signature of the enterprise node, the user signature of the user node and the initial electronic contract;
encrypting the electronic contract, and synchronizing the encrypted electronic contract to a blockchain network.
Wherein, the contract state detection unit is specifically configured to:
acquiring a confidentiality period and a transfer period in the electronic contract, and determining the transfer time of the yield of the confidentiality in the electronic contract by adopting an intelligent contract;
and acquiring a system time stamp of the blockchain network, and detecting state information of the electronic contract when the time stamp is matched with the transfer time.
Wherein, the asset transfer unit is specifically configured to:
when the electronic contract is in an activated state, acquiring a user account of a user and an enterprise account of an enterprise from the electronic contract according to an intelligent contract;
determining transfer resource yield of the electronic contract according to a confidentiality limit and a transfer period in the electronic contract;
generating transaction data from the user account, the enterprise account, the transfer asset yield, and a source account for the transfer asset yield;
Acquiring an enterprise private key of an enterprise node, and signing the transaction data by adopting the enterprise private key to obtain transfer signature information;
performing consensus processing on the transaction data and the transfer signature information;
after the consensus is passed, storing the transaction data and the transfer signature information into a blockchain network; the user node has asset transfer rights to the transaction data that has been stored into the blockchain network.
Wherein, still include:
the electronic contract destroying unit is used for detecting the transfer state of the confidential resource output of the electronic contract according to the intelligent contract when detecting that the electronic contract reaches the confidential period;
and if the digital asset transferred from the enterprise account to the user account is equal to the digital asset corresponding to the secret asset yield or the electronic contract is in a locked state, destroying the electronic contract from the blockchain according to an intelligent contract.
Wherein, still include:
the query unit is used for acquiring a query instruction of an enterprise node and detecting the electronic contract according to the query instruction and query information carried by the query instruction;
when the information meeting the correlation threshold with the query information is detected, obtaining the default resource yield in the electronic contract according to an intelligent contract;
And transmitting the digital asset corresponding to the default resource output from the user account to the enterprise account.
In one aspect, embodiments of the present application provide a computer-readable storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-described method steps.
In one aspect, a computer device is provided, including a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
In the embodiment of the application, an intelligent contract is called according to the contract initiating request by acquiring the contract initiating request of an enterprise node, then an electronic contract is generated for a user node and the enterprise node through the intelligent contract, the electronic contract is maintained by the intelligent contract, a system time stamp of a blockchain network is acquired, when the time stamp is matched with the transfer time of the secret resource yield in the electronic contract, the state information of the electronic contract is detected, the state information comprises a locking state and an activating state, when the electronic contract is in the activating state, the transfer resource yield is determined according to the intelligent contract, and the digital asset corresponding to the transfer resource yield is sent from the enterprise account of the enterprise node to the user account of the user node. The electronic contract is maintained through the intelligent contract, contract clauses can be executed in real time, the problem that the contract cannot be executed due to the fact that the contract cannot be checked in time is avoided, and meanwhile, the data accuracy of the contract is improved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1a is a system architecture diagram of a data processing system according to an embodiment of the present application;
FIG. 1b is a schematic diagram of a distributed system according to an embodiment of the present application;
FIG. 1c is a schematic block diagram of a block structure according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 4a is an exemplary schematic diagram of an asset transfer provided by an embodiment of the present application;
FIG. 4b is an exemplary diagram of a contract state provided by an embodiment of the application;
FIG. 5 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Fig. 1a is a system architecture diagram for data processing according to an embodiment of the present application. The blockchain network 10c establishes a connection with the user node 10a and the enterprise node 10 b. The blockchain network 10c comprises a blockchain node 10d, a third party and a blockchain node 10e, the user node 10a and the enterprise node 10b also belong to nodes in the blockchain network 10d, the blockchain network 10c obtains a contract initiating request of the enterprise node 10b, an intelligent contract is called according to the contract initiating request, an electronic contract is generated through the intelligent contract about the user node 10a and the enterprise node 10b, and the electronic contract is maintained by the intelligent contract; the blockchain network 10c obtains a system timestamp of the blockchain network, and when the timestamp is matched with the transfer time of the seal resource yield in the electronic contract, the blockchain network 10c detects state information of the electronic contract, wherein the state information comprises a locking state and an activation state; when the electronic contract is in an active state, the blockchain network 10c determines a transfer asset yield according to the intelligent contract, and sends the digital asset corresponding to the transfer asset yield from the enterprise account of the enterprise node to the user account of the user node.
An enterprise node according to an embodiment of the present application may include a server having data processing, where the user node includes: terminal devices such as tablet computers, smart phones, personal Computers (PCs), notebook computers, palm computers, and the like.
The blockchain related in the embodiment of the application is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The blockchain may include a blockchain underlying platform, a platform product services layer, and an application services layer.
The blockchain underlying platform may include processing modules for user management, basic services, smart contracts, operation monitoring, and the like. The user management module is responsible for identity information management of all blockchain participants, including maintenance of public and private key generation (account management), key management, maintenance of corresponding relation between the real identity of the user and the blockchain address (authority management) and the like, and under the condition of authorization, supervision and audit of transaction conditions of certain real identities, and provision of rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node devices, is used for verifying the validity of a service request, recording the service request on a storage after the effective request is identified, for a new service request, the basic service firstly analyzes interface adaptation and authenticates the interface adaptation, encrypts service information (identification management) through an identification algorithm, and transmits the encrypted service information to a shared account book (network communication) in a complete and consistent manner, and records and stores the service information; the intelligent contract module is responsible for registering and issuing contracts, triggering contracts and executing contracts, a developer can define contract logic through a certain programming language, issue the contract logic to a blockchain (contract registering), invoke keys or other event triggering execution according to the logic of contract clauses to complete the contract logic, and simultaneously provide a function of registering contract upgrading; the operation monitoring module is mainly responsible for deployment in the product release process, modification of configuration, contract setting, cloud adaptation and visual output of real-time states in product operation, for example: alarms, monitoring network conditions, monitoring node device health status, etc.
The platform product service layer provides basic capabilities and implementation frameworks of typical applications, and developers can complete the blockchain implementation of business logic based on the basic capabilities and the characteristics of the superposition business. The application service layer provides the application service based on the block chain scheme to the business participants for use.
The following describes a specific implementation scenario provided for an embodiment of the present application with reference to fig. 1b and 1 c. The blockchain network according to the embodiment of the present application may be a distributed system formed by connecting a client and a plurality of nodes (any form of computing device in an access network, such as a server and a user terminal) through a network communication.
Taking the distributed system as an example of a blockchain system, referring To fig. 1b, fig. 1b is a schematic structural diagram of an alternative application of the distributed system 100 provided in the embodiment of the present application To the blockchain system, where the structure is formed by a plurality of nodes (any form of computing devices in an access network, such as servers and user terminals) and clients, and a Peer-To-Peer (P2P, peer To Peer) network is formed between the nodes, where the P2P protocol is an application layer protocol running on top of a transmission control protocol (TCP, transmission Control Protocol) protocol. In a distributed system, any machine, such as a server, a terminal, may join to become a node, including a hardware layer, an intermediate layer, an operating system layer, and an application layer.
Referring to the functionality of each node in the blockchain system shown in fig. 1b, the functionality involved includes:
1) The routing, the node has basic functions for supporting communication between nodes.
Besides the routing function, the node can also have the following functions:
2) The application is used for being deployed in a block chain to realize specific service according to actual service requirements, recording data related to the realization function to form recorded data, carrying a digital signature in the recorded data to represent the source of task data, sending the recorded data to other nodes in the block chain system, and adding the recorded data into a temporary block when the source and the integrity of the recorded data are verified by the other nodes.
For example, the services implemented by the application include:
2.1 Wallet for providing electronic money transactions, including initiating a transaction (i.e., sending a transaction record of the current transaction to other nodes in the blockchain system, the other nodes, after verification, storing record data of the transaction in a temporary block of the blockchain in response to acknowledging that the transaction is valid; of course, the wallet also supports inquiry of remaining electronic money in the electronic money address;
2.2 The shared account book is used for providing the functions of storing, inquiring, modifying and the like of account data, sending record data of the operation on the account data to other nodes in the blockchain system, and after the other nodes verify to be effective, storing the record data into a temporary block as a response for acknowledging that the account data is effective, and also sending confirmation to the node initiating the operation.
2.3 A computerized agreement that can execute the terms of a contract, implemented by code deployed on a shared ledger for execution when certain conditions are met, for completing automated transactions based on actual business demand codes, such as querying the physical distribution status of the goods purchased by the buyer, transferring the electronic money of the buyer to the merchant's address after the buyer signs for the goods; of course, the smart contract is not limited to executing the contract for the transaction, and may execute a contract that processes the received information.
3) The blockchain comprises a series of blocks which are mutually connected according to the sequence of the generated time, the new blocks can not be removed once being added into the blockchain, and record data submitted by nodes in the blockchain system are recorded in the blocks.
Referring to fig. 1c, fig. 1c is an optional Block Structure (Block Structure) according to an embodiment of the present invention, where each Block includes a hash value of a transaction record stored in the Block (hash value of the Block) and a hash value of a previous Block, and the blocks are connected by the hash values to form a blockchain. In addition, the block may include information such as a time stamp at the time of block generation. A blockchain is essentially a de-centralized database, which is a series of data blocks that are generated in association using cryptographic methods, each of which contains associated information that is used to verify the validity (anti-counterfeiting) of its information and to generate the next block.
Referring to fig. 2, a flow chart of a data processing method is provided in an embodiment of the application. As shown in fig. 2, the method according to the embodiment of the present application may include the following steps S101 to S103.
S101, acquiring a contract initiating request of an enterprise node, calling an intelligent contract according to the contract initiating request, and generating an electronic contract for a user node and the enterprise node through the intelligent contract; the electronic contract is maintained by the smart contract;
specifically, the data processing device obtains a contract initiating request of an enterprise node, invokes an intelligent contract according to the contract initiating request, generates an electronic contract for a user node and the enterprise node through the intelligent contract, and can understand that the enterprise node is a node device corresponding to the enterprise on a blockchain, the user node is a node device corresponding to the user on the blockchain, the blockchain can include a plurality of user nodes and the enterprise node, the contract initiating request is an instruction sent by the enterprise node and used for signing an electronic contract with the user node on the blockchain, the electronic contract is a term used for restraining the two parties of the contract signing by the user and the enterprise, the data processing device invokes the intelligent contract according to the contract initiating request, generates an electronic contract for the user node and the enterprise node through the intelligent contract, the intelligent contract is a program code for running various instructions in the blockchain, and specifically, can obtain an initial electronic contract from the blockchain network, the initial electronic contract comprises requirements of the two parties of the contract signing, and a secrecy limit of the contract, an electronic contract violation after the contract, and the like, the electronic contract is generated according to a violation of the electronic contract signing and the initial electronic contract, and the electronic contract is stored in the intelligent contract, and the electronic contract is executed through the intelligent contract and the intelligent contract is executed.
S102, acquiring a system time stamp of a blockchain network, and detecting state information of the electronic contract when the time stamp is matched with the transfer time of the seal resource yield in the electronic contract, wherein the state information comprises a locking state and an activation state;
specifically, the data processing device obtains a system timestamp of the blockchain network, detects state information of the electronic contract when the timestamp is matched with a transfer time of a secret resource yield in the electronic contract, and it can be understood that the transfer time of the secret resource yield is contract terms in the electronic contract, for example, enterprises and users sign the electronic contract, if the users adhere to the electronic contract, the enterprises pay a certain secret amount to the users, the secret amount can be paid in a multi-stage manner, the secret resource yield is the secret amount in the electronic contract, the payment time of the secret amount is the transfer time of the secret resource yield in the electronic contract, when the system timestamp is matched with the transfer time of the secret resource yield in the electronic contract, the state information of the electronic contract is detected, for example, the transfer time of the secret resource yield is the first day of each month, when the system time is the first day of the month, the state information of the electronic contract is detected, the state information of the electronic contract comprises a locking state and an activation state, when the electronic contract is in the locking state, the enterprises stop the digital asset transfer service of the enterprises to the users, namely, the enterprises do not pay the electronic contract for the electronic contract in the normal operation, and the digital asset transfer service of the electronic contract is in the normal operation state.
And S103, when the electronic contract is in an activated state, determining transfer resource yield according to the intelligent contract, and transmitting the digital asset corresponding to the transfer resource yield from the enterprise account of the enterprise node to the user account of the user node.
Specifically, when the electronic contract is in an activated state, the data processing device determines a transfer resource yield according to the intelligent contract, and transmits a digital asset corresponding to the transfer resource yield from an enterprise account of the enterprise node to a user account of the user node.
In the embodiment of the application, an intelligent contract is called according to the contract initiating request by acquiring the contract initiating request of an enterprise node, then an electronic contract is generated for a user node and the enterprise node through the intelligent contract, the electronic contract is maintained by the intelligent contract, a system time stamp of a blockchain network is acquired, when the time stamp is matched with the transfer time of the secret resource yield in the electronic contract, the state information of the electronic contract is detected, the state information comprises a locking state and an activating state, when the electronic contract is in the activating state, the transfer resource yield is determined according to the intelligent contract, and the digital asset corresponding to the transfer resource yield is sent from the enterprise account of the enterprise node to the user account of the user node. The electronic contract is maintained through the intelligent contract, contract clauses can be executed in real time, the problem that the contract cannot be executed due to the fact that the contract cannot be checked in time is avoided, and meanwhile, the data accuracy of the contract is improved.
Referring to fig. 3, a flow chart of a data processing method is provided in an embodiment of the present application. As shown in fig. 3, the method according to the embodiment of the present application may include the following steps S201 to S206.
S201, acquiring a contract initiating request of an enterprise node, calling an intelligent contract according to the contract initiating request, and acquiring an initial electronic contract corresponding to the enterprise node through the intelligent contract; generating an electronic contract according to the enterprise signature of the enterprise node, the user signature of the user node and the initial electronic contract; encrypting the electronic contract, and synchronizing the encrypted electronic contract to a blockchain network.
Specifically, the contract initiating request is an instruction sent by an enterprise node and used for signing an electronic contract on a blockchain, an intelligent contract is called according to the contract initiating request, an initial electronic contract corresponding to the enterprise node is obtained through the intelligent contract, various contract terms are included in the initial electronic contract, the requirements of the contract signing parties and the confidentiality deadline of the contract are included, the illegal deposit after violating the contract is included, the contract signing parties and the user sign the initial electronic contract respectively, the electronic contract is generated according to the signature of the contract signing parties and the initial electronic contract, the electronic contract is stored in the blockchain, the electronic contract is maintained by the intelligent contract, namely, the executing terms in the electronic contract are executed through the intelligent contract, the electronic contract is encrypted according to the contract agreement deadline, the state information of the contract is set when the user violates the contract terms, and the like, and the encrypted electronic contract is synchronized to the blockchain network.
S202, acquiring a confidentiality term and a transfer period in the electronic contract, and determining the transfer time of the confidentiality yield in the electronic contract by adopting an intelligent contract; and acquiring a system time stamp of the blockchain network, and detecting state information of the electronic contract when the time stamp is matched with the transfer time.
Specifically, the data processing equipment acquires a confidentiality limit and a transfer period in the electronic contract, and adopts an intelligent contract to determine the transfer time of the confidentiality yield in the electronic contract; the method comprises the steps of obtaining a system timestamp of a blockchain network, detecting state information of an electronic contract when the timestamp is matched with the transfer time, and it is understood that a secret period, a transfer period and a secret resource yield are matched with contract terms in the electronic contract, for example, enterprises and users make electronic contracts, if the users adhere to the electronic contract, the enterprises pay a certain secret amount to the users, the secret amount can be paid in a multi-stage mode, the secret resource yield is the secret amount in the electronic contract, the transfer period is the payment interval time of the secret amount, the payment time of the secret amount is the transfer time of the secret amount in the electronic contract, the secret period is the secret time of the electronic contract and the time span of the enterprise paying the secret amount to the users, when the system timestamp is matched with the transfer time of the secret amount in the electronic contract, the state information of the electronic contract is detected, for example, the secret amount is the first day of each month, when the system time is the first day of the month, the electronic contract is detected, the state information of the electronic contract comprises a locking state and an activation state, the electronic contract is not normally paid to the user, and the intelligent enterprise is not in the digital contract is in the normal service state when the electronic contract is in the digital contract.
And S203, when the electronic contract is in an activated state, determining transfer resource yield according to the intelligent contract, and transmitting the digital asset corresponding to the transfer resource yield from the enterprise account of the enterprise node to the user account of the user node.
The step S203 of the embodiment of the present application may include the following steps S2031 to S2035.
S2031, acquiring a user account of a user and an enterprise account of an enterprise from the electronic contract according to an intelligent contract when the electronic contract is in an activated state;
s2032, determining transfer resource yield of the electronic contract according to a confidentiality term and a transfer period in the electronic contract;
specifically, the data processing apparatus determines the transfer asset yield of the electronic contract according to the security term and the transfer period in the electronic contract, and it is understood that the transfer asset yield is the security amount paid to the user by the enterprise each time, and the transfer amount may be obtained according to the security term and the transfer period in the electronic contract, for example, the security period is 12 months, the transfer period is 1 month, that is, asset transfer is performed once per month, the total transfer asset amount is 120, and the transfer asset yield of the electronic contract is 120/12=10.
S2033 generating transaction data from the user account, the enterprise account, the transfer asset yield, and a source account for the transfer asset yield;
specifically, the data processing device generates transaction data according to the user account, the enterprise account, the transfer asset output and the source account of the transfer asset output, and it is understood that the enterprise account is a private account of an enterprise in a blockchain network, the user account is a private account of a user in the blockchain network, the source account of the transfer asset output is an account corresponding to a source of a digital asset in the enterprise account and can be used as a tag of the digital asset, and the data processing device packages the user account, the enterprise account, the source account of the transfer asset output and the source account of the transfer asset output to generate the transaction data.
S2034, acquiring an enterprise private key of an enterprise node, and signing the transaction data by adopting the enterprise private key to obtain transfer signature information;
specifically, the data processing device obtains an enterprise private key of the enterprise node, signs the transaction data by adopting the enterprise private key to obtain transfer signature information, and it can be understood that the data processing device has the use authority of the enterprise private key after the authorization of the enterprise, signs the transaction data by adopting the enterprise private key to obtain the transfer signature information.
S2035, carrying out consensus processing on the transaction data and the transfer signature information; after the consensus is passed, storing the transaction data and the transfer signature information into a blockchain network; the user node has asset transfer rights to the transaction data that has been stored into the blockchain network.
Specifically, the data processing device performs consensus processing on the transaction data and the transfer signature information; after the consensus is passed, the transaction data and the transfer signature information are stored in the blockchain network, and it can be understood that the consensus process is that the blockchain network verifies the transaction data and the transfer signature information, and when the consensus is passed, the user node has the asset transfer authority for the transaction data stored in the blockchain network, that is, after the consensus is passed, the digital asset in the transaction data can be transferred.
S204, detecting enterprise information of the user node, and when the enterprise information belongs to a reference enterprise in the electronic contract, sending digital assets corresponding to the default resource output in the electronic contract from the user account to an enterprise account according to an intelligent contract; and setting the state information of the electronic contract into a locking state, and stopping the digital asset transfer service from the enterprise node to the user node when the electronic contract is in the locking state.
Specifically, the enterprise information of the user node is detected, that is, the enterprise of the user node is detected, and the enterprise information of the user node can be specifically queried through social security information paid by the user, wherein the reference enterprise is a set of contracted enterprises in an electronic contract, the reference enterprise is usually an enterprise with business coincidence or competition relationship with the enterprise, when the belonging enterprise information belongs to the reference enterprise in the electronic contract, a digital asset corresponding to the default resource yield in the electronic contract is sent to an enterprise account from the user account according to an intelligent contract, the default resource yield is terms in the electronic contract, that is, default gold to be paid when the user violates the terms in the electronic contract, and referring to fig. 4a, an exemplary schematic diagram of asset transfer is provided for an embodiment of the application. As shown in fig. 4a, an enterprise in which a user currently works is detected, when enterprise information of the user belongs to a reference enterprise in an electronic contract, the user violates terms in the electronic contract, a digital asset corresponding to the default resource yield in the electronic contract is sent from a user account to an enterprise account according to an intelligent contract, and when the enterprise information of the user does not belong to the reference enterprise in the electronic contract, a digital asset corresponding to the transfer resource yield is sent from the enterprise account to the user account at a transfer time. And when the user violates contract terms, setting the state information of the electronic contract into a locking state, and when the electronic contract is in the locking state, stopping the digital asset transfer service of the enterprise node to the user node, namely, the enterprise does not pay the confidential amount to the user any more. Referring to fig. 4b, an exemplary diagram of a contract status is provided for an embodiment of the present application. As shown in fig. 4b, the electronic contract is in an active state at the time of generation, the digital asset transfer service operates normally, i.e., the business pays the secret amount to the user according to the electronic contract, and when the electronic contract is in a locked state, the intelligent contract stops the business's digital asset transfer service to the user, i.e., the business no longer pays the secret amount to the user.
S205, detecting the transfer state of the confidential resource yield of the electronic contract according to the intelligent contract when detecting that the electronic contract reaches the confidential period; and if the digital asset transferred from the enterprise account to the user account is equal to the digital asset corresponding to the secret asset yield or the electronic contract is in a locked state, destroying the electronic contract from the blockchain according to an intelligent contract.
Specifically, according to the intelligent contract, when the electronic contract is detected to reach the security deadline, the transfer state of the security resource output of the electronic contract is detected, the transfer state of the security resource output is that whether the digital asset transferred from the enterprise account to the user account is equal to the digital asset corresponding to the security resource output or not is detected, specifically, during the contract period, the sum of the digital assets transferred from the enterprise account to the user account is counted, if the sum of the digital assets transferred is equal to the digital asset corresponding to the security resource output, the electronic contract is proved to be executed to be completed, the electronic contract is destroyed from the blockchain according to the intelligent contract, or the electronic contract is in a locking state, the fact that the electronic contract is violated by a user can be determined, and the electronic contract is destroyed from the blockchain according to the intelligent contract.
S206, acquiring a query instruction of an enterprise node, and detecting the electronic contract according to the query instruction and query information carried by the query instruction; when the information meeting the correlation threshold with the query information is detected, obtaining the default resource yield in the electronic contract according to an intelligent contract; and transmitting the digital asset corresponding to the default resource output from the user account to the enterprise account.
Specifically, a query instruction of an enterprise node is obtained, the electronic contract is detected according to the query instruction and query information carried by the query instruction, specifically, the query information can be queried in a whole network, a query result is matched with the query information, the relevance of the information is calculated, when the query result and the query information meet a relevance threshold, a user can determine that the user does not execute terms in the electronic contract aiming at the query information, the yield of default resources in the electronic contract is obtained according to an intelligent contract, and digital assets corresponding to the yield of default resources are sent to the enterprise account from the user account.
In the embodiment of the application, an intelligent contract is called according to the contract initiating request by acquiring the contract initiating request of an enterprise node, then an electronic contract is generated for a user node and the enterprise node through the intelligent contract, the electronic contract is maintained by the intelligent contract, a system time stamp of a blockchain network is acquired, when the time stamp is matched with the transfer time of the secret resource yield in the electronic contract, the state information of the electronic contract is detected, the state information comprises a locking state and an activating state, when the electronic contract is in the activating state, the transfer resource yield is determined according to the intelligent contract, and the digital asset corresponding to the transfer resource yield is sent from the enterprise account of the enterprise node to the user account of the user node. The electronic contract is maintained through the intelligent contract, contract clauses can be executed in real time, the problem that the contract cannot be executed due to the fact that the contract cannot be checked in time is avoided, and meanwhile, the data accuracy of the contract is improved.
Referring to fig. 5, a schematic structural diagram of a data processing apparatus is provided in an embodiment of the present application. The data processing device may be a computer program (comprising program code) running in a computer device, for example the data processing device is an application software; the device may be used to perform the corresponding steps in the method provided by the embodiments of the present application. As shown in fig. 5, the data processing apparatus 1 of the embodiment of the present application may include: an electronic contract generating unit 11, a contract state detecting unit 12, and an asset transferring unit 13.
An electronic contract generating unit 11, configured to obtain a contract initiation request of an enterprise node, invoke an intelligent contract according to the contract initiation request, and generate an electronic contract for a user node and the enterprise node through the intelligent contract; the electronic contract is maintained by the smart contract;
a contract state detection unit 12 for acquiring a system time stamp of a blockchain network, and detecting state information of the electronic contract when the time stamp matches a transfer time of a reserve volume in the electronic contract, the state information including a lock state and an activation state;
and the asset transfer unit 13 is used for determining transfer resource yield according to the intelligent contract when the electronic contract is in an activated state, and sending the digital asset corresponding to the transfer resource yield from the enterprise account of the enterprise node to the user account of the user node.
As shown in fig. 5, the data processing apparatus 1 of the embodiment of the present application may include: the contract state setting unit 14.
A contract state setting unit 14, configured to detect enterprise information to which the user node belongs, and send, according to an intelligent contract, a digital asset corresponding to a default resource yield in the electronic contract from the user account to an enterprise account when the enterprise information to which the user node belongs to a reference enterprise in the electronic contract;
and setting the state information of the electronic contract into a locking state, and stopping the digital asset transfer service from the enterprise node to the user node when the electronic contract is in the locking state.
The electronic contract generation unit 11 specifically functions to:
acquiring a contract initiating request of an enterprise node, calling an intelligent contract according to the contract initiating request, and acquiring an initial electronic contract corresponding to the enterprise node through the intelligent contract;
generating an electronic contract according to the enterprise signature of the enterprise node, the user signature of the user node and the initial electronic contract;
encrypting the electronic contract, and synchronizing the encrypted electronic contract to a blockchain network.
The contract state detection unit 12 specifically is configured to:
Acquiring a confidentiality period and a transfer period in the electronic contract, and determining the transfer time of the yield of the confidentiality in the electronic contract by adopting an intelligent contract;
and acquiring a system time stamp of the blockchain network, and detecting state information of the electronic contract when the time stamp is matched with the transfer time.
The asset transfer unit 13 is specifically configured to:
when the electronic contract is in an activated state, acquiring a user account of a user and an enterprise account of an enterprise from the electronic contract according to an intelligent contract;
determining transfer resource yield of the electronic contract according to a confidentiality limit and a transfer period in the electronic contract;
generating transaction data from the user account, the enterprise account, the transfer asset yield, and a source account for the transfer asset yield;
acquiring an enterprise private key of an enterprise node, and signing the transaction data by adopting the enterprise private key to obtain transfer signature information;
performing consensus processing on the transaction data and the transfer signature information;
after the consensus is passed, storing the transaction data and the transfer signature information into a blockchain network; the user node has asset transfer rights to the transaction data that has been stored into the blockchain network.
As shown in fig. 5, the data processing apparatus 1 of the embodiment of the present application may include: an electronic contract destruction unit 15.
An electronic contract destruction unit 15 for detecting a transfer state of a confidential resource amount of the electronic contract when it is detected that the electronic contract reaches the confidential period, based on an intelligent contract;
and if the digital asset transferred from the enterprise account to the user account is equal to the digital asset corresponding to the secret asset yield or the electronic contract is in a locked state, destroying the electronic contract from the blockchain according to an intelligent contract.
As shown in fig. 5, the data processing apparatus 1 of the embodiment of the present application may include: a query unit 16.
The query unit 16 is configured to obtain a query instruction of an enterprise node, and detect the electronic contract according to the query instruction and query information carried by the query instruction;
when the information meeting the correlation threshold with the query information is detected, obtaining the default resource yield in the electronic contract according to an intelligent contract;
and transmitting the digital asset corresponding to the default resource output from the user account to the enterprise account.
In the embodiment of the application, an intelligent contract is called according to the contract initiating request by acquiring the contract initiating request of an enterprise node, then an electronic contract is generated for a user node and the enterprise node through the intelligent contract, the electronic contract is maintained by the intelligent contract, a system time stamp of a blockchain network is acquired, when the time stamp is matched with the transfer time of the secret resource yield in the electronic contract, the state information of the electronic contract is detected, the state information comprises a locking state and an activating state, when the electronic contract is in the activating state, the transfer resource yield is determined according to the intelligent contract, and the digital asset corresponding to the transfer resource yield is sent from the enterprise account of the enterprise node to the user account of the user node. The electronic contract is maintained through the intelligent contract, contract clauses can be executed in real time, the problem that the contract cannot be executed due to the fact that the contract cannot be checked in time is avoided, and meanwhile, the data accuracy of the contract is improved.
Referring to fig. 6, a schematic structural diagram of a computer device is provided in an embodiment of the present application. As shown in fig. 6, the computer device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, at least one communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display (Display), and the optional user interface 1003 may further include a standard wired interface, a wireless interface, among others. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may also optionally be at least one storage device located remotely from the processor 1001. As shown in fig. 6, an operating system, network communication modules, user interface modules, and data processing applications may be included in memory 1005, which is a type of computer storage medium.
In the computer device 1000 shown in fig. 6, the network interface 1004 may provide a network communication function, and the user interface 1003 is mainly used as an interface for providing input to a user; the processor 1001 may be configured to invoke the data processing application stored in the memory 1005 to implement the description of the data processing method in any of the embodiments corresponding to fig. 2 to 4b, which is not described herein.
It should be understood that the computer device 1000 described in the embodiment of the present application may perform the description of the data processing method in the embodiment corresponding to any one of fig. 2 to fig. 4b, and may also perform the description of the data processing device in the embodiment corresponding to fig. 5, which is not repeated herein. In addition, the description of the beneficial effects of the same method is omitted.
Furthermore, it should be noted here that: the embodiment of the present application further provides a computer readable storage medium, where a computer program executed by the aforementioned data processing apparatus is stored, where the computer program includes program instructions, when executed by the processor, can perform the description of the data processing method in any of the foregoing embodiments corresponding to fig. 2 to fig. 4b, and therefore, a description will not be repeated herein. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the computer-readable storage medium according to the present application, please refer to the description of the method embodiments of the present application. As an example, program instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or, alternatively, across multiple computing devices distributed across multiple sites and interconnected by a communication network, where the multiple computing devices distributed across multiple sites and interconnected by a communication network may constitute a blockchain system.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), or the like.
The foregoing disclosure is illustrative of the present application and is not to be construed as limiting the scope of the application, which is defined by the appended claims.

Claims (9)

1. A method of data processing, comprising:
acquiring a contract initiating request of an enterprise node, calling an intelligent contract on a blockchain according to the contract initiating request, and generating an electronic contract for storing on the blockchain for a user node and the enterprise node through the intelligent contract; the electronic contract is a contract which is signed by the enterprise corresponding to the enterprise node and the user and is used for technical confidentiality when the user corresponding to the user node leaves the enterprise corresponding to the enterprise node, and the electronic contract is maintained by the intelligent contract;
Acquiring a system time stamp of a blockchain network, and detecting state information of the electronic contract when the time stamp is matched with the transfer time of the seal resource yield in the electronic contract, wherein the state information comprises a locking state and an activating state;
when the electronic contract is in an activated state, determining transfer resource yield according to an intelligent contract, and transmitting digital assets corresponding to the transfer resource yield from an enterprise account of the enterprise node to a user account of the user node;
detecting enterprise information of the user node, and when the enterprise information belongs to a reference enterprise in the electronic contract, sending digital assets corresponding to the default resource output in the electronic contract from the user account to an enterprise account according to an intelligent contract; the reference enterprise is an enterprise which has business coincidence or competition relationship with the enterprise corresponding to the enterprise node in the electronic contract;
setting the state information of the electronic contract to a locking state, and stopping the digital asset transfer service from the enterprise node to the user node when the electronic contract is in the locking state;
and when the electronic contract is in a locking state, determining that a user corresponding to the user node violates the rule of the electronic contract, and destroying the electronic contract from the blockchain according to the intelligent contract.
2. The method of claim 1, wherein the obtaining the contract initiation request of the enterprise node invokes an intelligent contract on a blockchain from the contract initiation request, the generating, by the intelligent contract, an electronic contract for the user node and the enterprise node for storage on the blockchain, comprising:
acquiring a contract initiating request of an enterprise node, calling an intelligent contract on a blockchain according to the contract initiating request, and acquiring an initial electronic contract corresponding to the enterprise node through the intelligent contract;
generating an electronic contract for storage on the blockchain according to the enterprise signature of the enterprise node, the user signature of the user node and the initial electronic contract;
encrypting the electronic contract, and synchronizing the encrypted electronic contract to a blockchain network.
3. The method of claim 1, wherein the obtaining a system timestamp of a blockchain network, and when the timestamp matches a transfer time of a seal yield in the electronic contract, detecting status information of the electronic contract comprises:
acquiring a confidentiality period and a transfer period in the electronic contract, and determining the transfer time of the yield of the confidentiality in the electronic contract by adopting an intelligent contract;
And acquiring a system time stamp of the blockchain network, and detecting state information of the electronic contract when the time stamp is matched with the transfer time.
4. The method of claim 1, wherein determining a transfer asset amount from an intelligent contract when the electronic contract is in an active state, and transmitting the digital asset corresponding to the transfer asset amount from the enterprise account of the enterprise node to the user account of the user node comprises:
when the electronic contract is in an activated state, acquiring a user account of a user and an enterprise account of an enterprise from the electronic contract according to an intelligent contract;
determining transfer resource yield of the electronic contract according to a confidentiality limit and a transfer period in the electronic contract;
generating transaction data from the user account, the enterprise account, the transfer asset yield, and a source account for the transfer asset yield;
acquiring an enterprise private key of an enterprise node, and signing the transaction data by adopting the enterprise private key to obtain transfer signature information;
performing consensus processing on the transaction data and the transfer signature information;
after the consensus is passed, storing the transaction data and the transfer signature information into a blockchain network; the user node has asset transfer rights to the transaction data that has been stored into the blockchain network.
5. The method as recited in claim 1, further comprising:
according to the intelligent contract, detecting the transfer state of the secret resource output of the electronic contract when the electronic contract is detected to reach the secret deadline;
and if the digital asset transferred from the enterprise account to the user account is equal to the digital asset corresponding to the secret asset yield, proving that the execution of the electronic contract is finished, and destroying the electronic contract from the blockchain according to an intelligent contract.
6. The method as recited in claim 1, further comprising:
acquiring a query instruction of an enterprise node, and detecting the electronic contract according to the query instruction and query information carried by the query instruction;
when the information meeting the correlation threshold with the query information is detected, obtaining the default resource yield in the electronic contract according to an intelligent contract;
and transmitting the digital asset corresponding to the default resource output from the user account to the enterprise account.
7. A data processing apparatus, comprising:
the electronic contract generation unit is used for acquiring a contract initiating request of the enterprise node, calling an intelligent contract on the blockchain according to the contract initiating request, and generating electronic contracts for the user node and the enterprise node, wherein the electronic contracts are stored on the blockchain; the electronic contract is a contract which is signed by the enterprise corresponding to the enterprise node and the user and is used for technical confidentiality when the user corresponding to the user node leaves the enterprise corresponding to the enterprise node, and the electronic contract is maintained by the intelligent contract;
A contract state detection unit, configured to obtain a system timestamp of a blockchain network, and detect state information of the electronic contract when the timestamp matches with a transfer time of a seal resource yield in the electronic contract, where the state information includes a locking state and an activation state;
an asset transfer unit, configured to determine a transfer asset yield according to an intelligent contract when the electronic contract is in an activated state, and send a digital asset corresponding to the transfer asset yield from an enterprise account of the enterprise node to a user account of the user node;
the contract state setting unit is used for detecting enterprise information of the user node, and when the enterprise information belongs to a reference enterprise in the electronic contract, the digital asset corresponding to the default resource output in the electronic contract is sent to an enterprise account from the user account according to the intelligent contract; the reference enterprise is an enterprise which has business coincidence or competition relationship with the enterprise corresponding to the enterprise node in the electronic contract;
the contract state setting unit is further used for setting the state information of the electronic contract into a locking state, and stopping the digital asset transfer service from the enterprise node to the user node when the electronic contract is in the locking state;
And the electronic contract destroying unit is used for determining that the user corresponding to the user node violates the rule of the electronic contract when the electronic contract is in a locking state, and destroying the electronic contract from the blockchain according to the intelligent contract.
8. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, perform the method of any of claims 1-6.
9. A computer device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1-6.
CN202010076865.1A 2020-01-23 2020-01-23 Data processing method and device Active CN111274597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010076865.1A CN111274597B (en) 2020-01-23 2020-01-23 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010076865.1A CN111274597B (en) 2020-01-23 2020-01-23 Data processing method and device

Publications (2)

Publication Number Publication Date
CN111274597A CN111274597A (en) 2020-06-12
CN111274597B true CN111274597B (en) 2023-08-22

Family

ID=71001939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010076865.1A Active CN111274597B (en) 2020-01-23 2020-01-23 Data processing method and device

Country Status (1)

Country Link
CN (1) CN111274597B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11711220B1 (en) * 2019-11-08 2023-07-25 Alicorn Systems, Inc. System and methods for computation, storage, and consensus in distributed systems
CN112613877B (en) * 2020-12-17 2021-12-07 腾讯科技(深圳)有限公司 Intelligent contract triggering method and device applied to block chain network and related equipment
CN116757684A (en) * 2023-05-11 2023-09-15 北京中科江南信息技术股份有限公司 Digital RMB payment method and device based on intelligent contract

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109242667A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 Assets management method and device, computer equipment and readable storage medium storing program for executing
CN109472611A (en) * 2018-11-22 2019-03-15 北京八分量信息科技有限公司 A kind of staple commodities method of commerce and device
CN110348882A (en) * 2019-06-19 2019-10-18 阿里巴巴集团控股有限公司 Integration method, system, device and equipment based on intelligent contract
CN110443625A (en) * 2019-08-12 2019-11-12 苏州通泰易迅网络科技有限公司 A kind of construction method, system and the device of flow business cross polymerization platform
CN110503547A (en) * 2019-08-28 2019-11-26 上海天地汇供应链科技有限公司 Loan administration method and system, financial institution's node based on block chain
CN110597916A (en) * 2019-09-21 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device based on block chain, storage medium and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9992028B2 (en) * 2015-11-26 2018-06-05 International Business Machines Corporation System, method, and computer program product for privacy-preserving transaction validation mechanisms for smart contracts that are included in a ledger

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109242667A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 Assets management method and device, computer equipment and readable storage medium storing program for executing
CN109472611A (en) * 2018-11-22 2019-03-15 北京八分量信息科技有限公司 A kind of staple commodities method of commerce and device
CN110348882A (en) * 2019-06-19 2019-10-18 阿里巴巴集团控股有限公司 Integration method, system, device and equipment based on intelligent contract
CN110443625A (en) * 2019-08-12 2019-11-12 苏州通泰易迅网络科技有限公司 A kind of construction method, system and the device of flow business cross polymerization platform
CN110503547A (en) * 2019-08-28 2019-11-26 上海天地汇供应链科技有限公司 Loan administration method and system, financial institution's node based on block chain
CN110597916A (en) * 2019-09-21 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device based on block chain, storage medium and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
探讨区块链技术冲击信用证商业银行的应对与管理;李丽琼;《中国优秀硕士学位论文全文数据库 经济与管理科学》(第4期);第J159-390页 *

Also Published As

Publication number Publication date
CN111274597A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
TWI720596B (en) Block chain certificate deposit method, device and computer equipment
Yue et al. Big data model of security sharing based on blockchain
TWI716140B (en) Data processing method and device based on blockchain
CN111080295B (en) Electronic contract processing method and device based on blockchain
CN111027028A (en) Copyright data processing method and device based on intelligent contract
CN111274597B (en) Data processing method and device
CN111241557B (en) Service request method and device based on block chain
CN111127021B (en) Service request method and device based on block chain
CN111414434B (en) Block chain-based data transaction management network, transaction device and storage medium
CN111488372A (en) Data processing method, device and storage medium
CN110634065A (en) Block chain-based loan information processing method, device, equipment and storage medium
CN112712452A (en) Approval information processing method and device based on block chain
CN111292057A (en) Service processing method based on block chain
CN110941840B (en) Data processing method, system and terminal
CN110599144A (en) Network access method and device for block link points
CN113947394A (en) Block chain-based fair payment method for deletable duplicate data in cloud storage
CN111915308A (en) Transaction processing method of blockchain network and blockchain network
CN112231755A (en) Data authorization method, device and system based on block chain
CN112074861A (en) Block chain based messaging service for time sensitive events
KR101120059B1 (en) Billing verifying apparatus, billing apparatus and method for cloud computing environment
CN113869901B (en) Key generation method, key generation device, computer-readable storage medium and computer equipment
CN112074862A (en) Storage management based on message feedback
CN116308903A (en) Digital asset right-determining protection method based on block chain
CN115913734A (en) User authority management method, device and equipment applied to alliance chain
CN115099800A (en) Block chain based method and device for transferring poor asset data

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
GR01 Patent grant
GR01 Patent grant