CN116992470B - Collaborative authorization protocol signing method, device, computer equipment and storage medium - Google Patents

Collaborative authorization protocol signing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN116992470B
CN116992470B CN202310998405.8A CN202310998405A CN116992470B CN 116992470 B CN116992470 B CN 116992470B CN 202310998405 A CN202310998405 A CN 202310998405A CN 116992470 B CN116992470 B CN 116992470B
Authority
CN
China
Prior art keywords
target
protocol
cooperative
authorization protocol
contract
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
CN202310998405.8A
Other languages
Chinese (zh)
Other versions
CN116992470A (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.)
Guangdong Qiqitong Technology Co ltd
Original Assignee
Guangdong Qiqitong 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 Guangdong Qiqitong Technology Co ltd filed Critical Guangdong Qiqitong Technology Co ltd
Priority to CN202310998405.8A priority Critical patent/CN116992470B/en
Publication of CN116992470A publication Critical patent/CN116992470A/en
Application granted granted Critical
Publication of CN116992470B publication Critical patent/CN116992470B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2211/00Indexing scheme relating to details of data-processing equipment not covered by groups G06F3/00 - G06F13/00
    • G06F2211/007Encryption, En-/decode, En-/decipher, En-/decypher, Scramble, (De-)compress
    • G06F2211/008Public Key, Asymmetric Key, Asymmetric Encryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Human Computer Interaction (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the application discloses a method, a device, computer equipment and a storage medium for signing a cooperative authorization agreement. The method comprises the following steps: displaying a new interface of the collaborative authorization protocol; acquiring a plurality of contract variable information based on a new interface of a cooperative authorization agreement; generating a target cooperative authorization agreement according to the contract variable information and a preset target contract template; carrying out hash processing on the target cooperative authorization agreement to obtain target abstract information; encrypting the target abstract information and the target cooperative authorization agreement to obtain an encrypted agreement; sending the encrypted agreement to a target channel terminal, so that a signer performs signing operation on the target collaborative authorization agreement based on the target channel terminal; and stamping a seal on the target cooperative authorization protocol in response to the signing completion information returned by the target channel terminal to obtain the signed target cooperative authorization protocol. The embodiment of the application can improve the signing security of the cooperative authorization agreement.

Description

Collaborative authorization protocol signing method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of electronic contract signing technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for signing a collaborative authorization agreement.
Background
With the development of economy, financial services such as loan and the like are more and more intelligent, a third party platform is provided for facilitating the loan of customers, the customers can borrow through the third party platform, the customers are energized through the third party platform, and in order to expand a customer source, the third party platform is usually required to cooperate with other channel parties so as to acquire the customers through the other channel parties.
Before establishing cooperation with the channel side, the channel side first needs to sign a cooperation authorization agreement to authorize the financial products provided by the platform. Traditional collaborative authorization agreements are signed off-line, for example, by both parties coming off-line or mailing a contract.
However, the signing of the cooperative authorization agreement is performed by an offline meeting mode, and both parties need to arrive at a designated place for signing within the appointed time; and when signing the cooperative authorization agreement by means of mailing, the contract mailing time is long, so that signing the cooperative authorization agreement by means of off-line has the problem of low contract signing efficiency.
In order to improve the efficiency of signing a contract, the prior art provides an electronic contract signing method for signing a partner authorization protocol on line, however, the partner authorization protocol in the prior art has risks of leakage and tampering in the process of transmission, and the signing security of the partner authorization protocol needs to be improved.
Disclosure of Invention
The embodiment of the application provides a signing method, a signing device, a computer device and a storage medium for a cooperative authorization protocol, which can improve the signing security of the cooperative authorization protocol.
In a first aspect, an embodiment of the present application provides a method for signing a collaborative authorization agreement, including:
Responding to a user-triggered collaborative authorization protocol creation instruction, and displaying a collaborative authorization protocol creation interface, wherein the collaborative authorization protocol creation interface comprises a plurality of input boxes and variable type identifiers respectively corresponding to the input boxes;
acquiring a plurality of pieces of contract variable information input by a user based on a plurality of input boxes;
Generating a target cooperative authorization agreement according to a plurality of contract variable information and a preset target contract template;
in response to a signing instruction aiming at the target cooperative authorization protocol, carrying out hash processing on the target cooperative authorization protocol to obtain target abstract information;
Encrypting the target abstract information and the target cooperative authorization protocol according to a preset private key to obtain an encryption protocol;
The encryption protocol is sent to a target channel terminal corresponding to a target channel side, so that the target channel terminal decrypts the encryption protocol based on a public key corresponding to the private key to obtain target abstract information and the target cooperative authorization protocol, the integrity of the target cooperative authorization protocol is verified based on the target abstract information, when the integrity verification of the target cooperative authorization protocol passes, the target cooperative authorization protocol is displayed, a signer of the target channel side completes signing operation of the cooperative authorization protocol based on the displayed target cooperative authorization protocol, and signing completion information is generated based on the signing operation;
And in response to the signing completion information returned by the target channel terminal, stamping a seal on the target cooperative authorization protocol to obtain a signed target cooperative authorization protocol, and completing signing of the target cooperative authorization protocol.
In a second aspect, an embodiment of the present application further provides a collaborative authorization protocol signing device, which includes:
The receiving and transmitting unit is used for receiving a collaboration authorization protocol creation instruction triggered by a user;
the processing unit is used for responding to a user-triggered cooperative authorization protocol new instruction and displaying a cooperative authorization protocol new interface, wherein the cooperative authorization protocol new interface comprises a plurality of input boxes and variable type identifiers corresponding to the input boxes respectively;
The receiving and transmitting unit is further used for acquiring a plurality of contract variable information input by a user based on a plurality of input boxes;
The processing unit is further used for generating a target cooperative authorization agreement according to the contract variable information and a preset target contract template; in response to a signing instruction aiming at the target cooperative authorization protocol, carrying out hash processing on the target cooperative authorization protocol to obtain target abstract information; encrypting the target abstract information and the target cooperative authorization protocol according to a preset private key to obtain an encryption protocol;
The receiving and transmitting unit is further configured to send the encrypted protocol to a target channel terminal corresponding to a target channel party, so that the target channel terminal decrypts the encrypted protocol based on a public key corresponding to the private key, obtains the target abstract information and the target cooperative authorization protocol, verifies the integrity of the target cooperative authorization protocol based on the target abstract information, and when the integrity verification of the target cooperative authorization protocol passes, displays the target cooperative authorization protocol, so that a signer of the target channel party completes a signing operation of the cooperative authorization protocol based on the displayed target cooperative authorization protocol, and generates signing completion information based on the signing operation;
and the processing unit is also used for stamping a seal on the target cooperative authorization protocol in response to the signing completion information returned by the target channel terminal to obtain a signed target cooperative authorization protocol, and completing signing of the target cooperative authorization protocol.
In a third aspect, an embodiment of the present application further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the method when executing the computer program.
In a fourth aspect, embodiments of the present application also provide a computer readable storage medium storing a computer program comprising program instructions which, when executed by a processor, implement the above-described method.
The embodiment of the application provides a method, a device, computer equipment and a storage medium for signing a cooperative authorization agreement. Wherein the method comprises the following steps: responding to a user-triggered collaborative authorization protocol creation instruction, and displaying a collaborative authorization protocol creation interface, wherein the collaborative authorization protocol creation interface comprises a plurality of input boxes and variable type identifiers respectively corresponding to the input boxes; acquiring a plurality of pieces of contract variable information input by a user based on a plurality of input boxes; generating a target cooperative authorization agreement according to a plurality of contract variable information and a preset target contract template; in response to a signing instruction aiming at the target cooperative authorization protocol, carrying out hash processing on the target cooperative authorization protocol to obtain target abstract information; encrypting the target abstract information and the target cooperative authorization protocol according to a preset private key to obtain an encryption protocol; the encryption protocol is sent to a target channel terminal corresponding to a target channel side, so that the target channel terminal decrypts the encryption protocol based on a public key corresponding to the private key to obtain target abstract information and the target cooperative authorization protocol, the integrity of the target cooperative authorization protocol is verified based on the target abstract information, when the integrity verification of the target cooperative authorization protocol passes, the target cooperative authorization protocol is displayed, a signer of the target channel side completes signing operation of the cooperative authorization protocol based on the displayed target cooperative authorization protocol, and signing completion information is generated based on the signing operation; and in response to the signing completion information returned by the target channel terminal, stamping a seal on the target cooperative authorization protocol to obtain a signed target cooperative authorization protocol, and completing signing of the target cooperative authorization protocol. In addition, the embodiment of the application encrypts the cooperative authorization protocol before sending the cooperative authorization protocol, thereby improving the transmission security of the authorization protocol and the signing security of the cooperative authorization protocol.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario of a signing method for a collaborative authorization protocol according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for signing a collaborative authorization agreement according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interface created by the collaborative authority protocol in the collaborative authority protocol signing method according to the embodiment of the present application;
FIG. 4 is a schematic block diagram of a collaborative authorization protocol signing device provided by an embodiment of the present application;
fig. 5 is a schematic block diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
The embodiment of the application provides a method, a device, computer equipment and a storage medium for signing a cooperative authorization agreement.
The execution body of the collaborative authorization protocol signing method may be a collaborative authorization protocol signing device provided by the embodiment of the present application, or a computer device integrated with the collaborative authorization protocol signing device, where the collaborative authorization protocol signing device may be implemented in a hardware or software manner, and the computer device may be a terminal or a server.
The computer device in this embodiment is provided with a collaborative authority protocol management system, and the collaborative authority protocol signing method in this embodiment can be implemented based on the collaborative authority protocol management system.
Referring to fig. 1, fig. 1 is a schematic diagram of an application scenario of a signing method for a collaborative authorization protocol according to an embodiment of the present application. The method for signing a cooperative authorization protocol is applied to the cooperative authorization protocol management 10 in fig. 1, and the cooperative authorization protocol management system 10 (hereinafter referred to as a system) responds to a user-triggered cooperative authorization protocol creation instruction to display a cooperative authorization protocol creation interface, wherein the cooperative authorization protocol creation interface comprises a plurality of input boxes and variable type identifiers corresponding to the input boxes respectively; then, acquiring a plurality of contract variable information input by a user based on a plurality of input boxes; generating a target cooperative authorization agreement according to a plurality of contract variable information and a preset target contract template; in response to a signing instruction aiming at the target cooperative authorization protocol, carrying out hash processing on the target cooperative authorization protocol to obtain target abstract information; encrypting the target abstract information and the target cooperative authorization protocol according to a preset private key to obtain an encryption protocol; the encryption protocol is sent to a target channel terminal 20 corresponding to a target channel party, so that the target channel terminal 20 obtains the target cooperative authorization protocol through the encryption protocol, receives signing information input by a signer of the target channel party for the target cooperative authorization protocol, and generates signing completion information; and finally, stamping a seal on the target cooperative authorization protocol in response to the signing completion information returned by the target channel terminal 20 to obtain a signed target cooperative authorization protocol, and completing signing of the target cooperative authorization protocol.
Fig. 2 is a flowchart of a method for signing a collaborative authorization agreement according to an embodiment of the present application. As shown in fig. 2, the method includes the following steps S110 to S170.
S110, responding to a user-triggered collaborative authorization protocol creation instruction, and displaying a collaborative authorization protocol creation interface, wherein the collaborative authorization protocol creation interface comprises a plurality of input boxes and variable type identifiers corresponding to the input boxes respectively.
In this embodiment, the user may directly generate the collaborative authority agreement with the target channel side in the system, where the target channel side in this embodiment is the channel side that needs to sign the collaborative authority agreement.
In some embodiments, when the user needs to generate and create a new collaborative authorization protocol, the user can enter a collaborative authorization protocol management interface of the system, the interface is provided with a new control, the user can click on the new control interface through a mouse or a keyboard, and the new instruction of the collaborative authorization protocol is triggered, at this time, the system receives the new instruction of the collaborative authorization protocol triggered by the user and jumps to the new interface of the collaborative authorization protocol.
In some embodiments, the new interface of the collaborative authorization protocol is shown in fig. 3, and the user may input different variable data in the corresponding input box according to the direction of the variable type identifier of the input box. The variable type identifier comprises enterprise information, an authorization deadline, second party (channel party) collection information, recipient information, electronic signature authentication information, contract type identifier and the like, wherein the enterprise information comprises an enterprise name and an enterprise address, and the authorization deadline comprises a start date and an end date; the second party collection information comprises account opening names, account opening banks and account opening accounts; the recipient information includes an email box; the electronic signature authentication information comprises a legal person, an identity card number and a mobile phone number.
In this embodiment, the cooperative authorization agreements identified by different contract types may share a new interface of the cooperative authorization agreements.
S120, acquiring a plurality of pieces of contract variable information input by a user based on a plurality of input boxes.
In this embodiment, the user may input different contract variable information according to the direction of the variable type identifier in the input box shown in fig. 3, and click "save" after the input is completed, at this time, the system obtains the contract variable information corresponding to each variable type identifier through the input box.
S130, generating a target cooperative authorization agreement according to a plurality of contract variable information and a preset target contract template.
In some embodiments, step S130 includes: determining a target contract template corresponding to the target contract type identifier from a plurality of preset contract templates according to the target contract type identifier in the contract variable information; and filling the contract variable information into the corresponding variable positions according to the variable type identifiers corresponding to the variable positions in the target contract template, and generating the target cooperative authorization agreement.
Specifically, different contract templates are stored for different types of contracts in the system, different contract type identifiers are set for the different contract templates, after the system acquires a plurality of pieces of contract variable information input by a user, a target contract template corresponding to the target type identifier is automatically determined from a plurality of preset contract templates through the target contract type identifier in the contract variable information, wherein each contract template has a corresponding variable position, the variable position can occupy a place or be left blank by using a placeholder, the different variable positions correspond to the different variable type identifiers and are used for filling contract variable information of the corresponding variable type identifiers, and after the corresponding contract variable information is filled in each variable position in the target contract template, a target cooperative authorization agreement is generated.
Further, to reduce the probability of variable information input errors, in some embodiments, before populating contract variable information into corresponding variable locations, the method further comprises, prior to generating the target collaborative authorization agreement:
determining contract variable information corresponding to each variable position according to the variable type identification of each variable position in the target contract template and the variable type identification of each contract variable information; determining contract variable information corresponding to each verification condition according to the verification condition corresponding to each variable position and the contract variable information corresponding to each variable position; respectively carrying out verification processing on the corresponding contract variable information according to the verification conditions to obtain verification results respectively corresponding to the contract variable information;
At this time, the filling the contract variable information into the corresponding variable positions according to the variable type identifiers corresponding to the variable positions in the target contract template, and generating the target cooperative authorization agreement, includes: and when each verification result is a verification passing result, filling each contract variable information into a corresponding variable position according to the corresponding relation between the variable position and the contract variable information, and generating the target cooperative authorization agreement.
Specifically, in this embodiment, in different contract templates, even though the variable positions corresponding to the same variable type identifier are different in verification condition, for example, for the variable type identifier of the authorization deadline, the verification condition corresponding to the contract a is that the authorization duration is not more than 1 year, and the verification condition corresponding to the contract B is that the authorization duration is not more than 2 years, so in order to reduce the probability of information input errors, in this embodiment, after the corresponding target contract template is determined, verification processing is performed on the contract variable information corresponding to the verification conditions respectively set for the variable positions according to the target contract template, and only when all the variable information passes verification, further contract filling processing is performed.
In some embodiments, if it is detected that the contract variable information does not meet the corresponding verification condition, at this time, if the non-meeting verification condition of the non-meeting verification condition is a first variable type identifier (for example, an authorization deadline), the system automatically generates modification information and displays the modification information, after the user confirms the modification information, the system automatically completes modification of the corresponding contract variable information based on the modification information, and if the non-meeting verification condition of the non-meeting verification condition is a second variable type identifier (for example, an identity card number, a mobile phone number, etc.), the system may give a modification suggestion, for example, the number length should be modified to 11 bits.
When the target contract type identifier is input, a user can click a drop-down key in an input box of which the variable type identifier is the contract type identifier, at this time, a contract type identifier menu is displayed on a page, a plurality of different contract type identifiers are displayed in the contract type identifier menu, and the user can automatically input the target contract type identifier in a corresponding input box by clicking the wanted contract type identifier in the contract type identifier menu.
S140, in response to the signing instruction aiming at the target cooperative authorization agreement, carrying out hash processing on the target cooperative authorization agreement to obtain target abstract information.
In this embodiment, after generating the target cooperative authorization protocol, a piece of information about the target cooperative authorization protocol is generated in the cooperative authorization protocol management interface, and the user can click on the "electronic signature authentication" control corresponding to the target cooperative authorization protocol in the cooperative authorization protocol management interface, at this time, the system obtains a signing instruction for the target cooperative authorization protocol, and in response to the signing instruction, hashes the target cooperative authorization protocol to obtain target abstract information.
The target summary information in this embodiment is used to verify the integrity of the target cooperative authorization agreement.
And S150, encrypting the target abstract information and the target cooperative authorization protocol according to a preset private key to obtain an encryption protocol.
In this embodiment, after obtaining the target summary information, the target summary information and the target cooperative authorization protocol are put together, for example, the target summary information is put at the tail of the target cooperative authorization protocol, and then the target summary information and the target cooperative authorization protocol are encrypted by using the private key of the system to obtain the encrypted protocol.
And S160, transmitting the encryption protocol to a target channel terminal corresponding to the target channel party.
After receiving the encrypted protocol, the target channel terminal decrypts the encrypted protocol based on a public key corresponding to the private key to obtain the target abstract information and the target cooperative authorization protocol, verifies the integrity of the target cooperative authorization protocol based on the target abstract information, and displays the target cooperative authorization protocol when the integrity verification of the target cooperative authorization protocol passes, so that a signer of the target channel side completes signing operation of the cooperative authorization protocol based on the displayed target cooperative authorization protocol, and generates signing completion information based on the signing operation.
Specifically, when the integrity verification of the target cooperative authorization protocol is performed, the target channel terminal firstly performs decryption processing on the encrypted protocol based on a public key corresponding to a system private key to obtain target abstract information and the target cooperative authorization protocol, then performs hash processing on the target cooperative authorization protocol by using a hash processing method which is the same as that of the system to obtain abstract information, then compares the abstract information with the received target abstract information to verify whether the abstract information is the same as the received target abstract information, if so, the integrity verification is passed, and if not, the integrity verification is not passed. And when the integrity verification is passed, displaying the target cooperative authorization protocol to the signer in a display interface of the target cooperative authorization protocol, and then completing signing the target cooperative authorization protocol in the target channel terminal based on the displayed target cooperative authorization protocol by the signer, and returning signing completion information to the system.
In some embodiments, step S160 includes: determining a target contact way corresponding to the target channel side; and then sending the encryption protocol to the target channel terminal according to the target contact mode.
The target contact way can be an enterprise WeChat account number, a mailbox or a mobile phone number and the like, and then the encryption protocol is sent to a target channel terminal corresponding to the target contact way.
Wherein, the determining the target contact way corresponding to the target channel side includes:
Extracting the target contact way from the target cooperative authorization agreement; or determining the target contact way corresponding to a target channel identifier according to the corresponding relation between the preset channel identifier and the contact way, wherein the target channel identifier is the channel identifier of the target channel side.
In some embodiments, the method further comprises, in response to the signing completion information returned by the target channel terminal, stamping a seal on the target collaborative authorization protocol to obtain a signed target collaborative authorization protocol, and before completing signing of the target collaborative authorization protocol:
Receiving a public key acquisition request sent by the target channel terminal; and responding to the public key acquisition request, sending a digital certificate to the target channel terminal, wherein the digital certificate comprises an encrypted public key, the encrypted public key is generated by a certificate authority (CERTIFICATE AUTHORITY, CA) mechanism after the public key is encrypted, so that the target channel terminal receives the digital certificate and then decrypts the encrypted public key through the CA mechanism to obtain the public key, and the public key is used for decrypting the encrypted protocol to obtain the target cooperative authorization protocol.
The public key in the embodiment can be obtained only by decryption of the CA mechanism, so that the risk of public key leakage is reduced.
And S170, stamping a seal on the target cooperative authorization protocol in response to the signing completion information returned by the target channel terminal to obtain the signed target cooperative authorization protocol, and completing signing of the target cooperative authorization protocol.
In this embodiment, after receiving the signing completion information returned by the target channel terminal, the system will stamp the target cooperative authorization protocol to obtain a signed target cooperative authorization protocol, and complete signing of the target cooperative authorization protocol.
After the signed target cooperative authorization protocol is obtained, the signed target cooperative authorization protocol is stored in a cooperative authorization protocol management space, and the cooperative authorization protocol management space stores cooperative authorization protocols respectively corresponding to a plurality of channel parties, including authorized and unauthorized cooperative authorization protocols.
In some embodiments, the method further comprises: receiving a display instruction of a cooperative authorization protocol management interface; then, responding to the display instruction, displaying the cooperative authorization protocol management interface based on the cooperative authorization protocol management space, wherein a plurality of contract icons are displayed in the cooperative authorization protocol management interface; receiving an operation instruction of a user aiming at a target contract icon in the cooperative authorization protocol management interface; and responding to the operation instruction, and displaying the post-authorization target cooperative authorization protocol corresponding to the target contract icon.
In summary, in the embodiment of the present application, before sending the cooperative authorization protocol, hash processing is performed on the protocol to generate summary information, and the target channel terminal can determine whether the cooperative authorization protocol is tampered with or not through the summary information.
Fig. 4 is a schematic block diagram of a collaborative authorization protocol signing device provided by an embodiment of the present application. As shown in fig. 4, the present application also provides a signing device for the collaborative authorization protocol, corresponding to the signing method for the collaborative authorization protocol. The collaborative authority protocol signing device comprises a unit for executing the collaborative authority protocol signing method, and the device can be configured in a terminal or a server, wherein a collaborative authority protocol management system is arranged in the terminal or the server. Specifically, referring to fig. 4, the collaborative authorization protocol signing device 400 includes a transceiver unit 401 and a processing unit 402, wherein:
A transceiver unit 401, configured to receive a user-triggered collaboration authorization protocol creation instruction;
The processing unit 402 is configured to respond to a user-triggered collaboration authorization protocol creation instruction, and display a collaboration authorization protocol creation interface, where the collaboration authorization protocol creation interface includes a plurality of input boxes and variable type identifiers corresponding to the input boxes respectively;
the transceiver unit 401 is further configured to obtain, based on a plurality of the input boxes, a plurality of contract variable information input by a user;
The processing unit 402 is further configured to generate a target cooperative authorization agreement according to a plurality of contract variable information and a preset target contract template; in response to a signing instruction aiming at the target cooperative authorization protocol, carrying out hash processing on the target cooperative authorization protocol to obtain target abstract information; encrypting the target abstract information and the target cooperative authorization protocol according to a preset private key to obtain an encryption protocol;
the transceiver unit 401 is further configured to send the encrypted protocol to a target channel terminal corresponding to a target channel party, so that the target channel terminal decrypts the encrypted protocol based on a public key corresponding to the private key, obtains the target digest information and the target cooperative authorization protocol, verifies the integrity of the target cooperative authorization protocol based on the target digest information, and when the integrity verification of the target cooperative authorization protocol passes, displays the target cooperative authorization protocol, so that a signer of the target channel party completes a signing operation of the cooperative authorization protocol based on the displayed target cooperative authorization protocol, and generates signing completion information based on the signing operation;
The processing unit 402 is further configured to seal the target cooperative authorization protocol in response to the signing completion information returned by the target channel terminal, obtain a signed target cooperative authorization protocol, and complete signing of the target cooperative authorization protocol.
In summary, the signing device 400 for the collaborative authorization protocol in the embodiment of the present application hashes the collaborative authorization protocol before sending the collaborative authorization protocol to generate summary information, and the target channel terminal can determine whether the collaborative authorization protocol is tampered with or not through the summary information.
It should be noted that, as those skilled in the art can clearly understand, the specific implementation process of the above-mentioned signing device and each unit of the cooperative authorization protocol may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, the description is omitted here.
The above-described collaborative authorization protocol signing apparatus may be implemented in the form of a computer program that may be run on a computer device as shown in fig. 5.
Referring to fig. 5, fig. 5 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a terminal, a server, a stand-alone server, or a server cluster including a plurality of servers.
With reference to FIG. 5, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform a collaborative authorization protocol signing method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform a collaborative authorization protocol signing method.
The network interface 505 is used for network communication with other devices. It will be appreciated by those skilled in the art that the architecture shown in fig. 5 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting of the computer device 500 to which the present inventive arrangements may be implemented, as a particular computer device 500 may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
Wherein the processor 502 is configured to execute a computer program 5032 stored in a memory to implement the steps of:
Responding to a user-triggered collaborative authorization protocol creation instruction, and displaying a collaborative authorization protocol creation interface, wherein the collaborative authorization protocol creation interface comprises a plurality of input boxes and variable type identifiers respectively corresponding to the input boxes;
acquiring a plurality of pieces of contract variable information input by a user based on a plurality of input boxes;
Generating a target cooperative authorization agreement according to a plurality of contract variable information and a preset target contract template;
in response to a signing instruction aiming at the target cooperative authorization protocol, carrying out hash processing on the target cooperative authorization protocol to obtain target abstract information;
Encrypting the target abstract information and the target cooperative authorization protocol according to a preset private key to obtain an encryption protocol;
The encryption protocol is sent to a target channel terminal corresponding to a target channel side, so that the target channel terminal decrypts the encryption protocol based on a public key corresponding to the private key to obtain target abstract information and the target cooperative authorization protocol, the integrity of the target cooperative authorization protocol is verified based on the target abstract information, when the integrity verification of the target cooperative authorization protocol passes, the target cooperative authorization protocol is displayed, a signer of the target channel side completes signing operation of the cooperative authorization protocol based on the displayed target cooperative authorization protocol, and signing completion information is generated based on the signing operation;
And in response to the signing completion information returned by the target channel terminal, stamping a seal on the target cooperative authorization protocol to obtain a signed target cooperative authorization protocol, and completing signing of the target cooperative authorization protocol.
It should be appreciated that in embodiments of the present application, the Processor 502 may be a central processing unit (Central Processing Unit, CPU), the Processor 502 may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL processors, DSPs), application SPECIFIC INTEGRATED Circuits (ASICs), off-the-shelf Programmable gate arrays (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program comprises program instructions, and the computer program can be stored in a storage medium, which is a computer readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present application also provides a storage medium. The storage medium may be a computer readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. The program instructions, when executed by the processor, cause the processor to perform the steps of:
Responding to a user-triggered collaborative authorization protocol creation instruction, and displaying a collaborative authorization protocol creation interface, wherein the collaborative authorization protocol creation interface comprises a plurality of input boxes and variable type identifiers respectively corresponding to the input boxes;
acquiring a plurality of pieces of contract variable information input by a user based on a plurality of input boxes;
Generating a target cooperative authorization agreement according to a plurality of contract variable information and a preset target contract template;
in response to a signing instruction aiming at the target cooperative authorization protocol, carrying out hash processing on the target cooperative authorization protocol to obtain target abstract information;
Encrypting the target abstract information and the target cooperative authorization protocol according to a preset private key to obtain an encryption protocol;
The encryption protocol is sent to a target channel terminal corresponding to a target channel side, so that the target channel terminal decrypts the encryption protocol based on a public key corresponding to the private key to obtain target abstract information and the target cooperative authorization protocol, the integrity of the target cooperative authorization protocol is verified based on the target abstract information, when the integrity verification of the target cooperative authorization protocol passes, the target cooperative authorization protocol is displayed, a signer of the target channel side completes signing operation of the cooperative authorization protocol based on the displayed target cooperative authorization protocol, and signing completion information is generated based on the signing operation;
And in response to the signing completion information returned by the target channel terminal, stamping a seal on the target cooperative authorization protocol to obtain a signed target cooperative authorization protocol, and completing signing of the target cooperative authorization protocol.
The storage medium may be a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, or other various computer-readable storage media that can store program codes.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the application can be combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application.
While the application has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (8)

1. A method of signing a collaborative authorization protocol, comprising:
Responding to a user-triggered collaborative authorization protocol creation instruction, and displaying a collaborative authorization protocol creation interface, wherein the collaborative authorization protocol creation interface comprises a plurality of input boxes and variable type identifiers respectively corresponding to the input boxes, and collaborative authorization protocols with different contract type identifiers share the collaborative authorization protocol creation interface;
acquiring a plurality of pieces of contract variable information input by a user based on a plurality of input boxes;
Generating a target cooperative authorization agreement according to a plurality of contract variable information and a preset target contract template;
in response to a signing instruction aiming at the target cooperative authorization protocol, carrying out hash processing on the target cooperative authorization protocol to obtain target abstract information;
Encrypting the target abstract information and the target cooperative authorization protocol according to a preset private key to obtain an encryption protocol;
The encryption protocol is sent to a target channel terminal corresponding to a target channel side, so that the target channel terminal decrypts the encryption protocol based on a public key corresponding to the private key to obtain target abstract information and the target cooperative authorization protocol, the integrity of the target cooperative authorization protocol is verified based on the target abstract information, when the integrity verification of the target cooperative authorization protocol passes, the target cooperative authorization protocol is displayed, a signer of the target channel side completes signing operation of the cooperative authorization protocol based on the displayed target cooperative authorization protocol, and signing completion information is generated based on the signing operation;
stamping a seal on the target cooperative authorization protocol in response to the signing completion information returned by the target channel terminal to obtain a signed target cooperative authorization protocol, and completing signing of the target cooperative authorization protocol;
Wherein, the method further comprises the steps of, in response to the signing completion information returned by the target channel terminal, stamping a seal on the target cooperative authorization protocol to obtain a signed target cooperative authorization protocol, and before signing the target cooperative authorization protocol, completing the signing of the target cooperative authorization protocol:
receiving a public key acquisition request sent by the target channel terminal;
the method comprises the steps that a digital certificate is sent to a target channel terminal in response to a public key obtaining request, the digital certificate comprises an encrypted public key, the encrypted public key is generated after the public key is encrypted by a CA mechanism, so that the target channel terminal receives the digital certificate and then decrypts the encrypted public key through the CA mechanism to obtain the public key, and the public key is used for decrypting the encrypted protocol to obtain the target cooperative authorization protocol;
The generating a target cooperative authorization agreement according to the contract variable information and a preset target contract template comprises the following steps:
Determining a target contract template corresponding to the target contract type identifier from a plurality of preset contract templates according to the target contract type identifier in the contract variable information;
and filling the contract variable information into the corresponding variable positions according to the variable type identifiers corresponding to the variable positions in the target contract template, and generating the target cooperative authorization agreement.
2. The method according to claim 1, wherein the transmitting the encryption protocol to the target channel terminal corresponding to the target channel side comprises:
Determining a target contact way corresponding to the target channel side;
and sending the encryption protocol to the target channel terminal according to the target contact way.
3. The method of claim 2, wherein the determining the target contact corresponding to the target channel comprises:
Extracting the target contact way from the target cooperative authorization agreement; or alternatively, the first and second heat exchangers may be,
And determining the target contact information corresponding to a target channel identifier according to the corresponding relation between the preset channel identifier and the contact information, wherein the target channel identifier is the channel identifier of the target channel side.
4. The method of claim 1, wherein the filling each contract variable information into a corresponding variable position according to a variable type identifier corresponding to each variable position in the target contract template, before generating the target cooperative authorization agreement, the method further comprises:
determining contract variable information corresponding to each variable position according to the variable type identification of each variable position in the target contract template and the variable type identification of each contract variable information;
Determining contract variable information corresponding to each verification condition according to the verification condition corresponding to each variable position and the contract variable information corresponding to each variable position;
respectively carrying out verification processing on the corresponding contract variable information according to the verification conditions to obtain verification results respectively corresponding to the contract variable information;
filling the contract variable information into the corresponding variable positions according to the variable type identifiers corresponding to the variable positions in the target contract template, and generating the target cooperative authorization agreement, wherein the method comprises the following steps:
And when each verification result is a verification passing result, filling each contract variable information into a corresponding variable position according to the corresponding relation between the variable position and the contract variable information, and generating the target cooperative authorization agreement.
5. The method of any of claims 1-4, wherein after the completion of signing the target collaborative authorization agreement, the method further comprises:
Storing the signed target cooperative authorization protocol to a cooperative authorization protocol management space, wherein the cooperative authorization protocol management space stores cooperative authorization protocols respectively corresponding to a plurality of channel parties.
6. A collaborative authorization protocol signing device, comprising:
The receiving and transmitting unit is used for receiving a collaboration authorization protocol creation instruction triggered by a user;
the processing unit is used for responding to a user-triggered cooperative authorization protocol new creation instruction and displaying a cooperative authorization protocol new creation interface, wherein the cooperative authorization protocol new creation interface comprises a plurality of input boxes and variable type identifiers respectively corresponding to the input boxes, and the cooperative authorization protocols with different contract type identifiers share the cooperative authorization protocol new interface;
The receiving and transmitting unit is further used for acquiring a plurality of contract variable information input by a user based on a plurality of input boxes;
The processing unit is further used for generating a target cooperative authorization agreement according to the contract variable information and a preset target contract template; in response to a signing instruction aiming at the target cooperative authorization protocol, carrying out hash processing on the target cooperative authorization protocol to obtain target abstract information; encrypting the target abstract information and the target cooperative authorization protocol according to a preset private key to obtain an encryption protocol;
The receiving and transmitting unit is further configured to send the encrypted protocol to a target channel terminal corresponding to a target channel party, so that the target channel terminal decrypts the encrypted protocol based on a public key corresponding to the private key, obtains the target abstract information and the target cooperative authorization protocol, verifies the integrity of the target cooperative authorization protocol based on the target abstract information, and when the integrity verification of the target cooperative authorization protocol passes, displays the target cooperative authorization protocol, so that a signer of the target channel party completes a signing operation of the cooperative authorization protocol based on the displayed target cooperative authorization protocol, and generates signing completion information based on the signing operation;
the processing unit is further used for stamping a seal on the target cooperative authorization protocol in response to the signing completion information returned by the target channel terminal to obtain a signed target cooperative authorization protocol, and completing signing of the target cooperative authorization protocol;
wherein, before the processing unit executes the signing completion information returned by the response to the target channel terminal, and stamps the target cooperative authorization protocol to obtain a signed target cooperative authorization protocol, the transceiver unit is further configured to:
Receiving a public key acquisition request sent by the target channel terminal; the method comprises the steps that a digital certificate is sent to a target channel terminal in response to a public key obtaining request, the digital certificate comprises an encrypted public key, the encrypted public key is generated after the public key is encrypted by a CA mechanism, so that the target channel terminal receives the digital certificate and then decrypts the encrypted public key through the CA mechanism to obtain the public key, and the public key is used for decrypting the encrypted protocol to obtain the target cooperative authorization protocol;
the processing unit is specifically configured to, when executing the step of generating a target cooperative authorization agreement according to the contract variable information and a preset target contract template:
Determining a target contract template corresponding to the target contract type identifier from a plurality of preset contract templates according to the target contract type identifier in the contract variable information;
and filling the contract variable information into the corresponding variable positions according to the variable type identifiers corresponding to the variable positions in the target contract template, and generating the target cooperative authorization agreement.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the collaborative authorization protocol signing method of any one of claims 1-5 when the computer program is executed.
8. A storage medium storing a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the collaborative authorization protocol signing method of any one of claims 1-5.
CN202310998405.8A 2023-08-08 2023-08-08 Collaborative authorization protocol signing method, device, computer equipment and storage medium Active CN116992470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310998405.8A CN116992470B (en) 2023-08-08 2023-08-08 Collaborative authorization protocol signing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310998405.8A CN116992470B (en) 2023-08-08 2023-08-08 Collaborative authorization protocol signing method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116992470A CN116992470A (en) 2023-11-03
CN116992470B true CN116992470B (en) 2024-04-26

Family

ID=88529943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310998405.8A Active CN116992470B (en) 2023-08-08 2023-08-08 Collaborative authorization protocol signing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116992470B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109586919A (en) * 2018-12-03 2019-04-05 杭州仟金顶信息科技有限公司 A kind of online contract signs method automatically
CN109756485A (en) * 2018-12-14 2019-05-14 平安科技(深圳)有限公司 Electronic contract signs method, apparatus, computer equipment and storage medium
CN110263145A (en) * 2019-05-07 2019-09-20 深圳市买买提信息科技有限公司 A kind of electronic contract signature method and electronic contract sign equipment
WO2023040531A1 (en) * 2021-09-16 2023-03-23 深圳市富途网络科技有限公司 Account authorization method and apparatus, device, storage medium, and computer program product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109586919A (en) * 2018-12-03 2019-04-05 杭州仟金顶信息科技有限公司 A kind of online contract signs method automatically
CN109756485A (en) * 2018-12-14 2019-05-14 平安科技(深圳)有限公司 Electronic contract signs method, apparatus, computer equipment and storage medium
CN110263145A (en) * 2019-05-07 2019-09-20 深圳市买买提信息科技有限公司 A kind of electronic contract signature method and electronic contract sign equipment
WO2023040531A1 (en) * 2021-09-16 2023-03-23 深圳市富途网络科技有限公司 Account authorization method and apparatus, device, storage medium, and computer program product

Also Published As

Publication number Publication date
CN116992470A (en) 2023-11-03

Similar Documents

Publication Publication Date Title
US20220407720A1 (en) Electronic identification verification methods and systems with storage of certification records to a side chain
US10790976B1 (en) System and method of blockchain wallet recovery
US11233657B2 (en) Method and system for registering digital documents
CN110601816B (en) Lightweight node control method and device in block chain system
CN110535648B (en) Electronic certificate generation and verification and key control method, device, system and medium
US8495383B2 (en) Method for the secure storing of program state data in an electronic device
US20090006860A1 (en) Generating multiple seals for electronic data
CN111147432B (en) KYC data sharing system with confidentiality and method thereof
US10936552B2 (en) Performing bilateral negotiations on a blockchain
US20090006842A1 (en) Sealing Electronic Data Associated With Multiple Electronic Documents
CN110189184B (en) Electronic invoice storage method and device
US20090003588A1 (en) Counter Sealing Archives of Electronic Seals
US10439809B2 (en) Method and apparatus for managing application identifier
GB2515057A (en) System and Method for Obtaining a Digital Signature
US20210241270A1 (en) System and method of blockchain transaction verification
CN111460457A (en) Real estate property registration supervision method, device, electronic equipment and storage medium
CN110677261A (en) Credible two-dimensional code generation method and device, electronic equipment and storage medium
CN111311259A (en) Bill processing method, device, terminal and computer readable storage medium
US20090006258A1 (en) Registration Process
CN113328854A (en) Service processing method and system based on block chain
CN116992470B (en) Collaborative authorization protocol signing method, device, computer equipment and storage medium
CN115526629A (en) Receipt transaction method and device based on block chain network and identity authentication device
CN113127930B (en) Charging data processing method, device and computer readable storage medium
CN114710362A (en) Identity authentication method and device based on block chain and electronic equipment
CN116776393B (en) Industry enabling contract signing method, device, computer equipment 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
GR01 Patent grant
GR01 Patent grant