CN115035527A - Method, device and equipment for identifying electronic signature position - Google Patents

Method, device and equipment for identifying electronic signature position Download PDF

Info

Publication number
CN115035527A
CN115035527A CN202210954705.1A CN202210954705A CN115035527A CN 115035527 A CN115035527 A CN 115035527A CN 202210954705 A CN202210954705 A CN 202210954705A CN 115035527 A CN115035527 A CN 115035527A
Authority
CN
China
Prior art keywords
identifier
signature
signed
positioning
content
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
CN202210954705.1A
Other languages
Chinese (zh)
Other versions
CN115035527B (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.)
Jiameng Ruipu Science & Technology Development Co ltd Beijing
Original Assignee
Jiameng Ruipu Science & Technology Development Co ltd Beijing
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 Jiameng Ruipu Science & Technology Development Co ltd Beijing filed Critical Jiameng Ruipu Science & Technology Development Co ltd Beijing
Priority to CN202210954705.1A priority Critical patent/CN115035527B/en
Publication of CN115035527A publication Critical patent/CN115035527A/en
Application granted granted Critical
Publication of CN115035527B publication Critical patent/CN115035527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/14Image acquisition
    • G06V30/1444Selective acquisition, locating or processing of specific regions, e.g. highlighted text, fiducial marks or predetermined fields
    • G06V30/1448Selective acquisition, locating or processing of specific regions, e.g. highlighted text, fiducial marks or predetermined fields based on markings or identifiers characterising the document or the area
    • 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/18Extraction of features or characteristics of the image
    • G06V30/18105Extraction of features or characteristics of the image related to colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Document Processing Apparatus (AREA)
  • Collating Specific Patterns (AREA)
  • Storage Device Security (AREA)

Abstract

The application relates to a method, a device and equipment for identifying an electronic signature position, wherein the method comprises the steps of obtaining an electronic document to be signed, wherein the electronic document to be signed is a document in which a plurality of positioning identifiers are embedded in advance; acquiring signature parameter information, wherein the signature parameter information comprises a corresponding relation and a plurality of positioning identifier information, and the positioning identifier information comprises: the identifier content, the corresponding relation is the corresponding relation between a plurality of positioning identifiers and respective corresponding signatures; identifying a plurality of positioning identifiers in the electronic document to be signed based on the identifier content, and determining the identifier position of each identified positioning identifier; and for each identified positioning identifier, determining a target signature corresponding to each identified positioning identifier based on the corresponding relation, and executing a signature operation based on the target signature and the identifier position. The problem of inaccurate electronic signature drop is solved, and the electronic signature has the effect of accurately positioning the electronic signature drop.

Description

Method, device and equipment for identifying electronic signature position
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for identifying an electronic signature position.
Background
At present, electronic signatures are an application of electronic signature technology, the electronic signature technology is changed into a common signature stamping mode which is more consistent with the traditional credit habits and integrity systems of people, the electronic signatures need to be accurately positioned when the electronic signatures are stamped in documents, and signature errors are avoided.
However, the conventional method for determining the electronic signature position usually identifies common key words in the electronic document, and signatures at the positions of the key words, so that the signature is not required at some key words, but the signature operation is performed, so that the electronic signature position cannot be accurately identified, and the signature position is wrong.
Therefore, how to accurately position the position of the signature drop becomes a technical problem to be solved in the field.
Disclosure of Invention
In order to identify the position of the electronic signature, the application provides a method, a device and equipment for identifying the position of the electronic signature.
In a first aspect, the present application provides a method for identifying an electronic signature position, which adopts the following technical scheme: a method of identifying a location of an electronic signature, comprising:
acquiring an electronic document to be signed, wherein the electronic document to be signed is a document in which a plurality of positioning identifiers are embedded in advance;
obtaining signature parameter information, wherein the signature parameter information includes a corresponding relationship and a plurality of positioning identifier information, and the positioning identifier information includes: identifier content, the correspondence being of a plurality of location identifiers and respective corresponding signatures;
identifying a plurality of positioning identifiers in the electronic document to be signed based on the identifier content, and determining the identifier position of each identified positioning identifier;
and for each identified positioning identifier, determining a target signature corresponding to each identified positioning identifier based on the corresponding relation, and executing a signature operation based on the target signature and the identifier position.
By adopting the technical scheme, the electronic document to be signed and the signature parameter information embedded with the positioning identifiers are obtained, each positioning identifier and the corresponding identifier position can be determined based on the content of the identifiers in the signature parameter information, the target signature corresponding to each positioning identifier is determined based on the corresponding relation in the signature parameter information, the signature operation is executed, the positions of the positioning identifiers are used as corresponding seals to be distributed according to different identifiers, the automatic signature is realized by positioning, the simultaneous stamping of a plurality of different types of signatures is realized, the situation of inaccurate positioning caused by the fact that the signature positions are determined through keywords in the related technology can be effectively reduced, and the more accurate position of the electronic signature falling position can be obtained.
In one possible implementation, the identifying, based on the identifier content, a number of location identifiers in the electronic document to be signed includes:
acquiring a page number range to be signed of the electronic document to be signed;
a number of location identifiers within the range of page numbers to be signed are identified based on identifier content.
By adopting the technical scheme, the page number range to be signed of a plurality of page numbers of the electronic document to be signed can be obtained, and a plurality of positioning identifiers are identified in the appointed page number range, so that the accuracy and the efficiency of determining the position of the electronic signature are improved.
In one possible implementation manner, the signature parameter information further includes:
an offset of an electronic signature position relative to the location identifier position, an amount of rotation of the electronic signature;
the performing a signature operation based on the eye tag seal and the identifier location, comprising:
determining the position of the electronic signature according to the identifier position and the offset;
and executing signature operation according to the electronic signature position and the rotation amount.
By adopting the technical scheme, the position relation between the electronic signature position and the positioning identifier and the rotation amount of the electronic signature can be adjusted based on the offset of the electronic signature position relative to the positioning identifier position and the rotation amount of the electronic signature, so that a more accurate electronic signature position can be obtained.
In one possible implementation, the location identifier information further includes color information, font size information; the identifying a number of location identifiers in the electronic document to be signed based on identifier content, comprising:
determining a target area of the electronic document to be signed based on the color information and/or the font size information;
within the target area, a number of location identifiers in the electronic document to be signed are identified based on identifier content.
By adopting the technical scheme, the positioning identifier carries various dimension information, the positioning identifier information can also comprise color information and font size information, the positioning identifier information is distinguished from other text contents of the document on the color of the identifier and/or the font size of the identifier, preliminary screening is carried out to determine a target area, then in the target area, the positioning identifier is identified based on the content of the identifier, and on the basis of meeting the accuracy of determining the position of the positioning identifier, the identification efficiency can also be improved.
In one possible implementation manner, the signature parameter information further includes: defining start and end symbols for a location identifier;
identifying a number of location identifiers in the electronic document to be signed based on identifier content, previously comprising:
obtaining initial positions of a plurality of positioning identifiers in the electronic document to be signed based on the starting symbols and the ending symbols;
correspondingly, the identifying a plurality of positioning identifiers in the electronic document to be signed based on the identifier content comprises:
identifying a number of location identifiers in the electronic document to be signed based on the initial location, identifier content.
By adopting the technical scheme, the starting and ending symbols for limiting the positioning identifier are set, the initial position of the positioning identifier can be quickly found, and then the electronic document to be signed is identified based on the initial position and the identifier content, so that the obtained position of the positioning identifier is more accurate.
In one possible implementation manner, the obtaining of the electronic document to be signed includes:
acquiring an electronic document original embedded with a plurality of positioning identifiers, wherein the electronic document original embedded with the plurality of positioning identifiers is obtained based on an initial electronic document original and the plurality of positioning identifiers of set positions;
acquiring document content; and generating the electronic document to be signed according to the document content and the original document of the electronic document.
By adopting the technical scheme, the electronic document to be signed is obtained from the original document and the document content of the electronic document, and at the moment, the electronic document to be signed is automatically embedded with the positioning identifiers without resetting the positioning identifiers every time, so that the efficiency of obtaining the electronic document to be signed is improved.
In one possible implementation manner, the generating an electronic document to be signed according to the document content and the electronic document original includes:
determining the content identification of each sub-content in the document content;
filling each sub-content to a corresponding position in the original document of the electronic document based on the content identification of each sub-content to obtain the electronic document to be signed;
when any sub-content is filled in to the corresponding position, the area size of the corresponding position can automatically adapt to the content size of the sub-content.
By adopting the technical scheme, the sub-content can be filled in the corresponding position of the original document of the electronic document based on the content identification of each sub-content of the document content, the area size of the position can be automatically adjusted based on the content size of the sub-content, the format of the obtained electronic document to be signed is more standard, the document content can be displayed by fully utilizing the page size, and the user experience is greatly improved.
In one possible implementation manner, after performing a signature operation based on the eye tag seal and the identifier position, the method further includes:
acquiring a document output request carrying an output type;
and acquiring the data information of the signed document, and performing data conversion on the data information of the signed document according to the output type to obtain an output document.
By adopting the technical scheme, the data information of the signed electronic document is acquired, and the data information is converted based on the output type according to the acquired document output request carrying the output type, so that different types of output documents are obtained, and the requirements of various output types of users are met.
In a second aspect, the present application provides a device for identifying an electronic signature position, which adopts the following technical solution:
an apparatus for identifying the position of an electronic signature comprises,
the electronic document acquisition module is used for acquiring an electronic document to be signed, wherein the electronic document to be signed is a document in which a plurality of positioning identifiers are embedded in advance;
the signature parameter acquiring module is used for acquiring signature parameter information, wherein the signature parameter information comprises a corresponding relation and a plurality of positioning identifier information, and the positioning identifier information comprises: identifier content, the correspondence being of a plurality of location identifiers and respective corresponding signatures;
the positioning identifier identification module is used for identifying a plurality of positioning identifiers in the electronic document to be signed based on the content of the identifiers and determining the identifier position of each identified positioning identifier;
and the automatic stamping and signing module is used for determining a target signature corresponding to each identified positioning identifier based on the corresponding relation for each identified positioning identifier and executing a signature operation based on the target signature and the identifier position.
By adopting the technical scheme, the electronic document to be signed and the signature parameter information embedded with the positioning identifiers are obtained, each positioning identifier and the corresponding identifier position can be determined based on the content of the identifiers in the signature parameter information, the target signature corresponding to each positioning identifier is determined based on the corresponding relation in the signature parameter information and signature operation is executed, the positions of the positioning identifiers are used as corresponding seals to be distributed according to different identifiers, automatic signature is realized by positioning, the simultaneous stamping of a plurality of different types of signatures is realized, the situation of inaccurate positioning caused by the fact that the signature positions are determined through keywords in the related technology can be effectively reduced, and the more accurate position of the electronic signature can be obtained.
In one possible implementation, the location identifier identifying module 430, when performing the identification of the location identifiers in the electronic document to be signed based on the identifier content, is configured to:
acquiring the page number range to be signed of the electronic document to be signed;
a number of location identifiers within the range of page numbers to be signed are identified based on identifier content.
In one possible implementation manner, the signature parameter information further includes: an offset of an electronic signature position relative to the location identifier position, an amount of rotation of the electronic signature;
the automatic stamping module, when executing the signing operation based on the target signature and the identifier position, is configured to:
determining the position of the electronic signature according to the identifier position and the offset;
and executing the signature operation according to the electronic signature position and the rotation amount.
In one possible implementation, the location identifier information further includes color information, font size information;
the location identifier identification module, when executing the identifier content-based identification of the location identifiers in the electronic document to be signed, is configured to:
determining a target area of the electronic document based on the color information and/or font size information;
within the target area, a number of location identifiers in the electronic document to be signed are identified based on identifier content.
In one possible implementation manner, the signature parameter information further includes: defining start and stop symbols for the location identifier;
further comprising:
the initial position determining module is used for obtaining the initial positions of a plurality of positioning identifiers in the electronic document to be signed based on the starting symbols and the ending symbols;
the location identifier identification module, when executing the identifier content-based identification of the location identifiers in the electronic document to be signed, is configured to:
identifying a number of location identifiers in the electronic document to be signed based on the initial location, identifier content.
In one possible implementation manner, when the electronic document acquisition module executes acquisition of an electronic document to be signed, the electronic document acquisition module is configured to:
acquiring an electronic document original embedded with a plurality of positioning identifiers, wherein the electronic document original embedded with the plurality of positioning identifiers is obtained based on an initial electronic document original and the plurality of positioning identifiers of set positions;
acquiring document content; and generating the electronic document to be signed according to the document content and the electronic document original.
In a possible implementation manner, the electronic document acquisition module, in executing the electronic document to be signed according to the document content and the electronic document original, is configured to:
determining the content identification of each sub-content in the document content;
filling each sub-content to a corresponding position in the original document of the electronic document based on the content identification of each sub-content to obtain the electronic document to be signed;
when any sub-content is filled in to the corresponding position, the size of the area of the corresponding position can automatically adapt to the size of the content of the sub-content.
In one possible implementation manner, the method further includes:
an output module to:
acquiring a document output request carrying an output type;
and acquiring the data information of the signed document, and performing data conversion on the data information of the signed document according to the output type to obtain an output document.
In a third aspect, the present application provides an electronic device, which adopts the following technical solutions:
at least one processor;
a memory;
at least one application, wherein the at least one application is stored in the memory and configured to be executed by the at least one processor, the at least one application configured to: performing the method of any of the above claims.
By adopting the technical scheme, the electronic document to be signed and the signature parameter information embedded with the positioning identifiers are obtained, each positioning identifier and the corresponding identifier position can be determined based on the content of the identifiers in the signature parameter information, the target signature corresponding to each positioning identifier is determined based on the corresponding relation in the signature parameter information and signature operation is executed, the positions of the positioning identifiers are used as corresponding seals to be distributed according to different identifiers, automatic signature is realized by positioning, the simultaneous stamping of a plurality of different types of signatures is realized, the situation of inaccurate positioning caused by the fact that the signature positions are determined through keywords in the related technology can be effectively reduced, and the more accurate position of the electronic signature can be obtained.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium, comprising: a computer program is stored which can be loaded by a processor and which performs any of the methods described above.
By adopting the technical scheme, the electronic document to be signed and the signature parameter information embedded with the positioning identifiers are obtained, each positioning identifier and the corresponding identifier position can be determined based on the content of the identifiers in the signature parameter information, the target signature corresponding to each positioning identifier is determined based on the corresponding relation in the signature parameter information and signature operation is executed, the positions of the positioning identifiers are used as corresponding seals to be distributed according to different identifiers, automatic signature is realized by positioning, the simultaneous stamping of a plurality of different types of signatures is realized, the situation of inaccurate positioning caused by the fact that the signature positions are determined through keywords in the related technology can be effectively reduced, and the more accurate position of the electronic signature can be obtained.
In summary, the present application includes at least one of the following beneficial technical effects:
1. by adopting the technical scheme, the electronic document to be signed and the signature parameter information embedded with a plurality of positioning identifiers are obtained, each positioning identifier and the corresponding identifier position can be determined based on the content of the identifiers in the signature parameter information, the target signature corresponding to each positioning identifier is determined based on the corresponding relation in the signature parameter information and the signature operation is executed, the positions of the positioning identifiers are used as corresponding seals to be distributed according to different identifiers, automatic signature is realized by positioning, a plurality of different types of signatures are stamped at the same time, the situation of inaccurate positioning caused by the fact that the signature positions are determined through keywords in the related technology can be effectively reduced, and the more accurate position of the electronic signature can be obtained;
2. the positioning identifier carries various dimension information, the positioning identifier information can also comprise color information and font size information, the positioning identifier information is distinguished from other text contents of the document on the color of the identifier and/or the font size of the identifier, preliminary screening is carried out to determine a target area, then in the target area, the positioning identifier is identified based on the content of the identifier, and on the basis of meeting the accuracy of determining the position of the positioning identifier, the identification efficiency can also be improved;
3. the position relation between the electronic signature position and the positioning identifier and the rotation amount of the electronic signature can be adjusted based on the offset of the electronic signature position relative to the positioning identifier position and the rotation amount of the electronic signature, so that a more accurate electronic signature position is obtained.
Drawings
FIG. 1 is a flowchart illustrating a method for identifying an electronic signature location according to an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating a process of acquiring an electronic document to be signed according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a specific signature provided by an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an embodiment of the present application for identifying an electronic signature location;
fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to fig. 1-5.
The present embodiment is only for explaining the present application, and it is not limited to the present application, and those skilled in the art can make modifications of the present embodiment without inventive contribution as needed after reading the present specification, but all of them are protected by patent laws within the scope of the present application.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship, unless otherwise specified.
At present, how to accurately position the position of a seal to be positioned for automatically carrying out electronic signature is the key point and difficulty for realizing the technology. The common practice of existing software is to identify the coordinate location of a particular X, Y on a designated page, and perform a signature drop. However, the method is not suitable for the case that the drop position is fixed and the length of the page content is greatly changed.
Further, the related art employs an identifier that identifies some common signature position on a page, such as the keyword "signer", to perform signature landing at the keyword. However, the inventor finds that although the position of the signature can be automatically changed along with the change of the page content, the signature operation is performed when the same key word does not need to be generated. It can be known that the accuracy of the related art for identifying the position of the electronic signature is still poor.
In order to accurately position the position of a signature drop, the embodiment of the application provides a method for identifying an electronic signature position, which is executed by an electronic device, wherein the electronic device may be a server or a terminal device, the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud computing service. The terminal device may be a smart phone, a tablet computer, a notebook computer, a desktop computer, and the like, but is not limited thereto, the terminal device and the server may be directly or indirectly connected through a wired or wireless communication manner, and an embodiment of the present application is not limited thereto, as shown in fig. 1, the method includes step S101, step S102, step S103, and step S104, where:
step S101: and acquiring the electronic document to be signed, wherein the electronic document to be signed is a document in which a plurality of positioning identifiers are embedded in advance.
In the embodiment of the application, the electronic device may obtain the electronic document to be signed, where the type of the electronic document to be signed may be PDF format, txt format, or other types. The electronic document to be signed is a document in which a plurality of positioning identifiers are embedded in advance, wherein the positions of the embedded positioning identifiers can change along with the change of the text length, and the positions of the positioning identifiers correspond to the signature positions.
The electronic document to be signed is embedded with a plurality of positioning identifiers in advance, the positioning identifiers can be different from the document contents in the electronic document to be signed, the number of the positioning identifiers can be 1, 2, 3, 5 and the like, a user can set the positioning identifiers according to the actual electronic document, the positioning identifiers can be the same or different, wherein each or more positioning identifiers can correspond to the type of a signature, for example, the positioning identifier A corresponds to the signature 1, the positioning identifier B corresponds to the signature 2, and the positioning identifier C corresponds to the signature 3; or, the location identifier a ', the location identifier B' correspond to the signature 1 ', the location identifier C', and the location identifier D 'correspond to the signature 2'.
As for the manner of obtaining the electronic document to be signed, in an implementable manner, obtaining the electronic document to be signed may include: when a first signature request carrying an electronic document to be signed is triggered by a detection user, acquiring the electronic document to be signed based on the first signature request; in another implementation manner, the obtaining of the electronic document to be signed may include: when detecting that a user triggers a second signing request carrying a file type and document content, determining an electronic document original corresponding to the file type from a plurality of electronic document originals based on the file type; and generating an electronic document to be signed according to the electronic document original and the document content corresponding to the file type, wherein the electronic document original is the electronic document original embedded with a plurality of positioning identifiers based on the initial electronic document original and a plurality of positioning identifiers set at the set position. Of course, other ways are possible and the embodiments of the present application are not limited.
Step S102: acquiring signature parameter information, wherein the signature parameter information comprises a corresponding relation and a plurality of positioning identifier information, and the positioning identifier information comprises: the identifier content is the corresponding relation between a plurality of positioning identifiers and the corresponding signatures.
Wherein, the signature parameter information is pre-stored in the electronic device, and the signature parameter information at least includes: the positioning identifier information at least comprises identifier content which can be set by a user in a self-defined way, and of course, the positioning identifier information can also comprise any one or more of the following: the color information of the positioning identifier, the font size information of the positioning identifier, the start and stop symbol information of the limited positioning identifier, and the position adjustment information of the electronic signature are not limited in the embodiments of the present application. It is to be understood that if the location identifier information includes only identifier content, the identifier content should be different from any of the document content of the electronic document to be signed; if the positioning identifier information may further include color information of a positioning identifier distinguished from the electronic document, font size information of the positioning identifier, and start and end symbol information defining the positioning identifier, the identifier content may be the same as any content of the document content of the electronic document to be signed, and the embodiment of the present application is not limited any more, and a user may set the information according to actual requirements as long as the purpose of the embodiment of the present application can be achieved.
Specifically, the number of the plurality of positioning identifier information is not limited in this embodiment, and may be 1 or more, and a user may set according to actual requirements, and it can be understood that the number of the plurality of positioning identifier information in step S102 should be greater than the number of the positioning identifiers in step S101, and the plurality of positioning identifier information in step S102 includes information corresponding to the plurality of positioning identifiers in step S101, so as to ensure that the plurality of positioning identifiers in step S101 can be identified.
It is understood that in an electronic document, multiple types of signatures may need to be applied, and thus, in the embodiment of the present application, different types of electronic signatures are applied based on the correspondence between different feature information of several location identifiers and different types of electronic signatures.
Specifically, the color of the identifier content of the positioning identifier may preferably be a background color or a transparent color of the electronic document, and of course, the background color of the document to be signed is generally white, so the color of the positioning identifier may be white or a transparent color, and the positioning identifier is not revealed when being printed; the font of the identifier content of the positioning identifier can be a Song style, a regular style or other font types, and the font size of the identifier content of the positioning identifier can be a small four, five or other font sizes; the start and stop symbols of the positioning identifier can be limited to be @, #, or other symbol types, and the special symbol types are used, so that the character types can be distinguished from other character types in the document, the position of the positioning identifier can be found quickly, and the accuracy rate of identifying the positioning identifier is improved.
In the embodiment of the application, the parameter information of the signature is obtained based on the consistency of the characteristic information of the positioning identifier and the preset characteristic information in the signature parameters.
Further, the method may further comprise: acquiring operation information for signature parameter information input in an operation interface, wherein the operation information comprises any one or more of the following information: adding, modifying and deleting signature parameter information; and updating the signature parameter information based on the operation information to obtain updated signature parameter information. Correspondingly, a plurality of positioning identifiers embedded in the obtained electronic document to be signed in advance also correspond to the updated signing parameter information. Therefore, the signature parameter information can be updated according to actual requirements, and the actual requirements of users can be met.
In addition, in the embodiment of the present application, the execution sequence of step S101 and step S102 is not limited, step S101 may be executed first and then step S102 may be executed, and step S102 may be executed first and then step S101 may be executed.
Step S103: a number of location identifiers in an electronic document to be signed are identified based on the identifier content, and an identifier position for each location identifier identified is determined.
In this embodiment of the application, the number of the positioning identifiers in the electronic document to be signed may be 1 or more, and any one of the positioning identifiers has specific positioning identifier information, and further, based on the content of the number of identifiers, each positioning identifier in the electronic document to be signed is searched, and the position of each positioning identifier is obtained.
Specifically, identifying a plurality of location identifiers in the electronic document to be signed based on the identifier content may include: analyzing the text content of the electronic document to be signed to obtain data information of the text content; and retrieving the characteristic information of the positioning identifier based on the data information to identify a plurality of positioning identifiers of the electronic document to be signed, wherein the characteristic information of the content of a plurality of identifiers in the signing parameter information can be compared with the character string information in the data information, and after the matching is successful, the position of the matched character string can be determined as the coordinate information of each positioning identifier, namely the position of the identifier. Comparing the character string information in the data information with the feature information of the content of the plurality of identifiers in the signature parameter information may include: and comparing the character string information in the data information with the characteristic information of each identifier content in the signature parameter information in sequence, or comparing the characteristic information of each identifier content in the signature parameter information with the character string information in the data information. Further, each identifier position can be obtained, for example, a first position corresponding to the first type of the positioning identifier 1, a second position corresponding to the first type of the positioning identifier 2, and a third position corresponding to the second type of the positioning identifier 3 of the electronic document to be signed are obtained.
Step S104: and for each identified positioning identifier, determining a target signature corresponding to each identified positioning identifier based on the corresponding relation, and executing a signature operation based on the target signature and the identifier position.
In the step, the signature operation can be executed at the identifier position of each positioning identifier aiming at the target signature corresponding to each positioning identifier so as to finish the signature operation at all the positioning identifiers of the electronic document to be signed. Specifically, the identifier position may be used as the last signature position, and the last signature position may also be determined based on the identifier position, which is not limited in the embodiment of the present application. The signature operation is no longer limited in the embodiment of the present application, and may be signature and/or stamping, and certainly, other abrupt change, variable barcode or other text variable may also be set.
Therefore, according to the technical scheme, the electronic document to be signed and the signature parameter information embedded with the positioning identifiers are obtained, each positioning identifier and the corresponding identifier position can be determined based on the content of the identifiers in the signature parameter information, the target signature corresponding to each positioning identifier is determined based on the corresponding relation in the signature parameter information, the signature operation is executed, the position of the positioning identifier is used as a corresponding seal according to different identifiers, automatic signature is realized by distributing and positioning, multiple different types of signatures are stamped at the same time, the positioning situation caused by the fact that the inaccurate signature position is determined through keywords in the related technology can be effectively reduced, and the more accurate position of the electronic signature drop can be obtained.
Further, in order to improve the accuracy and efficiency of determining the position of the electronic signature, in the embodiment of the application,
in step S103, identifying a plurality of location identifiers in the electronic document to be signed based on the identifier content includes:
acquiring a page number range to be signed of the electronic document to be signed;
a number of location identifiers within the range of page numbers to be signed are identified based on identifier content.
In the embodiment of the application, a signature page number range of an electronic document to be signed is obtained, wherein each page number in the signature page number range has at least one positioning identifier, and a plurality of positioning identifiers in the signature page number range are identified according to the content of the identifiers.
Specifically, the electronic document to be signed may be a plurality of pages, wherein the plurality of pages may be 1 page, 10 pages, 20 pages, and the like, and the number of pages is not limited any more; selecting a page number range to be signed from a plurality of page numbers, wherein the page number range can be page 1, page 2-4, page 2, page 5 and the like, and the selection of the page number range is not limited any more; at least one positioning identifier exists in each page within the range of the page to be signed, wherein the number of the positioning identifiers in each page may be 1, 2, 3, and the like, the types of the positioning identifiers in different pages may be the same or different, and when a plurality of positioning identifiers exist in the same page, the types of the positioning identifiers may be the same or different, which is not limited in the embodiments of the present application.
Therefore, the method and the device for identifying the electronic signature can obtain the page number range to be signed of the plurality of page numbers of the electronic document to be signed, and identify the plurality of positioning identifiers in the appointed page number range, so that the accuracy and the efficiency of determining the electronic signature position are improved.
Further, in order to improve the accuracy of determining the position of the electronic signature, in this embodiment of the application, the signature parameter information further includes: the offset of the electronic signature position relative to the positioning identifier position and the rotation amount of the electronic signature;
in step S104, a signature operation is performed based on the target signature and the identifier position, including:
determining the position of the electronic signature according to the position of the identifier and the offset;
and executing the signature operation according to the electronic signature position and the rotation amount.
In the embodiment of the present application, when obtaining an electronic document to be signed in which a positioning identifier has been embedded, at which time the position of the positioning identifier in the electronic document to be signed has been determined, if an electronic signature is to be applied from an existing electronic document in which a positioning identifier is embedded, it is desirable to be able to adjust the position of the electronic signature and the direction of the signature, and without changing the position of the positioning identifier, it is possible to make adjustments to the position and angle of the electronic signature based on the amount of displacement of the position of the electronic signature from the position of the positioning identifier and the amount of rotation of the electronic signature.
Specifically, the offset includes an offset direction and an offset distance, the offset direction may be a direction right below, right above, or other directions of the position of the electronic signature relative to the positioning identifier, and the offset distance may be a distance of the electronic signature relative to the positioning identifier, and specifically may be 1 cm, 1.5 cm, or other distances, which is not specifically limited in this embodiment of the present application; the signature parameter information further includes a rotation amount of the electronic signature itself, where the rotation amount may be 1 degree, 2 degrees, or other angles of rotation of the electronic signature relative to the vertical position, and the embodiment of the present application is not particularly limited.
Therefore, the electronic signature position and the positioning identifier can be adjusted according to the offset of the electronic signature position relative to the positioning identifier position and the rotation amount of the electronic signature, so that a more accurate electronic signature position can be obtained.
Further, in order to accurately determine the position of the location identifier, in the embodiment of the present application, the location identifier information further includes color information and font size information;
the identifying of the plurality of positioning identifiers in the electronic document to be signed based on the identifier content in step S103 includes:
determining a target area of the electronic document to be signed based on the color information and/or the font size information;
within the target area, a number of location identifiers in the electronic document to be signed are identified based on the identifier content.
Specifically, the positioning identifier information further includes color information of identifier content of the positioning identifier, and font size information of the identifier content of the positioning identifier, where the color information of the positioning identifier may be a background color or a transparent color of the electronic document to be signed, so that the positioning identifier is not displayed when the signed electronic document is output; the font size of the identifier may be font size information distinguished from other characters in the document, and the embodiment of the present application is not particularly limited.
Specifically, the electronic device analyzes the document content of the electronic document to be signed to obtain data information of the analyzed document content, compares the data information with positioning identifier information preset in the signature parameter to find data information conforming to the positioning identifier information, and determines the position of the data information as the identifier position of the positioning identifier. In order to improve the determination efficiency, the embodiment of the application can determine the target area of the electronic document to be signed based on the color information and/or the font size information, perform preliminary screening, quickly locate the identifier area, further identify the type of the location identifier based on the target area, and quickly locate and confirm the location identifier. The method ensures the rapidness and accuracy of identification by taking characters in a file as an identifier and performing identification judgment of multiple dimensions (identifier content, color information and font information). And obtaining a plurality of target areas of a plurality of positioning identifiers in the electronic document to be signed based on the preliminary screening, wherein the plurality of target areas are positions to be stamped with different electronic signatures, determining the types of the electronic signatures to be stamped in the different target areas according to the corresponding relation between the positioning identifiers in the signature parameters and the different types of electronic signatures, and stamping the electronic signatures at the correct positions.
It can be seen that, in the embodiment of the present application, the location identifier carries multiple kinds of dimension information, the location identifier information may further include color information and font size information, the location identifier information is distinguished from other text contents of the document on the color of the identifier and/or the font size of the identifier, a primary screening is performed to determine a target area, then, in the target area, the location identifier is identified based on the content of the identifier, and on the basis of meeting the location determination accuracy of the location identifier, the identification efficiency can also be improved.
Further, in order to further improve the accuracy of identifying the electronic signature position, in this embodiment of the application, the signature parameter information of step S102 further includes: defining start and end symbols for a location identifier;
identifying a number of location identifiers in an electronic document to be signed based on identifier content, previously comprising:
obtaining initial positions of a plurality of positioning identifiers in the electronic document to be signed based on the starting symbols and the ending symbols;
accordingly, identifying a number of location identifiers in an electronic document to be signed based on identifier content includes:
a number of location identifiers in the electronic document to be signed are identified based on the initial location, the identifier content.
Specifically, the signature parameter information further includes: the start and stop symbols of the location identifier are defined, where the start and stop symbols may be one or more of @, #,%, & without specific limitation in the embodiment of the present application, and the start and stop symbols may define the range of the identifier content, for example: @ identifier content @, @ identifier content%, #% identifier content &, identifying identifier content within a symbol range.
Specifically, the electronic device analyzes the character content in the electronic document to be signed to obtain document data information, searches for a start and an end symbol which limit a positioning identifier in the document data information to obtain an initial position of the positioning identifier in the electronic document, identifies the positioning identifier in the start and the end symbol based on the obtained initial position, and identifies a plurality of positioning identifiers in the electronic document to be signed according to the identifier content.
Therefore, the initial position of the positioning identifier can be quickly found by setting the starting and ending symbols for limiting the positioning identifier, and the electronic document to be signed is identified based on the initial position and the identifier content, so that the obtained position of the positioning identifier is more accurate.
Further, in order to make the electronic document to be signed more convenient, in the embodiment of the present application, please refer to fig. 2, where fig. 2 is a schematic flow chart of acquiring the electronic document to be signed according to the embodiment of the present application, and specifically, the step S101 of acquiring the electronic document to be signed includes: step S1011 and step S1012, wherein:
step S1011, acquiring an electronic document original embedded with a plurality of positioning identifiers, wherein the electronic document original embedded with the plurality of positioning identifiers is obtained based on the initial electronic document original and the plurality of positioning identifiers of the set position;
specifically, an initial electronic document original to be signed is prepared by a user, a file type of the electronic document original may be in a PDF format or other multiple formats, which is not specifically limited in this embodiment of the application, and the content in the initial electronic document original is empty, so that the document content can be added based on different requirements. And, the user can embed a plurality of positioning identifiers in the set position of the original of the initial electronic document in advance.
Step S1012, acquiring document content; and generating the electronic document to be signed according to the document content and the original document of the electronic document.
After the document content is obtained, the document content is superposed on an original document of the electronic document to generate the electronic document to be signed.
Furthermore, the electronic document to be signed can be copied to obtain a plurality of electronic documents to be signed, and then the signature operation of the electronic documents to be signed is realized. The method can be suitable for large-batch signature documents or self-service signature printing forms.
Therefore, the electronic document to be signed is obtained from the original document and the document content of the electronic document, at the moment, the electronic document to be signed is automatically embedded with the positioning identifiers, the positioning identifiers do not need to be reset every time, and the efficiency of obtaining the electronic document to be signed is improved.
Further, in order to fully utilize the page size to display the document content, the step S1012 of generating the electronic document to be signed according to the document content and the original document of the electronic document includes:
determining the content identification of each sub-content in the document content; filling each sub-content into a corresponding position in an original document of the electronic document based on the content identification of each sub-content to obtain the electronic document to be signed; when any sub-content is filled in to the corresponding position, the size of the area of the corresponding position can automatically adapt to the size of the content of the sub-content.
The document content can comprise a plurality of sub-contents, each sub-content needs to be written into a corresponding position in an original document to be signed, so that a content mark is arranged on each sub-content, a plurality of content marks are also arranged in the original document to be signed, and the writing of the document content can be completed by filling each sub-content into the corresponding position in the original document to be signed based on the content mark of each sub-content, so that the electronic document to be signed can be obtained, and when any sub-content is filled into the corresponding position, the area size of the corresponding position can be automatically adapted to the content size of the sub-content, so that the situation that the format is not standard due to excessive blank leaving and the content is out of the limit due to the reserved small position is avoided.
By adopting the technical scheme, the sub-content can be filled in the corresponding position of the original document of the electronic document based on the content identification of each sub-content of the document content, the area size of the position can be automatically adjusted based on the content size of the sub-content, the format of the obtained electronic document to be signed is more standard, the document content can be displayed by fully utilizing the page size, and the user experience is greatly improved.
Further, in order to obtain documents with different requirements, in this embodiment of the application, after the step S104 performs the signature operation based on the target signature and the identifier position, the method further includes:
acquiring a document output request carrying an output type;
and acquiring the data information of the signed document, and performing data conversion on the data information of the signed document according to the output type to obtain an output document.
Wherein the output types include, but are not limited to: printing, web page previewing, electronic documents, and the like. Specifically, the data information of the signed document is stored in the electronic equipment database, in one realizable mode, the data information is imported into a webpage for data conversion according to the requirement of the output type of a user, a webpage preview file is obtained and serves as an output document, in the other realizable mode, the data information is sent to a printing equipment end for data conversion, the document to be printed is obtained and serves as the output document, and then the printer can be used for printing the document to be printed, and the signed paper document is obtained.
Therefore, the data information of the signed document can be obtained, and the data information is converted based on the output type according to the obtained document output request carrying the output type, so that different types of output documents are obtained, and the requirements of users on various output types are met.
Based on any of the above embodiments, please refer to fig. 3, fig. 3 is a schematic flow chart of a specific signature provided in the embodiments of the present application, including:
an original of an electronic document with a positioning identifier is set in advance. The positioning identifier is usually arranged on an original electronic document original and positioned at a stamping position, and is set to be white or transparent according to the information format requirement of the positioning identifier, so that the purpose of being capable of being identified but incapable of being printed is achieved;
after an electronic document (including a positioning identifier A or a positioning identifier B) to be signed, in which a positioning identifier is embedded, is obtained, each positioning identifier and the identifier position of the positioning identifier are identified, and a corresponding target stamp (the target stamp of the positioning identifier A corresponds to a triangle, and the target stamp of the positioning identifier B corresponds to a circle) is automatically signed into the corresponding identifier position according to the setting.
Therefore, the electronic signature file can be formed by finding the matched identifier in the file according to the identifier set in the automatic signature parameter, recording the position of the identifier and automatically stamping the seal at the corresponding identifier position, the seal falling position during automatic electronic signature can be quickly and accurately identified, and the problem that the current automatic electronic signature position is inaccurate in identification is solved. The following describes an apparatus for identifying an electronic signature position provided in an embodiment of the present application, and the apparatus for identifying an electronic signature position described below and the method for identifying an electronic signature position described above may be referred to in correspondence with each other, and the following embodiments are described in detail.
An embodiment of the present application provides a device for identifying an electronic signature position, and as shown in fig. 4, the device for identifying an electronic signature position may specifically include:
an electronic document obtaining module 410, configured to obtain an electronic document to be signed, where the electronic document to be signed is a document in which a plurality of positioning identifiers are embedded in advance;
the signature parameter obtaining module 420 is configured to obtain signature parameter information, where the signature parameter information includes a corresponding relationship and a plurality of location identifiers, and the location identifiers include: the identifier content, the corresponding relation is the corresponding relation between a plurality of positioning identifiers and respective corresponding signatures;
a location identifier identification module 430 for identifying a number of location identifiers in the electronic document based on the identifier content and determining an identifier location for each location identifier identified;
the automatic stamping module 440 is configured to determine, for each identified location identifier, a target signature corresponding to each identified location identifier based on the correspondence, and perform a signature operation based on the target signature and the identifier location. Preferably, the signature parameter information further includes: the offset of the position of the electronic signature relative to the position of the positioning identifier and the rotation amount of the electronic signature;
the automatic stamping signature module 440, when performing a signature operation based on the target signature and the identifier position, is configured to:
determining the position of the electronic signature according to the position of the identifier and the offset;
and executing the signature operation according to the electronic signature position and the rotation amount.
In one possible implementation, the location identifier identification module 430, when performing the identification of the location identifiers in the electronic document to be signed based on the identifier content, is configured to:
acquiring the page number range to be signed of the electronic document to be signed;
a number of location identifiers within the range of page numbers to be signed are identified based on identifier content.
In one possible implementation, the location identifier information further includes color information, font size information;
the location identifier identification module 430, when performing the identification of the number of location identifiers in the electronic document to be signed based on the identifier content, is configured to:
determining a target area of the electronic document based on the color information and/or font size information;
within the target area, a number of location identifiers in the electronic document to be signed are identified based on the identifier content.
In one possible implementation manner, the signature parameter information further includes: defining start and stop symbols for the location identifier;
further comprising:
the initial position determining module is used for obtaining the initial positions of a plurality of positioning identifiers in the electronic document to be signed based on the starting symbols and the ending symbols;
the location identifier recognition module 430, when performing the identification of the location identifiers in the electronic document to be signed based on the identifier content, is configured to:
a number of location identifiers in the electronic document to be signed are identified based on the initial location, the identifier content.
In one possible implementation manner, the electronic document obtaining module 410, when performing obtaining the electronic document to be signed, is configured to:
acquiring an electronic document original embedded with a plurality of positioning identifiers, wherein the electronic document original embedded with the plurality of positioning identifiers is obtained based on an initial electronic document original and the plurality of positioning identifiers of set positions;
acquiring document content; and generating the electronic document to be signed according to the document content and the original document of the electronic document.
In one possible implementation manner, the electronic document obtaining module 410 performs, on the basis of the document content and the original of the electronic document, generation of an electronic document to be signed, to:
determining the content identification of each sub-content in the document content;
filling each sub-content into a corresponding position in an original document of the electronic document based on the content identification of each sub-content to obtain the electronic document to be signed;
when any sub-content is filled in to the corresponding position, the size of the area of the corresponding position can automatically adapt to the size of the content of the sub-content.
In one possible implementation manner, the method further includes:
an output module to:
acquiring a document output request carrying an output type;
and acquiring the data information of the signed document, and performing data conversion on the data information of the signed document according to the output type to obtain an output document.
In an embodiment of the present application, an electronic device is provided, and as shown in fig. 5, an electronic device 500 shown in fig. 5 includes: a processor 501 and a memory 503. Wherein the processor 501 is coupled to the memory 503, such as via the bus 502. Optionally, the electronic device 500 may also include a transceiver 504. It should be noted that the transceiver 504 is not limited to one in practical applications, and the structure of the electronic device 500 is not limited to the embodiment of the present application.
The Processor 501 may be a CPU (Central Processing Unit), a general-purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 501 may also be a combination of implementing computing functionality, e.g., comprising one or more microprocessors, a combination of DSPs and microprocessors, and the like.
Bus 502 may include a path that carries information between the aforementioned components. The bus 502 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 502 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but that does not indicate only one bus or one type of bus.
The Memory 503 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these.
The memory 503 is used for storing application program codes for executing the present application, and the processor 501 controls the execution. The processor 501 is configured to execute application program code stored in the memory 503 to implement the content shown in the foregoing method embodiments.
Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. But also a server, etc. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The present application provides a computer-readable storage medium, on which a computer program is stored, which, when running on a computer, enables the computer to execute the corresponding content in the foregoing method embodiments. Compared with the prior art, in the embodiment of the application, the electronic document to be signed and the signature parameter information embedded with the positioning identifiers are obtained, each positioning identifier and the corresponding identifier position can be determined based on the content of the identifiers in the signature parameter information, the target signature corresponding to each positioning identifier is determined based on the corresponding relation in the signature parameter information, the signature operation is executed, the positions of the positioning identifiers are used as corresponding seals to be distributed according to different identifiers, automatic signature is realized by positioning, the simultaneous stamping of a plurality of different types of signatures is realized, the situation of inaccurate positioning caused by the fact that the signature positions are determined through keywords in the related technology can be effectively reduced, and the application can obtain more accurate positions where the electronic signatures fall.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a few embodiments of the present application and it should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present application, and that these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A method of identifying a location of an electronic signature, comprising:
acquiring an electronic document to be signed, wherein the electronic document to be signed is a document in which a plurality of positioning identifiers are embedded in advance;
obtaining signature parameter information, wherein the signature parameter information includes a corresponding relationship and a plurality of positioning identifier information, and the positioning identifier information includes: identifier content, the correspondence being of a plurality of location identifiers and respective corresponding signatures;
identifying a plurality of positioning identifiers in the electronic document to be signed based on the identifier content, and determining the identifier position of each identified positioning identifier;
and for each identified positioning identifier, determining a target signature corresponding to each identified positioning identifier based on the corresponding relation, and executing a signature operation based on the target signature and the identifier position.
2. The method of claim 1, wherein identifying a number of location identifiers in the electronic document to be signed based on identifier content comprises:
acquiring a page number range to be signed of the electronic document to be signed;
a number of location identifiers within the range of page numbers to be signed are identified based on identifier content.
3. The method of claim 1, wherein the signature parameter information further comprises:
an offset of an electronic signature position relative to the positioning identifier position, a rotation amount of an electronic signature;
the performing a signature operation based on the eye tag seal and the identifier location, comprising:
determining the position of the electronic signature according to the identifier position and the offset;
and executing the signature operation according to the electronic signature position and the rotation amount.
4. The method of claim 1, wherein said location identifier information further comprises color information, font size information; the identifying a number of location identifiers in the electronic document to be signed based on identifier content, comprising:
determining a target area of the electronic document based on the color information and/or font size information;
within the target area, a number of location identifiers in the electronic document to be signed are identified based on identifier content.
5. The method of claim 1,
the signature parameter information further includes: defining start and stop symbols for the location identifier;
identifying a number of location identifiers in the electronic document to be signed based on identifier content, previously comprising:
obtaining initial positions of a plurality of positioning identifiers in the electronic document to be signed based on the starting symbols and the ending symbols;
correspondingly, the identifying a plurality of positioning identifiers in the electronic document to be signed based on the identifier content comprises:
identifying a number of location identifiers in the electronic document to be signed based on the initial location, identifier content.
6. The method according to any one of claims 1 to 5, wherein obtaining the electronic document to be signed comprises:
acquiring an electronic document original embedded with a plurality of positioning identifiers, wherein the electronic document original embedded with the plurality of positioning identifiers is obtained based on an initial electronic document original and the plurality of positioning identifiers of set positions;
acquiring document content; and generating the electronic document to be signed according to the document content and the electronic document original.
7. The method of claim 6, wherein generating the electronic document to be signed based on the document content and the electronic document original comprises:
determining the content identification of each sub-content in the document content;
filling each sub-content to a corresponding position in the original document of the electronic document based on the content identification of each sub-content to obtain the electronic document to be signed;
when any sub-content is filled in to the corresponding position, the size of the area of the corresponding position can automatically adapt to the size of the content of the sub-content.
8. The method of any one of claims 1 to 5, wherein after performing a signing operation based on the eye tag seal and the identifier location, further comprising:
acquiring a document output request carrying an output type;
and acquiring the data information of the signed document, and performing data conversion on the data information of the signed document according to the output type to obtain an output document.
9. An apparatus for identifying the position of an electronic signature, comprising,
the electronic document acquisition module is used for acquiring an electronic document to be signed, wherein the electronic document to be signed is a document in which a plurality of positioning identifiers are embedded in advance;
the signature parameter acquiring module is used for acquiring signature parameter information, wherein the signature parameter information comprises a corresponding relation and a plurality of positioning identifier information, and the positioning identifier information comprises: identifier content, the correspondence being of a plurality of location identifiers and respective corresponding signatures;
the positioning identifier identification module is used for identifying a plurality of positioning identifiers in the electronic document to be signed based on the content of the identifiers and determining the identifier position of each identified positioning identifier;
and the automatic stamping and signing module is used for determining a target signature corresponding to each identified positioning identifier based on the corresponding relation for each identified positioning identifier and executing a signature operation based on the target signature and the identifier position.
10. An electronic device, comprising:
at least one processor;
a memory;
at least one application, wherein the at least one application is stored in the memory and configured to be executed by the at least one processor, the at least one application configured to: performing the method of any one of claims 1-8.
CN202210954705.1A 2022-08-10 2022-08-10 Method, device and equipment for identifying electronic signature position Active CN115035527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210954705.1A CN115035527B (en) 2022-08-10 2022-08-10 Method, device and equipment for identifying electronic signature position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210954705.1A CN115035527B (en) 2022-08-10 2022-08-10 Method, device and equipment for identifying electronic signature position

Publications (2)

Publication Number Publication Date
CN115035527A true CN115035527A (en) 2022-09-09
CN115035527B CN115035527B (en) 2022-11-11

Family

ID=83131117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210954705.1A Active CN115035527B (en) 2022-08-10 2022-08-10 Method, device and equipment for identifying electronic signature position

Country Status (1)

Country Link
CN (1) CN115035527B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111985202A (en) * 2020-08-27 2020-11-24 深圳壹账通智能科技有限公司 Method, equipment and storage medium for generating PDF electronic signature based on template
WO2021027336A1 (en) * 2019-08-14 2021-02-18 深圳壹账通智能科技有限公司 Authentication method and apparatus based on seal and signature, and computer device
WO2021142973A1 (en) * 2020-01-19 2021-07-22 深圳壹账通智能科技有限公司 Electronic signature validity identification method and system, and apparatus and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021027336A1 (en) * 2019-08-14 2021-02-18 深圳壹账通智能科技有限公司 Authentication method and apparatus based on seal and signature, and computer device
WO2021142973A1 (en) * 2020-01-19 2021-07-22 深圳壹账通智能科技有限公司 Electronic signature validity identification method and system, and apparatus and storage medium
CN111985202A (en) * 2020-08-27 2020-11-24 深圳壹账通智能科技有限公司 Method, equipment and storage medium for generating PDF electronic signature based on template

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄洋: ""面向Web页面电子签章关键技术研究与应用"", 《中国优秀硕士学位论文全文数据库 (基础科学辑)》 *

Also Published As

Publication number Publication date
CN115035527B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
WO2020173008A1 (en) Text recognition method and apparatus
US7853869B2 (en) Creation of semantic objects for providing logical structure to markup language representations of documents
US8838657B1 (en) Document fingerprints using block encoding of text
CN112016273A (en) Document directory generation method and device, electronic equipment and readable storage medium
CN109685870B (en) Information labeling method and device, labeling equipment and storage medium
CN111985202A (en) Method, equipment and storage medium for generating PDF electronic signature based on template
US9141867B1 (en) Determining word segment boundaries
EP3467633B1 (en) Method, device, and terminal device for extracting data
CN111602129B (en) Smart search for notes and ink
CN109582934B (en) Format document conversion method and device
US20080147652A1 (en) Physical address verification within electronic documents
CN115035527B (en) Method, device and equipment for identifying electronic signature position
WO2022105120A1 (en) Text detection method and apparatus from image, computer device and storage medium
CN111881050B (en) Text layer cutting method and device and electronic equipment
CN112699634B (en) Typesetting processing method of electronic book, electronic equipment and storage medium
CN110263310B (en) Data graph generation method and device and computer readable storage medium
CN111695327B (en) Method and device for repairing messy codes, electronic equipment and readable storage medium
CN112966671A (en) Contract detection method and device, electronic equipment and storage medium
CN104899572A (en) Content-detecting method and device, and terminal
JP6682827B2 (en) Information processing apparatus and information processing program
CN117391045B (en) Method for outputting file with portable file format capable of copying Mongolian
CN113032695B (en) Method, apparatus, device and storage medium for replacing data source
CN113672565B (en) File marking method and device, electronic equipment and storage medium
US10114800B1 (en) Layout reconstruction using spatial and grammatical constraints
CN116416629B (en) Electronic file generation method, device, equipment and 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