CN114781005A - Multi-party-based electronic signature method and device - Google Patents

Multi-party-based electronic signature method and device Download PDF

Info

Publication number
CN114781005A
CN114781005A CN202210694165.8A CN202210694165A CN114781005A CN 114781005 A CN114781005 A CN 114781005A CN 202210694165 A CN202210694165 A CN 202210694165A CN 114781005 A CN114781005 A CN 114781005A
Authority
CN
China
Prior art keywords
signature
signed
file
information
region
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.)
Granted
Application number
CN202210694165.8A
Other languages
Chinese (zh)
Other versions
CN114781005B (en
Inventor
马宇
于建海
孙兆杰
赵可进
王晓靖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Guodun Information Technology Co ltd
Original Assignee
Shandong Guodun Information Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shandong Guodun Information Technology Co ltd filed Critical Shandong Guodun Information Technology Co ltd
Priority to CN202210694165.8A priority Critical patent/CN114781005B/en
Publication of CN114781005A publication Critical patent/CN114781005A/en
Application granted granted Critical
Publication of CN114781005B publication Critical patent/CN114781005B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The invention relates to the technical field of signature management, and particularly discloses an electronic signature method and device based on multiple parties, wherein the method comprises the steps of obtaining a file to be signed, positioning a signature area in the file to be signed, and generating a mark layer according to a positioning result; sending the file to be signed containing the marking layer to a signing terminal according to the signing requirement; receiving the signature information acquired by each signature end in real time, inserting the signature information into the file to be signed, and sending the file to be signed containing the signature information to each signature end; and when the completion information fed back by each signature end is received, counting all files to be signed to obtain complete files. On the basis of a separated signature system, signature information of a user is received in real time, and a signature area in a document to be signed is updated in real time according to the signature information, so that on one hand, the phenomenon of mutual interference can be prevented, and on the other hand, signing parties do not know each other, and the confidentiality is high; the method is suitable for the field of anonymous multi-party signature.

Description

Multi-party-based electronic signature method and device
Technical Field
The invention relates to the technical field of signature management, in particular to an electronic signature method and device based on multiple parties.
Background
The electronic signature is an expression form of the electronic signature, and the electronic signature operation is converted into the same visual effect as the paper document stamping operation by utilizing an image processing technology.
Electronic signatures are widely used as a signature form to replace conventional paper signatures. At present, the process of electronic signature is mostly a double-end interaction process, a signature end is used for interacting with a user, and a service end processes signature information; the separated electronic signature system can be provided with a plurality of signature ends, so that the signature efficiency is improved; however, in the case of the same signature file requiring multi-party common signature, the separated electronic signature system will generate a small problem that some interference occurs in the signature process of multi-party users;
for example, a second party signature area requires five independent subjects, and some overlap occurs when the five subjects are signed. Certainly, this kind of problem can be solved through the mode of signing or opening up a plurality of independent regions in proper order and signing, but when second side quantity is more, the mode efficiency of signing in proper order is lower, and the mode of signing is carried out in a plurality of independent regions can increase the contract page number, influences the convenience.
Disclosure of Invention
The present invention provides a multiparty electronic signature method and apparatus, so as to solve the problems in the background art.
In order to achieve the purpose, the invention provides the following technical scheme:
a multi-party based electronic signing method, the method comprising:
acquiring a file to be signed, positioning a signature area in the file to be signed, and generating a marking layer according to a positioning result; a mapping relation exists between the mark layer and the signature region;
acquiring a signature requirement of a file to be signed, and sending the file to be signed containing a marking layer to a signature end according to the signature requirement;
receiving the signature information acquired by each signature terminal in real time, inserting the signature information into the file to be signed, and sending the file to be signed containing the signature information to each signature terminal;
and when the completion information fed back by each signature end is received, counting all files to be signed to obtain complete files.
As a further scheme of the invention: the steps of acquiring the file to be signed, positioning a signature region in the file to be signed, and generating a marking layer according to a positioning result comprise:
performing text detection on the file to be signed, and marking candidate frames and original confidence degrees corresponding to the candidate frames on the file to be signed according to a text detection result; wherein the position of the candidate box is determined by the text line position;
carrying out contour analysis on the candidate frames, and combining the candidate frames according to the contour analysis result;
recognizing text information in the combined candidate box, and determining a signature area according to the recognized text information;
and determining a marking layer according to the signature region, and inserting the marking layer into the file to be signed.
As a further scheme of the invention: the step of carrying out contour analysis on the candidate frames and combining the candidate frames according to the contour analysis result comprises the following steps:
comparing every two candidate frames in sequence to determine the candidate frames with intersection areas;
acquiring the original confidence of the candidate frame with the intersection area, taking the candidate frame with the higher original confidence as a first candidate frame, and taking the other candidate frame as a second candidate frame;
calculating a loss parameter of the second candidate frame according to the size of the intersection area of the first candidate frame and the second candidate frame and the size of the closure area;
calculating an original intersection ratio of the first candidate frame and the second candidate frame, and correcting the original intersection ratio according to a loss parameter of the second candidate frame to obtain a corrected intersection ratio;
calculating the correction confidence coefficient of the second candidate frame according to the correction union ratio and the original confidence coefficient of the second candidate frame;
and comparing the correction confidence coefficient of the second candidate frame with a preset confidence coefficient threshold value, and combining the two candidate frames according to a comparison result.
As a further scheme of the invention: the method comprises the following steps of obtaining a signature requirement of a file to be signed, and sending the file to be signed containing a mark layer to a signature end according to the signature requirement, wherein the steps comprise:
reading a mark layer in a file to be signed, positioning a signature area in the file to be signed according to the mark layer, and determining a signature range;
acquiring the required number of people of the file to be signed, and calculating to obtain a signature frame according to the required number of people and the signature range; the signature image is the allowable range of one-time signature behavior;
sending the file to be signed containing the marking layer and the obtained signature image width through calculation to each signature end;
when the signature end receives the file to be signed containing the mark layer and the signature map obtained through calculation, the file to be signed containing the mark layer is displayed, point location information input by a user is received, a data receiving area is determined according to the point location information and the signature map, and the data receiving area is matched based on display parameters of the signature end.
As a further scheme of the invention: the steps of receiving the signature information acquired by each signature terminal in real time, inserting the signature information into the file to be signed, and sending the file to be signed containing the signature information to each signature terminal comprise:
receiving signature information containing time information and position information acquired by each signature end in real time, and inserting the signature information into a signature area in the file to be signed according to the time information and the position information;
performing binarization assignment on a signature region containing signature information, and determining a signature outline according to a binarization assignment result;
correcting the signature region and the corresponding marking layer according to the signature contour;
and updating the original file to be signed according to the corrected mark layer, and sending the updated file to be signed to each signing terminal.
As a further scheme of the invention: the steps of carrying out binarization assignment on the signature region containing the signature information and determining the signature outline according to the binarization assignment result comprise:
carrying out XOR operation on the signature area containing the signature information and the initial signature area to obtain a correction layer;
comparing the pixel points in the correction layer with a preset separation threshold value, and assigning values to the pixel points in the correction layer according to the comparison result;
and inserting the assigned correction layer into the signature area and determining the signature outline.
As a further scheme of the invention: the step of correcting the signature region and the corresponding mark layer according to the signature profile comprises the following steps:
querying a complementary set of signature contours in the signature region;
acquiring contour information of a signature region, and determining a boundary vector of the signature region according to the contour information;
segmenting the complementary set according to the boundary vector;
and counting the segmented complementary set to be used as a new signature region, and generating a marking layer according to the new signature region.
The technical scheme of the invention also provides an electronic signature device based on multiple parties, which comprises:
the system comprises a marking layer generating module, a marking layer generating module and a marking layer generating module, wherein the marking layer generating module is used for acquiring a file to be signed, positioning a signature area in the file to be signed and generating a marking layer according to a positioning result; a mapping relation exists between the mark layer and the signature region;
the file sending module is used for acquiring the signature requirement of the file to be signed and sending the file to be signed containing the marking layer to a signature end according to the signature requirement;
the file updating module is used for receiving the signature information acquired by each signature end in real time, inserting the signature information into the file to be signed and sending the file to be signed containing the signature information to each signature end;
and the information counting module is used for counting all files to be signed when the completion information fed back by each signing terminal is received, so as to obtain complete files.
As a further scheme of the invention: the file updating module comprises:
the information inserting unit is used for receiving the signature information containing time information and position information acquired by each signature end in real time and inserting the signature information into a signature area in the file to be signed according to the time information and the position information;
the assignment identification unit is used for carrying out binarization assignment on the signature region containing the signature information and determining a signature outline according to a binarization assignment result;
the correction unit is used for correcting the signature area and the corresponding mark layer according to the signature outline;
and the data sending unit is used for updating the original file to be signed according to the corrected marking layer and sending the updated file to be signed to each signing terminal.
As a further scheme of the invention: the correction unit includes:
a complement query subunit, configured to query a complement of the signature contour in the signature region;
the vector determining subunit is used for acquiring the contour information of the signature region and determining the boundary vector of the signature region according to the contour information;
the segmentation subunit is used for segmenting the complementary set according to the boundary vector;
and the statistical subunit is used for counting the segmented complement set as a new signature region and generating a marking layer according to the new signature region.
Compared with the prior art, the invention has the beneficial effects that: on the basis of a separated signature system, signature information of a user is received in real time, and a signature area in a document to be signed is updated in real time according to the signature information, so that on one hand, the phenomenon of mutual interference can be prevented, and on the other hand, signing parties do not know each other, and the confidentiality is high; the method is suitable for the field of anonymous multi-party signature.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
FIG. 1 is a block flow diagram of a multi-party based electronic signature method.
FIG. 2 is a first sub-flow block diagram of a multi-party based electronic signature method.
FIG. 3 is a second sub-flow block diagram of a multi-party based electronic signing method.
FIG. 4 is a third sub-flow block diagram of a multi-party based electronic signature method.
FIG. 5 is a block diagram of a multi-party based electronic signature device.
FIG. 6 is a block diagram of the components of a file update module in a multi-party based electronic signature device.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention more clearly apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Example 1
Fig. 1 is a flow chart of a multiparty-based electronic signature method, in an embodiment of the present invention, the multiparty-based electronic signature method includes steps S100 to S400:
step S100: acquiring a file to be signed, positioning a signature area in the file to be signed, and generating a marking layer according to a positioning result; a mapping relation exists between the mark layer and the signature region;
the purpose of step S100 is to perform some processing on the file to be signed, and it is not suitable to directly modify the file to be signed by locating the signature region in the file to be signed, so that a layer needs to be copied to represent the signature region, i.e. the above-mentioned mark layer; wherein, the file to be signed is an image file; for example, if the document to be signed is a contract with many terms, the area to be signed actually occupies only a small block, which is the signature area.
Step S200: acquiring a signature requirement of a file to be signed, and sending the file to be signed containing a mark layer to a signature end according to the signature requirement;
the signature requirements are artificially set requirements, for example, a plurality of people are required to sign, the signature mode is fingerprint or signature, a time threshold value in the signature process and the like are artificially specified, and the meaning of sending the file to be signed to the signature end based on the artificial regulations is that the artificial regulations are converted into computer instructions to be sent to the signature end while the file to be signed is sent. For example, if the file to be signed needs 3 personal signatures to be valid, the system will send the instruction information for acquiring 3 personal signatures while sending the file to be signed.
Step S300: receiving the signature information acquired by each signature terminal in real time, inserting the signature information into the file to be signed, and sending the file to be signed containing the signature information to each signature terminal;
step S300 is a continuously repeated step, the signature end interacts with the user, after receiving the signature information input by the user, the system acquires the signature information, and adjusts the file to be signed according to the signature information; it should be noted that the signature information obtained by the signature end is essentially only some key-in information or touch screen information, which is some input signals, and the process of combining these input signals and the file to be signed occurs in the background, that is, in the system; the file to be signed displayed at the signing terminal is continuously filled with the content, and the existing content can not be continuously filled. The purpose is to prevent the multi-party signature process from conflicting.
Step S400: when finishing information fed back by each signature end is received, counting all files to be signed to obtain complete files;
whether the signature process is finished or not is determined by the signature end, and when the system receives an end signal (feedback information) fed back by the signature end, the files to be signed at different stages are counted to obtain a complete file, wherein the complete file is an image library, and a top-level image of the image library is a final file to be signed.
Fig. 2 is a first sub-flow block diagram of a multiparty-based electronic signature method, where the steps of acquiring a to-be-signed file, locating a signature region in the to-be-signed file, and generating a mark layer according to a location result include steps S101 to S104:
step S101: performing text detection on the file to be signed, and marking candidate frames and original confidence degrees corresponding to the candidate frames on the file to be signed according to a text detection result; wherein the position of the candidate box is determined by the text line position;
step S102: carrying out contour analysis on the candidate frames, and combining the candidate frames according to the contour analysis result;
step S103: recognizing text information in the combined candidate box, and determining a signature area according to the recognized text information;
step S104: and determining a marking layer according to the signature region, and inserting the marking layer into the file to be signed.
Step S101 to step S104 specifically limit the generation process of the marking layer, wherein the marking layer and the signature region refer to the same part, but the signature region is in the file to be signed, and the marking layer is a copy layer of the signature region in the file to be signed; as for the determination of the signature area, it is determined by the associated text information, for example, for a contract, the signature area is marked in front of the signature area, such as: the first party signs: ", the blank areas next to these marks are all signature areas, and are valid as long as there is signature content.
Further, the step of performing contour analysis on the candidate frames and merging the candidate frames according to the contour analysis result includes:
comparing every two candidate frames in sequence to determine the candidate frames with intersection areas;
acquiring the original confidence of a candidate frame with an intersection region, and taking the candidate frame with a larger original confidence as a first candidate frame and the other candidate frame as a second candidate frame;
calculating a loss parameter of the second candidate frame according to the size of the intersection area of the first candidate frame and the second candidate frame and the size of the closure area;
calculating an original intersection ratio of the first candidate frame and the second candidate frame, and correcting the original intersection ratio according to a loss parameter of the second candidate frame to obtain a corrected intersection ratio;
calculating the correction confidence coefficient of the second candidate frame according to the correction orthogonal sum ratio and the original confidence coefficient of the second candidate frame;
and comparing the correction confidence of the second candidate frame with a preset confidence threshold, and combining the two candidate frames according to the comparison result.
The above-mentioned content specifically describes the positioning process of the text information, and the core content thereof lies in the positioning of the text box, which is common in the prior art;
specifically, the step of calculating the loss parameter of the second candidate frame according to the size of the intersection area of the first candidate frame and the second candidate frame and the size of the closure area includes:
acquiring the width and the height of the intersection region and the width and the height of the closure region;
and calculating the loss parameter of the second candidate frame according to the height ratio of the intersection area to the closure area and the width ratio of the intersection area to the closure area.
The step of calculating the revised confidence of the second candidate box according to the revised orthogonal sum and the original confidence of the second candidate box comprises:
calculating the attenuation weight of the second candidate frame according to the modified orthogonal sum;
and correcting the original confidence coefficient of the second candidate frame based on the attenuation weight of the second candidate frame to obtain the corrected confidence coefficient of the second candidate frame.
The above-mentioned content specifically defines the optimization process of the candidate frames, and the main purpose is to merge some candidate frames, so that the candidate frames with intersection become a whole, and text recognition is performed on the whole, and the recognition integrity is high.
Further, the calculation formula of the loss parameter C is as follows:
C=(k1×hc/hu+k1×Wc/Wu)2;
where hc and hu are the height and width of the intersection region, Wc and Wu are the height and width of the closure region, respectively, and k1 and k2 are weight coefficients, respectively, preferably k1=0.7 and k2= 0.3.
In the above, when two candidate frames are respectively candidate frames for identifying two text line positions, the ratio of the height of the closure region to the height of the intersection region is smaller than the ratio of the height of the closure region to the height of the intersection region of the two candidate frames for identifying one text line position, so that the loss parameter mainly corrects the original confidence from the height, and thus the weight coefficient of the height ratio is greater than the weight coefficient of the width ratio.
In addition, the calculation formula of the original intersection ratio IOU is:
IOU=(area(M)∩area(Si))/(area(M)∪area(Si));
wherein, M represents a first candidate frame, Si represents a second candidate frame, area (M) and area (Si) are intersection area areas of the two candidate frames, and area (M) and area (Si) are union area areas of the two candidate frames.
In the above, the original intersection represents the overlapping condition of two candidate frames than the IOU.
Fig. 3 is a second sub-flow block diagram of the multiparty-based electronic signature method, where the step of acquiring the signature requirement of the file to be signed and sending the file to be signed containing the mark layer to the signature end according to the signature requirement includes steps S201 to S203:
step S201: reading a marking layer in a file to be signed, positioning a signature region in the file to be signed according to the marking layer, and determining a signature range;
step S202: acquiring the required number of people of the file to be signed, and calculating to obtain a signature frame according to the required number of people and the signature range; the signature image is the allowable range of one-time signature behavior;
step S203: sending the file to be signed containing the marking layer and the obtained signature image width through calculation to each signature end;
when the signature end receives the file to be signed containing the marking layer and the signature image obtained through calculation, the file to be signed containing the marking layer is displayed, point location information input by a user is received, a data receiving area is determined according to the point location information and the signature image, and the data receiving area is matched based on display parameters of the signature end.
Firstly, reading a marking layer in the file to be signed, positioning a signature area according to the marking layer, and further determining a signature range; then, acquiring the required number of people of the file to be signed, and calculating how much each person needs to sign according to the required number of people and the signing range, namely the signing map;
and finally, when the signature end receives the file to be signed and the signature image, receiving point location information input by a user, wherein the point location information means that the user can freely select a certain position in the signature area for signature, and a data receiving area is determined according to the position and the signature image, and the user signature behaviors all occur in the area.
It should be noted that the data receiving area needs to be matched with the display parameters of the signature end, which means that the data receiving area is zoomed into the display range of the signature end, and the zooming may be reduction or enlargement.
Fig. 4 is a third sub-flow block diagram of the multiparty-based electronic signature method, where the steps of receiving the signature information acquired by each signature end in real time, inserting the signature information into the file to be signed, and sending the file to be signed containing the signature information to each signature end include steps S301 to S304:
step S301: receiving signature information containing time information and position information acquired by each signature end in real time, and inserting the signature information into a signature area in the file to be signed according to the time information and the position information;
step S302: performing binarization assignment on a signature region containing signature information, and determining a signature outline according to a binarization assignment result;
step S303: correcting the signature region and the corresponding marking layer according to the signature contour;
step S304: and updating the original file to be signed according to the corrected mark layer, and sending the updated file to be signed to each signing terminal.
The updating process of the file to be signed is specifically limited from the step S301 to the step S304, in a common way, the process is to continuously add contents to the file to be signed, and the added contents contain time information and position information; the added content needs to be obviously different from the signature region, the binarization assignment is a mode for realizing the difference, one example of the binarization assignment is 'white paper black characters', the signature content is assigned to a color value corresponding to black, and the signature region is assigned to a color value corresponding to white; after the binarization assignment process is completed, the outline acquisition process of the signature information is very easy; and after the signature information is updated, the file to be signed is also correspondingly updated.
The above process needs to be repeated until no new signature information appears.
As a preferred embodiment of the technical solution of the present invention, the step of performing binarization assignment on a signature region containing signature information and determining a signature contour according to a binarization assignment result includes:
carrying out XOR operation on the signature area containing the signature information and the initial signature area to obtain a correction layer;
comparing the pixel points in the correction layer with a preset separation threshold value, and assigning values to the pixel points in the correction layer according to the comparison result;
and inserting the assigned correction layer into the signature area and determining the signature outline.
For example, if the signature information is signature information, the edges of the signature information are light and the middle of the signature information is deep due to different forces, and all the signature information can be extracted through the xor operation, even if only a little difference exists; after the signature information is extracted, the boundary of the signature information needs to be determined, a preset separation threshold value is needed in the boundary determination process, if the boundary exceeds the threshold value, the boundary is black, and if the boundary does not exceed the threshold value, the boundary is white.
Further, the step of modifying the signature region and the corresponding mark layer according to the signature profile comprises:
querying a complementary set of signature contours in the signature region;
acquiring outline information of a signature area, and determining a boundary vector of the signature area according to the outline information;
segmenting the complementary set according to the boundary vector;
and counting the segmented complementary set to be used as a new signature region, and generating a marking layer according to the new signature region.
The generation process of the mark layer is specifically described above, and first, regions without signature outlines are determined in the signature regions, the shapes of the regions are not fixed, and the signature regions are mostly rectangular, so that the regions without signature outlines need to be cut and extracted to obtain a small rectangle as a new signature region. The size of the signature area is not particularly important since there is a link at the signature end that matches the display parameters.
Example 2
Fig. 5 is a block diagram of a structure of a multi-party-based electronic signature device, in an embodiment of the present invention, an electronic signature device 10 based on multiple parties includes:
the marking layer generating module 11 is configured to obtain a file to be signed, locate a signature region in the file to be signed, and generate a marking layer according to a location result; a mapping relation exists between the mark layer and the signature region;
the file sending module 12 is configured to obtain a signature requirement of a file to be signed, and send the file to be signed containing a mark layer to a signature end according to the signature requirement;
the file updating module 13 is configured to receive the signature information acquired by each signature end in real time, insert the signature information into the file to be signed, and send the file to be signed containing the signature information to each signature end;
and the information counting module 14 is configured to count all files to be signed when the completion information fed back by each signing end is received, so as to obtain a complete file.
Fig. 6 is a block diagram illustrating the structure of a file updating module 13 in a multi-party-based electronic signature device, where the file updating module 13 includes:
the information inserting unit 131 is configured to receive, in real time, signature information containing time information and position information acquired by each signature end, and insert the signature information into a signature area in the file to be signed according to the time information and the position information;
an assignment identification unit 132, configured to perform binarization assignment on a signature region containing signature information, and determine a signature profile according to a binarization assignment result;
a correction unit 133, configured to correct the signature region and the corresponding mark layer according to the signature profile;
and the data sending unit 134 is configured to update the original file to be signed according to the modified tag layer, and send the updated file to be signed to each signing end.
Further, the correction unit 133 includes:
a complement query subunit, configured to query a complement of the signature contour in the signature region;
the vector determining subunit is used for acquiring the contour information of the signature area and determining the boundary vector of the signature area according to the contour information;
the segmentation subunit is used for segmenting the complementary set according to the boundary vector;
and the counting subunit is used for counting the segmented complement set as a new signature region and generating a mark layer according to the new signature region.
The functions that can be implemented by the multi-party-based electronic signing method are all accomplished by a computer device comprising one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and is loaded and executed by the one or more processors to implement the functions of the multi-party-based electronic signing method.
The processor fetches instructions and analyzes the instructions from the memory one by one, then completes corresponding operations according to the instruction requirements, generates a series of control commands, enables all parts of the computer to automatically, continuously and coordinately act to form an organic whole, realizes the input of programs, the input of data, the operation and the output of results, and the arithmetic operation or the logic operation generated in the process is completed by the arithmetic unit; the Memory comprises a Read-Only Memory (ROM) which is used for storing computer programs, and a protection device is arranged outside the Memory.
Illustratively, the computer program may be partitioned into one or more modules, stored in memory and executed by a processor, to implement the invention. One or more of the modules may be a series of computer program instruction segments capable of performing certain functions, the instruction segments being used to describe the execution of the computer program in the terminal device.
Those skilled in the art will appreciate that the above description of the service device is merely exemplary and not limiting of the terminal device, and may include more or less components than those described, or combine certain components, or different components, such as may include input output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is the control center of the terminal equipment and connects the various parts of the entire user terminal using various interfaces and lines.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the terminal device by operating or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory mainly comprises a storage program area and a storage data area, wherein the storage program area can store an operating system, application programs (such as an information acquisition template display function, a product information publishing function and the like) required by at least one function and the like; the storage data area may store data created according to the use of the berth status display system (such as product information acquisition templates corresponding to different product categories, product information that needs to be issued by different product providers, and the like). In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The terminal device integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the modules/units in the system according to the above embodiment may also be implemented by instructing relevant hardware by a computer program, and the computer program may be stored in a computer-readable storage medium, and when executed by a processor, the computer program may implement the functions of the above embodiments of the system. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A multi-party based electronic signature method, the method comprising:
acquiring a file to be signed, positioning a signature area in the file to be signed, and generating a marking layer according to a positioning result; a mapping relation exists between the marking layer and the signature region;
acquiring a signature requirement of a file to be signed, and sending the file to be signed containing a marking layer to a signature end according to the signature requirement;
receiving the signature information acquired by each signature end in real time, inserting the signature information into the file to be signed, and sending the file to be signed containing the signature information to each signature end;
and when the completion information fed back by each signature end is received, counting all the files to be signed to obtain complete files.
2. The multiparty-based electronic signature method of claim 1, wherein the steps of obtaining a file to be signed, locating a signature region in the file to be signed, and generating a mark layer according to a locating result comprise:
performing text detection on the file to be signed, and marking candidate frames and original confidence degrees corresponding to the candidate frames on the file to be signed according to a text detection result; wherein the position of the candidate box is determined by the text line position;
carrying out contour analysis on the candidate frames, and combining the candidate frames according to the contour analysis result;
identifying text information in the combined candidate box, and determining a signature region according to the identified text information;
and determining a marking layer according to the signature region, and inserting the marking layer into the file to be signed.
3. The multi-party-based electronic signature method of claim 2, wherein the step of performing contour analysis on the candidate frames and merging the candidate frames according to the result of the contour analysis comprises:
comparing every two candidate frames in sequence to determine the candidate frames with intersection areas;
acquiring the original confidence of the candidate frame with the intersection area, taking the candidate frame with the higher original confidence as a first candidate frame, and taking the other candidate frame as a second candidate frame;
calculating a loss parameter of the second candidate frame according to the size of the intersection area of the first candidate frame and the second candidate frame and the size of the closure area;
calculating an original intersection ratio of the first candidate frame and the second candidate frame, and correcting the original intersection ratio according to a loss parameter of the second candidate frame to obtain a corrected intersection ratio;
calculating the correction confidence coefficient of the second candidate frame according to the correction union ratio and the original confidence coefficient of the second candidate frame;
and comparing the correction confidence of the second candidate frame with a preset confidence threshold, and combining the two candidate frames according to the comparison result.
4. The multiparty-based electronic signature method according to claim 2, wherein the step of obtaining the signature requirement of the file to be signed, and sending the file to be signed containing the mark layer to the signature end according to the signature requirement comprises:
reading a marking layer in a file to be signed, positioning a signature region in the file to be signed according to the marking layer, and determining a signature range;
acquiring the required number of people of the file to be signed, and calculating to obtain a signature frame according to the required number of people and the signature range; the signature image is the allowable range of one-time signature action;
sending the file to be signed containing the mark layer and the obtained signature graph breadth through calculation to each signature end;
when the signature end receives the file to be signed containing the mark layer and the signature map obtained through calculation, the file to be signed containing the mark layer is displayed, point location information input by a user is received, a data receiving area is determined according to the point location information and the signature map, and the data receiving area is matched based on display parameters of the signature end.
5. The multiparty-based electronic signature method according to claim 1, wherein the steps of receiving the signature information acquired by each signature end in real time, inserting the signature information into the file to be signed, and sending the file to be signed containing the signature information to each signature end include:
receiving signature information containing time information and position information acquired by each signature end in real time, and inserting the signature information into a signature area in the file to be signed according to the time information and the position information;
carrying out binarization assignment on a signature region containing signature information, and determining a signature outline according to a binarization assignment result;
correcting the signature region and the corresponding marking layer according to the signature contour;
and updating the original file to be signed according to the corrected mark layer, and sending the updated file to be signed to each signing terminal.
6. The multiparty-based electronic signature method of claim 5, wherein the step of performing binary assignment on the signature region containing the signature information, and determining the signature contour according to the result of the binary assignment comprises:
performing XOR operation on the signature region containing the signature information and the initial signature region to obtain a correction layer;
comparing the pixel points in the correction layer with a preset separation threshold value, and assigning values to the pixel points in the correction layer according to the comparison result;
and inserting the assigned correction layer into the signature area and determining the signature outline.
7. The multi-party based electronic signature method of claim 6, wherein said step of modifying said signature region and corresponding label layer according to said signature profile comprises:
querying a complementary set of signature outlines in the signature region;
acquiring contour information of a signature region, and determining a boundary vector of the signature region according to the contour information;
segmenting the complementary set according to the boundary vector;
and counting the segmented complementary set to be used as a new signature region, and generating a marking layer according to the new signature region.
8. A multi-party based electronic signature apparatus, the apparatus comprising:
the system comprises a marking layer generating module, a marking layer generating module and a marking layer generating module, wherein the marking layer generating module is used for acquiring a file to be signed, positioning a signing area in the file to be signed and generating a marking layer according to a positioning result; a mapping relation exists between the mark layer and the signature region;
the file sending module is used for acquiring the signature requirement of the file to be signed and sending the file to be signed containing the marking layer to a signature end according to the signature requirement;
the file updating module is used for receiving the signature information acquired by each signature terminal in real time, inserting the signature information into the file to be signed, and sending the file to be signed containing the signature information to each signature terminal;
and the information counting module is used for counting all the files to be signed when the completion information fed back by each signing terminal is received, so as to obtain complete files.
9. The multi-party based electronic signing device of claim 8, wherein the file update module comprises:
the information inserting unit is used for receiving the signature information containing time information and position information acquired by each signature end in real time and inserting the signature information into a signature area in the file to be signed according to the time information and the position information;
the assignment identification unit is used for carrying out binarization assignment on the signature region containing the signature information and determining a signature outline according to a binarization assignment result;
the correction unit is used for correcting the signature area and the corresponding mark layer according to the signature outline;
and the data sending unit is used for updating the original file to be signed according to the corrected mark layer and sending the updated file to be signed to each signing terminal.
10. The multi-party-based electronic signature device of claim 9, wherein the correction unit comprises:
a complement query subunit, configured to query a complement of the signature contour in the signature region;
the vector determining subunit is used for acquiring the contour information of the signature area and determining the boundary vector of the signature area according to the contour information;
the segmentation subunit is used for segmenting the complementary set according to the boundary vector;
and the statistical subunit is used for counting the segmented complement set as a new signature region and generating a marking layer according to the new signature region.
CN202210694165.8A 2022-06-20 2022-06-20 Multi-party-based electronic signature method and device Active CN114781005B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210694165.8A CN114781005B (en) 2022-06-20 2022-06-20 Multi-party-based electronic signature method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210694165.8A CN114781005B (en) 2022-06-20 2022-06-20 Multi-party-based electronic signature method and device

Publications (2)

Publication Number Publication Date
CN114781005A true CN114781005A (en) 2022-07-22
CN114781005B CN114781005B (en) 2022-09-13

Family

ID=82421273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210694165.8A Active CN114781005B (en) 2022-06-20 2022-06-20 Multi-party-based electronic signature method and device

Country Status (1)

Country Link
CN (1) CN114781005B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164517A1 (en) * 2007-12-21 2009-06-25 Thomas Clay Shields Automated forensic document signatures
CN104463931A (en) * 2015-01-07 2015-03-25 昆山百润科技有限公司 Seal overlapping detecting and processing method under situation of multi-person concurrent signatures
CN104486351A (en) * 2014-12-24 2015-04-01 昆山百润科技有限公司 Client and server capable of supporting multiple persons to sign same document and processing methods
CN110175474A (en) * 2019-05-31 2019-08-27 苏州国泰新点软件有限公司 Merging method, device, medium, server and the user terminal of Electronic Signature
CN112214782A (en) * 2020-11-17 2021-01-12 支付宝(杭州)信息技术有限公司 Electronic document signature method, device and equipment
CN113221190A (en) * 2021-05-08 2021-08-06 国泰新点软件股份有限公司 Electronic signature method, device and system of PDF file and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164517A1 (en) * 2007-12-21 2009-06-25 Thomas Clay Shields Automated forensic document signatures
CN104486351A (en) * 2014-12-24 2015-04-01 昆山百润科技有限公司 Client and server capable of supporting multiple persons to sign same document and processing methods
CN104463931A (en) * 2015-01-07 2015-03-25 昆山百润科技有限公司 Seal overlapping detecting and processing method under situation of multi-person concurrent signatures
CN110175474A (en) * 2019-05-31 2019-08-27 苏州国泰新点软件有限公司 Merging method, device, medium, server and the user terminal of Electronic Signature
CN112214782A (en) * 2020-11-17 2021-01-12 支付宝(杭州)信息技术有限公司 Electronic document signature method, device and equipment
CN113221190A (en) * 2021-05-08 2021-08-06 国泰新点软件股份有限公司 Electronic signature method, device and system of PDF file and storage medium

Also Published As

Publication number Publication date
CN114781005B (en) 2022-09-13

Similar Documents

Publication Publication Date Title
CN110245220B (en) Electronic document signing method, electronic document signing device, electronic document server and storage medium
CN109255356B (en) Character recognition method and device and computer readable storage medium
CN108345882B (en) Method, apparatus, device and computer-readable storage medium for image recognition
CN110503100B (en) Medical document identification method and device, computer device and computer-readable storage medium
JP2016517587A (en) Classification of objects in digital images captured using mobile devices
CN111985202A (en) Method, equipment and storage medium for generating PDF electronic signature based on template
CN108563559A (en) A kind of test method of identifying code, device, terminal device and storage medium
CN109271980A (en) A kind of vehicle nameplate full information recognition methods, system, terminal and medium
WO2023050651A1 (en) Semantic image segmentation method and apparatus, and device and storage medium
CN112396050B (en) Image processing method, device and storage medium
WO2021232670A1 (en) Pcb component identification method and device
CN113158895A (en) Bill identification method and device, electronic equipment and storage medium
CN112749649A (en) Method and system for intelligently identifying and generating electronic contract
CN111724396A (en) Image segmentation method and device, computer-readable storage medium and electronic device
CN111858977A (en) Bill information acquisition method and device, computer equipment and storage medium
JP2017212575A (en) Image reading device and program
CN114781005B (en) Multi-party-based electronic signature method and device
CN115620317A (en) Method and system for verifying authenticity of electronic engineering document
CN109598683A (en) Image display method, apparatus and computer readable storage medium
CN113936187A (en) Text image synthesis method and device, storage medium and electronic equipment
CN112036443A (en) Method and device for labeling object contour in image data
CN113591849A (en) File review method, device, equipment and storage medium based on signature identification
CN112597851A (en) Signature acquisition method and device, electronic equipment and storage medium
CN112434641A (en) Test question image processing method, device, equipment and medium
CN111243058A (en) Object simulation image generation method and computer-readable storage medium

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A multi-party based electronic signature method and device

Granted publication date: 20220913

Pledgee: Jinan Rural Commercial Bank Co.,Ltd.

Pledgor: Shandong GuoDun Information Technology Co.,Ltd.

Registration number: Y2024980002239