CN-121984653-A - Intelligent contract signing method, device and medium based on edge calculation
Abstract
The invention discloses an intelligent contract signing method, equipment and medium based on edge calculation. The method is applied to privacy calculation and blockchains and comprises the steps of obtaining a signing request of a target user, extracting signing information of the target user based on the signing request, transmitting the signing information to an edge computing environment, calling target user protocol data of the blockchain based on the signing information in the edge computing environment, carrying out intelligent contract signing according to the target user protocol data to generate a contract signing result, determining a right user set corresponding to the contract signing result, and encrypting the contract signing result by using a broadcast encryption algorithm based on the right user set to generate an encrypted contract signing result. By processing in the edge computing environment, the data transmission distance can be shortened, delay is reduced, and processing efficiency is improved. And the self-service signing process is realized without manual intervention. The authority of the signing result is bound with the user set through the broadcast encryption algorithm, and only the authorized user can decrypt the result, so that the privacy of the user is ensured.
Inventors
- ZHUO HAO
- SUN FANG
- LV FANGYUAN
- ZHAO WENFEI
Assignees
- 中国工商银行股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20250630
Claims (10)
- 1. An intelligent contract signing method based on edge calculation, which is characterized by comprising the following steps: Acquiring a signing request of a target user, extracting signing information of the target user based on the signing request, and transmitting the signing information to an edge computing environment; In an edge computing environment, invoking target user protocol data of a blockchain based on the subscription information, and performing intelligent contract signing according to the target user protocol data to generate a contract signing result; And determining a right user set corresponding to the contract signing result, and encrypting the contract signing result by using a broadcast encryption algorithm based on the right user set to generate an encrypted contract signing result.
- 2. The method according to claim 1, wherein the extracting subscription information of the target user based on the subscription request includes: Extracting user information of a target user based on the subscription request, wherein the user information comprises a user identifier, an account number and a protocol type; the user information is encrypted using isomorphic encryption techniques to generate subscription information.
- 3. The method according to claim 1, characterized in that the method further comprises: In the edge computing environment, the integrity verification and the legality verification are carried out on the subscription information through the edge node by the isomorphic encryption technology under the condition of not decrypting, so that the subscription information is ensured to accord with the preset format and rule.
- 4. The method of claim 2, wherein said intelligent contract signing from said target user agreement data comprises: determining a target protocol to be subjected to association check according to the protocol type; checking whether the user protocol data signs a target protocol, and if not, triggering intelligent contract signing; If signed, checking whether to select target options, and if not, triggering intelligent contract signing; if the user protocol data is checked, the user protocol data is directly fed back to the user after the target protocol is checked and the state is compliant.
- 5. The method of claim 4, wherein triggering the smart contract signing comprises: determining a target signing action according to the protocol type, wherein the signing action comprises signing a target protocol and choosing a target option; And executing the target signing action to sign the intelligent contract.
- 6. The method of claim 1, wherein encrypting the contract signing result using a broadcast encryption algorithm based on the set of authorized users generates an encrypted contract signing result, comprising: mapping each element in the authority user set into a mapping point on a two-dimensional plane; selecting a new point except for each mapping point in the space, and generating a reconstruction polynomial by adopting a Lagrange interpolation method according to each mapping point and the new point; and generating an encrypted contract signing result based on the reconstruction polynomial.
- 7. The method according to claim 1, characterized in that the method further comprises: Updating the target user protocol data stored in the blockchain through the encrypted contract signing result, and returning the encrypted contract signing result to the edge computing environment for feedback to the target user.
- 8. An electronic device, the electronic device comprising: At least one processor; and a memory communicatively coupled to the at least one processor; Wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
- 9. A computer storage medium storing computer instructions for causing a processor to perform the method of any one of claims 1-7 when executed.
- 10. A computer program product, characterized in that it comprises a computer program which, when executed by a processor, implements the method according to any of claims 1-7.
Description
Intelligent contract signing method, device and medium based on edge calculation Technical Field The invention relates to the fields of privacy computation and blockchain, in particular to an intelligent contract signing method, intelligent contract signing equipment and intelligent contract signing medium based on edge computation. Background With rapid development of digital economy, signing scenes of various business contracts are increased, and the traditional offline contract signing mode has various limitations in terms of efficiency, safety, traceability and the like. At present, the signing mode of the intelligent contract is mainly based on a centralized server, signing results are uniformly stored and managed by the server, and a user needs to inquire the contract state through the server. In the whole process, the transmission, calculation and storage of data are all dependent on a central server. In the prior art, the signing result is managed by a central server, and when hardware faults, network attacks or manual operation errors are encountered, the whole signing system is paralyzed, and the service continuity is affected. Meanwhile, when the security protection of the server is broken through, large-scale privacy data leakage is easy to occur. Disclosure of Invention The invention provides an intelligent contract signing method, equipment and medium based on edge calculation, which are used for judging signing conditions at edge nodes instead of a central server, reducing data transmission delay and improving data processing efficiency. According to an aspect of the present invention, there is provided an intelligent contract signing method based on edge calculation, the method comprising: Acquiring a signing request of a target user, extracting signing information of the target user based on the signing request, and transmitting the signing information to an edge computing environment; in the edge computing environment, invoking target user protocol data of the blockchain based on subscription information, and performing intelligent contract signing according to the target user protocol data to generate a contract signing result; and determining a right user set corresponding to the contract signing result, and encrypting the contract signing result by using a broadcast encryption algorithm based on the right user set to generate an encrypted contract signing result. Optionally, extracting the subscription information of the target user based on the subscription request includes extracting user information of the target user based on the subscription request, wherein the user information includes a user identifier, an account number and a protocol type, and encrypting the user information by using an homomorphic encryption technology to generate the subscription information. Optionally, the method further comprises the step of carrying out integrity verification and validity verification on the subscription information through an edge node under the condition of not decrypting through an isomorphic encryption technology in an edge computing environment so as to ensure that the subscription information accords with a preset format and rule. Optionally, the intelligent contract signing is carried out according to the target user agreement data, which comprises the steps of determining a target agreement to be checked in a correlated way according to the agreement type, checking whether the user agreement data signs the target agreement, triggering the intelligent contract signing if the user agreement data is not signed, checking whether a target option is checked if the user agreement data is signed, triggering the intelligent contract signing if the user agreement data is not checked, and directly feeding back the user agreement data to the user if the user agreement data is checked and the target agreement is signed and the state is compliant. Optionally, triggering the intelligent contract signing comprises determining a target signing action according to the protocol type, wherein the signing action comprises signing a target protocol and choosing a target option, and executing the target signing action to conduct intelligent contract signing. The method comprises the steps of selecting a new point except for each mapping point in a space, generating a reconstruction polynomial according to each mapping point and the new point by adopting a Lagrangian interpolation method, and generating the encrypted contract signing result based on the reconstruction polynomial. Optionally, the method further comprises updating the target user protocol data stored in the blockchain through the encrypted contract signing result, and returning the encrypted contract signing result to the edge computing environment for feedback to the target user. According to another aspect of the present invention, there is provided an electronic apparatus including: At least one processor; and a memory communicatively