[go: up one dir, main page]

CN111583045A - Information processing method and device and computer readable storage medium - Google Patents

Information processing method and device and computer readable storage medium Download PDF

Info

Publication number
CN111583045A
CN111583045A CN202010362230.8A CN202010362230A CN111583045A CN 111583045 A CN111583045 A CN 111583045A CN 202010362230 A CN202010362230 A CN 202010362230A CN 111583045 A CN111583045 A CN 111583045A
Authority
CN
China
Prior art keywords
smart contract
user
electronic document
information
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010362230.8A
Other languages
Chinese (zh)
Inventor
刘攀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010362230.8A priority Critical patent/CN111583045A/en
Publication of CN111583045A publication Critical patent/CN111583045A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Development Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computing Systems (AREA)
  • Game Theory and Decision Science (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses an information processing method, an information processing device and a computer readable storage medium, wherein the method is applied to a block chain network and comprises the following steps: generating a first electronic document according to a first intelligent contract of a first user and a second intelligent 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 a first intelligent contract, a second intelligent contract and a second electronic document, wherein the first transfer instruction is used for indicating the first client to transfer data to a second client according to the first digital information, the first client is a client corresponding to a first user, and the second client is a client corresponding to a second user; and sending a freezing instruction carrying the first information to the first terminal equipment according to the first intelligent contract, the second intelligent contract and the second electronic document, wherein the freezing instruction is used for indicating the first terminal equipment to freeze an object corresponding to the first information. The embodiment of the invention can improve the efficiency.

Description

一种信息处理方法、装置及计算机可读存储介质An information processing method, device and computer readable storage medium

技术领域technical field

本发明实施例涉及区块链技术领域,尤其涉及一种信息处理方法、装置及计算机可读存储介质。Embodiments of the present invention relate to the field of blockchain technology, and in particular, to an information processing method, an apparatus, and a computer-readable storage medium.

背景技术Background technique

在企业需要资金的情况下,企业可以寻找投资方。同样地,在企业资金剩余的情况下,也可以寻找投资对象。在上述两种情况下,寻找投资方或投资对象的时候必须有相应的消息渠道或通过第三方来实现,在双方都有合作意向的情况下,进行谈判,谈判成功后签署合同,之后根据合同进行资金转移或资产冻结。上述方法中,所需时间较长,以致降低了效率。In the event that the business needs capital, the business can seek investors. Similarly, in the case of remaining corporate funds, you can also look for investment objects. In the above two cases, when looking for investors or investment objects, there must be a corresponding news channel or through a third party. When both parties have the intention to cooperate, negotiate, sign the contract after the negotiation is successful, and then according to the contract Fund transfers or asset freezes. In the above-mentioned method, the time required is long, so that the efficiency is lowered.

发明内容SUMMARY OF THE INVENTION

本发明实施例公开了一种信息处理方法、装置及计算机可读存储介质,用于提高效率。Embodiments of the present invention disclose an information processing method, an apparatus, and a computer-readable storage medium, which are used to improve efficiency.

第一方面公开一种信息处理方法,所述方法应用于区块链网络,包括:A first aspect discloses an information processing method, the method is applied to a blockchain network, including:

根据第一智能合约和第二智能合约,生成第一电子文档,所述第一智能合约为第一用户的智能合约,所述第二智能合约为第二用户的智能合约;generating a first electronic document according to the first smart contract and the second smart contract, where 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;

根据所述第一电子文档确定第二电子文档,所述第二电子文档是所述第一电子文档经所述第一用户和所述第二用户数字签名后的电子文档;determining a second electronic document according to the first electronic document, where the second electronic document is an electronic document of the first electronic document 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, a first transfer instruction carrying the first digital information is sent to the first client, where the first transfer instruction is used to instruct the The first client transfers data to a 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 the client;

根据所述第一智能合约、所述第二智能合约和所述第二电子文档,向第一终端设备发送携带有第一信息的冻结指令,所述冻结指令用于指示所述第一终端设备冻结所述第一信息对应的对象,所述第一信息对应的对象的归属权为所述第二用户。According to the first smart contract, the second smart contract and the second electronic document, a freezing instruction carrying the first information is sent to the first terminal device, where the freezing instruction is used to instruct the first terminal device The object corresponding to the first information is frozen, and the attribution of the object corresponding to the first information is the second user.

作为一种可能的实施方式,所述根据第一智能合约和第二智能合约,生成第一电子文档包括:As a possible implementation manner, the generating the first electronic document according to the first smart contract and the second smart contract includes:

根据第一智能合约和第二智能合约,确定所述第一用户与所述第二用户匹配;According to the first smart contract and the second smart contract, it is determined that the first user matches the second user;

根据所述第一智能合约和所述第二智能合约,生成第一电子文档。A first electronic document is generated according to the first smart contract and the second smart contract.

作为一种可能的实施方式,所述根据第一智能合约和第二智能合约,确定所述第一用户与所述第二用户匹配包括:As a possible implementation manner, the determining that the first user matches the second user according to the first smart contract and the second smart contract includes:

在第一智能合约包括的条件与第二智能合约包括的条件匹配的情况下,确定所述第一用户与所述第二用户匹配。In a case where the condition included in the first smart contract matches the condition included in the second smart contract, it is determined that the first user matches the second user.

作为一种可能的实施方式,所述根据所述第一电子文档确定第二电子文档包括:As a possible implementation manner, the determining the second electronic document according to the first electronic document includes:

向第二终端设备发送携带有所述第一电子文档的第一签名指令,所述第二终端设备为所述第一用户使用的终端设备;sending a first signature instruction carrying the first electronic document to a second terminal device, where the second terminal device is a terminal device used by the first user;

接收来自所述第二终端设备发送的第三电子文档,所述第三电子文档是所述第一电子文档经所述第一用户数字签名的电子文档;receiving a third electronic document sent from the second terminal device, where the third electronic document is an electronic document of the first electronic document digitally signed by the first user;

向第三终端设备发送携带有所述第三电子文档的第二签名指令,所述第三终端设备为所述第二用户使用的终端设备;sending a second signature instruction carrying the third electronic document to a third terminal device, where the third terminal device is a terminal device used by the second user;

接收来自所述第三终端设备的第二电子文档。A second electronic document from the third terminal device is received.

作为一种可能的实施方式,所述方法还包括:As a possible implementation manner, the method further includes:

在当前时间与所述第二电子文档中的截止时间之间的时间间隔小于阈值的情况下,向所述第三终端设备发送提示信息,所述提示信息用于提示所述第二用户向所述第一用户转移数据。In the case that the time interval between the current time and the deadline in the second electronic document is smaller than the threshold value, send prompt information to the third terminal device, where the prompt information is used to prompt the second user to send The first user transfers data.

作为一种可能的实施方式,所述方法还包括:As a possible implementation manner, the method further includes:

在当前时间为所述第二电子文档中的截止时间,且所述第二用户未向所述第一用户转移数据的情况下,向所述第一终端设备发送携带有所述第一信息的变更指令,所述变更指令用于指示所述第一终端设备将所述第一信息对应的对象的归属权由所述第二用户变更为所述第一用户。In the case that the current time is the deadline in the second electronic document, and the second user has not transferred data to the first user, send a message carrying the first information to the first terminal device A change instruction, where the change instruction is used to instruct the first terminal device to change the attribution of the object corresponding to the first information from the second user to the first user.

作为一种可能的实施方式,所述方法还包括:As a possible implementation manner, the method further includes:

接收来自所述第三终端设备的数据转移请求,所述数据转移请求携带有所述第二电子文档的标识;receiving a data transfer request from the third terminal device, where the data transfer request carries the identifier of the second electronic document;

根据当前时间和所述第二电子文档确定第二数据信息;determining second data information according to the current time and the second electronic document;

向所述第二客户端发送携带有所述第二数据信息的第二转移指令,所述第二转移指令用于指示所述第二客户端根据所述第二数据信息向所述第一客户端转移数据;Send a second transfer instruction carrying the second data information to the second client, where the second transfer instruction is used to instruct the second client to send the first client to the first client according to the second data information Transfer data from the terminal;

接收到来自所述第二客户端的数据转移完成信息时,向所述第一终端设备发送携带有所述第一信息的解冻指令,所述解冻指令用于指示所述第一终端设备解冻所述第一信息对应的对象。When receiving the data transfer completion information from the second client, send an unfreezing instruction carrying the first information to the first terminal device, where the unfreezing instruction is used to instruct the first terminal device to unfreeze the The object corresponding to the first information.

第二方面公开一种信息处理装置,所述装置设置在区块链网络中,包括:A second aspect discloses an information processing device, the device is set in a blockchain network, and includes:

生成单元,用于根据第一智能合约和第二智能合约,生成第一电子文档,所述第一智能合约为第一用户的智能合约,所述第二智能合约为第二用户的智能合约;a generating unit, configured to generate a first electronic document according to the first smart contract and the second smart contract, 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;

第一确定单元,用于根据所述第一电子文档确定第二电子文档,所述第二电子文档是所述第一电子文档经所述第一用户和所述第二用户数字签名后的电子文档;A first determining unit, configured to determine a second electronic document according to the first electronic document, where the second electronic document is an electronic document digitally signed by the first user and the second user of the first electronic document documentation;

发送单元,用于根据所述第一智能合约、所述第二智能合约和所述第二电子文档,向第一客户端发送携带有第一数字信息的第一转移指令,所述第一转移指令用于指示所述第一客户端根据所述第一数字信息向第二客户端转移数据,所述第一客户端为所述第一用户对应的客户端,所述第二客户端为所述第二用户对应的客户端;a sending unit, configured to send a first transfer instruction carrying the first digital information to the first client according to the first smart contract, the second smart contract and the second electronic document, the first transfer The instruction is used to instruct the first client to transfer data to a second client according to the first digital information, the first client is the client corresponding to the first user, and the second client is the the client terminal corresponding to the second user;

所述发送单元,还用于根据所述第一智能合约、所述第二智能合约和所述第二电子文档,向第一终端设备发送携带有第一信息的冻结指令,所述冻结指令用于指示所述第一终端设备冻结所述第一信息对应的对象,所述第一信息对应的对象的归属权为所述第二用户。The sending unit is further configured to send a freezing 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, and the freezing instruction uses for instructing the first terminal device to freeze the object corresponding to the first information, and the attribution of the object corresponding to the first information is the second user.

作为一种可能的实施方式,所述生成单元具体用于:As a possible implementation manner, the generating unit is specifically used for:

根据第一智能合约和第二智能合约,确定所述第一用户与所述第二用户匹配;According to the first smart contract and the second smart contract, it is determined that the first user matches the second user;

根据所述第一智能合约和所述第二智能合约,生成第一电子文档。A first electronic document is generated according to the first smart contract and the second smart contract.

作为一种可能的实施方式,所述生成单元根据第一智能合约和第二智能合约,确定所述第一用户与所述第二用户匹配包括:As a possible implementation manner, according to the first smart contract and the second smart contract, the determining that the first user matches the second user includes:

在第一智能合约包括的条件与第二智能合约包括的条件匹配的情况下,确定所述第一用户与所述第二用户匹配。In a case where the condition included in the first smart contract matches the condition included in the second smart contract, it is determined that the first user matches the second user.

作为一种可能的实施方式,所述第一确定单元具体用于:As a possible implementation manner, the first determining unit is specifically used for:

向第二终端设备发送携带有所述第一电子文档的第一签名指令,所述第二终端设备为所述第一用户使用的终端设备;sending a first signature instruction carrying the first electronic document to a second terminal device, where the second terminal device is a terminal device used by the first user;

接收来自所述第二终端设备发送的第三电子文档,所述第三电子文档是所述第一电子文档经所述第一用户数字签名的电子文档;receiving a third electronic document sent from the second terminal device, where the third electronic document is an electronic document of the first electronic document digitally signed by the first user;

向第三终端设备发送携带有所述第三电子文档的第二签名指令,所述第三终端设备为所述第二用户使用的终端设备;sending a second signature instruction carrying the third electronic document to a third terminal device, where the third terminal device is a terminal device used by the second user;

接收来自所述第三终端设备的第二电子文档。A second electronic document from the third terminal device is received.

作为一种可能的实施方式,所述发送单元,还用于在当前时间与所述第二电子文档中的截止时间之间的时间间隔小于阈值的情况下,向所述第三终端设备发送提示信息,所述提示信息用于提示所述第二用户向所述第一用户转移数据。As a possible implementation manner, the sending unit is further configured to send a prompt to the third terminal device when the time interval between the current time and the deadline in the second electronic document is less than a threshold information, where the prompt information is used to prompt the second user to transfer data to the first user.

作为一种可能的实施方式,所述发送单元,还用于在当前时间为所述第二电子文档中的截止时间,且所述第二用户未向所述第一用户转移数据的情况下,向所述第一终端设备发送携带有所述第一信息的变更指令,所述变更指令用于指示所述第一终端设备将所述第一信息对应的对象的归属权由所述第二用户变更为所述第一用户。As a possible implementation manner, the sending unit is further configured to: when the current time is the deadline in the second electronic document and the second user has not transferred data to the first user, Send a change instruction carrying the first information to the first terminal device, where the change instruction is used to instruct the first terminal device to assign the attribution of the object corresponding to the first information to the second user Change to the first user.

作为一种可能的实施方式,所述装置还包括:As a possible implementation manner, the device further includes:

接收单元,用于接收来自所述第三终端设备的数据转移请求,所述数据转移请求携带有所述第二电子文档的标识;a receiving unit, configured to receive a data transfer request from the third terminal device, where the data transfer request carries the identifier of the second electronic document;

第二确定单元,用于根据当前时间和所述第二电子文档确定第二数据信息;a second determining unit, configured to determine second data information according to the current time and the second electronic document;

所述发送单元,还用于向所述第二客户端发送携带有所述第二数据信息的第二转移指令,所述第二转移指令用于指示所述第二客户端根据所述第二数据信息向所述第一客户端转移数据;The sending unit is further configured to send a second transfer instruction carrying the second data information to the second client, where the second transfer instruction is used to instruct the second client to transferring data information to the first client;

所述发送单元,还用于接收到来自所述第二客户端的数据转移完成信息时,向所述第一终端设备发送携带有所述第一信息的解冻指令,所述解冻指令用于指示所述第一终端设备解冻所述第一信息对应的对象。The sending unit is further configured to send an unfreezing instruction carrying the first information to the first terminal device when receiving the data transfer completion information from the second client, where the unfreezing instruction is used to instruct the The first terminal device unfreezes the object corresponding to the first information.

第三方面公开一种信息处理装置,该装置包括处理器、存储器、输入接口和输出接口,存储器用于存储一组计算机程序代码,输入接口用于接收来自该装置之外的其它装置的信息,输出接口用于向该装置之外的其它装置输出信息。当处理器用于调用所述存储器中存储的计算机程序代码时,使得处理器执行第一方面或第一方面的任一可能实现方式所公开的信息处理方法。A third aspect discloses an information processing device, the device includes a processor, a memory, an input interface and an output interface, the memory is used for storing a set of computer program codes, the input interface is used for receiving information from other devices other than the device, The output interface is used to output information to other devices than the device. When the processor is used to call the computer program code 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.

第四方面公开一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序或计算机指令,当该计算机程序或计算机指令运行时,实现如第一方面或第一方面的任一可能实现方式所公开的信息处理方法。A fourth aspect discloses a computer-readable storage medium on which a computer program or computer instruction is stored, and when the computer program or computer instruction is executed, any possibility such as the first aspect or the first aspect is realized. Implementation of the disclosed information processing method.

第五方面公开一种计算机程序产品,当其在计算机上运行时,使得计算机执行第一方面或第一方面的任一可能实现方式所公开的信息处理方法。A 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.

本发明实施例中,区块链网络根据第一智能合约和第二智能合约生成第一电子文档,第一智能合约为第一用户的智能合约,第二智能合约为第二用户的智能合约;根据第一电子文档确定第二电子文档,第二电子文档是第一电子文档经第一用户和第二用户数字签名后的电子文档;根据第一智能合约、第二智能合约和第二电子文档,向第一客户端发送携带有第一数字信息的第一转移指令,第一转移指令用于指示第一客户端根据第一数字信息向第二客户端转移数据,第一客户端为第一用户对应的客户端,第二客户端为第二用户对应的客户端;根据第一智能合约、第二智能合约和第二电子文档,向第一终端设备发送携带有第一信息的冻结指令,冻结指令用于指示第一终端设备冻结第一信息对应的对象,第一信息对应的对象的归属权为第二用户。将双方的需求和条件等信息生成智能合约上传到区块链网络,由区块链网络根据双方的智能合约自动寻找匹配的对象,之后通过区块链网络完成双方对电子文档的数字签名,根据签名后的电子文档和双方的智能合约自动完成数字转移和对象冻结,降低了用户参与的过程,因此,提高了效率。In the embodiment of the present invention, the blockchain network generates the first electronic document according to the first smart contract and the second smart contract, 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 second electronic document is determined according to the first electronic document, and 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 , send a first transfer instruction carrying the 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, and the first client is the first The client corresponding to the user, and the second client is the client corresponding to the second user; according to the first smart contract, the second smart contract and the second electronic document, a freezing instruction carrying the first information is sent to the first terminal device, The freezing instruction is used to instruct the first terminal device to freeze the object corresponding to the first information, and the attribution of the object corresponding to the first information is the second user. Generate a smart contract based on the needs and conditions of both parties and upload it to the blockchain network. The blockchain network automatically finds matching objects according to the smart contracts of both parties, and then completes the digital signature of the electronic documents by both parties through the blockchain network. The signed electronic document and the smart contracts of both parties automatically complete the digital transfer and object freezing, which reduces the process of user participation and, therefore, improves efficiency.

附图说明Description of drawings

图1是本发明实施例公开的一种网络结构示意图;1 is a schematic diagram of a network structure disclosed in an embodiment of the present invention;

图2是本发明实施例公开的一种区块链由多个区块组成的示意图;Fig. 2 is a schematic diagram of a block chain composed of multiple blocks disclosed in an embodiment of the present invention;

图3是本发明实施例公开的一种区块链中生成区块的示意图;3 is a schematic diagram of generating blocks in a blockchain disclosed in an embodiment of the present invention;

图4是本发明实施例公开的一种信息处理方法的流程示意图;4 is a schematic flowchart of an information processing method disclosed in an embodiment of the present invention;

图5是本发明实施例公开的另一种信息处理方法的流程示意图;5 is a schematic flowchart of another information processing method disclosed in an embodiment of the present invention;

图6是本发明实施例公开的一种信息处理装置的结构示意图;6 is a schematic structural diagram of an information processing apparatus disclosed in an embodiment of the present invention;

图7是本发明实施例公开的另一种信息处理装置的结构示意图。FIG. 7 is a schematic structural diagram of another information processing apparatus disclosed in an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例公开了一种信息处理方法、装置及计算机可读存储介质,用于提高效率。以下分别进行详细说明。Embodiments of the present invention disclose an information processing method, an apparatus, and a computer-readable storage medium, which are used to improve efficiency. Each of them will be described in detail below.

为了更好地理解本发明实施例公开的一种信息处理方法、装置及计算机可读存储介质,下面先对本发明实施例使用的网络架构进行描述。请参阅图1,图1是本发明实施例公开的一种网络架构示意图。如图1所示,该网络架构可以包括区块链网络101、多个客户端102(图1示意了一个)和多个终端设备103(图1示意了一个)。区块链网络101,用于向客户端102发送转移指令。客户端102,用于接收来自区块链网络101的转移指令,根据转移指令向其他客户端转移102数据。客户端102,还用于向区块链网络101发送数据转移完成信息。区块链网络101,还用于接收来自于客户端102的数据转移完成信息,表明数据转移成功。区块链网络101,还用于向终端设备103发送信息,以及接收来自终端设备103的信息。终端设备103,用于向区块链网络101发送信息,以及接收来自区块链网络101的信息。In order to better understand an information processing method, an apparatus, and a computer-readable storage medium disclosed in the embodiments of the present invention, the network architecture used in the embodiments of the present invention is first described below. Please refer to FIG. 1. FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention. As shown in FIG. 1 , the network architecture may include a blockchain network 101 , multiple clients 102 (one is illustrated in FIG. 1 ) and multiple terminal devices 103 (one is illustrated in FIG. 1 ). The blockchain network 101 is used to send transfer instructions to the client 102 . The client 102 is configured to receive a transfer instruction from the blockchain network 101, and transfer 102 data to other clients according to the transfer instruction. The client 102 is further configured to send data transfer completion information to the blockchain network 101 . The blockchain network 101 is further configured 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 .

区块链网络101是指用于节点与节点之间进行数据共享的网络,该区块链网络101中可以包括多个节点1011,多个节点1011可以是指区块链网络101中各个客户端。每个节点1011在进行正常工作可以接收到输入信息,并基于接收到的输入信息维护该区块链网络101内的共享数据。为了保证区块链网络101内的信息互通,区块链网络101中的每个节点之间可以存在信息连接,节点之间可以通过上述信息连接进行信息传输。例如,当区块链网络101中的任意节点接收到输入信息时,区块链网络101中的其他节点便可以根据共识算法获取该输入信息,将该输入信息作为共享数据中的数据进行存储,使得区块链网络101中全部节点上存储的数据均一致。The blockchain network 101 refers to a network for data sharing between nodes. The blockchain network 101 may include multiple nodes 1011, and the multiple nodes 1011 may refer to each client in the blockchain network 101. . Each node 1011 can receive input information during normal operation, and maintain shared data within the blockchain network 101 based on the received input information. In order to ensure the information exchange in the blockchain network 101, there may be an information connection between each node in the blockchain network 101, and the nodes may perform information transmission through the above 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 the consensus algorithm, and store the input information as data in the shared data, This makes the data stored on all nodes in the blockchain network 101 consistent.

对于区块链网络101中的每个节点,均具有与其对应的节点标识,而且区块链网络101中的每个节点均可以存储有区块链网络101中其他节点的节点标识,以便后续根据其他节点的节点标识,将生成的区块广播至区块链网络101中的其他节点。每个节点中可维护一个如表1所示的节点标识列表,将节点名称和节点标识对应存储至该节点标识列表中。其中,节点标识可为网络之间互联的协议(internet protocol,IP)地址以及其他任一种能够用于标识该节点的信息,表1中仅以IP地址为例进行说明。Each node in the blockchain network 101 has a corresponding node identifier, and each node in the blockchain network 101 can store the node identifiers of other nodes in the blockchain network 101 for subsequent use according to Node identifiers of other nodes to broadcast the generated block to other nodes in the blockchain network 101 . A node identification list as shown in Table 1 may be maintained in each node, and the node name and the node identification are correspondingly stored in the node identification list. The node identifier may be an internet protocol (IP) address interconnected between networks and any other information that can be used to identify the node. Table 1 only takes the IP address as an example for description.

节点名称node name 节点标识Node ID 节点1Node 1 117.114.151.174117.114.151.174 节点2Node 2 117.116.189.145117.116.189.145 节点NNode N 119.123.789.258119.123.789.258

表1节点标识列表Table 1 Node ID List

区块链网络101中的每个节点均存储一条相同的区块链。请参阅图2,图2是本发明实施例公开的一种区块链由多个区块组成的示意图。如图2所示,区块链由多个区块组成,创始块中包括区块头和区块主体,区块头中存储有输入信息特征值、版本号、时间戳和难度值,区块主体中存储有输入信息;创始块的下一区块以创始块为父区块,下一区块中同样包括区块头和区块主体,区块头中存储有当前区块的输入信息特征值、父区块的区块头特征值、版本号、时间戳和难度值,并以此类推,使得区块链中每个区块中存储的区块数据均与父区块中存储的区块数据存在关联,保证了区块中输入信息的安全性。Each node in the blockchain network 101 stores an identical blockchain. Please refer to FIG. 2. FIG. 2 is a schematic diagram of a block chain composed of multiple blocks disclosed in an embodiment of the present invention. As shown in Figure 2, the blockchain consists of multiple blocks. The founding block includes a block header and a block body. The block header stores the input information feature value, version number, timestamp and difficulty value. The block body contains Input information is stored; the next block of the genesis block takes the genesis block as the parent block, the next block also includes the block header and the block body, and the block header stores the input information characteristic value of the current block, the parent block The block header feature value, version number, timestamp and difficulty value of the block, 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. The security of the input information in the block is guaranteed.

请参阅图3,图3是本发明实施例公开的一种区块链中生成区块的示意图。如图3所示,在生成区块链中的各个区块时,区块链所在的节点在接收到输入信息时,对输入信息进行校验,完成校验后,将输入信息存储至内存池中,并更新其用于记录输入信息的哈希树;之后,将更新时间戳更新为接收到输入信息的时间,并尝试不同的随机数,多次进行特征值计算,使得计算得到的特征值可以满足下述公式:Please refer to FIG. 3 , which is a schematic diagram of generating blocks in a blockchain disclosed in an embodiment of the present invention. As shown in Figure 3, when each block in the blockchain is generated, when the node where the blockchain is located receives the input information, it verifies the input information, and after the verification is completed, the input information is stored in the memory pool , and update the hash tree used to record the input information; after that, update the update timestamp to the time when the input information was received, and try different random numbers, and perform the eigenvalue calculation multiple times, so that the calculated eigenvalues The following formula can be satisfied:

SHA256(SHA256(version+prev_hash+merkleroot+ntime+nbits+x))<TARGET其中,SHA256为计算特征值所用的特征值算法;version(版本号)为区块链中相关区块协议的版本信息;prev_hash为当前区块的父区块的区块头特征值;merkle_root为输入信息的特征值;ntime为更新时间戳的更新时间;nbits为当前难度,在一段时间内为定值,并在超出固定时间段后再次进行确定;x为随机数;TARGET为特征值阈值,该特征值阈值可以根据nbits确定得到。SHA256(SHA256(version+prev_hash+merkle root +ntime+nbits+x))<TARGET Among them, SHA256 is the eigenvalue algorithm used to calculate the eigenvalue; version (version number) is the version information of the relevant block protocol in the blockchain ; prev_hash is the block header feature value of the parent block of the current block; merkle_root is the feature value of the input information; ntime is the update time of the update timestamp; nbits is the current difficulty, which is a fixed value within a period of time, and exceeds the fixed value Determine again after the time period; x is a random number; TARGET is the characteristic value threshold, which can be determined according to nbits.

这样,当计算得到满足上述公式的随机数时,便可将信息对应存储,生成区块头和区块主体,得到当前区块。随后,区块链所在节点根据区块链网络101中其他节点的节点标识,将新生成的区块分别发送给其所在的区块链网络101中的其他节点,由其他节点对新生成的区块进行校验,并在完成校验后将新生成的区块添加至其存储的区块链中。In this way, when the random number satisfying the above formula is obtained by calculation, the information can be stored correspondingly, the block header and the block body can be generated, and the current block can be obtained. Subsequently, the node where the blockchain is located sends the newly generated blocks to other nodes in the blockchain network 101 where it is located according to the node identifiers of other nodes in the blockchain network 101, and the other nodes check the newly generated blocks. The block is verified and the newly generated block is added to the blockchain where it is stored after verification is complete.

客户端102为可以与用户绑定的,且可以进行转账(即进行数据转移)的客户端,可以通过账号绑定,也可以通过其他方式绑定,在此不加限定。例如,客户端102可以为银行卡对应的客户端,也可以为微信客户端,还可以为其他可以用于转账的客户端。The client 102 is a client that can be bound with a user and can perform transfer (ie, data transfer), and can be bound by an account or by other means, which is not limited herein. For example, the client 102 may be a client corresponding to a bank card, a WeChat client, or another client that can be used for transfer.

终端设备103可以为用户终端(user equipment,UE)、手机、电脑等电子设备。终端设备103也可以为服务器。The terminal device 103 may be an electronic device such as a user terminal (user equipment, UE), a mobile phone, and a computer. The terminal device 103 may also be a server.

基于图1所示的网络结构,请参阅图4,图4是本发明实施例公开的一种信息处理方法的流程示意图。如图4所示,该信息处理方法可以包括以下步骤。Based on the network structure shown in FIG. 1 , please refer to FIG. 4 , which is a schematic flowchart of an information processing method disclosed in an embodiment of the present invention. As shown in FIG. 4 , the information processing method may include the following steps.

401、区块链网络根据第一智能合约和第二智能合约生成第一电子文档。401. The blockchain network generates a first electronic document according to the first smart contract and the second smart contract.

在本实施例中,智能合约为计算机化的协议,可以执行某个合约的条款,通过部署在共享账本上的用于在满足一定条件时而执行的代码实现,根据实际的业务需求代码用于完成自动化的交易。例如,查询买家所购买商品的物流状态,在买家签收货物后将买家的电子货币转移到商户的地址。当然,智能合约不仅限于执行用于交易的合约,还可以执行对接收的信息进行处理的合约。In this embodiment, the smart contract is a computerized agreement, which can execute the terms of a certain contract. Automated transactions. For example, query the logistics status of the goods purchased by the buyer, and transfer the buyer's electronic currency to the merchant's address after the buyer signs for the goods. Of course, smart contracts are not limited to executing contracts for transactions, but can also execute contracts that process received information.

第一智能合约为第一用户的智能合约,第二智能合约为第二用户的智能合约。第一智能合约与第二智能合约是预先上链到区块链网络中的智能合约。区块链网络可以实时地或周期性地根据第一智能合约和第二智能合约生成第一电子文档。区块链网络可以先根据第一智能合约和第二智能合约确定第一用户与第二用户匹配,之后根据第一智能合约和第二智能合约生成第一电子文档。区块链网络根据第一智能合约和第二智能合约确定第一用户与第二用户匹配时,可以先判断第一智能合约包括的条件与第二智能合约包括的条件是否匹配,在判断出第一智能合约包括的条件与第二智能合约包括的条件匹配的情况下,可以确定第一用户与第二用户匹配,之后可以根据第一智能合约和第二智能合约的条款生成第一电子文档,该第一电子文档是与第一智能合约和第二智能合约的条款相关的在第一用户与第二用户之间约定执行的操作。在判断出第一智能合约包括的条件与第二智能合约包括的条件不匹配的情况下,可以将第一智能合约与第二智能合约与其他智能合约进行匹配。第一智能合约包括的条件与第二智能合约包括的条件匹配,可以是第一智能合约包括的条件与第二智能合约包括的条件相互满足,也可以是第一智能合约包括的条件与第二智能合约包括的条件存在交集,还可以是第一智能合约包括的条件与第二智能合约包括的条件之间满足其他条件。第一用户和第二用户可以为个人,也可以为单位、企业等。第一电子文档即生成的原始电子合同,也即未经签名的电子合同。其中,第一用户可以为甲方,第二用户可以为乙方。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 pre-chained into the blockchain network. The blockchain network may generate the first electronic document according to the first smart contract and the second smart contract in real time or periodically. The blockchain network may 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 and the second user are matched 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. In the case where 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 performed between the first user and the second user in relation to the terms of the first smart contract and the second smart contract. When it is determined 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 may be that the conditions included in the first smart contract and the conditions included in the second smart contract satisfy each other, or the conditions included in the first smart contract and the second smart contract. There is an intersection of the conditions included in the smart contract, and other conditions may also be 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 may be individuals, organizations, enterprises, and the like. The first electronic document is the generated original electronic contract, that is, the unsigned electronic contract. The first user may be Party A, and the second user may be Party B.

在一些实施例中,在企业需要资金的情况下,企业可以寻找投资方。同样地,在企业资金剩余的情况下,也可以寻找投资对象。在上述两种情况下,被投资方或投资方可以为甲方或乙方,被投资方或投资方可以根据己方的投资条件设立第一智能合约或第二智能合约,并且将其部署到区块链中,当存在与其部署的智能合约的条件匹配的其他智能合约时,根据该两个智能合约的条款生成投资电子合同。In some embodiments, a business may seek an investor in the event that the business needs capital. Similarly, in the case of remaining corporate funds, you can also look for investment objects. In the above two cases, the investee or investor can be Party A or Party B, and the investee or investor can establish a first smart contract or a second smart contract according to its own investment conditions, and deploy it to the block In the chain, when there are other smart contracts that match the conditions of the smart contract it deploys, an investment electronic contract is generated according to the terms of the two smart contracts.

402、区块链网络根据第一电子文档确定第二电子文档。402. The blockchain network determines the second electronic document according to the first electronic document.

区块链网络根据第一智能合约和第二智能合约生成第一电子文档之后,可以根据第一电子文档确定第二电子文档。第二电子文档是第一电子文档经第一用户和第二用户数字签名后的电子文档。区块链网络可以先向第二终端设备发送携带有第一电子文档的第一签名指令,第二终端设备为第一用户使用的终端设备。第二终端设备接收到来自区块链网络的第一签名指令之后,可以对第一电子文档进行数字签名,即使用第一用户的私钥对第一电子文档进行签名,得到第三电子文档,向区块链网络发送第三电子文档。区块链网络接收到来自第二终端设备发送的第三电子文档之后,可以向第三终端设备发送携带有第三电子文档的第二签名指令,第三终端设备为第二用户使用的终端设备。第三终端设备接收到来自区块链网络的第二签名指令之后,可以对第三电子文档进行数字签名,即使用第二用户的私钥对第三电子文档进行签名,得到第二电子文档,向区块链网络发送第二电子文档。区块链网络接收来自第三终端设备的第二电子文档。After the blockchain network generates the first electronic document according to the first smart contract and the second smart contract, the second electronic document can be determined 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. The blockchain network may first send the first signature instruction carrying the first electronic document to the second terminal device, which is the 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, that is, use the private key of the first user to sign the first electronic document to obtain a third electronic document, Send a third electronic document to the blockchain network. After receiving the third electronic document sent from the second terminal device, the blockchain network can send the second signature instruction carrying the third electronic document to the third terminal device, and the third terminal device is the 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, that is, use the private key of the second user to sign the third electronic document to obtain the second electronic document, Send the second electronic document to the blockchain network. The blockchain network receives the second electronic document from the third terminal device.

403、区块链网络根据第一智能合约、第二智能合约和第二电子文档,向第一客户端发送携带有第一数字信息的第一转移指令。403. The blockchain network sends a first transfer instruction carrying the first digital information to the first client according to the first smart contract, the second smart contract and the second electronic document.

区块链网络根据第一电子文档确定出第二电子文档之后,可以根据第一智能合约、第二智能合约和第二电子文档,向第一客户端发送携带有第一数字信息的第一转移指令。第一客户端为第一用户对应的客户端。第一数字信息即需要转移的金额。此外,第一转移指令还可以携带有第二客户端的标识。第二客户端为第二用户对应的客户端。第一客户端和第二客户端可以为同一服务器对应的客户端,例如,为同一银行下的两个用户的客户端,也可以为不同服务器对应的客户端,例如,为不同银行的客户端。After the blockchain network determines the second electronic document according to the first electronic document, it can send the first transfer carrying the first digital information to the first client according to the first smart contract, the second smart contract and the second electronic document instruction. The first client is a client corresponding to the first user. The first digital information is the amount to be transferred. In addition, the first transfer instruction may 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 may be clients corresponding to the same server, for example, the clients of two users under the same bank, or may be clients corresponding to different servers, for example, the clients of different banks .

404、第一客户端根据第一数字信息向第二客户端转移数据。404. The first client transfers data to the second client according to the first digital information.

第一客户端接收到来自区块链网络的第一转移指令之后,可以根据第一转移指令携带的第一数字信息向第二客户端转移数据。例如,将第一用户的钱转移给第二用户。After the first client receives the first transfer instruction from the blockchain network, it can transfer data to the second client according to the first digital information carried by the first transfer instruction. For example, transferring money from a first user to a second user.

405、区块链网络根据第一智能合约、第二智能合约和第二电子文档,向第一终端设备发送携带有第一信息的冻结指令。405. The blockchain network sends a freezing 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.

区块链网络根据第一电子文档确定出第二电子文档之后,可以根据第一智能合约、第二智能合约和第二电子文档,向第一终端设备发送携带有第一信息的冻结指令。第一信息对应的对象的归属权为第二用户。第一信息为需要冻结的第二用户的资产的信息。资产可以为固定资产。如房产等,也可以为非固定资产,如股权等。第一终端设备可以为政府的终端设备,也可以为监管第二用户的监管部门的终端设备,还可以为其他情况下的终端设备。其中,步骤403和步骤405可以并行执行,也可以串行执行。After the blockchain network determines the second electronic document according to the first electronic document, it can send a freezing 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 attribution 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 to be frozen. Assets can be fixed assets. Such as real estate, etc., can also be non-fixed assets, such as equity. The first terminal device may be a government terminal device, or may be a terminal device of a regulatory authority supervising the second user, or may be a terminal device in other situations. Wherein, step 403 and step 405 may be performed in parallel, or may be performed in series.

406、第一终端设备冻结第一信息对应的对象。406. The first terminal device freezes the object corresponding to the first information.

第一终端设备接收到来自区块链网络的冻结指令之后,可以根据冻结指令冻结第一信息对应的对象。第一信息对应的对象被冻结之后,第一信息对应的对象的归属权还为第二用户,但在冻结期间第二用户没有使用和买卖第一信息对应的对象的权限。After receiving 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 attribution of the object corresponding to the first information is still the second user, but the second user does not have the right to use and buy and sell the object corresponding to the first information during the freezing period.

在图4所描述的业务处理方法中,将双方的需求和条件等信息生成智能合约上传到区块链网络,由区块链网络根据双方的智能合约自动寻找匹配的对象,之后通过区块链网络完成双方对电子文档的数字签名,根据签名后的电子文档和双方的智能合约自动完成数字转移和对象冻结,降低了用户参与的过程,因此,提高了效率。In the business processing method described in Figure 4, a smart contract is generated and uploaded to the blockchain network based on the needs and conditions of both parties. The network completes the digital signature of the electronic documents by both parties, and automatically completes the digital transfer and object freezing according to the signed electronic documents and the smart contracts of both parties, which reduces the process of user participation and thus improves the efficiency.

基于图1所示的网络架构,请参阅图5,图5是本发明实施例公开的另一种信息处理方法的流程示意图。如图5所示,该信息处理方法可以包括以下步骤。Based on the network architecture shown in FIG. 1 , please refer to FIG. 5 , which is a schematic flowchart of another information processing method disclosed by an embodiment of the present invention. As shown in FIG. 5 , the information processing method may include the following steps.

501、第二终端设备向区块链网络发送第一智能合约。501. The second terminal device sends the first smart contract to the blockchain network.

第二终端设备可以先生成智能合约,之后向区块链网络发送第一智能合约。生成智能合约之后,也可以先使用第一用户的私钥对智能合约进行签名,之后向区块链网络发送第一智能合约,对应地,第二终端设备还可以向区块链网络发送第一用户的公钥。区块链网络接收到来自第二终端设备的第一智能合约之后,可以对第一智能合约进行共识处理。在区块链网络接收到来自第二终端设备的第一用户的公钥的情况下,区块链网络接收到来自第二终端设备的第一智能合约之后,可以先使用第一用户的公钥验证第一智能合约是否为第一用户的智能合约,在验证结果为第一智能合约为第一用户的智能合约的情况下,对第一智能合约进行共识处理。在验证结果为第一智能合约不是第一用户的智能合约的情况下,区块链网络可以丢弃第一智能合约。此外,还可以向第二终端设备发送用于提示第一智能合约不是第一用户的智能合约的提示信息。第二终端设备为第一用户使用的终端设备。The second terminal device may generate a smart contract first, and then send the first smart contract to the blockchain network. After the smart contract is generated, the first user's private key can also be used to sign the smart contract, and then the first smart contract can be sent to the blockchain network. Correspondingly, the second terminal device can also send the first smart contract to the blockchain network. User's public key. After the blockchain network receives the first smart contract from the second terminal device, it can perform consensus processing on the first smart contract. When the blockchain network receives the public key of the first user from the second terminal device, after the blockchain network receives the first smart contract from the second terminal device, the public key of the first user can be used first It is verified whether the first smart contract is the smart contract of the first user, and if the verification result is that the first smart contract is the smart contract of the first user, consensus processing is performed on the first smart contract. In the case that the verification result is that the first smart contract is not the smart contract of the first user, the blockchain network may 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 may also be sent to the second terminal device. The second terminal device is a terminal device used by the first user.

502、第三终端设备向区块链网络发送第二智能合约。502. The third terminal device sends the second smart contract to the blockchain network.

第三终端设备可以先生成智能合约,之后向区块链网络发送第二智能合约。生成智能合约之后,也可以先使用第二用户的私钥对智能合约进行签名,之后向区块链网络发送第二智能合约,对应地,第三终端设备还可以向区块链网络发送第二用户的公钥。区块链网络接收到来自第三终端设备的第二智能合约之后,可以对第二智能合约进行共识处理。在区块链网络接收到来自第三终端设备的第二用户的公钥的情况下,区块链网络接收到来自第三终端设备的第二智能合约之后,可以先使用第二用户的公钥验证第二智能合约是否为第二用户的智能合约,在验证结果为第二智能合约为第二用户的智能合约的情况下,对第二智能合约进行共识处理。在验证结果为第二智能合约不是第二用户的智能合约的情况下,区块链网络可以丢弃第二智能合约。此外,还可以向第三终端设备发送用于提示第二智能合约不是第二用户的智能合约的提示信息。第三终端设备为第二用户使用的终端设备。The third terminal device can generate the smart contract first, and then send the second smart contract to the blockchain network. After the smart contract is generated, the second user's private key can also be used to sign the smart contract, and then the second smart contract can be sent to the blockchain network. Correspondingly, the third terminal device can also send the second smart contract to the blockchain network. User's public key. After the blockchain network receives the second smart contract from the third terminal device, it 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 the blockchain network receives the second smart contract from the third terminal device, the public key of the second user can be used first Verify whether the second smart contract is the smart contract of the second user, and if the verification result is that the second smart contract is the smart contract of the second user, perform consensus processing on the second smart contract. In the event that the verification result is that the second smart contract is not the second user's smart contract, the blockchain network may 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 may also be sent to the third terminal device. The third terminal device is a terminal device used by the second user.

503、区块链网络根据第一智能合约和第二智能合约生成第一电子文档。503. The blockchain network generates a first electronic document according to the first smart contract and the second smart contract.

第一智能合约为第一用户的智能合约,第二智能合约为第二用户的智能合约。区块链网络可以实时地或周期性地根据第一智能合约和第二智能合约生成第一电子文档。区块链网络可以先根据第一智能合约和第二智能合约确定第一用户与第二用户匹配,之后根据第一智能合约和第二智能合约生成第一电子文档。区块链网络根据第一智能合约和第二智能合约确定第一用户与第二用户匹配时,可以先判断第一智能合约包括的条件与第二智能合约包括的条件是否匹配,在判断出第一智能合约包括的条件与第二智能合约包括的条件匹配的情况下,可以确定第一用户与第二用户匹配。在判断出第一智能合约包括的条件与第二智能合约包括的条件不匹配的情况下,可以将第一智能合约与第二智能合约与其他智能合约进行匹配。第一智能合约包括的条件与第二智能合约包括的条件匹配,可以是第一智能合约包括的条件与第二智能合约包括的条件相互满足,也可以是第一智能合约包括的条件与第二智能合约包括的条件存在交集,还可以是第一智能合约包括的条件与第二智能合约包括的条件之间满足其他条件。第一用户和第二用户可以为个人,也可以为单位、企业等。第一电子文档即生成的原始电子合同,也即未经签名的电子合同。其中,第一用户可以为甲方,第二用户可以为乙方。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 blockchain network may generate the first electronic document according to the first smart contract and the second smart contract in real time or periodically. The blockchain network may 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 then determine whether the first smart contract matches the conditions included in the second smart contract. When the conditions included in one smart contract match the conditions included in the second smart contract, it can be determined that the first user matches the second user. When it is determined 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. It may be that the conditions included in the first smart contract and the conditions included in the second smart contract satisfy each other, or the conditions included in the first smart contract and the second smart contract. There is an intersection of the conditions included in the smart contract, and other conditions may also be 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 may be individuals, organizations, enterprises, and the like. The first electronic document is the generated original electronic contract, that is, the unsigned electronic contract. The first user may be Party A, and the second user may be Party B.

504、区块链网络根据第一电子文档确定第二电子文档。504. The blockchain network determines the second electronic document according to the first electronic document.

区块链网络根据第一智能合约和第二智能合约生成第一电子文档之后,可以根据第一电子文档确定第二电子文档。第二电子文档是第一电子文档经第一用户和第二用户数字签名后的电子文档。区块链网络可以先向第二终端设备发送携带有第一电子文档的第一签名指令。第二终端设备接收到来自区块链网络的第一签名指令之后,可以对第一电子文档进行数字签名,即使用第一用户的私钥对第一电子文档进行签名,得到第三电子文档,向区块链网络发送第三电子文档。区块链网络接收到来自第二终端设备发送的第三电子文档之后,可以向第三终端设备发送携带有第三电子文档的第二签名指令。第三终端设备接收到来自区块链网络的第二签名指令之后,可以对第三电子文档进行数字签名,即使用第二用户的私钥对第三电子文档进行签名,得到第二电子文档,向区块链网络发送第二电子文档。区块链网络接收来自第三终端设备的第二电子文档。After the blockchain network generates the first electronic document according to the first smart contract and the second smart contract, the second electronic document can be determined 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. The blockchain network may first send the 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, Send a third electronic document to the blockchain network. After receiving the third electronic document sent from the second terminal device, the blockchain network can send the 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, Send the second electronic document to the blockchain network. The blockchain network receives the second electronic document from the third terminal device.

505、区块链网络根据第一智能合约、第二智能合约和第二电子文档,向第一客户端发送携带有第一数字信息的第一转移指令。505. The blockchain network sends a first transfer instruction carrying the first digital information to the first client according to the first smart contract, the second smart contract and the second electronic document.

区块链网络根据第一电子文档确定出第二电子文档之后,可以根据第一智能合约、第二智能合约和第二电子文档,向第一客户端发送携带有第一数字信息的第一转移指令。第一客户端为第一用户对应的客户端。第一数字信息即需要转移的金额。此外,第一转移指令还可以携带有第二客户端的标识。第二客户端为第二用户对应的客户端。第一客户端和第二客户端可以为同一服务器对应的客户端,例如,为同一银行下的两个用户的客户端,也可以为不同服务器对应的客户端,例如,为不同银行的客户端。After the blockchain network determines the second electronic document according to the first electronic document, it can send the first transfer carrying the first digital information to the first client according to the first smart contract, the second smart contract and the second electronic document instruction. The first client is a client corresponding to the first user. The first digital information is the amount to be transferred. In addition, the first transfer instruction may 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 may be clients corresponding to the same server, for example, the clients of two users under the same bank, or may be clients corresponding to different servers, for example, the clients of different banks .

506、第一客户端根据第一数字信息向第二客户端转移数据。506. The first client transfers data to the second client according to the first digital information.

第一客户端接收到来自区块链网络的第一转移指令之后,可以根据第一转移指令携带的第一数字信息向第二客户端转移数据。例如,将第一用户的钱转移给第二用户。After the first client receives the first transfer instruction from the blockchain network, it can transfer data to the second client according to the first digital information carried by the first transfer instruction. For example, transferring money from a first user to a second user.

507、区块链网络根据第一智能合约、第二智能合约和第二电子文档,向第一终端设备发送携带有第一信息的冻结指令。507. The blockchain network sends a freezing 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.

区块链网络根据第一电子文档确定出第二电子文档之后,可以根据第一智能合约、第二智能合约和第二电子文档,向第一终端设备发送携带有第一信息的冻结指令。第一信息对应的对象的归属权为第二用户。第一信息为需要冻结的第二用户的资产的信息。资产可以为固定资产。如房产等,也可以为非固定资产,如股权等。第一终端设备可以为政府的终端设备,也可以为监管第二用户的监管部门的终端设备,还可以为其他情况下的终端设备。其中,步骤505和步骤507可以并行执行,也可以串行执行。After the blockchain network determines the second electronic document according to the first electronic document, it can send a freezing 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 attribution 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 to be frozen. Assets can be fixed assets. Such as real estate, etc., can also be non-fixed assets, such as equity. The first terminal device may be a government terminal device, or may be a terminal device of a regulatory authority supervising the second user, or may be a terminal device in other situations. Wherein, step 505 and step 507 may be performed in parallel, or may be performed in series.

508、第一终端设备冻结第一信息对应的对象。508. The first terminal device freezes the object corresponding to the first information.

第一终端设备接收到来自区块链网络的冻结指令之后,可以根据冻结指令冻结第一信息对应的对象。第一信息对应的对象被冻结之后,第一信息对应的对象的归属权还为第二用户,但在冻结期间第二用户没有使用和买卖第一信息对应的对象的权限。After receiving 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 attribution of the object corresponding to the first information is still the second user, but the second user does not have the right to use and buy and sell the object corresponding to the first information during the freezing period.

509、在当前时间与第二电子文档中的截止时间之间的时间间隔小于阈值的情况下,区块链网络向第三终端设备发送提示信息。509. If the time interval between the current time and the expiration time in the second electronic document is less than the threshold, the blockchain network sends prompt information to the third terminal device.

区块连网络可以实时地或周期性地判断当前时间与第二电子文档中的截止时间之间的时间间隔小于阈值的情况下,在判断出当前时间与第二电子文档中的截止时间之间的时间间隔小于阈值的情况下,表明电子合同的期限快到了,区块链网络可以向第三终端设备发送提示信息。第三终端设备接收到提示信息之后,可以显示提示信息,用于提示第二用户向第一用户转移数据,即用于提示用户还款。The block-connected network can judge 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, and when the time interval between the current time and the deadline in the second electronic document is judged When the time interval is less than the threshold, it indicates that the deadline of the electronic contract is approaching, and the blockchain network can send a prompt message to the third terminal device. After receiving the prompt information, the third terminal device may display the prompt information for prompting the second user to transfer data to the first user, that is, for prompting the user to repay the money.

510、在当前时间为第二电子文档中的截止时间,且第二用户未向第一用户转移数据的情况下,区块链网络向第一终端设备发送携带有第一信息的变更指令。510. In the case that the current time is the deadline in the second electronic document and the second user has not transferred data to the first user, the blockchain network sends a change instruction carrying the first information to the first terminal device.

在当前时间为第二电子文档中的截止时间,且第二用户未向第一用户转移数据的情况下,即在电子合同截止日期还没有收到第二用户对第一用户转账的情况下,可以表明第二用户不会向第一用户还款了,区块链网络可以向第一终端设备发送携带有第一信息的变更指令。If the current time is the deadline in the second electronic document, and the second user has not transferred data to the first user, that is, if the electronic contract deadline has not yet received the transfer from the second user to the first user, It can be indicated that the second user will not repay the first user, and the blockchain network can send a change instruction carrying the first information to the first terminal device.

511、第一终端设备将第一信息对应的对象的归属权由第二用户变更为第一用户。511. The first terminal device changes the attribution of the object corresponding to the first information from the second user to the first user.

第一终端设备接收到来自区块链网络的第一变更指令之后,可以根据第一变更指令将第一信息对应的对象的归属权由第二用户变更为第一用户。即使用第一信息对应的对象来偿还第二用户欠第一用户的债务。After receiving the first change instruction from the blockchain network, the first terminal device 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.

512、第三终端设备向区块链网络发送数据转移请求。512. The third terminal device sends a data transfer request to the blockchain network.

在当前时间早于第二电子文档中的截止时间的情况下,即电子合同还没有到期之前,第三终端设备可以向区块链网络发送数据转移请求,数据转移请求携带有第二电子文档的标识。In the case that the current time is earlier than the deadline in the second electronic document, that is, before the electronic contract expires, the third terminal device may send a data transfer request to the blockchain network, and the data transfer request carries the second electronic document 's identification.

513、区块链网络根据当前时间和第二电子文档确定第二数据信息。513. The blockchain network determines the second data information according to the current time and the second electronic document.

区块链网络接收到来自第三终端设备的数据转移请求之后,可以根据当前时间和第二电子文档确定第二数据信息,例如,可以先根据电子合同的生成日期和今天的日期计算产生的利息,之后将本金与利息的和确定为第二数据信息。After the blockchain network receives the data transfer request from the third terminal device, it can determine the second data information according to the current time and the second electronic document. For example, the generated interest can be calculated according to the date of generation of the electronic contract and today's date. , and then the sum of the principal and the interest is determined as the second data information.

514、区块链网络向第二客户端发送携带有第二数据信息的第二转移指令。514. The blockchain network sends a second transfer instruction carrying the second data information to the second client.

区块链网络根据当前时间和第二电子文档确定出第二数据信息之后,可以向第二客户端发送携带有第二数据信息的第二转移指令。第二转移指令还可以携带有第一客户端的标识。After the blockchain network determines the second data information according to the current time and the second electronic document, it can send the second transfer instruction carrying the second data information to the second client. The second transfer instruction may also carry the identifier of the first client.

515、第二客户端根据第二数据信息向第一客户端转移数据。515. The second client transfers data to the first client according to the second data information.

第二客户端接收到来自区块链网络的第二转移指令之后,可以根据第二数据信息向第一客户端转移数据。例如,将第二用户的钱转移给第一用户。After receiving the second transfer instruction from the blockchain network, the second client can transfer data to the first client according to the second data information. For example, transfer the money of the second user to the first user.

516、第二客户端向区块链网络发送数据转移完成信息。516. The second client sends data transfer completion information to the blockchain network.

第二客户端根据第二数据信息向第一客户端转移数据之后,可以向区块链网络发送数据转移完成信息。After the second client transfers data to the first client according to the second data information, it may send data transfer completion information to the blockchain network.

517、区块链网络向第一终端设备发送携带有第一信息的解冻指令。517. The blockchain network sends a thawing instruction carrying the first information to the first terminal device.

区块链网络接收到来自第二客户端的数据转移完成信息之后,可以向第一终端设备发送携带有第一信息的解冻指令。After receiving the data transfer completion information from the second client, the blockchain network can send a thawing instruction carrying the first information to the first terminal device.

518、第一终端设备解冻第一信息对应的对象。518. The first terminal device unfreezes the object corresponding to the first information.

第一终端设备接收到来自区块链网络的解冻指令之后,可以解冻第一信息对应的对象。在解冻之后,第二用户可以使用和买卖第一信息对应的对象的权限。After receiving the unfreezing instruction from the blockchain network, the first terminal device can unfreeze the object corresponding to the first information. After unfreezing, the second user can use the right to buy and sell the object corresponding to the first information.

在图5所描述的业务处理方法中,将双方的需求和条件等信息生成智能合约上传到区块链网络,由区块链网络根据双方的智能合约自动寻找匹配的对象,之后通过区块链网络完成双方对电子文档的数字签名,根据签名后的电子文档和双方的智能合约自动完成数字转移和对象冻结,降低了用户参与的过程,因此,提高了效率。In the business processing method described in Figure 5, a smart contract is generated and uploaded to the blockchain network based on the needs and conditions of both parties. The network completes the digital signature of the electronic documents by both parties, and automatically completes the digital transfer and object freezing according to the signed electronic documents and the smart contracts of both parties, which reduces the process of user participation and thus improves the efficiency.

举例说明,投资公司A上链的智能合约为第一智能合约,公司B上链的智能合约为第二智能合约,区块链网络根据第一智能合约和第二智能合约确定投资公司A和公司B可以达到很好的合作,之后根据第一智能合约和第二智能合约生成电子合同,对生成的电子合同经投资公司A和公司B数字签名之后,可以向投资公司A对应的客户端发送向公司B转账的转账指令,进行转账,同时冻结公司B抵押的资产。后续,在电子合同的期限快到的情况下,如果公司B未向投资公司A还款,可以发送提示信息提醒公司B还款。在公司B在电子合同期限到达之前还款的情况下,可以将冻结的公司B的资产解冻。在电子合同期限到达,且公司B还未还款的情况下,可以将冻结的公司B的资产变更为投资公司A的资产,用于抵押公司B的债务。For example, the smart contract on the chain of investment company A is the first smart contract, the smart contract on the chain of company B is the second smart contract, and the blockchain network determines the investment company A and the company according to the first smart contract and the second smart contract. B can achieve good cooperation, and then generate an electronic contract according to the first smart contract and the second smart contract. After the generated electronic contract is digitally signed by investment company A and company B, it can send a message to the client corresponding to investment company A. Company B transfers the transfer instruction, transfers the money, and freezes the assets mortgaged by Company B. Subsequently, when the deadline of the electronic contract is approaching, if company B has not repaid the investment company A, a prompt message can be sent to remind company B to repay. In the case that Company B repays before the expiration of the electronic contract, the frozen assets of Company B can be unfrozen. When the time limit of the electronic contract is reached and company B has not repaid, the frozen assets of company B can be changed into assets of investment company A, which can be used to mortgage company B's debts.

基于图1所示的网络结构,请参阅图6,图6是本发明实施例公开的一种信息处理装置的结构示意图。其中,该信息处理装置可以设置在区块链网络中。如图6所示,该信息处理装置可以包括:Based on the network structure shown in FIG. 1 , please refer to FIG. 6 , which is a schematic structural diagram of an information processing apparatus disclosed in an embodiment of the present invention. Wherein, the information processing device can be set in the blockchain network. As shown in FIG. 6, the information processing apparatus may include:

生成单元601,用于根据第一智能合约和第二智能合约,生成第一电子文档,第一智能合约为第一用户的智能合约,第二智能合约为第二用户的智能合约;A generating unit 601, configured to generate a first electronic document according to the first smart contract and the second smart contract, 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;

第一确定单元602,用于根据第一电子文档确定第二电子文档,第二电子文档是第一电子文档经第一用户和第二用户数字签名后的电子文档;a first determining unit 602, configured to determine a second electronic document according to the first electronic document, where the second electronic document is an electronic document of the first electronic document that has been digitally signed by the first user and the second user;

发送单元603,用于根据第一智能合约、第二智能合约和第二电子文档,向第一客户端发送携带有第一数字信息的第一转移指令,第一转移指令用于指示第一客户端根据第一数字信息向第二客户端转移数据,第一客户端为第一用户对应的客户端,第二客户端为第二用户对应的客户端;The sending unit 603 is configured to send a first transfer instruction carrying the first digital information to the first client according to the first smart contract, the second smart contract and the second electronic document, where the first transfer instruction is used to instruct the first client The terminal transfers data to the second client terminal according to the first digital information, the first client terminal is the client terminal corresponding to the first user, and the second client terminal is the client terminal corresponding to the second user;

发送单元603,还用于根据第一智能合约、第二智能合约和第二电子文档,向第一终端设备发送携带有第一信息的冻结指令,冻结指令用于指示第一终端设备冻结第一信息对应的对象,第一信息对应的对象的归属权为第二用户。The sending unit 603 is further configured to send a freezing 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, and the freezing instruction is used to instruct the first terminal device to freeze the first terminal device. The object corresponding to the information, and the attribution of the object corresponding to the first information is the second user.

在一个实施例中,生成单元601具体用于:In one embodiment, the generating unit 601 is specifically configured to:

根据第一智能合约和第二智能合约,确定第一用户与第二用户匹配;According to the first smart contract and the second smart contract, determine that the first user matches the second user;

根据第一智能合约和第二智能合约,生成第一电子文档。According to the first smart contract and the second smart contract, the first electronic document is generated.

在一个实施例中,生成单元601根据第一智能合约和第二智能合约,确定第一用户与第二用户匹配包括:In one embodiment, the generating unit 601 determining that the first user matches the second user according to the first smart contract and the second smart contract includes:

在第一智能合约包括的条件与第二智能合约包括的条件匹配的情况下,确定第一用户与第二用户匹配。In the case where the condition included in the first smart contract matches the condition included in the second smart contract, it is determined that the first user matches the second user.

在一个实施例中,第一确定单元602具体用于:In one embodiment, the first determining unit 602 is specifically configured to:

向第二终端设备发送携带有第一电子文档的第一签名指令,第二终端设备为第一用户使用的终端设备;sending a first signature instruction carrying the first electronic document to a second terminal device, where the second terminal device is a terminal device used by the first user;

接收来自第二终端设备发送的第三电子文档,第三电子文档是第一电子文档经第一用户数字签名的电子文档;receiving a third electronic document sent from the second terminal device, where the third electronic document is an electronic document digitally signed by the first user of the first electronic document;

向第三终端设备发送携带有第三电子文档的第二签名指令,第三终端设备为第二用户使用的终端设备;sending the second signature instruction carrying the third electronic document to the third terminal device, where the third terminal device is the terminal device used by the second user;

接收来自第三终端设备的第二电子文档。The second electronic document from the third terminal device is received.

在一个实施例中,发送单元603,还用于在当前时间与第二电子文档中的截止时间之间的时间间隔小于阈值的情况下,向第三终端设备发送提示信息,提示信息用于提示第二用户向所述第一用户转移数据。In one embodiment, the sending unit 603 is further configured to send prompt information to the third terminal device when the time interval between the current time and the deadline in the second electronic document is less than a threshold, where the prompt information is used to prompt The second user transfers data to the first user.

在一个实施例中,发送单元603,还用于在当前时间为第二电子文档中的截止时间,且第二用户未向第一用户转移数据的情况下,向第一终端设备发送携带有第一信息的变更指令,变更指令用于指示第一终端设备将第一信息对应的对象的归属权由第二用户变更为第一用户。In one embodiment, the sending unit 603 is further configured to send, to the first terminal device, to the first terminal device when the current time is the deadline in the second electronic document and the second user has not transferred data to the first user. An information change instruction, where the change instruction is used to instruct the first terminal device to change the attribution of the object corresponding to the first information from the second user to the first user.

在一个实施例中,该信息处理装置还可以包括:In one embodiment, the information processing apparatus may further include:

接收单元604,用于接收来自第三终端设备的数据转移请求,数据转移请求携带有第二电子文档的标识;a receiving unit 604, configured to receive a data transfer request from a third terminal device, where the data transfer request carries the identifier of the second electronic document;

第二确定单元605,用于根据当前时间和第二电子文档确定第二数据信息;a second determining unit 605, configured to determine the second data information according to the current time and the second electronic document;

发送单元603,还用于向第二客户端发送携带有第二数据信息的第二转移指令,第二转移指令用于指示第二客户端根据第二数据信息向第一客户端转移数据;The sending unit 603 is further configured to send a second transfer instruction carrying the second data information to the second client, where the second transfer instruction is used to instruct the second client to transfer data to the first client according to the second data information;

发送单元603,还用于接收到来自第二客户端的数据转移完成信息时,向第一终端设备发送携带有第一信息的解冻指令,解冻指令用于指示第一终端设备解冻第一信息对应的对象。The sending unit 603 is further configured to send a thawing instruction carrying the first information to the first terminal device when receiving the data transfer completion information from the second client, where the thawing instruction is used to instruct the first terminal device to unfreeze the corresponding data of the first information. object.

有关上述生成单元601、第一确定单元602、发送单元603、接收单元604和第二确定单元605详细的描述可以直接参考上述图4和图5所示的方法实施例中区块链网络的相关描述直接得到,这里不加赘述。For the detailed description of the generating unit 601 , the first determining unit 602 , the sending unit 603 , the receiving unit 604 and the second determining unit 605 , you can directly refer to the blockchain network in the method embodiments shown in FIG. 4 and FIG. 5 . The description can be obtained directly, and will not be repeated here.

基于图1所示的网络架构,请参阅图7,图7是本发明实施例公开的另一种信息处理装置的结构示意图。其中,该信息处理装置可以设置在区块链网络中,如设置在区块链节点中。如图7所示,该信息处理装置可以包括处理器701、存储器702、输入接口703、输出接口704和连接线705。存储器702可以是独立存在,连接线705与处理器701相连接。存储器702也可以和处理器701集成在一起。连接线705可包括一通路,在上述组件之间传送信息。其中,存储器702中存储程序指令,处理器701用于执行存储器702中存储的程序指令。其中:Based on the network architecture shown in FIG. 1 , please refer to FIG. 7 , which is a schematic structural diagram of another information processing apparatus disclosed in an embodiment of the present invention. Wherein, the information processing device can be set in a blockchain network, such as a blockchain node. As shown in FIG. 7 , the information processing apparatus may 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 with the processor 701 . The memory 702 may also be integrated with the processor 701 . Connection line 705 may include a path to communicate information between the above-described components. The memory 702 stores program instructions, and the processor 701 is configured to execute the program instructions stored in the memory 702 . in:

该信息处理装置可以为图4和图5对应的信息处理装置。存储器702中存储的程序指令被执行时,该处理器701用于调用存储器702存储的程序指令执行上述实施例中生成单元601、第一确定单元602和第二确定单元605执行的操作。输入接口703用于执行接收单元604执行的操作。输出接口704用于执行发送单元603执行的操作。The information processing apparatus may be the information processing apparatus corresponding to FIG. 4 and FIG. 5 . 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 generating unit 601 , the first determining unit 602 and the second determining unit 605 in the above embodiment. The input interface 703 is used to perform the operations performed by the receiving unit 604 . The output interface 704 is used to perform the operations performed by the sending unit 603 .

本发明实施例还公开了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序运行时,实现如图4-图5所示的信息处理方法。An embodiment of the present invention further discloses a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program runs, the information processing method shown in FIG. 4-FIG. 5 is implemented.

以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above descriptions are only specific embodiments of the present application, and are not intended to limit the The protection scope, any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present application shall be included within the protection scope of the present application.

Claims (10)

1.一种信息处理方法,其特征在于,所述方法应用于区块链网络,包括:1. An information processing method, wherein the method is applied to a blockchain network, comprising: 根据第一智能合约和第二智能合约,生成第一电子文档,所述第一智能合约为第一用户的智能合约,所述第二智能合约为第二用户的智能合约;generating a first electronic document according to the first smart contract and the second smart contract, where 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; 根据所述第一电子文档确定第二电子文档,所述第二电子文档是所述第一电子文档经所述第一用户和所述第二用户数字签名后的电子文档;determining a second electronic document according to the first electronic document, where the second electronic document is an electronic document of the first electronic document 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, a first transfer instruction carrying the first digital information is sent to the first client, where the first transfer instruction is used to instruct the The first client transfers data to a 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 the client; 根据所述第一智能合约、所述第二智能合约和所述第二电子文档,向第一终端设备发送携带有第一信息的冻结指令,所述冻结指令用于指示所述第一终端设备冻结所述第一信息对应的对象,所述第一信息对应的对象的归属权为所述第二用户。According to the first smart contract, the second smart contract and the second electronic document, a freezing instruction carrying the first information is sent to the first terminal device, where the freezing instruction is used to instruct the first terminal device The object corresponding to the first information is frozen, and the attribution of the object corresponding to the first information is the second user. 2.根据权利要求1所述的方法,其特征在于,所述根据第一智能合约和第二智能合约,生成第一电子文档包括:2. The method according to claim 1, wherein the generating the first electronic document according to the first smart contract and the second smart contract comprises: 根据第一智能合约和第二智能合约,确定所述第一用户与所述第二用户匹配;According to the first smart contract and the second smart contract, it is determined that the first user matches the second user; 根据所述第一智能合约和所述第二智能合约,生成第一电子文档。A first electronic document is generated according to the first smart contract and the second smart contract. 3.根据权利要求2所述的方法,其特征在于,所述根据第一智能合约和第二智能合约,确定所述第一用户与所述第二用户匹配包括:3. The method according to 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: 在第一智能合约包括的条件与第二智能合约包括的条件匹配的情况下,确定所述第一用户与所述第二用户匹配。In a case where the condition included in the first smart contract matches the condition included in the second smart contract, it is determined that the first user matches the second user. 4.根据权利要求1-3任一项所述的方法,其特征在于,所述根据所述第一电子文档确定第二电子文档包括:4. The method according to any one of claims 1-3, wherein the determining the second electronic document according to the first electronic document comprises: 向第二终端设备发送携带有所述第一电子文档的第一签名指令,所述第二终端设备为所述第一用户使用的终端设备;sending a first signature instruction carrying the first electronic document to a second terminal device, where the second terminal device is a terminal device used by the first user; 接收来自所述第二终端设备发送的第三电子文档,所述第三电子文档是所述第一电子文档经所述第一用户数字签名的电子文档;receiving a third electronic document sent from the second terminal device, where the third electronic document is an electronic document of the first electronic document digitally signed by the first user; 向第三终端设备发送携带有所述第三电子文档的第二签名指令,所述第三终端设备为所述第二用户使用的终端设备;sending a second signature instruction carrying the third electronic document to a third terminal device, where the third terminal device is a terminal device used by the second user; 接收来自所述第三终端设备的第二电子文档。A second electronic document from the third terminal device is received. 5.根据权利要求4所述的方法,其特征在于,所述方法还包括:5. The method according to claim 4, wherein the method further comprises: 在当前时间与所述第二电子文档中的截止时间之间的时间间隔小于阈值的情况下,向所述第三终端设备发送提示信息,所述提示信息用于提示所述第二用户向所述第一用户转移数据。In the case that the time interval between the current time and the deadline in the second electronic document is smaller than the threshold value, send prompt information to the third terminal device, where the prompt information is used to prompt the second user to send The first user transfers data. 6.根据权利要求4所述的方法,其特征在于,所述方法还包括:6. The method according to claim 4, wherein the method further comprises: 在当前时间为所述第二电子文档中的截止时间,且所述第二用户未向所述第一用户转移数据的情况下,向所述第一终端设备发送携带有所述第一信息的变更指令,所述变更指令用于指示所述第一终端设备将所述第一信息对应的对象的归属权由所述第二用户变更为所述第一用户。In the case that the current time is the deadline in the second electronic document, and the second user has not transferred data to the first user, send a message carrying the first information to the first terminal device A change instruction, where the change instruction is used to instruct the first terminal device to change the attribution of the object corresponding to the first information from the second user to the first user. 7.根据权利要求4所述的方法,其特征在于,所述方法还包括:7. The method according to claim 4, wherein the method further comprises: 接收来自所述第三终端设备的数据转移请求,所述数据转移请求携带有所述第二电子文档的标识;receiving a data transfer request from the third terminal device, where the data transfer request carries the identifier of the second electronic document; 根据当前时间和所述第二电子文档确定第二数据信息;determining second data information according to the current time and the second electronic document; 向所述第二客户端发送携带有所述第二数据信息的第二转移指令,所述第二转移指令用于指示所述第二客户端根据所述第二数据信息向所述第一客户端转移数据;Send a second transfer instruction carrying the second data information to the second client, where the second transfer instruction is used to instruct the second client to send the first client to the first client according to the second data information Transfer data from the terminal; 接收到来自所述第二客户端的数据转移完成信息时,向所述第一终端设备发送携带有所述第一信息的解冻指令,所述解冻指令用于指示所述第一终端设备解冻所述第一信息对应的对象。When receiving the data transfer completion information from the second client, send an unfreezing instruction carrying the first information to the first terminal device, where the unfreezing instruction is used to instruct the first terminal device to unfreeze the The object corresponding to the first information. 8.一种信息处理装置,其特征在于,所述装置设置在区块链网络中,包括:8. An information processing device, wherein the device is set in a blockchain network, comprising: 生成单元,用于根据第一智能合约和第二智能合约,生成第一电子文档,所述第一智能合约为第一用户的智能合约,所述第二智能合约为第二用户的智能合约;a generating unit, configured to generate a first electronic document according to the first smart contract and the second smart contract, 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; 第一确定单元,用于根据所述第一电子文档确定第二电子文档,所述第二电子文档是所述第一电子文档经所述第一用户和所述第二用户数字签名后的电子文档;A first determining unit, configured to determine a second electronic document according to the first electronic document, where the second electronic document is an electronic document digitally signed by the first user and the second user of the first electronic document documentation; 发送单元,用于根据所述第一智能合约、所述第二智能合约和所述第二电子文档,向第一客户端发送携带有第一数字信息的第一转移指令,所述第一转移指令用于指示所述第一客户端根据所述第一数字信息向第二客户端转移数据,所述第一客户端为所述第一用户对应的客户端,所述第二客户端为所述第二用户对应的客户端;a sending unit, configured to send a first transfer instruction carrying the first digital information to the first client according to the first smart contract, the second smart contract and the second electronic document, the first transfer The instruction is used to instruct the first client to transfer data to a second client according to the first digital information, the first client is the client corresponding to the first user, and the second client is the the client terminal corresponding to the second user; 所述发送单元,还用于根据所述第一智能合约、所述第二智能合约和所述第二电子文档,向第一终端设备发送携带有第一信息的冻结指令,所述冻结指令用于指示所述第一终端设备冻结所述第一信息对应的对象,所述第一信息对应的对象的归属权为所述第二用户。The sending unit is further configured to send a freezing 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, and the freezing instruction uses for instructing the first terminal device to freeze the object corresponding to the first information, and the attribution of the object corresponding to the first information is the second user. 9.一种信息处理装置,所述装置设置在区块链网络中,其特征在于,包括处理器、存储器、输入接口和输出接口,所述存储器用于存储一组计算机程序代码,所述输入接口用于接收来自所述装置之外的其它装置的信息,所述输出接口用于向所述装置之外的其它装置输出信息,所述处理器用于调用所述存储器中存储的计算机程序代码实现如权利要求1-7任一项所述的信息处理方法。9. An information processing device, the device is set in a blockchain network, characterized in that it 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 The interface is used to receive information from other devices other than the device, the output interface is used to output information to other devices other than the device, and the processor is used to invoke the computer program code stored in the memory to implement The information processing method according to any one of claims 1-7. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序或计算机指令,当所述计算机程序或计算机指令被运行时,实现如权利要求1-7任一项所述的信息处理方法。10. A computer-readable storage medium, characterized in that, a computer program or computer instruction is stored in the computer-readable storage medium, and when the computer program or computer instruction is executed, any one of claims 1-7 is realized. The information processing method described in one item.
CN202010362230.8A 2020-04-30 2020-04-30 Information processing method and device and computer readable storage medium Pending CN111583045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010362230.8A CN111583045A (en) 2020-04-30 2020-04-30 Information processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010362230.8A CN111583045A (en) 2020-04-30 2020-04-30 Information processing method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111583045A true CN111583045A (en) 2020-08-25

Family

ID=72125051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010362230.8A Pending CN111583045A (en) 2020-04-30 2020-04-30 Information processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111583045A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407188A (en) * 2021-06-03 2021-09-17 广东辰宜信息科技有限公司 Intelligent contract construction method and device, computer equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341702A (en) * 2017-03-08 2017-11-10 阿里巴巴集团控股有限公司 A kind of method and device of business processing
US9990504B1 (en) * 2017-12-18 2018-06-05 Northern Trust Corporation Systems and methods for generating and maintaining immutable digital meeting records within distributed network nodes
US20180218176A1 (en) * 2017-01-30 2018-08-02 SALT Lending Holdings, Inc. System and method of creating an asset based automated secure agreement
CN109146488A (en) * 2018-09-12 2019-01-04 杭州复杂美科技有限公司 Assets match method, assets match system, equipment and storage medium
WO2019144745A1 (en) * 2018-01-29 2019-08-01 阿里巴巴集团控股有限公司 Smart contract generation method and apparatus
US20190297109A1 (en) * 2017-02-27 2019-09-26 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing account in blockchain, storage medium, and computer device
US20190305935A1 (en) * 2018-04-03 2019-10-03 Alibaba Group Holding Limited Cross-blockchain interaction method, apparatus, system, and electronic device
CN110598480A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Data right confirming method and device
US20200065802A1 (en) * 2018-08-27 2020-02-27 Digital Asset (Switzerland) GmbH Eligibility of a digital asset for a transaction

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180218176A1 (en) * 2017-01-30 2018-08-02 SALT Lending Holdings, Inc. System and method of creating an asset based automated secure agreement
US20190297109A1 (en) * 2017-02-27 2019-09-26 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing account in blockchain, storage medium, and computer device
CN107341702A (en) * 2017-03-08 2017-11-10 阿里巴巴集团控股有限公司 A kind of method and device of business processing
US9990504B1 (en) * 2017-12-18 2018-06-05 Northern Trust Corporation Systems and methods for generating and maintaining immutable digital meeting records within distributed network nodes
WO2019144745A1 (en) * 2018-01-29 2019-08-01 阿里巴巴集团控股有限公司 Smart contract generation method and apparatus
US20190305935A1 (en) * 2018-04-03 2019-10-03 Alibaba Group Holding Limited Cross-blockchain interaction method, apparatus, system, and electronic device
US20200065802A1 (en) * 2018-08-27 2020-02-27 Digital Asset (Switzerland) GmbH Eligibility of a digital asset for a transaction
CN109146488A (en) * 2018-09-12 2019-01-04 杭州复杂美科技有限公司 Assets match method, assets match system, equipment and storage medium
CN110598480A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Data right confirming method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407188A (en) * 2021-06-03 2021-09-17 广东辰宜信息科技有限公司 Intelligent contract construction method and device, computer equipment and storage medium
CN113407188B (en) * 2021-06-03 2024-02-09 广东辰宜信息科技有限公司 Intelligent contract construction method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107274139B (en) Bill data management method and computer-readable medium
CN110363665B (en) Credit right data processing method, device, equipment and medium
CN109033475B (en) File storage method, device, equipment and storage medium
CN109118214A (en) The method and apparatus for running intelligent contract
CN110766551B (en) Alliance chain based on improved Kafka consensus mechanism and transaction method
CN111860865B (en) Model construction and analysis method, device, electronic equipment and medium
CN110096511B (en) Data consistency verification method, device, equipment and medium based on private chain
CN111324661A (en) User cooperation method, device and medium based on block chain
WO2020147484A1 (en) Transaction clearing method and transaction clearing system
CN111292057A (en) A blockchain-based business processing method
CN111311341B (en) Bill processing method, equipment and medium
CN111489154A (en) A cross-chain transaction method based on multi-signature
CN111488626A (en) Blockchain-based data processing method, device, equipment and medium
CN110910143A (en) Identity identification generation method, device, related node and medium
CN110941840B (en) Data processing method, system and terminal
CN113283997A (en) Medical insurance claim settlement method and device based on block chain
CN111583045A (en) Information processing method and device and computer readable storage medium
CN114020351B (en) A Smart Contract-Based Offloading System and Method for Industrial Edge Computing
CN111311259A (en) Bill processing method, device, terminal and computer readable storage medium
CN111275417B (en) Transaction endorsement processing method, server and computer readable storage medium
CN111355757B (en) Cross-chain communication method and device for block chain in supply chain field
CN111667255A (en) Digital asset transfer system and method based on alliance chain
CN117273929A (en) Bill transaction optimization method and device, computer equipment and storage medium
CN114172958B (en) Privacy computing node, system, method, device and storage medium
CN111563096B (en) Method, device, node and storage medium for creating entity portraits

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