CN113553803A - Electronic file signature method and device based on RPA and AI and electronic equipment - Google Patents

Electronic file signature method and device based on RPA and AI and electronic equipment Download PDF

Info

Publication number
CN113553803A
CN113553803A CN202110719843.7A CN202110719843A CN113553803A CN 113553803 A CN113553803 A CN 113553803A CN 202110719843 A CN202110719843 A CN 202110719843A CN 113553803 A CN113553803 A CN 113553803A
Authority
CN
China
Prior art keywords
signature
electronic file
target electronic
target
determining
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.)
Pending
Application number
CN202110719843.7A
Other languages
Chinese (zh)
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.)
Beijing Laiye Network Technology Co Ltd
Laiye Technology Beijing Co Ltd
Original Assignee
Beijing Laiye Network Technology Co Ltd
Laiye Technology Beijing 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 Beijing Laiye Network Technology Co Ltd, Laiye Technology Beijing Co Ltd filed Critical Beijing Laiye Network Technology Co Ltd
Priority to CN202110719843.7A priority Critical patent/CN113553803A/en
Publication of CN113553803A publication Critical patent/CN113553803A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/117Tagging; Marking up; Designating a block; Setting of attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure provides a signature method and device of an electronic file based on RPA and AI and electronic equipment, and relates to the technical field of RPA and AI. The method comprises the following steps: acquiring a target electronic file to be signed; calling natural language processing service, and processing the target electronic file to determine a first position of a first specified character and a second position of a second specified character in the target electronic file; under the condition that the first position and the second position meet a preset relationship, determining a signature position according to the first position and the second position; determining the moving mode of the electronic signature according to the signature position and the current display position of the electronic signature; and controlling the electronic signature to move to the signature position according to the moving mode. Therefore, automatic signature of the electronic file is realized through the RPA technology, the labor cost is reduced, and the work efficiency of signature of the electronic file is improved.

Description

Electronic file signature method and device based on RPA and AI and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the fields of Artificial Intelligence (AI) and Robot Process Automation (RPA), and more particularly, to a signature method and apparatus for an electronic file based on RPA and AI, an electronic device, and a storage medium.
Background
Robot Process Automation (RPA) is a Process task automatically executed according to rules by simulating human operations on a computer through specific robot software.
Artificial Intelligence (AI) is a technical science that studies and develops theories, methods, techniques and application systems for simulating, extending and expanding human Intelligence.
In the existing business, many complex and repeated processes need to be processed manually, when electronic signatures are carried out on electronic files, the electronic files need to be opened manually one by one, and the electronic signatures are dragged to signature positions manually. When the number of electronic files needing to be electronically signed is large, a large amount of labor time is required, and the efficiency is particularly low.
Disclosure of Invention
The signature method, device, electronic equipment and storage medium of the electronic file based on the RPA and the AI are used for solving the problems of high human capital investment and low efficiency in electronic signature work.
An embodiment of the disclosure provides a signature method for an electronic file based on an RPA and an AI, which includes:
acquiring a target electronic file to be signed;
calling natural language processing service, and processing the target electronic file to determine a first position of a first specified character and a second position of a second specified character in the target electronic file;
under the condition that the first position and the second position meet a preset relationship, determining a signature position according to the first position and the second position;
determining the moving mode of the electronic signature according to the signature position and the current display position of the electronic signature;
and controlling the electronic signature to move to the signature position according to the moving mode.
Another aspect of the disclosure provides an apparatus for signing an electronic document based on RPA and AI, including:
the first acquisition module is used for acquiring a target electronic file to be signed;
the first determining module is used for calling natural language processing service and processing the target electronic file so as to determine a first position of a first designated character and a second position of a second designated character in the target electronic file;
the second determining module is used for determining a signature position according to the first position and the second position under the condition that the first position and the second position meet a preset relationship;
the third determining module is used for determining the moving mode of the electronic signature according to the signature position and the current display position of the electronic signature;
and the moving module is used for controlling the electronic signature to move to the signature position according to the moving mode.
An embodiment of another aspect of the present disclosure provides an electronic device, which includes: the signature method is characterized in that the signature method of the electronic file based on the RPA and the AI is realized when the program is executed by the processor.
In another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, wherein the program, when executed by a processor, implements the signature method for an RPA and AI-based electronic file as described above.
In yet another aspect of the present disclosure, a computer program product is provided, which includes a computer program, and the computer program, when executed by a processor, implements the signature method for RPA and AI based electronic files as described above.
The RPA first acquires a target electronic file to be signed, then calls a natural language processing service to process the target electronic file so as to determine a first position of a first designated character and a second position of a second designated character in the target electronic file, determines a signature position according to the first position and the second position when a preset relationship is satisfied between the first position and the second position, and finally determines a moving mode of an electronic signature according to the signature position and a current display position of the electronic signature, thereby controlling the electronic signature to move to the signature position according to the moving mode. Therefore, the RPA identifies the target electronic file, determines the signature position and then controls the electronic signature to move to the signature position, so that automatic signature of the electronic file is realized, the labor cost is reduced, and the work efficiency of electronic file signature is improved.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart illustrating a signature method for an electronic document based on RPA and AI according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating a signature method for an electronic document based on RPA and AI according to another embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a signature device for an electronic document based on RPA and AI according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a signature device for an electronic document based on RPA and AI according to another embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the like or similar elements throughout. The embodiments described below with reference to the drawings are exemplary and intended to be illustrative of the present disclosure, and should not be construed as limiting the present disclosure.
The embodiment of the disclosure provides a signature method of an electronic file based on RPA and AI, aiming at the problems of large human capital investment and low efficiency in electronic signature work.
It should be noted that the RPA technology can intelligently understand the existing application of the electronic device through the user interface, automate repeated regular operations based on rules and in large batch, such as automatically and repeatedly reading mails, reading Office components, operating databases, web pages, client software, and the like, collect data and perform complex calculations, so as to generate files and reports in large batch, thereby greatly reducing the input of labor cost and effectively improving the Office efficiency through the RPA technology. Therefore, in the scene of electronic signature, the RPA system can be configured in the electronic equipment for electronic document signature, so that the RPA system can automatically sign the electronic document according to the set program.
The RPA and AI-based electronic file signature method, apparatus, electronic device, and storage medium provided by the present disclosure are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a signature method for an electronic document based on RPA and AI according to an embodiment of the present disclosure.
The signature method of the electronic file based on the RPA and the AI according to the embodiment of the present disclosure may be executed by the signature device of the electronic file based on the RPA and the AI according to the embodiment of the present disclosure, and the device may be configured in an electronic device.
As shown in fig. 1, the signature method for an electronic document based on RPA and AI includes the following steps:
step 101, obtaining a target electronic file to be signed.
The target electronic file to be signed is an electronic file that needs to be signed, and the target electronic file may have a plurality of formats, such as pdf format, word format, and the like, which is not limited in this disclosure.
Step 102, invoking a natural language processing service to process the target electronic file so as to determine a first position of a first designated character and a second position of a second designated character in the target electronic file.
Natural Language Processing (NLP) is a computer used to process, understand and use human languages (such as chinese and english), which is a cross discipline between computer science and linguistics and is also commonly called computational linguistics. Since natural language is the fundamental mark that humans distinguish from other animals. Without language, human thinking has not been talk about, so natural language processing embodies the highest task and context of artificial intelligence, that is, only when a computer has the capability of processing natural language, the machine has to realize real intelligence.
The first designated character is a character which is obtained by processing a text in the target electronic file and is consistent with a unit in the electronic signature in a preset mode.
The first position may be the abscissa and ordinate of the starting position of the first designated character in the signature system.
The second designated character is a character which is obtained by processing the text in the target electronic file and contains the date.
Optionally, since the number corresponding to the date in the target electronic document is not fixed, the text in the target electronic document may be matched by using a regular expression to obtain the second specified field containing the typeface "XXXX month XX day" in XXXX year. Alternatively, the positions of the "year", "month" and "day" fields included in the target electronic document in the display interface may be acquired, and the second designated field may be acquired further according to the position of each field.
The second position may be an abscissa and an ordinate of a starting position of the second designated character in the signature system.
And 103, determining the signature position according to the first position and the second position under the condition that the first position and the second position meet the preset relationship.
The preset relationship may be that the page numbers are the same, the difference between the abscissa is within a first threshold range, and the difference between the ordinate is within a second threshold range, that is, the second specified character of the first specified character set appears on the same page in the target electronic document, and the difference between the abscissa and the difference between the ordinate are both within the corresponding threshold ranges.
For example, the first designated character and the second designated character both appear on the last page of the target electronic document, and in the display interface with the resolution of 640 × 480, the first position corresponds to coordinates (500, 300), the second position corresponds to coordinates (520, 310), the difference 20 between the abscissa is within the first threshold range [ -30,30], the difference between the ordinate is within the second threshold range [ -15,15], that is, the first position and the second position satisfy the predetermined relationship, and then the signature position can be determined according to the first position and the second position. For example, the stamping position may be determined by adding 50 to the abscissa and 10 to the ordinate of the first position (550,320).
Optionally, the target electronic file may be stored in the third folder when the preset relationship is not satisfied between the first location and the second location, so that a worker may check whether an error occurs in the electronic file to be signed, thereby causing a failure in signing.
The third folder may be configured to store a target electronic file that does not satisfy a preset relationship between the first location and the second location, that is, the target electronic file does not include a signature location.
And 104, determining the moving mode of the electronic signature according to the signature position and the current display position of the electronic signature.
The current display position of the electronic signature can be the coordinate of the geometric center point of the electronic signature in the display interface.
Optionally, the moving mode of the electronic signature may be determined to be moving along a straight line by a specified distance according to the current display position of the electronic signature and the straight line distance between the signature positions.
Or, according to the current display position of the electronic signature and the horizontal and vertical coordinates of the signature position, the electronic signature may be moved along the horizontal coordinate first until the electronic signature is the same as the horizontal coordinate of the signature position, and then moved along the vertical coordinate until the electronic signature is the same as the vertical coordinate of the signature position.
And 105, controlling the electronic signature to move to the signature position according to the moving mode.
In the embodiment of the disclosure, the RPA first obtains a target electronic file to be signed, then calls a natural language processing service, processes the target electronic file to determine a first position of a first designated character and a second position of a second designated character in the target electronic file, determines a signature position according to the first position and the second position when a preset relationship is satisfied between the first position and the second position, and finally determines a moving mode of an electronic signature according to the signature position and a current display position of the electronic signature, thereby controlling the electronic signature to move to the signature position according to the moving mode. Therefore, the RPA identifies the target electronic file, determines the signature position and then controls the electronic signature to move to the signature position, so that automatic signature of the electronic file is realized, the labor cost is reduced, and the work efficiency of electronic file signature is improved.
Fig. 2 is a schematic flow chart illustrating a signature method for an electronic document based on RPA and AI according to another embodiment of the present disclosure.
As shown in fig. 2, the signature method for an electronic document based on RPA and AI includes the following steps:
step 201, determining the electronic signature currently in an available state in the signature system.
The electronic signature in the available state is used for stamping the electronic file which is not stamped.
Step 202, a target electronic file is obtained from a first folder associated with an electronic signature in an available state.
The electronic files in the first folder are files which are manually established and need to be stamped and correspond to the electronic signatures. The electronic file in the first folder may have a plurality of formats, such as pdf format, word format, and the like, which is not limited in this disclosure.
Step 203, under the condition that the target electronic file comprises a plurality of pages, acquiring the last page in the target electronic file.
Optionally, the position of the slider in the current display interface may be adjusted until the slider is located at the bottom of the display interface, and the currently displayed page is determined to be the last page in the target electronic file.
Or, the page displayed in the display interface by the target electronic file may also be adjusted until the characters corresponding to the specified position in the currently displayed page are matched with the total number of pages included in the target electronic file, and the currently displayed page is determined to be the last page in the target electronic file.
It can be understood that the signature position in the target electronic document is mostly located in the last page of the target electronic document, so that the last page is processed to obtain the signature position, the time for obtaining the signature position is shortened, and the efficiency for signing the target electronic document is further improved.
Step 204, invoking natural language processing service, and processing the last page to determine a first position of the first designated character and a second position of the second designated character in the target electronic document.
Optionally, processing the last page by using the natural language processing service may include the following steps:
(1) and determining a target area according to the display position of the target electronic file on the display interface.
The target area includes all contents of a currently displayed page in the target electronic document, for example, all contents of a last page in the target electronic document, which is not limited in this disclosure.
(2) And acquiring a display picture corresponding to the target area in the display interface.
(3) And calling an optical character recognition service to recognize the display picture so as to acquire text content corresponding to the display picture.
Optical Character Recognition (OCR) is an input technique that converts characters of various bills, newspapers, books, manuscripts, and other printed matters into image information by scanning and other Optical input methods, and then converts the image information into usable computer input techniques by using a Character Recognition technique. Can be applied to the fields of inputting and processing bank notes, a large amount of text data, file files and documentaries. It is suitable for automatic scanning, identification and long-term storage of a large number of bill forms in the industries of banks, tax administration and the like.
(4) And invoking a natural language processing service to process the text content to determine a first reference position of a first designated character and a second reference position of a second designated character in the text content.
The first reference position is the position of the first designated character in the display picture corresponding to the target area, and the second reference position is the position of the second designated character in the display picture corresponding to the target area.
(5) And determining the first position and the second position according to the display position of the target electronic file on the display interface, the first reference position and the second reference position.
It should be noted that the first reference position and the second reference position are positions of the first designated character and the second designated character in the display picture corresponding to the target area, respectively, and the first position and the second position are positions of the first designated character and the second designated character in the display interface of the stamping system, respectively, so that the first position and the second position need to be calculated according to the first reference position and the second reference position.
Optionally, the first position and the second position may be determined according to the distance between the first reference position and the second reference position and the upper left corner of the target electronic document in the display picture, in combination with the display position of the target electronic document on the display interface, the first reference position, and the second reference position.
Or, a mapping relation of coordinates of the target electronic document in the stamping system and in the display picture can be established, and the first position and the second position can be determined according to the mapping relation and the first reference position and the second reference position.
Step 205, determining a signature position according to the first position and the second position when the first position and the second position satisfy a predetermined relationship.
It should be noted that, if the signature position is not obtained in the last page of the target electronic document, the previous page in the target electronic document is processed in a circulating manner until the signature position is determined, or the signature position is not found yet after each page in the target electronic document is processed, the target electronic document is stored in the third folder, and the circulation is finished.
Step 206, determining the moving mode of the electronic signature according to the signature position and the current display position of the electronic signature.
Step 207, controlling the electronic signature to move to the signature position according to the moving mode.
Optionally, after the electronic signature is moved to the signature position, a display picture corresponding to the target area in the display interface may be acquired, where the display picture includes the electronic signature. And then storing the display picture containing the electronic signature into a fourth folder, so that a worker can check whether the signature of the electronic file is correct or not, and the accuracy of the signature of the electronic file is improved.
The detailed implementation forms of the steps 205 to 207 may refer to detailed descriptions of other embodiments of the present disclosure, and are not described herein again.
Step 208, storing the target electronic file containing the electronic signature into the second folder, and deleting the target electronic file in the first folder.
The second folder can be used for storing the target electronic file which is signed.
It should be noted that, the target electronic file with the electronic signature completed is stored in the second folder, and the target electronic file in the first folder is deleted, so that the electronic files in the first folder are all electronic files without signature, the step of obtaining the target electronic file to be signed from the first folder next time is simplified, and the working efficiency is further improved.
In the embodiment of the disclosure, the RPA system firstly obtains a target electronic file from a first electronic file, then uses a natural language processing service to firstly process the last page of the target electronic file to obtain a signature position, if the signature position is not obtained in the last page of the target electronic file, circularly processes the previous page in the target electronic file until the signature position is determined, moves an electronic signature to the signature position, and finally stores the target electronic file containing the electronic signature into a second folder and deletes the target electronic file in the first folder. Therefore, the working efficiency of electronic file signature is further improved.
In order to implement the above embodiments, the present disclosure further provides a signature apparatus for an electronic file based on RPA and AI.
Fig. 3 is a schematic structural diagram of a signature device of an electronic file based on RPA and AI according to an embodiment of the present disclosure.
As shown in fig. 3, the apparatus 300 for signing an electronic document based on RPA and AI includes: a first acquisition module 310, a first determination module 320, a second determination module 330, a third determination module 340, and a movement module 350.
The first obtaining module 310 is configured to obtain a target electronic file to be signed.
The first determining module 320 is configured to invoke a natural language processing service to process the target electronic file to determine a first position of the first specified character and a second position of the second specified character in the target electronic file.
The second determining module 330 is configured to determine the signature position according to the first position and the second position when the first position and the second position satisfy the predetermined relationship.
The third determining module 340 is configured to determine a moving manner of the electronic signature according to the signature position and the current display position of the electronic signature.
The moving module 350 is configured to control the electronic signature to move to the signature position according to the moving manner.
It should be noted that, for the functions and the specific implementation principles of the modules in the embodiments of the present disclosure, reference may be made to the embodiments of the methods described above, and details are not described here again.
The signature device for an electronic file based on an RPA and an AI according to the present disclosure includes a RPA configured to obtain a target electronic file to be signed, call a natural language processing service, process the target electronic file to determine a first position of a first designated character and a second position of a second designated character in the target electronic file, determine a signature position according to the first position and the second position when a preset relationship is satisfied between the first position and the second position, and determine a moving mode of an electronic signature according to the signature position and a current display position of the electronic signature, thereby controlling the electronic signature to move to the signature position according to the moving mode. Therefore, the RPA identifies the target electronic file, determines the signature position and then controls the electronic signature to move to the signature position, so that automatic signature of the electronic file is realized, the labor cost is reduced, and the work efficiency of electronic file signature is improved.
Fig. 4 is a schematic structural diagram of a signing device for an electronic document based on RPA and AI according to another embodiment of the present disclosure, and as shown in fig. 4, the signing device 400 for an electronic document based on RPA and AI includes: a first obtaining module 410, a first determining module 420, a second determining module 430, a third determining module 440, a moving module 450, a deleting module 460, and a depositing module 470.
In some embodiments of the present disclosure, the first obtaining module 410 is specifically configured to:
determining the electronic signature currently in an available state in a signature system;
the target electronic file is obtained from the first folder associated with the electronic signature in the available state.
In some embodiments of the present disclosure, the signature apparatus 400 further includes:
and the deleting module is used for storing the target electronic file containing the electronic signature into the second folder and deleting the target electronic file in the first folder.
In some embodiments of the present disclosure, the first determining module 420 includes:
an obtaining unit 4201, configured to, when the target electronic document includes a plurality of pages, obtain a last page in the target electronic document;
the determining unit 4202 is configured to invoke a natural language processing service to process the last page to determine a first position of the first designated character and a second position of the second designated character in the target electronic document.
In some embodiments of the present disclosure, the obtaining unit 4201 is specifically configured to:
adjusting the position of a sliding block in the current display interface until the sliding block is positioned at the bottom of the display interface, and determining that the currently displayed page is the last page in the target electronic file;
alternatively, the first and second electrodes may be,
and adjusting the page displayed in the display interface by the target electronic file until the characters corresponding to the specified position in the currently displayed page are matched with the total page number contained in the target electronic file, and determining that the currently displayed page is the last page in the target electronic file.
In some embodiments of the present disclosure, the first determining module 420 is specifically configured to:
determining a target area according to the display position of the target electronic file on the display interface;
acquiring a display picture corresponding to a target area in a display interface;
calling an optical character recognition service, and recognizing the display picture to acquire text content corresponding to the display picture;
calling natural language processing service, and processing the text content to determine a first reference position of a first designated character and a second reference position of a second designated character in the text content;
and determining the first position and the second position according to the display position of the target electronic file on the display interface, the first reference position and the second reference position.
In some embodiments of the present disclosure, the signature apparatus 400 further includes:
the storing module 470 is configured to store the target electronic file in the third folder if the predetermined relationship between the first location and the second location is not satisfied.
It is understood that the information entry apparatus 400 in fig. 4 of the present embodiment and the information entry apparatus 300 in the foregoing embodiment, the first obtaining module 410 and the first obtaining module 310 in the foregoing embodiment, the first determining module 420 and the first determining module 320 in the foregoing embodiment, the second determining module 430 and the second determining module 330 in the foregoing embodiment, the third determining module 440 and the third determining module 340 in the foregoing embodiment, and the moving module 450 and the moving module 350 in the foregoing embodiment may have the same functions and structures.
It should be noted that, for the functions and the specific implementation principles of the modules in the embodiments of the present disclosure, reference may be made to the embodiments of the methods described above, and details are not described here again.
In the signature device for an electronic file based on an RPA and an AI according to the present disclosure, an RPA system first obtains a target electronic file from a first electronic file, then processes a last page of the target electronic file by using a natural language processing service to obtain a signature position, and if the signature position is not obtained in the last page of the target electronic file, cyclically processes a previous page of the target electronic file until the signature position is determined, and moves an electronic signature to the signature position, and finally stores the target electronic file including the electronic signature in a second folder, and deletes the target electronic file in the first folder. Therefore, the working efficiency of electronic file signature is further improved.
In order to implement the above embodiments, the present disclosure further provides an electronic device.
Fig. 5 is a schematic structural diagram of an electronic device of a signature method for an electronic file based on RPA and AI according to an embodiment of the present disclosure.
As shown in fig. 5, the electronic device 500 includes:
a memory 510 and a processor 520, a bus 530 connecting different components (including the memory 510 and the processor 520), wherein the memory 510 stores a computer program, and when the processor 520 executes the program, the signature method of the RPA and AI based electronic file according to the embodiment of the disclosure is implemented.
Bus 530 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
The electronic device 500 typically includes a variety of electronic device readable media. Such media may be any available media that is accessible by electronic device 200 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 510 may also include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)540 and/or cache memory 550. The electronic device 500 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 560 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 530 by one or more data media interfaces. Memory 510 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
A program/utility 580 having a set (at least one) of program modules 570 may be stored, for instance, in memory 510, such program modules 570 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 570 generally perform the functions and/or methods of the embodiments described in this disclosure.
The electronic device 500 may also communicate with one or more external devices 590 (e.g., keyboard, pointing device, display 591, etc.), one or more devices that enable a user to interact with the electronic device 500, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 500 to communicate with one or more other computing devices. Such communication may occur over input/output (I/O) interfaces 592. Also, the electronic device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 593. As shown, the network adapter 593 communicates with the other modules of the electronic device 500 over the bus 530. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 520 executes various functional applications and data processing by executing programs stored in the memory 510.
It should be noted that, for the implementation process and the technical principle of the electronic device of this embodiment, reference is made to the foregoing explanation of the signature method for the RPA and AI-based electronic file according to the embodiment of the present disclosure, and details are not repeated here.
The electronic device provided by the embodiment of the disclosure may execute the signature method of the electronic file based on the RPA and the AI as described above, where the RPA first obtains a target electronic file to be signed, then invokes a natural language processing service to process the target electronic file to determine a first position of a first designated character and a second position of a second designated character in the target electronic file, and determines a signature position according to the first position and the second position when a preset relationship is satisfied between the first position and the second position, and finally determines a moving mode of the electronic signature according to the signature position and a current display position of the electronic signature, thereby controlling the electronic signature to move to the signature position according to the moving mode. Therefore, the RPA identifies the target electronic file, determines the signature position and then controls the electronic signature to move to the signature position, so that automatic signature of the electronic file is realized, the labor cost is reduced, and the work efficiency of electronic file signature is improved.
In order to implement the above embodiments, the present disclosure also proposes a computer-readable storage medium.
The computer readable storage medium stores thereon a computer program, which when executed by a processor, implements the signature method for the RPA and AI based electronic file according to the embodiments of the present disclosure.
In order to implement the foregoing embodiment, a further embodiment of the present disclosure provides a computer program, which when executed by a processor, implements the signature method for an RPA and AI-based electronic file according to the embodiment of the present disclosure.
In an alternative implementation, the embodiments may be implemented in any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on the consumer electronic device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (e.g., through the internet using an internet service provider).
According to the technical scheme of the disclosure, the RPA firstly acquires a target electronic file to be signed, then calls a natural language processing service, processes the target electronic file to determine a first position of a first designated character and a second position of a second designated character in the target electronic file, determines a signature position according to the first position and the second position under the condition that a preset relationship is met between the first position and the second position, and finally determines a moving mode of an electronic signature according to the signature position and a current display position of the electronic signature, thereby controlling the electronic signature to move to the signature position according to the moving mode. Therefore, the RPA identifies the target electronic file, determines the signature position and then controls the electronic signature to move to the signature position, so that automatic signature of the electronic file is realized, the labor cost is reduced, and the work efficiency of electronic file signature is improved.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (17)

1. A signature method of an electronic file based on RPA and AI is characterized by comprising the following steps:
acquiring a target electronic file to be signed;
calling natural language processing service, and processing the target electronic file to determine a first position of a first specified character and a second position of a second specified character in the target electronic file;
under the condition that the first position and the second position meet a preset relationship, determining a signature position according to the first position and the second position;
determining the moving mode of the electronic signature according to the signature position and the current display position of the electronic signature;
and controlling the electronic signature to move to the signature position according to the moving mode.
2. The method of claim 1, wherein the obtaining of the target electronic file to be signed comprises:
determining the electronic signature currently in an available state in a signature system;
and acquiring the target electronic file from the first folder associated with the electronic signature in the available state.
3. The method of claim 2, after said controlling the electronic signature to move to the signature position according to the movement pattern, further comprising:
and storing the target electronic file containing the electronic signature into a second folder, and deleting the target electronic file in the first folder.
4. The method of claim 1, wherein said invoking a natural language processing service to process the target electronic document to determine a first location of a first specified character and a second location of a second specified character in the target electronic document comprises:
under the condition that the target electronic file comprises a plurality of pages, acquiring the last page in the target electronic file;
and calling natural language processing service to process the last page so as to determine a first position of a first specified character and a second position of a second specified character in the target electronic file.
5. The method of claim 4, wherein said obtaining a last page in the target electronic document in the case that the target electronic document contains multiple pages comprises:
adjusting the position of a sliding block in the current display interface until the sliding block is positioned at the bottom of the display interface, and determining that the currently displayed page is the last page in the target electronic file;
alternatively, the first and second electrodes may be,
and adjusting the pages displayed in the display interface of the target electronic file until the characters corresponding to the specified positions in the currently displayed pages are matched with the total page number contained in the target electronic file, and determining that the currently displayed pages are the last pages in the target electronic file.
6. The method of any of claims 1-5, wherein said invoking a natural language processing service to process the target electronic document to determine a first location of a first specified character and a second location of a second specified character in the target electronic document comprises:
determining a target area according to the display position of the target electronic file on a display interface;
acquiring a display picture corresponding to a target area in the display interface;
calling an optical character recognition service, and recognizing the display picture to acquire text content corresponding to the display picture;
invoking a natural language processing service to process the text content to determine a first reference position of the first designated character and a second reference position of a second designated character in the text content;
and determining the first position and the second position according to the display position of the target electronic file on a display interface and the first reference position and the second reference position.
7. The method of any of claims 1-5, wherein after said invoking a natural language processing service to process the target electronic document to determine a first location of a first specified character and a second location of a second specified character in the target electronic document, further comprising:
and storing the target electronic file into a third folder under the condition that the first position and the second position do not meet the preset relationship.
8. An electronic document signature device based on RPA and AI, comprising:
the first acquisition module is used for acquiring a target electronic file to be signed;
the first determining module is used for calling natural language processing service and processing the target electronic file so as to determine a first position of a first designated character and a second position of a second designated character in the target electronic file;
the second determining module is used for determining a signature position according to the first position and the second position under the condition that the first position and the second position meet a preset relationship;
the third determining module is used for determining the moving mode of the electronic signature according to the signature position and the current display position of the electronic signature;
and the moving module is used for controlling the electronic signature to move to the signature position according to the moving mode.
9. The apparatus of claim 8, wherein the first obtaining module is specifically configured to:
determining the electronic signature currently in an available state in a signature system;
and acquiring the target electronic file from the first folder associated with the electronic signature in the available state.
10. The apparatus of claim 9, wherein the signing device further comprises:
and the deleting module is used for storing the target electronic file containing the electronic signature into a second folder and deleting the target electronic file in the first folder.
11. The apparatus of claim 8, wherein the first determining module comprises:
the acquisition unit is used for acquiring the last page in the target electronic file under the condition that the target electronic file contains a plurality of pages;
and the determining unit is used for calling natural language processing service and processing the last page so as to determine a first position of a first specified character and a second position of a second specified character in the target electronic file.
12. The apparatus of claim 11, wherein the obtaining unit is specifically configured to:
adjusting the position of a sliding block in the current display interface until the sliding block is positioned at the bottom of the display interface, and determining that the currently displayed page is the last page in the target electronic file;
alternatively, the first and second electrodes may be,
and adjusting the pages displayed in the display interface of the target electronic file until the characters corresponding to the specified positions in the currently displayed pages are matched with the total page number contained in the target electronic file, and determining that the currently displayed pages are the last pages in the target electronic file.
13. The apparatus of any one of claims 8-12, wherein the first determining module is specifically configured to:
determining a target area according to the display position of the target electronic file on a display interface;
acquiring a display picture corresponding to a target area in the display interface;
calling an optical character recognition service, and recognizing the display picture to acquire text content corresponding to the display picture;
invoking a natural language processing service to process the text content to determine a first reference position of the first designated character and a second reference position of a second designated character in the text content;
and determining the first position and the second position according to the display position of the target electronic file on a display interface, the first reference position and the second reference position.
14. The apparatus of any of claims 8-12, wherein the signing apparatus further comprises:
and the storage module is used for storing the target electronic file into a third folder under the condition that the first position and the second position do not meet the preset relationship.
15. An electronic device, comprising: memory, processor and program stored on the memory and executable on the processor, characterized in that the processor implements the signature method of RPA and AI based electronic file according to any of claims 1-7 when executing the program.
16. A computer-readable storage medium on which a computer program is stored, the program implementing the signature method of the RPA and AI-based electronic file according to any one of claims 1 to 7 when executed by a processor.
17. A computer program product comprising a computer program which, when executed by a processor, implements the method of signing an RPA and AI based electronic file according to any one of claims 1-7.
CN202110719843.7A 2021-06-28 2021-06-28 Electronic file signature method and device based on RPA and AI and electronic equipment Pending CN113553803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110719843.7A CN113553803A (en) 2021-06-28 2021-06-28 Electronic file signature method and device based on RPA and AI and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110719843.7A CN113553803A (en) 2021-06-28 2021-06-28 Electronic file signature method and device based on RPA and AI and electronic equipment

Publications (1)

Publication Number Publication Date
CN113553803A true CN113553803A (en) 2021-10-26

Family

ID=78102474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110719843.7A Pending CN113553803A (en) 2021-06-28 2021-06-28 Electronic file signature method and device based on RPA and AI and electronic equipment

Country Status (1)

Country Link
CN (1) CN113553803A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133312A (en) * 2017-05-02 2017-09-05 深圳乐信软件技术有限公司 A kind of electronic signature method and device
CN109472165A (en) * 2018-09-17 2019-03-15 深圳市佰仟金融服务有限公司 A kind of electronic signature method and relevant device
CN110245220A (en) * 2019-05-05 2019-09-17 深圳法大大网络科技有限公司 Electronic document signs method, apparatus and server, storage medium
CN110543450A (en) * 2019-07-26 2019-12-06 深圳壹账通智能科技有限公司 Electronic document generation method and device, computer equipment and storage medium
WO2020197428A1 (en) * 2019-03-28 2020-10-01 Публичное Акционерное Общество "Сбербанк России" Method and system for checking a set of electronic documents

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133312A (en) * 2017-05-02 2017-09-05 深圳乐信软件技术有限公司 A kind of electronic signature method and device
CN109472165A (en) * 2018-09-17 2019-03-15 深圳市佰仟金融服务有限公司 A kind of electronic signature method and relevant device
WO2020197428A1 (en) * 2019-03-28 2020-10-01 Публичное Акционерное Общество "Сбербанк России" Method and system for checking a set of electronic documents
CN110245220A (en) * 2019-05-05 2019-09-17 深圳法大大网络科技有限公司 Electronic document signs method, apparatus and server, storage medium
CN110543450A (en) * 2019-07-26 2019-12-06 深圳壹账通智能科技有限公司 Electronic document generation method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US7158675B2 (en) Interfacing with ink
EP1683075B1 (en) Boxed and lined input panel
US20110185277A1 (en) Smart space insertion
KR20100135281A (en) Method and tool for recognizing a hand-drawn table
CN113705554A (en) Training method, device and equipment of image recognition model and storage medium
EP1881418A2 (en) Document management system and its method
CN111931771B (en) Bill content identification method, device, medium and electronic equipment
CN112541018A (en) Bank pipelining processing method and device combining RPA and AI and electronic equipment
US20200294187A1 (en) Ground truth generation from scanned documents
CN114626351A (en) Form filling method and device combining RPA and AI, electronic equipment and storage medium
CN110162757B (en) Table structure extraction method and system
CN110245570B (en) Scanned text segmentation method and device, computer equipment and storage medium
EP3869398A2 (en) Method and apparatus for processing image, device and storage medium
US20200026749A1 (en) Pdf extraction with text-based key
CN111177387A (en) User list information processing method, electronic device and computer readable storage medium
CN113553803A (en) Electronic file signature method and device based on RPA and AI and electronic equipment
EP4187504A1 (en) Method for training text classification model, apparatus, storage medium and computer program product
CN111832551A (en) Text image processing method and device, electronic scanning equipment and storage medium
JP4136282B2 (en) Image processing apparatus, image processing method, and storage medium
US8428358B2 (en) Radical-base classification of East Asian handwriting
CN115366553A (en) File sealing method and device, seal control machine, medium and product
CN115880702A (en) Data processing method, device, equipment, program product and storage medium
CN113539518A (en) Medicine data processing method and device based on RPA and AI and electronic equipment
CN114612905A (en) Invoice processing method, device, equipment and medium based on RPA and AI
CN114548040A (en) Note processing method, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination