CN112686240A - Method for extracting fulfillment item, new fulfillment item extraction method and electronic device - Google Patents

Method for extracting fulfillment item, new fulfillment item extraction method and electronic device Download PDF

Info

Publication number
CN112686240A
CN112686240A CN202011585047.0A CN202011585047A CN112686240A CN 112686240 A CN112686240 A CN 112686240A CN 202011585047 A CN202011585047 A CN 202011585047A CN 112686240 A CN112686240 A CN 112686240A
Authority
CN
China
Prior art keywords
file
fulfillment
content
item
template
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
CN202011585047.0A
Other languages
Chinese (zh)
Other versions
CN112686240B (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.)
JD Digital Technology Holdings Co Ltd
Jingdong Shuke Haiyi Information Technology Co Ltd
Original Assignee
JD Digital Technology Holdings Co Ltd
Jingdong Shuke Haiyi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JD Digital Technology Holdings Co Ltd, Jingdong Shuke Haiyi Information Technology Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN202011585047.0A priority Critical patent/CN112686240B/en
Publication of CN112686240A publication Critical patent/CN112686240A/en
Application granted granted Critical
Publication of CN112686240B publication Critical patent/CN112686240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention relates to a method for extracting a performance item, a novel method for extracting a performance item and electronic equipment, wherein the method comprises the following steps: acquiring a file to be identified; identifying the file according to a preset identification method to obtain the content of the file; matching a fulfillment item template corresponding to the content of the file from a pre-constructed template library according to the content of the file; and extracting the fulfillment items from the content of the file according to the fulfillment item template. By the method, the fulfillment items in the file can be automatically and intelligently extracted. Manpower and time are not consumed any more, the working efficiency and the accuracy are improved, and the working cost is reduced.

Description

Method for extracting fulfillment item, new fulfillment item extraction method and electronic device
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method for extracting a performance item, a novel method for extracting a performance item and electronic equipment.
Background
In the prior art, developers focus on the safety problem of the electronic contract and the supervision of the performance process of the electronic contract. For example, the content in the electronic contract is illegally tampered, whether the electronic contract item performs as expected, or whether a valid voucher exists after performing, etc.
That is, no developer has focused on the extraction of performance items. That is, there is no method for automatically and intelligently extracting the item to be performed in the prior art. If manual identification is utilized, not only is the working efficiency low, but also errors are easy to occur.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method for extracting a performance item, a new method for extracting a performance item, and an electronic device, which solve the above technical problems in the prior art.
In a first aspect, an embodiment of the present invention provides a method for extracting a performance item, where the method includes:
acquiring a file to be identified;
identifying the file according to a preset identification method to obtain the content of the file;
matching a fulfillment item template corresponding to the content of the file from a pre-constructed template library according to the content of the file;
and extracting the fulfillment items from the content of the file according to the fulfillment item template.
In a possible embodiment, identifying a file according to a preset identification method to obtain the content of the file specifically includes:
determining a file type;
determining a preset identification method corresponding to the file type according to the file type;
and identifying the file according to a preset identification method to obtain the content of the file.
In one possible embodiment, the file type includes one of: word type or PDF type.
In a possible embodiment, when the file type includes a word type, identifying the file according to a preset identification method, and acquiring the content of the file specifically include:
running the pre-configured program code to identify content in the file.
In a possible embodiment, when the file type includes a PDF type, identifying the file according to a preset identification method, and acquiring the content of the file specifically includes:
and identifying the content in the file by adopting a pre-configured character identification method.
In one possible embodiment, matching a fulfillment item template corresponding to the content of the file from a pre-built template library according to the content of the file includes:
acquiring identification information from the content of the file;
and matching a fulfillment item template corresponding to the identification information from a pre-constructed template library according to the identification information.
In one possible embodiment, the fulfillment item template includes a preset keyword; extracting a fulfillment item from the content of the file according to the fulfillment item template, specifically comprising:
and extracting the content containing the keywords from the content of the file based on the preset keywords to generate a fulfillment item.
In one possible implementation, after extracting the fulfillment item from the content of the document according to the fulfillment item template, the method further includes:
and adding the performance item into the block chain for storage.
In one possible embodiment, the reminder message is issued when the fulfillment entry is not completed within a preset time limit.
In one possible implementation, after extracting the fulfillment item from the content of the document according to the fulfillment item template, the method further includes:
a performance entry is added to the blockchain.
In one possible embodiment, after adding the performance entry to the blockchain, the method further comprises:
generating a blockchain transaction;
and share the blockchain transaction to the performing party.
In a second aspect, an embodiment of the present invention provides a new method for extracting a performance item, where the method includes:
acquiring new content to be performed, first identification information corresponding to an original performing file and second identification information corresponding to a performing task in the original performing file, wherein the performing task is a performing task generated according to a performing item in the original performing file;
generating a new fulfillment file according to the new fulfillment content, the first identification information and the second identification information;
according to the method for extracting a fulfillment item as described in any of the embodiments of the first aspect, the new fulfillment file is processed to generate a new fulfillment item.
In a third aspect, an embodiment of the present invention provides a performing item extracting apparatus, where the apparatus includes:
the acquisition unit is used for acquiring a file to be identified;
the identification unit is used for identifying the file according to a preset identification method and acquiring the content of the file;
the matching unit is used for matching a fulfillment item template corresponding to the content of the file from a pre-constructed template library according to the content of the file;
and the extracting unit is used for extracting the fulfillment items from the content of the file according to the fulfillment item template.
In a fourth aspect, an embodiment of the present invention provides a new fulfillment item extraction apparatus, where the apparatus includes:
the acquiring unit is used for acquiring new content to be performed, first identification information corresponding to an original performing file and second identification information corresponding to a performing task in the original performing file, wherein the performing task is a performing task generated according to a performing item in the original performing file;
a file generating unit, configured to generate a new fulfillment file according to the new fulfillment content, the first identification information, and the second identification information;
a processing unit, configured to process the new fulfillment file according to the method for extracting fulfillment items as described in any of the embodiments of the first aspect, and generate a new fulfillment item.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor and memory;
the processor is configured to execute a fulfillment item extraction program stored in the memory to implement the fulfillment item extraction method as described in any of the embodiments of the first aspect;
alternatively, the processor is configured to execute a new fulfillment item extraction program stored in the memory to implement the new fulfillment item extraction method as described in any of the embodiments of the second aspect.
In a sixth aspect, an embodiment of the present invention provides a computer storage medium, where one or more programs are stored, and the one or more programs are executable by an electronic device as described in the fifth aspect to implement the fulfillment item extraction method as described in any one of the embodiments of the first aspect;
alternatively, a new fulfillment item extraction method as introduced in any of the embodiments of the second aspect is implemented.
The method for extracting the performance item provided by the embodiment of the invention is used for identifying the file after the file to be identified is obtained, so as to obtain the content of the file. Then, according to the content of the file, matching a fulfillment item template corresponding to the content of the file from a pre-constructed template library. And then, identifying a fulfillment item in the content of the file by using the fulfillment item template, and extracting the fulfillment item. By the method, the fulfillment items in the file can be automatically and intelligently extracted. Manpower and time are not consumed any more, the working efficiency and the accuracy are improved, and the working cost is reduced.
Drawings
Fig. 1 is a schematic flow chart of a method for extracting a performance item according to an embodiment of the present invention;
FIG. 2 is a partial schematic view of a labor contract performance template provided by the present invention;
FIG. 3 is a flowchart illustrating a new method for extracting a fulfillment item according to an embodiment of the present invention;
FIG. 4 is a block diagram of a simplified structure of a portion of the process of the present invention for performing item and new performing item extraction;
FIG. 5 is a schematic structural diagram of a fulfillment item extraction apparatus according to an embodiment of the invention;
FIG. 6 is a schematic structural diagram of a new fulfillment item extraction apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For the convenience of understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
Fig. 1 is a schematic flow chart of a method for extracting a performance item according to an embodiment of the present invention, as shown in fig. 1, the method includes:
and step 110, acquiring a file to be identified.
Specifically, the file to be identified is a file containing a fulfillment item. Such as an electronic contract document, or other legal document, etc.
And 120, identifying the file according to a preset identification method, and acquiring the content of the file.
Alternatively, for file identification, the file type may be determined first. And then carry out more accurate discernment to the file to make the file content of acquireing more accurate.
Thus, in identifying a file, the file type may be determined first. And then, according to the file type, determining a preset identification method corresponding to the file type. And then, identifying the file according to a preset identification method to acquire the content of the file.
In one particular example, more common file types may include word files, and PDF files.
For example, when the file type is a word file, a pre-configured program code may be run to identify the content in the file. Specifically, an application is program code that a developer writes programmatically. Program code is executed to identify content in the file. Specifically, reference may be made to an existing manner for identifying content in a word document, which is not described herein too much.
Or, when the file type is PDF, a pre-configured text recognition method may be used to recognize the content in the file. For example, Optical Character Recognition (OCR) software is used to recognize the content in the file.
And step 130, matching a fulfillment item template corresponding to the content of the file from the pre-constructed template library according to the content of the file.
Step 140, extracting a fulfillment item from the content of the document according to the fulfillment item template.
Specifically, the fulfillment item template is a fulfillment item template including a preset keyword. Commonly used and customized fulfillment documents can be preset systematically in advance, characters with universality are reserved, and personalized contents are deleted to form a fulfillment item template. A fulfillment entry template is shown with reference to fig. 2. The labor contract template is shown in FIG. 2 as an example. Only a portion of the contents of the template are shown. Including the contract name, the information of the first party, the information of the second party, and the partial contract terms that the two parties should follow. The keywords in the template introduced above are the ones shown in fig. 2.
A fulfillment items template system like that of fig. 2 may include multiple shares, each having a corresponding fulfillment items template for different types of contracts, different types of legal documents, and other documents having fulfillment items. Moreover, the template library can be enriched continuously in real time according to actual conditions.
Therefore, it is first necessary to match a fulfillment item template corresponding to the content of the file from a pre-constructed template library according to the content of the file. Further, a fulfillment item is extracted from the content of the document according to the fulfillment item template.
Specifically, matching a fulfillment item template corresponding to the content of the file from a pre-constructed template library according to the content of the file may be implemented as follows:
acquiring identification information from the content of the file;
and matching a fulfillment item template corresponding to the identification information from a pre-constructed template library according to the identification information.
For example, according to the content of the document, it can be recognized that the identification information is a labor contract, and then a performance item template corresponding to the labor contract is matched from a pre-constructed database. The identification information here is identification information that can determine the properties of a file. For example, the subject name of the document, generally speaking, will show the nature of the document on the subject of the document, such as a labor contract, an investment entry agreement, an investment dividend agreement, and the like. These can be used as identification information to identify the file properties. And matching a fulfillment item template corresponding to the identification information from a pre-constructed template library according to the identification information.
And extracting the fulfillment item from the content of the document according to the fulfillment item template, which is actually to extract the content including the keyword from the content of the document based on the preset keyword mentioned above to generate the fulfillment item.
In other words, the fulfillment item template is matched to the contents of the file. The character parts in the template shown in fig. 2 are matched with the character parts at the corresponding positions in the file content, and the 'blank' positions behind the keywords are filled with the contents at the corresponding positions in the file content. Thereby forming a fulfillment item.
For example, the content in the template includes: "the first contract term type is ______ term contract. The contract takes effect at ______ year ______ month ______ day, with a trial period of ______ months. "
The document contents containing the above-mentioned keywords are matched in the document, for example, "the first contract term type is __3 year __ term contract. The contract date of effect __2020____, __1____, month ____1__, with a trial period _____3_ month. "
After the content is matched into the file, the part of the content is used as a performance item according to the performance contract template.
Similarly, other contents matched with the performance contract template in the file are collectively generated into performance entries, and a performance entry table is formed for displaying.
The fulfillment items are also respectively pushed to the clients of both sides signing the file, so that the other side respectively confirms the fulfillment items to ensure that the finally obtained fulfillment items are correct.
Further optionally, in order to ensure non-tamper-ability of the performance item, the method may further comprise: after a fulfillment entry is extracted from the content of the file according to the fulfillment entry template, the fulfillment entry is added to the blockchain for saving. So as to ensure that the performance item is not illegally tampered by utilizing the property that the block chain is not tampered.
Further optionally, after adding the performance entry to the blockchain, the method may further include: generating a blockchain transaction; and share the blockchain transaction to the performing party. By the method, the performing party can be guaranteed to know the performing item in time, and corresponding performing tasks are executed according to the performing item.
Further optionally, the method may further include: the execution of the fulfillment item is supervised. And sending out a reminding message when the performance item is not completed within the preset time limit. The specific reminding mode can comprise a short message, a voice call, a mail or other notification modes of office software and the like.
According to the method for extracting the fulfillment item provided by the embodiment of the invention, after the file to be identified is obtained, the file is identified, so that the content of the file is obtained. Then, according to the content of the file, matching a fulfillment item template corresponding to the content of the file from a pre-constructed template library. And then, identifying a fulfillment item in the content of the file by using the fulfillment item template, and extracting the fulfillment item. By the method, the fulfillment items in the file can be automatically and intelligently extracted. Manpower and time are not consumed any more, the working efficiency and the accuracy are improved, and the working cost is reduced.
Further, when some special situations are met, the conditions of the performance item, such as inefficacy force factors, natural disasters, major epidemic situations and the like, may also exist, so that the performance item cannot be completed according to the original set time limit, and the performance item is invalid. The fulfillment period may also be altered.
For example, an entry with respect to a certain item in the original contract that has a performance problem may be processed by adopting a supplementary agreement scheme, where the supplementary agreement requires filling in an id of the original contract and a performance task id, and a new electronic contract file is formed after all the contracting parties have signed. And further executing the operation steps to finish the operations of extracting and storing the performance item information and the like.
Referring to fig. 3 in particular, fig. 3 is a flowchart of a new performance item extraction method according to an embodiment of the present invention. The method comprises the following steps:
step 310, obtain the new content to be performed, the first identification information corresponding to the original performing document, and the second identification information corresponding to the performing task in the original performing document.
Step 320, generating a new fulfillment document according to the new fulfillment content, the first identification information, and the second identification information.
Wherein the fulfillment task is a fulfillment task generated from a fulfillment entry in the original fulfillment document.
In a specific example, after the performing task generated by the performing entry described in the previous embodiment, the second identification information corresponding to each performing task, for example, the performing task id, is generated. The second identification information in this embodiment specifically refers to a task id corresponding to a performance task that cannot be completed in the original performance task list, and the first identification information corresponding to the original performance file may be id information of a file to be identified (original contract).
If a certain fulfillment task in the fulfillment task list introduced in the previous embodiment cannot be completed on schedule due to the reasons described above, such as inefficacy, a supplementary agreement scheme is required to be adopted for processing, the supplementary agreement requires to fill in the id of the original contract and the id of the fulfillment task, and after all the signing by the contract signing party is completed, a new electronic contract document, that is, a new fulfillment document, is formed.
Step 330, processing the new fulfillment document according to the method for extracting fulfillment items as described in the first embodiment, to generate a new fulfillment item.
After the new electronic contract document is formed, the work of extracting the performance items of the new electronic contract document may be completed by using the performance item extracting method as described in the first embodiment. For the specific operation, see above, it is not described here too much.
It should be noted that the new performing item extraction described herein does not only include the case of secondary performing item extraction, but also can perform performing processing a plurality of times using the above flow when the contracting party does not agree with the release.
Fig. 4 is a block diagram illustrating a simplified flow of a portion of the operational process of performing entry and new performing entry extraction. The electronic contract signing method comprises the steps of drawing up an electronic contract (comprising a first electronic contract and a second supplementary agreement), signing the electronic contract, and finishing signing by all signing parties. And performing performance management operation, namely performing the operation content, including identifying the type of the electronic contract, and completing the content reading work of the electronic contract according to different types of the electronic contract. And after the electronic contract content is obtained, matching the electronic contract content with the performance template to generate a performance item, and finally forming a performance task and the like.
In the new fulfillment item extraction method provided by the embodiment of the present invention, when it is determined that the original fulfillment item cannot be completed in due date due to some special conditions, a new fulfillment file may be generated in a manner of a supplementary protocol, and first identification information of the original fulfillment file and second identification information corresponding to a task that cannot be completed in the original fulfillment file are filled in the supplementary protocol. By the method, the specific performance period of which the performance tasks in the performance file need to be updated can be determined, and the new performance items can be automatically and intelligently extracted by the performance item extraction method of the first embodiment, so that the labor and time are not consumed, the working efficiency and the accuracy are improved, and the working cost is reduced.
Fig. 5 is a device for extracting a performance item according to an embodiment of the present invention, where the device includes: an acquisition unit 501, a recognition unit 502, a matching unit 503, and an extraction unit 504.
An obtaining unit 501, configured to obtain a file to be identified;
the identification unit 502 is configured to identify a file according to a preset identification method, and acquire content of the file;
a matching unit 503, configured to match, according to the content of the file, a fulfillment item template corresponding to the content of the file from a pre-constructed template library;
an extracting unit 504 is configured to extract a fulfillment item from the content of the file according to the fulfillment item template.
Optionally, the identifying unit 502 is specifically configured to determine a file type;
determining a preset identification method corresponding to the file type according to the file type;
and identifying the file according to a preset identification method to obtain the content of the file.
Optionally, the file type includes one of: word type or PDF type.
Optionally, when the file type includes a word type, the identifying unit 502 is specifically configured to,
running the pre-configured program code to identify content in the file.
Optionally, when the file type includes a PDF type, the identifying unit 502 is specifically configured to identify the content in the file by using a preconfigured text recognition method.
Optionally, the matching unit 503 is specifically configured to obtain the identification information from the content of the file;
and matching a fulfillment item template corresponding to the identification information from a pre-constructed template library according to the identification information.
Optionally, the fulfillment item template includes preset keywords; the extracting unit 504 is specifically configured to extract, based on a preset keyword, content including the keyword from content of the file, and generate a fulfillment item.
Optionally, the apparatus further comprises: and the processing unit 505 is configured to add the performance entry to the block chain for saving.
Optionally, the apparatus further comprises: a reminding unit 506, configured to send out a reminding message when the fulfillment item is not completed within a preset time limit.
Optionally, the processing unit 505 is further configured to add a performance entry to the blockchain.
The functions executed by each functional component in the fulfillment item extraction apparatus provided in this embodiment have been described in detail in the embodiment corresponding to fig. 1, and therefore are not described herein again.
The device for extracting the performance item provided by the embodiment of the invention is used for identifying the file after acquiring the file to be identified so as to acquire the content of the file. Then, according to the content of the file, matching a fulfillment item template corresponding to the content of the file from a pre-constructed template library. And then, identifying a fulfillment item in the content of the file by using the fulfillment item template, and extracting the fulfillment item. By the method, the fulfillment items in the file can be automatically and intelligently extracted. Manpower and time are not consumed any more, the working efficiency and the accuracy are improved, and the working cost is reduced.
Fig. 6 is a device for extracting a performance item according to an embodiment of the present invention, where the device includes: an acquisition unit 601, a file generation unit 602, and a processing unit 603.
An obtaining unit 601, configured to obtain new content to be performed, first identification information corresponding to an original performing file, and second identification information corresponding to a performing task in the original performing file, where the performing task is a performing task generated according to a performing entry in the original performing file;
a file generating unit 602, configured to generate a new fulfillment file according to the new fulfillment content, the first identification information, and the second identification information;
the processing unit 603 is configured to process the new fulfillment file according to any one of the fulfillment item extraction methods described in the first embodiment, and generate a new fulfillment item.
The functions executed by each functional component in the new fulfillment item extraction apparatus provided in this embodiment have been described in detail in the embodiment corresponding to fig. 3, and therefore are not described herein again.
In the method for extracting a new fulfillment entry provided in the embodiment of the present invention, when it is determined that an original fulfillment entry cannot be completed in due course due to some special conditions, a new fulfillment file may be generated in a manner of a supplementary protocol, and first identification information of the original fulfillment file and second identification information corresponding to a task that cannot be completed in the original fulfillment file are filled in the supplementary protocol. By the method, the specific performance period of which the performance tasks in the performance file need to be updated can be determined, and the new performance items can be automatically and intelligently extracted by the performance item extraction method of the first embodiment, so that the labor and time are not consumed, the working efficiency and the accuracy are improved, and the working cost is reduced.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device 700 shown in fig. 7 includes: at least one processor 701, memory 702, at least one network interface 703, and other user interfaces 704. The various components in the fulfillment items extraction electronic device 700 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable communications among the components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various busses are labeled in figure 7 as the bus system 705.
The user interface 704 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 702 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), synchlronous SDRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 702 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 702 stores the following elements, executable units or data structures, or a subset thereof, or an expanded set thereof: an operating system 7021 and application programs 7022.
The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 7022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. Programs that implement methods in accordance with embodiments of the present invention can be included within application program 7022.
In the embodiment of the present invention, the processor 701 is configured to execute the method steps provided by the method embodiments by calling a program or an instruction stored in the memory 702, specifically, a program or an instruction stored in the application 7022, for example, and includes:
acquiring a file to be identified;
identifying the file according to a preset identification method to obtain the content of the file;
matching a fulfillment item template corresponding to the content of the file from a pre-constructed template library according to the content of the file;
and extracting the fulfillment items from the content of the file according to the fulfillment item template.
Optionally, determining a file type;
determining a preset identification method corresponding to the file type according to the file type;
and identifying the file according to a preset identification method to obtain the content of the file.
Optionally, the file type includes one of: word type or PDF type.
Optionally, when the file type includes a word type, running a pre-configured program code to identify the content in the file.
Optionally, when the file type includes a PDF type, a preconfigured text recognition method is used to identify the content in the file.
Optionally, obtaining the identification information from the content of the file;
and matching a fulfillment item template corresponding to the identification information from a pre-constructed template library according to the identification information.
Optionally, the fulfillment item template includes preset keywords;
and extracting the content containing the keywords from the content of the file based on the preset keywords to generate a fulfillment item.
Optionally, after extracting a fulfillment item from the content of the file according to the fulfillment item template, the method further includes:
and adding the performance item into the block chain for storage.
Optionally, when the fulfillment item is not completed within a preset time limit, a reminding message is sent out.
Optionally, after extracting a fulfillment item from the content of the file according to the fulfillment item template, the method further includes:
a performance entry is added to the blockchain.
Alternatively, it comprises: acquiring new content to be performed, first identification information corresponding to an original performing file and second identification information corresponding to a performing task in the original performing file, wherein the performing task is a performing task generated according to a performing item in the original performing file;
generating a new fulfillment file according to the new fulfillment content, the first identification information and the second identification information;
according to the method for extracting a fulfillment item in the embodiment corresponding to fig. 1, the new fulfillment file is processed to generate a new fulfillment item.
The method disclosed in the above embodiments of the present invention may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The Processor 701 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and performs the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions of the present Application, or a combination thereof.
For a software implementation, the techniques herein may be implemented by means of units performing the functions herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The electronic device provided in this embodiment may be the electronic device shown in fig. 7, and may perform all the steps of the fulfillment item extraction method shown in fig. 1, so as to achieve the technical effect of the fulfillment item extraction method shown in fig. 1, specifically please refer to the related description of fig. 1, or may perform all the steps of the new fulfillment item extraction method shown in fig. 3, so as to achieve the technical effect of the new fulfillment item extraction method shown in fig. 3, specifically refer to the related description of fig. 3, and for brevity, no further description is provided here.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium herein stores one or more programs. Among others, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the storage medium are executable by one or more processors to implement the above-described fulfillment item extraction method performed on the electronic device side, or a new fulfillment item extraction method.
The processor is configured to execute the fulfillment items extraction program stored in the memory to implement the following steps of the fulfillment items extraction method performed on the electronic device side:
acquiring a file to be identified;
identifying the file according to a preset identification method to obtain the content of the file;
matching a fulfillment item template corresponding to the content of the file from a pre-constructed template library according to the content of the file;
and extracting the fulfillment items from the content of the file according to the fulfillment item template.
Optionally, determining a file type;
determining a preset identification method corresponding to the file type according to the file type;
and identifying the file according to a preset identification method to obtain the content of the file.
Optionally, the file type includes one of: word type or PDF type.
Optionally, when the file type includes a word type, running a pre-configured program code to identify the content in the file.
Optionally, when the file type includes a PDF type, a preconfigured text recognition method is used to identify the content in the file.
Optionally, obtaining the identification information from the content of the file;
and matching a fulfillment item template corresponding to the identification information from a pre-constructed template library according to the identification information.
Optionally, the fulfillment item template includes preset keywords;
and extracting the content containing the keywords from the content of the file based on the preset keywords to generate a fulfillment item.
Optionally, after extracting a fulfillment item from the content of the file according to the fulfillment item template, the method further includes:
and adding the performance item into the block chain for storage.
Optionally, when the fulfillment item is not completed within a preset time limit, a reminding message is sent out.
Optionally, after extracting a fulfillment item from the content of the file according to the fulfillment item template, the method further includes: a performance entry is added to the blockchain.
Or, the processor is configured to execute a new fulfillment item extraction program stored in the memory to implement the following steps of the new fulfillment item extraction method executed on the electronic device side:
acquiring new content to be performed, first identification information corresponding to an original performing file and second identification information corresponding to a performing task in the original performing file, wherein the performing task is a performing task generated according to a performing item in the original performing file;
generating a new fulfillment file according to the new fulfillment content, the first identification information and the second identification information;
according to any method for extracting a fulfillment item in the embodiment corresponding to fig. 1, the new fulfillment file is processed to generate a new fulfillment item.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, it should be understood that the above embodiments are merely exemplary embodiments of the present invention and are not intended to limit the scope of the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for performing item extraction, the method comprising:
acquiring a file to be identified;
identifying the file according to a preset identification method to obtain the content of the file;
matching a fulfillment item template corresponding to the content of the file from a pre-constructed template library according to the content of the file;
and extracting a fulfillment item from the content of the file according to the fulfillment item template.
2. The method according to claim 1, wherein the identifying the file according to a preset identification method to obtain the content of the file specifically comprises:
determining the file type;
determining a preset identification method corresponding to the file type according to the file type;
and identifying the file according to a preset identification method to obtain the content of the file.
3. The method according to claim 1, wherein when the file type includes a word type, the identifying the file according to a preset identification method to obtain the content of the file specifically includes:
running pre-configured program code to identify content in the file.
4. The method according to claim 1, wherein when the file type includes a PDF type, the identifying the file according to a preset identification method to obtain the content of the file specifically includes:
and identifying the content in the file by adopting a pre-configured character identification method.
5. The method of any of claims 1-4, wherein matching, based on the content of the document, a fulfillment entry template from a pre-built template library corresponding to the content of the document comprises:
acquiring identification information from the content of the file;
and matching a fulfillment item template corresponding to the identification information from a pre-constructed template library according to the identification information.
6. The method of any of claims 1-4, wherein the fulfillment entry template includes a preset keyword; the extracting a fulfillment item from the content of the file according to the fulfillment item template specifically includes:
and extracting the content containing the keywords from the content of the file based on the preset keywords to generate a fulfillment item.
7. The method of any of claims 1-4, wherein after extracting fulfillment items from the content of the document according to the fulfillment item template, the method further comprises:
adding the performance entry to a blockchain.
8. A new fulfillment item extraction method, the method comprising:
acquiring new content to be performed, first identification information corresponding to an original performing file and second identification information corresponding to a performing task in the original performing file, wherein the performing task is a performing task generated according to a performing item in the original performing file;
generating a new fulfillment file according to the new fulfillment content, the first identification information, and the second identification information;
the fulfillment item extraction method of any of claims 1-7, wherein the new fulfillment file is processed to generate a new fulfillment item.
9. An electronic device, characterized in that the electronic device comprises: at least one processor and memory;
the processor is configured to execute a fulfillment item extraction program stored in the memory to implement the fulfillment item extraction method of any of claims 1-7, or the processor is configured to execute a new fulfillment item extraction program stored in the memory to implement the new fulfillment item extraction method of claim 8.
10. A computer storage medium storing one or more programs executable by the electronic device of claim 9 to implement the fulfillment item extraction method of any of claims 1-7; alternatively, the fulfillment item extraction method of claim 8 is implemented.
CN202011585047.0A 2020-12-28 2020-12-28 Method for extracting fulfillment item, new fulfillment item extraction method and electronic device Active CN112686240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011585047.0A CN112686240B (en) 2020-12-28 2020-12-28 Method for extracting fulfillment item, new fulfillment item extraction method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011585047.0A CN112686240B (en) 2020-12-28 2020-12-28 Method for extracting fulfillment item, new fulfillment item extraction method and electronic device

Publications (2)

Publication Number Publication Date
CN112686240A true CN112686240A (en) 2021-04-20
CN112686240B CN112686240B (en) 2022-11-08

Family

ID=75454511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011585047.0A Active CN112686240B (en) 2020-12-28 2020-12-28 Method for extracting fulfillment item, new fulfillment item extraction method and electronic device

Country Status (1)

Country Link
CN (1) CN112686240B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114580369A (en) * 2022-05-05 2022-06-03 杭州天谷信息科技有限公司 Signing method and system based on contract template

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180173450A1 (en) * 2015-06-15 2018-06-21 Beijing Kingsoft Internet Security Software Co., Ltd. Method and Device for File Name Identification and File Cleaning
CN109783781A (en) * 2018-12-13 2019-05-21 中国平安财产保险股份有限公司 Declaration form input method and relevant apparatus based on image recognition
CN110084572A (en) * 2019-05-09 2019-08-02 北京智签科技有限公司 A kind of electronic contract based on block chain is honoured an agreement processing method automatically
CN110096626A (en) * 2019-03-18 2019-08-06 平安普惠企业管理有限公司 Processing method, device, equipment and the storage medium of contract text data
CN112069296A (en) * 2020-11-11 2020-12-11 杭州天谷信息科技有限公司 Method for identifying contract elements of PDF (Portable document Format) file

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180173450A1 (en) * 2015-06-15 2018-06-21 Beijing Kingsoft Internet Security Software Co., Ltd. Method and Device for File Name Identification and File Cleaning
CN109783781A (en) * 2018-12-13 2019-05-21 中国平安财产保险股份有限公司 Declaration form input method and relevant apparatus based on image recognition
CN110096626A (en) * 2019-03-18 2019-08-06 平安普惠企业管理有限公司 Processing method, device, equipment and the storage medium of contract text data
CN110084572A (en) * 2019-05-09 2019-08-02 北京智签科技有限公司 A kind of electronic contract based on block chain is honoured an agreement processing method automatically
CN112069296A (en) * 2020-11-11 2020-12-11 杭州天谷信息科技有限公司 Method for identifying contract elements of PDF (Portable document Format) file

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114580369A (en) * 2022-05-05 2022-06-03 杭州天谷信息科技有限公司 Signing method and system based on contract template

Also Published As

Publication number Publication date
CN112686240B (en) 2022-11-08

Similar Documents

Publication Publication Date Title
US20210406830A1 (en) Systems, methods and apparatus for form building
CN111274782B (en) Text auditing method and device, computer equipment and readable storage medium
KR101999409B1 (en) Formatting data by example
WO2020015190A1 (en) Method for generating business rule, electronic device, and readable storage medium
CN112329419A (en) Document editing method, device, server, terminal and storage medium
CN111274045A (en) Multi-platform docking method and device, computer equipment and readable storage medium
CN110705236A (en) Electronic contract template dynamic configuration method and system
US20210319517A1 (en) System and method for remotely obtaining an electronic signature
US10452770B2 (en) System for tracking comments during document collaboration
WO2020259141A1 (en) File processing method and apparatus, and computer device
CN110543450A (en) Electronic document generation method and device, computer equipment and storage medium
CN112686240B (en) Method for extracting fulfillment item, new fulfillment item extraction method and electronic device
CN112214782A (en) Electronic document signature method, device and equipment
CN111126010A (en) Freemarker template file repairing method and device, computer equipment and storage medium
CN109144674B (en) Contract processing apparatus and contract processing method
CN117522094A (en) Seal management method, platform, electronic equipment and storage medium
CN112069808A (en) Financing wind control method and device, computer equipment and storage medium
CN115495556A (en) Document processing method and device
CN111695327B (en) Method and device for repairing messy codes, electronic equipment and readable storage medium
CN114637672A (en) Automatic data testing method and device, computer equipment and storage medium
CN114201215A (en) Interface document generation method and device, electronic equipment and storage medium
WO2019019456A1 (en) Claim settlement data processing method and apparatus, computer device and storage medium
CN110515653B (en) Document generation method and device, electronic equipment and computer readable storage medium
CN114118046A (en) Batch transaction processing method and device
CN113961286A (en) Page generation method, device and equipment for application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 601, 6 / F, building 2, No. 18, Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Information Technology Co.,Ltd.

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: 601, 6 / F, building 2, No. 18, Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant before: Jingdong Shuke Haiyi Information Technology Co.,Ltd.

Applicant before: Jingdong Digital Technology Holding Co.,Ltd.

GR01 Patent grant
GR01 Patent grant