Multi-factor security signature method, device, system, equipment, medium and product
By generating a QR code, including handwritten signature web program running URL and USB key call parameters, using the user terminal device to handwritten signature and perform digital signature, combined with the image invisible watermark algorithm, the existing signature method is solved with high cost, limited use and The problem of easy forgery has achieved low cost and wide application of multi-factor security signatures.
Patent Information
- Application Number
- CN202411251721.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-09-09
AI Technical Summary
The existing signature method is costly, limited in use scenarios, easy to be forged, and data anchor points in USB keys are easily stolen.
Generate QR codes containing handwritten signature web program running URL address and USB key call parameters, scan the user terminal device to open the handwritten signature web page, and use the USB key digital signature image after completing handwritten signature, and use the image invisible watermark algorithm to convert the signature data. Embed the signed image with user-defined information.
It reduces the signature cost, expands the usage scenarios, effectively prevents signature forgery and USB key data theft, and does not affect the display and use of handwritten signatures.
Smart Images

Figure CN118779931B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of information security technology, and specifically relates to a multi-factor security signature method, device, system, equipment, medium and product. Background Art
[0002] In office applications, various documents need to be transmitted or various approval workflows need to be executed. However, these documents or workflows may be leaked or forged at any time, so signatures are required in many places.
[0003] At present, most signature methods use digital / certificate signatures. In the application of many security technologies, although the existing electronic document signature technology is relatively mature, it still needs to rely on special equipment such as signature verification servers and signature servers. These signature methods do not include handwritten signatures, which makes them not intuitive enough. Of course, there are also existing signature methods that use handwriting tablets and handwritten signature images to sign, and some directly use USB keys (i.e., a hardware device with a universal serial bus interface, which has a built-in single-chip microcomputer or smart card chip, and has a certain amount of storage space to store the user's private key and digital certificate) and use the data in the USB key as an anchor point for digital signatures, and there are also many digital signatures using mobile phones.
[0004] The above-mentioned signature methods all have the problem of single means, which will lead to high cost and limited usage scenarios. For example, one of the existing digital signature technical solutions is to first use a handwriting tablet to obtain a handwritten signature image, then use a digital certificate to digitally sign the handwritten signature image, and then store the image information and the digital signature information in sequence as a whole digital signature. Because the handwritten signature image and the digital signature are stored separately, this method needs to pay attention to the storage format, and the signature verification is relatively complicated, that is, it is necessary to identify whether the handwritten content is the person's handwriting, and to identify the authenticity of the image digital signature. In addition, the cost of the handwriting tablet is relatively high; the second existing digital signature technical solution is to use a handwriting tablet in combination with a USB key: first use a handwriting tablet to handwrite and store the handwritten signature image, then insert the handwritten signature image into the document to be signed, and finally digitally sign the document. The disadvantages of this method are that, first, the scenario is limited, and a single document must be hybrid digitally signed instead of using the handwritten signature for multi-factor signature security, which makes it unsuitable for multi-person signature scenarios in workflow steps. Second, the handwriting tablet needs to be installed and maintained, and the cost is also high. Therefore, how to provide a low-cost and easy-to-implement multi-factor handwriting and digital signature solution to avoid signature forgery and theft of data anchor points in USB keys is a topic that technicians in this field urgently need to study. Summary of the invention
[0005] The purpose of the present invention is to provide a multi-factor secure signature method, device, system, computer equipment, computer-readable storage medium and computer program product to solve the problems of existing signature methods such as high cost, limited usage scenarios, easy signature forgery and easy theft of data anchor points in USB keys.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] In a first aspect, a multi-factor security signature method is provided, which is executed by a computer device that is communicatively connected to a user terminal device, and includes:
[0008] When the user starts the handwriting signature, a QR code containing the handwriting signature web program running URL address and USB key calling parameters is generated, and the QR code is displayed on the human-computer interaction interface, so that the user terminal device can obtain the handwriting signature web program running URL address and USB key calling parameters by scanning the QR code;
[0009] In response to a request by the user terminal device to open a web page at a URL address using the handwriting signature web program, the web page of the handwriting signature web program is opened on the user terminal device;
[0010] When the user completes the handwritten signature on the handwritten signature web program web page, receiving the handwritten signature image and the USB key calling parameter returned by the handwritten signature web program web page;
[0011] Using the USB key calling parameters to call the data in the USB key to digitally sign the handwritten signature image, generating signature data;
[0012] The signature data and user-defined information are added to the handwritten signature image in the form of an invisible watermark using an image invisible watermark algorithm to obtain a signature image and apply it.
[0013] Based on the above invention content, a new signature scheme based on a handwritten signature web program, a USB key and an image invisible watermark algorithm is provided, that is, when a user starts a handwritten signature, a QR code containing the handwritten signature web program running URL address and USB key calling parameters is generated and displayed, and then a web page opening request using the scanned URL address is responded to by the user terminal device, so that the handwritten signature web program web page is opened on the terminal device, and then when the user completes the handwritten signature on the web page, the handwritten signature image and calling parameters returned by the web page are received, and finally the calling parameters are used to call the data in the USB key to digitally sign the signature image, generate signature data, and use the image invisible watermark algorithm to add the signature data / and user-defined information to the signature image in the form of an invisible watermark, so as to obtain a signature image and apply it, so as to solve the problems of high cost, limited usage scenarios, easy signature forgery and easy theft of data anchor points in the USB key in the existing signature methods, and facilitate practical application and promotion.
[0014] In a possible design, the QR code also includes a unique identifier of the handwritten signature task, so that the user terminal device can also obtain the unique identifier of the handwritten signature task by scanning the QR code;
[0015] Receiving the handwritten signature image and the USB key calling parameter returned by the handwritten signature web program web page, including:
[0016] Receive the handwritten signature image, the USB key calling parameter and the handwritten signature task unique identifier returned by the handwritten signature web program web page.
[0017] In a possible design, the USB key calling parameters include a unique identification storage address and a signature algorithm identifier of the USB key.
[0018] In a possible design, receiving the handwritten signature image returned by the handwritten signature web program web page includes:
[0019] Receiving the encoding result obtained by encoding the handwritten signature image in base64 encoding mode and transmitted back by the handwritten signature web program web page end;
[0020] The encoding result is decoded to restore the handwritten signature image.
[0021] In a possible design, the invisible image watermark algorithm adopts a DCT-based algorithm, an LSB-based algorithm, a DWT-based algorithm, or a DWT-DCT-SVD-based digital watermark algorithm.
[0022] In a second aspect, a multi-factor security signature device is provided, which is suitable for being arranged in a computer device connected to a user terminal device in communication, and includes a QR code generating unit, a web page opening unit, a feedback information receiving unit, a signature data generating unit, and a signature image acquiring unit;
[0023] The two-dimensional code generating unit is used to generate a two-dimensional code containing the URL address of the handwriting signature web program and the USB key calling parameters when the user starts the handwriting signature, and display the two-dimensional code on the human-computer interaction interface so that the user terminal device can obtain the URL address of the handwriting signature web program and the USB key calling parameters by scanning the two-dimensional code;
[0024] The web page opening unit is used to respond to the web page opening request of the user terminal device using the handwriting signature web program to run the URL address, so that the handwriting signature web program web page is opened on the user terminal device;
[0025] The feedback information receiving unit is used to receive the handwritten signature image and the USB key calling parameter returned by the handwritten signature web program web page end when the user completes the handwritten signature on the handwritten signature web program web page end;
[0026] The signature data generating unit is communicatively connected to the feedback information receiving unit, and is used to use the USB key calling parameters to call the data in the USB key to digitally sign the handwritten signature image and generate signature data;
[0027] The signature image acquisition unit is communicatively connected to the signature data generation unit, and is used to add the signature data / and user-defined information to the handwritten signature image in the form of an invisible watermark using an image invisible watermark algorithm to obtain a signature image and apply it.
[0028] In a third aspect, a multi-factor security signature system is provided, comprising a signature server and a user terminal device, wherein the signature server and the user terminal device are communicatively connected in the same local area network;
[0029] The signing server is used to execute the multi-factor secure signing method as described in the first aspect or any possible design of the first aspect;
[0030] The user terminal device is used to scan the QR code to obtain the handwriting signature web program running URL address and USB key calling parameters in the QR code, and use the handwriting signature web program running URL address to request the signature server to respond and open the handwriting signature web program web page on the local device, so that the user can complete the handwriting signature on the handwriting signature web program web page.
[0031] In a fourth aspect, the present invention provides a computer device comprising a memory, a processor and a transceiver which are communicatively connected in sequence, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program to execute the multi-factor security signature method as described in the first aspect or any possible design of the first aspect.
[0032] In a fifth aspect, the present invention provides a computer-readable storage medium having instructions stored thereon. When the instructions are executed on a computer, the multi-factor security signature method as described in the first aspect or any possible design of the first aspect is executed.
[0033] In a sixth aspect, the present invention provides a computer program product, comprising a computer program or instructions, which, when executed by a computer, implements the multi-factor security signature method as described in the first aspect or any possible design of the first aspect.
[0034] Beneficial effects of the above scheme:
[0035] (1) The present invention provides a new signature scheme based on a handwritten signature web program, a USB key and an invisible image watermark algorithm, that is, when a user starts a handwritten signature, a QR code containing the URL address of the handwritten signature web program and the USB key calling parameters is generated and displayed, and then a web page opening request of the user terminal device using the scanned URL address is responded to, so that the web page of the handwritten signature web program is opened on the terminal device, and then when the user completes the handwritten signature on the web page, the handwritten signature image and calling parameters returned by the web page are received, and finally the calling parameters are used to call the data in the USB key to digitally sign the signature image, generate signature data, and use the invisible image watermark algorithm to add the signature data / and user-defined information to the signature image in the form of an invisible watermark, so as to obtain a signature image and apply it. In this way, the problems of high cost, limited usage scenarios, easy signature forgery and easy theft of data anchor points in the USB key existing in the existing signature methods can be solved, and practical application and promotion are facilitated;
[0036] (2) Since the handwritten signature image is digitally signed using a USB key and then added to the handwritten signature image as a steganographic watermark (i.e., invisible watermark), the uniqueness of the handwritten signature is guaranteed, effectively preventing signature forgery and the easy misappropriation of the data anchor point in the USB key, and does not affect the display and use of the handwritten signature;
[0037] (3) Since user terminal devices such as smartphones are used as the handwriting terminal, and since almost everyone has smartphones, there is no need to purchase additional handwriting devices, saving costs on multi-factor security signatures;
[0038] (4) Since it uses user terminal devices such as smart phones as input terminals, it is easy to maintain. And since it uses web page handwriting, there is no need to develop a dedicated client, which simplifies the system complexity and can be applied to various smart terminal devices.
[0039] (5) Since the handwritten signature image generated by multiple factors contains an invisible watermark, the handwritten signature image can be used alone, thus having a wider range of usage scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present invention 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, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 A schematic diagram of a multi-factor security signature method provided in an embodiment of the present application.
[0042] Figure 2 A schematic diagram of the structure of a multi-factor security signature device provided in an embodiment of the present application.
[0043] Figure 3 A schematic diagram of the structure of a multi-factor security signature system provided in an embodiment of the present application.
[0044] Figure 4 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in combination with the drawings and the description of the embodiments or the prior art. Obviously, the following description of the structures of the drawings is only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these embodiments without creative work. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.
[0046] It should be understood that although the terms first and second, etc. may be used herein to describe various objects, these objects should not be limited by these terms. These terms are only used to distinguish one object from another object. For example, a first object can be referred to as a second object, and similarly, a second object can be referred to as a first object without departing from the scope of the exemplary embodiments of the present invention.
[0047] It should be understood that the term "and / or" that may appear in this document is merely a description of the association relationship between associated objects, indicating that there may be three relationships. For example, A and / or B can indicate three situations: A exists alone, B exists alone, or A and B exist at the same time. For another example, A, B and / or C can indicate the existence of any one of A, B and C or any combination of them. The term " / and" that may appear in this document describes another type of association object relationship, indicating that there may be two relationships. For example, A / and B can indicate two situations: A exists alone or A and B exist at the same time. In addition, the character " / " that may appear in this document generally indicates that the previous and next associated objects are in an "or" relationship.
[0048] Example
[0049] like Figure 1 As shown, the multi-factor security signature method provided in the first aspect of this embodiment can be, but is not limited to, executed by a computer device having certain computing resources and communicating with a user terminal device, such as a signature server based on a web (World Wide Web, also known as the World Wide Web) server. The user terminal device is an electronic device held by a user and having a QR code scanning function, such as a personal computer (Personal Computer, PC, refers to a multi-purpose computer with a size, price and performance suitable for personal use; desktops, laptops, small laptops and tablets and ultrabooks are all personal computers) with a camera, a smart phone, a personal digital assistant (Personal Digital Assistant, PDA) or a wearable device. In addition, in order to ensure security, the user terminal device and the computer device are preferably communicatively connected in the same local area network (for example, the user's mobile phone can communicate with the handwritten signature web program in the signature server through a WiFi network). As Figure 1 As shown, the multi-factor security signature method may include, but is not limited to, the following steps S1 to S5.
[0050] S1. When the user starts the handwriting signature, a QR code is generated containing but not limited to the handwriting signature web program running URL (Uniform Resource Locator, which is a representation method for specifying the location of information on the World Wide Web service program of the Internet. It was originally invented by Tim Berners-Lee as the address of the World Wide Web) address and USB key calling parameters, and the QR code is displayed on the human-computer interaction interface so that the user terminal device can obtain the handwriting signature web program running URL address and the USB key calling parameters by scanning the QR code.
[0051] In step S1, the specific method of the user starting the handwritten signature may be, but is not limited to, for example, the user clicking a "handwritten signature" start button or link on the human-computer interaction interface when a handwritten signature is required. The specific method of generating the QR code may be, but is not limited to, calling a pre-customized handwritten signature web program running address QR code generator to generate it. Specifically, the USB key calling parameters include, but are not limited to, the USB key unique identification storage address and signature algorithm identification.
[0052] S2. Responding to the user terminal device's request to open a web page at a URL address using the handwriting signature web program, so that the handwriting signature web program web page is opened on the user terminal device.
[0053] In step S2, the handwriting signature web program web page is used to provide a handwriting signature input interface for the user in the form of a web page. Since the user terminal device uses the handwriting signature web program to run the URL address to open the handwriting signature web program web page, there is no need to install a special program or change the user terminal form, which is low-cost and easy to implement. In addition, the specific response method of the web page opening request is an existing conventional technical means, which will not be repeated here.
[0054] S3. When the user completes the handwritten signature on the handwritten signature web program web page, the handwritten signature image and the USB key calling parameters returned by the handwritten signature web program web page are received.
[0055] In step S3, the user can perform a handwritten signature on the handwritten signature web program web page, and click the "Complete Signature" button on the handwritten signature web program web page to indicate that the handwritten signature on the handwritten signature web program web page has been completed. At this time, the handwritten signature web program web page will immediately return the acquired handwritten signature image and the USB key calling parameters. For greater security and to ensure the uniqueness of the returned information, preferably, the QR code also includes but is not limited to a handwritten signature task unique identifier, etc., so that the user terminal device can also obtain the handwritten signature task unique identifier by scanning the QR code; and receive the handwritten signature image and the USB key calling parameters returned by the handwritten signature web program web page, including but not limited to: receiving the handwritten signature image, the USB key calling parameters and the handwritten signature task unique identifier returned by the handwritten signature web program web page, so that if the handwritten signature task unique identifier is not included in the returned information, the received returned information will be deleted, and / or if the previous handwritten signature image and the previous USB key calling parameters bound to the handwritten signature task unique identifier have been received, the returned information containing the handwritten signature task unique identifier and the subsequent handwritten signature image and the subsequent USB key calling parameters bound to the handwritten signature task unique identifier will be deleted. In addition, considering that the handwritten signature image may be large, in order to improve the transmission efficiency, it is preferred to receive the handwritten signature image transmitted back by the handwritten signature web program web page, including but not limited to the following steps: first receive the encoding result obtained by encoding the handwritten signature image using base64 encoding method and transmitted back by the handwritten signature web program web page; then decode the encoding result to restore the handwritten signature image; the aforementioned base64 encoding method is one of the most common encoding methods on the existing network and is used to transmit 8Bit bytecode.
[0056] S4. Using the USB key calling parameters to call the data in the USB key, digitally sign the handwritten signature image to generate signature data.
[0057] In step S4, the specific method of calling the data in the USB key needs to use the existing USB key and its supporting program. In addition, the specific generation process of the signature data can be conventionally derived based on the existing digital signature technology, which will not be repeated here.
[0058] S5. Use an invisible watermark algorithm to add the signature data and user-defined information to the handwritten signature image in the form of an invisible watermark to obtain a signature image and apply it.
[0059] In step S5, invisible image watermarking technology is a watermarking technology that embeds information into the pixel data of an image without significantly affecting the appearance of the image. This watermarking technology uses digital signal processing and encryption algorithms to embed and extract watermark information, making the watermark almost invisible visually, thereby protecting the copyright and authenticity of the image. Thus, through the aforementioned steps S4 to S5, a signature image containing both handwritten signature information and USB (Universal Serial Bus) signature information can be obtained, and then the signature image can be routinely applied to documents or workflows as needed to achieve the purpose of multi-factor security signature.
[0060] In step S5, specifically, the invisible watermark algorithm for the image may be, but is not limited to, an algorithm based on DCT (Discrete Cosine Transform), an algorithm based on LSB (Least Significant Bit), an algorithm based on DWT (Discrete Wavelet Transform), or a digital watermark algorithm based on DWT-DCT-SVD (Singular Value Decomposition). The aforementioned DCT-based algorithm converts the image into the frequency domain through discrete cosine transform, and then selects appropriate coefficients in the frequency domain to embed the watermark information; experimental results show that the algorithm can resist common image processing operations, such as JPEG (JointPhotographic Experts Group, an image compression technology standard developed by the expert group of the same name) compression, filtering and cropping, and can successfully extract watermark information even when the image quality is severely degraded; this algorithm has a high embedding capacity and good robustness, and can be applied to copyright protection, content authentication and data hiding. The aforementioned LSB-based algorithm is a simple and effective digital watermark embedding algorithm, which embeds watermark information by modifying the least significant bit of the image; this algorithm is simple to implement, not easily detected, and can resist certain image processing operations; however, its anti-attack capability is relatively weak and is easily interfered by noise. The aforementioned DWT-based algorithm decomposes the image into sub-bands of different frequencies through discrete wavelet transform, and then selects appropriate coefficients in these sub-bands to embed watermark information; this algorithm is suitable for digital watermark encryption technology for copyright protection. Although the amount of hidden information is not large, it has good anti-attack capability. The aforementioned singular value decomposition (SVD) is a very important decomposition method in matrix analysis applications, especially the unitary diagonalization of normal matrices, which occupies an important position in signal processing, digital image processing, statistics and other fields, and is widely used; singular value decomposition has important properties such as transposition invariance, rotation invariance, displacement invariance and mirror transformation invariance, which makes the singular value features more stable when describing images; when a small disturbance is applied to the image, the singular values of the image will not change much, and the singular values show the intrinsic characteristics of the image rather than the visual characteristics, reflecting the relationship between the elements of the image matrix; SVD is usually used to extract the eigenvalues of the image to achieve dimensionality reduction or image compression; in digital watermarking technology, it can also be used to improve the robustness of the watermark.The aforementioned digital watermarking algorithm based on DWT-DCT-SVD combines the respective advantages of the DCT-based algorithm and the DWT-based algorithm, and uses a combination of the two algorithms to embed digital watermarks. Among them, the DWT-based algorithm is used to embed the watermark in the low-frequency part of the image to ensure the robustness of the watermark, while the DCT-based algorithm concentrates the important visual information of the image in a small part of the coefficients after the transformation to improve the invisibility of the image watermark. The aforementioned algorithms have their own characteristics, and the appropriate algorithm can be selected according to the specific application scenario and requirements. For example, if a higher embedding capacity and better robustness are required, the DCT-based algorithm may be more suitable; if there are high requirements for the complexity and concealment of the algorithm, the LSB or DWT-based algorithm can be considered.
[0061] In step S5, the signature data and user-defined information are added to the handwritten signature image in the form of an invisible watermark, which specifically refers to: adding the signature data to the handwritten signature image in the form of an invisible watermark, or adding the signature data and user-defined information to the handwritten signature image in the form of an invisible watermark. The user-defined information specifically but not limited to includes the user's customized purpose for the handwritten signature image, so that user-defined information such as the purpose of the signature can also be added to the handwritten signature image in the form of an invisible watermark, further improving the flexibility of signature use and expanding the use scenarios. The user-defined information can be specifically but not limited to being filled in on the handwritten signature web program web page and returned together with the handwritten signature image and the USB key call parameters.
[0062] Therefore, based on the multi-factor security signature method described in the aforementioned steps S1 to S5, a new signature scheme based on a handwritten signature web program, a USB key and an invisible image watermark algorithm is provided, that is, when a user starts a handwritten signature, a QR code containing the URL address of the handwritten signature web program and the USB key calling parameters is generated and displayed, and then a web page opening request using the scanned URL address of the user terminal device is responded to, so that the web page of the handwritten signature web program is opened on the terminal device, and then when the user completes the handwritten signature on the web page, the handwritten signature image and calling parameters returned by the web page are received, and finally the calling parameters are used to call the data in the USB key to digitally sign the signature image, generate signature data, and use the invisible image watermark algorithm to add the signature data / and user-defined information to the signature image in the form of an invisible watermark, so as to obtain a signature image and apply it, so as to solve the problems of high cost, limited usage scenarios, easy signature forgery and easy theft of data anchor points in the USB key in the existing signature methods, and facilitate practical application and promotion.
[0063] like Figure 2 As shown, the second aspect of this embodiment provides a virtual device for implementing the multi-factor security signature method described in the first aspect, which is suitable for being arranged in a computer device that is connected to a user terminal device for communication, and includes a two-dimensional code generation unit, a web page opening unit, a feedback information receiving unit, a signature data generation unit, and a signature image acquisition unit;
[0064] The two-dimensional code generating unit is used to generate a two-dimensional code containing the URL address of the handwriting signature web program and the USB key calling parameters when the user starts the handwriting signature, and display the two-dimensional code on the human-computer interaction interface so that the user terminal device can obtain the URL address of the handwriting signature web program and the USB key calling parameters by scanning the two-dimensional code;
[0065] The web page opening unit is used to respond to the web page opening request of the user terminal device using the handwriting signature web program to run the URL address, so that the handwriting signature web program web page is opened on the user terminal device;
[0066] The feedback information receiving unit is used to receive the handwritten signature image and the USB key calling parameter returned by the handwritten signature web program web page end when the user completes the handwritten signature on the handwritten signature web program web page end;
[0067] The signature data generating unit is communicatively connected to the feedback information receiving unit, and is used to use the USB key calling parameters to call the data in the USB key to digitally sign the handwritten signature image and generate signature data;
[0068] The signature image acquisition unit is communicatively connected to the signature data generation unit, and is used to add the signature data / and user-defined information to the handwritten signature image in the form of an invisible watermark using an image invisible watermark algorithm to obtain a signature image and apply it.
[0069] The working process, working details and technical effects of the aforementioned device provided in the second aspect of this embodiment can refer to the multi-factor security signature method described in the first aspect, and will not be repeated here.
[0070] like Figure 3As shown, the third aspect of this embodiment provides an entity system for implementing the multi-factor security signature method described in the first aspect, including but not limited to a signature server and a user terminal device, wherein the signature server and the user terminal device are communicatively connected in the same local area network; the signature server is used to execute the multi-factor security signature method as described in the first aspect; the user terminal device is used to scan the QR code to obtain the handwritten signature web program running URL address and USB key calling parameters in the QR code, and use the handwritten signature web program running URL address to request the signature server to respond to open the handwritten signature web program web page on the local device, so that the user can complete the handwritten signature on the handwritten signature web program web page. Figure 3 As shown, the signature server is specifically installed with a handwriting signature web program running address QR code generator, a handwriting signature web program, a USB key and its supporting programs, etc., wherein the handwriting signature web program is subdivided into a handwriting web page front end and a signature background program. The handwriting signature web program running address QR code generator is used to generate a QR code containing the handwriting signature web program running URL address and USB key call parameters when the user starts the handwriting signature, and display the QR code on the human-computer interaction interface. The handwriting web page front end is used to respond to the web page opening request of the user terminal device using the handwriting signature web program running URL address, so that the handwriting signature web program web page end is opened on the user terminal device. The signature background program is used to receive the handwritten signature image and the USB key calling parameters returned by the handwritten signature web program web page when the user completes the handwritten signature on the handwritten signature web program web page, and then use the USB key and its supporting program to call the data in the USB key using the USB key calling parameters to digitally sign the handwritten signature image, generate signature data, and finally use the image invisible watermark algorithm to add the signature data / and user-defined information to the handwritten signature image in the form of an invisible watermark to obtain the signature image and apply it.
[0071] The working process, working details and technical effects of the aforementioned system provided in the third aspect of this embodiment can be referred to the multi-factor security signature method described in the first aspect, and will not be described in detail here.
[0072] like Figure 4As shown, the fourth aspect of this embodiment provides a computer device for executing the multi-factor security signature method as described in the first aspect, including a memory, a processor and a transceiver that are sequentially connected in communication, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program to execute the multi-factor security signature method as described in the first aspect. For example, the memory may include, but is not limited to, a random access memory (Random-Access Memory, RAM), a read-only memory (Read-Only Memory, ROM), a flash memory (Flash Memory), a first-in-first-out memory (First Input First Output, FIFO) and / or a first-in-last-out memory (First Input Last Output, FILO), etc.; the processor may include, but is not limited to, a microprocessor of the STM32F105 series. In addition, the computer device may also include, but is not limited to, a power module, a display screen and other necessary components.
[0073] The working process, working details and technical effects of the aforementioned computer device provided in the fourth aspect of this embodiment can be referred to the multi-factor security signature method described in the first aspect, and will not be described in detail here.
[0074] In a fifth aspect, the present embodiment provides a computer-readable storage medium storing instructions including the multi-factor security signature method as described in the first aspect, that is, the computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the multi-factor security signature method as described in the first aspect is executed. The computer-readable storage medium refers to a carrier for storing data, which may include but is not limited to computer-readable storage media such as floppy disks, optical disks, hard disks, flash memories, USB flash drives, and / or memory sticks, and the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
[0075] The working process, working details and technical effects of the aforementioned computer-readable storage medium provided in the fifth aspect of this embodiment can be referred to the multi-factor security signature method described in the first aspect, and will not be repeated here.
[0076] A sixth aspect of this embodiment provides a computer program product, including a computer program or instructions, wherein the computer program or instructions, when executed by a computer, implements the multi-factor security signature method as described in the first aspect. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
[0077] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A multi-factor security signature method, characterized in that: Executed by a computer device connected to a user terminal device, including: When the user starts the handwriting signature, a QR code containing the handwriting signature web program running URL address and USB key calling parameters is generated, and the QR code is displayed on the human-computer interaction interface, so that the user terminal device can obtain the handwriting signature web program running URL address and USB key calling parameters by scanning the QR code; In response to a request by the user terminal device to open a web page at a URL address using the handwriting signature web program, the web page of the handwriting signature web program is opened on the user terminal device; When the user completes the handwritten signature on the handwritten signature web program web page, receiving the handwritten signature image and the USB key calling parameter returned by the handwritten signature web program web page; Using the USB key calling parameters to call the data in the USB key to digitally sign the handwritten signature image, generating signature data; The signature data and user-defined information are added to the handwritten signature image in the form of an invisible watermark using an image invisible watermark algorithm to obtain a signature image and apply it, wherein adding the signature data and user-defined information to the handwritten signature image in the form of an invisible watermark means: adding the signature data to the handwritten signature image in the form of an invisible watermark, or adding the signature data and user-defined information to the handwritten signature image in the form of an invisible watermark.
2. The multi-factor security signature method according to claim 1, characterized in that: The two-dimensional code also includes a unique identifier of the handwritten signature task, so that the user terminal device can also obtain the unique identifier of the handwritten signature task by scanning the two-dimensional code; Receiving the handwritten signature image and the USB key calling parameter returned by the handwritten signature web program web page, including: Receive the handwritten signature image, the USB key calling parameter and the handwritten signature task unique identifier returned by the handwritten signature web program web page.
3. The multi-factor security signature method according to claim 1, characterized in that: The USB key calling parameters include a unique identification storage address and a signature algorithm identification of the USB key.
4. The multi-factor security signature method according to claim 1, characterized in that: Receiving the handwritten signature image returned by the handwritten signature web program web page terminal includes: Receiving the encoding result obtained by encoding the handwritten signature image in base64 encoding mode and transmitted back by the handwritten signature web program web page end; The encoding result is decoded to restore the handwritten signature image.
5. The multi-factor security signature method according to claim 1, characterized in that: The invisible image watermark algorithm adopts a DCT-based algorithm, an LSB-based algorithm, a DWT-based algorithm or a DWT-DCT-SVD-based digital watermark algorithm.
6. A multi-factor security signature device, characterized in that: Suitable for being arranged in a computer device connected to a user terminal device for communication, comprising a QR code generating unit, a web page opening unit, a feedback information receiving unit, a signature data generating unit and a signature image acquiring unit; The two-dimensional code generating unit is used to generate a two-dimensional code containing the URL address of the handwriting signature web program and the USB key calling parameters when the user starts the handwriting signature, and display the two-dimensional code on the human-computer interaction interface so that the user terminal device can obtain the URL address of the handwriting signature web program and the USB key calling parameters by scanning the two-dimensional code; The web page opening unit is used to respond to the web page opening request of the user terminal device using the handwriting signature web program to run the URL address, so that the handwriting signature web program web page is opened on the user terminal device; The feedback information receiving unit is used to receive the handwritten signature image and the USB key calling parameter returned by the handwritten signature web program web page end when the user completes the handwritten signature on the handwritten signature web program web page end; The signature data generating unit is communicatively connected to the feedback information receiving unit, and is used to use the USB key calling parameters to call the data in the USB key to digitally sign the handwritten signature image and generate signature data; The signature image acquisition unit is communicatively connected to the signature data generation unit, and is used to add the signature data / and user-defined information to the handwritten signature image in the form of an invisible watermark using an image invisible watermark algorithm, to obtain the signature image and apply it, wherein adding the signature data / and user-defined information to the handwritten signature image in the form of an invisible watermark means: adding the signature data to the handwritten signature image in the form of an invisible watermark, or adding the signature data and user-defined information to the handwritten signature image in the form of an invisible watermark.
7. A multi-factor security signature system, characterized in that: It includes a signature server and a user terminal device, wherein the signature server and the user terminal device are communicatively connected in the same local area network; The signature server is used to execute the multi-factor security signature method according to any one of claims 1 to 5; The user terminal device is used to scan the QR code to obtain the handwriting signature web program running URL address and USB key calling parameters in the QR code, and use the handwriting signature web program running URL address to request the signature server to respond and open the handwriting signature web program web page on the local device, so that the user can complete the handwriting signature on the handwriting signature web program web page.
8. A computer device, characterized in that: The invention comprises a memory, a processor and a transceiver which are communicatively connected in sequence, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program and execute the multi-factor security signature method as claimed in any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed on the computer, the multi-factor security signature method as described in any one of claims 1 to 5 is executed.
10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or the instruction is executed by a computer, the multi-factor security signature method according to any one of claims 1 to 5 is implemented.
