CN108197479B - Method and system for judging electronic contract signing time accuracy - Google Patents

Method and system for judging electronic contract signing time accuracy Download PDF

Info

Publication number
CN108197479B
CN108197479B CN201711229681.9A CN201711229681A CN108197479B CN 108197479 B CN108197479 B CN 108197479B CN 201711229681 A CN201711229681 A CN 201711229681A CN 108197479 B CN108197479 B CN 108197479B
Authority
CN
China
Prior art keywords
contract
electronic contract
time
digital signature
transfer operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711229681.9A
Other languages
Chinese (zh)
Other versions
CN108197479A (en
Inventor
崔广斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seashell Housing Beijing Technology Co Ltd
Original Assignee
Seashell Housing Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seashell Housing Beijing Technology Co Ltd filed Critical Seashell Housing Beijing Technology Co Ltd
Priority to CN201711229681.9A priority Critical patent/CN108197479B/en
Publication of CN108197479A publication Critical patent/CN108197479A/en
Application granted granted Critical
Publication of CN108197479B publication Critical patent/CN108197479B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Abstract

The invention provides a method and a system for judging the accuracy of signing time of an electronic contract, wherein the method utilizes the characteristic that data in a blockchain network has the characteristic of being not falsifiable, initiates a transfer operation in the blockchain network, writes a real digital signature of the electronic contract into a transaction remark of the transfer operation, compares the obtained first digital signature with the real digital signature, compares the signing time with transaction time information of the transfer operation, and determines that the signing time of the contract is falsified by a person if the signing time is different from the transaction time, namely the signing time is wrong. Therefore, whether the signing time of the electronic contract is accurate or not can be judged in time, and the signing time of the electronic contract is further determined to be the transaction time, so that great loss is avoided for a signer of the electronic contract.

Description

Method and system for judging electronic contract signing time accuracy
Technical Field
The invention relates to the technical field of intelligent contracts, in particular to a method and a system for judging the accuracy of electronic contract signing time.
Background
With the continuous development of electronic commerce, the traditional paper contract is being replaced by an electronic contract. Electronic contracts are usually signed by means of electronic data exchanges and e-mails. The method is complicated to operate, because the electronic contract is not encrypted in the confirmation and transmission processes, the electronic contract is easy to be intercepted or modified illegally, the commercial secrets and the transaction safety of the parties of the contract are threatened, and the signing process of the electronic contract is lack of safety control.
At present, some third-party electronic contract service companies adopt a centralized form to store electronic contract data on a centralized server. The safety of the electronic contract data is mainly ensured by the flow specification and the technology inside the third-party electronic contract service company. The third-party electronic contract service company can modify the data on the centralized server, and in the case that the credibility of the third-party electronic contract service company is not credible, whether the third-party electronic contract service company modifies the data on the centralized server cannot be determined. The content tamper resistance of a general electronic contract can be ensured through digital signature, specifically, the text of the electronic contract is subjected to Hash calculation to obtain a text abstract, the text abstract is encrypted by using a private key of a contract initiating end to generate a digital signature, and the digital signature is added into the electronic contract; the contract receiving party can decrypt the digital signature by using the public key of the contract initiating end to obtain a text abstract, meanwhile, hash calculation is carried out on the text of the received electronic contract to obtain the text abstract, the text abstract is compared with the text abstract obtained from the digital signature, and if the text abstract is consistent with the text abstract, the electronic contract is not tampered; otherwise, the electronic contract is not tampered.
In the prior art, only whether the content of the electronic contract is tampered can be judged, but the validity of the signing time of the electronic contract is difficult to technically prove. In some fields related to policy, such as real estate transaction, the signing time of the electronic contract may be different, so that different influences may be caused to the contractor, and even the contract cannot be fulfilled. Therefore, a method for judging whether the signing time of the electronic contract is accurate is urgently needed.
Disclosure of Invention
To overcome the above problems or at least partially solve the above problems, the present invention provides a method and a system for determining the accuracy of electronic contract signing time.
In one aspect, the invention provides a method for judging the accuracy of signing time of an electronic contract, which comprises the following steps:
s1, acquiring signing time, a first digital signature and key information of the electronic contract from a preset contract system;
s2, acquiring a second digital signature of the electronic contract and the transaction time of a transfer operation corresponding to the electronic contract in a blockchain network according to the key information, wherein the transfer operation is initiated on the blockchain network;
and S3, if the first digital signature and the second digital signature are judged to be the same and the signing time is different from the transaction time, determining that the signing time is wrong.
Preferably, the key information is a transaction hash value corresponding to the transfer operation.
Preferably, S1 is preceded by:
s011, after the electronic contract is signed, performing MD5 encryption processing on the electronic contract to obtain a third digital signature;
s012, initiating a transfer operation on the blockchain network within a preset length time period at the signing time of the electronic contract, writing the third digital signature into a transaction remark of the transfer operation, recording a transaction hash value of the transfer operation, and taking the transaction hash value as key information of the electronic contract;
and S013, after the transfer operation is successful, if the signing time of the electronic contract is judged to be the same as the current time, storing the electronic contract, the third digital signature, the signing time of the electronic contract and the key information of the electronic contract into the preset contract system.
Preferably, the S011 specifically includes:
after the electronic contract is signed, distributing a contract number for the electronic contract, and carrying out MD5 encryption processing on the electronic contract to obtain a third digital signature;
correspondingly, the S013 specifically includes:
and after the transfer operation is successful, if the signing time of the electronic contract is judged to be the same as the current time, storing the electronic contract, the contract number of the electronic contract, the third digital signature, the signing time of the electronic contract and the key information of the electronic contract into the preset contract system.
Preferably, S1 is preceded by:
s021, after the paper contract is signed, converting the paper contract into a digital electronic contract, and performing MD5 encryption processing on the electronic contract to obtain a fourth digital signature;
s022, initiating a transfer operation on the public block chain network within a preset length time period at the signing time of the paper contract, writing the fourth digital signature into a transaction remark of the transfer operation, recording a transaction hash value of the transfer operation, and taking the transaction hash value as key information of the electronic contract;
s023, after the transfer operation is successful, if the signing time of the electronic contract is judged to be the same as the current time, storing the electronic contract, the fourth digital signature, the signing time of the paper contract and the key information of the electronic contract into the preset contract system.
Preferably, the S021 specifically includes:
after the paper contract is signed, allocating a contract number to the paper contract, converting the paper contract into a digital electronic contract, and performing MD5 encryption processing on the electronic contract to obtain a fourth digital signature;
correspondingly, the S023 specifically includes:
and after the transfer operation is successful, if the signing time of the electronic contract is judged to be the same as the current time, storing the electronic contract, the contract number of the electronic contract, the fourth digital signature, the signing time of the electronic contract and the key information of the electronic contract into the preset contract system.
Preferably, in S021, the paper contract is converted into a digitized electronic contract, specifically: and converting the paper contract into an electronic contract in a PDF format.
Preferably, the public blockchain network comprises: bitcoin blockchain networks and etherhouse blockchain networks.
Preferably, the transfer operation is a transfer operation of the lowest credit.
On the other hand, the invention also provides a system for judging the signing time accuracy of the electronic contract, which comprises the following steps: the device comprises a key information calling module, a time and signature acquisition module and an accuracy determination module. Wherein the content of the first and second substances,
the key information calling module is used for acquiring the signing time, the first digital signature and the key information of the electronic contract from a preset contract system;
the time and signature acquisition module is used for acquiring a second digital signature of the electronic contract and transaction time of a transfer operation corresponding to the electronic contract in a block chain network according to the key information, and the transfer operation is initiated on the block chain network;
and the accuracy determining module is used for determining that the signing time is wrong if the first digital signature is judged to be the same as the second digital signature and the signing time is different from the transaction time.
In another aspect, the invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method described above.
In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the above-described method.
The method and the system for judging the accuracy of the signing time of the electronic contract provided by the invention have the advantages that the transfer operation is initiated in the blockchain network by utilizing the characteristic that data in the blockchain network has the property of being not falsifiable, the real digital signature of the electronic contract is written into the transaction remarks of the transfer operation, the obtained first digital signature is compared with the real digital signature, the signing time is compared with the transaction time information of the transfer operation, and if the signing time is different from the transaction time, the signing time of the contract is confirmed to be falsified by a person, namely the signing time is wrong. Therefore, whether the signing time of the electronic contract is accurate or not can be judged in time, and the signing time of the electronic contract is further determined to be the transaction time, so that great loss is avoided for a signer of the electronic contract.
Drawings
FIG. 1 is a flowchart illustrating a method for determining the accuracy of an electronic contract signing time according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for determining the content of the pre-arranged contract system in the method for determining the accuracy of the signing time of the electronic contract according to another embodiment of the present invention;
FIG. 3 is a flowchart of a method for determining the content of the pre-arranged contract system in the method for determining the accuracy of the signing time of the electronic contract according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a system for determining the accuracy of electronic contract signing time according to another embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
As shown in fig. 1, an embodiment of the present invention provides a method for determining accuracy of signing time of an electronic contract, including:
s1, acquiring signing time, a first digital signature and key information of the electronic contract from a preset contract system;
s2, acquiring a second digital signature of the electronic contract and the transaction time of a transfer operation corresponding to the electronic contract in a blockchain network according to the key information, wherein the transfer operation is initiated on the blockchain network;
and S3, if the first digital signature and the second digital signature are judged to be the same and the signing time is different from the transaction time, determining that the signing time is wrong.
Specifically, the blockchain is a distributed database, and is a novel application mode adopting computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. The consensus mechanism is a mathematical algorithm for establishing trust and obtaining rights and interests among different nodes in a block chain system. The blockchain adopts a cryptographic method to ensure that the internal data cannot be tampered, and adopts a consensus mechanism to achieve consensus on the newly added data.
The block chain mainly comprises a private block chain, an industry block chain and a public block chain, wherein the private block chain refers to a closed ecological storage network, and all nodes are trusted, such as most companies in a large group. An industry blockchain refers to a semi-closed ecological trading network with peer-to-peer untrusted nodes, such as the real estate industry A, B, C, D corporation. The public block chain is an open ecological transaction network and mainly provides a global transaction network for the industry block chain and the private block chain. The public blockchains may include bitcoin blockchains and ether house blockchains.
The invention provides a method and a system for proving contract signing time for a contract performer by using the characteristic that data in a block chain cannot be tampered through a technical means. In particular, private block chains, industry block chains, or common block chains may be employed. The electronic contract is subjected to data signature, the digital signature is written into the blockchain by using account transfer operation on the blockchain network, and the signing time of the electronic contract stored in the preset contract system is proved to be accurate or not by using a transaction timestamp on the blockchain.
Firstly, the signing time, a first digital signature and key information of an electronic contract are called in a preset contract system; because the preset contract system does not encrypt the signing time of the electronic contract, the signing time stored in the preset contract system is possibly tampered, so that the signing time is inaccurate, and further great loss can be caused to a signer of the electronic contract. It should be noted that the signing time in the present invention is the time written by the contract signer in the electronic contract, and the signing time is the minimum unit of day, specifically including year, month and day.
When the related information of the electronic contract is called in the preset contract system, the contract number of the electronic contract can be obtained first. The contract number may be a contract number configured for each electronic contract before the electronic contract is stored in the pre-contract system, and each electronic contract corresponds to a different contract number for distinguishing different electronic contracts.
In the embodiment, the transaction time of the transfer operation corresponding to the electronic contract and the second digital signature of the electronic contract are acquired in a blockchain network according to the key information; and judging whether the signing time is the same as the transaction time or not and whether the first digital signature is the same as the second digital signature or not, if the first digital signature is the same as the second digital signature but the signing time is different from the transaction time, the signing time on the electronic contract is falsified by a person, namely the signing time obtained from a preset contract system is falsified by the person, namely the signing time is determined to be wrong and invalid. And the correct signing time is the transaction time for the transfer operation corresponding to the electronic contract in the blockchain network.
It should be noted that the key information described herein is used to determine the transfer operation corresponding to the electronic contract on the blockchain, and further determine the transaction time of the transfer operation, and the digital signature written in the transaction remark of the transfer operation. Preferably, the transaction hash value generated by the transfer operation, that is, the serial number corresponding to the transfer operation, may be used as the key information of the electronic contract, and since the transfer operation is completed in the blockchain network, the transaction hash value is randomly generated by the blockchain network, and each transfer operation corresponds to a unique transaction hash value, but the transaction hash value also has a risk of being tampered with, and therefore cannot be used as a criterion for determining whether the two contracts are the same. The transaction remarks of the transfer operation are written with a second digital signature of the electronic contract, and the second digital signature is generated after the electronic contract is signed and represents the true content of the original electronic contract, namely the true digital signature.
The first digital signature and the second digital signature are described herein for the purpose of distinguishing and do not serve any other purpose. The first digital signature is a digital signature stored in a preset contract system and is possible to be tampered, and the second digital signature is a digital signature stored in a blockchain network and is a digital signature of an original electronic contract which cannot be tampered. In this embodiment, the digital signature is obtained by processing through an MD5 algorithm, but is not limited to the MD5 algorithm, and may also be obtained through other encryption algorithms, as long as the digital signatures corresponding to the electronic contract before and after tampering are obviously different, so as to determine whether the content of the electronic contract is tampered with.
And if the first digital signature is judged to be the same as the second digital signature, the content of the electronic contract is not tampered. If the signing time is judged to be the same as the transaction time at the same time, the signing time of the contract can be determined to be not tampered, namely the signing time is correct. If the signing time is judged to be different from the transaction time at the same time, the signing time of the contract is determined to be tampered by people, namely the signing time is wrong.
And if the first digital signature is judged to be different from the second digital signature, the content of the electronic contract is falsified.
In the embodiment, the transfer operation is initiated in the blockchain network by utilizing the characteristic that data in the blockchain network cannot be tampered, the real digital signature of the electronic contract is written into the transaction remark of the transfer operation, the obtained first digital signature is compared with the real digital signature, the signing time is compared with the transaction time information of the transfer operation, and if the signing time is different from the transaction time, the signing time of the contract is determined to be tampered by a person, namely the signing time is wrong. Therefore, whether the signing time of the electronic contract is accurate or not can be judged in time, and the signing time of the electronic contract is further determined to be the transaction time, so that great loss is avoided for a signer of the electronic contract.
On the basis of the above embodiment, the transfer operation may be initiated on the public blockchain network.
In order to enable the method to be widely applied to various clients without being limited by the authority in the block chain network, a public block chain network can be adopted to initiate a transfer operation, and a second digital signature of the electronic contract is written in a transaction remark of the transfer operation. And the transaction hash value (namely serial number) corresponding to the transfer operation is corresponding key information.
In the embodiment, the transfer operation is initiated by utilizing the public block chain, so that the application range of the method can be expanded, and the disclosure range of the content of the electronic contract can be wider.
For example, with the Etherhouse blockchain as the blockchain for initiating the transfer operation, according to the electronic contract FaContract number of IaCalling an electronic contract I in a preset contract systemaSigning time D ofaFirst digital signature SaAnd transaction hash value H over etherhouse blockchaina. According to transaction hash value H on Ether house blockchainaInquiring corresponding transfer operation on the Ether house block chain, and acquiring a second digital signature P in the transaction remark of the transfer operationaAnd obtaining the transaction time Q of the indicated transfer operationa. If S isaIs equal to PaBut D isaAnd QaIf not, the number is IaThe signing time on the electronic contract of (1) is inaccurate.
On the basis of the above embodiment, as shown in fig. 2, S1 further includes:
s011, after the electronic contract is signed, performing MD5 encryption processing on the electronic contract to obtain a third digital signature;
s012, initiating a transfer operation on the blockchain network within a preset length time period at the signing time of the electronic contract, writing the third digital signature into a transaction remark of the transfer operation, recording a transaction hash value of the transfer operation, and taking the transaction hash value as key information of the electronic contract;
and S013, after the transfer operation is successful, if the signing time of the electronic contract is judged to be the same as the current time, storing the electronic contract, the third digital signature, the signing time of the electronic contract and the key information of the electronic contract into the preset contract system.
Specifically, the present embodiment is used to determine the stored content in the preset contract system. The preset contract system comprises an electronic contract, a third digital signature, the signing time of the electronic contract and the transaction hash value. The electronic contract referred to herein refers to the content of the electronic contract, and may be signed in an electronic form directly by a contract signer, or may be a paper contract that is signed first and then converted into an electronic form. Typically the electronic contract is a document in PDF format.
And performing MD5 encryption processing on the electronic contract to obtain a third digital signature, namely the digital signature corresponding to the true content of the electronic contract, wherein the third digital signature is consistent with the second digital signature and only appears in different process parts for distinguishing.
The content stored on the blockchain network has the characteristic of being not falsifiable, so that transfer operation can be performed on the blockchain network according to the characteristic, the amount of transfer is not limited, transaction can be performed with the minimum amount, the transaction hash value of the transfer operation is mainly obtained, and a third digital signature can be written in a transaction remark of the transfer operation, so that the third digital signature is ensured to have non-falsification property, and the accuracy of the third digital signature is further ensured.
And when the transfer operation is successful, namely the transfer operation is confirmed by a block chain network block chain, judging whether the signing time of the electronic contract is the same as the natural time, and storing the electronic contract, the third digital signature, the signing time of the electronic contract and the transaction hash value into the preset contract system when the signing time is the same as the natural time. The natural time is world time, and the signing time on the electronic contract is the same as the natural time, namely, the signing time on the electronic contract is valid on the current day.
It should be noted that the preset length period may be set to 1 day, and the preset length period at the signing time of the electronic contract is the day of the electronic contract signing.
On the basis of the above embodiment, the S011 specifically includes:
after the electronic contract is signed, distributing a contract number for the electronic contract, and carrying out MD5 encryption processing on the electronic contract to obtain a third digital signature;
correspondingly, the S013 specifically includes:
and after the transfer operation is successful, if the signing time of the electronic contract is judged to be the same as the current time, storing the electronic contract, the contract number of the electronic contract, the third digital signature, the signing time of the electronic contract and the key information of the electronic contract into the preset contract system.
Specifically, the preset contract system may further include a contract number of the electronic contract, where each electronic contract is assigned with a contract number, and the contract number may be used to retrieve contract information later. The specific form of the contract number may be set as required, and this embodiment is not specifically limited herein.
On the basis of the above embodiment, as shown in fig. 3, S1 further includes:
s021, after the paper contract is signed, converting the paper contract into a digital electronic contract, and performing MD5 encryption processing on the electronic contract to obtain a fourth digital signature;
s022, initiating a transfer operation on the block chain network within a preset length time period at the signing time of the paper contract, writing the fourth digital signature into a transaction remark of the transfer operation, recording a transaction hash value of the transfer operation, and taking the transaction hash value as key information of the electronic contract;
s023, after the transfer operation is successful, if the signing time of the electronic contract is judged to be the same as the current time, storing the electronic contract, the fourth digital signature, the signing time of the paper contract and the key information of the electronic contract into the preset contract system.
Specifically, the present embodiment is used to determine the stored content in the preset contract system. The preset contract system comprises an electronic contract, a fourth digital signature, the signing time of the electronic contract and the transaction hash value. The electronic contract in this embodiment is obtained by first signing a paper contract and then converting the paper contract into an electronic form. The electronic contract is a document in PDF format.
And performing MD5 encryption processing on the electronic contract to obtain a fourth digital signature, namely the digital signature corresponding to the true content of the electronic contract, wherein the fourth digital signature is consistent with the second digital signature and the third digital signature, and only appears in different process parts for distinguishing.
The content stored on the blockchain network has the characteristic of being not falsifiable, so that transfer operation can be performed on the blockchain network according to the characteristic, the amount of transferred money is not limited, transaction can be performed with the minimum amount, the transaction hash value of the transfer operation is mainly obtained, and a fourth digital signature can be written in a transaction remark of the transfer operation, so that the fourth digital signature is ensured to have non-falsification property, and the accuracy of the fourth digital signature is further ensured.
And when the transfer operation is successful, namely the transfer operation is confirmed by a block chain network block chain, judging whether the signing time of the electronic contract is the same as the natural time, and storing the electronic contract, the fourth digital signature, the signing time of the electronic contract and the transaction hash value into the preset contract system when the signing time is the same as the natural time. The natural time is world time, and the signing time on the electronic contract is the same as the natural time, namely, the signing time on the electronic contract is valid on the current day.
It should be noted that the preset length period may be set to 1 day, and the preset length period at the signing time of the electronic contract is the day of the electronic contract signing.
For example, with the Etherhouse blockchain as the blockchain for initiating the transfer operation, the electronic contract signer fills out the signing date D on the paper contract aaAnd fills in the name of the signer and assigns a contract number I to the contracta. The paper contract a is converted into a digital electronic document, namely an electronic contract F, by scanning the paper contract aa. Electronic contract FaPerforming MD5 encryption to obtain a fourth digital signature S4a. Initiating a transfer operation on the EtherFang blockchain, S4aWriting the transaction remark data part into the transfer operation, and simultaneously recording the transaction hash value H of the transfer operationaWait for the ether block chain acknowledgement. After confirming the Ethengfang block chain, the contract number I is numberedaSigning date DaElectronic contract FaFourth digital signature S4aTransaction hash value H on blockchainaAre stored in the preset contract system.
On the basis of the above embodiment, the S021 specifically includes:
after the paper contract is signed, allocating a contract number to the paper contract, converting the paper contract into a digital electronic contract, and performing MD5 encryption processing on the electronic contract to obtain a fourth digital signature;
correspondingly, the S023 specifically includes:
and after the transfer operation is successful, if the signing time of the electronic contract is judged to be the same as the current time, storing the electronic contract, the contract number of the electronic contract, the fourth digital signature, the signing time of the electronic contract and the key information of the electronic contract into the preset contract system.
Specifically, the preset contract system may further include a contract number of the electronic contract, where each electronic contract is assigned with a contract number, and the contract number may be used to retrieve contract information later. The specific form of the contract number may be set as required, and this embodiment is not specifically limited herein.
On the basis of the above embodiment, in S021, the paper contract is converted into a digitized electronic contract, specifically: and converting the paper contract into an electronic contract in a PDF format.
On the basis of the foregoing embodiment, a public blockchain network in a blockchain network is adopted in this embodiment, and specifically, the public blockchain network is a bitcoin blockchain network or an ethernet blockchain network.
On the basis of the embodiment, the transfer operation is the transfer operation with the lowest credit.
As shown in fig. 4, another embodiment of the present invention provides a system for determining the accuracy of electronic contract signing time, including: a key information retrieval module 41, a time and signature acquisition module 42 and an accuracy determination module 43. Wherein the content of the first and second substances,
the key information retrieving module 41 is configured to obtain signing time, a first digital signature and key information of the electronic contract from a preset contract system;
the time and signature obtaining module 42 is configured to obtain, according to the key information, a second digital signature of the electronic contract and transaction time of a transfer operation corresponding to the electronic contract in a blockchain network, where the transfer operation is initiated on the blockchain network;
the accuracy determining module 43 is configured to determine that the signing time is incorrect if it is determined that the first digital signature is the same as the second digital signature and the signing time is different from the transaction time.
Specifically, the functions of the modules and the operation flows of the meanings of the names in this embodiment correspond to the method embodiments one to one, and this embodiment is not described herein again.
On the basis of the above embodiments, in another embodiment of the invention, a computer program product is provided, comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method as described in fig. 1.
On the basis of the above embodiments, in another embodiment of the present invention, there is provided a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the method as described in fig. 1.
Finally, the method of the present invention is only a preferred embodiment and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A method for judging the accuracy of electronic contract signing time is characterized by comprising the following steps:
s1, acquiring signing time, a first digital signature and key information of the electronic contract from a preset contract system;
s2, acquiring a second digital signature of the electronic contract and the transaction time of a transfer operation corresponding to the electronic contract in a blockchain network according to the key information, wherein the transfer operation is initiated on the blockchain network;
s3, if the first digital signature is judged to be the same as the second digital signature and the signing time is different from the transaction time, determining that the signing time is wrong;
wherein, S1 also includes before:
s011, after the electronic contract is signed, performing MD5 encryption processing on the electronic contract to obtain a third digital signature;
s012, initiating a transfer operation on the blockchain network within a preset length time period at the signing time of the electronic contract, writing the third digital signature into a transaction remark of the transfer operation, recording a transaction hash value of the transfer operation, and taking the transaction hash value as key information of the electronic contract;
and S013, after the transfer operation is successful, if the signing time of the electronic contract is judged to be the same as the current time, storing the electronic contract, the third digital signature, the signing time of the electronic contract and the key information of the electronic contract into the preset contract system.
2. The method of claim 1, wherein the key information is a transaction hash value corresponding to the transfer operation.
3. The method according to claim 1, wherein the S011 specifically includes:
after the electronic contract is signed, distributing a contract number for the electronic contract, and carrying out MD5 encryption processing on the electronic contract to obtain a third digital signature;
correspondingly, the S013 specifically includes:
and after the transfer operation is successful, if the signing time of the electronic contract is judged to be the same as the current time, storing the electronic contract, the contract number of the electronic contract, the third digital signature, the signing time of the electronic contract and the key information of the electronic contract into the preset contract system.
4. The method of claim 1, wherein S1 is preceded by:
s021, after the paper contract is signed, converting the paper contract into a digital electronic contract, and performing MD5 encryption processing on the electronic contract to obtain a fourth digital signature;
s022, initiating a transfer operation on the block chain network within a preset length time period at the signing time of the paper contract, writing the fourth digital signature into a transaction remark of the transfer operation, recording a transaction hash value of the transfer operation, and taking the transaction hash value as key information of the electronic contract;
s023, after the transfer operation is successful, if the signing time of the electronic contract is judged to be the same as the current time, storing the electronic contract, the fourth digital signature, the signing time of the paper contract and the key information of the electronic contract into the preset contract system.
5. The method according to claim 4, wherein S021 specifically comprises:
after the paper contract is signed, allocating a contract number to the paper contract, converting the paper contract into a digital electronic contract, and performing MD5 encryption processing on the electronic contract to obtain a fourth digital signature;
correspondingly, the S023 specifically includes:
and after the transfer operation is successful, if the signing time of the electronic contract is judged to be the same as the current time, storing the electronic contract, the contract number of the electronic contract, the fourth digital signature, the signing time of the electronic contract and the key information of the electronic contract into the preset contract system.
6. The method according to claim 4 or 5, characterized in that in S021 the paper contract is converted into a digitized electronic contract, in particular:
and converting the paper contract into an electronic contract in a PDF format.
7. A system for determining the accuracy of electronic contract signing time, comprising:
the first module is used for carrying out MD5 encryption processing on the electronic contract after the electronic contract is signed to obtain a third digital signature;
a second module, configured to initiate a transfer operation on a blockchain network within a preset length of time period at a signing time of the electronic contract, write the third digital signature into a transaction note of the transfer operation, record a transaction hash value of the transfer operation, and use the transaction hash value as key information of the electronic contract;
the third module is used for storing the electronic contract, the third digital signature, the signing time of the electronic contract and the key information of the electronic contract into a preset contract system if the signing time of the electronic contract is judged to be the same as the current time after the transfer operation is successful;
the key information calling module is used for acquiring the signing time, the first digital signature and the key information of the electronic contract from the preset contract system;
the time and signature acquisition module is used for acquiring a second digital signature of the electronic contract and transaction time of a transfer operation corresponding to the electronic contract in a block chain network according to the key information, and the transfer operation is initiated on the block chain network;
and the accuracy determining module is used for determining that the signing time is wrong if the first digital signature is judged to be the same as the second digital signature and the signing time is different from the transaction time.
8. A computer program product, characterized in that the computer program product comprises a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to carry out the method according to any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1 to 6.
CN201711229681.9A 2017-11-29 2017-11-29 Method and system for judging electronic contract signing time accuracy Active CN108197479B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711229681.9A CN108197479B (en) 2017-11-29 2017-11-29 Method and system for judging electronic contract signing time accuracy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711229681.9A CN108197479B (en) 2017-11-29 2017-11-29 Method and system for judging electronic contract signing time accuracy

Publications (2)

Publication Number Publication Date
CN108197479A CN108197479A (en) 2018-06-22
CN108197479B true CN108197479B (en) 2020-09-11

Family

ID=62573446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711229681.9A Active CN108197479B (en) 2017-11-29 2017-11-29 Method and system for judging electronic contract signing time accuracy

Country Status (1)

Country Link
CN (1) CN108197479B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064120A (en) * 2018-07-10 2018-12-21 马上游科技股份有限公司 Tourism electric contract number deposit system based on region chain and deposit card method
CN109063097B (en) * 2018-07-27 2020-06-23 广州天高软件科技有限公司 Data comparison and consensus method based on block chain
CN109509095B (en) * 2018-11-14 2023-05-02 成都皓图智能科技有限责任公司 Video active identification method combined with block chain
CN109784005A (en) * 2018-12-28 2019-05-21 国网雄安金融科技有限公司 Electronic protocol manages platform and electronic protocol management method
CN109493196A (en) * 2018-12-29 2019-03-19 杭州趣链科技有限公司 A kind of real estate based on block chain deposits card and method of commerce
CN109754267A (en) * 2018-12-29 2019-05-14 百度在线网络技术(北京)有限公司 Brand authorization method, device, equipment and medium based on block chain
CN110096901B (en) * 2019-05-08 2021-04-02 北京智签科技有限公司 Electronic contract data encryption storage method and signing client
CN110097367A (en) * 2019-05-08 2019-08-06 北京智签科技有限公司 Electronic contract signature method, apparatus, equipment and storage medium based on block chain
CN110287732A (en) * 2019-05-15 2019-09-27 杭州趣链科技有限公司 One kind depositing card method based on block chain electronic contract
CN111460490A (en) * 2020-03-06 2020-07-28 雷衍华 Method for signing electronic contract by using real-name account and Hash (Hash) check
CN111414430A (en) * 2020-04-24 2020-07-14 远光软件股份有限公司 Commodity information management method based on block chain, electronic device and storage medium
CN111460527A (en) * 2020-04-28 2020-07-28 北京俩撇科技有限公司 Block chain-based electronic data exchange method and device and block chain system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952969A (en) * 2005-10-17 2007-04-25 钱勇平 Credit inquiry method and system of electron contract on Internet
CN103514410A (en) * 2013-09-30 2014-01-15 上海市数字证书认证中心有限公司 Dependable preservation and evidence collection system and method for electronic contract
CN104883334A (en) * 2014-02-27 2015-09-02 张征程 Electronic protocol contract signing and transaction guarantee system of mobile equipment
CN106790431A (en) * 2016-12-05 2017-05-31 同济大学 Cloud manufacturing service Transaction Information record system and method based on block chain
CN107403303A (en) * 2017-06-16 2017-11-28 兴业数字金融服务(上海)股份有限公司 A kind of signature method for the electronic contract system that card is deposited based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150379510A1 (en) * 2012-07-10 2015-12-31 Stanley Benjamin Smith Method and system to use a block chain infrastructure and Smart Contracts to monetize data transactions involving changes to data included into a data supply chain.

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952969A (en) * 2005-10-17 2007-04-25 钱勇平 Credit inquiry method and system of electron contract on Internet
CN103514410A (en) * 2013-09-30 2014-01-15 上海市数字证书认证中心有限公司 Dependable preservation and evidence collection system and method for electronic contract
CN104883334A (en) * 2014-02-27 2015-09-02 张征程 Electronic protocol contract signing and transaction guarantee system of mobile equipment
CN106790431A (en) * 2016-12-05 2017-05-31 同济大学 Cloud manufacturing service Transaction Information record system and method based on block chain
CN107403303A (en) * 2017-06-16 2017-11-28 兴业数字金融服务(上海)股份有限公司 A kind of signature method for the electronic contract system that card is deposited based on block chain

Also Published As

Publication number Publication date
CN108197479A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN108197479B (en) Method and system for judging electronic contract signing time accuracy
US10531230B2 (en) Blockchain systems and methods for confirming presence
US11050690B2 (en) Method for providing recording and verification service for data received and transmitted by messenger service, and server using method
CN109165943B (en) Data processing method, device, storage medium and equipment for electronic bill
EP3710974B1 (en) Method and arrangement for detecting digital content tampering
CN110633963B (en) Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device
CN108696358B (en) Digital certificate management method and device, readable storage medium and service terminal
JP2020517200A (en) Block chain-based document management method using UTXO-based protocol and document management server using this method
CN105635169A (en) Electronic contract signing method based on the internet
CN110771095A (en) System and method for implementing blockchain-based digital certificates
JP2017098806A (en) Existence proof program and existence proof server for electronic data
CN111798209A (en) Engineering project management method based on block chain, electronic equipment and storage medium
CN110800254A (en) System and method for generating digital indicia
CN111406398B (en) Managing trust points in an account book system
CN110597836B (en) Information inquiry request response method and device based on block chain network
CN109508564A (en) A kind of digital asset storage system and method based on block chain
CN110851877B (en) Data processing method and device, block chain node equipment and storage medium
CN111259439B (en) Intangible asset management service platform based on block chain and implementation method thereof
US11151123B2 (en) Offline verification with document filter
CN110445771A (en) Intersection record evidence collecting method, device, medium and server based on block chain
US20210117381A1 (en) Probabilistic verification of linked data
Ahmed et al. Turning trust around: smart contract-assisted public key infrastructure
Gulati et al. Self-sovereign dynamic digital identities based on blockchain technology
US20180268380A1 (en) System and method for electronic deposit and authentication of original electronic information objects
US11924348B2 (en) Honest behavior enforcement via blockchain

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant after: Seashell Housing (Beijing) Technology Co., Ltd.

Address before: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant before: Chain home network (Beijing) Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant