CN111127580B - Custom signature generation method, computer tool, signing method and system - Google Patents
Custom signature generation method, computer tool, signing method and system Download PDFInfo
- Publication number
- CN111127580B CN111127580B CN201911403081.9A CN201911403081A CN111127580B CN 111127580 B CN111127580 B CN 111127580B CN 201911403081 A CN201911403081 A CN 201911403081A CN 111127580 B CN111127580 B CN 111127580B
- Authority
- CN
- China
- Prior art keywords
- value
- signature
- picture
- signing
- pixel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 238000005070 sampling Methods 0.000 claims abstract description 41
- 238000012545 processing Methods 0.000 claims abstract description 25
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims description 3
- 230000004044 response Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000001788 irregular Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000000049 pigment Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000033772 system development Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/18—Legal services
- G06Q50/188—Electronic negotiation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/40—Filling a planar surface by adding surface attributes, e.g. colour or texture
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/60—Editing figures and text; Combining figures or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Health & Medical Sciences (AREA)
- Technology Law (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Image Processing (AREA)
Abstract
In the custom signature generation method, the computer tool, the signing method and the custom signature generation system provided by the application, the custom signature generation method comprises the following steps: receiving a signature picture uploaded by a user; acquiring the sampling interval and the sampling initial value of pixels in the signature picture; reading the RGB value of each pixel in the signature picture; processing the RGB value of each pixel according to the sampling interval, the sampling starting value and a preset transparentization cutting threshold value, and reserving the main tone color in the signature picture to obtain a transparentization picture; and cutting off the transparent pixels at the edge in the transparent picture to obtain a signature. The method can realize the transparent processing of the signature picture uploaded by the user and the personalized customization of the electronic signature.
Description
Technical Field
The application belongs to the technical field of electronic signing, and particularly relates to a custom signature generation method, a computer tool, a signing method and a signing system.
Background
At present, the signature used by an electronic signing system in the software industry is generally preset by a user through a signature management service of the system and is automatically generated by the system, and the user cannot use the signature uploaded by the user to carry out the signature. Even if some electronic signing systems provide a signature uploading function for users, manual PS transparency processing is needed to be carried out on signature pictures under a user line, and then the signature pictures are uploaded, if the signature which is not subjected to the transparency processing is directly used for electronic signature, the signature pictures can cover electronic contract texts, and the complete display of electronic contract contents is seriously affected.
A general enterprise has a signature customized by the enterprise itself, and off-line signing of contracts is also a useful company signature. Most business users, when using an electronic signature system, are more likely to sign up for an electronic contract by uploading a company's signature. However, at present, the electronic signing system in the industry is almost user enterprise signature generated by a system platform, but not enterprise official seal uploaded by the user, which is wanted by the user, and the signing system cannot meet the real requirement of the user in this aspect.
Disclosure of Invention
Aiming at the defects in the prior art, the application provides a custom signature generation method, a computer tool, a signing method and a custom signature generation system, which can realize the transparent processing of signature pictures uploaded by users and realize the personalized customization of electronic signing.
In a first aspect, a method for generating a custom signature includes the steps of:
receiving a signature picture uploaded by a user;
acquiring the sampling interval and the sampling initial value of pixels in the signature picture;
reading the RGB value of each pixel in the signature picture;
processing the RGB value of each pixel according to the sampling interval, the sampling starting value and a preset transparentization cutting threshold value, and reserving the main tone color in the signature picture to obtain a transparentization picture;
and cutting off the transparent pixels at the edge in the transparent picture to obtain a signature.
Preferably, the signature picture uploaded by the user is obtained after the user photographs or scans blank paper covered with the signature.
Preferably, the processing the RGB value of each pixel according to the sampling interval, the sampling start value and the preset transparency cut threshold value, and reserving the dominant hue color in the signature image to obtain the transparency image specifically includes:
discarding the pixel when the R value, the G value and the B value in the RGB value of the pixel are all larger than the sampling start value;
presetting a Rtotal value, a Gtotal value and a B total value, wherein the Rtotal value, the Gtotal value and the B total value are equal;
when R value > max (G, B) +sampling interval in RGB value of pixel, adding 1 to R summation value;
when the G value in the RGB value of the pixel is more than max (R, B) +sampling interval, the G sum value is added with 1;
when the B value in the RGB value of the pixel is larger than max (R, G) +sampling interval, the sum value of B is added with 1;
wherein max is the maximum value calculation;
respectively calculating the sum of R sum value, G sum value and B sum value in all pixels;
and defining the color corresponding to the maximum value in the sum of the Rtotal value, the Gtotal value and the Btotal value as the dominant hue color so as to obtain the transparent picture.
Preferably, after the obtaining of the transparent picture, the method further comprises:
gray processing is carried out on the main tone color of the pixel in the transparent picture;
and replacing the dominant hue color of the pixels in the transparent picture with the signature color set by the user.
Preferably, the cutting off the transparent pixels of the edge in the transparent picture to obtain the signature specifically includes:
and reading the uppermost, lowermost, leftmost and rightmost pixels in the replaced transparent picture, determining coordinates of the four pixels in the transparent picture, and storing all pixel values in the four coordinates to obtain the signature.
In a second aspect, a computer tool includes the custom signature generation method of the first aspect.
In a third aspect, an electronic subscription method includes the steps of:
when the signing interface receives an electronic contract signing request initiated by a user, inputting an electronic contract, and checking whether the signing interface parameters are correct; the interface parameters include: signing the account number, the certificate number and the contract number of the person;
ending the electronic contract signing request if the interface parameters are incorrect;
if the interface parameters are correct, executing the custom signature generation method according to any one of claims 1 to 5 to obtain a signature;
signing the electronic contract by adopting the signature;
and storing the signed electronic contract.
Preferably, the electronic contract signing request further includes a signer and a signature picture.
Preferably, if the interface parameter is correct, executing the custom signature generation method, and obtaining the signature specifically includes:
if the interface parameters are correct, judging whether the signer has a certificate or not; the certificate comprises a CA electronic certificate of the user;
if not, receiving a certificate application request initiated by a signer, applying for a certificate, executing the custom signature generation method, and obtaining a signature;
and if yes, executing the custom signature generation method to obtain the signature.
In a fourth aspect, a subscription system comprises a processor, an input device, an output device, and a memory, the processor, the input device, the output device, and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of:
when the signing interface receives an electronic contract signing request initiated by a user, inputting an electronic contract, and checking whether the signing interface parameters are correct; the interface parameters include: signing the account number, the certificate number and the contract number of the person;
ending the electronic contract signing request if the interface parameters are incorrect;
if the interface parameters are correct, executing the custom signature generation method according to any one of claims 1 to 5 to obtain a signature;
signing the electronic contract by adopting the signature;
and storing the signed electronic contract.
According to the technical scheme, the custom signature generation method, the computer tool, the signing method and the custom signature generation system can realize transparency processing of signature pictures uploaded by users and personalized customization of electronic signing signatures.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. Like elements or portions are generally identified by like reference numerals throughout the several figures. In the drawings, elements or portions thereof are not necessarily drawn to scale.
Fig. 1 is a flowchart of a custom signature generation method according to an embodiment of the present application.
Fig. 2 is a signature image uploaded by a user according to an embodiment of the present application.
Fig. 3 is a signature obtained after the transparency process according to the first embodiment of the present application.
Fig. 4 is a flowchart of an electronic subscription method according to a third embodiment of the present application.
Detailed Description
Embodiments of the technical scheme of the present application will be described in detail below with reference to the accompanying drawings. The following examples are only for more clearly illustrating the technical aspects of the present application, and thus are merely examples, and are not intended to limit the scope of the present application. It is noted that unless otherwise indicated, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Embodiment one:
referring to fig. 1, a custom signature generation method includes the following steps:
s1: receiving a signature picture uploaded by a user; preferably, referring to fig. 2, the signature picture uploaded by the user is obtained after the user photographs or scans blank paper covered with the signature.
Specifically, when the method is used, the enterprise user covers the signature on blank paper (A4 paper) and then converts the covered signature into a picture file in a photographing or scanning mode.
S2: acquiring the sampling interval and the sampling initial value of pixels in the signature picture;
s3: reading the RGB value of each pixel in the signature picture;
s4: processing the RGB value of each pixel according to the sampling interval, the sampling starting value and the preset transparentization cutting threshold value, and reserving the main tone color in the signature picture to obtain the transparentization picture, wherein the method specifically comprises the following steps of:
discarding the pixel when the R value, the G value and the B value in the RGB value of the pixel are all larger than the sampling start value;
presetting a Rtotal value, a Gtotal value and a B total value, wherein the Rtotal value, the Gtotal value and the B total value are equal;
when R value > max (G, B) +sampling interval in RGB value of pixel, adding 1 to R summation value;
when the G value in the RGB value of the pixel is more than max (R, B) +sampling interval, the G sum value is added with 1;
when the B value in the RGB value of the pixel is larger than max (R, G) +sampling interval, the sum value of B is added with 1;
wherein max is the maximum value calculation;
respectively calculating the sum of R sum value, G sum value and B sum value in all pixels;
and defining the color corresponding to the maximum value in the sum of the Rtotal value, the Gtotal value and the Btotal value as the dominant hue color so as to obtain the transparent picture.
Specifically, when background transparentization is carried out on a signature picture, parameters involved in the method include sampling interval, sampling start value, transparentization cutting threshold value and the like. Firstly, acquiring a sampling interval, a sampling starting value and a transparency cutting threshold value in a signature picture, and then reading RGB values of each pixel for comparison analysis, wherein the analysis method comprises the following two steps:
first, RGB color-homogenizing treatment mode: when the R value, the G value and the B value in the RGB value of the pixel are all larger than the sampling initial value, namely the pixel is light, the pixel is discarded at the moment, and the transparency processing is directly carried out.
Second, RGB non-uniform color processing mode:
first, the Rtotal value, the Gtotal value and the Btotal value are preset, and the Rtotal value, the Gtotal value and the Btotal value are equal, for example, the Rtotal value, the Gtotal value and the Btotal value are all set to 0.
When R value is greater than max (G, B) +sampling interval in RGB value of pixel, R value is added with 1;
when the G value in the RGB value of the pixel is larger than max (R, B) +sampling interval, the G value is added with 1;
when the B value in the RGB value of the pixel is larger than max (R, G) +sampling interval, adding 1 to the B value;
respectively calculating the sum of R sum value, G sum value and B sum value in all pixels;
and defining the color corresponding to the maximum value in the sum of the Rtotal value, the Gtotal value and the Btotal value as the dominant hue color so as to obtain the transparent picture. The method comprises the steps of defining the color corresponding to the maximum color value in each pixel as the dominant color of the pixel in a circulating way, and then confirming that the maximum value of the dominant color sum value of all pixels is the dominant hue color of the signature picture.
S5: and cutting off the transparent pixels at the edge in the transparent picture to obtain a signature. The method specifically comprises the following steps:
and reading the uppermost, lowermost, leftmost and rightmost pixels in the replaced transparent picture, determining coordinates of the four pixels in the transparent picture, and storing all pixel values in the four coordinates to obtain the signature. Fig. 3 shows a signature obtained after the transparentization process.
Specifically, the method finally cuts off the transparent pixels at the edges of the picture. And during processing, the color values of the uppermost, the lower, the left and the right sides of the picture are read, the coordinates of the four edges of the picture are determined, the RGB values in the coordinates are stored, the processed picture is generated, the signature is obtained, and the stored signature is output.
The method transparencies the background color of the signature picture. Because the signature pictures obtained by photographing by the user have factors such as light, the uploaded signature pictures have poor effect, and therefore the method needs to process the signature pictures, namely, analyze pixels one by one, including sampling of the pixels, definition of pigment threshold values and the like.
After receiving the signature picture, the method carries out background transparent processing on the signature picture and saves the signature picture into the signature of the enterprise, so that the electronic contract can be electronically signed. According to the method, each pixel of the picture is analyzed and processed, so that the transparency processing of the signature picture uploaded by a user is realized, and the personalized customization of the electronic signature is realized.
Preferably, after the obtaining of the transparent picture, the method further comprises:
gray processing is carried out on the main tone color of the pixel in the transparent picture;
and replacing the dominant hue color of the pixels in the transparent picture with the signature color set by the user.
In particular, the method may also replace the color of the signature with a user-set color, for example, the color of the signature may be modified to blue. In the replacing process, gray processing is firstly carried out on the main color, and then the main color of the pixels in the transparent picture is replaced according to the signature color (such as blue) set by a user, so that the personalized customizing function of the signature color is realized.
The method has wide application scenes, and is widely applied to scenes in which some subscribers have special demands on signatures, such as triangle signatures or other irregular signatures. However, the conventional electronic signing system can only generate a plurality of fixed signatures such as circles, ellipses and the like, and cannot generate irregular signatures. At this time, the user can seal on blank A4 paper in an off-line manner, take a picture or scan a signature picture and upload the picture, so that the uploaded signature can be subjected to transparency processing, and then the electronic contract is signed by using the signature obtained after the processing.
Embodiment two:
a computer tool comprises the custom signature generation method.
Specifically, the code of the method can be packaged into an SDK tool class interface, and the SDK tool class interface is provided for any system needing a signature transparency processing function. When the system is used, the transparency processing interface can be directly called by introducing the computer tool, the transparency processing of the signature is completed, the effects of one-time development and multiple multiplexing of multiple systems are realized, the system development time and the labor input cost are saved, and the development efficiency of other systems is greatly improved.
For a brief description, reference may be made to the corresponding parts of the foregoing method embodiments for a tool provided by the embodiments of the present application.
Embodiment III:
an electronic signing method, see fig. 4, comprises the following steps:
s11: when the signing interface receives an electronic contract signing request initiated by a user, inputting an electronic contract, and checking whether the signing interface parameters are correct; preferably, the electronic contract signing request further includes a signer and a signature picture. The interface parameters include: signing the account number, the certificate number and the contract number of the person; after the interface parameter verification is passed, the signing of the following electronic contract is carried out.
S12: ending the electronic contract signing request if the interface parameters are incorrect;
s13: if the interface parameters are correct, executing the custom signature generation method to obtain a signature;
s14: signing the electronic contract by adopting the signature;
s15: and storing the signed electronic contract.
Specifically, when electronic contract signing is performed, a user initiates an electronic contract signing request, and an electronic contract, a signer and a signature picture are input. And when the verification of the signing interface fails, indicating that the contract signing fails, and ending the electronic contract signing request. If the signing interface is successfully checked, a signature can be generated according to a signature picture provided by a user, and then the generated signature is adopted to sign an electronic contract.
Preferably, if the interface parameter is correct, executing the custom signature generation method, and obtaining the signature specifically includes:
if the interface parameters are correct, judging whether the signer has a certificate or not; the certificate comprises a CA electronic certificate of the user; the certificate is used to electronically sign the electronic contract.
If not, receiving a certificate application request initiated by a signer, applying for a certificate, executing the custom signature generation method, and obtaining a signature;
and if yes, executing the custom signature generation method to obtain the signature.
Specifically, after the interface parameter is successfully checked, the method also needs to judge whether the signer has a certificate, and only under the condition that the signer has the certificate, the electronic contract signing can be performed, and if the signer does not have the certificate, the signer can apply for the certificate and then perform the electronic contract signing.
For a brief description of the method provided in the embodiments of the present application, reference may be made to the corresponding content in the foregoing method embodiments where the description of the embodiments is not mentioned.
Embodiment four:
a subscription system comprising a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory being interconnected, wherein the memory is for storing a computer program comprising program instructions, the processor being configured for invoking the program instructions to perform the method of:
when the signing interface receives an electronic contract signing request initiated by a user, inputting an electronic contract, and checking whether the signing interface parameters are correct; the interface parameters include: signing the account number, the certificate number and the contract number of the person;
ending the electronic contract signing request if the interface parameters are incorrect;
if the interface parameters are correct, executing the custom signature generation method to obtain a signature;
signing the electronic contract by adopting the signature;
and storing the signed electronic contract.
For a brief description of the system provided by the embodiments of the present application, reference may be made to the corresponding content in the foregoing method embodiments where the description of the embodiments is not mentioned.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application, and are intended to be included within the scope of the appended claims and description.
Claims (9)
1. The custom signature generation method is characterized by comprising the following steps of:
receiving a signature picture uploaded by a user;
acquiring the sampling interval and the sampling initial value of pixels in the signature picture;
reading the RGB value of each pixel in the signature picture;
processing the RGB value of each pixel according to the sampling interval, the sampling starting value and a preset transparentization cutting threshold value, and reserving the main tone color in the signature picture to obtain a transparentization picture;
cutting off the transparent pixels at the edge of the transparent picture to obtain a signature;
processing the RGB value of each pixel according to the sampling interval, the sampling start value and the preset transparency cutting threshold value, and reserving the dominant hue color in the signature picture to obtain the transparency picture specifically comprises the following steps:
discarding the pixel when the R value, the G value and the B value in the RGB value of the pixel are all larger than the sampling start value;
presetting a Rtotal value, a Gtotal value and a B total value, wherein the Rtotal value, the Gtotal value and the B total value are equal;
when R value > max (G, B) +sampling interval in RGB value of pixel, adding 1 to R summation value;
when the G value in the RGB value of the pixel is more than max (R, B) +sampling interval, the G sum value is added with 1;
when the B value in the RGB value of the pixel is larger than max (R, G) +sampling interval, the sum value of B is added with 1;
wherein max is the maximum value calculation;
respectively calculating the sum of R sum value, G sum value and B sum value in all pixels;
and defining the color corresponding to the maximum value in the sum of the Rtotal value, the Gtotal value and the Btotal value as the dominant hue color so as to obtain the transparent picture.
2. The method of claim 1, wherein,
the signature picture uploaded by the user is obtained by photographing or scanning blank paper covered with the signature by the user.
3. The custom signature generation method according to claim 1, further comprising, after said obtaining the transparentized picture:
gray processing is carried out on the main tone color of the pixel in the transparent picture;
and replacing the dominant hue color of the pixels in the transparent picture with the signature color set by the user.
4. A method of generating a custom signature as described in claim 3, wherein said cutting out the edge of the transparent picture to obtain the signature specifically comprises:
and reading the uppermost, lowermost, leftmost and rightmost pixels in the replaced transparent picture, determining coordinates of the four pixels in the transparent picture, and storing all pixel values in the four coordinates to obtain the signature.
5. A computer tool comprising the custom signature generation method of any of claims 1-4.
6. An electronic signing method is characterized by comprising the following steps:
when the signing interface receives an electronic contract signing request initiated by a user, inputting an electronic contract, and checking whether the signing interface parameters are correct; the interface parameters include: signing the account number, the certificate number and the contract number of the person;
ending the electronic contract signing request if the interface parameters are incorrect;
if the interface parameters are correct, executing the custom signature generation method according to any one of claims 1 to 4 to obtain a signature;
signing the electronic contract by adopting the signature;
and storing the signed electronic contract.
7. The electronic subscription method of claim 6, wherein,
the electronic contract signing request further includes a signer and a signature picture.
8. The method for electronic subscription according to claim 7, wherein if the interface parameters are correct, executing the custom signature generation method, and obtaining the signature specifically comprises:
if the interface parameters are correct, judging whether the signer has a certificate or not; the certificate comprises a CA electronic certificate of the user;
if not, receiving a certificate application request initiated by a signer, applying for a certificate, executing the custom signature generation method, and obtaining a signature;
and if yes, executing the custom signature generation method to obtain the signature.
9. A subscription system comprising a processor, an input device, an output device, and a memory, the processor, the input device, the output device, and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of:
when the signing interface receives an electronic contract signing request initiated by a user, inputting an electronic contract, and checking whether the signing interface parameters are correct; the interface parameters include: signing the account number, the certificate number and the contract number of the person;
ending the electronic contract signing request if the interface parameters are incorrect;
if the interface parameters are correct, executing the custom signature generation method according to any one of claims 1 to 4 to obtain a signature;
signing the electronic contract by adopting the signature;
and storing the signed electronic contract.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911403081.9A CN111127580B (en) | 2019-12-30 | 2019-12-30 | Custom signature generation method, computer tool, signing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911403081.9A CN111127580B (en) | 2019-12-30 | 2019-12-30 | Custom signature generation method, computer tool, signing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111127580A CN111127580A (en) | 2020-05-08 |
CN111127580B true CN111127580B (en) | 2023-08-15 |
Family
ID=70505858
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911403081.9A Active CN111127580B (en) | 2019-12-30 | 2019-12-30 | Custom signature generation method, computer tool, signing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111127580B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111815646A (en) * | 2020-06-23 | 2020-10-23 | 北京明略软件系统有限公司 | Picture processing method and device |
CN115086005B (en) * | 2022-06-10 | 2024-01-30 | 北京爱知之星科技股份有限公司 | Electronic signature mutual signing method and system among multiple systems, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106100849A (en) * | 2016-06-16 | 2016-11-09 | 李论 | One is safely and effectively to e-file and paper document stamped signature scheme thereof |
CN108257197A (en) * | 2016-12-28 | 2018-07-06 | 航天信息股份有限公司 | A kind of method and system for the setting seal on the perforation at electronic document page-by-page |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106295405B (en) * | 2016-07-25 | 2019-02-12 | 飞天诚信科技股份有限公司 | A kind of method and server for concluding electronic contract |
-
2019
- 2019-12-30 CN CN201911403081.9A patent/CN111127580B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106100849A (en) * | 2016-06-16 | 2016-11-09 | 李论 | One is safely and effectively to e-file and paper document stamped signature scheme thereof |
CN108257197A (en) * | 2016-12-28 | 2018-07-06 | 航天信息股份有限公司 | A kind of method and system for the setting seal on the perforation at electronic document page-by-page |
Also Published As
Publication number | Publication date |
---|---|
CN111127580A (en) | 2020-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8259350B2 (en) | Job-specific print defect management | |
CN111127580B (en) | Custom signature generation method, computer tool, signing method and system | |
JP2004274720A (en) | Data conversion apparatus and data conversion program | |
CN110490181B (en) | Form filling and auditing method, device and equipment based on OCR (optical character recognition) technology and computer storage medium | |
US8254730B2 (en) | Automatic media edit inspector | |
CN110222694B (en) | Image processing method, image processing device, electronic equipment and computer readable medium | |
CN109147708B (en) | Gamma value adjusting method and device of display panel and display equipment | |
JP2015196387A (en) | Method for automatically selecting test parameters of an image inspection system using computer, and image inspection system implementing the method | |
US7502032B2 (en) | Integrating color discrimination assessment into operating system color selection | |
JP2017123015A (en) | Information processing apparatus, image processing method, and program | |
CN112749649A (en) | Method and system for intelligently identifying and generating electronic contract | |
US7277589B2 (en) | Image retouching method, apparatus, and program storage medium, image correcting method, apparatus, and program storage medium, and eye detecting and correcting method apparatus, and program storage medium | |
CN111669312A (en) | Message interaction method, electronic device and medium | |
JP2017212575A (en) | Image reading device and program | |
US10834287B1 (en) | Obscuring marker-outlined free-form areas of a document | |
CN111126273B (en) | Image processing method, device, electronic equipment and storage medium | |
CN110347983B (en) | Training sample storage method and device, electronic equipment and storage medium | |
CN109559707B (en) | Gamma value processing method and device of display panel and display equipment | |
US20060132872A1 (en) | System and method for proofing a page for color discriminability problems | |
US8988448B2 (en) | Image generation method for performing color conversion on an image | |
JP2021057783A5 (en) | Information processing device, control method for information processing device, and program therefor | |
CN110991451B (en) | Correction method and device for card area image of scanned image | |
US20060132871A1 (en) | System and method for determining an image frame color for an image frame | |
US11170211B2 (en) | Information processing apparatus for extracting portions filled with characters from completed document without user intervention and non-transitory computer readable medium | |
US8279492B2 (en) | Image processing devices and computer program products for processing image data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |