Signing processing method and device, electronic equipment and storage medium
Through user drag and drop instructions, the target node and electronic seal position conversion is solved, and the problem of traditional electronic seal system process configuration depends on developers, achieving flexible seal process configuration and rapid response to business needs.
Patent Information
- Application Number
- CN202510569131.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-08-19
AI Technical Summary
The process configuration of traditional electronic signature systems relies on manual coding by developers, which makes it impossible for non-technical personnel to participate in process adjustment and optimization, and the system is insufficient to respond quickly to changes in business needs.
Provide a contract processing method, selecting the target node through user dragging instructions, determining the contract process based on the node keyword, and converting the relative position of the electronic seal into an absolute position, signing it into an electronic contract, supporting the rapid configuration process of non-technical personnel.
It realizes that non-technical personnel can easily configure the signature process, quickly respond to business needs, enhance the flexibility and applicability of the system, and meet the diversified needs of different business scenarios and user groups.
Smart Images

Figure CN120509848A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic signature technology, and in particular to a contract processing method, device, electronic device and storage medium. Background Art
[0002] With the widespread adoption of electronic signature technology, electronic signature systems have become an indispensable part of enterprises' digital transformation. Traditional electronic signature systems have significant limitations in process configuration. Because system process adjustments and optimizations rely entirely on manual coding by developers, non-technical personnel are unable to participate in process configuration and optimization. This results in a lack of system flexibility and difficulty in quickly responding to changing business needs. Summary of the Invention
[0003] In a first aspect, the present invention provides a contract processing method, the method comprising:
[0004] Acquire multiple nodes to be constructed, and select multiple target nodes from each of the nodes to be constructed according to a user drag and drop instruction;
[0005] Determining a target signing process according to at least one keyword of each target node;
[0006] Allocating the signing task of each target node to at least one corresponding target user terminal according to the target signing process;
[0007] Obtaining the relative position of the electronic seal to be signed according to the electronic contract to be signed, and converting the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed;
[0008] Signing the electronic seal to be signed into the electronic contract to be signed according to the absolute position of the electronic seal to be signed;
[0009] The electronic seal to be signed is verified after signing. If the verification is successful, the target signing process is determined to be completed.
[0010] In an optional embodiment, obtaining the relative position of the electronic seal to be signed according to the electronic contract to be signed, and converting the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed includes:
[0011] Obtaining the relative position of the electronic seal to be signed according to the coordinate system of the preset front-end canvas and the user's click instruction;
[0012] The relative position of the electronic seal to be signed is converted into the absolute position of the electronic seal to be signed by using a resolution calculation formula.
[0013] In an optional embodiment, the relative position of the electronic seal to be signed includes: the horizontal coordinate pixel value of the electronic seal to be signed and the vertical coordinate pixel value of the electronic seal to be signed; the absolute position of the electronic seal to be signed includes: the target horizontal coordinate value of the electronic seal to be signed and the target vertical coordinate value of the electronic seal to be signed;
[0014] The step of converting the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed by using a resolution calculation formula includes:
[0015] Obtain the height value of the preset front-end canvas, screen resolution, and document standard resolution;
[0016] Obtaining a resolution ratio between the screen resolution and the document standard resolution;
[0017] Determine the target abscissa value of the electronic seal to be signed according to the product of the abscissa pixel value of the electronic seal to be signed and the resolution ratio;
[0018] Obtaining the height difference between the preset front-end canvas height and the vertical coordinate pixel value of the electronic seal to be signed;
[0019] The target vertical coordinate value of the electronic seal to be signed is determined according to the height difference and the resolution ratio.
[0020] In an optional embodiment, determining a target signing process according to at least one keyword of each target node includes:
[0021] Determining the priority of each target node according to at least one keyword of each target node;
[0022] Determining the execution order of each target node according to the priority of each target node;
[0023] The target signing process is determined according to the execution order of each target node.
[0024] In an optional implementation manner, determining the priority of each target node according to at least one keyword of each target node includes:
[0025] If there are multiple keywords for each target node, the weight values of the keywords are obtained respectively, the weight values of the keywords are added together to obtain a weight sum, and the priority of each target node is determined according to the weight sum.
[0026] In an optional embodiment, allocating the signing task of each target node to the corresponding at least one target user terminal according to the target signing process includes:
[0027] Setting a signing time limit for the signing task of each target node;
[0028] If the target user terminal fails to complete the contract signing task within the contract signing time limit, the corresponding target node is skipped and the target contract signing process is followed to enter the next target node.
[0029] In an optional embodiment, the verification of the signed electronic seal includes:
[0030] The integrity of the electronic seal to be signed is verified using the SM2 algorithm.
[0031] In a second aspect, the present invention provides a contract processing device, the device comprising:
[0032] An acquisition module, configured to acquire a plurality of nodes to be constructed, and select a plurality of target nodes from each of the nodes to be constructed according to a user drag and drop instruction;
[0033] a determination module, configured to determine a target signing process according to at least one keyword of each target node;
[0034] An allocation module, configured to allocate the signing task of each target node to at least one corresponding target user terminal according to the target signing process;
[0035] A conversion module, configured to obtain the relative position of the electronic seal to be signed according to the electronic contract to be signed, and convert the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed;
[0036] A signing module, configured to sign the electronic seal to be signed into the electronic contract to be signed according to the absolute position of the electronic seal to be signed;
[0037] The verification module is used to verify the electronic seal to be signed after signing. If the verification is successful, it is determined that the target signing process is completed.
[0038] In a third aspect, the present invention provides a computer device comprising a processor and a memory, wherein the memory stores a computer program, and the processor is configured to execute the computer program to implement the contract signing method described in any one of the aforementioned embodiments.
[0039] In a fourth aspect, the present invention provides a computer storage medium storing a computer program, which, when executed on a processor, implements the contract signing processing method according to any one of the aforementioned embodiments.
[0040] The embodiments of the present application have the following beneficial effects:
[0041] The present application provides a contract signing processing method, device, electronic device and storage medium, wherein the method includes: obtaining multiple nodes to be constructed, selecting multiple target nodes in each of the nodes to be constructed according to a user drag and drop instruction; determining a target contract signing process according to at least one keyword of each of the target nodes; allocating the contract signing task of each of the target nodes to at least one corresponding target user terminal according to the target contract signing process; obtaining the relative position of the electronic seal to be signed according to the electronic contract to be signed, and converting the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed; signing the electronic seal to be signed into the electronic contract to be signed according to the absolute position of the electronic seal to be signed; verifying the signed electronic seal to be signed, and if the verification is successful, determining that the target contract signing process is completed. The present application determines multiple target nodes through user drag and drop instructions, and determines a target contract signing process according to each target node. It can quickly respond to changes in business needs, and can flexibly determine target nodes and contract signing processes according to its own needs and habits, meet the diverse needs of different business scenarios and user groups, and enhance the applicability and user satisfaction of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] To more clearly illustrate the technical solution of this application, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of this application and should not be considered as limiting the scope of protection of this application. Those skilled in the art can also derive other relevant drawings based on these drawings without inventive effort.
[0043] Figure 1 A schematic diagram of a process flow of a contract signing method provided in an embodiment of the present application is shown;
[0044] Figure 2 Another schematic diagram of the process of signing a contract provided by an embodiment of the present application is shown;
[0045] Figure 3 A schematic diagram of the structure of a contract signing processing device provided in an embodiment of the present application is shown;
[0046] Figure 4 A structural schematic diagram of an electronic device provided in an embodiment of the present application is shown.
[0047] Icons: 300 - contract signing processing device, 301 - acquisition module, 302 - determination module, 303 - allocation module, 304 - conversion module, 305 - signing module, 306 - verification module, 400 - electronic device, 401 - transceiver, 402 - processor, 403 - memory. DETAILED DESCRIPTION
[0048] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0049] The components of the embodiments of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed application, but rather merely represents selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative effort are within the scope of protection of the present application.
[0050] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present application, are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or the possibility of adding one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.
[0051] Furthermore, the terms “first,” “second,” “third,” etc., are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.
[0052] Unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meaning as in the context of the relevant technical field and will not be interpreted as having an idealized meaning or an overly formal meaning unless clearly defined in the various embodiments of the present application.
[0053] The following describes some embodiments of the present application in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments may be combined with each other.
[0054] With the widespread adoption of electronic signature technology, electronic signature systems have become an integral part of enterprise digital transformation. Electronic signature systems ensure the integrity and non-repudiation of electronic documents through digital signature technology and are widely used in scenarios such as contract signing, approval processes, and document archiving.
[0055] In traditional electronic signature systems, process configuration is usually implemented by developers through code writing, which includes the design of the signature process, the setting of approval nodes, the allocation of permissions, etc. Although this technical implementation method can meet basic signature requirements, it also has significant limitations. Since the process configuration relies entirely on manual coding by developers, non-technical personnel cannot directly participate in the adjustment and optimization of the process, resulting in insufficient system flexibility and difficulty in quickly responding to changes in business needs. In addition, the manual coding method also increases the complexity and cost of system maintenance, limiting the further promotion and application of the electronic signature system. Based on this, the present application provides a contract processing method.
[0056] Example 1
[0057] The embodiment of the present application provides a contract processing method.
[0058] See also Figure 1 , contract processing methods include:
[0059] S101 , obtaining a plurality of nodes to be constructed, and selecting a plurality of target nodes from each of the nodes to be constructed according to a user drag instruction.
[0060] In an embodiment of the present application, it is implemented based on the Vue3 framework and provides a drag-and-drop node configuration interface to support users in making topological connections between approver nodes, signature location nodes, and conditional branch nodes; wherein, when users drag nodes, they are automatically adsorbed to the grid or adjacent nodes to ensure that the topology diagram is neat.
[0061] It's important to note that the drag-and-drop interface eliminates the need for users to write extensive code or complex configuration files to define processes. When designing an approval process, users simply drag and drop approver nodes and conditional branch nodes to the appropriate locations, building the process through simple topological connections. This approach is much faster than traditional text-based configuration or programming, reduces the learning curve and operational steps, and makes it easy for users without technical backgrounds to get started.
[0062] S102: Determine a target signing process according to at least one keyword of each target node.
[0063] It should be noted that if there is an abnormal situation of a loop or unconnected nodes in the target signing process, the front end will immediately mark and prompt an error. At the same time, the user can save the process draft and restore to the historical version at any time to avoid losing previous work results due to erroneous operations.
[0064] In one embodiment, the priority of each target node is determined based on at least one keyword of each target node; the execution order of each target node is determined based on the priority of each target node; and the target signing process is determined based on the execution order of each target node.
[0065] In this embodiment, the priority of the target node is determined by extracting at least one keyword from the target node, all target nodes are sorted according to the priority, the sorted nodes are put into the execution order list in sequence, and the target signing process is determined according to the execution order of each target node. Conditional judgment, branching or loop logic can be added to the process according to business needs.
[0066] It should be understood that determining the target signing process through priority sorting can make reasonable allocation of resources, ensure that important nodes can respond quickly, and improve the efficiency of signing.
[0067] In one embodiment, if there are multiple keywords for each target node, the weight value of each keyword is obtained respectively, the weight value of each keyword is added together to obtain a weight sum value, and the priority of each target node is determined according to the weight sum value.
[0068] It should be noted that by classifying keywords and establishing a keyword dictionary, keywords are divided into multiple categories such as urgent, important, and valuable, and each category has a different priority weight. For example, urgent keywords are given a higher weight (such as a weight of 8-10), important keywords (weight of 5-7), and valuable keywords (weight of 3-5).
[0069] The priority score for each target node is calculated based on the target node's keyword's category and weight in the keyword dictionary. If a target node has multiple keywords, a weighted summation method can be used, where the weights of each keyword are added together to obtain a comprehensive priority score. For example, if a target node has two keywords, "urgent contract" (weight 9) and "high-value customer" (weight 6), its priority score is 15.
[0070] S103: Allocate the signing task of each target node to at least one corresponding target user terminal according to the target signing process.
[0071] Preferably, when the signing tasks of each target node are assigned to multiple target user terminals according to the target signing process, any target user terminal can trigger the next target node by completing the current target node. At the same time, by embedding a custom script, the legality of the contract field is verified, such as whether the contract amount matches the preset threshold.
[0072] In one embodiment, a signing time limit is set for the signing task of each target node; if the target user terminal fails to complete the signing task within the signing time limit, the corresponding target node is skipped and the next target node is entered according to the target signing process.
[0073] S104: Obtain the relative position of the electronic seal to be signed according to the electronic contract to be signed, and convert the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed.
[0074] In another embodiment, the height and width of the preset front-end canvas can be obtained, and the percentage of the electronic seal to be signed within the electronic contract to be signed can be determined based on a user's click instruction. For example, a target horizontal coordinate value of "30%" for the electronic seal to be signed indicates that the electronic seal to be signed is horizontally located at 30% of the canvas width. By obtaining the coordinate percentage of the electronic seal to be signed within the electronic contract to be signed, the electronic seal to be signed is signed into the electronic contract to be signed. This method is often used by electronic devices that only recognize percentages.
[0075] In one embodiment, if Figure 2 As shown, S1041, the relative position of the electronic seal to be signed is obtained according to the preset coordinate system of the front-end canvas and the user's click instruction, and S1042, the relative position of the electronic seal to be signed is converted into the absolute position of the electronic seal to be signed by using a resolution calculation formula.
[0076] It should be noted that by obtaining the relative position of the electronic seal to be signed on the preset front-end canvas through the user clicking an instruction, and converting the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed, the specific signing position of the electronic seal in the document can be accurately determined, thereby preventing invalid or ambiguous signatures due to position deviations and improving the accuracy and legal effect of signatures.
[0077] In one embodiment, the relative position of the electronic seal to be signed includes: the horizontal coordinate pixel value of the electronic seal to be signed and the vertical coordinate pixel value of the electronic seal to be signed; the absolute position of the electronic seal to be signed includes: the target horizontal coordinate value of the electronic seal to be signed and the target vertical coordinate value of the electronic seal to be signed;
[0078] Obtain the height value of the preset front-end canvas, the screen resolution and the document standard resolution; obtain the resolution ratio of the screen resolution and the document standard resolution; determine the target horizontal coordinate value of the electronic seal to be signed based on the product of the horizontal coordinate pixel value of the electronic seal to be signed and the resolution ratio; obtain the height difference between the height value of the preset front-end canvas and the vertical coordinate pixel value of the electronic seal to be signed; determine the target vertical coordinate value of the electronic seal to be signed based on the height difference and the resolution ratio.
[0079] It should be noted that the format of the electronic contract to be signed in this application is PDF, and the standard resolution of the PDF file format is 72DPI. The screen resolution is mostly determined based on the user's device screen resolution, and the device frequency resolution can be: 72DPI, 96DPI or 144DPI.
[0080] For example, if the screen resolution is 96DPI, the PDF standard resolution is 72DPI, the horizontal coordinate pixel value of the electronic seal to be signed is 200px, the vertical coordinate pixel value of the electronic seal to be signed is 450px, and the canvas height pixel value is 1120px.
[0081] It is necessary to calculate the dot / pixel ratio = 72DPI / 96DPI = 0.75 (i.e. 1 pixel = 0.75 dot), and obtain the horizontal coordinate pixel value of the electronic seal to be signed = the horizontal coordinate pixel value of the electronic seal to be signed × the dot / pixel ratio = 200 × 0.75 = 150 points, and the target vertical coordinate value of the electronic seal to be signed = (canvas height - vertical coordinate pixel value of the electronic seal to be signed) × dot / pixel ratio = (1120-450) × 0.75 = 502.5 points.
[0082] It is further explained that by converting the relative position of the electronic seal to be signed into an absolute position, automatic and precise positioning and signing can be achieved, reducing the time and error rate of manual positioning and adjustment, and ensuring the quick and accurate completion of the signing process.
[0083] S105: signing the electronic seal to be signed into the electronic contract to be signed according to the absolute position of the electronic seal to be signed.
[0084] In this embodiment, a timestamp request is generated by obtaining the hash value of the electronic signature, the time of requesting the timestamp, and optional information such as the signer's identity information. The generated timestamp request is sent to a timestamp service agency, the integrity of the timestamp request is verified, and the current time is recorded. The hash value and current time in the timestamp request are signed using the private key of the timestamp service agency to generate a timestamp token. By attaching a trusted timestamp to each signature, it can be ensured that the time of the electronic signature is trustworthy, thereby enhancing its legal effect.
[0085] S106, verifying the electronic seal to be signed after signing. If the verification is successful, it is determined that the target signing process is completed.
[0086] In one embodiment, the integrity of the electronic seal to be signed is verified using the SM2 algorithm.
[0087] The original message is hashed using the same hashing algorithm used for signing to obtain a message digest. Based on the SM2 algorithm, an elliptic curve operation is performed using the signer's public key, the message digest, and the digital signature. The result of this elliptic curve operation is substituted into a specific equation to verify whether the equation holds. If the equation holds, the signature integrity verification passes; otherwise, verification fails.
[0088] The present embodiment provides a contract signing processing method, wherein the method includes: obtaining a plurality of nodes to be constructed, selecting a plurality of target nodes in each of the nodes to be constructed according to a user drag and drop instruction; determining a target contract signing process according to at least one keyword of each of the target nodes; allocating the contract signing task of each of the target nodes to at least one corresponding target user terminal according to the target contract signing process; obtaining the relative position of the electronic seal to be signed according to the electronic contract to be signed, and converting the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed; signing the electronic seal to be signed into the electronic contract to be signed according to the absolute position of the electronic seal to be signed; verifying the electronic seal to be signed after signing, and if the verification is successful, determining that the target contract signing process is completed. The present application determines a plurality of target nodes through user drag and drop instructions, and determines a target contract signing process according to each target node. It can quickly respond to changes in business needs, and can flexibly determine target nodes and contract signing processes according to its own needs and habits, meet the diverse needs of different business scenarios and user groups, and enhance the applicability and user satisfaction of the system.
[0089] Example 2
[0090] In addition, an embodiment of the present application provides a contract signing processing device.
[0091] like Figure 3 As shown, the contract processing device 300 includes:
[0092] An acquisition module 301 is configured to acquire a plurality of nodes to be constructed, and select a plurality of target nodes from each of the nodes to be constructed according to a user drag instruction;
[0093] A determination module 302 is configured to determine a target signing process based on at least one keyword of each target node;
[0094] An allocating module 303 is configured to allocate the contract signing task of each target node to at least one corresponding target user terminal according to the target contract signing process;
[0095] The conversion module 304 is used to obtain the relative position of the electronic seal to be signed according to the electronic contract to be signed, and convert the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed;
[0096] The signing module 305 is used to sign the electronic seal to be signed into the electronic contract to be signed according to the absolute position of the electronic seal to be signed;
[0097] The verification module 306 is used to verify the electronic seal to be signed after signing. If the verification is successful, it is determined that the target signing process is completed.
[0098] The contract signing processing device 300 provided in this embodiment can implement the contract signing processing method provided in Example 1. To avoid repetition, it will not be described here.
[0099] The contract signing processing device provided in this embodiment determines multiple target nodes through user drag and drop instructions, and determines the target contract signing process according to each target node. It can quickly respond to changes in business needs, and can flexibly determine the target nodes and contract signing process according to its own needs and habits, to meet the diverse needs of different business scenarios and user groups, and enhance the applicability of the system and user satisfaction.
[0100] Example 3
[0101] In addition, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, it executes the contract processing method provided in Example 1.
[0102] For details, see Figure 4 The electronic device 400 includes: a transceiver 401, a bus interface and a processor 402, and the processor 402 is used to: obtain multiple nodes to be constructed, and select multiple target nodes in each of the nodes to be constructed according to the user's drag and drop instructions; determine the target signing process according to at least one keyword of each of the target nodes; assign the signing task of each of the target nodes to at least one corresponding target user terminal according to the target signing process; obtain the relative position of the electronic seal to be signed according to the electronic contract to be signed, and convert the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed; sign the electronic seal to be signed into the electronic contract to be signed according to the absolute position of the electronic seal to be signed; verify the signed electronic seal to be signed, and if the verification is successful, it is determined that the target signing process is completed.
[0103] In one embodiment, the processor 402 is further used to: obtain the relative position of the electronic seal to be signed based on the coordinate system of the preset front-end canvas and the user's click instruction; and convert the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed through a resolution calculation formula.
[0104] In one embodiment, the processor 402 is also used to: the relative position of the electronic seal to be signed includes: the horizontal coordinate pixel value of the electronic seal to be signed and the vertical coordinate pixel value of the electronic seal to be signed; the absolute position of the electronic seal to be signed includes: the target horizontal coordinate value of the electronic seal to be signed and the target vertical coordinate value of the electronic seal to be signed; obtain the height value of the preset front-end canvas, the screen resolution and the document standard resolution; obtain the resolution ratio of the screen resolution and the document standard resolution; determine the target horizontal coordinate value of the electronic seal to be signed based on the product of the horizontal coordinate pixel value of the electronic seal to be signed and the resolution ratio; obtain the height difference between the height value of the preset front-end canvas and the vertical coordinate pixel value of the electronic seal to be signed; determine the target vertical coordinate value of the electronic seal to be signed based on the height difference and the resolution ratio.
[0105] In one embodiment, the processor 402 is also used to: determine the priority of each target node based on at least one keyword of each target node; determine the execution order of each target node based on the priority of each target node; and determine the target signing process based on the execution order of each target node.
[0106] In one embodiment, the processor 402 is also used to: if there are multiple keywords for each target node, obtain the weight value of each keyword respectively, add the weight value of each keyword to obtain the weight sum value, and determine the priority of each target node according to the weight sum value.
[0107] In one embodiment, the processor 402 is also used to: set a signing time limit for the signing task of each target node; if the target user terminal fails to complete the signing task within the signing time limit, skip the corresponding target node and enter the next target node according to the target signing process.
[0108] In one embodiment, the processor 402 is further configured to: verify the integrity of the electronic seal to be signed using an SM2 algorithm.
[0109] In the embodiment of the present application, the electronic device 400 further includes a memory 403. Figure 4In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically connecting various circuits such as one or more processors represented by processor 402 and memory represented by memory 403. The bus architecture may also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 401 may be a plurality of components, i.e., a transmitter and a receiver, providing a unit for communicating with various other devices over a transmission medium. The processor 402 is responsible for managing the bus architecture and general processing, and the memory 403 may store data used by the processor 402 when performing operations.
[0110] The electronic device 400 provided in the embodiment of the present application can execute the steps of the contract signing method provided in the above-mentioned method embodiment 1. To avoid repetition, they will not be described here.
[0111] The electronic device provided in this embodiment determines multiple target nodes through user drag and drop instructions, and determines the target signing process based on each target node. It can quickly respond to changes in business needs and can flexibly determine the target nodes and signing processes based on its own needs and habits to meet the diverse needs of different business scenarios and user groups, thereby enhancing the applicability of the system and user satisfaction.
[0112] Example 4
[0113] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the contract signing method provided in Example 1 is implemented.
[0114] In this embodiment, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0115] The computer-readable storage medium provided in this embodiment can implement the contract signing processing method provided in Example 1. To avoid repetition, it will not be described here.
[0116] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or terminal comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or terminal comprising the element.
[0117] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0118] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
Claims
1. A contract processing method, characterized in that: The method comprises: Acquire multiple nodes to be constructed, and select multiple target nodes from each of the nodes to be constructed according to a user drag and drop instruction; Determining a target signing process according to at least one keyword of each target node; Allocating the signing task of each target node to at least one corresponding target user terminal according to the target signing process; Obtaining the relative position of the electronic seal to be signed according to the electronic contract to be signed, and converting the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed; Signing the electronic seal to be signed into the electronic contract to be signed according to the absolute position of the electronic seal to be signed; The electronic seal to be signed is verified after signing. If the verification is successful, the target signing process is determined to be completed.
2. The contract signing method according to claim 1, wherein: The step of obtaining the relative position of the electronic seal to be signed according to the electronic contract to be signed, and converting the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed, includes: Obtaining the relative position of the electronic seal to be signed according to the coordinate system of the preset front-end canvas and the user's click instruction; The relative position of the electronic seal to be signed is converted into the absolute position of the electronic seal to be signed by using a resolution calculation formula.
3. The contract signing method according to claim 2, wherein: The relative position of the electronic seal to be signed includes: the horizontal coordinate pixel value of the electronic seal to be signed and the vertical coordinate pixel value of the electronic seal to be signed; the absolute position of the electronic seal to be signed includes: the target horizontal coordinate value of the electronic seal to be signed and the target vertical coordinate value of the electronic seal to be signed; The step of converting the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed by using a resolution calculation formula includes: Obtain the height value of the preset front-end canvas, screen resolution, and document standard resolution; Obtaining a resolution ratio between the screen resolution and the document standard resolution; Determine the target abscissa value of the electronic seal to be signed according to the product of the abscissa pixel value of the electronic seal to be signed and the resolution ratio; Obtaining the height difference between the preset front-end canvas height and the vertical coordinate pixel value of the electronic seal to be signed; The target vertical coordinate value of the electronic seal to be signed is determined according to the height difference and the resolution ratio.
4. The contract signing method according to claim 1, wherein: The determining of the target signing process according to at least one keyword of each target node includes: Determining the priority of each target node according to at least one keyword of each target node; Determining the execution order of each target node according to the priority of each target node; The target signing process is determined according to the execution order of each target node.
5. The contract signing method according to claim 4, wherein: The determining the priority of each target node according to at least one keyword of each target node includes: If there are multiple keywords for each target node, the weight values of the keywords are obtained respectively, the weight values of the keywords are added together to obtain a weight sum, and the priority of each target node is determined according to the weight sum.
6. The contract signing method according to claim 1, wherein: Allocating the signing task of each target node to at least one corresponding target user terminal according to the target signing process includes: Setting a signing time limit for the signing task of each target node; If the target user terminal fails to complete the contract signing task within the contract signing time limit, the corresponding target node is skipped and the target contract signing process is followed to enter the next target node.
7. The contract signing method according to claim 1, wherein: The verification of the electronic seal to be signed after signing includes: The integrity of the electronic seal to be signed is verified using the SM2 algorithm.
8. A contract processing device, characterized in that: The device comprises: An acquisition module, configured to acquire a plurality of nodes to be constructed, and select a plurality of target nodes from each of the nodes to be constructed according to a user drag and drop instruction; a determination module, configured to determine a target signing process according to at least one keyword of each target node; An allocation module, configured to allocate the signing task of each target node to at least one corresponding target user terminal according to the target signing process; A conversion module, configured to obtain the relative position of the electronic seal to be signed according to the electronic contract to be signed, and convert the relative position of the electronic seal to be signed into the absolute position of the electronic seal to be signed; A signing module, configured to sign the electronic seal to be signed into the electronic contract to be signed according to the absolute position of the electronic seal to be signed; The verification module is used to verify the electronic seal to be signed after signing. If the verification is successful, it is determined that the target signing process is completed.
9. A computer device, characterized in that: The computer device includes a processor and a memory, the memory stores a computer program, and the processor is used to execute the computer program to implement the contract processing method according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that It stores a computer program, which, when executed on a processor, implements the contract processing method according to any one of claims 1 to 7.