Electronic signature method and system
Through the method of matching and authorization verification of the location of the sealing equipment and the equipment to be signed, the problem of electronic seals being stamped and stolen at will is solved, ensuring the legality and security of the sealing documents.
Patent Information
- Application Number
- CN202310816363.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-04
- Publication Date
- 2025-01-07
AI Technical Summary
Against the background of Internet popularity, the efficiency of using electronic signatures has been improved, but there is a risk of being randomly stamped and stolen.
Through the seal signature device, determine whether the location information of the equipment to be signed and its own location information meets the preset conditions. If it meets the seal signature, send the seal signature information, including location information and seal pictures, and obtain authorization information before sending to ensure that the file is in the same location. Sign and prevent abuse.
It effectively prevents the abuse and theft of electronic signatures and seals, and ensures the legality and security of signature documents.
Smart Images

Figure CN119272342A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to an electronic signature method and system. Background Art
[0002] With the popularization of Internet technology, more and more users choose to use electronic seals when carrying out various stamping businesses. Although the efficiency of stamping has been improved, there is a risk of electronic seals being stamped at will or stolen. Summary of the invention
[0003] The present invention aims to solve the above-mentioned problems.
[0004] To achieve the above object, the technical solution of the present invention is specifically implemented as follows:
[0005] On one hand, the present invention provides an electronic signature method, comprising: a device to be signed obtains a file to be signed, and obtains first position information of the device to be signed; the device to be signed establishes a communication connection with a signing device, and sends the first position information to the signing device; the signing device obtains second position information of the signing device, and determines whether the first position information and the second position information meet preset conditions, and if they meet the preset conditions, sends signature information to the device to be signed, the signature information including the second position information and a seal image; the device to be signed processes the signature information and the file to be signed to obtain a signed file.
[0006] The method further includes: the device to be signed sends the signed file to the signing device; the signing device obtains the number of the signed file, performs hash calculation on the signed file, obtains the hash value of the signed file, and stores the information to be uploaded, the information to be uploaded includes: the number of the signed file and the hash value of the signed file;
[0007] The signing device signs the information to be uploaded to obtain the signature information to be uploaded; the signing device sends the information to be uploaded and the signature information to be uploaded to the background.
[0008] Before the device to be signed processes the signature information and the file to be signed to obtain the signed file, the method further includes: the device to be signed obtains a confirmation instruction.
[0009] Wherein, after the preset conditions are met and before the signature information is sent to the device to be signed, the method further includes: the signing device obtains authorization information.
[0010] The signature device includes but is not limited to: a smart key device, an electronic signature pen or a physical seal.
[0011] On the other hand, the present invention provides an electronic signature system, including: a device to be signed and a signing device; wherein: the device to be signed is used to obtain a file to be signed and obtain first position information of the device to be signed; establish a communication connection with the signing device, and send the first position information to the signing device; the signing device is used to obtain second position information of the signing device, determine whether the first position information and the second position information meet preset conditions, and if they meet the preset conditions, send the signature information to the device to be signed, the signature information including the second position information and a seal image; the device to be signed is also used to process the signature information and the file to be signed to obtain a signed file.
[0012] Among them, the device to be signed is also used to send the signed file to the signing device; the signing device is also used to obtain the number of the signed file, and perform hash calculation on the signed file to obtain the hash value of the signed file, and store the information to be uploaded, and the information to be uploaded includes: the number of the signed file and the hash value of the signed file; sign the information to be uploaded to obtain the signature information to be uploaded, and send the information to be uploaded and the signature information to be uploaded to the background.
[0013] The device to be signed is further used to obtain a confirmation instruction before processing the signature information and the file to be signed to obtain the signed file.
[0014] The signing device is further used to obtain authorization information before sending the signing information to the device to be signed after the preset conditions are met.
[0015] The signature device includes but is not limited to: a smart key device, an electronic signature pen or a physical seal.
[0016] It can be seen from the technical solution provided by the above-mentioned present invention that the present invention provides an electronic signature method and system. The signature device determines that the positions of the signature device and the device to be signed meet the preset conditions before allowing the signature information to be sent to the device to be signed, thereby ensuring that the document to be signed and the signature device are in the same position, thereby avoiding the abuse of the electronic signature. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0018] Figure 1 A flowchart of an electronic signature method provided by an embodiment of the present invention;
[0019] Figure 2 A schematic diagram of the structure of an electronic signature system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0020] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.
[0021] Figure 1 A flowchart of the electronic signature method provided by an embodiment of the present invention is shown. Figure 1 The electronic signature method provided by the embodiment of the present invention includes:
[0022] S101, the device to be signed obtains the file to be signed, and obtains the first position information of the device to be signed.
[0023] Specifically, the device to be signed in the present invention can be a PAD, a notebook computer, a PC, or other device with a visual function that can view the content of the document to be signed.
[0024] The device to be signed can pre-store the document to be signed, or receive the document to be signed sent by a third-party device.
[0025] The device to be signed can locate its own first position information through GPS positioning or Beidou positioning.
[0026] S102, the device to be signed establishes a communication connection with the signing device, and sends the first location information to the signing device.
[0027] Specifically, the device to be signed can establish a connection with the signing device through a wired or wireless method, such as USB, NFC, Bluetooth, etc. The device to be signed sends the first location information to the signing device through the established communication connection.
[0028] S103, the signing device obtains the second position information of the signing device, and determines whether the first position information and the second position information meet the preset conditions. If they meet the preset conditions, the signature information is sent to the device to be signed, and the signature information includes the second position information and the seal image.
[0029] Specifically, the signature device has a signature chip, and a seal image is stored in the signature chip.
[0030] As an optional implementation provided by the embodiment of the present invention, the signature device includes but is not limited to: a smart key device, an electronic signature pen or a physical seal. If it is a smart key device, it can be in the form of, for example, a USB Key or a Bluetooth Key. If it is an electronic signature pen, the electronic signature pen can perform handwritten signatures on the device to be signed, and can also perform electronic signatures. If it is a physical seal, the electronic seal signature function is added on the basis of the existing physical seal, and the management rules for the use of seals can remain unchanged, that is, it can be stamped with a physical seal or an electronic seal, and the action of stamping on the device to be signed with the physical seal can be the same.
[0031] The signature device can locate its own second location information through GPS positioning or Beidou positioning, and determine whether the first location information and the second location information are within a preset range. If they are within the preset range, it is considered to meet the preset conditions, otherwise it does not meet the preset conditions.
[0032] The signature device will only allow the signature information to be sent to the device to be signed after it determines that the preset conditions are met, ensuring that the document to be signed and the signature device are in the same location to avoid abuse of the electronic signature.
[0033] As an optional implementation of the embodiment of the present invention, after the preset conditions are met and before the signature information is sent to the device to be signed, the electronic signature method provided by the embodiment of the present invention further includes: the signature device obtains authorization information. Specifically, the signature device can receive information such as a confirmation password and a confirmation fingerprint, and only after the signature device verifies and obtains the authorization information can the signature information be sent to the device to be signed, so as to prevent the electronic seal from being used without authorization.
[0034] S104, the device to be signed processes the signature information and the file to be signed to obtain a signed file.
[0035] As an optional implementation of the embodiment of the present invention, before the device to be signed processes the signature information and the document to be signed to obtain the signed document, the electronic signature method provided by the embodiment of the present invention further includes: the device to be signed obtains a confirmation instruction. Specifically, after receiving the confirmation instruction, the device to be signed can stamp the seal image at the corresponding position of the document to be signed.
[0036] As an optional implementation manner of an embodiment of the present invention, the electronic signature method provided by the embodiment of the present invention also includes: the device to be signed sends the signature file to the signing device; the signing device obtains the number of the signature file, and performs hash calculation on the signature file to obtain the hash value of the signature file, and stores the information to be uploaded, and the information to be uploaded includes: the number of the signature file and the hash value of the signature file; the signing device signs the information to be uploaded, obtains the signature information to be uploaded, and sends the information to be uploaded and the signature information to be uploaded to the background.
[0037] Specifically, the signing device may extract the number of the signed file from the signed file, or may receive the number of the signed file input by the user, or may receive the number of the signed file sent by the device to be signed.
[0038] The signature device can store the signature file number and hash value to reduce the amount of data storage.
[0039] The signing device can regularly upload the number and hash value of the signed document, for example, to the blockchain, to ensure that the signed document is traceable. The signed document with the number of the signed document can be sent to the backend by the device to be signed.
[0040] It can be seen that through the electronic signature method provided by the embodiment of the present invention, the signing device determines that the positions of the signing device and the device to be signed meet the preset conditions before allowing the signature information to be sent to the device to be signed, ensuring that the file to be signed and the signing device are in the same position, thereby avoiding abuse of the electronic signature.
[0041] Figure 2 The structure diagram of the electronic signature system provided by the embodiment of the present invention is shown. The electronic signature system is applied to the above method. The following is only a brief description of the functions of the electronic signature system. For other matters not covered, please refer to the relevant description in the above electronic signature method. No further details will be given here. Figure 2 The electronic signature system provided by the embodiment of the present invention includes: a device to be signed and a signing device; wherein:
[0042] The device to be signed is used to obtain the document to be signed and obtain the first position information of the device to be signed; establish a communication connection with the signing device and send the first position information to the signing device;
[0043] The signature device is used to obtain the second position information of the signature device, determine whether the first position information and the second position information meet the preset conditions, and if they meet the preset conditions, send the signature information to the device to be signed, the signature information including the second position information and the seal image;
[0044] The device to be signed is also used to process the signature information and the file to be signed to obtain the signed file.
[0045] As an optional implementation manner of an embodiment of the present invention, the device to be signed is also used to send the signed file to the signing device; the signing device is also used to obtain the number of the signed file, perform hash calculation on the signed file, obtain the hash value of the signed file, and store the information to be uploaded, the information to be uploaded includes: the number of the signed file and the hash value of the signed file; sign the information to be uploaded to obtain the signature information to be uploaded, and send the information to be uploaded and the signature information to be uploaded to the background.
[0046] As an optional implementation manner of the embodiment of the present invention, the device to be signed is further used to obtain a confirmation instruction before processing the signature information and the file to be signed to obtain the signed file.
[0047] As an optional implementation of the embodiment of the present invention, the signing device is further used to obtain authorization information before sending the signature information to the device to be signed after the preset conditions are met.
[0048] As an optional implementation of the embodiment of the present invention, the signature device includes but is not limited to: an intelligent key device, an electronic signature pen or a physical seal.
[0049] It can be seen that, through the electronic signature system provided by the embodiment of the present invention, the signing device determines that the positions of the signing device and the device to be signed meet the preset conditions before allowing the signature information to be sent to the device to be signed, thereby ensuring that the file to be signed and the signing device are in the same position, thereby avoiding abuse of the electronic signature.
[0050] Although the embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. Those skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention without departing from the principles and purpose of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An electronic signature method, characterized in that: include: The device to be signed obtains the document to be signed and obtains the first location information of the device to be signed; The device to be signed establishes a communication connection with the signing device, and sends the first location information to the signing device; The signing device obtains the second position information of the signing device, determines whether the first position information and the second position information meet a preset condition, and if so, sends the signature information to the device to be signed, the signature information including the second position information and a seal image; The device to be signed processes the signature information and the file to be signed to obtain a signed file.
2. The method according to claim 1, characterized in that Also includes: The device to be signed sends the signed document to the signing device; The signing device obtains the number of the signed file, performs hash calculation on the signed file to obtain the hash value of the signed file, and stores the information to be uploaded, wherein the information to be uploaded includes: the number of the signed file and the hash value of the signed file; The signing device signs the information to be uploaded to obtain the signature information to be uploaded; The signing device sends the information to be uploaded and the signature information to be uploaded to the background.
3. The method according to claim 1, characterized in that: The device to be signed processes the signature information and the file to be signed to obtain the signature file, and before the signature file is obtained, the device further comprises: The device to be signed obtains a confirmation instruction.
4. The method according to claim 1, characterized in that: After the preset conditions are met, before the signature information is sent to the device to be signed, the following steps are also included: The signing device obtains authorization information.
5. The method according to claim 1, characterized in that The signature device includes but is not limited to: a smart key device, an electronic signature pen or a physical seal.
6. An electronic signature system, characterized in that: include: Equipment to be signed and equipment to sign; including: The device to be signed is used to obtain the document to be signed and obtain the first location information of the device to be signed; establish a communication connection with the signing device and send the first location information to the signing device; The signing device is used to obtain the second position information of the signing device, determine whether the first position information and the second position information meet the preset conditions, and if they meet the preset conditions, send the signature information to the device to be signed, the signature information including the second position information and the seal image; The device to be signed is also used to process the signature information and the file to be signed to obtain a signed file.
7. The system according to claim 6, characterized in that The device to be signed is also used to send the signed document to the signing device; The signing device is also used to obtain the number of the signed file, perform hash calculation on the signed file to obtain the hash value of the signed file, and store the information to be uploaded, the information to be uploaded includes: the number of the signed file and the hash value of the signed file; sign the information to be uploaded to obtain the signature information to be uploaded, and send the information to be uploaded and the signature information to be uploaded to the background.
8. The system according to claim 6, characterized in that: The device to be signed is further used to obtain a confirmation instruction before processing the signature information and the file to be signed to obtain the signed file.
9. The system according to claim 6, characterized in that The signing device is also used to obtain authorization information before sending the signing information to the device to be signed after meeting the preset conditions.
10. The system according to claim 6, characterized in that The signature device includes but is not limited to: a smart key device, an electronic signature pen or a physical seal.