CN116189203B - Electronic signature generation method, device, equipment and storage medium - Google Patents

Electronic signature generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN116189203B
CN116189203B CN202211721751.3A CN202211721751A CN116189203B CN 116189203 B CN116189203 B CN 116189203B CN 202211721751 A CN202211721751 A CN 202211721751A CN 116189203 B CN116189203 B CN 116189203B
Authority
CN
China
Prior art keywords
signature
target
information
candidate
signed
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
Application number
CN202211721751.3A
Other languages
Chinese (zh)
Other versions
CN116189203A (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.)
Suzhou Industrial Park Hangxing Information Technology Service Co ltd
Original Assignee
Suzhou Industrial Park Hangxing Information Technology Service 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 Suzhou Industrial Park Hangxing Information Technology Service Co ltd filed Critical Suzhou Industrial Park Hangxing Information Technology Service Co ltd
Priority to CN202211721751.3A priority Critical patent/CN116189203B/en
Publication of CN116189203A publication Critical patent/CN116189203A/en
Application granted granted Critical
Publication of CN116189203B publication Critical patent/CN116189203B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/24Character recognition characterised by the processing or recognition method
    • G06V30/242Division of the character sequences into groups prior to recognition; Selection of dictionaries
    • G06V30/244Division of the character sequences into groups prior to recognition; Selection of dictionaries using graphical properties, e.g. alphabet type or font
    • G06V30/245Font recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/16Image preprocessing
    • G06V30/166Normalisation of pattern dimensions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Character Input (AREA)
  • Collating Specific Patterns (AREA)
  • Storage Device Security (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for generating an electronic signature. The method comprises the following steps: determining a target image based on the file to be signed; acquiring element information forming a target signature to be generated on the document to be signed and first size information of the target image; generating a candidate signature on the target image based at least on the element information and first size information of the target image; and generating the target signature on the document to be signed by utilizing the candidate signature based on the first size information of the target image and the second size information related to the document to be signed.

Description

Electronic signature generation method, device, equipment and storage medium
Technical Field
The present invention relates to the field of data processing, and in particular, to a method, an apparatus, a device, and a storage medium for generating an electronic signature.
Background
With the rapid development of digital technology, it has become a major trend to replace traditional papered archive/file storage with electronic archive/file archiving. In the conventional filing method, after the primary filing operation, a plurality of complicated steps such as scanning, manual stamping, checking, secondary scanning, rechecking and the like are required. High labor cost, long time consumption and low efficiency. The process of signing needs to be repeatedly confirmed, so that the efficiency is low and the error rate is high. And the modification process is complicated, and modification personnel need to keep cautious, so that more effort and time are consumed.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present application is how to generate an electronic signature on a document to be signed correctly and efficiently.
In order to solve the problems, the application discloses an electronic signature generation method, an electronic signature generation device, electronic signature generation equipment and a storage medium.
According to a first aspect of the present application, there is provided an electronic signature generation method. The method comprises the following steps: the method comprises the following steps: determining a target image based on the file to be signed; acquiring element information forming a target signature to be generated on the document to be signed and first size information of the target image; generating a candidate signature on the target image based at least on the element information and first size information of the target image; and generating the target signature on the document to be signed by utilizing the candidate signature based on the first size information of the target image and the second size information related to the document to be signed.
According to some embodiments of the present application, the acquiring element information includes: identifying additional data of the file to be signed to acquire the element information; or receives an external data input to obtain the element information.
According to some embodiments of the present application, the generating the candidate signature includes: acquiring signature limiting information, and determining a candidate frame range of the candidate signature on the target image based on the signature limiting information and first size information of the target image; determining candidate font specifications of the element information in the candidate frame range; and generating the candidate signature by using the element information based on the candidate border range and the candidate font specification.
According to some embodiments of the present application, the generating the target signature includes: determining a conversion relation between the first size information and the second size information; and converting the candidate signature into the target signature based on the conversion relation.
According to some embodiments of the present application, the generating the target signature includes: determining an information distribution area of a target page of the file to be signed and target size information of the target signature; wherein the target signature is applied over the target page; generating the target signature outside the information distribution area of the target page based on the target size information; wherein the target signature does not overlap with the information distribution area.
According to some embodiments of the present application, the determining the information distribution area of the target page includes: and identifying the target page by using an image identification model, and determining the information distribution area.
According to some embodiments of the present application, the document to be signed comprises an archive scan document, and the target signature comprises a six-pane archive signature.
According to some embodiments of the present application, the document to be signed comprises an office automation electronic document, and the target signature comprises a six-pane archive signature; the method further comprises the steps of: and generating encryption time stamp information on the file to be signed.
According to a second aspect of the present application, there is provided an electronic signature generating apparatus. The device comprises a determining module, an obtaining module, a generating module and a converting module. The determining module is used for determining a target image based on the file to be signed; the acquisition module is used for acquiring element information forming a target signature to be generated on the file to be signed and first size information of the target image; the generation module is used for generating a candidate signature on the target image at least based on the element information and the first size information of the target image; the conversion module is used for generating the target signature on the document to be signed by utilizing the candidate signature based on the first size information of the target image and the second size information related to the document to be signed.
According to some embodiments of the present application, to obtain the element information, the obtaining module is configured to: identifying additional data of the file to be signed to acquire the element information; or receives an external data input to obtain the element information.
According to some embodiments of the present application, the generating module is configured to: acquiring signature limiting information, and determining a candidate frame range of the candidate signature on the target image based on the signature limiting information and first size information of the target image; determining candidate font specifications of the element information in the candidate frame range; and generating the candidate signature by using the element information based on the candidate border range and the candidate font specification.
According to some embodiments of the present application, to generate the target signature, the generating module is configured to: determining a conversion relation between the first size information and the second size information; and converting the candidate signature into the target signature based on the conversion relation.
According to some embodiments of the present application, to generate the target signature, the generating module is configured to: determining an information distribution area of a target page of the file to be signed and target size information of the target signature; wherein the target signature is applied over the target page; generating the target signature outside the information distribution area of the target page based on the target size information; wherein the target signature does not overlap with the information distribution area.
According to some embodiments of the present application, to determine an information distribution area of the target page, the generating module is configured to: and identifying the target page by using an image identification model.
According to some embodiments of the present application, the document to be signed comprises an archive scan document, and the target signature comprises a six-pane archive signature.
According to some embodiments of the application, the document to be signed comprises an office automation electronic document, and the target signature comprises a six-pane archive signature; the conversion module is further configured to: and generating encryption time stamp information on the file to be signed.
According to a third aspect of the present application, an apparatus is provided. The apparatus comprises a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method as described above.
According to a fourth aspect of the present application, there is provided an apparatus. The apparatus comprises an electronic signature generating device as described above.
According to a fifth aspect of the present application, a computer readable storage medium is provided. The storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method as described above.
The electronic signature generation method disclosed by the application can efficiently and correctly generate the electronic signature on the document to be signed, reduces the labor cost and improves the efficiency and the accuracy. In addition, the processing of the electronic file can be combined with the time stamp information to ensure the authenticity and reliability of the electronic file. And the electronic signature which is endowed meets the standard requirement after printing.
Drawings
The present application will be further illustrated by way of example embodiments, which will be described in detail with reference to the accompanying drawings. The embodiments are not limiting, in which like numerals represent like structures, wherein:
FIG. 1 is an exemplary flow chart of an electronic signature generation method according to some embodiments of the present application;
FIG. 2 is an exemplary flow chart of determining candidate signatures according to some embodiments of the present application;
FIG. 3 is an exemplary block diagram of a data processing system for scintillation pulse processing shown in accordance with some embodiments of the present application;
FIG. 4 is an exemplary functional block diagram of a data processing system for scintillation pulse processing shown in accordance with some embodiments of the present application.
Detailed Description
In order to make the above objects, features and advantages of the present application more comprehensible, embodiments accompanied with figures are described in detail below. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is, however, susceptible of embodiment in many other forms than those described herein and similar modifications can be made by those skilled in the art without departing from the spirit of the application, and therefore the application is not to be limited to the specific embodiments disclosed below.
It will be understood that when an element is referred to as being "mounted" to another element, it can be directly mounted to the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The term "and/or" and/or "as used herein includes any and all combinations of one or more of the associated listed items.
Some preferred embodiments of the present application are described below with reference to the accompanying drawings. It should be noted that the following description is for illustrative purposes and is not intended to limit the scope of the present application.
Fig. 1 is an exemplary flow chart of an electronic signature generation method according to some embodiments of the present application. In some embodiments, the electronic signature generation method 100 may be performed by the data processing system 300. For example, the electronic signature generation method 100 may be stored in a storage device (e.g., a self-contained memory unit or an external memory device of the data processing system 300) in the form of a program or instructions that, when executed, may implement the electronic signature generation method 100. As shown in fig. 1, the electronic signature generation method 100 may include the following operations.
Step 110, determining a target image based on the file to be signed. In some embodiments, this step may be performed by the determination module 310.
In some embodiments, the document to be signed may be an electronic version document, including but not limited to various native electronic documents directly generated by electronic devices such as computer systems, digital cameras, digital sensors, etc., and digitized electronic documents obtained by digitizing and converting paper or other conventional carrier documents, for example, by scanning. The type of file to be signed may include a text file such as generated using word processor software, a data file such as generated using data processor software, an image file such as obtained using a data acquisition device, etc. The file to be signed may exist in a plurality of file formats such as DOC, DOCX, XLS, XLSX, DBF, BMP, JPG, TIFF, GIF, PNG, CAD, TXT, PDF, OFD. The present application is not particularly limited.
In some embodiments, the target image may be derived based on characteristic data of the document to be signed. The characteristic data may be data indicating the "identity" of the document to be signed. For example, assuming that the file to be signed is a text file such as a PDF file, a top page including a title, a time of delivery, and summary content of the text file may be characteristic data of the PDF file. In some embodiments, the target image may be obtained based on the portion of the data of the document to be signed that requires the generation of an electronic signature. In general, an electronic signature may be assigned to a top page or end page of a text file, for example, directly in the middle of the top page. The image resulting from converting the first page or the last page of the text file may be the target image. The determination module 310 may perform a viable format conversion operation to determine the target image based on the characteristic data of the document to be signed.
In some embodiments, the document to be signed may comprise an archive scan document. For example, a paper file is scanned by a scanning device, and contents contained in the paper file are recognized and converted into computer characters to generate the paper file. The format of the file to be signed may be JPG, BMP, GIF, TIFF, PNG, PDF, OFD or the like. Alternatively or preferably, the file to be signed may be a PDF file. The target image determined based on the document to be signed may be a PNG image. The PNG format image file can retain information related to image quality while the file size is compressed to the limit, and can ensure minimal distortion. The display rate is fast and helps to speed up the data processing speed. It will thus be appreciated that converting a document of a different format type into a target image (e.g. PNG format image) for processing may help to improve processing efficiency when processing the document.
Step 120, obtaining element information forming a target signature to be generated on the document to be signed, and first size information of the target image. In some embodiments, this step may be performed by the acquisition module 320.
In some embodiments, the element information may be information containing specific content of the target signature. For example, assuming that the target signature is a contract signature, the element information may include several words such as a company name full name and a "contract-specific signature". For another example, assuming that the target signature is a archive signature, the element information may include necessary information such as a total number, a year, a storage period, and the like. In some embodiments, the acquisition module 320 may automatically determine the element information. For example, the determining module 310 may obtain the additional data of the file to be signed at the same time after obtaining the file to be signed. The additional data may be data indicating the nature of the document to be signed, including but not limited to source, time of production, type of document, type of signature to be given, signature related content, etc. The generation module 320 may identify the additional data to obtain the element information. In some embodiments, the element information may be input via the external. For example, by data entry means into data processing system 300. The acquisition module 320 may directly acquire the element information inputted through the external data.
In some embodiments, the document to be signed may be an archive scan document and the target signature may be a six-pane archive signature. For example, the document to be signed may be a paper file directly generated after being scanned by the scanning device and transmitted to the data processing system 300. Or transferred from the scanning device to data processing system 300 by other data transfer means, such as by an intermediate storage device, such as a removable hard disk, etc. A six-pane archive seal is a signature assigned to an archive that needs to be archived. The content contained therein may include a full number, a year, a piece number, an organization (problem), a custody period, and a number of pages. The six contents are respectively filled in a cell of the signature.
In some embodiments, the document to be signed may comprise an office automation electronic document and the target signature may be a six-pane archive signature. For example, various institutions, organizations, etc. use electronic documents produced by office automation systems in daily offices. Such as with respect to certain decisions, certain measures, etc. These electronic files also require collection of archives. It may be given a six-grid archive chapter.
In some embodiments, the first size information of the target image may include an image width and an image height in pixels. That is, the first size information may be a resolution (dpi) of the target image. For example, the first size information of the target image may be represented as 320×240. That is, the pixel height of the target image is 320 pixels and the pixel width is 240 pixels. The generation module 320 may determine the first size information by analyzing attributes of the target image.
And step 130, generating a candidate signature on the target image at least based on the element information and the first size information of the target image. In some embodiments, this step may be performed by the generation module 330.
In some embodiments, the candidate signature may be one having the same signature content as the target signature. And typically the size of the target signature is specified. For example, the size of a six-grid archive chapter needs to be 4.5cm×1.6cm. Thus, in generating the candidate signature and/or generating the target signature in the candidate flow, the generation module 330 may determine the size of the candidate signature based on the size definition information for the target signature and the first size information. And determining that the text format includes a font size or the like according to how much content is contained in the element information. In the subsequent processing process, the target signature is generated based on the candidate signature through proportional conversion. For the content of generating the candidate signature, reference may be made to fig. 2 of the present application, and details are not repeated here.
And 140, generating the target signature on the document to be signed by utilizing the candidate signature based on the first size information of the target image and the second size information related to the document to be signed. In some embodiments, this step may be performed by the conversion module 340.
In some embodiments, the second size information related to the file to be signed may be second size information of a page for carrying the target signature. The second size information may also be expressed in terms of image height and image width as the first size information, which is the same or similar. Taking a to-be-signed file as an example of a PDF file, assuming that the resolution of the PDF file is 144/150dpi, the conversion relationship between one centimeter and a pixel may be 1 centimeter= 28.346 pixels. When the paper size to be printed is A4 (210 mm×297 mm), the second size information of the PFD may be 595.266 × 841.8762.
In some embodiments, the conversion module 340 may determine a conversion relationship of the first size information and the second size information and convert the candidate signature into the target signature based on the conversion relationship. The conversion relationship may be, for example, a size ratio (e.g., the ratio between 320×240 and 595.266 × 841.8762 mentioned above). Since the candidate signature differs from the target signature in size, the conversion module 340 may transform the size of the candidate signature based on the size ratio to generate the target signature.
It will be appreciated that when the target signature is given, this is required to be done in the blank of the document to be signed. Accordingly, the conversion module 340 may determine an information distribution area of the target page of the document to be signed when generating the target signature. The target page may be a page to which the target signature is given. For example, the front page of the file to be signed as the PDF file as in the foregoing section. The information distribution area can comprise the position and the range size of various information such as characters, pictures and the like on the target page. The conversion module 340 may identify the target page using an identification model to determine the information distribution area. The recognition model may include a neural network model including, but not limited to, R-CNN, overFeat, SPP-Net, attentionNet, fast R-CNN, fast R-CNN, OHEM, YOLO, SSD, R-FCN, YOLO v2, FPN, retinaNet, mask R-CNN, YOLO v3, refinisheDet, M2Det, and the like, or any combination thereof. The recognition model may also include models built based on recognition algorithms such as Tssaact, ABBYY FineReader, E-ask haran, aspase OCR SDK, anyDoc Software, cuneiForm, dynamsoft OCR SDK, omniPage, GOCR, and the like. The conversion module 340 may use the recognition model to recognize the target page, and then generate a frame line on the target page to frame various information such as text and pictures on the target page, so as to display the range of the information.
In some embodiments, the conversion module 340 may also obtain target size information for the target signature. The target size information may be converted from the size of the candidate signature based on the conversion relation. For example by scaling and/or expansion. The target size information may indicate a range size of the target signature. The conversion module 340 may generate the target signature outside the information distribution area of the target page based on the target size information. Illustratively, the conversion module 340 may search for a blank region outside the information distribution region that is larger than the range size of the target signature. And generating the target signature in the blank area. The generated target signature does not overlap with the information distribution area. In this way, the target signature does not affect the specific content on the document to be signed.
In some embodiments, when the document to be signed is an office automation electronic document, in order to ensure the uniqueness, authenticity and reliability of the electronic document, the conversion module 340 may further generate encrypted timestamp information for the target signature after giving it, so as to perform "identity verification" for the document to be signed. The encrypted timestamp information may be CA center based timestamp information.
In some embodiments, the location of the target signature on the document to be signed may vary. For example, the outside world may input control instructions to the data processing system 300 for adjusting the location of the target signature. According to the control instruction, the position of the target signature can be changed.
In some embodiments, after the target signature is generated on the file to be signed (the file to be signed that completes the signature at this time may be referred to as a target file), the target file may be saved for storage in a storage device of the data processing system 300 (e.g., a self-contained storage unit of the data processing system 300 or an external storage device such as a database or cloud). Can be referred to later. The target file may also be printed to generate a paper document. The target signature may be printed together after printing. And the size of the printed target signature also meets the relevant requirements.
It should be noted that the above description of the steps in fig. 1 is only for illustration and description, and does not limit the application scope of the present specification. Various modifications and changes to the steps of fig. 1 may be made by those skilled in the art under the guidance of this specification. However, such modifications and variations are still within the scope of the present description.
The electronic signature generation method disclosed by the application can efficiently and correctly generate the electronic signature on the document to be signed, reduces the labor cost and improves the efficiency and the accuracy. In addition, the processing of the electronic file can be combined with the time stamp information to ensure the authenticity and reliability of the electronic file. And the electronic signature which is endowed meets the standard requirement after printing.
Fig. 2 is an exemplary flow chart for determining candidate signatures according to some embodiments of the present application. In some embodiments, signature determination method 200 may be performed by generation module 330 of data processing system 300. As shown in fig. 2, the signature determination method 200 may include the following operations.
In step 210, signature definition information is obtained.
In some embodiments, the signature definition information may be information indicating a size of the signature. It should be appreciated that the size of each type of signature is correspondingly specified. For example, a contract chapter, a official chapter, or the like is required to be circular in size. The diameter is 4.2 cm, and the circular side width is 0.1 cm. The printing body adopts Song style character. For another example, an archive chapter such as a six-compartment archive chapter needs to be rectangular in size. The long side is 4.5 cm and the wide side is 1.6 cm. The signature definition information may be data containing the signature size information described above. In some embodiments, the signature definitions information may be pre-stored in the data processing system 300. The generation module 330 may obtain it directly.
It should be noted that the signature definition information is a definition of the size of the signature in the actual case, that is to say on a paper document. That is, after the candidate signature generated on the target image is printed as a paper document, the size of the signature formed on the paper document is required to meet the requirements of the signature defining information. Of course, after the candidate signature is converted into the target signature and then generated on the document to be signed, the size of the signature on the printed paper document also meets the requirement of the signature limiting information.
Step 220, determining a candidate frame range of the candidate signature on the target image based on the signature limiting information and the first size information of the target image.
The determination of candidate bounding box ranges is described below by way of example. The signature limiting information is taken as an example to limit the size of a six-grid filing chapter, and the first size information of the target image is 144/150 dpi. The actual length to pixel conversion ratio is 1 cm= 28.346 pixels. Therefore, when it is necessary to impart a six-grid archival chapter having a size of 4.5 cm×1.6 cm on the target image, the required pixel length and width are 4.5× 28.346 = 127.557 pixels and 1.6× 28.346 = 45.3536 pixels, respectively. The pixel range formed by the pixel length and the pixel width can be a candidate frame range of the candidate signature.
And 230, determining the candidate font specification of the element information in the candidate border range.
It will be appreciated that after the candidate bounding box range is determined, the details of the signature need to be generated within the bounding box. That is, the specific content indicated by the element information. The generating module 330 may select an appropriate font size according to the size of the candidate frame range and the content of the element information, so as to generate the specific content contained in the element information in the candidate frame range. The font specification includes fonts, font sizes, and the like. In some embodiments, the generating module 330 may first determine the thickness of the line that forms the candidate signature, and then determine the blank area within the candidate border range in combination with the candidate border range. I.e. an area capable of carrying said element information. The generating module 330 may calculate the size of the blank area, and determine the required font and font size according to the number of words of the content that is required to be generated in the blank area, so as to achieve the purpose of displaying clearly and completely.
Step 240, generating the candidate signature by using the element information based on the candidate border range and the candidate font specification.
In some embodiments, after determining the candidate bounding box range and the candidate font specification, the generating module 330 may generate the element information within the candidate bounding box range with requirements specified by the candidate font specification to complete the generation of the candidate signature.
It should be noted that the above description of the steps in fig. 2 is only for illustration and description, and does not limit the application scope of the present specification. Various modifications and changes to the individual steps of fig. 2 may be made by those skilled in the art under the guidance of this specification. However, such modifications and variations are still within the scope of the present description.
FIG. 3 is an exemplary block diagram of a data processing system according to some embodiments of the present description. The data processing system may implement threshold correction of the scintillation pulse detector. As shown in fig. 3, the data processing system 800 may include a determination module 310, an acquisition module 320, a generation module 330, and a conversion module 340.
The determination module 310 may determine the target image based on the document to be signed. The document to be signed can be an electronic version document, including but not limited to various original electronic documents directly generated by electronic devices such as a computer system, a digital camera, a digital sensor and the like, and digital electronic documents obtained by digitally converting paper and other traditional carrier documents, for example, through scanning. The target image may be derived based on characteristic data of the document to be signed. In one example, the document to be signed may be a PDF document and the target image may be a PNG image.
The obtaining module 320 may obtain element information constituting a target signature to be generated on the document to be signed, and first size information of the target image. The element information may be information containing specific content of the target signature. For example, assuming that the target signature is a contract signature, the element information may include several words such as a company name full name and a "contract-specific signature". For another example, assuming that the target signature is a archive signature, the element information may include necessary information such as a total number, a year, a storage period, and the like. The acquisition module 320 may automatically determine the element information. The acquisition module 320 may also acquire the element information through an external data input.
The generation module 330 may generate a candidate signature on the target image based at least on the element information and the first size information of the target image. The generation module 330 may determine the size of the candidate signature based on the size definition information for the target signature and the first size information. And determining that the text format includes a font size or the like according to how much content is contained in the element information. In some embodiments, the generation module 330 may obtain signature definitions information. The signature definition information may be information indicating the size of the signature. The generating module 330 may determine a candidate bounding box range of the candidate signature on the target image based on the signature definition information and the first size information of the target image. And determining the candidate font specification of the element information in the candidate border range. After determining the candidate border range and the candidate font specification, the generating module 330 may generate the element information within the candidate border range according to the requirement specified by the candidate font specification, so as to complete the generation of the candidate signature.
The conversion module 340 may generate the target signature on the document to be signed using the candidate signature based on the first size information of the target image and the second size information related to the document to be signed. The conversion module 340 may determine a conversion relationship between the first size information and the second size information, and convert the candidate signature into the target signature based on the conversion relationship. The conversion module 340 may determine an information distribution area of a target page of the document to be signed when generating the target signature. The conversion module 340 may identify the target page using an identification model to determine the information distribution area. The recognition model may be a neural network model. The conversion module 340 may further obtain target size information of the target signature, and generate the target signature outside the information distribution area of the target page based on the target size information. When the document to be signed is an office automation electronic document, in order to ensure the uniqueness, authenticity and reliability of the electronic document, the conversion module 340 may further generate encrypted timestamp information for the target signature after giving it, so as to perform "identity authentication" for the document to be signed. The encrypted timestamp information may be CA center based timestamp information.
Additional description of the above modules may be found in the flow chart section of the present application, e.g., fig. 1-2.
It should be understood that the system shown in fig. 3 and its modules may be implemented in a variety of ways. For example, in some embodiments, the system and its modules may be implemented in hardware, software, or a combination of software and hardware. Wherein the hardware portion may be implemented using dedicated logic; the software portions may then be stored in a memory and executed by a suitable instruction execution system, such as a microprocessor or special purpose design hardware. Those skilled in the art will appreciate that the methods and systems described above may be implemented using computer executable instructions and/or embodied in processor control code, such as provided on a carrier medium such as a magnetic disk, CD or DVD-ROM, a programmable memory such as read only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The system of the present specification and its modules may be implemented not only with hardware circuits such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., but also with software executed by various types of processors, for example, and with a combination of the above hardware circuits and software (e.g., firmware).
It should be noted that the above description of the modules is for convenience of description only and is not intended to limit the present description to the scope of the illustrated embodiments. It will be appreciated by those skilled in the art that, given the principles of the system, various modules may be combined arbitrarily or a subsystem may be constructed in connection with other modules without departing from such principles. For example, each module may share one memory module, or each module may have a respective memory module. Such variations are within the scope of the present description.
Fig. 4 is an exemplary block diagram of a processing device, shown in accordance with some embodiments of the present application. Processing device 400 may include any of the components used to implement the systems described in embodiments of the present application. For example, processing device 400 may be implemented in hardware, software programs, firmware, or a combination thereof. For example, processing device 400 may implement data processing system 300. For convenience, only one processing device is depicted in fig. 4, but implementing the computing functions described in embodiments of the present application may be implemented in a distributed manner by a set of similar platforms to distribute the processing load of the system.
In some embodiments, processing device 400 may include a processor 410, a memory 420, an input/output component 430, and a communication port 440. In some embodiments, processor (e.g., CPU) 410 may execute program instructions in the form of one or more processors. In some embodiments, memory 420 includes different forms of program memory and data memory, such as a hard disk, read-only memory (ROM), random Access Memory (RAM), etc., for storing a wide variety of data files for processing and/or transmission by a computer. In some embodiments, input/output component 430 may be used to support input/output between processing device 900 and other components. In some embodiments, communication port 440 may be connected to a network for enabling data communication. An exemplary processing device may include program instructions stored in read-only memory (ROM), random Access Memory (RAM), and/or other types of non-transitory storage media for execution by processor 410. The methods and/or processes of the embodiments of the present description may be implemented in the form of program instructions. The processing device 400 may also receive the programs and data disclosed in the present application via network communication.
For ease of understanding, only one processor is schematically depicted in fig. 4. It should be noted, however, that the processing device 400 in the embodiments of the present specification may include a plurality of processors, and thus the operations and/or methods described in the embodiments of the present specification as being implemented by one processor may also be implemented by a plurality of processors collectively or individually. For example, if in this specification the processor of the processing device 400 performs steps a and B, it should be understood that steps a and B may also be performed jointly or independently by two different processors of the processing device 400 (e.g., a first processor performing step a, a second processor performing step B, or both the first and second processors jointly performing steps a and B).
Having described the basic concepts herein, it will be apparent to those skilled in the art that the foregoing detailed disclosure is by way of example only and is not intended to be limiting. Although not explicitly described herein, various modifications, improvements, and adaptations to the present disclosure may occur to one skilled in the art. Such modifications, improvements, and modifications are intended to be suggested within this specification, and therefore, such modifications, improvements, and modifications are intended to be included within the spirit and scope of the exemplary embodiments of the present invention.
Meanwhile, the specification uses specific words to describe the embodiments of the specification. Reference to "one embodiment," "an embodiment," and/or "some embodiments" means that a particular feature, structure, or characteristic is associated with at least one embodiment of the present description. Thus, it should be emphasized and should be appreciated that two or more references to "an embodiment" or "one embodiment" or "an alternative embodiment" in various positions in this specification are not necessarily referring to the same embodiment. Furthermore, certain features, structures, or characteristics of one or more embodiments of the present description may be combined as suitable.
Furthermore, those skilled in the art will appreciate that the various aspects of the specification can be illustrated and described in terms of several patentable categories or circumstances, including any novel and useful procedures, machines, products, or materials, or any novel and useful modifications thereof. Accordingly, aspects of the present description may be performed entirely by hardware, entirely by software (including firmware, resident software, micro-code, etc.), or by a combination of hardware and software. The above hardware or software may be referred to as a "data block," module, "" engine, "" unit, "" component, "or" system. Furthermore, aspects of the specification may take the form of a computer product, comprising computer-readable program code, embodied in one or more computer-readable media.
The computer storage medium may contain a propagated data signal with the computer program code embodied therein, for example, on a baseband or as part of a carrier wave. The propagated signal may take on a variety of forms, including electro-magnetic, optical, etc., or any suitable combination thereof. A computer storage medium may be any computer readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code located on a computer storage medium may be propagated through any suitable medium, including radio, cable, fiber optic cable, RF, or the like, or a combination of any of the foregoing.
The computer program code necessary for operation of portions of the present description may be written in any one or more programming languages, including an object oriented programming language such as Java, scala, smalltalk, eiffel, JADE, emerald, C ++, c#, vb net, python, and the like, a conventional programming language such as C language, visual Basic, fortran 3003, perl, COBOL 3002, PHP, ABAP, a dynamic programming language such as Python, ruby, and Groovy, or the like. The program code may execute entirely on the user's computer or as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any form of network, such as a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet), or the use of services such as software as a service (SaaS) in a cloud computing environment.
Furthermore, the order in which the elements and sequences are processed, the use of numerical letters, or other designations in the description are not intended to limit the order in which the processes and methods of the description are performed unless explicitly recited in the claims. While certain presently useful inventive embodiments have been discussed in the foregoing disclosure, by way of various examples, it is to be understood that such details are merely illustrative and that the appended claims are not limited to the disclosed embodiments, but, on the contrary, are intended to cover all modifications and equivalent arrangements included within the spirit and scope of the embodiments of the present disclosure. For example, while the system components described above may be implemented by hardware devices, they may also be implemented solely by software solutions, such as installing the described system on an existing server or mobile device.
Likewise, it should be noted that in order to simplify the presentation disclosed in this specification and thereby aid in understanding one or more inventive embodiments, various features are sometimes grouped together in a single embodiment, figure, or description thereof. This method of disclosure, however, is not intended to imply that more features than are presented in the claims are required for the present description. Indeed, less than all of the features of a single embodiment disclosed above.
In some embodiments, numbers describing the components, number of attributes are used, it being understood that such numbers being used in the description of embodiments are modified in some examples by the modifier "about," approximately, "or" substantially. Unless otherwise indicated, "about," "approximately," or "substantially" indicate that the number allows for a 20% variation. Accordingly, in some embodiments, numerical parameters set forth in the specification and claims are approximations that may vary depending upon the desired properties sought to be obtained by the individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and employ a method for preserving the general number of digits. Although the numerical ranges and parameters set forth herein are approximations that may be employed in some embodiments to confirm the breadth of the range, in particular embodiments, the setting of such numerical values is as precise as possible.
Each patent, patent application publication, and other material, such as articles, books, specifications, publications, documents, etc., referred to in this specification is incorporated herein by reference in its entirety. Except for application history documents that are inconsistent or conflicting with the content of this specification, documents that are currently or later attached to this specification in which the broadest scope of the claims to this specification is limited are also. It is noted that, if the description, definition, and/or use of a term in an attached material in this specification does not conform to or conflict with what is described in this specification, the description, definition, and/or use of the term in this specification controls.
Finally, it should be understood that the embodiments described in this specification are merely illustrative of the principles of the embodiments of this specification. Other variations are possible within the scope of this description. Thus, by way of example, and not limitation, alternative configurations of embodiments of the present specification may be considered as consistent with the teachings of the present specification. Accordingly, the embodiments of the present specification are not limited to only the embodiments explicitly described and depicted in the present specification.

Claims (19)

1. A method of generating an electronic signature, the method comprising:
determining a target image based on the file to be signed; the files to be signed comprise file scanning files and office automation electronic files;
acquiring element information forming a target signature to be generated on the document to be signed and first size information of the target image;
generating a candidate signature on the target image based at least on the element information and first size information of the target image;
and generating the target signature on the document to be signed by utilizing the candidate signature based on the first size information of the target image and the second size information related to the document to be signed.
2. The electronic signature generation method as recited in claim 1, wherein the acquiring element information includes:
Identifying additional data of the file to be signed to acquire the element information; or alternatively
An external data input is received to obtain the element information.
3. The method of generating an electronic signature as recited in claim 1, wherein the generating a candidate signature comprises:
acquiring signature definition information
Determining a candidate frame range of the candidate signature on the target image based on the signature limiting information and the first size information of the target image;
determining candidate font specifications of the element information in the candidate frame range;
and generating the candidate signature by using the element information based on the candidate border range and the candidate font specification.
4. The method of generating an electronic signature as recited in claim 1, wherein the generating the target signature comprises:
determining a conversion relation between the first size information and the second size information;
and converting the candidate signature into the target signature based on the conversion relation.
5. The method of generating an electronic signature as recited in claim 4, wherein the generating the target signature comprises:
determining an information distribution area of a target page of the file to be signed and target size information of the target signature; wherein the target signature is applied over the target page;
Generating the target signature outside the information distribution area of the target page based on the target size information; wherein the target signature does not overlap with the information distribution area.
6. The method of generating an electronic signature as recited in claim 5, wherein said determining an information distribution area of the target page comprises:
and identifying the target page by using an image identification model, and determining the information distribution area.
7. The method of any of claims 1-6, wherein the target signature comprises a six-pane archival signature.
8. The method according to any one of claims 1 to 6, wherein when the document to be signed is an office automation electronic document, the target signature includes a six-pane filing signature; the method further comprises the steps of:
and generating encryption time stamp information on the file to be signed.
9. An electronic signature generating device is characterized by comprising a determining module, an acquiring module, a generating module and a converting module;
the determining module is used for determining a target image based on the file to be signed; the files to be signed comprise file scanning files and office automation electronic files;
The acquisition module is used for acquiring element information forming a target signature to be generated on the document to be signed and first size information of the target image;
the generation module is used for generating a candidate signature on the target image at least based on the element information and the first size information of the target image;
the conversion module is configured to generate the target signature on the document to be signed by using the candidate signature based on the first size information of the target image and the second size information related to the document to be signed.
10. The electronic signature generating apparatus as recited in claim 9, wherein to acquire the element information, the acquiring module is configured to:
identifying additional data of the file to be signed to acquire the element information; or alternatively
An external data input is received to obtain the element information.
11. The electronic signature generation apparatus of claim 9, wherein the generation module is configured to generate candidate signatures:
acquiring signature definition information
Determining a candidate frame range of the candidate signature on the target image based on the signature limiting information and the first size information of the target image;
Determining candidate font specifications of the element information in the candidate frame range;
and generating the candidate signature by using the element information based on the candidate border range and the candidate font specification.
12. The electronic signature generation apparatus of claim 9, wherein to generate the target signature, the generation module is to:
determining a conversion relation between the first size information and the second size information;
and converting the candidate signature into the target signature based on the conversion relation.
13. The electronic signature generation apparatus of claim 12, wherein to generate the target signature, the generation module is to:
determining an information distribution area of a target page of the file to be signed and target size information of the target signature; wherein the target signature is applied over the target page;
generating the target signature outside the information distribution area of the target page based on the target size information; wherein the target signature does not overlap with the information distribution area.
14. The electronic signature generation apparatus of claim 13, wherein to determine an information distribution area of the target page, the generation module is to:
And identifying the target page by using an image identification model, and determining the information distribution area.
15. The electronic signature generation apparatus of any one of claims 9-14, wherein the target signature comprises a six-pane archival signature.
16. The electronic signature generation apparatus as recited in any one of claims 9-14, wherein when the document to be signed is an office automation electronic document, the target signature comprises a six-pane archive signature; the conversion module is further configured to:
and generating encryption time stamp information on the file to be signed.
17. An electronic signature generating apparatus, characterized by comprising: memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method according to any of claims 1-8.
18. An electronic signature generating apparatus, characterized by comprising: the electronic signature generation apparatus as recited in any one of claims 9-16.
19. A computer readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method according to any of claims 1-8.
CN202211721751.3A 2022-12-30 2022-12-30 Electronic signature generation method, device, equipment and storage medium Active CN116189203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211721751.3A CN116189203B (en) 2022-12-30 2022-12-30 Electronic signature generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211721751.3A CN116189203B (en) 2022-12-30 2022-12-30 Electronic signature generation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116189203A CN116189203A (en) 2023-05-30
CN116189203B true CN116189203B (en) 2024-03-29

Family

ID=86431995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211721751.3A Active CN116189203B (en) 2022-12-30 2022-12-30 Electronic signature generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116189203B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113779656A (en) * 2021-09-18 2021-12-10 厦门海迈科技股份有限公司 Stamping method, electronic file platform and computer readable storage medium
CN114359553A (en) * 2022-03-17 2022-04-15 北京惠朗时代科技有限公司 Signature positioning method and system based on Internet of things and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10776563B2 (en) * 2018-04-04 2020-09-15 Docusign, Inc. Systems and methods to improve a technological process for signing documents

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113779656A (en) * 2021-09-18 2021-12-10 厦门海迈科技股份有限公司 Stamping method, electronic file platform and computer readable storage medium
CN114359553A (en) * 2022-03-17 2022-04-15 北京惠朗时代科技有限公司 Signature positioning method and system based on Internet of things and storage medium

Also Published As

Publication number Publication date
CN116189203A (en) 2023-05-30

Similar Documents

Publication Publication Date Title
US8732570B2 (en) Non-symbolic data system for the automated completion of forms
CN107797978B (en) Method and system for input area in document of handwriting device
US10943107B2 (en) Simulating image capture
US20160055376A1 (en) Method and system for identification and extraction of data from structured documents
TW565803B (en) System and method for accurately recognizing text font in a document processing system
US9558158B2 (en) Automated document translation
US20210081660A1 (en) Information processing apparatus and non-transitory computer readable medium
US20220036063A1 (en) Document information extraction for computer manipulation
CN109726369B (en) Intelligent templated bibliography technology implementation method based on standard documents
US20200298590A1 (en) Image to script converter
CN112749649A (en) Method and system for intelligently identifying and generating electronic contract
US20220269898A1 (en) Information processing device, information processing system, information processing method, and non-transitory computer readable medium
CN116189203B (en) Electronic signature generation method, device, equipment and storage medium
US20200327356A1 (en) Generation of digital document from analog document
KR102296668B1 (en) Method for compensating digital image in public institution documentary
US10917538B2 (en) Information processing apparatus and non-transitory computer readable storage medium storing information processing program
US20240161451A1 (en) Information processing system, processing method, and recording medium
US10095452B2 (en) Method and system for providing assistance by multi-function device for document preparation
CN114943065A (en) User-defined multi-watermark combination generation method, system and storage medium
CN115661839A (en) Bill filing method, device, terminal and storage medium
CN108121960A (en) A kind of standard resource processes overall process electronization management-control method
CN116503889B (en) File and electronic file processing method, device, equipment and storage medium
CN116304266B (en) File management system
Sojka Digitization Workflow in the Czech Digital Mathematics Library
KR102313056B1 (en) A Sheet used to providing user-customized fonts, a device for providing user custom fonts, and method for providing the same

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
CB02 Change of applicant information

Address after: Room 1608, Building 1, Rongsheng Business Center, No. 135 Wangdun Road, Suzhou Industrial Park, Suzhou Area, China (Jiangsu) Pilot Free Trade Zone, Suzhou City, Jiangsu Province, 215000

Applicant after: Suzhou Industrial Park Hangxing Information Technology Service Co.,Ltd.

Address before: 3rd Floor, Zone A, Archive Building, No. 328 Suzhou Avenue East, Suzhou City, Jiangsu Province, 215000

Applicant before: Suzhou Industrial Park Hangxing Information Technology Service Co.,Ltd.

CB02 Change of applicant information
CB03 Change of inventor or designer information

Inventor after: Mei Hong

Inventor after: Pan Peiyuan

Inventor after: Hu Chen

Inventor after: Chen Jinpeng

Inventor before: Pan Peiyuan

Inventor before: Chen Jinpeng

Inventor before: Hu Chen

Inventor before: Mei Hong

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant