CN115482132A - Data processing method and device for electronic contract based on block chain and server - Google Patents

Data processing method and device for electronic contract based on block chain and server Download PDF

Info

Publication number
CN115482132A
CN115482132A CN202211193721.XA CN202211193721A CN115482132A CN 115482132 A CN115482132 A CN 115482132A CN 202211193721 A CN202211193721 A CN 202211193721A CN 115482132 A CN115482132 A CN 115482132A
Authority
CN
China
Prior art keywords
contract
user
nft
target electronic
user terminal
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
CN202211193721.XA
Other languages
Chinese (zh)
Inventor
张家登
李瑞男
邱涛
杨青刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202211193721.XA priority Critical patent/CN115482132A/en
Publication of CN115482132A publication Critical patent/CN115482132A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services; Handling legal documents
    • G06Q50/188Electronic negotiation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The specification provides a data processing method, a data processing device and a data processing server of an electronic contract based on a block chain, and the data processing method, the data processing device and the data processing server are applied to the technical field of the block chain. By comprehensively utilizing the block chain technology and the NFT technology, the first user and the second user participating in contract signing can safely and efficiently complete online contract signing; after contract signing is completed, the first user and the second user can also respectively obtain and hold the first NFT contract and the second NFT contract which are stored in the block chain, so that the electronic contract is prevented from being tampered by the opposite side after signing; meanwhile, the first user and the second user can be supported to flexibly use the electronic contract held by the first user and the second user to complete the processing of the related service data such as the contract pledge, so that the first user and the second user can obtain better use experience.

Description

Data processing method and device for electronic contract based on block chain and server
Technical Field
The present specification belongs to the field of blockchain technology, and in particular, to a data processing method, apparatus, and server for an electronic contract based on a blockchain.
Background
Based on the existing method, when a user performs online contract signing, the experience of online signing and the experience of offline signing are completely different. In addition, most of the finally obtained electronic contracts are stored on the platform server through the existing online contract signing mode, so that the risk of tampering exists, and the data security of the user is influenced. In addition, based on the existing method, the user cannot flexibly use the electronic contract to complete business data processing such as contract pledge like using an entity contract, which results in relatively poor user experience.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The specification provides a block chain-based data processing method, a block chain-based data processing device and a block chain-based server for electronic contract, so that a first user and a second user participating in contract subscription can safely and efficiently complete online contract subscription by comprehensively utilizing a block chain technology and an NFT technology; and after the contract signing is completed, the first user and the second user can also respectively obtain and hold the first NFT contract and the second NFT contract stored in the block chain, so that better use experience is obtained.
The present specification provides a data processing method for an electronic contract based on a block chain, and an application server includes:
receiving a query request about a target electronic contract, which is initiated by a first user terminal;
responding to the query request, acquiring a target electronic contract, and sending the target electronic contract in the first mode to the first user terminal; the first user terminal displays a target electronic contract in a first mode to a first user;
receiving a signing request aiming at a target electronic contract, which is initiated by a first user terminal;
responding to the signing request, and respectively performing identity verification on a first user holding the first user terminal and a second user holding the second user terminal through interaction with the first user terminal and the second user terminal according to a preset verification rule;
under the condition that the first user and the second user are confirmed to pass the identity authentication, sending a target electronic contract of a second mode to the first user terminal and the second user terminal; the first user uses the first user terminal to sign the target electronic contract in the second mode to obtain a first signed target electronic contract, and the second user uses the second user terminal to sign the target electronic contract in the second mode to obtain a second signed target electronic contract;
receiving and casting a first NFT contract and a second NFT contract through a blockchain using the first signed target electronic contract and the second signed target electronic contract; wherein the first NFT contract and the second NFT contract are stored in a blockchain;
acquiring a first contract certificate and a first storage address of a first NFT contract, and a second contract certificate and a second storage address of a second NFT contract; and sending the first contract certificate and the first storage address of the first NFT contract to the first user terminal, and sending the second contract certificate and the second storage address of the second NFT contract to the second user terminal.
In one embodiment, the blockchain comprises a federation chain.
In one embodiment, casting the first NFT contract and the second NFT contract through the blockchain using the first signed target electronic contract and the second signed target electronic contract includes:
respectively converting the target electronic contract after the first signature and the target electronic contract after the second signature into a picture form;
calling an NFT encryption algorithm to process a first signed target electronic contract in a picture form and a second signed target electronic contract in a picture form through a alliance chain so as to obtain a first NFT contract and a second NFT contract through casting, and storing the first NFT contract and the second NFT contract into the alliance chain;
the method comprises the steps of obtaining a first contract certificate and a first storage address corresponding to a first NFT contract, and a second contract certificate and a second storage address corresponding to a second NFT contract, wherein the first contract certificate and the first storage address are provided by a federation chain.
In one embodiment, the first contract credential includes a first token corresponding to a first NFT contract; the second contract credential includes a second token corresponding to a second NFT contract.
In one embodiment, invoking, by the federation chain, an NFT encryption algorithm to process the first signed target electronic contract in picture form and the second signed target electronic contract in picture form to cast a first NFT contract and a second NFT contract, includes:
acquiring and inquiring a alliance chain according to an authorization certificate of a first user and an authorization certificate of a second user so as to acquire a signature picture of the first user and a signature picture of the second user;
by a alliance chain, based on an NFT encryption algorithm, processing a first signed target electronic contract in a picture form and a second signed target electronic contract in a picture form by using a signature picture of a first user and a signature picture of a second user to obtain a first NFT contract and a second NFT contract in a casting mode; the first NFT contract and the second NFT contract carry the signature of the first user and the signature of the second user at the same time.
In one embodiment, according to a preset verification rule, by interacting with a first user terminal and a second user terminal, respectively performing identity verification on a first user holding the first user terminal and a second user holding the second user terminal includes:
according to the following mode, interacting with the first user terminal according to a preset verification rule to carry out identity verification on a first user with the first user terminal:
generating a first authentication link with a first user;
sending the first identity verification link to a first user terminal; the first user terminal guides the first user to perform identity authentication based on the first identity authentication link, and acquires image data of the identity authentication of the first user;
and receiving image data according to the authentication of the first user, and determining whether the authentication of the first user passes or not by querying a user database based on the alliance chain.
In one embodiment, after casting the first NFT contract and the second NFT contract through the blockchain, the method further comprises:
storing the image data of the first user identity authentication into a alliance chain; and establishing a corresponding relation between the number of the images of the first user for identity authentication and the first NFT contract.
In one embodiment, in the event that it is determined that the first user authentication fails, the method further comprises:
generating an error prompt; and sending the error-reporting prompt to the first user terminal.
In one embodiment, the target electronic contract includes an electronic contract that is generated in advance by the second user using the second user terminal and stored in the blockchain.
The present specification also provides a data processing method for an electronic contract based on a block chain, which applies a first user terminal, and includes:
receiving and responding to the query operation of the first user, and sending a query request about the target electronic contract to the server;
acquiring and displaying a target electronic contract in a first mode to a first user;
receiving and responding to the signing operation of the first user, and sending a signing request about the target electronic contract to the server;
according to a preset verification rule, the identity verification of the first user is completed through interaction with the server;
receiving and presenting a target electronic contract in a second mode to a first user; the server sends a target electronic contract of a second mode to the first user terminal and the second user terminal under the condition that the first user terminal and the second user terminal are confirmed to pass identity authentication;
receiving and responding to the signature operation of the first user, and generating and sending a target electronic contract after the first signature to a server; wherein the server receives and utilizes the first signed target electronic contract and the second signed target electronic contract to cast the first NFT contract and the second NFT contract via a blockchain; the first NFT contract and the second NFT contract are stored in a blockchain;
a first contract credential and a first storage address of a first NFT contract are received and saved.
This specification also provides a data processing apparatus of an electronic contract based on a block chain, an application server, including:
the first receiving module is used for receiving a query request about a target electronic contract, which is initiated by a first user terminal;
the first sending module is used for responding to the query request, acquiring a target electronic contract and sending the target electronic contract in the first mode to the first user terminal; the first user terminal displays a target electronic contract in a first mode to a first user;
the second receiving module is used for receiving a signing request aiming at the target electronic contract, which is initiated by the first user terminal;
the verification module is used for responding to the signing request and respectively verifying the identity of a first user holding the first user terminal and a second user holding the second user terminal by interacting with the first user terminal and the second user terminal according to a preset verification rule;
the second sending module is used for sending the target electronic contract in the second mode to the first user terminal and the second user terminal under the condition that the first user terminal and the second user terminal are confirmed to pass the identity authentication; the first user uses the first user terminal to sign the target electronic contract in the second mode to obtain a first signed target electronic contract, and the second user uses the second user terminal to sign the target electronic contract in the second mode to obtain a second signed target electronic contract;
a third receiving module, configured to receive and cast the first NFT contract and the second NFT contract through the blockchain by using the first signed target electronic contract and the second signed target electronic contract; wherein the first NFT contract and the second NFT contract are stored in a blockchain;
a third sending module, configured to obtain a first contract credential and a first storage address of the first NFT contract, and a second contract credential and a second storage address of the second NFT contract; and sending the first contract certificate and the first storage address of the first NFT contract to the first user terminal, and sending the second contract certificate and the second storage address of the second NFT contract to the second user terminal.
The present specification also provides a data processing apparatus for an electronic contract based on a block chain, which is applied to a first user terminal, and includes:
the first sending module is used for receiving and responding to the query operation of the first user and sending a query request about the target electronic contract to the server;
the first display module is used for acquiring and displaying a target electronic contract in a first mode to a first user;
the second sending module is used for receiving and responding to the signing operation of the first user and sending a signing request about the target electronic contract to the server;
the authentication module is used for finishing the identity authentication of the first user by interacting with the server according to a preset authentication rule;
the second display module is used for receiving and displaying the target electronic contract in the second mode to the first user; the server sends a target electronic contract of a second mode to the first user terminal and the second user terminal under the condition that the first user terminal and the second user terminal are confirmed to pass identity authentication;
the third sending module is used for receiving and responding to the signature operation of the first user, and generating and sending the target electronic contract after the first signature to the server; wherein the server receives and utilizes the first signed target electronic contract and the second signed target electronic contract to cast the first NFT contract and the second NFT contract via a blockchain; the first NFT contract and the second NFT contract are stored in a blockchain;
the storage module is used for receiving and storing a first contract credential and a first storage address of a first NFT contract.
The present specification also provides a server comprising a processor and a memory for storing processor-executable instructions, which when executed by the processor implement the steps associated with the data processing method for the blockchain-based electronic contract.
The present specification also provides a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the relevant steps of the data processing method for blockchain-based electronic contracts.
The present specification also provides a computer program product comprising a computer program which, when executed by a processor, implements the relevant steps of the data processing method for blockchain-based electronic contracts.
Based on the data processing method, device and server of the block chain-based electronic contract provided by the specification, the server of the electronic contract management system receives a query request about a target electronic contract, which is initiated by a first user terminal; responding to the query request, acquiring a target electronic contract, and sending the target electronic contract in the first mode to the first user terminal; receiving a signing request aiming at a target electronic contract, which is initiated by a first user terminal; responding to the signing request, and respectively performing identity verification on a first user holding the first user terminal and a second user holding the second user terminal through interaction with the first user terminal and the second user terminal according to a preset verification rule; under the condition that the first user and the second user are confirmed to pass the identity authentication, sending a target electronic contract of a second mode to the first user terminal and the second user terminal; the first user uses the first user terminal to sign the target electronic contract in the second mode to obtain a first signed target electronic contract, and the second user uses the second user terminal to sign the target electronic contract in the second mode to obtain a second signed target electronic contract; receiving and casting a first NFT contract and a second NFT contract through a block chain by using the target electronic contract after the first signature and the target electronic contract after the second signature; wherein the first NFT contract and the second NFT contract are stored in a blockchain; the method comprises the steps that a server obtains a first contract certificate and a first storage address of a first NFT contract, and a second contract certificate and a second storage address of a second NFT contract; and sending a first contract certificate and a first storage address of the first NFT contract to the first user terminal, and sending a second contract certificate and a second storage address of the second NFT contract to the second user terminal. By comprehensively utilizing the block chain technology and the NFT technology, the first user and the second user participating in contract signing can safely and efficiently complete online contract signing; after contract signing is completed, the first user and the second user can also respectively obtain and hold the first NFT contract and the second NFT contract which are stored in the block chain, so that the electronic contract is prevented from being tampered by the opposite side or a third side after the contract signing, and the data security of the users is effectively protected; meanwhile, the first user and the second user can be supported to flexibly use the electronic contract held by the first user and the second user to complete the related business data processing such as contract pledge, contract transfer and the like by using the first contract certificate and the first storage address as well as the second contract certificate and the second storage address, so that the first user and the second user can obtain better use experience.
Drawings
In order to more clearly illustrate the embodiments of the present specification, the drawings needed to be used in the embodiments will be briefly described below, and the drawings in the following description are only some of the embodiments described in the specification, and it is obvious to those skilled in the art that other drawings can be obtained based on the drawings without any inventive work.
Fig. 1 is a flowchart illustrating a data processing method for a blockchain-based electronic contract according to an embodiment of the present specification;
fig. 2 is a schematic diagram of an embodiment of a data processing method for a blockchain-based electronic contract provided by an embodiment of the present specification, in a scenario example;
fig. 3 is a schematic diagram of an embodiment of a data processing method for a blockchain-based electronic contract provided by an embodiment of the present specification, in a scenario example;
FIG. 4 is a diagram illustrating an embodiment of a data processing method for a blockchain-based electronic contract according to an embodiment of the present disclosure;
FIG. 5 is a flow chart illustrating a method for processing data of an electronic contract based on a blockchain according to another embodiment of the present disclosure;
fig. 6 is a schematic structural component diagram of a server provided in an embodiment of the present specification;
fig. 7 is a schematic structural composition diagram of a data processing apparatus for block chain-based electronic contract provided in an embodiment of the present specification;
fig. 8 is a schematic structural composition diagram of a data processing apparatus for a block chain-based electronic contract provided in an embodiment of the present specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without making any creative effort shall fall within the protection scope of the present specification.
Referring to fig. 1, an embodiment of the present disclosure provides a data processing method for an electronic contract based on a block chain, where the method is specifically applied to a server side. In specific implementation, the method may include the following:
s101: receiving a query request about a target electronic contract, which is initiated by a first user terminal;
s102: responding to the query request, acquiring a target electronic contract, and sending the target electronic contract in the first mode to the first user terminal; the first user terminal displays a target electronic contract in a first mode to a first user;
s103: receiving a signing request aiming at a target electronic contract, which is initiated by a first user terminal;
s104: responding to the signing request, and respectively performing identity verification on a first user holding the first user terminal and a second user holding the second user terminal through interaction with the first user terminal and the second user terminal according to a preset verification rule;
s105: under the condition that the first user and the second user are confirmed to pass the identity authentication, sending a target electronic contract of a second mode to the first user terminal and the second user terminal; the first user signs the target electronic contract in the second mode by using the first user terminal to obtain a first signed target electronic contract, and the second user signs the target electronic contract in the second mode by using the second user terminal to obtain a second signed target electronic contract;
s106: receiving and casting a first NFT contract and a second NFT contract through a blockchain using the first signed target electronic contract and the second signed target electronic contract; wherein the first NFT contract and the second NFT contract are stored in a blockchain;
s107: acquiring a first contract certificate and a first storage address of a first NFT contract, and a second contract certificate and a second storage address of a second NFT contract; and sending the first contract certificate and the first storage address of the first NFT contract to the first user terminal, and sending the second contract certificate and the second storage address of the second NFT contract to the second user terminal.
In some embodiments, referring to fig. 2, the data processing method for the electronic contract based on the block chain may be specifically applied to the server side.
The server may specifically include a background server applied to the electronic contract management system side and capable of implementing functions such as data transmission and data processing. Specifically, the server may be, for example, an electronic device having data operation, storage function and network interaction function. Alternatively, the server may be a software program running in the electronic device and providing support for data processing, storage and network interaction. In the present embodiment, the number of servers is not particularly limited. The server may specifically be one server, or may also be several servers, or a server cluster formed by several servers.
Referring to fig. 2, a first user holds a first user terminal, and a second user holds a second user terminal. The first user may specifically be a contract b user, and the second user may specifically be a contract a user.
The first user terminal and the second user terminal may specifically include a front end that is respectively applied to one side of the first user and one side of the second user and can realize functions of data acquisition, data transmission and the like. Specifically, the first user terminal and the second user terminal may be, for example, electronic devices such as a desktop computer, a tablet computer, a notebook computer, and a mobile phone. Alternatively, the client-side first user terminal and the client-side second user terminal may also be software applications that can run in the electronic device. For example, the application may be an electronic contract APP installed and running on a mobile phone.
In specific implementation, referring to fig. 2, the first user and the second user may use the first user terminal and the second user terminal, respectively, to interact with the server of the electronic contract management system, so as to complete the online signing of the target electronic contract.
The server may be specifically connected to a block chain.
In some embodiments, the block chain may specifically include a federation chain.
The federation chain may be specifically established by multiple business organizations (e.g., transaction organizations, etc.) and regulatory authorities, and is used as a block chain shared by industry businesses.
In some embodiments, the target electronic contract may be specifically understood as an electronic contract to be signed.
Specifically, the target electronic contract may be an electronic contract generated by the second user through the second user terminal and uploaded to the blockchain.
In some embodiments, in a specific implementation, before the first user signs a contract, the first user needs to query and browse a target electronic contract to be signed, and at this time, the first user may initiate a query operation on the target electronic contract at the first user terminal. Accordingly, the first user terminal may generate an inquiry request about the target electronic contract in response to the inquiry operation. The query request may specifically carry a user identifier of the first user and a contract number of the target electronic contract.
The user identifier of the first user may specifically include at least one of the following: the name of the first user, the account name of the first user, the registered mobile phone number of the first user and the like.
It should be noted that the information data related to the user referred to in the present specification is obtained and used on the premise that the user knows and agrees. Moreover, the acquisition, storage, use, processing and the like of the information data all conform to relevant regulations of national laws and regulations.
And the first user terminal sends the query request to a server. Accordingly, the server may receive the query request.
In some embodiments, the obtaining the target electronic contract in response to the query request may include: and responding to the query request, and querying the alliance chain according to the contract number of the target electronic contract carried by the query request to determine whether the corresponding target electronic contract is stored in the alliance chain.
Under the condition that the target electronic contract is stored in the alliance chain, the server can use the server identity secret key to obtain the target electronic contract through alliance chain downloading; meanwhile, a download record of the server about the target electronic contract is written in the alliance chain. Conversely, in the case that it is determined that the target electronic contract is not stored in the federation chain, the server may generate a contract upload prompt and send the contract upload prompt to the second user terminal to prompt the second user to upload the target electronic contract as soon as possible.
After the target electronic contract is acquired, the server may perform mode setting on the target electronic contract, and transmit the target electronic contract in the first mode to the first user terminal. The first mode may be a read-only mode.
The first user terminal receives and displays the target electronic contract of the first mode to the first user. Based on the target electronic contract in the first mode, the first user can normally browse and read the specific content of the target electronic contract, but cannot perform the signing operation on the target electronic contract.
In the case where the first user confirms that the contents of the target electronic contract are unproblematic, a signing operation may be initiated at the first user terminal. Accordingly, the first user terminal may generate and send a signing request regarding the target electronic contract to the server.
In contrast, in the case where the first user confirms that there is a problem with the content of the target electronic contract, the modification operation may be initiated at the first user terminal. Accordingly, the first user terminal may generate and transmit a modification request regarding the target electronic contract to the server. The server receives and responds to the modification request, and establishes communication connection between the first user terminal and the second user terminal, so that the first user and the second user can discuss the modified content of the determined target electronic contract through the communication connection; and finally, the second user modifies the target electronic contract by using the identity key of the second user according to the discussion result through the second user terminal, and uploads and stores the modified target electronic contract to the alliance chain so as to replace the original target electronic contract.
In some embodiments, after receiving the signing request, the server may first perform authentication on a first user holding the first user terminal and a second user holding the second user terminal by interacting with the first user terminal and the second user terminal according to a preset authentication rule.
In some embodiments, referring to fig. 3, the above-mentioned performing identity authentication on the first user holding the first user terminal and the second user holding the second user terminal respectively by interacting with the first user terminal and the second user terminal according to the preset authentication rule may include the following steps: according to the following mode, interacting with the first user terminal according to a preset verification rule to carry out identity verification on a first user with the first user terminal:
s1: generating a first authentication link with respect to a first user;
s2: sending the first identity verification link to a first user terminal; the first user terminal guides the first user to perform identity authentication based on the first identity authentication link, and acquires image data of the identity authentication of the first user;
s3: and receiving image data according to the authentication of the first user, and determining whether the first user passes the authentication by querying a user database based on the alliance chain.
The image data for authenticating the first user may specifically include a video or a dynamic image containing the face of the first user.
The user database may be a database based on a federation chain, and may specifically store a template image for authentication provided by a registered user during registration.
In specific implementation, the server may match the image data of the first user for authentication by querying the user database based on the federation chain using the identity key of the server, and may determine that the first user passes authentication when it is determined that the image data of the first user for authentication matches one template image in the user database.
According to the mode, the server can also finish the identity verification of the second user through the interaction with the second user terminal.
In some embodiments, when it is determined that the first user authentication fails, the method may further include, in implementation: generating an error prompt; and sending the error-reporting prompt to the first user terminal.
In some embodiments, the server may send the target electronic contract for the second mode to the first user terminal and the second user terminal upon determining that the first user and the second user are authenticated. The second mode may be a read-write mode.
Based on the second mode, the first user and the second user can sign the target electronic contract through the first user terminal and the second user terminal respectively by using the own identity keys. Correspondingly, the first user terminal may send the first signed target electronic contract obtained after the first user signs to the server. The second user terminal may send the second signed target electronic contract obtained after the second user is signed to the server.
In some embodiments, referring to fig. 4, when the first NFT contract and the second NFT contract are cast by block chain using the first signed target electronic contract and the second signed target electronic contract, the following steps may be included:
s1: respectively converting the target electronic contract after the first signature and the target electronic contract after the second signature into a picture form;
s2: calling an NFT encryption algorithm to process a first signed target electronic contract in a picture form and a second signed target electronic contract in a picture form through a alliance chain so as to obtain a first NFT contract and a second NFT contract through casting, and storing the first NFT contract and the second NFT contract into the alliance chain;
s3: the method includes acquiring a first contract credential and a first storage address corresponding to a first NFT contract, and a second contract credential and a second storage address corresponding to a second NFT contract, which are provided by a federation chain.
The NFT (Non-functional Token) may specifically refer to a Non-homogeneous voucher, and may be understood as a trusted digital rights voucher having a unique characteristic in a blockchain network, and is a data object capable of recording and processing multi-dimensional and complex attributes on a blockchain. A unique token may be used to identify for each data object. The token described above may be understood as a ticket voucher.
In some embodiments, the first contract credential may specifically include a first token corresponding to a first NFT contract; the second contract credential may specifically include a second token corresponding to a second NFT contract. The first storage address may specifically refer to a storage address (e.g., a url address) of the first NFT in the federation chain; the second storage address may specifically refer to a storage address of the second NFT contract in the federation chain. In specific implementation, the first NFT contract stored in the federation chain may be downloaded based on the first contract credential and the first storage address. Similarly, a second NFT contract stored in the federation chain is downloaded based on the second contract credential and the second storage address.
In some embodiments, the foregoing processing, by using the federation chain, the first signed target electronic contract in the form of a picture and the second signed target electronic contract in the form of a picture by invoking an NFT encryption algorithm to cast the first NFT contract and the second NFT contract may include the following specific implementation:
s1: acquiring and inquiring a alliance chain according to an authorization certificate of a first user and an authorization certificate of a second user so as to acquire a signature picture of the first user and a signature picture of the second user;
s2: by a alliance chain, based on an NFT encryption algorithm, processing a first signed target electronic contract in a picture form and a second signed target electronic contract in a picture form by using a signature picture of a first user and a signature picture of a second user to obtain a first NFT contract and a second NFT contract in a casting mode; the first NFT contract and the second NFT contract carry the signature of the first user and the signature of the second user at the same time.
Before specific implementation, the first user can use the first user terminal in advance, convert the signature handwritten by the first user terminal into a signature picture in a picture form, and upload and store the signature picture to the alliance chain. Similarly, the second user may use the second user terminal in advance, convert the signature handwritten by himself into a signature picture in the form of a picture, and upload and store the signature picture in the federation chain.
The signature picture of the first user and the signature picture of the second user, which are stored in the alliance chain, also carry the user identification of the first user and the user identification of the second user respectively. Moreover, the signature picture of the first user and the signature picture of the second user stored in the federation chain can be set to be downloaded and acquired only when the authorization credentials of the first user and the authorization credentials of the second user are held.
In specific implementation, in the process that the server interacts with the first user terminal and the second user terminal according to a preset verification rule, the server can obtain the authorization credential of the first user and the authorization credential of the second user, which are provided by the first user terminal and the second user terminal, under the condition that the first user and the second user are determined to pass the identity verification. The authorization credential of the first user may be obtained by the first user terminal signing with an identity key of the first user according to a preset encryption algorithm. The authorization credential of the second user may be obtained by the second user terminal signing with an identity key of the second user according to a preset encryption algorithm.
In some embodiments, the method, when embodied after casting the first NFT contract and the second NFT contract via blockchain, may further include the following: storing the image data of the first user for identity authentication into a alliance chain; and establishing a corresponding relation between the number of the images of the first user for identity authentication and the first NFT contract.
Similarly, the identity image data of the second user can be stored in the alliance chain; and establishing a corresponding relation between the image data of the second user for identity authentication and the second NFT contract.
In the above manner, the first user may be bound with the held first NFT contract through the federation chain, so that the first user may perform business data processing related to the contract, such as pledge of the contract, using the held first NFT contract. Similarly, the second user is bound with the held second NFT contract through the federation chain, so that the second user can subsequently perform business data processing related to the contract, such as pledge, transfer of the contract, and the like, using the held second NFT contract. Meanwhile, the method can also realize the existing certificate, and is convenient for subsequent backtracking inquiry of a supervision mechanism and the like.
In some embodiments, the target electronic contract may specifically include an electronic contract that is generated by the second user in advance using the second user terminal and is stored in the blockchain.
Further, the target electronic contract may further include a target electronic contract signed by the second user in advance.
In some embodiments, after obtaining the first NFT contract through the federation chain, the server may further encrypt the first NFT contract using an identity public key disclosed by the first user to obtain ciphertext data of the first NFT contract; and then the ciphertext data of the first NFT contract is stored in the alliance chain. The identity public key of the first user corresponds to the identity secret key of the first user. Accordingly, the first user can decrypt the ciphertext data of the first NFT contract by using the identity key held by the first user, so as to obtain the first NFT contract in a plaintext form.
Similarly, the server may also encrypt the second NFT contract using the public identity key of the second user to obtain ciphertext data of the second NFT contract; and then the ciphertext data of the second NFT contract is stored in the alliance chain. The identity public key of the second user corresponds to the identity secret key of the second user. Accordingly, the second user can decrypt the ciphertext data of the second NFT contract by using the identity key held by the second user, so as to obtain the second NFT contract in a plaintext form.
Therefore, the contract contents of the first NFT contract and the second NFT contract can be effectively prevented from being leaked, and the data security of the first NFT contract and the second NFT contract is protected.
As can be seen from the above, based on the data processing method for an electronic contract based on a block chain provided in the embodiment of the present specification, a server of an electronic contract management system receives a query request about a target electronic contract, which is initiated by a first user terminal; responding to the query request, acquiring a target electronic contract, and sending the target electronic contract in the first mode to the first user terminal; receiving a signing request aiming at a target electronic contract, which is initiated by a first user terminal; responding to the signing request, and respectively performing identity verification on a first user holding the first user terminal and a second user holding the second user terminal through interaction with the first user terminal and the second user terminal according to a preset verification rule; under the condition that the first user and the second user are confirmed to pass the identity authentication, sending a target electronic contract of a second mode to the first user terminal and the second user terminal; the first user signs the target electronic contract in the second mode by using the first user terminal to obtain a first signed target electronic contract, and the second user signs the target electronic contract in the second mode by using the second user terminal to obtain a second signed target electronic contract; receiving and casting a first NFT contract and a second NFT contract through a blockchain using the first signed target electronic contract and the second signed target electronic contract; wherein the first NFT contract and the second NFT contract are stored in a blockchain; acquiring a first contract certificate and a first storage address of a first NFT contract, and a second contract certificate and a second storage address of a second NFT contract; and sending a first contract certificate and a first storage address of the first NFT contract to the first user terminal, and sending a second contract certificate and a second storage address of the second NFT contract to the second user terminal. By comprehensively utilizing the block chain technology and the NFT technology, the first user and the second user participating in contract signing can safely and efficiently complete online contract signing; and after contract signing is completed, the first user and the second user can also respectively obtain and hold the first NFT contract and the second NFT contract which are stored in the block chain, so that the electronic contract is prevented from being tampered by the opposite side after signing, and meanwhile, the first user and the second user can also be supported to flexibly use the electronic contract held by the first user and the second user to complete processing of related service data such as contract pledge and the like, so that the first user and the second user can obtain better use experience.
Referring to fig. 5, the present specification further provides another data processing method for an electronic contract based on a block chain, which may be specifically applied to a first user terminal. When the method is implemented, the following contents can be included:
s501: receiving and responding to the query operation of the first user, and sending a query request about the target electronic contract to the server;
s502: acquiring and displaying a target electronic contract in a first mode to a first user;
s503: receiving and responding to the signing operation of the first user, and sending a signing request about the target electronic contract to a server;
s504: according to a preset verification rule, the identity of the first user is verified through interaction with the server;
s505: receiving and displaying the target electronic contract of the second mode to the first user; the server sends a target electronic contract in a second mode to the first user terminal and the second user terminal under the condition that the first user terminal and the second user terminal are confirmed to pass identity authentication;
s506: receiving and responding to the signature operation of the first user, and generating and sending a target electronic contract after the first signature to a server; wherein the server receives and utilizes the first signed target electronic contract and the second signed target electronic contract to cast the first NFT contract and the second NFT contract via a blockchain; the first NFT contract and the second NFT contract are stored in a blockchain;
s507: a first contract credential and a first storage address of a first NFT contract are received and saved.
In some embodiments, the method, when implemented, may further include: and receiving and responding to the business operation of the first user, and acquiring and using the first contract certificate and/or the first storage address of the first NFT contract to perform business data processing related to the first NFT contract.
Specifically, for example, the first user may send the first contract credential of the first NFT contract to a terminal held by the pledge through the first user terminal, so that the first user may use the first contract credential of the first NFT contract to perform a contract pledge with the pledge.
Embodiments of the present specification further provide a server, including a processor and a memory for storing processor-executable instructions, where the processor, when implemented specifically, may perform the following steps according to the instructions: receiving a query request about a target electronic contract initiated by a first user terminal; responding to the query request, acquiring a target electronic contract, and sending the target electronic contract in the first mode to the first user terminal; the first user terminal displays a target electronic contract in a first mode to a first user; receiving a signing request aiming at a target electronic contract, which is initiated by a first user terminal; responding to the signing request, and respectively performing identity verification on a first user holding the first user terminal and a second user holding the second user terminal through interaction with the first user terminal and the second user terminal according to a preset verification rule; under the condition that the first user and the second user are confirmed to pass the identity authentication, sending a target electronic contract of a second mode to the first user terminal and the second user terminal; the first user uses the first user terminal to sign the target electronic contract in the second mode to obtain a first signed target electronic contract, and the second user uses the second user terminal to sign the target electronic contract in the second mode to obtain a second signed target electronic contract; receiving and casting a first NFT contract and a second NFT contract through a blockchain using the first signed target electronic contract and the second signed target electronic contract; wherein the first NFT contract and the second NFT contract are stored in a blockchain; acquiring a first contract certificate and a first storage address of a first NFT contract, and a second contract certificate and a second storage address of a second NFT contract; and sending a first contract certificate and a first storage address of the first NFT contract to the first user terminal, and sending a second contract certificate and a second storage address of the second NFT contract to the second user terminal.
In order to more accurately complete the above instructions, referring to fig. 6, another specific server is provided in the embodiments of the present specification, where the server includes a network communication port 601, a processor 602, and a memory 603, and the above structures are connected by an internal cable, so that the structures may perform specific data interaction.
The network communication port 601 may be specifically configured to receive an inquiry request about a target electronic contract, which is initiated by a first user terminal.
The processor 602 may be specifically configured to respond to the query request, obtain the target electronic contract, and send the target electronic contract in the first mode to the first user terminal; the first user terminal displays a target electronic contract in a first mode to a first user; receiving a signing request aiming at a target electronic contract, which is initiated by a first user terminal; responding to the signing request, and respectively performing identity verification on a first user holding the first user terminal and a second user holding the second user terminal through interaction with the first user terminal and the second user terminal according to a preset verification rule; under the condition that the first user and the second user are confirmed to pass the identity authentication, sending a target electronic contract of a second mode to the first user terminal and the second user terminal; the first user signs the target electronic contract in the second mode by using the first user terminal to obtain a first signed target electronic contract, and the second user signs the target electronic contract in the second mode by using the second user terminal to obtain a second signed target electronic contract; receiving and casting a first NFT contract and a second NFT contract through a block chain by using the target electronic contract after the first signature and the target electronic contract after the second signature; wherein the first NFT contract and the second NFT contract are stored in a blockchain; acquiring a first contract certificate and a first storage address of a first NFT contract, and a second contract certificate and a second storage address of a second NFT contract; and sending a first contract certificate and a first storage address of the first NFT contract to the first user terminal, and sending a second contract certificate and a second storage address of the second NFT contract to the second user terminal.
The memory 603 may be specifically configured to store a corresponding instruction program.
In this embodiment, the network communication port 601 may be a virtual port bound to different communication protocols so as to send or receive different data. For example, the network communication port may be a port responsible for web data communication, a port responsible for FTP data communication, or a port responsible for mail data communication. In addition, the network communication port can also be a communication interface or a communication chip of an entity. For example, it may be a wireless mobile network communication chip, such as GSM, CDMA, etc.; it can also be a Wifi chip; it may also be a bluetooth chip.
In this embodiment, the processor 602 may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller and embedded microcontroller, and so forth. The description is not intended to be limiting.
In this embodiment, the memory 603 may include multiple layers, and in a digital system, the memory may be any memory as long as it can store binary data; in an integrated circuit, a circuit without a physical form and with a storage function is also called a memory, such as a RAM, a FIFO and the like; in the system, the storage device in physical form is also called a memory, such as a memory bank, a TF card and the like.
An embodiment of the present specification further provides a first user terminal, including a processor and a memory for storing processor-executable instructions, where the processor, when implemented, may perform the following steps according to the instructions: receiving and responding to the query operation of the first user, and sending a query request about the target electronic contract to the server; acquiring and displaying a target electronic contract of a first mode to a first user; receiving and responding to the signing operation of the first user, and sending a signing request about the target electronic contract to a server; according to a preset verification rule, the identity verification of the first user is completed through interaction with the server; receiving and displaying the target electronic contract of the second mode to the first user; the server sends a target electronic contract of a second mode to the first user terminal and the second user terminal under the condition that the first user terminal and the second user terminal are confirmed to pass identity authentication; receiving and responding to the signature operation of the first user, and generating and sending a target electronic contract after the first signature to a server; the server receives and utilizes the first signed target electronic contract and the second signed target electronic contract to cast a first NFT contract and a second NFT contract through a block chain; the first NFT contract and the second NFT contract are stored in a blockchain; a first contract credential and a first storage address of a first NFT contract are received and saved.
The present specification further provides a computer-readable storage medium based on the data processing method for the block chain-based electronic contract, where the computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed, the computer program instructions implement: receiving a query request about a target electronic contract initiated by a first user terminal; responding to the query request, acquiring a target electronic contract, and sending the target electronic contract in the first mode to the first user terminal; the first user terminal displays a target electronic contract in a first mode to a first user; receiving a signing request aiming at a target electronic contract, which is initiated by a first user terminal; responding to the signing request, and respectively performing identity verification on a first user holding the first user terminal and a second user holding the second user terminal through interaction with the first user terminal and the second user terminal according to a preset verification rule; under the condition that the first user and the second user pass the identity verification, sending a target electronic contract of a second mode to the first user terminal and the second user terminal; the first user uses the first user terminal to sign the target electronic contract in the second mode to obtain a first signed target electronic contract, and the second user uses the second user terminal to sign the target electronic contract in the second mode to obtain a second signed target electronic contract; receiving and casting a first NFT contract and a second NFT contract through a block chain by using the target electronic contract after the first signature and the target electronic contract after the second signature; wherein the first NFT contract and the second NFT contract are stored in a blockchain; acquiring a first contract certificate and a first storage address of a first NFT contract, and a second contract certificate and a second storage address of a second NFT contract; and sending a first contract certificate and a first storage address of the first NFT contract to the first user terminal, and sending a second contract certificate and a second storage address of the second NFT contract to the second user terminal.
In this embodiment, the storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, the functions and effects specifically realized by the program instructions stored in the computer-readable storage medium can be explained in comparison with other embodiments, and are not described herein again.
Embodiments of the present specification further provide a computer program product, which includes a computer program, and when executed by a processor, the computer program implements the following steps: receiving a query request about a target electronic contract initiated by a first user terminal; responding to the query request, acquiring a target electronic contract, and sending the target electronic contract in the first mode to the first user terminal; the first user terminal displays a target electronic contract in a first mode to a first user; receiving a signing request aiming at a target electronic contract, which is initiated by a first user terminal; responding to the signing request, and respectively performing identity verification on a first user holding the first user terminal and a second user holding the second user terminal through interaction with the first user terminal and the second user terminal according to a preset verification rule; under the condition that the first user and the second user are confirmed to pass the identity authentication, sending a target electronic contract of a second mode to the first user terminal and the second user terminal; the first user signs the target electronic contract in the second mode by using the first user terminal to obtain a first signed target electronic contract, and the second user signs the target electronic contract in the second mode by using the second user terminal to obtain a second signed target electronic contract; receiving and casting a first NFT contract and a second NFT contract through a block chain by using the target electronic contract after the first signature and the target electronic contract after the second signature; wherein the first NFT contract and the second NFT contract are stored in a blockchain; acquiring a first contract certificate and a first storage address of a first NFT contract, and a second contract certificate and a second storage address of a second NFT contract; and sending a first contract certificate and a first storage address of the first NFT contract to the first user terminal, and sending a second contract certificate and a second storage address of the second NFT contract to the second user terminal.
Referring to fig. 7, in a software level, an embodiment of the present specification further provides a data processing apparatus for an electronic contract based on a block chain, where the apparatus may specifically include the following structural modules:
the first receiving module 701 may specifically be configured to receive a query request, which is initiated by a first user terminal, for a target electronic contract;
the first sending module 702 may be specifically configured to respond to the query request, acquire the target electronic contract, and send the target electronic contract in the first mode to the first user terminal; the first user terminal displays a target electronic contract in a first mode to a first user;
the second receiving module 703 may be specifically configured to receive a signing request for the target electronic contract, where the signing request is initiated by the first user terminal;
the verification module 704 may be specifically configured to respond to the signing request, and perform identity verification on a first user holding the first user terminal and a second user holding the second user terminal by interacting with the first user terminal and the second user terminal according to a preset verification rule;
the second sending module 705 is specifically configured to send the target electronic contract in the second mode to the first user terminal and the second user terminal under the condition that the identity authentication of the first user and the identity authentication of the second user are determined to pass; the first user signs the target electronic contract in the second mode by using the first user terminal to obtain a first signed target electronic contract, and the second user signs the target electronic contract in the second mode by using the second user terminal to obtain a second signed target electronic contract;
the third receiving module 706 may be specifically configured to receive and cast the first NFT contract and the second NFT contract through the block chain by using the first signed target electronic contract and the second signed target electronic contract; wherein the first NFT contract and the second NFT contract are stored in a blockchain;
the third sending module 707 may be specifically configured to obtain a first contract credential and a first storage address of the first NFT contract, and a second contract credential and a second storage address of the second NFT contract; and sending a first contract certificate and a first storage address of the first NFT contract to the first user terminal, and sending a second contract certificate and a second storage address of the second NFT contract to the second user terminal.
In some embodiments, the blockchain may specifically include a federation chain.
In some embodiments, the third receiving module 706, when implemented, may cast the first NFT contract and the second NFT contract through the block chain by using the first signed target electronic contract and the second signed target electronic contract in the following manner: respectively converting the target electronic contract after the first signature and the target electronic contract after the second signature into a picture form; calling an NFT encryption algorithm to process a first signed target electronic contract in a picture form and a second signed target electronic contract in a picture form through a alliance chain so as to obtain a first NFT contract and a second NFT contract through casting, and storing the first NFT contract and the second NFT contract into the alliance chain; the method comprises the steps of obtaining a first contract certificate and a first storage address corresponding to a first NFT contract, and a second contract certificate and a second storage address corresponding to a second NFT contract, wherein the first contract certificate and the first storage address are provided by a federation chain.
In some embodiments, the first contract credential may specifically include a first token corresponding to a first NFT contract; the second contract credential may specifically include a second token corresponding to a second NFT contract.
In specific implementation, the third receiving module 706 may invoke an NFT encryption algorithm to process the first signed target electronic contract in the form of a picture and the second signed target electronic contract in the form of a picture through a federation chain according to the following manners to obtain the first NFT contract and the second NFT contract by casting: acquiring and inquiring a alliance chain according to an authorization certificate of a first user and an authorization certificate of a second user so as to acquire a signature picture of the first user and a signature picture of the second user; by a alliance chain, based on an NFT encryption algorithm, processing a first signed target electronic contract in a picture form and a second signed target electronic contract in a picture form by using a signature picture of a first user and a signature picture of a second user to obtain a first NFT contract and a second NFT contract in a casting mode; the first NFT contract and the second NFT contract carry the signature of the first user and the signature of the second user at the same time.
In some embodiments, when implemented specifically, the authentication module 704 may interact with the first user terminal according to a preset authentication rule in the following manner, so as to authenticate an identity of a first user holding the first user terminal: generating a first authentication link with respect to a first user; sending the first authentication link to a first user terminal; the first user terminal guides the first user to perform identity authentication based on the first identity authentication link, and acquires image data of the identity authentication of the first user; and receiving image data according to the authentication of the first user, and determining whether the first user passes the authentication by querying a user database based on the alliance chain.
In some embodiments, the apparatus, when implemented after casting the first NFT contract and the second NFT contract through the blockchain, may be further configured to store image data for authentication of the first user in the federation chain; and establishing a corresponding relation between the number of the images of the first user for identity authentication and the first NFT contract.
In some embodiments, in a case that it is determined that the first user authentication fails, the apparatus, when implemented, may be further configured to generate an error notification; and sending the error-reporting prompt to the first user terminal.
In some embodiments, the target electronic contract may specifically include an electronic contract generated by the second user in advance using the second user terminal and stored in the blockchain.
Referring to fig. 8, in a software level, an embodiment of the present specification further provides a data processing apparatus for an electronic contract based on a block chain, where the apparatus may specifically include the following structural modules:
the first sending module 801 may be specifically configured to receive and respond to a query operation of a first user, and send a query request about a target electronic contract to a server;
the first display module 802 may be specifically configured to obtain and display a target electronic contract in a first mode to a first user;
a second sending module 803, which may be specifically configured to receive and respond to the signing operation of the first user, and send a signing request about the target electronic contract to the server;
the verification module 804 may be specifically configured to complete identity verification for the first user by interacting with the server according to a preset verification rule;
the second display module 805 may be specifically configured to receive and display the target electronic contract in the second mode to the first user; the server sends a target electronic contract in a second mode to the first user terminal and the second user terminal under the condition that the first user terminal and the second user terminal are confirmed to pass identity authentication;
a third sending module 806, which is specifically configured to receive and respond to the signature operation of the first user, and generate and send the target electronic contract after the first signature to the server; wherein the server receives and utilizes the first signed target electronic contract and the second signed target electronic contract to cast the first NFT contract and the second NFT contract via a blockchain; the first NFT contract and the second NFT contract are stored in a blockchain;
the saving module 807 may be specifically configured to receive and save the first contract credential and the first storage address of the first NFT contract.
It should be noted that, the units, devices, modules, etc. illustrated in the above embodiments may be implemented by a computer chip or an entity, or implemented by a product with certain functions. For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. It is to be understood that, in implementing the present specification, functions of each module may be implemented in one or more pieces of software and/or hardware, or a module that implements the same function may be implemented by a combination of a plurality of sub-modules or sub-units, or the like. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
As can be seen from the above, the data processing apparatus for block chain-based electronic contract provided in the embodiments of the present specification makes it possible for a first user and a second user participating in contract subscription to safely and efficiently complete online contract subscription by comprehensively utilizing the block chain technology and the NFT technology; and after contract signing is completed, the first user and the second user can also respectively obtain and hold the first NFT contract and the second NFT contract which are stored in the block chain, so that the electronic contract is prevented from being tampered by the opposite side after signing, and meanwhile, the first user and the second user can also be supported to flexibly use the electronic contract held by the first user and the second user to complete processing of relevant service data such as contract pledge and the like, so that the first user and the second user can obtain better use experience.
Although the present specification provides method steps as described in the examples or flowcharts, additional or fewer steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an apparatus or client product in practice executes, it may execute sequentially or in parallel (e.g., in a parallel processor or multithreaded processing environment, or even in a distributed data processing environment) according to the embodiments or methods shown in the figures. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the presence of additional identical or equivalent elements in a process, method, article, or apparatus that comprises the recited elements is not excluded. The terms first, second, etc. are used to denote names, but not to denote any particular order.
Those skilled in the art will also appreciate that, in addition to implementing the controller in purely computer readable program code means, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may therefore be considered as a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer-readable storage media including memory storage devices.
From the above description of the embodiments, it is clear to those skilled in the art that the present specification can be implemented by software plus necessary general hardware platform. With this understanding, the technical solutions in the present specification may be essentially embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a mobile terminal, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments in the present specification.
The embodiments in the present specification are described in a progressive manner, and the same or similar parts in the embodiments are referred to each other, and each embodiment focuses on differences from other embodiments. The description is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
While the specification has been described with examples, those skilled in the art will appreciate that there are numerous variations and permutations of the specification that do not depart from the spirit of the specification, and it is intended that the appended claims include such variations and modifications that do not depart from the spirit of the specification.

Claims (15)

1. A data processing method of an electronic contract based on a block chain is characterized in that an application server comprises the following steps:
receiving a query request about a target electronic contract initiated by a first user terminal;
responding to the query request, acquiring a target electronic contract, and sending the target electronic contract in the first mode to the first user terminal; the first user terminal displays a target electronic contract in a first mode to a first user;
receiving a signing request aiming at a target electronic contract, which is initiated by a first user terminal;
responding to the signing request, and respectively performing identity verification on a first user holding the first user terminal and a second user holding the second user terminal through interaction with the first user terminal and the second user terminal according to a preset verification rule;
under the condition that the first user and the second user are confirmed to pass the identity authentication, sending a target electronic contract of a second mode to the first user terminal and the second user terminal; the first user uses the first user terminal to sign the target electronic contract in the second mode to obtain a first signed target electronic contract, and the second user uses the second user terminal to sign the target electronic contract in the second mode to obtain a second signed target electronic contract;
receiving and casting a first NFT contract and a second NFT contract through a block chain by using the target electronic contract after the first signature and the target electronic contract after the second signature; wherein the first NFT contract and the second NFT contract are stored in a blockchain;
acquiring a first contract certificate and a first storage address of a first NFT contract, and a second contract certificate and a second storage address of a second NFT contract; and sending a first contract certificate and a first storage address of the first NFT contract to the first user terminal, and sending a second contract certificate and a second storage address of the second NFT contract to the second user terminal.
2. The method of claim 1, wherein the blockchain comprises a federation chain.
3. The method of claim 2, wherein casting the first NFT contract and the second NFT contract through a blockchain using the first signed target electronic contract and the second signed target electronic contract comprises:
respectively converting the target electronic contract after the first signature and the target electronic contract after the second signature into a picture form;
calling an NFT encryption algorithm to process a first signed target electronic contract in a picture form and a second signed target electronic contract in a picture form through a alliance chain so as to obtain a first NFT contract and a second NFT contract through casting, and storing the first NFT contract and the second NFT contract into the alliance chain;
the method comprises the steps of obtaining a first contract certificate and a first storage address corresponding to a first NFT contract, and a second contract certificate and a second storage address corresponding to a second NFT contract, wherein the first contract certificate and the first storage address are provided by a federation chain.
4. The method of claim 3, wherein the first contract credential includes a first token corresponding to a first NFT contract; the second contract credential includes a second token corresponding to a second NFT contract.
5. The method of claim 3, wherein invoking the NFT encryption algorithm to process the first signed target electronic contract in the form of a picture and the second signed target electronic contract in the form of a picture through a federation chain to cast the first NFT contract and the second NFT contract comprises:
acquiring and inquiring a alliance chain according to an authorization certificate of a first user and an authorization certificate of a second user so as to acquire a signature picture of the first user and a signature picture of the second user;
by a alliance chain, based on an NFT encryption algorithm, processing a first signed target electronic contract in a picture form and a second signed target electronic contract in a picture form by using a signature picture of a first user and a signature picture of a second user to obtain a first NFT contract and a second NFT contract in a casting mode; the first NFT contract and the second NFT contract carry the signature of the first user and the signature of the second user at the same time.
6. The method according to claim 2, wherein the authentication of the first user with the first user terminal and the authentication of the second user with the second user terminal are performed by interacting with the first user terminal and the second user terminal, respectively, according to a preset authentication rule, comprising:
according to the following mode, interaction with a first user terminal is carried out according to a preset verification rule so as to carry out identity verification on a first user with the first user terminal:
generating a first authentication link with respect to a first user;
sending the first identity verification link to a first user terminal; the first user terminal guides the first user to perform identity authentication based on the first identity authentication link, and acquires image data of the identity authentication of the first user;
and receiving image data according to the authentication of the first user, and determining whether the authentication of the first user passes or not by querying a user database based on the alliance chain.
7. The method of claim 6, wherein after casting the first and second NFT contracts through a blockchain, the method further comprises:
storing the image data of the first user identity authentication into a alliance chain; and establishing a corresponding relation between the number of the images of the first user for identity authentication and the first NFT contract.
8. The method of claim 6, wherein in the event that it is determined that the first user authentication fails, the method further comprises:
generating an error prompt; and sending the error-reporting prompt to the first user terminal.
9. The method according to claim 1, wherein the target electronic contract comprises an electronic contract that the second user generated in advance using the second user terminal and saved in the blockchain.
10. A data processing method of an electronic contract based on a block chain is characterized in that a first user terminal is applied, and the method comprises the following steps:
receiving and responding to the query operation of the first user, and sending a query request about a target electronic contract to a server;
acquiring and displaying a target electronic contract in a first mode to a first user;
receiving and responding to the signing operation of the first user, and sending a signing request about the target electronic contract to a server;
according to a preset verification rule, the identity verification of the first user is completed through interaction with the server;
receiving and displaying the target electronic contract of the second mode to the first user; the server sends a target electronic contract in a second mode to the first user terminal and the second user terminal under the condition that the first user terminal and the second user terminal are confirmed to pass identity authentication;
receiving and responding to the signature operation of the first user, and generating and sending a target electronic contract after the first signature to a server; wherein the server receives and utilizes the first signed target electronic contract and the second signed target electronic contract to cast the first NFT contract and the second NFT contract via a blockchain; the first NFT contract and the second NFT contract are stored in a blockchain;
a first contract credential and a first storage address of a first NFT contract are received and saved.
11. A data processing apparatus for block chain based electronic contract, characterized by an application server comprising:
the first receiving module is used for receiving a query request which is initiated by a first user terminal and is about a target electronic contract;
the first sending module is used for responding to the query request, acquiring a target electronic contract and sending the target electronic contract in the first mode to the first user terminal; the first user terminal displays a target electronic contract in a first mode to a first user;
the second receiving module is used for receiving a signing request aiming at the target electronic contract, which is initiated by the first user terminal;
the verification module is used for responding to the signing request and respectively verifying the identity of a first user holding the first user terminal and a second user holding the second user terminal by interacting with the first user terminal and the second user terminal according to a preset verification rule;
the second sending module is used for sending the target electronic contract in the second mode to the first user terminal and the second user terminal under the condition that the first user and the second user are confirmed to pass the identity verification; the first user uses the first user terminal to sign the target electronic contract in the second mode to obtain a first signed target electronic contract, and the second user uses the second user terminal to sign the target electronic contract in the second mode to obtain a second signed target electronic contract;
a third receiving module, configured to receive and cast the first NFT contract and the second NFT contract through the block chain by using the first signed target electronic contract and the second signed target electronic contract; wherein the first NFT contract and the second NFT contract are stored in a blockchain;
a third sending module, configured to obtain a first contract credential and a first storage address of the first NFT contract, and a second contract credential and a second storage address of the second NFT contract; and sending the first contract certificate and the first storage address of the first NFT contract to the first user terminal, and sending the second contract certificate and the second storage address of the second NFT contract to the second user terminal.
12. A data processing apparatus for block chain based electronic contract, wherein a first user terminal is applied, comprising:
the first sending module is used for receiving and responding to the inquiry operation of the first user and sending an inquiry request about the target electronic contract to the server;
the first display module is used for acquiring and displaying the target electronic contract in the first mode to a first user;
the second sending module is used for receiving and responding to the signing operation of the first user and sending a signing request about the target electronic contract to the server;
the authentication module is used for finishing the identity authentication of the first user by interacting with the server according to a preset authentication rule;
the second display module is used for receiving and displaying the target electronic contract in the second mode to the first user; the server sends a target electronic contract in a second mode to the first user terminal and the second user terminal under the condition that the first user terminal and the second user terminal are confirmed to pass identity authentication;
the third sending module is used for receiving and responding to the signature operation of the first user, and generating and sending the target electronic contract after the first signature to the server; wherein the server receives and utilizes the first signed target electronic contract and the second signed target electronic contract to cast the first NFT contract and the second NFT contract via a blockchain; the first NFT contract and the second NFT contract are stored in a blockchain;
the storage module is used for receiving and storing a first contract credential and a first storage address of a first NFT contract.
13. A server comprising a processor and a memory for storing processor-executable instructions which, when executed by the processor, implement the steps of the method of any one of claims 1 to 9.
14. A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, carry out the steps of the method of any one of claims 1 to 9, or 10.
15. A computer program product comprising a computer program which, when executed by a processor, performs the steps of the method of any one of claims 1 to 9, or 10.
CN202211193721.XA 2022-09-28 2022-09-28 Data processing method and device for electronic contract based on block chain and server Pending CN115482132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211193721.XA CN115482132A (en) 2022-09-28 2022-09-28 Data processing method and device for electronic contract based on block chain and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211193721.XA CN115482132A (en) 2022-09-28 2022-09-28 Data processing method and device for electronic contract based on block chain and server

Publications (1)

Publication Number Publication Date
CN115482132A true CN115482132A (en) 2022-12-16

Family

ID=84394177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211193721.XA Pending CN115482132A (en) 2022-09-28 2022-09-28 Data processing method and device for electronic contract based on block chain and server

Country Status (1)

Country Link
CN (1) CN115482132A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116383875A (en) * 2023-03-22 2023-07-04 深圳市明源云科技有限公司 Data processing method, device and equipment for property right transaction and storage medium thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116383875A (en) * 2023-03-22 2023-07-04 深圳市明源云科技有限公司 Data processing method, device and equipment for property right transaction and storage medium thereof

Similar Documents

Publication Publication Date Title
CN110036613B (en) System and method for providing identity authentication for decentralized applications
CN109274652B (en) Identity information verification system, method and device and computer storage medium
CN111080295B (en) Electronic contract processing method and device based on blockchain
CN111917773B (en) Service data processing method and device and server
US8413214B2 (en) Terminal system for guaranteeing authenticity, terminal, and terminal management server
CN102546171B (en) Secure element authentication method
US10045210B2 (en) Method, server and system for authentication of a person
CN112333198A (en) Secure cross-domain login method, system and server
CN108234442B (en) Method, system and readable storage medium for acquiring contract
US9065806B2 (en) Internet based security information interaction apparatus and method
CN109474437B (en) Method for applying digital certificate based on biological identification information
CN109660534B (en) Multi-merchant-based security authentication method and device, electronic equipment and storage medium
US20200196143A1 (en) Public key-based service authentication method and system
CN109347865B (en) User data authentication and evidence storage method and system based on block chain technology
CN112800392A (en) Authorization method and device based on soft certificate and storage medium
CN111062059B (en) Method and device for service processing
CN106685945B (en) Service request processing method, service handling number verification method and terminal thereof
CN109740319B (en) Digital identity verification method and server
CN115482132A (en) Data processing method and device for electronic contract based on block chain and server
CN113434882A (en) Communication protection method and device of application program, computer equipment and storage medium
CN109818965B (en) Personal identity verification device and method
Otterbein et al. The German eID as an authentication token on android devices
CN111177674A (en) Device verification method and device
CN115345729A (en) Credit card issuing method and device, electronic equipment and storage medium
CN109688158B (en) Financial execution chain authentication method, electronic device and storage medium

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