An information processing method, device and computer readable storage medium

By generating smart contracts and automatically signing them through a blockchain network, the problem of inefficiency in corporate investment is solved, enabling rapid matching and transactions.

CN111583045BActive Publication Date: 2025-11-07TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010362230.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-30
Publication Date
2025-11-07
Estimated Expiration
2040-04-30

AI Technical Summary

Technical Problem

Existing methods for companies to find investors or investment targets are time-consuming and inefficient.

Method used

By generating smart contracts through a blockchain network, users are automatically matched and digital signatures of electronic documents are completed, enabling data transfer and object freezing, and reducing user involvement in the process.

Benefits of technology

It improves the efficiency of the corporate investment process by automatically matching and signing through the blockchain network, reducing human intervention and increasing transaction speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111583045B_ABST
    Figure CN111583045B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose an information processing method and device and a computer readable storage medium. The method is applied to a blockchain network and includes: generating a first electronic document according to a first smart contract of a first user and a second smart contract of a second user; determining a second electronic document according to the first electronic document; sending a first transfer instruction carrying first digital information to a first client according to the first smart contract, the second smart contract and the second electronic document, the first transfer instruction being used to instruct the first client to transfer data to a second client according to the first digital information, the first client being a client corresponding to the first user, and the second client being a client corresponding to the second user; and sending a freezing instruction carrying first information to a first terminal device according to the first smart contract, the second smart contract and the second electronic document, the freezing instruction being used to instruct the first terminal device to freeze an object corresponding to the first information. The embodiments of the present application can improve efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of blockchain technology, and particularly relate to an information processing method and device and a computer readable storage medium. BACKGROUND

[0002] In the case that an enterprise needs funds, the enterprise can seek an investor. Similarly, in the case that the enterprise has surplus funds, the enterprise can also seek an investment object. In the above two cases, the investor or the investment object must be sought through a corresponding message channel or a third party. In the case that both parties have a cooperation intention, negotiation is performed, a contract is signed after the negotiation is successful, and then funds are transferred or assets are frozen according to the contract. In the above method, a long time is required, which reduces efficiency. SUMMARY

[0003] Embodiments of the present application disclose an information processing method, device and computer readable storage medium, which are used to improve efficiency.

[0004] A first aspect discloses an information processing method, which is applied to a blockchain network and includes the following steps.

[0005] generating a first electronic document according to a first smart contract and a second smart contract, the first smart contract being a smart contract of a first user, and the second smart contract being a smart contract of a second user;

[0006] determining a second electronic document according to the first electronic document, the second electronic document being an electronic document that is digitally signed by the first user and the second user after the first electronic document;

[0007] sending a first transfer instruction carrying first digital information to a first client according to the first smart contract, the second smart contract and the second electronic document, the first transfer instruction being used to instruct the first client to transfer data to a second client according to the first digital information, the first client being a client corresponding to the first user, and the second client being a client corresponding to the second user;

[0008] sending a freezing instruction carrying first information to a first terminal device according to the first smart contract, the second smart contract and the second electronic document, the freezing instruction being used to instruct the first terminal device to freeze an object corresponding to the first information, and the object corresponding to the first information being owned by the second user.

[0009] As a possible implementation manner, the step of generating the first electronic document according to the first smart contract and the second smart contract includes the following steps.

[0010] determining that the first user matches the second user according to the first smart contract and the second smart contract;

[0011] generating a first electronic document according to the first smart contract and the second smart contract.

[0012] As a possible implementation, the determining that the first user matches the second user according to the first smart contract and the second smart contract includes:

[0013] determining that the first user matches the second user in a case where a condition included in the first smart contract matches a condition included in the second smart contract.

[0014] As a possible implementation, the determining the second electronic document according to the first electronic document includes:

[0015] sending a first signature instruction carrying the first electronic document to a second terminal device, the second terminal device being a terminal device used by the first user;

[0016] receiving a third electronic document sent by the second terminal device, the third electronic document being an electronic document in which the first electronic document is digitally signed by the first user;

[0017] sending a second signature instruction carrying the third electronic document to a third terminal device, the third terminal device being a terminal device used by the second user;

[0018] receiving a second electronic document from the third terminal device.

[0019] As a possible implementation, the method further includes:

[0020] in a case where a time interval between a current time and an expiration time in the second electronic document is less than a threshold value, sending prompt information to the third terminal device, the prompt information being used to prompt the second user to transfer data to the first user.

[0021] As a possible implementation, the method further includes:

[0022] in a case where the current time is the expiration time in the second electronic document and the second user does not transfer data to the first user, sending a change instruction carrying the first information to the first terminal device, the change instruction being used to instruct the first terminal device to change the ownership of an object corresponding to the first information from the second user to the first user.

[0023] As a possible implementation, the method further includes:

[0024] receive a data transfer request from the third terminal device, the data transfer request carrying an identifier of the second electronic document;

[0025] determine second data information according to a current time and the second electronic document;

[0026] send a second transfer instruction carrying the second data information to the second client, the second transfer instruction being used to instruct the second client to transfer data to the first client according to the second data information;

[0027] when receiving data transfer completion information from the second client, send a thaw instruction carrying the first information to the first terminal device, the thaw instruction being used to instruct the first terminal device to thaw an object corresponding to the first information.

[0028] A second aspect discloses an information processing apparatus, the apparatus being arranged in a blockchain network, comprising:

[0029] a generation unit configured to generate a first electronic document according to a first smart contract and a second smart contract, the first smart contract being a smart contract of a first user, and the second smart contract being a smart contract of a second user;

[0030] a first determination unit configured to determine a second electronic document according to the first electronic document, the second electronic document being an electronic document after the first electronic document is digitally signed by the first user and the second user;

[0031] a sending unit configured to send a first transfer instruction carrying first digital information to a first client according to the first smart contract, the second smart contract, and the second electronic document, the first transfer instruction being used to instruct the first client to transfer data to a second client according to the first digital information, the first client being a client corresponding to the first user, and the second client being a client corresponding to the second user;

[0032] the sending unit is further configured to send a freeze instruction carrying first information to a first terminal device according to the first smart contract, the second smart contract, and the second electronic document, the freeze instruction being used to instruct the first terminal device to freeze an object corresponding to the first information, the object corresponding to the first information being owned by the second user.

[0033] As a possible implementation, the generation unit is specifically configured to:

[0034] determine that the first user matches the second user according to the first smart contract and the second smart contract;

[0035] generate a first electronic document according to the first smart contract and the second smart contract.

[0036] As a possible implementation, the generating unit determines that the first user matches the second user according to the first smart contract and the second smart contract, including:

[0037] determining that the first user matches the second user in a case where a condition included in the first smart contract matches a condition included in the second smart contract.

[0038] As a possible implementation, the first determining unit is specifically configured to:

[0039] send a first signature instruction carrying the first electronic document to a second terminal device, the second terminal device being a terminal device used by the first user;

[0040] receive a third electronic document sent from the second terminal device, the third electronic document being an electronic document in which the first electronic document is digitally signed by the first user;

[0041] send a second signature instruction carrying the third electronic document to a third terminal device, the third terminal device being a terminal device used by the second user;

[0042] receive a second electronic document from the third terminal device.

[0043] As a possible implementation, the sending unit is further configured to, in a case where a time interval between a current time and an expiration time in the second electronic document is less than a threshold value, send prompt information to the third terminal device, the prompt information being used to prompt the second user to transfer data to the first user.

[0044] As a possible implementation, the sending unit is further configured to, in a case where the current time is the expiration time in the second electronic document and the second user does not transfer data to the first user, send a change instruction carrying the first information to the first terminal device, the change instruction being used to instruct the first terminal device to change the ownership of an object corresponding to the first information from the second user to the first user.

[0045] As a possible implementation, the apparatus further includes:

[0046] a receiving unit configured to receive a data transfer request from the third terminal device, the data transfer request carrying an identifier of the second electronic document;

[0047] a second determining unit configured to determine second data information according to a current time and the second electronic document.

[0048] The sending unit is further configured to send a second transfer instruction carrying the second data information to the second client, the second transfer instruction being used to instruct the second client to transfer data to the first client according to the second data information.

[0049] The sending unit is further configured to send a second transfer instruction carrying the second data information to the second client, the second transfer instruction being used to instruct the second client to transfer data to the first client according to the second data information.

[0050] The third aspect discloses an information processing apparatus, which comprises a processor, a memory, an input interface and an output interface. The memory is configured to store a set of computer program codes. The input interface is configured to receive information from other apparatuses outside the apparatus. The output interface is configured to output information to other apparatuses outside the apparatus. When the processor is configured to invoke the computer program codes stored in the memory, the processor is caused to execute the information processing method disclosed in the first aspect or any possible implementation manner of the first aspect.

[0051] The fourth aspect discloses a computer readable storage medium, which stores a computer program or computer instructions. When the computer program or computer instructions are run, the information processing method disclosed in the first aspect or any possible implementation manner of the first aspect is implemented.

[0052] The fifth aspect discloses a computer program product, which, when run on a computer, causes the computer to execute the information processing method disclosed in the first aspect or any possible implementation manner of the first aspect.

[0053] In the embodiment of the present application, the blockchain network generates a first electronic document according to a first smart contract and a second smart contract, the first smart contract is a smart contract of a first user, and the second smart contract is a smart contract of a second user; determines a second electronic document according to the first electronic document, the second electronic document is an electronic document after the first electronic document is digitally signed by the first user and the second user; according to the first smart contract, the second smart contract and the second electronic document, sends a first transfer instruction carrying first digital information to the first client, the first transfer instruction is used to instruct the first client to transfer data to the second client according to the first digital information, the first client is a client corresponding to the first user, and the second client is a client corresponding to the second user; according to the first smart contract, the second smart contract and the second electronic document, sends a freezing instruction carrying first information to the first terminal device, the freezing instruction is used to instruct the first terminal device to freeze an object corresponding to the first information, and the ownership of the object corresponding to the first information is the second user. The information such as the needs and conditions of the two parties is generated into a smart contract and uploaded to the blockchain network, and the blockchain network automatically finds a matching object according to the smart contracts of the two parties, then the digital signature of the electronic document of the two parties is completed through the blockchain network, and the digital transfer and object freezing are automatically completed according to the signed electronic document and the smart contracts of the two parties, thereby reducing the process of user participation, and improving the efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0054] Figure 1 is a network structure schematic diagram disclosed by the embodiment of the present application;

[0055] Figure 2 is a schematic diagram of a blockchain composed of multiple blocks disclosed by the embodiment of the present application;

[0056] Figure 3 is a schematic diagram of generating a block in a blockchain disclosed by the embodiment of the present application;

[0057] Figure 4 is a flowchart of an information processing method disclosed by the embodiment of the present application;

[0058] Figure 5 is a flowchart of another information processing method disclosed by the embodiment of the present application;

[0059] Figure 6 is a structure schematic diagram of an information processing device disclosed by the embodiment of the present application;

[0060] Figure 7 is a structure schematic diagram of another information processing device disclosed by the embodiment of the present application. DETAILED DESCRIPTION

[0061] The embodiment of the application discloses an information processing method, device and computer readable storage medium, and is used for improving efficiency. The following are described in detail.

[0062] In order to better understand the information processing method, device and computer readable storage medium disclosed by the embodiment of the application, the network architecture used by the embodiment of the application is described first. Please refer to Figure 1 , Figure 1 is a network architecture diagram disclosed by the embodiment of the application. As Figure 1 indicated, the network architecture can include a blockchain network 101, a plurality of clients 102 Figure 1 indicate one) and a plurality of terminal devices 103 Figure 1 indicate one). The blockchain network 101 is used to send a transfer instruction to the client 102. The client 102 is used to receive the transfer instruction from the blockchain network 101, and transfer data to other clients 102 according to the transfer instruction. The client 102 is also used to send data transfer completion information to the blockchain network 101. The blockchain network 101 is also used to receive data transfer completion information from the client 102, indicating that the data transfer is successful. The blockchain network 101 is also used to send information to the terminal device 103 and receive information from the terminal device 103. The terminal device 103 is used to send information to the blockchain network 101 and receive information from the blockchain network 101.

[0063] The blockchain network 101 refers to a network for data sharing between nodes. The blockchain network 101 can include a plurality of nodes 1011, and the plurality of nodes 1011 can refer to each client in the blockchain network 101. Each node 1011 can receive input information during normal operation and maintain shared data in the blockchain network 101 based on the received input information. In order to ensure information exchange in the blockchain network 101, each node in the blockchain network 101 can have an information connection, and the nodes can transmit information through the information connection. For example, when any node in the blockchain network 101 receives input information, other nodes in the blockchain network 101 can obtain the input information according to a consensus algorithm, store the input information as data in shared data, and make the data stored on all nodes in the blockchain network 101 consistent.

[0064] For each node in the blockchain network 101, there is a node identifier corresponding to it, and each node in the blockchain network 101 can store the node identifiers of other nodes in the blockchain network 101, so as to subsequently broadcast the generated block to other nodes in the blockchain network 101 according to the node identifiers of the other nodes. Each node can maintain a node identifier list as shown in Table 1, and store the node name and node identifier in the node identifier list. The node identifier can be an internet protocol (IP) address and any other information that can be used to identify the node. Table 1 only takes the IP address as an example for illustration.

[0065] Node name Node identification Node 1 117.114.151.174 Node 2 117.116.189.145 … … Node N 119.123.789.258

[0066] Table 1 Node identifier list

[0067] Each node in the blockchain network 101 stores a same blockchain. Please refer to Figure 2 , Figure 2 is a schematic diagram of a blockchain disclosed by an embodiment of the present application, which is composed of a plurality of blocks. As shown in Figure 2 , the blockchain is composed of a plurality of blocks, the genesis block includes a block header and a block body, the block header stores an input information feature value, a version number, a timestamp and a difficulty value, and the block body stores input information; the next block of the genesis block takes the genesis block as a parent block, the next block also includes a block header and a block body, the block header stores an input information feature value of the current block, a block header feature value of the parent block, a version number, a timestamp and a difficulty value, and so on, so that the block data stored in each block in the blockchain is associated with the block data stored in the parent block, thereby ensuring the security of the input information in the block.

[0068] Please refer to Figure 3 , Figure 3 is a schematic diagram of generating a block in a blockchain disclosed by an embodiment of the present application. As shown in Figure 3 , when generating each block in the blockchain, the node where the blockchain is located receives input information, checks the input information, stores the input information in the memory pool after completing the checking, and updates the hash tree used to record the input information; then, the update timestamp is updated to the time when the input information is received, and different random numbers are tried to perform feature value calculation multiple times, so that the calculated feature value can satisfy the following formula:

[0069] SHA256(SHA256(version+prev_hash+merkle rootSHA256(version || prev_hash || merkle_root || ntime || nbits || x) < TARGET wherein, SHA256 is a hash algorithm used for calculating the hash value; version (version number) is version information of a relevant block protocol in the block chain; prev_hash is a block header hash value of a parent block of the current block; merkle_root is a hash value of the input information; ntime is an update time for updating the time stamp; nbits is the current difficulty, which is a constant value in a period of time and is determined again after a fixed period of time; x is a random number; and TARGET is a hash threshold value, which can be determined according to nbits.

[0070] In this way, when the random number satisfying the above formula is calculated, the information can be correspondingly stored, the block header and the block body can be generated, and the current block can be obtained. Subsequently, the node of the block chain sends the newly generated block to other nodes in the block chain network 101 according to the node identifiers of the other nodes in the block chain network 101, the other nodes verify the newly generated block, and add the newly generated block to the block chain stored by the other nodes after the verification is completed.

[0071] The client 102 can be bound to a user and can perform a transfer (that is, data transfer). The client 102 can be bound by an account or other ways, which are not limited herein. For example, the client 102 can be a client corresponding to a bank card, a WeChat client, or other clients that can be used for transfer.

[0072] The terminal device 103 can be a user equipment (UE), a mobile phone, a computer, or other electronic devices. The terminal device 103 can also be a server.

[0073] Based on the network structure shown in FIG. 1, please refer to Figure 1 , Figure 4 , Figure 4 is a flowchart of an information processing method disclosed by an embodiment of the present application. As shown in Figure 4 , the information processing method can include the following steps.

[0074] 401. The block chain network generates a first electronic document according to the first smart contract and the second smart contract.

[0075] In the embodiment, the smart contract is a computerized protocol that can execute the terms of a certain contract, and the code for completing the automated transaction is implemented according to the actual business requirements, for example, querying the logistics status of the goods purchased by the buyer, and transferring the electronic currency of the buyer to the address of the merchant after the buyer signs for the goods. Of course, the smart contract is not limited to executing the contract for the transaction, but can also execute the contract for processing the received information.

[0076] The first smart contract is the smart contract of the first user, and the second smart contract is the smart contract of the second user. The first smart contract and the second smart contract are smart contracts that are pre-chained into the blockchain network. The blockchain network can generate the first electronic document according to the first smart contract and the second smart contract in real time or periodically. The blockchain network can first determine that the first user matches the second user according to the first smart contract and the second smart contract, and then generate the first electronic document according to the first smart contract and the second smart contract. When the blockchain network determines that the first user matches the second user according to the first smart contract and the second smart contract, it can first determine whether the conditions included in the first smart contract match the conditions included in the second smart contract, and in the case that the conditions included in the first smart contract match the conditions included in the second smart contract, it can be determined that the first user matches the second user, and then the first electronic document can be generated according to the terms of the first smart contract and the second smart contract. The first electronic document is an operation agreed to be executed between the first user and the second user related to the terms of the first smart contract and the second smart contract. In the case that the conditions included in the first smart contract do not match the conditions included in the second smart contract, the first smart contract and the second smart contract can be matched with other smart contracts. The conditions included in the first smart contract and the conditions included in the second smart contract can be that the conditions included in the first smart contract and the conditions included in the second smart contract satisfy each other, or that the conditions included in the first smart contract and the conditions included in the second smart contract have an intersection, or that other conditions are satisfied between the conditions included in the first smart contract and the conditions included in the second smart contract. The first user and the second user can be individuals, units, enterprises, etc. The first electronic document is the generated original electronic contract, that is, the unsigned electronic contract. The first user can be Party A, and the second user can be Party B.

[0077] In some embodiments, the enterprise can seek for an investor in case the enterprise needs funds. Similarly, the enterprise can seek for an investment target in case the enterprise has surplus funds. In both cases, the investor or the investment target can be the first party or the second party, and the investor or the investment target can set up a first smart contract or a second smart contract according to the investment condition of the investor or the investment target, and deploy the first smart contract or the second smart contract to the blockchain, and generate an investment electronic contract according to the terms of the two smart contracts when there is another smart contract matching the condition of the smart contract deployed by the investor or the investment target.

[0078] 402. The blockchain network determines a second electronic document according to the first electronic document.

[0079] After the blockchain network generates the first electronic document according to the first smart contract and the second smart contract, the blockchain network can determine a second electronic document according to the first electronic document. The second electronic document is the first electronic document digitally signed by the first user and the second user. The blockchain network can first send a first signature instruction carrying the first electronic document to a second terminal device, which is a terminal device used by the first user. After receiving the first signature instruction from the blockchain network, the second terminal device can digitally sign the first electronic document, i.e., sign the first electronic document using the private key of the first user to obtain a third electronic document, and send the third electronic document to the blockchain network. After receiving the third electronic document sent by the second terminal device, the blockchain network can send a second signature instruction carrying the third electronic document to a third terminal device, which is a terminal device used by the second user. After receiving the second signature instruction from the blockchain network, the third terminal device can digitally sign the third electronic document, i.e., sign the third electronic document using the private key of the second user to obtain the second electronic document, and send the second electronic document to the blockchain network. The blockchain network receives the second electronic document from the third terminal device.

[0080] 403. The blockchain network sends a first transfer instruction carrying first digital information to the first client according to the first smart contract, the second smart contract, and the second electronic document.

[0081] After the blockchain network determines the second electronic document according to the first electronic document, the blockchain network can send a first transfer instruction carrying first digital information to the first client according to the first smart contract, the second smart contract, and the second electronic document. The first client is a client corresponding to the first user. The first digital information is the amount of money that needs to be transferred. In addition, the first transfer instruction can also carry the identifier of the second client. The second client is a client corresponding to the second user. The first client and the second client can be clients corresponding to the same server, for example, clients of two users under the same bank, or clients corresponding to different servers, for example, clients of different banks.

[0082] 404. The first client transfers data to the second client based on the first digital information.

[0083] After receiving a first transfer instruction from the blockchain network, the first client can transfer data to the second client based on the first digital information carried in the first transfer instruction. For example, transferring money from the first user to the second user.

[0084] 405. The blockchain network sends a freeze command carrying the first information to the first terminal device based on the first smart contract, the second smart contract, and the second electronic document.

[0085] After the blockchain network determines the second electronic document based on the first electronic document, it can send a freeze instruction carrying the first information to the first terminal device according to the first smart contract, the second smart contract, and the second electronic document. The ownership of the object corresponding to the first information belongs to the second user. The first information is the information of the assets of the second user that need to be frozen. Assets can be fixed assets, such as real estate, or non-fixed assets, such as equity. The first terminal device can be a government terminal device, a terminal device of a regulatory department supervising the second user, or a terminal device in other circumstances. Steps 403 and 405 can be executed in parallel or sequentially.

[0086] 406. The first terminal device freezes the object corresponding to the first information.

[0087] After receiving a freeze command from the blockchain network, the first terminal device can freeze the object corresponding to the first information. Once the object is frozen, ownership of it remains with the second user, but during the freeze period, the second user does not have the right to use or trade the object.

[0088] exist Figure 4 The described business processing method generates a smart contract based on the needs and conditions of both parties and uploads it to the blockchain network. The blockchain network then automatically finds a matching object based on the smart contract. After that, the blockchain network completes the digital signature of the electronic document by both parties. Based on the signed electronic document and the smart contract, the digital transfer and object freezing are automatically completed, reducing the user's involvement and thus improving efficiency.

[0089] based on Figure 1 Please refer to the network architecture shown. Figure 5 , Figure 5 This is a flowchart illustrating another information processing method disclosed in an embodiment of the present invention. Figure 5 As shown, the information processing method may include the following steps.

[0090] 501、The second terminal device sends the first smart contract to the blockchain network.

[0091] The second terminal device can first generate the smart contract and then send the first smart contract to the blockchain network. After generating the smart contract, the second terminal device can also first sign the smart contract using the private key of the first user and then send the first smart contract to the blockchain network. Correspondingly, the second terminal device can also send the public key of the first user to the blockchain network. After receiving the first smart contract from the second terminal device, the blockchain network can perform consensus processing on the first smart contract. In the case where the blockchain network receives the public key of the first user from the second terminal device, after receiving the first smart contract from the second terminal device, the blockchain network can first verify whether the first smart contract is the smart contract of the first user using the public key of the first user. In the case where the verification result is that the first smart contract is the smart contract of the first user, the blockchain network performs consensus processing on the first smart contract. In the case where the verification result is that the first smart contract is not the smart contract of the first user, the blockchain network can discard the first smart contract. In addition, prompt information for prompting that the first smart contract is not the smart contract of the first user can also be sent to the second terminal device. The second terminal device is a terminal device used by the first user.

[0092] 502、The third terminal device sends the second smart contract to the blockchain network.

[0093] The third terminal device can first generate the smart contract and then send the second smart contract to the blockchain network. After generating the smart contract, the third terminal device can also first sign the smart contract using the private key of the second user and then send the second smart contract to the blockchain network. Correspondingly, the third terminal device can also send the public key of the second user to the blockchain network. After receiving the second smart contract from the third terminal device, the blockchain network can perform consensus processing on the second smart contract. In the case where the blockchain network receives the public key of the second user from the third terminal device, after receiving the second smart contract from the third terminal device, the blockchain network can first verify whether the second smart contract is the smart contract of the second user using the public key of the second user. In the case where the verification result is that the second smart contract is the smart contract of the second user, the blockchain network performs consensus processing on the second smart contract. In the case where the verification result is that the second smart contract is not the smart contract of the second user, the blockchain network can discard the second smart contract. In addition, prompt information for prompting that the second smart contract is not the smart contract of the second user can also be sent to the third terminal device. The third terminal device is a terminal device used by the second user.

[0094] 503、The blockchain network generates a first electronic document according to the first smart contract and the second smart contract.

[0095] The first smart contract is a smart contract of the first user, and the second smart contract is a smart contract of the second user. The blockchain network can generate the first electronic document in real time or periodically according to the first smart contract and the second smart contract. The blockchain network can first determine that the first user matches the second user according to the first smart contract and the second smart contract, and then generate the first electronic document according to the first smart contract and the second smart contract. When the blockchain network determines that the first user matches the second user according to the first smart contract and the second smart contract, it can first determine whether the conditions included in the first smart contract match the conditions included in the second smart contract, and in the case that the conditions included in the first smart contract match the conditions included in the second smart contract, it can be determined that the first user matches the second user. In the case that the conditions included in the first smart contract do not match the conditions included in the second smart contract, the first smart contract and the second smart contract can be matched with other smart contracts. The conditions included in the first smart contract match the conditions included in the second smart contract, which can be that the conditions included in the first smart contract and the conditions included in the second smart contract satisfy each other, or that the conditions included in the first smart contract and the conditions included in the second smart contract have an intersection, or that other conditions are satisfied between the conditions included in the first smart contract and the conditions included in the second smart contract. The first user and the second user can be individuals, units, enterprises, etc. The first electronic document is the original electronic contract generated, that is, the unsigned electronic contract. The first user can be Party A, and the second user can be Party B.

[0096] 504、The blockchain network determines the second electronic document according to the first electronic document.

[0097] After the blockchain network generates the first electronic document according to the first smart contract and the second smart contract, it can determine the second electronic document according to the first electronic document. The second electronic document is the electronic document after the first electronic document is digitally signed by the first user and the second user. The blockchain network can first send a first signature instruction carrying the first electronic document to the second terminal device. After receiving the first signature instruction from the blockchain network, the second terminal device can digitally sign the first electronic document, that is, use the private key of the first user to sign the first electronic document to obtain a third electronic document, and send the third electronic document to the blockchain network. After receiving the third electronic document sent by the second terminal device, the blockchain network can send a second signature instruction carrying the third electronic document to the third terminal device. After receiving the second signature instruction from the blockchain network, the third terminal device can digitally sign the third electronic document, that is, use the private key of the second user to sign the third electronic document to obtain the second electronic document, and send the second electronic document to the blockchain network. The blockchain network receives the second electronic document from the third terminal device.

[0098] 505、The blockchain network sends a first transfer instruction carrying first digital information to the first client according to the first smart contract, the second smart contract and the second electronic document.

[0099] After the blockchain network determines the second electronic document according to the first electronic document, the blockchain network can send a first transfer instruction carrying first digital information to the first client according to the first smart contract, the second smart contract and the second electronic document. The first client is a client corresponding to the first user. The first digital information is the amount of money that needs to be transferred. In addition, the first transfer instruction can also carry the identity of the second client. The second client is a client corresponding to the second user. The first client and the second client can be clients corresponding to the same server, for example, clients of two users under the same bank, or clients corresponding to different servers, for example, clients of different banks.

[0100] 506、The first client transfers data to the second client according to the first digital information.

[0101] After the first client receives the first transfer instruction from the blockchain network, the first client can transfer data to the second client according to the first digital information carried by the first transfer instruction. For example, the money of the first user is transferred to the second user.

[0102] 507、The blockchain network sends a freezing instruction carrying first information to the first terminal device according to the first smart contract, the second smart contract and the second electronic document.

[0103] After the blockchain network determines the second electronic document according to the first electronic document, the blockchain network can send a freezing instruction carrying first information to the first terminal device according to the first smart contract, the second smart contract and the second electronic document. The ownership of the object corresponding to the first information is the second user. The first information is the information of the assets of the second user that need to be frozen. The assets can be fixed assets, such as real estate, or non-fixed assets, such as equity. The first terminal device can be a terminal device of the government, a terminal device of a regulatory department that regulates the second user, or a terminal device in other situations. The step 505 and the step 507 can be executed in parallel or in series.

[0104] 508、The first terminal device freezes the object corresponding to the first information.

[0105] After the first terminal device receives the freezing instruction from the blockchain network, the first terminal device can freeze the object corresponding to the first information according to the freezing instruction. After the object corresponding to the first information is frozen, the ownership of the object corresponding to the first information is still the second user, but the second user has no right to use and trade the object corresponding to the first information during the freezing period.

[0106] 509、in the case that the time interval between the current time and the deadline in the second electronic document is less than the threshold value, the blockchain network sends prompt information to the third terminal device.

[0107] The blockchain network can determine in real time or periodically that the time interval between the current time and the deadline in the second electronic document is less than the threshold value. In the case that the time interval between the current time and the deadline in the second electronic document is less than the threshold value, it indicates that the term of the electronic contract is approaching, and the blockchain network can send prompt information to the third terminal device. After the third terminal device receives the prompt information, the prompt information can be displayed to prompt the second user to transfer data to the first user, i.e., to prompt the user to repay.

[0108] 510、in the case that the current time is the deadline in the second electronic document and the second user does not transfer data to the first user, the blockchain network sends a change instruction carrying the first information to the first terminal device.

[0109] In the case that the current time is the deadline in the second electronic document and the second user does not transfer data to the first user, i.e., in the case that the second user does not transfer money to the first user before the expiration date of the electronic contract, it can be indicated that the second user will not repay the first user. The blockchain network can send a change instruction carrying the first information to the first terminal device.

[0110] 511、the first terminal device changes the ownership of the object corresponding to the first information from the second user to the first user.

[0111] After the first terminal device receives the first change instruction from the blockchain network, it can change the ownership of the object corresponding to the first information from the second user to the first user according to the first change instruction. That is, the object corresponding to the first information is used to repay the debt owed by the second user to the first user.

[0112] 512、the third terminal device sends a data transfer request to the blockchain network.

[0113] In the case that the current time is earlier than the deadline in the second electronic document, i.e., before the expiration of the electronic contract, the third terminal device can send a data transfer request to the blockchain network, and the data transfer request carries the identifier of the second electronic document.

[0114] 513、the blockchain network determines the second data information according to the current time and the second electronic document.

[0115] After the blockchain network receives the data transfer request from the third terminal device, the second data information can be determined according to the current time and the second electronic document. For example, the generated interest can be calculated according to the generation date of the electronic contract and the date of today, and then the sum of the principal and the interest is determined as the second data information.

[0116] 514、The blockchain network sends the second transfer instruction carrying the second data information to the second client.

[0117] After the blockchain network determines the second data information according to the current time and the second electronic document, the second transfer instruction carrying the second data information can be sent to the second client. The second transfer instruction can also carry the identification of the first client.

[0118] 515、The second client transfers data to the first client according to the second data information.

[0119] After the second client receives the second transfer instruction from the blockchain network, data can be transferred to the first client according to the second data information. For example, the money of the second user is transferred to the first user.

[0120] 516、The second client sends data transfer completion information to the blockchain network.

[0121] After the second client transfers data to the first client according to the second data information, data transfer completion information can be sent to the blockchain network.

[0122] 517、The blockchain network sends the unfreezing instruction carrying the first information to the first terminal device.

[0123] After the blockchain network receives the data transfer completion information from the second client, the unfreezing instruction carrying the first information can be sent to the first terminal device.

[0124] 518、The first terminal device unfreezes the object corresponding to the first information.

[0125] After the first terminal device receives the unfreezing instruction from the blockchain network, the object corresponding to the first information can be unfrozen. After unfreezing, the second user can use the right to buy and sell the object corresponding to the first information.

[0126] In Figure 5 In the business processing method described, the information such as the needs and conditions of both parties is generated into a smart contract and uploaded to the blockchain network. The blockchain network automatically finds a matching object according to the smart contract of both parties, and then completes the digital signature of the electronic document of both parties through the blockchain network, and automatically completes the digital transfer and object freezing according to the signed electronic document and the smart contract of both parties. The process of user participation is reduced, and therefore the efficiency is improved.

[0127] For example, the smart contract of the investment company A is the first smart contract, the smart contract of the company B is the second smart contract, the blockchain network determines that the investment company A and the company B can achieve good cooperation according to the first smart contract and the second smart contract, then generates an electronic contract according to the first smart contract and the second smart contract, and after the generated electronic contract is digitally signed by the investment company A and the company B, a transfer instruction of transferring money to the company B can be sent to the client corresponding to the investment company A to transfer money, and the assets of the company B are frozen. Subsequently, in the case that the company B does not repay the investment company A before the expiration of the electronic contract, a prompt message can be sent to remind the company B to repay. In the case that the company B repays before the expiration of the electronic contract, the frozen assets of the company B can be unfrozen. In the case that the company B has not repaid when the electronic contract expires, the frozen assets of the company B can be changed into the assets of the investment company A, which are used to mortgage the debt of the company B.

[0128] Based on Figure 1 The network structure is shown in FIG. 1. Please refer to Figure 6 , Figure 6 is a structural schematic diagram of an information processing device disclosed by an embodiment of the present application. The information processing device can be arranged in a blockchain network. As shown in Figure 6 , the information processing device can include:

[0129] The generating unit 601 is configured to generate a first electronic document according to a first smart contract and a second smart contract, the first smart contract being a smart contract of a first user, and the second smart contract being a smart contract of a second user.

[0130] The first determining unit 602 is configured to determine a second electronic document according to the first electronic document, the second electronic document being an electronic document after the first electronic document is digitally signed by the first user and the second user.

[0131] The sending unit 603 is configured to send a first transfer instruction carrying first digital information to a first client according to the first smart contract, the second smart contract and the second electronic document, the first transfer instruction being used to instruct the first client to transfer data to a second client according to the first digital information, the first client being a client corresponding to the first user, and the second client being a client corresponding to the second user.

[0132] The sending unit 603 is further configured to send a freezing instruction carrying first information to a first terminal device according to the first smart contract, the second smart contract and the second electronic document, the freezing instruction being used to instruct the first terminal device to freeze an object corresponding to the first information, and the object corresponding to the first information belonging to the second user.

[0133] In one embodiment, the generating unit 601 is specifically configured to:

[0134] determine that the first user matches the second user according to the first smart contract and the second smart contract;

[0135] generate the first electronic document according to the first smart contract and the second smart contract.

[0136] In one embodiment, the generating unit 601 determines that the first user matches the second user according to the first smart contract and the second smart contract, including:

[0137] determine that the first user matches the second user in a case where the condition included in the first smart contract matches the condition included in the second smart contract.

[0138] In one embodiment, the first determining unit 602 is specifically configured to:

[0139] send the first signature instruction carrying the first electronic document to the second terminal device, the second terminal device being a terminal device used by the first user;

[0140] receive the third electronic document sent from the second terminal device, the third electronic document being an electronic document in which the first electronic document is digitally signed by the first user;

[0141] send the second signature instruction carrying the third electronic document to the third terminal device, the third terminal device being a terminal device used by the second user;

[0142] receive the second electronic document from the third terminal device.

[0143] In one embodiment, the sending unit 603 is further configured to, in a case where a time interval between a current time and an expiration time in the second electronic document is less than a threshold value, send prompt information to the third terminal device, the prompt information being used to prompt the second user to transfer data to the first user.

[0144] In one embodiment, the sending unit 603 is further configured to, in a case where the current time is the expiration time in the second electronic document and the second user does not transfer data to the first user, send the change instruction carrying the first information to the first terminal device, the change instruction being used to instruct the first terminal device to change the ownership of an object corresponding to the first information from the second user to the first user.

[0145] In one embodiment, the information processing apparatus can further include:

[0146] the receiving unit 604 is configured to receive the data transfer request from the third terminal device, the data transfer request carrying an identifier of the second electronic document;

[0147] the second determining unit 605 is configured to determine the second data information according to the current time and the second electronic document.

[0148] The sending unit 603 is further configured to send, to the second client, a second transfer instruction carrying second data information, the second transfer instruction being used to instruct the second client to transfer data to the first client according to the second data information.

[0149] The sending unit 603 is further configured to, when receiving data transfer completion information from the second client, send, to the first terminal device, a thawing instruction carrying the first information, the thawing instruction being used to instruct the first terminal device to thaw the object corresponding to the first information.

[0150] The above generation unit 601, the first determination unit 602, the sending unit 603, the receiving unit 604 and the second determination unit 605 are described in detail above. Figure 4 and Figure 5 The above generation unit 601, the first determination unit 602, the sending unit 603, the receiving unit 604 and the second determination unit 605 are described in detail above.

[0151] Based on Figure 1 the network architecture shown in Figure 7 , Figure 7 is another structural schematic diagram of an information processing device disclosed by the embodiments of the present application. The information processing device can be arranged in a blockchain network, such as a blockchain node. As shown in Figure 7 , the information processing device can include a processor 701, a memory 702, an input interface 703, an output interface 704 and a connection line 705. The memory 702 can exist independently, and the connection line 705 is connected to the processor 701. The memory 702 can also be integrated with the processor 701. The connection line 705 can include a channel for transmitting information between the above components. The memory 702 stores program instructions, and the processor 701 is configured to execute the program instructions stored in the memory 702. Wherein:

[0152] The information processing device can be Figure 4 and Figure 5 The information processing device. When the program instructions stored in the memory 702 are executed, the processor 701 is configured to call the program instructions stored in the memory 702 to execute the operations performed by the generation unit 601, the first determination unit 602 and the second determination unit 605 in the above embodiments. The input interface 703 is configured to execute the operations performed by the receiving unit 604. The output interface 704 is configured to execute the operations performed by the sending unit 603.

[0153] The embodiments of the present application also disclose a computer readable storage medium, and the computer readable storage medium stores a computer program. When the computer program runs, the information processing method shown in Figure 4-5 is implemented.

[0154] The above detailed description has been given to the purpose of further explaining the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above description is only a specific implementation of the present application and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made on the basis of the technical solutions of the present application shall be included in the protection scope of the present application.

Claims

1. An information processing method characterized by comprising: The method is applied to a blockchain network, and comprises: generating a first electronic document according to a first smart contract and a second smart contract, the first smart contract being a smart contract of a first user, and the second smart contract being a smart contract of a second user; determining a second electronic document according to the first electronic document, the second electronic document being an electronic document of the first electronic document after being digitally signed by the first user and the second user; sending, to a first client, a first transfer instruction carrying first digital information according to the first smart contract, the second smart contract, and the second electronic document, the first transfer instruction being used to instruct the first client to transfer data to a second client according to the first digital information, the first client being a client corresponding to the first user, and the second client being a client corresponding to the second user; sending, to a first terminal device, a freezing instruction carrying first information according to the first smart contract, the second smart contract, and the second electronic document, the freezing instruction being used to instruct the first terminal device to freeze an object corresponding to the first information, the object corresponding to the first information being owned by the second user; in a case where a current time is earlier than a deadline in the second electronic document, receiving a data transfer request from a third terminal device, the data transfer request carrying an identifier of the second electronic document, the third terminal device being a terminal device used by the second user; determining second digital information according to the current time and the second electronic document; sending, to the second client, a second transfer instruction carrying the second digital information, the second transfer instruction being used to instruct the second client to transfer data to the first client according to the second digital information; when receiving data transfer completion information from the second client, sending, to the first terminal device, an unfreezing instruction carrying the first information, the unfreezing instruction being used to instruct the first terminal device to unfreeze the object corresponding to the first information.

2. The method of claim 1, wherein, The generating a first electronic document according to a first smart contract and a second smart contract comprises: determining that the first user matches the second user according to the first smart contract and the second smart contract; generating a first electronic document according to the first smart contract and the second smart contract.

3. The method of claim 2, wherein, The determining that the first user matches the second user according to the first smart contract and the second smart contract comprises: determining that the first user matches the second user in a case where a condition included in the first smart contract matches a condition included in the second smart contract.

4. The method according to any one of claims 1 to 3, characterized in that, The determining a second electronic document according to the first electronic document comprises: sending, to a second terminal device, a first signature instruction carrying the first electronic document, the second terminal device being a terminal device used by the first user; receiving a third electronic document sent by the second terminal device, the third electronic document being an electronic document of the first electronic document after being digitally signed by the first user; sending, to the third terminal device, a second signature instruction carrying the third electronic document; receive a second electronic document from the third terminal device.

5. The method of claim 4, wherein, The method further includes: in a case where a time interval between a current time and a deadline in the second electronic document is less than a threshold, sending prompt information to the third terminal device, the prompt information being used to prompt the second user to transfer data to the first user.

6. The method of claim 4, wherein, The method further includes: in a case where the current time is the deadline in the second electronic document and the second user does not transfer data to the first user, sending a change instruction carrying the first information to the first terminal device, the change instruction being used to instruct the first terminal device to change the ownership of an object corresponding to the first information from the second user to the first user.

7. An information processing apparatus, characterized by comprising: The apparatus is arranged in a blockchain network, comprising: a generation unit configured to generate a first electronic document according to a first smart contract and a second smart contract, the first smart contract being a smart contract of a first user, and the second smart contract being a smart contract of a second user; a first determination unit configured to determine a second electronic document according to the first electronic document, the second electronic document being an electronic document after the first electronic document is digitally signed by the first user and the second user; a sending unit configured to send, to a first client, a first transfer instruction carrying first digital information according to the first smart contract, the second smart contract, and the second electronic document, the first transfer instruction being used to instruct the first client to transfer data to a second client according to the first digital information, the first client being a client corresponding to the first user, and the second client being a client corresponding to the second user; the sending unit is further configured to send, to a first terminal device, a freeze instruction carrying first information according to the first smart contract, the second smart contract, and the second electronic document, the freeze instruction being used to instruct the first terminal device to freeze an object corresponding to the first information, the object corresponding to the first information being owned by the second user; a receiving unit configured to receive, in a case where a current time is earlier than a deadline in the second electronic document, a data transfer request from a third terminal device, the data transfer request carrying an identifier of the second electronic document, the third terminal device being a terminal device used by the second user; a second determination unit configured to determine second digital information according to the current time and the second electronic document; the sending unit is further configured to send, to the second client, a second transfer instruction carrying the second digital information, the second transfer instruction being used to instruct the second client to transfer data to the first client according to the second digital information; the sending unit is further configured to send, to the first terminal device, an unfreeze instruction carrying the first information when receiving a data transfer completion information from the second client, the unfreeze instruction being used to instruct the first terminal device to unfreeze the object corresponding to the first information. 8.An information processing apparatus, the apparatus being arranged in a blockchain network, characterized by comprising: The apparatus comprises a processor, a memory, an input interface and an output interface, the memory is used to store a set of computer program codes, the input interface is used to receive information from other apparatuses outside the apparatus, the output interface is used to output information to other apparatuses outside the apparatus, and the processor is used to call the computer program codes stored in the memory to realize the information processing method according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer program or computer instructions are stored in the computer readable storage medium, and when the computer program or computer instructions are run, the information processing method according to any one of claims 1-6 is realized.

Citation Information

Patent Citations

  • Eligibility of a digital asset for a transaction

    US20200065802A1

  • Smart contract generation method and apparatus

    WO2019144745A1