An electronic signature management method and system based on a unified service platform

By storing and managing electronic signature images and encrypted private keys on a unified service platform, and performing data segmentation and random generation of private keys based on the status of the signature server, the processing capacity and security of the electronic signature system under large concurrency are solved. sexual issues, achieving efficient and secure electronic signature signing tasks.

CN118611994BActive Publication Date: 2024-10-22SICHUAN CPT INFORMATION TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411082961.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-10-22
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

The existing electronic signature system lacks processing power and stability in large concurrency scenarios, and the encryption private key is exposed in the network environment, resulting in low security, resulting in a contradiction between convenience and security.

Method used

By storing electronic signature images and encrypted private keys on a unified service platform, and performing data block transmission and random generation of encrypted private keys based on the status information of the signature server, combined with the processing time of the file signing server and digital signature server, it improves System stability and efficiency while considering state information in encryption private key selection to improve security.

Benefits of technology

It improves the processing stability and efficiency of the electronic signature system under large concurrency, and reduces the system computing load and the fixity of the private key by randomly selecting the encryption private key, thereby enhancing security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611994B_ABST
    Figure CN118611994B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and discloses an electronic signature management method and system based on a unified service platform. By adding a unified service platform with a service gateway between an electronic signature system and several application systems, the sender stores the electronic signature image and an encryption private key set on the unified service platform, and then the unified service platform transmits the data of a document to be signed in blocks and randomly generates an encryption private key according to the status information of a signature server in the electronic signature system, thereby improving the data processing stability and system processing efficiency, and having high security. In addition, by considering the status information of a digital signature server in an encryption private key selection strategy, the encryption private key of each text data block is selected in the encryption private key set with randomness, while the selection of a fixed private key in the non-encryption private key set does not require the introduction of other random encryption algorithms, thereby reducing the system computing load while improving the security of the private key.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to an electronic signature management method and system based on a unified service platform. Background Art

[0002] The electronic signature system is a form of digital signature. It uses image processing technology to transform the digital signature operation into the same visual effect as the paper document stamping operation. At the same time, it uses digital signature technology to ensure the authenticity and integrity of electronic information and the non-repudiation of the signer. In the electronic signature system, the sender of the message will generate a hash value or summary from the message text and encrypt it with its own private key to form the sender's digital signature. This signature will be sent to the receiver together with the message as an attachment. After receiving the message, the receiver will recalculate the hash value or summary of the message and use the sender's public key to decrypt the attached digital signature to verify the validity of the electronic signature.

[0003] In actual use, the application system at the user end is usually directly connected to the electronic signature system. By storing the electronic signature image and encrypted private key in the electronic signature system, the user uses the electronic signature system to sign the document to be signed and generate a digital signature. However, the existing electronic signature system usually has the following defects: First, the electronic signature system usually has several signature servers. In the scenario of large concurrent electronic signature tasks, different signature servers have different memory occupancy rates, processor utilization rates and hardware configurations, and different electronic signature tasks have different sizes and different signature tasks. The signature server has different processing capabilities, efficiency and stability when processing multiple electronic signature tasks in parallel. If a fixed combination of the application system and the signature server is adopted, the electronic signature task issued by the application system does not take into account the specific status of the signature server, and there will be problems such as low stability during the execution of the electronic signature task, resulting in signing failure or long waiting time for signing, affecting the user experience. Secondly, the user's encrypted private key and electronic signature are stored in the electronic signature system. Although this improves the convenience of executing electronic signature tasks, the electronic signature image and encrypted private key are completely exposed to the network environment, and the encrypted private key has a replacement cycle and is fixed within a certain time range, making the security of electronic signature task execution not high, resulting in a constant contradiction between the convenience and security of electronic signature tasks.

[0004] Therefore, how to improve the processing capability, efficiency and stability of the electronic signature system in the face of a large number of concurrent electronic signature signing tasks, as well as balancing the contradiction between the convenience and security of electronic signature signing tasks, is a technical problem that needs to be solved urgently. Summary of the invention

[0005] The main purpose of the present invention is to provide an electronic signature management method and system based on a unified service platform, aiming to solve at least one of the above-mentioned technical problems existing in the current electronic signature system.

[0006] To achieve the above-mentioned purpose, the present invention provides an electronic signature management method based on a unified service platform, which is used for a service gateway of the unified service platform. The unified service platform is configured to connect an electronic signature system and several application systems. The method comprises:

[0007] Acquire a signature data packet of the target application system, extract a plurality of signature-related information stored in the signature data packet, and store the plurality of signature-related information; wherein each of the signature-related information includes an electronic signature image and an encrypted private key set having a mapping relationship;

[0008] Upon receiving a target signing request transmitted by a target application system, extracting the file to be signed and the signing association information in the target signing request;

[0009] Acquire the status information of each signature server in the electronic signature system, and determine the signature server set and the file signing strategy based on the status information and the signing association information; wherein the signature server set includes a target file signing server and a plurality of target digital signature servers;

[0010] Using the document to be signed, traverse the signature data packet of the target application system, and extract the electronic signature image and the encryption private key set associated with the document to be signed from the signature data packet;

[0011] Based on the file signing strategy, the file to be signed and the associated electronic signature image and encrypted private key set are sent to the signature server set, so that the target file signing server and the target digital signature servers respectively generate the signing file and verification information of the target signing request.

[0012] Optionally, the signing association information includes a file type identifier and a file size; when receiving a target signing request transmitted by a target application system, extracting the file to be signed and the signing association information in the target signing request specifically includes:

[0013] Upon receiving a target signing request transmitted by a target application system, extracting a file to be signed in the target signing request and an associated tag attached to the file to be signed;

[0014] The file type identifier of the file to be signed recorded in the association tag is extracted, the file size of the file to be signed on the unified service platform is identified, and the file type identifier and the file size are used as file association information of the target signing request.

[0015] Optionally, the step of obtaining status information of each signature server in the electronic signature system and determining a signature server set and a file signing strategy based on the status information and the signing association information specifically includes:

[0016] Acquire status information of each signature server in the electronic signature system; wherein the status information includes the memory occupancy rate of the file signing server and the processor utilization rate of the digital signature server;

[0017] Determine a target file signing server and a plurality of target digital signature servers from a plurality of file signing servers based on the signing association information and the memory occupancy rate of each file signing server and the processor utilization rate of the digital signature server in the electronic signature system;

[0018] A signature server set is constructed by using the one target file signing server and the plurality of file signing servers, and a file signing strategy is generated according to the file type identifier in the signing association information and the status information of the plurality of target digital signature servers.

[0019] Optionally, based on the signing association information and the memory occupancy rate of each file signing server and the processor utilization rate of the digital signature server in the electronic signature system, a step of determining a target file signing server and a plurality of target digital signature servers from a plurality of file signing servers specifically includes:

[0020] Selecting a plurality of candidate file signing servers from the plurality of file signing servers based on the file size in the signing association information and the memory occupancy rate of each file signing server;

[0021] Based on the processor utilization rate of each digital signature server in the electronic signature system, a plurality of target digital signature servers are selected from the plurality of digital signature servers, data blocks are divided into blocks for the document to be signed, and the obtained plurality of file block data are distributed to the plurality of target digital signature servers;

[0022] A target file signing server is determined from a number of candidate file signing servers according to the processing time consumed by the target digital signature server to process each file block data.

[0023] Optionally, based on the file size in the signing association information and the memory occupancy rate of each file signing server, a step of selecting a plurality of candidate file signing servers from a plurality of file signing servers specifically includes:

[0024] Based on the file size in the signing association information, estimate the memory usage information of the file to be signed;

[0025] The memory occupancy information is summed with the memory occupancy rate of each file signing server to obtain a list of file signing servers sorted from low to high according to the memory occupancy rate;

[0026] All file signing servers in the file signing server list whose memory occupancy rates are lower than the high-load memory threshold are used as candidate file signing servers.

[0027] Optionally, based on the processor utilization of each digital signature server in the electronic signature system, a plurality of target digital signature servers are selected from the plurality of digital signature servers, data blocks are divided into blocks for the document to be signed, and the obtained plurality of file block data are distributed to the plurality of target digital signature servers, specifically including:

[0028] Arrange all digital signature servers in the electronic signature system in order of processor utilization from low to high to obtain a digital signature server list;

[0029] Extracting all digital signature servers in the digital signature server list whose processor utilization is lower than the high-load processing threshold as target digital signature servers;

[0030] According to the number of target digital signature servers, the file to be signed is divided into data blocks, and the obtained file block data is distributed to several target digital signature servers.

[0031] Optionally, according to the time consumption of the target digital signature server for processing each file block data, a step of determining a target file signing server from a plurality of candidate file signing servers specifically includes:

[0032] According to the data volume of each file block data and the processor utilization rate of the target digital signature server processing the file block data, estimating the first processing time consumed by each target digital signature server to process the corresponding file block data, and constructing a block data processing time consumption set;

[0033] Using the file type identifier, access the file type database, and match the number of signatures of the to-be-signed file corresponding to the file type identifier stored in the file type database;

[0034] According to the number of signatures of the to-be-signed file and the hardware configuration information of each candidate file signing server, the second processing time consumption of each candidate file signing server for signing the to-be-signed file is estimated, and a signature signing processing time consumption set is constructed;

[0035] The smallest block data processing time consumption parameter in the block data processing time consumption set is extracted, and the file signing server corresponding to the signature processing time consumption closest to the smallest block data processing time consumption parameter in the signature processing time consumption set is used as the target file signing server.

[0036] Optionally, the step of generating a file signing strategy according to the file type identifier in the signing association information and the status information of several target digital signature servers specifically includes:

[0037] Using the file type identifier, accessing the file type database, matching the signature position of the file to be signed corresponding to the file type identifier stored in the file type database, and generating a signature policy for the file to be signed according to the signature position of the file to be signed;

[0038] The sorting number of each target digital signature server when the processor utilization rates of the target digital signature servers are sorted from low to high is extracted, and a digital signature policy for the file to be signed is generated according to the sorting number.

[0039] Optionally, based on the file signing strategy, the to-be-signed file and the associated electronic signature image and encrypted private key set are sent to the signature server set, so that the target file signing server and the target digital signature servers respectively generate the signature file and verification information of the target signing request, specifically including:

[0040] Based on the signature signing strategy, the document to be signed and the associated electronic signature image are sent to the target document signing server, so that the target document signing server signs the electronic signature image to the signature position of the document to be signed, and generates a signed document of the target signing request;

[0041] Based on the digital signature strategy, the file to be signed is divided into data blocks according to the number of sorting numbers, and the divided file block data is sent to the corresponding target digital signature server respectively. According to the sorting number of each target digital signature server, a query is performed in the encryption private key set associated with the file to be signed to obtain the encryption private key of each file block data;

[0042] Sending the encrypted private key to the corresponding target digital signature server, so that the target file signing server generates a digital signature of the file block data using the received file block data and the encrypted private key, and uses the digital signature and the sequence number of each file block data as verification information of the target signing request;

[0043] The verification information is sent to the recipient together with the signed document through the electronic signature system, and the sequence number in the verification information is used by the recipient to obtain the encrypted public key of each digital signature of the target signing request according to the encrypted public key set provided by the application system at the certificate authority;

[0044] The encrypted public key is configured to generate a first hash value for each file block data with each corresponding digital signature, and the first hash value and a second hash value generated by performing a hash operation on the received signed file are used by the recipient to verify the signed file.

[0045] In addition, in order to achieve the above-mentioned purpose, the present invention also provides an electronic signature management system based on a unified service platform, the system comprising:

[0046] An acquisition module, used to acquire a signature data packet of a target application system, extract a plurality of signature-related information stored in the signature data packet, and store the plurality of signature-related information; wherein each of the signature-related information includes an electronic signature image and an encrypted private key set having a mapping relationship;

[0047] An extraction module, configured to extract the file to be signed and the signing-related information in the target signing request when receiving the target signing request transmitted by the target application system;

[0048] A determination module, used to obtain the status information of each signature server in the electronic signature system, and determine the signature server set and the file signing strategy based on the status information and the signing association information; wherein the signature server set includes a target file signing server and a plurality of target digital signature servers;

[0049] A traversal module, used to traverse the signature data packet of the target application system using the file to be signed, and extract the electronic signature image and the encrypted private key set associated with the file to be signed from the signature data packet;

[0050] The sending module is used to send the document to be signed and the associated electronic signature image and encrypted private key set to the signature server set based on the document signing strategy, so that the target document signing server and the several target digital signature servers respectively generate the signing document and verification information of the target signing request.

[0051] The beneficial effects of the present invention are as follows: a method and system for managing electronic signatures based on a unified service platform are proposed. By adding a unified service platform with a service gateway between the electronic signature system and several application systems, the application system where the recipient is located stores the electronic signature image and the encryption private key set on the unified service platform. Then, the unified service platform transmits the data of the document to be signed in blocks and generates the encryption private key randomly according to the status information of the signature server in the electronic signature system. On the one hand, by introducing the status of the signature server and considering the processing time of the file signing server and the digital signature server, the data processing stability and system processing efficiency are improved. On the other hand, On the one hand, by setting the electronic signature image and the encryption private key set on a more controllable unified service platform, only the encryption private key selected by random query is sent when executing each signing task of the document to be signed, which has higher security; in addition, by considering the status information of the digital signature server in the encryption private key selection strategy, the encryption private key for each text data block is selected in the encryption private key set with randomness, rather than the selection of fixed private keys in the encryption private key set. There is no need to introduce other random encryption algorithms, which improves the security of the private key while reducing the system computing load, and makes the random selection of the encryption private key have the characteristics of traceability and verification that other random encryption algorithms do not have. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A schematic diagram of the process of an electronic signature management method based on a unified service platform in an embodiment;

[0053] Figure 2 It is a structural block diagram of the electronic signature management system based on the unified service platform in the embodiment.

[0054] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0056] The embodiment of the present invention provides an electronic signature management method based on a unified service platform. Figure 1 , Figure 1 It is a flowchart of an embodiment of the electronic signature management method based on a unified service platform of the present invention.

[0057] In this embodiment, the electronic signature management method based on the unified service platform includes the following steps:

[0058] S100: Acquire a signature data packet of a target application system, extract a plurality of signature-related information stored in the signature data packet, and store the plurality of signature-related information; wherein each of the signature-related information includes an electronic signature image and an encrypted private key set having a mapping relationship;

[0059] S200: upon receiving a target signing request transmitted by a target application system, extracting the file to be signed and the signing association information in the target signing request;

[0060] S300: Acquire status information of each signature server in the electronic signature system, and determine a signature server set and a file signing strategy based on the status information and the signing association information; wherein the signature server set includes a target file signing server and a plurality of target digital signature servers;

[0061] S400: using the file to be signed, traversing the signature data packet of the target application system, and extracting the electronic signature image and the encryption private key set associated with the file to be signed from the signature data packet;

[0062] S500: Based on the file signing strategy, the file to be signed and the associated electronic signature image and encrypted private key set are sent to the signature server set, so that the target file signing server and the target digital signature servers respectively generate the signing file and verification information of the target signing request.

[0063] It should be noted that the existing electronic signature system usually has the following defects: First, the electronic signature system usually has several signature servers. In the scenario of large concurrent electronic signature tasks, different signature servers have different memory occupancy rates, processor utilization rates and hardware configurations, and different electronic signature tasks have different sizes and different signature tasks to be signed. The signature server has different processing capabilities, efficiency and stability when processing multiple electronic signature tasks in parallel. If a fixed combination of application system and signature server is adopted, the electronic signature task issued by the application system does not consider the specific status of the signature server, and there will be problems such as low stability during the execution of the electronic signature task, resulting in signing failure or long waiting time for signing, affecting user experience. Second, the user's encrypted private key and electronic signature are stored in the electronic signature system. Although the convenience of executing the electronic signature task is improved, the electronic signature image and encrypted private key are completely exposed to the network environment, and the encrypted private key has a replacement cycle and is fixed within a certain time range, which makes the security of the electronic signature task execution not high, resulting in a constant contradiction between the convenience and security of the electronic signature task.

[0064] In order to solve the above problems, this embodiment adds a unified service platform with a service gateway between the electronic signature system and several application systems. The application system where the recipient is located stores the electronic signature image and the encryption private key set on the unified service platform, and then the unified service platform transmits the data of the document to be signed in blocks and generates the encryption private key randomly according to the status information of the signature server in the electronic signature system. On the one hand, by introducing the status of the signature server, the processing time of the file signing server and the digital signature server is considered, and the data processing stability and system processing efficiency are improved. On the other hand, by setting the electronic signature image and the encryption private key set on a more controllable unified service platform, only the encryption private key selected by random query is sent when executing each signing task of the document to be signed, which has higher security. In addition, by considering the status information of the digital signature server in the encryption private key selection strategy, the encryption private key of each text data block is selected in the encryption private key set with randomness, rather than the selection of fixed private keys in the encryption private key set, there is no need to introduce other random encryption algorithms, while improving the security of the private key, reducing the system computing load, and making the random selection of the encryption private key have the characteristics of traceability and verification that other random encryption algorithms do not have.

[0065] In a preferred embodiment, the signing association information includes a file type identifier and a file size; when receiving a target signing request transmitted by a target application system, extracting the file to be signed and the signing association information in the target signing request specifically includes:

[0066] S210: upon receiving a target signing request transmitted by a target application system, extracting a file to be signed in the target signing request and an associated tag attached to the file to be signed;

[0067] S220: Extract the file type identifier of the file to be signed recorded in the association tag, identify the file size of the file to be signed on the unified service platform, and use the file type identifier and the file size as file association information of the target signing request.

[0068] In this embodiment, after obtaining the electronic signature image and the encrypted private key set with a mapping relationship in the signature data packet of the target application system and storing them in the service gateway, if a target signing request transmitted by the target application system is received, the file to be signed in the target signing request is extracted, and the file type identifier and file size of the file to be signed are obtained. The file to be signed is used to be sent to the electronic signature system through the service gateway for electronic signature signing and digital signature generation; the file type identifier of the file to be signed is used to consider the number of signatures and the location of the signatures of the file to be signed, and the file size of the file to be signed is used to consider the selection of the file signing server, providing data support for generating the file signing strategy.

[0069] In a preferred embodiment, the steps of obtaining the status information of each signature server in the electronic signature system and determining the signature server set and the file signing strategy based on the status information and the signing association information specifically include:

[0070] S310: Acquire status information of each signature server in the electronic signature system; wherein the status information includes the memory occupancy rate of the file signing server and the processor utilization rate of the digital signature server;

[0071] S320: determining a target file signing server and a plurality of target digital signature servers from a plurality of file signing servers based on the signing association information and the memory occupancy rate of each file signing server and the processor utilization rate of the digital signature server in the electronic signature system;

[0072] S330: construct a signature server set using the one target file signing server and the plurality of file signing servers, and generate a file signing policy according to the file type identifier in the signing association information and the status information of the plurality of target digital signature servers.

[0073] In this embodiment, when generating a file signing strategy, the status information of each signature server in the electronic signature system is first obtained. The status information includes the memory occupancy rate of the file signing server divided into executing signature signing (mainly involving the signing action of the electronic signature image on the file to be signed, and the memory occupancy rate is mainly affected by the file size of the file to be signed) and the processor utilization rate of the digital signature server divided into executing digital signature generation (mainly involving hash and private key encryption operations, and the processor utilization rate is mainly affected by the number of signature signing tasks executed in parallel). Then, using the signature association information and the status information of the signature server, a target file signing server for executing electronic signature image signing and several target digital signature servers for executing digital signature generation are selected from the electronic signature system, and then the file signing strategy is generated according to the signature association information and the target digital signature servers.

[0074] On this basis, based on the signing association information and the memory occupancy rate of each file signing server and the processor utilization rate of the digital signature server in the electronic signature system, a target file signing server and a plurality of target digital signature servers are determined from a plurality of file signing servers, specifically including:

[0075] S321: Selecting a plurality of candidate file signing servers from a plurality of file signing servers based on the file size in the signing association information and the memory occupancy rate of each file signing server;

[0076] S322: Based on the processor utilization of each digital signature server in the electronic signature system, select a number of target digital signature servers from the number of digital signature servers, divide the data of the document to be signed into blocks, and distribute the obtained number of file block data to the number of target digital signature servers;

[0077] S323: Determine a target file signing server from a plurality of candidate file signing servers according to the time consumed by the target digital signature server to process each file block data.

[0078] The step of selecting a plurality of candidate file signing servers from a plurality of file signing servers based on the file size in the signing association information and the memory occupancy rate of each file signing server specifically includes:

[0079] S3211: estimating the memory usage information of the file to be signed based on the file size in the signing association information;

[0080] S3212: summing the memory occupancy information and the memory occupancy rate of each file signing server to obtain a file signing server list sorted from low to high according to the memory occupancy rate;

[0081] S3213: All file signing servers in the file signing server list whose memory occupancy rates are lower than the high-load memory threshold are selected as candidate file signing servers.

[0082] Among them, based on the processor utilization rate of each digital signature server in the electronic signature system, a number of target digital signature servers are selected from a number of digital signature servers, data blocks are divided into blocks for the document to be signed, and the obtained number of file block data are distributed to a number of target digital signature servers, specifically including:

[0083] S3221: Arrange all digital signature servers in the electronic signature system in order of processor utilization from low to high to obtain a digital signature server list;

[0084] S3222: extracting all digital signature servers whose processor utilization rates are lower than the high-load processing threshold in the digital signature server list as target digital signature servers;

[0085] S3223: Divide the file to be signed into data blocks according to the number of target digital signature servers, and distribute the obtained file block data to several target digital signature servers.

[0086] The step of determining a target file signing server from a plurality of candidate file signing servers according to the processing time consumed by the target digital signature server to process each file block data specifically includes:

[0087] S3231: according to the data volume of each file block data and the processor utilization rate of the target digital signature server processing the file block data, estimate the first processing time consumed by each target digital signature server to process the corresponding file block data, and construct a block data processing time consumption set;

[0088] S3232: using the file type identifier, accessing a file type database, and matching the number of signatures of the to-be-signed file corresponding to the file type identifier stored in the file type database;

[0089] S3233: according to the number of signatures of the to-be-signed file and the hardware configuration information of each candidate file signing server, estimate the second processing time consumption of each candidate file signing server for signing the to-be-signed file, and construct a signature signing processing time consumption set;

[0090] S3234: extract the minimum block data processing time consumption parameter in the block data processing time consumption set, and use the file signing server corresponding to the signature processing time consumption closest to the minimum block data processing time consumption parameter in the signature processing time consumption set as the target file signing server.

[0091] In this embodiment, when determining a target file signing server and several target digital signature servers from several file signing servers, first, based on the memory occupancy rate of each file signing server and the memory occupancy information estimated based on the file size of the file to be signed, all the file signing servers whose memory occupancy rate is lower than the high-load memory threshold are selected from the file signing servers as candidate file signing servers; then, based on the processor utilization rate of each digital signature server, all the digital signature servers whose processor utilization rate is lower than the high-load processing threshold are selected as target digital signature servers, and the file to be signed is divided into data blocks and sent to several target digital signature servers respectively; finally, based on the first processing time of each target digital signature server processing the corresponding file block data and the second processing time of each candidate file signing server signing the file to be signed, the file signing server with the closest processing time is selected from the candidate file signing servers as the target file signing server. Therefore, by considering the memory occupancy rate of each file signing server and the processor utilization rate of the digital signature server, the current memory occupancy rate and processor utilization rate are selected to meet the requirements of stability and processing efficiency. At the same time, by considering the processing time of the file signing server and the digital signature server, a server combination with better generation time matching is generated, thereby avoiding the waste of hardware resources caused by the long waiting time of the file signing server or the digital signature server alone, reducing the efficiency of the system electronic signature, and improving the system processing efficiency as much as possible.

[0092] On this basis, according to the file type identifier in the signing association information and the status information of several target digital signature servers, a file signing strategy step is generated, which specifically includes:

[0093] S331: using the file type identifier, accessing the file type database, matching the signature position of the file to be signed corresponding to the file type identifier stored in the file type database, and generating a signature policy for the file to be signed according to the signature position of the file to be signed;

[0094] S332: extracting the ranking number of each target digital signature server when the processor utilization rates of the target digital signature servers are ranked from low to high, and generating a digital signature policy for the file to be signed according to the ranking number.

[0095] In this embodiment, after determining a target file signing server and several target digital signature servers in the electronic signature system, a signature policy for the file to be signed is generated according to the signature position of the file to be signed. The signature policy records each position of the file to be signed that needs to be signed, and then the signing action can be performed according to the position when the electronic signature system executes the signature; according to the sorting number of the target digital signature servers when they are arranged in order from low to high according to the processor utilization, a digital signature policy for the file to be signed is generated, and the digital signature policy records the target digital signature server used to execute the digital signature generation for each file block data and the sorting number of each target digital signature server (for example, several target digital signature servers are selected and numbered 2, 3, 6, and 9 in the electronic signature system, and the corresponding processor utilizations are 50%, 30%, 65%, and 60%, respectively, then the sorting numbers arranged according to the processor utilization are 3, 2, 9, and 6). The service gateway can implement random query and selection of the encryption private key according to the sorting number, and then execute the digital signature generation for each file block data according to the encryption private key selected based on the sorting number when the electronic signature system executes the digital signature.

[0096] In a preferred embodiment, based on the document signing strategy, the document to be signed and the associated electronic signature image and encrypted private key set are sent to the signature server set, so that the target document signing server and the target digital signature servers respectively generate the signature document and verification information of the target signing request, which specifically includes:

[0097] S510: Based on the signature signing strategy, the document to be signed and the associated electronic signature image are sent to the target document signing server, so that the target document signing server signs the electronic signature image to the signature position of the document to be signed, and generates a signed document of the target signing request;

[0098] S520: Based on the digital signature strategy, the file to be signed is divided into data blocks according to the number of sorting numbers, and the divided file block data is sent to the corresponding target digital signature server respectively. According to the sorting number of each target digital signature server, a query is performed in the encryption private key set associated with the file to be signed to obtain the encryption private key of each file block data;

[0099] S530: Send the encrypted private key to the corresponding target digital signature server, so that the target file signing server generates a digital signature of the file block data using the received file block data and the encrypted private key, and uses the digital signature and the sorting number of each file block data as verification information of the target signing request;

[0100] It should be noted that the verification information is sent to the recipient together with the signed document through the electronic signature system, and the sorting number in the verification information is used by the recipient to obtain the encrypted public key of each digital signature of the target signing request according to the encrypted public key set provided by the application system in the certificate authority; the encrypted public key is configured to generate a first hash value for each file block data with each corresponding digital signature, and the first hash value and the second hash value generated by hashing the received signed document are used by the recipient to verify the signed document.

[0101] In this embodiment, after obtaining the signature signing strategy, the service gateway sends the document to be signed and the associated electronic signature image to the target document signing server, so that the target document signing server signs the electronic signature image to the signature position of the document to be signed, and generates a signed document of the target signing request; after obtaining the digital signature strategy, the service gateway first divides the document to be signed into data blocks, and then sends the divided file block data to the corresponding target digital signature server respectively, and then, according to the sorting number of each target digital signature server, queries and selects in the encrypted private key set associated with the document to be signed, and obtains the number of each file block. The encrypted private key of the data is used to generate the digital signature (for example, if the sorting numbers are 3, 2, 9, and 6, then the encrypted private key used when selecting each file block data for digital signature generation is selected, and the 3rd, 2nd, 9th, and 6th encrypted private keys are selected from the encrypted private key set stored in the service gateway respectively), and finally the encrypted private key is sent to the corresponding target digital signature server, so that the target file signing server uses the received file block data and the encrypted private key to generate a digital signature for the file block data, and uses the digital signature and sorting number of each file block data as verification information of the target signing request, so that the recipient can verify the authenticity of the signed file based on the received verification information. Therefore, by setting the electronic signature image and the encryption private key set on a more controllable unified service platform, only the encryption private key selected by random query is sent when executing each signing task of the document to be signed, which has higher security; in addition, by considering the status information of the digital signature server in the encryption private key selection strategy, the encryption private key for each text data block is selected in the encryption private key set with randomness, rather than the selection of fixed private keys in the encryption private key set, and there is no need to introduce other random encryption algorithms. While improving the security of the private key, it reduces the system computing load and makes the random selection of the encryption private key have the characteristics of traceability and verification that other random encryption algorithms do not have.

[0102] Reference Figure 2 , Figure 2 It is a structural block diagram of an embodiment of the electronic signature management system based on a unified service platform of the present invention.

[0103] like Figure 2 As shown, the electronic signature management system based on the unified service platform proposed in the embodiment of the present invention includes:

[0104] The acquisition module 10 is used to acquire the signature data packet of the target application system, extract several signature-related information stored in the signature data packet, and store the several signature-related information; wherein each signature-related information includes an electronic signature image and an encrypted private key set having a mapping relationship;

[0105] The extraction module 20 is used to extract the to-be-signed file and the signing-related information in the target signing request when receiving the target signing request transmitted by the target application system;

[0106] The determination module 30 is used to obtain the status information of each signature server in the electronic signature system, and determine the signature server set and the file signing strategy based on the status information and the signing association information; wherein the signature server set includes a target file signing server and a plurality of target digital signature servers;

[0107] The traversal module 40 is used to traverse the signature data packet of the target application system using the file to be signed, and extract the electronic signature image and the encryption private key set associated with the file to be signed from the signature data packet;

[0108] The sending module 50 is used to send the document to be signed and the associated electronic signature image and encrypted private key set to the signature server set based on the document signing strategy, so that the target document signing server and the several target digital signature servers respectively generate the signing document and verification information of the target signing request.

[0109] Other embodiments or specific implementations of the electronic signature management system based on the unified service platform of the present invention can refer to the above-mentioned method embodiments, which will not be repeated here.

[0110] It is understood that, in the description of this specification, the description with reference to the terms "one embodiment", "another embodiment", "other embodiments", or "first to Nth embodiments" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0111] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0112] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. An electronic signature management method based on a unified service platform, characterized in that: A service gateway for a unified service platform, wherein the unified service platform is configured to connect an electronic signature system and several application systems, and the method comprises: Acquire a signature data packet of the target application system, extract a plurality of signature-related information stored in the signature data packet, and store the plurality of signature-related information; wherein each of the signature-related information includes an electronic signature image and an encrypted private key set having a mapping relationship; Upon receiving a target signing request transmitted by a target application system, extracting the file to be signed and the signing association information in the target signing request; Wherein, the signing association information includes a file type identifier and a file size; upon receiving a target signing request transmitted by a target application system, extracting the file to be signed and the signing association information in the target signing request, specifically including: upon receiving a target signing request transmitted by a target application system, extracting the file to be signed in the target signing request and an association tag attached to the file to be signed; extracting the file type identifier of the file to be signed recorded in the association tag, identifying the file size of the file to be signed on the unified service platform, and using the file type identifier and the file size as the file association information of the target signing request; Obtain the status information of each signature server in the electronic signature system, and determine the signature server set and the file signing strategy based on the status information and the signing association information; wherein the signature server set includes a target file signing server and several target digital signature servers; specifically including: obtaining the status information of each signature server in the electronic signature system; wherein the status information includes the memory occupancy rate of the file signing server and the processor utilization rate of the digital signature server; based on the signing association information and the memory occupancy rate of each file signing server in the electronic signature system and the processor utilization rate of the digital signature server, determine a target file signing server and several target digital signature servers from several file signing servers; construct a signature server set using the one target file signing server and the several file signing servers, and generate a file signing strategy based on the file type identifier in the signing association information and the status information of several target digital signature servers; Among them, based on the signing association information and the memory occupancy rate of each file signing server in the electronic signature system and the processor utilization rate of the digital signature server, a target file signing server and a plurality of target digital signature server steps are determined from a plurality of file signing servers, specifically including: based on the signing association information and the memory occupancy rate of each file signing server in the electronic signature system and the processor utilization rate of the digital signature server, a target file signing server and a plurality of target digital signature server steps are determined from a plurality of file signing servers, specifically including: based on the file size in the signing association information and the memory occupancy rate of each file signing server, a plurality of candidate file signing servers are selected from a plurality of file signing servers; based on the processor utilization rate of each digital signature server in the electronic signature system, a plurality of target digital signature servers are selected from a plurality of digital signature servers, data blocks are performed on the file to be signed, and the obtained plurality of file block data are distributed to a plurality of target digital signature servers; based on the processing time consumed by the target digital signature server to process each file block data, a target file signing server is determined from a plurality of candidate file signing servers; Among them, based on the file size in the signing association information and the memory occupancy rate of each file signing server, a step of selecting a plurality of candidate file signing servers from a plurality of file signing servers specifically includes: estimating the memory occupancy information of the file to be signed based on the file size in the signing association information; summing the memory occupancy information and the memory occupancy rate of each file signing server to obtain a list of file signing servers sorted from low to high according to the memory occupancy rate; selecting all file signing servers in the file signing server list whose memory occupancy rate is lower than the high-load memory threshold as candidate file signing servers; Using the document to be signed, traverse the signature data packet of the target application system, and extract the electronic signature image and the encryption private key set associated with the document to be signed from the signature data packet; Based on the file signing strategy, the file to be signed and the associated electronic signature image and encrypted private key set are sent to the signature server set, so that the target file signing server and the target digital signature servers respectively generate the signing file and verification information of the target signing request.

2. The electronic signature management method based on a unified service platform as claimed in claim 1, characterized in that: Based on the processor utilization rate of each digital signature server in the electronic signature system, a plurality of target digital signature servers are selected from the plurality of digital signature servers, data blocks are divided into blocks for the document to be signed, and the obtained plurality of file block data are distributed to the plurality of target digital signature servers, specifically comprising: Arrange all digital signature servers in the electronic signature system in order of processor utilization from low to high to obtain a digital signature server list; Extracting all digital signature servers in the digital signature server list whose processor utilization is lower than the high-load processing threshold as target digital signature servers; According to the number of target digital signature servers, the file to be signed is divided into data blocks, and the obtained file block data is distributed to several target digital signature servers.

3. The electronic signature management method based on a unified service platform as claimed in claim 1, characterized in that: According to the processing time consumed by the target digital signature server to process each file block data, a step of determining a target file signing server from a plurality of candidate file signing servers specifically includes: According to the data volume of each file block data and the processor utilization rate of the target digital signature server processing the file block data, estimating the first processing time consumed by each target digital signature server to process the corresponding file block data, and constructing a block data processing time consumption set; Using the file type identifier, access the file type database, and match the number of signatures of the to-be-signed file corresponding to the file type identifier stored in the file type database; According to the number of signatures of the to-be-signed file and the hardware configuration information of each candidate file signing server, the second processing time consumption of each candidate file signing server for signing the to-be-signed file is estimated, and a signature signing processing time consumption set is constructed; The smallest block data processing time consumption parameter in the block data processing time consumption set is extracted, and the file signing server corresponding to the signature processing time consumption closest to the smallest block data processing time consumption parameter in the signature processing time consumption set is used as the target file signing server.

4. The electronic signature management method based on a unified service platform as claimed in claim 1, characterized in that: The step of generating a file signing strategy according to the file type identifier in the signing association information and the status information of several target digital signature servers specifically includes: Using the file type identifier, accessing the file type database, matching the signature position of the file to be signed corresponding to the file type identifier stored in the file type database, and generating a signature policy for the file to be signed according to the signature position of the file to be signed; The sorting number of each target digital signature server when the processor utilization rates of the target digital signature servers are sorted from low to high is extracted, and a digital signature policy for the file to be signed is generated according to the sorting number.

5. The electronic signature management method based on a unified service platform as claimed in claim 4, characterized in that: Based on the document signing strategy, the document to be signed and the associated electronic signature image and encrypted private key set are sent to the signature server set, so that the target document signing server and the target digital signature servers respectively generate the signature document and verification information of the target signing request, specifically including: Based on the signature signing strategy, the document to be signed and the associated electronic signature image are sent to the target document signing server, so that the target document signing server signs the electronic signature image to the signature position of the document to be signed, and generates a signed document of the target signing request; Based on the digital signature strategy, the file to be signed is divided into data blocks according to the number of sorting numbers, and the divided file block data is sent to the corresponding target digital signature server respectively. According to the sorting number of each target digital signature server, a query is performed in the encryption private key set associated with the file to be signed to obtain the encryption private key of each file block data; Sending the encrypted private key to the corresponding target digital signature server, so that the target file signing server generates a digital signature of the file block data using the received file block data and the encrypted private key, and uses the digital signature and the sequence number of each file block data as verification information of the target signing request; The verification information is sent to the recipient together with the signed document through the electronic signature system, and the sequence number in the verification information is used by the recipient to obtain the encrypted public key of each digital signature of the target signing request according to the encrypted public key set provided by the application system at the certificate authority; The encrypted public key is configured to generate a first hash value for each file block data with each corresponding digital signature, and the first hash value and a second hash value generated by performing a hash operation on the received signed file are used by the recipient to verify the signed file.

6. An electronic signature management system based on a unified service platform, characterized in that: The system comprises: An acquisition module, used to acquire a signature data packet of a target application system, extract a plurality of signature-related information stored in the signature data packet, and store the plurality of signature-related information; wherein each of the signature-related information includes an electronic signature image and an encrypted private key set having a mapping relationship; An extraction module, configured to extract the file to be signed and the signing-related information in the target signing request when receiving the target signing request transmitted by the target application system; Wherein, the signing association information includes a file type identifier and a file size; upon receiving a target signing request transmitted by a target application system, extracting the file to be signed and the signing association information in the target signing request, specifically including: upon receiving a target signing request transmitted by a target application system, extracting the file to be signed in the target signing request and an association tag attached to the file to be signed; extracting the file type identifier of the file to be signed recorded in the association tag, identifying the file size of the file to be signed on the unified service platform, and using the file type identifier and the file size as the file association information of the target signing request; A determination module is used to obtain the status information of each signature server in the electronic signature system, and determine the signature server set and the file signing strategy based on the status information and the signing association information; wherein the signature server set includes a target file signing server and several target digital signature servers; specifically includes: obtaining the status information of each signature server in the electronic signature system; wherein the status information includes the memory occupancy rate of the file signing server and the processor utilization rate of the digital signature server; based on the signing association information and the memory occupancy rate of each file signing server in the electronic signature system and the processor utilization rate of the digital signature server, determine a target file signing server and several target digital signature servers from several file signing servers; use the one target file signing server and the several file signing servers to construct a signature server set, and generate a file signing strategy according to the file type identifier in the signing association information and the status information of several target digital signature servers; Among them, based on the signing association information and the memory occupancy rate of each file signing server in the electronic signature system and the processor utilization rate of the digital signature server, a target file signing server and several target digital signature servers are determined from several file signing servers, specifically including: based on the signing association information and the memory occupancy rate of each file signing server in the electronic signature system and the processor utilization rate of the digital signature server, a target file signing server and several target digital signature servers are determined from several file signing servers, specifically including: based on the file size in the signing association information and the memory occupancy rate of each file signing server, several candidate file signing servers are selected from several file signing servers; based on the processor utilization rate of each digital signature server in the electronic signature system, several target digital signature servers are selected from several digital signature servers, data blocks are performed on the file to be signed, and the obtained several file block data are distributed to several target digital signature servers; according to the processing time consumed by the target digital signature server to process each file block data, a target file signing server is determined from several candidate file signing servers; Among them, based on the file size in the signing association information and the memory occupancy rate of each file signing server, a number of candidate file signing servers are selected from a number of file signing servers, specifically including: estimating the memory occupancy information of the file to be signed based on the file size in the signing association information; summing the memory occupancy information and the memory occupancy rate of each file signing server to obtain a list of file signing servers sorted from low to high according to the memory occupancy rate; taking all the file signing servers in the file signing server list whose memory occupancy rate is lower than the high-load memory threshold as candidate file signing servers; A traversal module, used to traverse the signature data packet of the target application system using the file to be signed, and extract the electronic signature image and the encrypted private key set associated with the file to be signed from the signature data packet; The sending module is used to send the document to be signed and the associated electronic signature image and encrypted private key set to the signature server set based on the document signing strategy, so that the target document signing server and the several target digital signature servers respectively generate the signing document and verification information of the target signing request.

Citation Information

Patent Citations

  • Policy based service load balancing method

    CN101119359A

  • Signature processing method, signature center system and signature system

    CN106408269A

  • File signature method, and file verification method and device

    CN108833104A

  • Electronic signature method and device, electronic equipment and storage medium

    CN111291392A

  • File signature method and device based on asynchronous processing and computer equipment

    CN112306977A