Electronic signature processing method, system, device and equipment and storage medium

By generating and adjusting the signature image on the front end and sending it to the back end for digital signature processing, the problem of slow response speed of the electronic signature system is solved, and fast, flexible and secure electronic signature processing is achieved.

CN120542389APending Publication Date: 2025-08-26HUAAN PROPERTY INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510583532.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-07
Publication Date
2025-08-26

AI Technical Summary

Technical Problem

The existing electronic signature system has a slow response speed when performing electronic signature processing, and needs to wait for the backend to generate and send signature images, resulting in poor user experience.

Method used

The front-end determines the initial signature image from the local pre-generated signature image template, and adjusts the display method in the document page. After generating the target signature image, it is sent to the back-end together with the document page for digital signature processing.

Benefits of technology

It improves the response speed of electronic signature processing, reduces waiting time, improves the fluency and efficiency of user operations, meets the requirements of laws and enterprise specifications, and enhances the flexibility and security of signature processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120542389A_ABST
    Figure CN120542389A_ABST
Patent Text Reader

Abstract

The invention discloses an electronic signature processing method, system, device and equipment and a storage medium, and relates to the technical field of data processing.The electronic signature processing method comprises the steps that in response to a signature processing instruction of a to-be-processed document, a corresponding initial signature image is determined from a locally generated signature image template, adjusting a display mode of the initial signature image in a corresponding document page of the to-be-processed document to obtain a target signature image, and sending the target signature image, the display mode and the document page to a rear end, so that the rear end can carry out signature processing on the to-be-processed document based on the target signature image, the display mode and the document page. And completing the processing of the electronic signature. Compared with an existing method, the method has the advantages that the signature image is generated and processed at the front end, and then the related information is sent to the rear end to be processed, so that waiting for the rear end to generate and send the electronic signature image is not needed, and the response speed during electronic signature processing is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to electronic signature processing methods, systems, devices, equipment and storage media. Background Art

[0002] Electronic signature technology is widely used in the signing process of various electronic documents, especially in the electronic signing of legal documents such as contracts and agreements.

[0003] The current electronic signature system mainly relies on the back-end server to generate the signature image, and then sends the document page including the electronic signature to the front-end so that the front-end can process the generated electronic signature in the document page. Every time the user processes the electronic signature, he needs to wait for the back-end to generate and send the electronic signature image, resulting in the current electronic signature system having a slow response speed when processing electronic signatures. Summary of the Invention

[0004] The main purpose of this application is to provide an electronic signature processing method, system, device, equipment and storage medium, aiming to solve the technical problem of slow response speed of current electronic signature systems when processing electronic signatures.

[0005] To achieve the above objectives, this application proposes an electronic signature processing method, which is applied to the front end of an electronic signature system. The method includes:

[0006] In response to a signature processing instruction for a document to be processed, determining a corresponding initial signature image from a locally generated signature image template;

[0007] Adjusting the display mode of the initial signature image in the corresponding document page of the document to be processed to obtain a target signature image;

[0008] The target signature image, the display mode and the document page are sent to a backend, so that the backend completes processing of the electronic signature based on the target signature image, the display mode and the document page.

[0009] In one embodiment, the signature image template includes a signature type, and the step of adjusting the display mode of the initial signature image on the corresponding document page of the to-be-processed document to obtain the target signature image includes:

[0010] In response to a signature dragging operation by the user, moving the initial signature image to a position corresponding to the signature dragging operation;

[0011] Based on the signature type, the display mode of the initial signature image on the document page is adjusted to obtain the target signature image.

[0012] In one embodiment, the signature type includes a saddle stamp, the to-be-processed document includes document page information, the document page information includes the number of document pages, the document page structure, and the document page coordinates, and the step of adjusting the display mode of the initial signature image on the document page based on the signature type to obtain the target signature image includes:

[0013] If the signature type is a saddle seal, the display mode of the saddle seal is adjusted based on the number of document pages, the document page structure and the document page coordinates to obtain a target saddle seal, wherein the display width of the target saddle seal in each document page is equal and does not overlap with the page content of each document page.

[0014] In one embodiment, the signature image template further includes a signature size. Before the step of determining a corresponding initial signature image from a locally generated signature image template in response to a signature processing instruction for a document to be processed, the method further includes:

[0015] In response to a user's selection operation of the signature type, determining the signature type of the preset signature image;

[0016] In response to a user's operation of adjusting the signature size, determining the signature size of the preset signature image;

[0017] In response to a user's save operation on the preset signature image, the preset signature image is saved in a local signature image template.

[0018] To achieve the above objectives, this application also proposes an electronic signature processing method, which is applied to the back-end of the electronic signature system. The method includes:

[0019] Receive the target signature image, display mode and document page sent by the front end;

[0020] Generate a digital signature based on the target seal image, the display mode and the document page;

[0021] The digital signature is embedded into the document page to complete the processing of the electronic signature.

[0022] In one embodiment, the display mode includes a seal image position of the target seal image, and the step of generating a seal digital signature based on the target seal image, the display mode, and the document page includes:

[0023] Embedding the target signature image into the target signature position of the document page to obtain a target document page;

[0024] Generate a signature key based on the preset encryption algorithm;

[0025] Based on the signature key, the target document page and the target signature position are encrypted to obtain the signature digital signature.

[0026] In addition, to achieve the above purpose, this application also proposes an electronic signature processing system, which includes: a front end and a back end

[0027] The front end is configured to, in response to a signature processing instruction for a document to be processed, determine a corresponding initial signature image from a locally generated signature image template, adjust a display mode of the initial signature image on a corresponding document page of the document to be processed, obtain a target signature image, and send the target signature image, the display mode, and the document page to the back end, so that the back end completes processing of the electronic signature based on the target signature image, the display mode, and the document page;

[0028] The back end is used to receive the target signature image, display mode and document page sent by the front end, generate a signature digital signature based on the target signature image, the display mode and the document page, and embed the signature digital signature into the document page to complete the processing of the electronic signature.

[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes an electronic signature processing device, which includes:

[0030] An image generation module, configured to determine a corresponding initial signature image from a locally generated signature image template in response to a signature processing instruction for a document to be processed;

[0031] A display adjustment module, configured to adjust the display mode of the initial signature image in the corresponding document page of the document to be processed, to obtain a target signature image;

[0032] The information sending module is used to send the target signature image, the display mode and the document page to the back end, so that the back end can complete the processing of the electronic signature based on the target signature image, the display mode and the document page.

[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes an electronic signature processing device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is configured to implement the steps of the electronic signature processing method as described above.

[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium, and when the computer program is executed by the processor, the steps of the electronic signature processing method described above are implemented.

[0035] One or more technical solutions proposed in this application have at least the following technical effects:

[0036] This application responds to the signature processing instruction of the document to be processed, determines the corresponding initial signature image from the locally generated signature image template, adjusts the display method of the initial signature image in the corresponding document page of the document to be processed, obtains the target signature image, and sends the target signature image, the display method and the document page to the back end, so that the back end can complete the processing of the electronic signature based on the target signature image, the display method and the document page.

[0037] This application first determines the initial signature image from the preset signature images saved locally, processes the initial signature image on the front end, and adjusts the display mode of the initial signature image in the document page accordingly, and then sends the adjusted initial signature image and the document page to the back end to complete the processing of the electronic signature. Compared with the current method of first generating an electronic signature in the document page through the back end, and then sending the document page including the electronic signature to the front end, the electronic signature processing is performed on the front end. This application first performs the electronic signature processing operation, and then sends the relevant information to the back end to complete the processing, so there is no need to wait for the back end to generate and send the electronic signature image, which improves the response speed when performing electronic signature processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0040] Figure 1 A flowchart illustrating the first embodiment of the electronic signature processing method for this application;

[0041] Figure 2 Schematic diagram of the scenario provided for the first embodiment of the electronic signature processing method for this application;

[0042] Figure 3A flowchart of the second embodiment of the electronic signature processing method for this application is provided;

[0043] Figure 4 A flowchart of the third embodiment of the electronic signature processing method for this application is provided;

[0044] Figure 5 This is a schematic diagram of the module structure of the electronic signature processing device according to an embodiment of the present application;

[0045] Figure 6 This is a schematic diagram of the device structure of the hardware operating environment involved in the electronic signature processing method in the embodiment of this application.

[0046] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0047] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.

[0048] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0049] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, mobile phone, etc., or an electronic device capable of performing the above functions, an electronic signature processing device, etc. The following uses the electronic signature processing device as an example to illustrate this embodiment and the following embodiments.

[0050] Electronic signature technology is widely used in the signing of various electronic documents, especially in the electronic signing of legal documents such as contracts and agreements. Common electronic signature types include saddle stamps, coordinate stamps, and keyword stamps. Saddle stamps are typically used to sign documents across two pages, coordinate stamps are used to stamp specific locations in a document, and keyword stamps search for specific keywords within a document and automatically stamp them.

[0051] The current electronic signature system mainly relies on the back-end server to generate the signature image, and then sends the document page including the electronic signature to the front-end so that the front-end can process the generated electronic signature in the document page. Every time the user processes the electronic signature, he needs to wait for the back-end to generate and send the electronic signature image, resulting in the current electronic signature system having a slow response speed when processing electronic signatures.

[0052] Based on this, the embodiment of the present application provides an electronic signature processing method, which is applied to the front end of the electronic signature system. Figure 1 , Figure 1This is a flowchart of the first embodiment of the electronic signature processing method of this application. In this embodiment, the electronic signature processing method includes steps S10 to S30:

[0053] Step S10, in response to the signature processing instruction for the document to be processed, determining a corresponding initial signature image from the locally generated signature image template;

[0054] It should be noted that the signature processing instruction includes an instruction for the user to select a signature to be generated and to drag the generated signature.

[0055] It is understandable that when performing signature processing, if each signature operation requires a request to the back-end to generate the corresponding signature image, it will increase network latency and server load, resulting in a decline in user experience. However, through local cache or pre-generated signature templates, the front-end can directly call to achieve instant response, avoiding the freeze caused by waiting for the back-end to generate the image. Therefore, this embodiment selects a locally pre-generated and stored signature template to directly render the corresponding initial signature image into the document, thereby ensuring smooth operations such as user dragging and previewing. In addition, this embodiment can ensure that the style of the signature image used each time is consistent through local templates, avoiding subtle differences caused by dynamic generation, and complying with legal and corporate regulatory requirements.

[0056] In one embodiment, when generating a template locally, metadata such as signature type, generation time, and binding certificate ID can be carried so that when a quick audit is required later, the source and legitimacy of the signature can be traced through the metadata corresponding to the signature, without the need for a complex verification process, thereby improving the efficiency of signature verification.

[0057] Step S20, adjusting the display mode of the initial signature image in the corresponding document page of the document to be processed to obtain a target signature image;

[0058] It should be noted that the document to be processed is a document containing one or more document pages, the corresponding document page is the document page signed by the initial signature image, and the display method includes the position, size and rotation angle of the signature.

[0059] It is understandable that the use of electronic signatures needs to comply with relevant laws and regulations. For example, the signature must be clearly visible and cannot obscure key content. Different documents may have different requirements for data such as signature size and format. Therefore, the display method of the signature needs to be adjusted according to the corresponding requirements.

[0060] This embodiment generates the corresponding electronic signature image on the front-end, allowing users to adjust the signature's position and size through intuitive operations such as dragging, zooming, and scaling, without having to wait for the back-end to generate the image before making adjustments. This improves the responsiveness of the signature processing. Furthermore, after adjusting the display mode, users can immediately see the effect of the signature on the document, avoiding the need to discover positioning errors after submission and reducing repeated operations during the signature processing.

[0061] In one embodiment, this embodiment can also locally identify the content of each document page in the document to be processed, determine the document type of each document page, determine the electronic signature required for each document page based on the document type, and automatically generate the corresponding electronic signature when each document page requires an electronic signature, thereby eliminating the need to manually select different electronic signatures according to different document pages, thereby improving the efficiency of using electronic signatures.

[0062] Step S30 : sending the target signature image, the display mode and the document page to a backend, so that the backend completes processing of the electronic signature based on the target signature image, the display mode and the document page.

[0063] It is understandable that according to the relevant laws and regulations on electronic signatures, the generated electronic signature image needs to pass identity verification and data verification to have the corresponding legal effect. Therefore, after the electronic signature image is generated and adjusted at the front end, it is also necessary to send the adjusted electronic signature image to the back end to complete the above-mentioned digital verification. The specific signature processing process can be referred to Figure 2 .

[0064] In one embodiment, the embodiment can send the files with electronic signature images that have been uniformly adjusted by the front end to the back end, and process multiple electronic signatures in parallel through a high-performance back end server, thereby further improving the efficiency of electronic signature processing.

[0065] In a feasible implementation, the signature image template further includes a signature size. A specific implementation of determining a corresponding initial signature image from a locally generated signature image template in response to a signature processing instruction for a document to be processed may also include:

[0066] In response to the user's selection operation for the signature type, the signature type of the preset signature image is determined; in response to the user's adjustment operation for the signature size, the signature size of the preset signature image is determined; in response to the user's save operation for the preset signature image, the preset signature image is saved to a local signature image template.

[0067] It should be noted that the signature types include interleaving seals, keyword seals, coordinate seals, etc. The preset signature image is a signature image generated by manual setting and adjustment before the signature image template is saved.

[0068] It is understandable that different types of signatures have different usage scenarios. When using electronic signatures, different electronic signatures need to be used for different document pages. However, existing electronic signature systems usually only support a single type of signature and cannot support multiple signature types in the same system at the same time, so that when users use the electronic signature system, they need to switch different systems or tools to complete different types of signature operations. Therefore, this embodiment generates a corresponding electronic signature in response to the settings of the signature type and size of the electronic signature template, and saves the corresponding electronic signature as a template, so that when the corresponding signature needs to be used, the corresponding electronic signature template can be directly called without switching systems or repeatedly configuring signatures, thereby improving the efficiency of electronic signature processing.

[0069] In one embodiment, when saving the signature image template, this embodiment also records the metadata corresponding to the template, the template creator and the creation time, embeds a digital watermark and hash value, and binds a digital certificate, thereby improving the security of the electronic signature and tracing it through the recorded metadata to meet the needs of rapid auditing.

[0070] In summary, this embodiment responds to the signature processing instruction of the document to be processed, determines the corresponding initial signature image from the locally generated signature image template, adjusts the display mode of the initial signature image in the corresponding document page of the document to be processed, obtains the target signature image, and sends the target signature image, the display mode and the document page to the back end, so that the back end can complete the processing of the electronic signature based on the target signature image, the display mode and the document page.

[0071] This embodiment first determines the initial signature image from the preset signature images stored locally, processes the initial signature image at the front end, and adjusts the display mode of the initial signature image in the document page accordingly, and then sends the adjusted initial signature image and the document page to the back end to complete the processing of the electronic signature. Compared with the current method of first generating an electronic signature in the document page through the back end, and then sending the document page including the electronic signature to the front end, the electronic signature processing is performed at the front end. This application first performs the processing operation of the electronic signature, and then sends the relevant information to the back end to complete the processing, so there is no need to wait for the back end to generate and send the electronic signature image, which improves the response speed when performing electronic signature processing.

[0072] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above embodiment 1 can be referred to the above introduction and will not be described in detail later. Figure 3 , step S20, the electronic signature processing method further includes steps S21 to S22:

[0073] Step S21, in response to a signature dragging operation by the user, moving the initial signature image to a position corresponding to the signature dragging operation;

[0074] It is understandable that different types of seals and different types of documents require different electronic signature placements. For example, handwritten seals need to be signed at the signature area of ​​a document page, interleaved seals need to be signed at the edge of a document page, and most seals cannot obscure the document content when in use. Therefore, in response to the user's signature drag operation, this embodiment moves the initial signature image to the position corresponding to the signature drag operation, thereby allowing the front-end to adjust the electronic signature on the page to meet the need for electronic signature position adjustment.

[0075] Step S22: Based on the signature type, adjust the display mode of the initial signature image in the document page to obtain the target signature image.

[0076] It is understandable that different types of signatures have different usage requirements. Simply adjusting the position of the signature cannot meet the corresponding usage requirements. For example, a handwritten signature stamp must retain personal handwriting characteristics to ensure authenticity and uniqueness, and a saddle stamp must cover the edge of the document across pages to prevent tampering.

[0077] After manually adjusting the position, the adjusted position may not be the appropriate position for the electronic signature. Therefore, after adjusting the signature position based on the drag operation, this embodiment automatically calculates the optimal signature position based on the document content and the current signature position, and adjusts the size of the signature image based on the proportion of the document page or the size of the designated area, ensuring that the signature is clearly visible without affecting the overall layout of the document. Moreover, because this embodiment automatically adjusts the signature display method based on the signature type, it meets the functional requirements of different types of signatures and improves the flexibility and adaptability of signatures. This allows users to only determine the approximate signature position when adjusting the signature method, thereby improving the efficiency of signature adjustment.

[0078] In a feasible implementation, the signature type includes a saddle stamp, the to-be-processed document includes document page information, the document page information includes the number of document pages, the document page structure, and the document page coordinates, and the implementation of adjusting the display mode of the initial signature image on the document page based on the signature type to obtain the target signature image may also be:

[0079] If the signature type is a saddle seal, the display mode of the saddle seal is adjusted based on the number of document pages, the document page structure and the document page coordinates to obtain a target saddle seal, wherein the display width of the target saddle seal in each document page is equal and does not overlap with the page content of each document page.

[0080] It should be noted that the document page coordinates are the coordinates corresponding to the contents of each document page after the corresponding coordinate system is established, with the upper left corner of the initial document page as the origin.

[0081] Understandably, one of the primary functions of a saddle stamp is to create a single, spanning mark on a multi-page document, ensuring that the pages are signed as a whole. If a saddle stamp fails to properly cover each page or its width is inconsistent, its function as proof of document integrity may be compromised.

[0082] Documents with different numbers of pages and different contents require different ways of signing their interline seals. Therefore, it is necessary to adjust the display mode of the interline seal based on the number of document pages, the document page structure, and the document page coordinates, automatically adapt to various document formats and layouts, and achieve the best display effect without manual intervention, thereby improving the efficiency and effectiveness of interline seal signing.

[0083] In one embodiment, the size of the interleaving seal is adjusted based on the number of document pages so that the adjusted interleaving seal can be displayed with equal width on each document page. When the interleaving seal is signed, if the width of the interleaving seal on the document page exceeds a preset width threshold, the subsequent interleaving seal is signed to the next document page of the document.

[0084] Furthermore, this embodiment can effectively prevent the document from being tampered with by placing a saddle stamp of the same width on each page, so that a tamperer cannot tamper with the document by replacing or removing one of the pages in the document, thereby improving the security of the document.

[0085] In one embodiment, if the signature type is a keyword seal, the target signing location where the signature needs to be signed will be determined based on the document structure, document content and keywords, the keyword seal will be signed to the target signing location, and the display method of the keyword seal will be adjusted based on the document structure, so that the pages containing keywords in the document can be signed quickly, thereby improving the efficiency of using the keyword seal.

[0086] In summary, this embodiment responds to the user's signature dragging operation by moving the initial signature image to the position corresponding to the signature dragging operation, and adjusts the display mode of the initial signature image on the document page based on the signature type to obtain the target signature image.

[0087] Different types of signatures and different types of documents require different electronic signature positions. Therefore, this embodiment adjusts the signature position in response to a drag operation, allowing for preliminary adjustments to the signature position. Furthermore, even after manual position adjustments, the resulting position may not be the appropriate electronic signature position. Adjusting the size of the signature image based on the document page ratio or the size of the designated area improves the effectiveness of the signature. Furthermore, since further adjustments are automatically made after manual adjustments, this embodiment also improves the efficiency of signature adjustments.

[0088] Based on this, the embodiment of the present application provides an electronic signature processing method, which is applied to the electronic signature system. Figure 4 , Figure 4 This is a flowchart of the third embodiment of the electronic signature processing method of this application. In this embodiment, the electronic signature processing method includes steps A10 to A30:

[0089] Step A10: receiving the target signature image, display mode, and document page sent by the front end;

[0090] It's understandable that after the front-end modifies the display mode of the electronic signature image, the electronic signature image with the corresponding display mode to be signed has already been determined on the corresponding document page. Therefore, corresponding processing is required on the back-end to transform the electronic signature image generated by the front-end into the corresponding legally binding electronic signature. Therefore, it is necessary to receive the target signature image, display mode, and document page sent by the front-end to complete the processing of the electronic signature.

[0091] Step A20: Generate a digital signature based on the target seal image, the display mode, and the document page;

[0092] Understandably, electronic signature images require digital verification and authentication before processing. The target signature image is the final representation of the signature, and its content and style must be incorporated into the signature generation process to ensure the signature itself has not been forged or replaced. The display method defines how the signature is embedded in the document and must be protected to prevent tampering with the signature's display. Document page signatures are ultimately signed into the document page, so the document page itself must also be used for digital signature generation.

[0093] This embodiment generates a digital signature based on the received target signature image, the display mode and the document page, thereby verifying the authenticity of the signature and establishing an association between the signature and the document, so that the current signature is only applied to the current document, thereby improving the security and credibility of the electronic signature system.

[0094] In a feasible implementation manner, the display mode includes the signature image position of the target signature image. The specific implementation manner of generating the signature digital signature based on the target signature image, the display mode, and the document page may also be:

[0095] The target signature image is embedded into the target signature position of the document page to obtain the target document page, a signature key is generated based on a preset encryption algorithm, and the target document page and the target signature position are encrypted based on the signature key to obtain the signature digital signature.

[0096] It is understandable that the target signature image is not associated with the document page after being generated by the front-end. That is, the target signature image may have been applied to other document pages before being embedded. Therefore, this embodiment first embeds the target signature image into the target signature position on the document page, ensuring that the actual display method and actual signing position of the target signature image are consistent with the front-end. It also prevents the target signature image from being copied or transferred to other document pages, thereby improving the security and credibility of the electronic signature system.

[0097] After embedding the electronic signature, to ensure that the embedded electronic signature cannot be tampered with, the document page with the embedded electronic signature needs to be encrypted. Encryption can prevent the corresponding document page from being tampered with and also implement identity authentication, so that only users with legitimate keys can generate valid digital signatures.

[0098] In one embodiment, the step of encrypting the target document page and the target signature position based on the signature key to obtain the signature digital signature includes:

[0099] Based on a preset generation algorithm, a target hash value corresponding to the document content in the target document page is calculated, and the target hash value and the target signature position are encrypted based on a preset private key to obtain the signature digital signature.

[0100] By encrypting the target signature location and target hash value, the document content and the location of the electronic signature can be prevented from being tampered with, thereby improving the security of the electronic signature.

[0101] In one embodiment, after encrypting the target document page and the target signature position based on the signature key to obtain the signature digital signature, the method further includes:

[0102] In response to a document verification instruction, the digital signature is decrypted using the public key corresponding to the encrypted private key to obtain a target hash value and a target signature position; the document page content and the document signature position of the document to be verified are obtained, and the verification hash value corresponding to the document page content is recalculated; the target hash value and the target signature position are compared with the verification hash value and the document signature position respectively to verify the electronically signed document.

[0103] This embodiment performs double verification based on the hash value corresponding to the document content and the signature location. The corresponding document is verified only when both the hash value and the signature location are verified, thereby further improving the security of the electronic signature system.

[0104] Step A30: embed the digital signature into the document page to complete the processing of the electronic signature.

[0105] As you can understand, a digital signature is an encrypted summary of the target signature image, display method, and document page content, used to verify the authenticity of the signature and the integrity of the document. Therefore, digital signatures can be embedded in document pages, tightly binding them to the document content and improving system reliability.

[0106] In summary, this embodiment embeds the target signature image into the target signature position of the document page to obtain the target document page, generates a signature key based on a preset encryption algorithm, and encrypts the target document page and the target signature position based on the signature key to obtain the signature digital signature.

[0107] After the front end determines the display mode of the electronic signature image, this embodiment receives the relevant information sent by the front end to generate a corresponding digital signature, embeds the corresponding digital signature into the document page, thereby performing digital verification and identity authentication of the electronic signature, and binding the corresponding digital signature to the document content, thereby improving the security and reliability of the electronic signature system.

[0108] It should be noted that the above examples are only used to understand this application and do not constitute a limitation on the electronic signature processing method of this application. More simple transformations based on this technical concept are all within the scope of protection of this application.

[0109] This application also provides an electronic signature processing device, please refer to Figure 5 , the electronic signature processing device includes:

[0110] An image generation module 10 is configured to determine a corresponding initial signature image from a locally generated signature image template in response to a signature processing instruction for a document to be processed;

[0111] A display adjustment module 20 is used to adjust the display mode of the initial signature image in the corresponding document page of the document to be processed to obtain a target signature image;

[0112] The information sending module 30 is used to send the target signature image, the display mode and the document page to the backend, so that the backend can complete the processing of the electronic signature based on the target signature image, the display mode and the document page.

[0113] In one embodiment, the display adjustment module further includes:

[0114] a position adjustment submodule, configured to move the initial signature image to a position corresponding to the signature dragging operation in response to the user's signature dragging operation;

[0115] The display adjustment submodule is configured to adjust the display mode of the initial signature image on the document page based on the signature type to obtain the target signature image.

[0116] In one embodiment, the display adjustment submodule includes:

[0117] The interleaving seal adjustment unit is used to adjust the display mode of the interleaving seal based on the number of document pages, the document page structure and the document page coordinates if the signature type is an interleaving seal, so as to obtain a target interleaving seal, wherein the display width of the target interleaving seal in each document page is equal and does not overlap with the page content of each document page.

[0118] In one embodiment, the electronic signature processing apparatus further includes:

[0119] a type determination module, configured to determine the signature type of the preset signature image in response to a user's selection operation of the signature type;

[0120] a size determination module, configured to determine the signature size of the preset signature image in response to a user's operation of adjusting the signature size;

[0121] The template saving module is configured to save the preset signature image into a local signature image template in response to a user's saving operation on the preset signature image.

[0122] In one embodiment, the electronic signature processing apparatus further includes:

[0123] The information receiving module is used to receive the target signature image, display mode and document page sent by the front end;

[0124] A signature generation module, configured to generate a digital signature based on the target seal image, the display mode, and the document page;

[0125] The signature embedding module is used to embed the seal digital signature into the document page to complete the processing of the electronic signature.

[0126] In one embodiment, the signature generation module further includes:

[0127] A signature embedding module, configured to embed the target signature image into the target signature position of the document page to obtain a target document page;

[0128] A key generation module, used to generate a signature key based on a preset encryption algorithm;

[0129] The information encryption module is used to encrypt the target document page and the target signature position based on the signature key to obtain the signature digital signature.

[0130] The electronic signature processing device provided in this application, which utilizes the electronic signature processing method described in the aforementioned embodiments, can address the technical issue of slow response speeds in current electronic signature systems when processing electronic signatures. Compared to the prior art, the electronic signature processing device provided in this application offers the same beneficial effects as the electronic signature processing method described in the aforementioned embodiments. Other technical features of the electronic signature processing device are the same as those disclosed in the aforementioned embodiments and are not further detailed here.

[0131] The present application provides an electronic signature processing device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the electronic signature processing method in the above-mentioned embodiment one.

[0132] Reference below Figure 6 , which shows a schematic diagram of the structure of an electronic signature processing device suitable for implementing the embodiments of the present application. The electronic signature processing device in the embodiments of the present application may include, but is not limited to, mobile terminals such as mobile phones, tablet computers, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PMPs (Portable Media Players), in-vehicle terminals (such as in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 6 The electronic signature processing device shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.

[0133] like Figure 6As shown, the electronic signature processing device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 1002 or programs loaded from a storage device 1003 into a random access memory (RAM) 1004. RAM 1004 also stores various programs and data required for the operation of the electronic signature processing device. Processing device 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input device 1007, such as a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output device 1008, such as a liquid crystal display (LCD), speaker, vibrator, etc.; storage device 1003, such as a magnetic tape, hard disk, etc.; and communication device 1009. The communication device 1009 can allow the electronic signature processing device to communicate with other devices wirelessly or wired to exchange data. Although the figure shows an electronic signature processing device with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems can be implemented or provided instead.

[0134] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0135] The electronic signature processing device provided in this application, utilizing the electronic signature processing method described in the aforementioned embodiment, can resolve the technical issue of the slow response speed of current electronic signature systems when processing electronic signatures. Compared to the prior art, the beneficial effects of the electronic signature processing device provided in this application are the same as those of the electronic signature processing method described in the aforementioned embodiment. Other technical features of the electronic signature processing device are the same as those disclosed in the aforementioned embodiment and are not further elaborated here.

[0136] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0137] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

[0138] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer program) stored thereon, and the computer-readable program instructions are used to execute the electronic signature processing method in the above embodiment.

[0139] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0140] The computer-readable storage medium may be included in the electronic signature processing device; or it may exist independently without being assembled into the electronic signature processing device.

[0141] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the electronic signature processing device, the electronic signature processing device is enabled to execute the electronic signature processing method.

[0142] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0143] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to the various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the prescribed logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the prescribed function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0144] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0145] The computer-readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described electronic signature processing method. This computer-readable storage medium can address the technical issue of the slow response speed of current electronic signature systems when processing electronic signatures. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the electronic signature processing method provided in the above-described embodiments, and are not further elaborated here.

[0146] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for processing an electronic signature, characterized in that: Applied to the front end of an electronic signature system, the method includes: In response to a signature processing instruction for a document to be processed, determining a corresponding initial signature image from a locally generated signature image template; Adjusting the display mode of the initial signature image in the corresponding document page of the document to be processed to obtain a target signature image; The target signature image, the display mode and the document page are sent to a backend, so that the backend completes processing of the electronic signature based on the target signature image, the display mode and the document page.

2. The method according to claim 1, wherein The signature image template includes a signature type, and the step of adjusting the display mode of the initial signature image in the corresponding document page of the to-be-processed document to obtain the target signature image includes: In response to a signature dragging operation by the user, moving the initial signature image to a position corresponding to the signature dragging operation; Based on the signature type, the display mode of the initial signature image on the document page is adjusted to obtain the target signature image.

3. The method according to claim 2, wherein The signature type includes a saddle seal, the document to be processed includes document page information, the document page information includes the number of document pages, the document page structure, and the document page coordinates, and the step of adjusting the display mode of the initial signature image on the document page based on the signature type to obtain the target signature image includes: If the signature type is a saddle seal, the display mode of the saddle seal is adjusted based on the number of document pages, the document page structure and the document page coordinates to obtain a target saddle seal, wherein the display width of the target saddle seal in each document page is equal and does not overlap with the page content of each document page.

4. The method according to claim 2, wherein The signature image template also includes a signature size. Before the step of determining a corresponding initial signature image from a locally generated signature image template in response to a signature processing instruction for a document to be processed, the method further includes: In response to a user's selection operation of the signature type, determining the signature type of the preset signature image; In response to a user's operation of adjusting the signature size, determining the signature size of the preset signature image; In response to a user's save operation on the preset signature image, the preset signature image is saved in a local signature image template.

5. A method for processing an electronic signature, characterized in that: Applied to the back-end of the electronic signature system, the method includes: Receive the target signature image, display mode and document page sent by the front end; Generate a digital signature based on the target seal image, the display mode and the document page; The digital signature is embedded into the document page to complete the processing of the electronic signature.

6. The method according to claim 5, wherein The display mode includes a signature image position of the target signature image, and the step of generating a signature digital signature based on the target signature image, the display mode, and the document page includes: Embedding the target signature image into the target signature position of the document page to obtain a target document page; Generate a signature key based on the preset encryption algorithm; Based on the signature key, the target document page and the target signature position are encrypted to obtain the signature digital signature.

7. An electronic signature processing system, characterized in that: The system includes: a front end and a back end The front end is configured to, in response to a signature processing instruction for a document to be processed, determine a corresponding initial signature image from a locally generated signature image template, adjust a display mode of the initial signature image on a corresponding document page of the document to be processed, obtain a target signature image, and send the target signature image, the display mode, and the document page to the back end, so that the back end completes processing of the electronic signature based on the target signature image, the display mode, and the document page; The back end is used to receive the target signature image, display mode and document page sent by the front end, generate a signature digital signature based on the target signature image, the display mode and the document page, and embed the signature digital signature into the document page to complete the processing of the electronic signature.

8. An electronic signature processing device, characterized in that: The device comprises: An image generation module, configured to determine a corresponding initial signature image from a locally generated signature image template in response to a signature processing instruction for a document to be processed; A display adjustment module, configured to adjust the display mode of the initial signature image in the corresponding document page of the document to be processed, to obtain a target signature image; The information sending module is used to send the target signature image, the display mode and the document page to the back end, so that the back end can complete the processing of the electronic signature based on the target signature image, the display mode and the document page.

9. An electronic signature processing device, characterized in that: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the electronic signature processing method according to any one of claims 1 to 6.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the electronic signature processing method according to any one of claims 1 to 6 are implemented.