Electronic signature stamping method and device, equipment, storage medium and product
By obtaining the user's identity information and facial recognition information to generate a national cryptographic algorithm personal certificate and perform electronic signature printing, it solves the problems of complex signature printing operations and insufficient security in traditional technology, and achieves higher signature security and privacy.
Patent Information
- Application Number
- CN202410673421.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-17
AI Technical Summary
Traditional digital signature printing technology is complex to operate and has insufficient security, making it difficult to guarantee the authenticity and privacy of signatures.
By obtaining the user's identity information and facial recognition information, a national cryptographic algorithm personal certificate is generated, and electronic documents are signed and sealed based on the certificate to ensure the security and privacy of the signature.
It improves the security of digital signature printing, prevents signatures from being tampered with or forged, and enhances the authenticity and privacy of signatures.
Smart Images

Figure CN118656875A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic signatures, and in particular to an electronic signature imprinting method, device, equipment, storage medium and computer program product. Background Art
[0002] With the development of science and technology, the application of digital signatures is becoming more and more widespread, but the traditional signature process often has problems such as complex operation and insufficient security. With the development of technology and the application of paperless office in various fields, the flexibility and security of signature technology are becoming more and more important. Therefore, how to determine a set of highly secure digital signature algorithms and implementation processes is an urgent need for current technological development.
[0003] Therefore, how to improve the security of electronic signatures is a problem that needs to be solved urgently.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of this application is to provide an electronic signature imprinting method, device, equipment, storage medium and computer program product, aiming to solve the technical problems of digital signature imprinting technology in related technologies that are complex to operate and lack security.
[0006] To achieve the above purpose, the present application proposes an electronic signature stamping method, the electronic signature stamping method comprising:
[0007] Obtaining identity information and facial recognition information of the first user;
[0008] After determining that the identity information is consistent with the facial recognition information, generating a personal certificate using a national encryption algorithm based on the identity information;
[0009] The electronic file corresponding to the identity information is signed and stamped using the national secret algorithm personal certificate to generate an electronic signature result.
[0010] In one embodiment, after the signature and stamping operation is performed using the national secret algorithm personal certificate to generate an electronic signature result, the method further includes:
[0011] Determining whether the transmission mode of the electronic signature result is synchronous transmission or asynchronous transmission;
[0012] If the transmission mode is synchronous transmission, after the electronic signature result is generated, the electronic signature result is synchronously transmitted to the backend server;
[0013] If the transmission mode is asynchronous transmission, after the electronic signature result is generated, the electronic signature result is sent to the background server based on the received data return instruction.
[0014] In one embodiment, the electronic document corresponding to the identity information is signed and stamped by using the national secret algorithm personal certificate to generate an electronic signature result, including:
[0015] Obtain electronic seal signature standards;
[0016] Based on the national secret algorithm personal certificate, the electronic document is signed and stamped in accordance with the electronic seal signature standard to generate an electronic signature result.
[0017] In one embodiment, the signing and stamping operation using the national encryption algorithm personal certificate, before generating an electronic signature result, includes:
[0018] Determine whether the current signature stamping operation requires a fee;
[0019] If it is determined that a fee is required, check whether the user's balance is greater than the signature fee threshold;
[0020] When the user balance is less than the signature fee threshold, a balance recharge reminder is sent to the first user.
[0021] In one embodiment, the step of performing a signature stamping operation on the electronic file corresponding to the identity information by using the national secret algorithm personal certificate to generate an electronic signature result further includes:
[0022] Receiving a digitally signed file of a second user; wherein the first user is associated with a first identification message, the second user is associated with a second identification message, and the first identification message and the second identification message are used to transmit the electronic file or the digitally signed file;
[0023] Combining the digital signature file with the electronic file to obtain a combined file;
[0024] Based on the first identification message and the second identification message, a signature stamping operation is performed on the combined file to generate an electronic signature result.
[0025] In one embodiment, the step of performing a signature stamping operation on the combined file based on the first identification message and the second identification message to generate an electronic signature result includes:
[0026] Based on the first identification message and the second identification message, identifying whether the signing users corresponding to the combined file include the first user and the second user;
[0027] If it is determined that the signing user does not include the first user and the second user, re-authenticating the signing user;
[0028] If the signing users include the first user and the second user, a signature stamping operation is performed on the combined file to generate an electronic signature result.
[0029] In addition, to achieve the above purpose, the present application also proposes an electronic signature stamping device, the electronic signature stamping device comprising:
[0030] An acquisition module, used to acquire identity information and face recognition information of the first user;
[0031] A generation module, configured to generate a personal certificate using a national encryption algorithm based on the identity information after determining that the identity information is consistent with the facial recognition information;
[0032] The signature module is used to sign and stamp the electronic file corresponding to the identity information through the national secret algorithm personal certificate to generate an electronic signature result.
[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes an electronic signature imprinting device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the electronic signature imprinting method 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, 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 imprinting method described above are implemented.
[0035] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the electronic signature imprinting method as described above.
[0036] The present application proposes an electronic signature method, apparatus, device, storage medium and computer program product. The present application obtains the identity information and facial recognition information of a first user. When it is determined that the identity information is consistent with the facial recognition information, a personal certificate of a national secret algorithm is generated through the identity information corresponding to the user. The electronic file corresponding to the identity information is then signed and stamped using the personal certificate of a national secret algorithm to generate an electronic signature result. In the present application, by comparing the identity information and facial recognition information of the user, after determining that the two types of information are consistent, it can be determined that the signing user and the verifying user are the same person. The electronic file is then signed and stamped using the personal certificate of a national secret algorithm, so that the security and privacy of each signature and stamping operation are guaranteed, preventing the signature from being tampered with or forged, and thereby improving the security of the digital signature and stamping.
[0037] In summary, this application compares the user's identity information and facial recognition information. After confirming that the two information are consistent, it can be determined that the signing user and the verified user are the same person, and then the electronic document is signed and stamped through the national secret algorithm personal certificate, so that the security and privacy of each signature and stamp operation are guaranteed, preventing the signature from being tampered with or forged, thereby improving the security of the digital signature stamp. 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 drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0040] Figure 1 A flowchart of the first embodiment of the electronic signature method of this application is provided;
[0041] Figure 2 A flowchart of the second embodiment of the electronic signature method of this application is provided;
[0042] Figure 3 This is a schematic diagram of the system execution process involved in the electronic signature stamping method of this application;
[0043] Figure 4 This is a schematic diagram of the module structure of the electronic signature stamping device according to the embodiment of the present application;
[0044] Figure 5Schematic diagram of the device structure of the hardware operating environment involved in the electronic signature imprinting method in the embodiment of the present application.
[0045] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0046] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0047] 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.
[0048] The main solutions of the embodiments of this application are:
[0049] Obtaining identity information and facial recognition information of the first user;
[0050] After determining that the identity information is consistent with the facial recognition information, generating a personal certificate using a national encryption algorithm based on the identity information;
[0051] The electronic file corresponding to the identity information is signed and stamped using the national secret algorithm personal certificate to generate an electronic signature result.
[0052] In this embodiment, for ease of description, the electronic signature imprinting device is used as the execution subject for explanation below.
[0053] The existing signature and stamping processes often have problems such as single technology, single business, single process, various customizations, complex operations and insufficient security. With the development of technology and the application of paperless office in various fields, the flexibility, security and convenience of signature and stamping technology are becoming more and more important.
[0054] The present application provides an electronic signature stamping method, apparatus, device, storage medium and computer program product. By comparing the user's identity information and facial recognition information, after determining that the two types of information are consistent, it can be determined that the signing user and the verified user are the same person, and then the electronic document is signed and stamped through the national secret algorithm personal certificate, so that the security and privacy of each signature and stamping operation are guaranteed, preventing the signature from being tampered with or forged, thereby improving the security of the digital signature stamping.
[0055] It can be seen from the above embodiments that the present application overcomes the technical problems of complex signature and stamp process operation and insufficient security in the prior art by adopting the technical means of comparing the identity information and facial recognition information for consistency and performing signature and stamp operations through the national secret algorithm personal certificate, thereby achieving the technical effect of improving the security of digital signatures.
[0056] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a signature terminal, etc. The following takes an electronic signature imprinting device as an example to illustrate this embodiment and the following embodiments.
[0057] Based on this, the present application embodiment provides an electronic signature stamping method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the electronic signature imprinting method of this application.
[0058] In this embodiment, the electronic signature stamping method includes steps S10 to S30:
[0059] Step S10, obtaining the identity information and face recognition information of the first user;
[0060] It should be noted that the first user is one of the users who perform the digital signature, and the second user is another user who performs the digital signature. Generally speaking, when signing an electronic document or a contract, two users are required to sign. The number of users who sign can be multiple, and there is no limit here.
[0061] For example, the identity information may be the user's fingerprint information, the unit information entered by the user, and the signature information.
[0062] It should be noted that the facial recognition information may be the facial data of the user captured by a camera or a terminal.
[0063] Step S20, after determining that the identity information is consistent with the facial recognition information, generate a national encryption algorithm personal certificate based on the identity information;
[0064] It should be noted that when it is determined that the identity information is consistent with the facial recognition information, the user's identity authentication is passed, and the corresponding national encryption algorithm personal certificate can be generated based on the user's identity information.
[0065] It should be noted that the national secret algorithm personal certificate is the national secret SM2 personal certificate. For each user, there is a corresponding digital certificate, which can ensure the uniqueness of user data.
[0066] Step S30, using the national encryption algorithm personal certificate to sign and stamp the electronic file corresponding to the identity information to generate an electronic signature result.
[0067] It should be noted that the electronic file corresponding to the identity information is signed and stamped by using a personal certificate using a national secret algorithm. The method for generating an electronic signature result can be: generating an SM2 national secret algorithm personal certificate based on user information, and then using the personal certificate to sign and stamp the file composed of the personal signature and fingerprint in accordance with the electronic seal and electronic signature specifications.
[0068] It should be noted that the electronic signature result is an electronic file containing one or more user signatures.
[0069] In this embodiment, the signature operation of the file is performed by a hash algorithm, which makes the signature process more efficient and secure while ensuring the integrity and consistency of the data. The hash algorithm is an algorithm well known to those skilled in the art and will not be described in detail here.
[0070] Wherein, before the step S30 of performing the signature and stamping operation using the national secret algorithm personal certificate to generate an electronic signature result, the following steps are included:
[0071] Determine whether the current signature stamping operation requires a fee;
[0072] It should be noted that for different signature and imprint systems, in some cases a fee is required when performing a signature operation.
[0073] If it is determined that a fee is required, check whether the user's balance is greater than the signature fee threshold;
[0074] It should be noted that when it is determined that the current signature and stamping operation requires a fee, it is necessary to detect whether the user balance is greater than the signature fee threshold, where the signature fee threshold is the fee required to perform the current signature and stamping operation, and is not specifically limited.
[0075] When the user balance is less than the signature fee threshold, a balance recharge reminder is sent to the first user.
[0076] It should be noted that when the user's balance is less than the signature fee threshold, the user needs to be reminded to recharge the fee. After detecting that the fee is sufficient, the signature and stamping operation can be performed to avoid the situation where the signature is completed but the deduction is not completed.
[0077] The step S30 of performing a signature operation on the electronic file corresponding to the identity information by using the national secret algorithm personal certificate to generate an electronic signature result includes:
[0078] Step S31, obtaining the electronic seal signature standard;
[0079] Step S32, based on the national secret algorithm personal certificate, the electronic document is signed and stamped according to the electronic seal signature standard to generate an electronic signature result.
[0080] It should be noted that the electronic seal signature standard can be the specifications and standards required for performing electronic signature operations. When performing electronic signature operations, it is executed according to the public key data in the personal certificate of the national secret algorithm and the electronic seal signature standard, so as to obtain a standardized signed electronic file and avoid errors.
[0081] The present application proposes an electronic signature method, apparatus, device, storage medium and computer program product. The present application obtains the identity information and facial recognition information of a first user. When it is determined that the identity information is consistent with the facial recognition information, a personal certificate of a national secret algorithm is generated through the identity information corresponding to the user. The electronic file corresponding to the identity information is then signed and stamped using the personal certificate of a national secret algorithm to generate an electronic signature result. In the present application, by comparing the identity information and facial recognition information of the user, after determining that the two types of information are consistent, it can be determined that the signing user and the verifying user are the same person. The electronic file is then signed and stamped using the personal certificate of a national secret algorithm, so that the security and privacy of each signature and stamping operation are guaranteed, preventing the signature from being tampered with or forged, and thereby improving the security of the digital signature and stamping.
[0082] 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-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 After step S30, the electronic signature stamping method further includes steps S40 to S60:
[0083] Step S40, determining whether the transmission mode of the electronic signature result is synchronous transmission or asynchronous transmission;
[0084] It should be noted that after the electronic signature result is generated, you can choose the transmission mode of synchronous transmission or asynchronous transmission to store the electronic signature result in the background server for subsequent call and comparison.
[0085] Step S50: if the transmission mode is synchronous transmission, after the electronic signature result is generated, the electronic signature result is synchronously transmitted to the backend server;
[0086] It should be noted that if the synchronous transmission method is adopted, the electronic signature result can be sent to the background server at the same time as the electronic signature result is generated. The use of the synchronous transmission method of data can achieve the purpose of fast storage.
[0087] Step S60: If the transmission mode is asynchronous transmission, after the electronic signature result is generated, the electronic signature result is sent to the background server based on the received data return instruction.
[0088] It should be noted that if asynchronous transmission is adopted, the electronic signature result will be sent to the background server after receiving the user's data return instruction. The advantage of asynchronous transmission is that it will not affect the execution process of the digital signature and is economical and practical.
[0089] In this embodiment, by adopting two data transmission modes to transmit the electronic signature results, the files obtained after signing can be flexibly stored, making the method universal.
[0090] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the first and second embodiments can be referred to the above description, and will not be described in detail later. On this basis, the step S30 of performing a signature and stamping operation on the electronic file corresponding to the identity information through the national secret algorithm personal certificate to generate an electronic signature result also includes:
[0091] Step S301, receiving a digital signature file of a second user; wherein the first user is associated with a first identification message, the second user is associated with a second identification message, and the first identification message and the second identification message are used to transmit the electronic file or the digital signature file;
[0092] It should be noted that the second user is the user who signs the document with the first user, wherein the digital signature document is a document confirmed by the second user, and may also be a document unilaterally signed.
[0093] It should be noted that the first identification message is a part of the message required when transmitting the electronic file corresponding to the first user. When this identification message is present, the electronic file can be normally transmitted to the transit server, where the transit server is a server between the two users and is used to execute the signature operations of both parties.
[0094] It should be noted that the second identification message is a part of the message required when transmitting the digital signature file corresponding to the second user.
[0095] Step S302, combining the digital signature file with the electronic file to obtain a combined file;
[0096] It should be noted that after combining the digital signature file with the electronic file, a combined file with content confirmed by both parties is obtained, and the combined file is signed or stamped.
[0097] Step S303: Based on the first identification message and the second identification message, a signature stamping operation is performed on the combined file to generate an electronic signature result.
[0098] It should be noted that, after the combined file is identified through the first identification message and the second identification message, the signature operation can be performed to generate an electronic signature result only when it is confirmed that the signing users are the first user and the second user.
[0099] The step S303 of performing a signature stamping operation on the combined file based on the first identification message and the second identification message to generate an electronic signature result includes:
[0100] Based on the first identification message and the second identification message, identifying whether the signing users corresponding to the combined file include the first user and the second user;
[0101] It should be noted that the first identification message and the second identification message are also used to identify whether the signing user is the first user or the second user, so as to make a secondary judgment on the signing user to avoid being attacked by others during the signing process, resulting in signature errors or signed document errors.
[0102] If it is determined that the signing user does not include the first user and the second user, re-authenticating the signing user;
[0103] It should be noted that if the signing users do not include the first user and the second user, or only include one of the first user and the second user, it is necessary to re-authenticate the user.
[0104] If the signing users include the first user and the second user, a signature stamping operation is performed on the combined file to generate an electronic signature result.
[0105] It should be noted that when the signing users include the first user and the second user, if the identity verification is correct, the digital signature file and the electronic file are transmitted normally, and the two are combined to obtain a combined file, thereby completing the electronic signature stamping process.
[0106] In this embodiment, the signing user is identified through the first identification message and the second identification message, and is used for the transmission of electronic files and digital signature files, thereby ensuring efficiency and security in the signing process, while also ensuring consistency between data and signing users.
[0107] For example, to help understand the implementation process of the xxx method obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 3 , Figure 3 A brief flow chart of an electronic signature stamping method is provided, which mainly includes the following processes:
[0108] Identity verification: The user's identity is verified through biometric technology on the device and system background services to ensure that the user's identity is authentic. Biometric technology can include but is not limited to liveness detection, fingerprint recognition, facial recognition and other background services to verify whether the user is the real person.
[0109] The device collects user signature and fingerprint information: The user signature and fingerprint information are collected through the electronic device, and then encrypted and transmitted to the background service.
[0110] Data verification: Verify whether the signature and fingerprint related data are valid, including signature data, fingerprint data, business data, file data, etc.
[0111] Initialize account: If the user is using it for the first time, initialize the user's system account.
[0112] Check account balance: If it is a paid service, check whether the user account has sufficient balance to complete this signature and stamping service.
[0113] Recharge and payment: If the balance is insufficient, users can recharge and pay to complete the business operation.
[0114] Signature and fingerprint: Generate an SM2 national secret algorithm personal certificate based on user information, and then use the personal certificate to sign and fingerprint the file composed of personal signature and fingerprint in accordance with the electronic seal and electronic signature specifications.
[0115] Save collected data: After signing, the collected user data can be saved based on user needs.
[0116] Synchronous return data: If the business system is set to return data synchronously, the result data will be returned directly after the signature is successfully stamped.
[0117] Send data asynchronously: If the business system is set to return data asynchronously, the result data will be returned according to the request after the signature is successfully stamped.
[0118] Deduction processing: If it is a paid service, after the above operations are successful, perform the deduction processing operation.
[0119] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the electronic signature imprinting method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0120] This application also provides an electronic signature stamping device, please refer to Figure 4 , the electronic signature stamping device comprises:
[0121] An acquisition module 10 is used to acquire the identity information and face recognition information of the first user;
[0122] A generating module 20, configured to generate a national secret algorithm personal certificate based on the identity information after determining that the identity information is consistent with the facial recognition information;
[0123] The signature module 30 is used to sign and stamp the electronic file corresponding to the identity information through the national secret algorithm personal certificate to generate an electronic signature result.
[0124] Optionally, the device further comprises:
[0125] A first determination module is used to determine whether the transmission mode of the electronic signature result is synchronous transmission or asynchronous transmission;
[0126] A synchronous transmission module, for synchronously transmitting the electronic signature result to a backend server after the electronic signature result is generated if the transmission mode is synchronous transmission;
[0127] The first sending module is used to send the electronic signature result to the background server based on the received data return instruction after generating the electronic signature result if the transmission mode is asynchronous transmission.
[0128] Optionally, the signature module further includes:
[0129] An acquisition unit, used to acquire the electronic seal signature standard;
[0130] The generating unit is used to perform a signature and stamp operation on the electronic document based on the national secret algorithm personal certificate and in accordance with the electronic seal signature standard to generate an electronic signature result.
[0131] Optionally, the device further comprises:
[0132] The second determination module is used to determine whether the current signature and imprint operation needs to be charged;
[0133] A detection module, used to detect whether the user balance is greater than the signature fee threshold if it is determined that a fee is required;
[0134] The second sending module is used to send a balance recharge reminder to the first user when the user balance is less than the signature fee threshold.
[0135] Optionally, the signature module further includes:
[0136] A receiving unit, configured to receive a digital signature file of a second user; wherein the first user is associated with a first identification message, the second user is associated with a second identification message, and the first identification message and the second identification message are used to transmit the electronic file or the digital signature file;
[0137] A combining unit, used to combine the digital signature file with the electronic file to obtain a combined file;
[0138] An operation unit is used to perform a signature stamping operation on the combined file based on the first identification message and the second identification message to generate an electronic signature result.
[0139] Optionally, the operating unit includes:
[0140] an identification subunit, configured to identify, based on the first identification message and the second identification message, whether the signing users corresponding to the combined file include the first user and the second user;
[0141] an identity verification subunit, configured to re-authenticate the signing user if it is determined that the signing user does not include the first user and the second user;
[0142] The generating subunit is used for performing a signature stamping operation on the combined file to generate an electronic signature result if the signing users include the first user and the second user.
[0143] The electronic signature stamping device provided by the present application adopts the electronic signature stamping method in the above embodiment, which can solve the technical problem of electronic signature stamping. Compared with the prior art, the beneficial effects of the electronic signature stamping device provided by the present application are the same as the beneficial effects of the electronic signature stamping method provided by the above embodiment, and other technical features in the electronic signature stamping device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0144] The present application provides an electronic signature imprinting device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the electronic signature imprinting method in the above-mentioned embodiment one.
[0145] Reference below Figure 5 , which shows a schematic diagram of the structure of an electronic signature imprinting device suitable for implementing the embodiment of the present application. The electronic signature imprinting device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5The electronic signature imprinting device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0146] like Figure 5 As shown, the electronic signature imprinting device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the electronic signature imprinting device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the electronic signature stamping device to communicate wirelessly or wired with other devices to exchange data. Although the electronic signature stamping device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0147] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a 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 through 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.
[0148] The electronic signature stamping device provided by the present application adopts the electronic signature stamping method in the above embodiment, which can solve the technical problem of electronic signature stamping. Compared with the prior art, the beneficial effects of the electronic signature stamping device provided by the present application are the same as the beneficial effects of the electronic signature stamping method provided by the above embodiment, and the other technical features in the electronic signature stamping device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0149] It should be understood that the various parts disclosed in this application can be implemented by 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.
[0150] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0151] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the electronic signature imprinting method in the above-mentioned embodiment.
[0152] The computer-readable storage medium provided in the present 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 of the above. 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 of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination 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 of the above.
[0153] The computer-readable storage medium may be included in the electronic signature imprinting device; or it may exist independently without being assembled into the electronic signature imprinting device.
[0154] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the electronic signature imprinting device, the electronic signature imprinting device:
[0155] Obtaining identity information and facial recognition information of the first user;
[0156] After determining that the identity information is consistent with the facial recognition information, generating a personal certificate using a national encryption algorithm based on the identity information;
[0157] The electronic file corresponding to the identity information is signed and stamped using the national secret algorithm personal certificate to generate an electronic signature result.
[0158] 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 separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of 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).
[0159] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0160] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0161] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned electronic signature imprinting method, and can solve the technical problem of electronic signature imprinting. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the electronic signature imprinting method provided by the above-mentioned embodiment, and will not be repeated here.
[0162] The present application also provides a computer program product, including a computer program, which implements the steps of the electronic signature imprinting method as described above when executed by a processor.
[0163] The computer program product provided by this application can solve the technical problem of electronic signature imprinting. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the electronic signature imprinting method provided by the above embodiment, which will not be repeated here.
[0164] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. An electronic signature stamping method, characterized in that: The electronic signature stamping method comprises: Obtaining identity information and facial recognition information of the first user; After determining that the identity information is consistent with the facial recognition information, generating a personal certificate using a national encryption algorithm based on the identity information; The electronic file corresponding to the identity information is signed and stamped using the national secret algorithm personal certificate to generate an electronic signature result.
2. The method according to claim 1, characterized in that After the signature and stamping operation is performed using the national secret algorithm personal certificate to generate an electronic signature result, the method further includes: Determining whether the transmission mode of the electronic signature result is synchronous transmission or asynchronous transmission; If the transmission mode is synchronous transmission, after the electronic signature result is generated, the electronic signature result is synchronously transmitted to the backend server; If the transmission mode is asynchronous transmission, after the electronic signature result is generated, the electronic signature result is sent to the background server based on the received data return instruction.
3. The method according to claim 1, characterized in that The electronic document corresponding to the identity information is signed and stamped by using the national secret algorithm personal certificate to generate an electronic signature result, including: Obtain electronic seal signature standards; Based on the national secret algorithm personal certificate, the electronic document is signed and stamped in accordance with the electronic seal signature standard to generate an electronic signature result.
4. The method according to claim 1, characterized in that The process of performing the signature and stamping operation using the national secret algorithm personal certificate to generate an electronic signature result includes: Determine whether the current signature stamping operation requires a fee; If it is determined that a fee is required, check whether the user's balance is greater than the signature fee threshold; When the user balance is less than the signature fee threshold, a balance recharge reminder is sent to the first user.
5. The method according to claim 1, characterized in that The electronic document corresponding to the identity information is signed and stamped by using the national secret algorithm personal certificate to generate an electronic signature result, and further includes: Receiving a digitally signed file of a second user; wherein the first user is associated with a first identification message, the second user is associated with a second identification message, and the first identification message and the second identification message are used to transmit the electronic file or the digitally signed file; Combining the digital signature file with the electronic file to obtain a combined file; Based on the first identification message and the second identification message, a signature stamping operation is performed on the combined file to generate an electronic signature result.
6. The method according to claim 5, characterized in that The step of performing a signature stamping operation on the combined file based on the first identification message and the second identification message to generate an electronic signature result includes: Based on the first identification message and the second identification message, identifying whether the signing users corresponding to the combined file include the first user and the second user; If it is determined that the signing user does not include the first user and the second user, re-authenticating the signing user; If the signing users include the first user and the second user, a signature stamping operation is performed on the combined file to generate an electronic signature result.
7. An electronic signature imprinting device, characterized in that: The electronic signature stamping device comprises: An acquisition module, used to acquire identity information and face recognition information of the first user; A generation module, configured to generate a personal certificate using a national encryption algorithm based on the identity information after determining that the identity information is consistent with the facial recognition information; The signature module is used to sign and stamp the electronic file corresponding to the identity information through the national secret algorithm personal certificate to generate an electronic signature result.
8. An electronic signature imprinting device, characterized in that: The device comprises: 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 imprinting method according to any one of claims 1 to 6.
9. 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 imprinting method as described in any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the electronic signature imprinting method according to any one of claims 1 to 6 are implemented.
