CN108897727A - Filing of contract method, apparatus, computer equipment and storage medium - Google Patents

Filing of contract method, apparatus, computer equipment and storage medium Download PDF

Info

Publication number
CN108897727A
CN108897727A CN201810501579.8A CN201810501579A CN108897727A CN 108897727 A CN108897727 A CN 108897727A CN 201810501579 A CN201810501579 A CN 201810501579A CN 108897727 A CN108897727 A CN 108897727A
Authority
CN
China
Prior art keywords
contract
page
key
scan
document
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
CN201810501579.8A
Other languages
Chinese (zh)
Other versions
CN108897727B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810501579.8A priority Critical patent/CN108897727B/en
Priority to PCT/CN2018/094886 priority patent/WO2019223073A1/en
Publication of CN108897727A publication Critical patent/CN108897727A/en
Application granted granted Critical
Publication of CN108897727B publication Critical patent/CN108897727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application discloses a kind of Filing of contract method, apparatus, computer equipment and storage medium, wherein method includes:The contract scan page uploaded is received, the contract scan page includes the corresponding first contract page number of the contract scan page;It obtains preset contract template, include at least one page key page, the key page in the contract template includes the corresponding second contract page number of the key page;When the first contract page number is matched with the second contract page number, the key page is replaced with into the contract scan page, generates electronic contract document.The application forms contract scanned copy after being scanned the key page of completed contract, be then replaced the contract scanned copy and the key page in the contract template, forms electronic contract document recordation.When carrying out Filing of contract using this method, staff need to only scan the key page of contract, without being all scanned contract, reduce the workload of staff, accelerate the speed of batch Filing of contract.

Description

Filing of contract method, apparatus, computer equipment and storage medium
Technical field
This application involves field of computer technology is arrived, a kind of Filing of contract method, apparatus is especially related to, computer is set Standby and storage medium.
Background technique
The general fixed page of contract and key page composition;The clause of some fixations in fixed page, do not need both parties or Multi-party fill message, key page are comprising particular transactions information for filling in contract such as price, quantity, negotiator's data in need etc. The page of information.When putting on record after contract is scanned into electronic contract document after counterparty signs a contract, need by Whole contract pages all run-downs synthesize an electronic contract document and are made into electronic contract document since a contract has multipage When need every page all run-downs generating biggish workload, and the contract more than number of pages is also easy to malfunction.
So providing the problem of new Filing of contract method of one kind is urgent need to resolve.
Summary of the invention
The main purpose of the application is to provide after one kind need to only scan key page to be put into preset system and can give birth to At Filing of contract method, apparatus, computer equipment and the storage medium of electronic contract document.
In order to achieve the above-mentioned object of the invention, the application proposes a kind of Filing of contract method, including:
The contract scan page uploaded is received, the contract scan page includes the corresponding first contract page of the contract scan page Code;
It obtains preset contract template, include at least one page key page, the key page in the contract template includes institute State the corresponding second contract page number of key page;
When the first contract page number is matched with the second contract page number, the key page is replaced with into the contract Scan page generates electronic contract document.
It further, include preset mark in the key page, it is described to work as the first contract page number and described second When the contract page number matches, the step of replacing with the contract scan page, generate electronic contract document the key page, includes:
Search the preset mark;
The preset mark is parsed, the second contract page number is generated;
The first contract page number is matched with the second contract page number;
If successful match, the corresponding contract scan page of the first contract page number is replaced with into the second contract page number pair The key page answered;
Generate electronic contract document.
Further, after the step of generation electronic contract document, including:
Scanning electron treaty documents, judge whether there is preset mark;
If so, issuing preset first standby signal.
Further, the step of generation electronic contract document, including:
Replaced contract template is sent to backstage;
After receiving confirmation instruction, electronic contract document is generated.
Further, include after the step of generation electronic contract document:
Obtain the quantity of key page in the contract template;
Judge whether the page quantity of the contract scan page is consistent with the quantity of the key page;
If it is not, issuing preset second standby signal.
Further, the contract template is text document, and the method that the key page template is arranged includes:
The contract template is read, identifies the space in text and/or carriage return label;
When the space and/or carriage return label continue to exceed certain amount, it is arranged where the space and/or carriage return label The page be the key page.
Further, include after the step of generation electronic contract document:
It is electronic contract document life with the date of formation of the contract template title and the electronic contract document Name.
The application also provides a kind of Filing of contract device, including:
Receiving module, for receiving the contract scan page uploaded, the contract scan page includes the contract scan page pair The first contract page number answered;
Module is obtained, includes at least one page key page for obtaining preset contract template, in the contract template, it is described Key page includes the corresponding second contract page number of the key page;
Generation module is used for when the first contract page number is matched with the second contract page number, by the key page The contract scan page is replaced with, electronic contract document is generated.
The application also provides a kind of computer equipment, including memory and processor, and the memory is stored with computer The step of program, the processor realizes any of the above-described the method when executing the computer program.
The application also provides a kind of computer readable storage medium, is stored thereon with computer program, the computer journey The step of method described in any of the above embodiments is realized when sequence is executed by processor.
Filing of contract method, apparatus, computer equipment and the storage medium of the application carries out the key page of completed contract Contract scanned copy is formed after scanning, then replaces the key page in the contract scanned copy former contract template corresponding with the contract It changes, it can form the electronic contract document of contract, complete Filing of contract.When carrying out Filing of contract using this method, work people The key page that member need to only scan contract reduces the workload of staff, especially without being all scanned contract It is even more to reduce the workload of staff when putting on record a large amount of contract, accelerate the speed of batch Filing of contract Degree.
Detailed description of the invention
Fig. 1 is the flow diagram of the Filing of contract method of one embodiment of the application;
Fig. 2 is that the said contract of one embodiment of the application is put on record the idiographic flow schematic diagram of step S3 in method;
Fig. 3 is that the said contract of one embodiment of the application is put on record the idiographic flow schematic diagram of step S35 in method;
Fig. 4 is that the said contract of one embodiment of the application puts on record the detailed process signal of key page method is arranged in method Figure;
Fig. 5 is the structural schematic diagram of the Filing of contract device of one embodiment of the application;
Fig. 6 is the structural schematic block diagram of the generation module of the Filing of contract device of one embodiment of the application;
Fig. 7 is the structural schematic block diagram of the generation unit of the Filing of contract device of one embodiment of the application;
Fig. 8 is the structural schematic block diagram of the Filing of contract device of one embodiment of the application;
Fig. 9 is the structural schematic block diagram of the Filing of contract device of one embodiment of the application;
Figure 10 is the structural schematic block diagram of the computer equipment of one embodiment of the application.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
Referring to Fig.1, the embodiment of the present application provides a kind of Filing of contract method, including step:
S1, the contract scan page uploaded is received, the contract scan page includes that the contract scan page corresponding first closes The same page number;
S2, preset contract template is obtained, includes that at least one page key page, the key page includes in the contract template The corresponding second contract page number of the key page;
S3, when the first contract page number is matched with the second contract page number, the key page is replaced with described Contract scan page generates electronic contract document.
As described in above-mentioned steps S1, after counterparty has signed contract, it can sign, affix one's seal on the key page of contract, arrange Transaction content.Contract page scan with sign or seal or agreement transaction content is formed contract scan page by staff. Contract scan page includes the document files stored with graphic form or document form.Wherein the file of graphic form includes JEPG lattice Formula, BMP format, TIF format etc..The file of document form includes pdf format.Then staff orders image data respectively Name, places it in the specified database of system.System accesses database, gets the contract scan page in database.In a tool In body embodiment, database refers to that the corresponding memory space of a specified file, staff scan contract in system Page is placed in the database, i.e., contract scan page is placed in this file.System is swept in the contract received in database When retouching page, the address where file is accessed, obtains the contract scan page in this document folder.System is obtaining the conjunction in file When with scan page, determine whether it is contract scan page according to the file suffixes in database.System reads each in this document folder The suffix of file determines that it is contract scan page, receives the contract of upload if the suffix is preset contract scan page format Scan page.If suffix is that .dwg .exe etc. are not belonging to preset contract scan page format, determine that it is not contract scan page, Upload is not received.The first contract page number is the page number on contract scan page, for contract scan page to be marked, convenient pair Multiple scan pages distinguish.
As described in above-mentioned steps S2, contract template is uploaded after system manager formulates according to the involved contract of transaction Arrive system.There are key page and fixed page in contract template.System manager is when making contract template, by key page and fixation Page makes respectively, and then sequence as agreed merges.Wherein, fixed page is fixed and invariable, using the shape of encryption Formula production, does not allow other people to carry out any change.Because the format of fixed page and key page is different, therefore can be by identifying Whether the page in contract template has carried out encryption to identify key page.The second contract page number is the page being arranged on key page Number, for being distinguished to multiple key pages.
As described in above-mentioned steps S3, after system reads the first contract page number of the contract scan page uploaded, lookup and contract The second whole contract page numbers of key page in template, the first contract page number of reading are matched with the second contract page number respectively, If there is successful match, just the corresponding contract scan page of first contract page number key page corresponding with the second contract page number is carried out Replacement, i.e. key page in deletion contract template, increase contract scan page corresponding with key page in the position of former key page, this Sample is exactly whole clause information and Transaction Information containing contract in entire contract template, has whole elements of contract, New contract template is merged, the electronic contract document is generated, is put into system save and put on record.
Referring to Fig. 2 include further preset mark in above-mentioned key page, it is described when the first contract page number with When the second contract page number matches, the key page is replaced with into the contract scan page, generates the step of electronic contract document Suddenly include:
S31, the preset mark is searched;
S32, the parsing preset mark, generate the second contract page number;
S33, the first contract page number is matched with the second contract page number;
If S34, successful match, the corresponding contract scan page of the first contract page number is replaced with into the second contract page The corresponding key page of code;
S35, electronic contract document is generated.
In the present embodiment, system manager when making contract template, by contract template key page and fixed page into Row is distinguished, by key page plus label.Such as the page serial number of above-mentioned key page template is one, two, seven, then page serial number is arranged For one, two, seventh is that key page label.When system searching is to the label that page serial number is " one ", " two ", " seven ", the page is determined Face is key page.In this programme another specific embodiment, system manager will add different watermarks in key page, right The page with watermark is confirmed as key page by the watermark in system searching contract template answered.Then according to pre- If rule label is parsed, obtain the second contract page number.It, will at least after system reads key page the second contract page number One second contract page number is matched at least one first contract page number respectively.For example it parses the second of first key page and closes It is 1 with the page number, the second contract page number of second key page is 2.System reads contract template, reads first contract scanning The first contract page number of page is 1, and the second contract page number of second contract scan page is 2, just by first contract scan page and First key page matching, second contract scan page is matched with second key page.After successful match, by key page from conjunction With the position deleted in template, while key page will be inserted into the matched contract scan page of key page, contract scan page is realized Key page is substituted.Form electronic contract document.
In another embodiment, system searching generates three second contract page numbers to three preset marks after parsing It is 1,2,7 respectively, three first contract page numbers of three contract scan pages of acquisition are 1,2,3 respectively.Specifically matching process is: Then matched according to the seniority among brothers and sisters of page number sequence, by the second contract page number be 1 key page and the first contract page number be 1 contract Scan page is matched;By the second contract page number be 2 key page and the first contract page number be 2 contract scan page carry out Match;The key page that the second contract page number is 7 is matched with the contract scan page that the first contract page number is 3.
Further, after the step of above-mentioned generation electronic contract document, including:
S4, scanning electron treaty documents, judge whether there is preset mark;
S5, if so, issuing preset first standby signal.
In the present embodiment, after foring electronic contract document, electronic contract document is scanned by system again, sees that electronics closes With in document, whether there are also the preset marks of key page.Because being the page in need for filling in Transaction Information in the crucial page, If there are also key pages in electronic contract document, illustrate that contract is incomplete.By searching for whether having in electronic contract document Preset mark, and then judge whether there are also key pages in electronic contract document, to judge whether electronic contract document is complete 's.If finding to illustrate not to be replaced there are also key page there are also preset mark in electronic contract document after scanning, illustrate electricity Sub- treaty documents be it is incomplete, therefore, system issues the first standby signal, reminds staff wrong to electronic contract document It is accidentally or imperfect, it needs to put on record again.First standby signal includes the dialog box prompt staff that system generates, and is also possible to It controls LED light flashing and reminds staff, be also possible to control the corresponding sound prompting staff of buzzer sending.
Referring to Fig. 3, further, the step of the generation electronic contract document, including:
S351, replaced contract template is sent to backstage;
S352, after receiving confirmation instruction, electronic contract document is generated.
It, will be replaced after contract scan page to be substituted to the key page in contract template as described in above-mentioned steps S531 Contract template is sent to the interface edge that staff uses and is shown, and the interface edge that staff uses i.e. backstage makes work Electronic contract browsing confirmation of the personnel to that will generate.
As described in above-mentioned steps S532, confirmation instruction is sent to system by backstage after staff's confirmation, system receives To after the confirmation instruction sent from the background, the contract template after insertion image data and deletion key page template is integrated into new Document generates electronic contract document.
Further, include after the step of generation electronic contract document described above:
S6, the quantity for obtaining key page in the contract template;
S7, judge whether the page quantity of the contract scan page is consistent with the quantity of the key page;
S8, if it is not, issuing preset second standby signal.
In the present embodiment, the key page in contract template must be all replaced away, and the information in entire contract is only Completely.If there is the quantity of contract scan page and key page is inconsistent, illustrate that the key page having is not replaced, it is corresponding The electronic contract document of generation is incomplete.The quantity of key page in acquisition contract template is by obtaining in contract template Marker number come what is obtained, because there is a label in each key page, therefore the quantity of marker number and key page is phase With.Whether the quantity of the quantity and key page that judge contract scan page is consistent, that is, whether the numerical value for comparing two quantity is consistent. If two values are inconsistent, illustrate there is key page not replace in contract, or have replacement mistake, so that the electronics generated Treaty documents are imperfect or wrong.Therefore, the second standby signal is issued.Second standby signal and the first standby signal It can be identical, the dialog box prompt staff including system generation, be also possible to control LED light flashing prompting work people Member is also possible to control the corresponding sound prompting staff of buzzer sending.
Referring to Fig. 4, further, the contract template is text document, and the method that the key page is arranged includes:
S201, the contract template is read, identifies the space in text and/or carriage return label;
S202, when the space and/or carriage return label continue to exceed certain amount, the space and/or carriage return mark are set The page where label is the key page.
As described in above-mentioned steps S201, the form of contract template is text formatting, to needing fill message in text formatting Position be all to need leaving a blank, and needing the position of fill message is all key page, therefore, by identification contract template in Blank space judge key page.When making text, space label is left by input space order or carriage return order or is returned Logo label are to generate blank position, alternatively, underscore instruction is added when inputting space order, have blank in corresponding text Position.System read contract template, by all page browsing one time, identify text be space label, carriage return label or Space label underlines, and determines that this position is blank.
As described in above-mentioned steps S202, after system identification has gone out the blank position in text, this sky is further judged Whether white position is position for filling in Transaction Information, and the position for fill message needs certain space, cannot be too small, Thus work as space label and/or carriage return label continues to exceed certain amount, for example continuously has 20 space labels or 3 carriage return marks Label, decide that this blank position is to fill in some Transaction Informations, and in turn, the page where the blank position is arranged is crucial Page.
Further, include after the step of above-mentioned generation electronic contract document:
S9, with the date of formation of the contract template title and the electronic contract document be the electronic contract document Name.
As described in above-mentioned steps S9, contract template title is that the system person of running affairs makes the name that carries out after contract template, one As be to be named with the type or Transaction Name of contract, such as " A product trading contract ".The generation day of electronic contract document Phase is the date that system access network obtains, which is to be subject to date in system location.System gets contract template The date of formation of title and electronic contract document merges into the content of the two:" A product trading contract 20180326 ", with this Content is electronic contract document name, it is shown that the treaty content of the electronic contract document and puts on record the date, facilitates work Personnel are managed all contracts.
In conclusion the Filing of contract method of the application, the contract that formed after the key page of completed contract is scanned is swept Part is retouched, is then replaced the key page in the contract scanned copy former contract template corresponding with the contract, it can formed and closed Same electronic contract document completes Filing of contract.When carrying out Filing of contract using this method, staff need to only scan contract Key page reduces the workload of staff without being all scanned contract, especially closes to a large amount of With when being put on record, the workload of staff is even more reduced, the speed of batch Filing of contract is accelerated.
Referring to Fig. 5, the application also proposes a kind of Filing of contract device, including:
Receiving module 1, for receiving the contract scan page uploaded, the contract scan page includes the contract scan page pair The first contract page number answered;
First obtains module 2, includes that at least one page is crucial for obtaining preset contract template, in the contract template Page, the key page includes the corresponding second contract page number of the key page;
Generation module 3 is used for when the first contract page number is matched with the second contract page number, by the key page The contract scan page is replaced with, electronic contract document is generated.
In the present embodiment, after counterparty has signed contract, it can sign, affix one's seal on the key page of contract, arrange in transaction Hold.Contract page scan with sign or seal or agreement transaction content is formed contract scan page by staff.Contract is swept Retouching page includes the document files stored with graphic form or document form.Wherein the file of graphic form includes JEPG format, BMP Format, TIF format etc..The file of document form includes pdf format.Then staff names image data respectively, by it It is placed on the specified database of system.Receiving module 1 accesses database, receives the contract scan page in database.It is specific real one It applies in example, database refers to that the corresponding memory space of a specified file, staff put contract scan page in system It sets in the database, i.e., contract scan page is placed in this file.Receiving module 1 is swept in the contract received in database When retouching page, the address where file is accessed, obtains the contract scan page in this document folder.Receiving module 1 is obtaining file In contract scan page when, determine whether it is contract scan page according to the file suffixes in database.Receiving module 1 reads this article The suffix of each file in part folder determines that it is contract scan page if the suffix is preset contract scan page format, receives It uploads.If suffix is that .dwg .exe etc. are not belonging to preset contract scan page format, determine that it is not contract scan page, no It receives and uploads.The first contract page number is the page number on contract scan page, convenient to more for contract scan page to be marked A scan page distinguishes.
Contract template is to upload to system after system manager formulates according to the involved contract of transaction.Contract template In have key page and fixed page.Key page and fixed page are made respectively, are then pressed when making contract template by system manager It is merged according to the sequence of contract.Wherein, fixed page is fixed and invariable, and is made in the form of encryption, is not allowed other people Carry out any change.Because the format of fixed page and key page is different, therefore can be by identifying the page in contract template Whether encryption has been carried out to identify key page.The second contract page number is the number of pages being arranged on key page, for multiple passes Key page distinguishes.After staff selects the type of contract, the first acquisition module 2 obtains preset contract template.
After generation module 3 reads the first contract page number of the contract scan page uploaded, search and the key in contract template The second whole contract page numbers of page, the first contract page number of reading matchs with the second contract page number respectively, if there is match at Function, generation module 3 just replace the corresponding contract scan page of first contract page number key page corresponding with the second contract page number It changes, i.e. key page in deletion contract template, increases contract scan page corresponding with key page in the position of former key page, this Sample is exactly whole clause information and Transaction Information containing contract in entire contract template, has whole elements of contract, New contract template is merged, generation module 3 generates the electronic contract document, is put into system save and put on record.
Referring to Fig. 6, further, above-mentioned generation module 3 includes:
Searching unit 31, for searching the preset mark;
Resolution unit 32 generates the second contract page number for parsing the preset mark;
Matching unit 33, for matching the first contract page number with the second contract page number;
The corresponding contract scan page of the first contract page number is replaced with institute if being used for successful match by replacement unit 34 State the corresponding key page of the second contract page number;
Generation unit 35, for generating electronic contract document.
In the present embodiment, system manager when making contract template, by contract template key page and fixed page into Row is distinguished, by key page plus label.Such as the page serial number of above-mentioned key page template is one, two, seven, then page serial number is arranged For one, two, seventh is that key page label.Searching unit 31 finds the page serial number when being the label of " one ", " two ", " seven ", really The fixed page is key page.In this programme another specific embodiment, system manager will add different watermarks in key page It marks, the watermark in corresponding system searching contract template, the page with watermark is confirmed as key page.Then Resolution unit 32 parses label according to default rule, obtains the second contract page number.Matching unit 33 reads key After the second contract page number of page, at least one second contract page number is matched at least one first contract page number respectively.For example it solves It is 1 that analysis unit 32, which parses the second contract page number of first key page, and the second contract page number of second key page is 2.? Contract template is read with unit 33, the first contract page number for reading first contract scan page is 1, second contract scan page The second contract page number be 2, matching unit 33 just matches first contract scan page with first key page, by second close It is matched with scan page with second key page.After successful match, replacement unit 34 deletes key page from contract template, simultaneously It will be inserted into the position of key page with the matched contract scan page of key page, realize that key page is substituted in contract scan page.It generates Unit 35 generates electronic contract document.
In another embodiment, searching unit 31 finds three preset marks, and resolution unit 32 generates after parsing Three second contract page numbers are 1,2,7 respectively, three first contract page numbers of three contract scan pages of acquisition are 1 respectively, 2, 3.The specific matching process of matching unit 33 is:It is then matched according to the seniority among brothers and sisters of page number sequence, the pass for being 1 by the second contract page number Key page is matched with the contract scan page that the first contract page number is 1;The key page and the first contract for being 2 by the second contract page number The contract scan page that the page number is 2 is matched;By the second contract page number be 7 key page and the first contract page number be 3 contract Scan page is matched.
Further, said contract device of putting on record further includes:
Scan module 4 is used for scanning electron treaty documents, judges whether there is preset mark;
First cue module 5 issues preset first standby signal if having preset mark for electronic contract document.
In the present embodiment, after foring electronic contract document, electronic contract document is scanned by scan module 4 again, is seen Whether there are also the preset marks of key page in electronic contract document.Because being in need to fill in Transaction Information in the crucial page The page illustrates that contract is incomplete if there are also key pages in electronic contract document.By searching for being in electronic contract document It is not no to have preset mark, and then judge in electronic contract document whether there are also key pages, thus judge electronic contract document whether be Completely.If finding to illustrate not to be replaced there are also key page there are also preset mark in electronic contract document after scanning, say Bright electronic contract document be it is incomplete, therefore, the first cue module 5 issue the first standby signal, remind staff to this Electronic contract document mistake is imperfect, needs to put on record again.First standby signal includes the dialog box prompt work that system generates Make personnel, is also possible to control LED light flashing prompting staff, is also possible to control the corresponding sound prompting of buzzer sending Staff.
Referring to Fig. 7, further, above-mentioned generation unit 35 includes:
Transmission sub-unit 351, for sending replaced contract template to backstage;
Subelement 352 is generated, after receiving confirmation instruction, generates electronic contract document.
In the present embodiment, after contract scan page to be substituted to the key page in contract template, transmission sub-unit 351 will be replaced Contract template afterwards is sent to the interface edge that staff uses and is shown, and the interface edge that staff uses i.e. backstage makes Electronic contract browsing confirmation of the staff to that will generate.Confirmation instruction is sent to being by backstage after staff's confirmation System, after generation subelement 352 receives the confirmation instruction sent on backstage, after image data will be inserted into and delete key page template Contract template be integrated into new document, generate electronic contract document.
Referring to Fig. 8, further, said contract device of putting on record further includes:
Second obtains module 6, for obtaining the quantity of key page in the contract template;
Whether judgment module 7, the page quantity for judging the contract scan page are consistent with the quantity of the key page;
Second cue module 8, if for the contract scan page page quantity whether with the quantity of the key page not Unanimously, preset second standby signal is issued.
In the present embodiment, the key page in contract template must be all replaced away, and the information in entire contract is only Completely.If there is the quantity of contract scan page and key page is inconsistent, illustrate that the key page having is not replaced, it is corresponding The electronic contract document of generation is incomplete.Second obtains the quantity that module 6 obtains key page in contract template, is by obtaining The marker number in contract template is taken to obtain, because having a label, therefore marker number and key in each key page The quantity of page is identical.Judgment module 7 judge contract scan page quantity and key page quantity it is whether consistent, that is, compare two Whether the numerical value of a quantity is consistent.If two values are inconsistent, illustrate there is key page not replace in contract, or replace Mistake is changed, so that the electronic contract document generated is imperfect or wrong.Therefore, the second cue module 8 issues second Standby signal.Second standby signal can be identical, to generate including system dialog box prompt work with the first standby signal Personnel are also possible to control LED light flashing prompting staff, are also possible to control the corresponding sound prompting work of buzzer sending Make personnel.
Further, said contract template is text document, and said contract device of putting on record further includes:
Identification module identifies the space in text and/or carriage return label for reading the contract template;
Setup module, for continuing to exceed certain amount when the space and/or carriage return label, be arranged the space and/ Or the page where carriage return label is the key page.
In the present embodiment, the form of contract template is text formatting, to needing the position of fill message all in text formatting It is to need leaving a blank, and needing the position of fill message is all key page, therefore, identification module passes through in identification contract template Blank space judge key page.When making text, space label is left by input space order or carriage return order or is returned Logo label are to generate blank position, alternatively, underscore instruction is added when inputting space order, have blank in corresponding text Position.Identification module reads contract template and identifies that text is space label, carriage return label for all page browsing one time Or space label underlines, and determines that this position is blank.After identification module has identified the blank position in text, into The setup module of one step judges whether this blank position is position for filling in Transaction Information, the position for fill message Certain space is needed, cannot be too small, thus when space label and/or carriage return label continue to exceed certain amount, such as continuously There are 20 space labels or 3 carriage return labels, setup module decides that this blank position is to fill in some Transaction Informations, into And the page where the blank position is arranged is key page.
Referring to Fig. 9, further, said contract device of putting on record further includes:
Module 9 is named, for being described with the date of formation of the contract template title and the electronic contract document The name of electronic contract document.
In the present embodiment, contract template title is that the system person of running affairs makes the name carried out after contract template, is usually It is named with the type or Transaction Name of contract, such as " A product trading contract ".The date of formation of electronic contract document is to be The date that system access network obtains, the date are to be subject to date in system location.Name module 9 gets contract template name Claim the date of formation with electronic contract document, the content of the two is merged into:" A product trading contract 20180326 ", it is interior with this Hold is that the electronic contract document is named, it is shown that the treaty content of the electronic contract document and puts on record the date, facilitates work people Member is managed all contracts.
In conclusion the Filing of contract device of the application, the contract that formed after the key page of completed contract is scanned is swept Part is retouched, is then replaced the key page in the contract scanned copy former contract template corresponding with the contract, it can formed and closed Same electronic contract document completes Filing of contract.When carrying out Filing of contract using this method, staff need to only scan contract Key page reduces the workload of staff without being all scanned contract, especially closes to a large amount of With when being put on record, the workload of staff is even more reduced, the speed of batch Filing of contract is accelerated.
Referring to Fig.1 0, a kind of computer equipment is also provided in the embodiment of the present application, which can be server, Its internal structure can be as shown in Figure 10.The computer equipment includes processor, the memory, network connected by system bus Interface and database.Wherein, the processor of the Computer Design is for providing calculating and control ability.The computer equipment is deposited Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program And database.The internal memory provides environment for the operation of operating system and computer program in non-volatile memory medium.It should The database of computer equipment is for storing the data such as contract template, key page, fixed page.The network interface of the computer equipment For being communicated with external terminal by network connection.To realize a kind of Filing of contract when the computer program is executed by processor Method.
Above-mentioned processor execute said contract put on record method the step of:The contract scan page uploaded is received, the contract is swept Retouching page includes the corresponding first contract page number of the contract scan page;Preset contract template is obtained, is wrapped in the contract template At least one page key page is included, the key page includes the corresponding second contract page number of the key page;When the first contract page When code is matched with the second contract page number, the key page is replaced with into the contract scan page, generates electronic contract document.
It in one embodiment, include preset mark in the key page of the contract template in above-mentioned processor, it is described to work as When the first contract page number is matched with the second contract page number, the key page is replaced with into the contract scan page, it is raw Include at the step of electronic contract document:Search the preset mark;The preset mark is parsed, the second contract page is generated Code;The first contract page number is matched with the second contract page number;It is if successful match, the first contract page number is corresponding Contract scan page replace with the corresponding key page of the second contract page number;Generate electronic contract document.
In one embodiment, after above-mentioned processor generates the step of electronic contract document, including:Scanning electron contract Document judges whether there is preset mark;If so, issuing preset first standby signal.
In one embodiment, above-mentioned processor generates the step of electronic contract document, including:Send replaced contract Template is to from the background;After receiving confirmation instruction, electronic contract document is generated.
In one embodiment, include after above-mentioned processor generates the step of electronic contract document:Obtain the contract The quantity of key page in template;Judge whether the page quantity of the contract scan page is consistent with the quantity of the key page;If It is no, issue preset second standby signal.
In one embodiment, said contract template is text document, the method that the key page is arranged in above-mentioned processor Including:The contract template is read, identifies the space in text and/or carriage return label;When the space and/or carriage return label connect Continuous is more than certain amount, and the page where the space and/or carriage return label is arranged is the key page.
In one embodiment, include after above-mentioned processor generates the step of electronic contract document:With the contract mould The date of formation of version title and the electronic contract document is electronic contract document name.
In conclusion the computer equipment of the application forms image data after being scanned the key page of completed contract, Then the image data is inserted into the corresponding position in the corresponding former contract template of the contract, it can form electronic contract text Shelves complete Filing of contract.When carrying out Filing of contract using this method, staff need to only scan the key page of contract, no With being all scanned contract, the workload of staff is reduced, especially when putting on record a large amount of contract, The workload for even more reducing staff, accelerates the speed of batch Filing of contract.
It will be understood by those skilled in the art that structure shown in Figure 10, only part relevant to application scheme The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme.
One embodiment of the application also provides a kind of computer readable storage medium, is stored thereon with computer program, calculates Machine program realizes a kind of Filing of contract method when being executed by processor, specially:Receive the contract scan page uploaded, the contract Scan page includes the corresponding first contract page number of the contract scan page;Preset contract template is obtained, in the contract template Including at least one page key page, the key page includes the corresponding second contract page number of the key page;When first contract When the page number is matched with the second contract page number, the key page is replaced with into the contract scan page, generates electronic contract text Shelves.
It in one embodiment, include preset mark in the key page of the contract template in above-mentioned processor, it is described to work as When the first contract page number is matched with the second contract page number, the key page is replaced with into the contract scan page, it is raw Include at the step of electronic contract document:Search the preset mark;The preset mark is parsed, the second contract page is generated Code;The first contract page number is matched with the second contract page number;It is if successful match, the first contract page number is corresponding Contract scan page replace with the corresponding key page of the second contract page number;Generate electronic contract document.
In one embodiment, after above-mentioned processor generates the step of electronic contract document, including:Scanning electron contract Document judges whether there is preset mark;If so, issuing preset first standby signal.
In one embodiment, above-mentioned processor generates the step of electronic contract document, including:Send replaced contract Template is to from the background;After receiving confirmation instruction, electronic contract document is generated.
In one embodiment, include after the step of electronic contract document is generated in above-mentioned processor:Obtain the conjunction With the quantity of key page in template;Judge whether the page quantity of the contract scan page is consistent with the quantity of the key page; If it is not, issuing preset second standby signal.
In one embodiment, said contract template is text document, the method that the key page is arranged in above-mentioned processor Including:The contract template is read, identifies the space in text and/or carriage return label;When the space and/or carriage return label connect Continuous is more than certain amount, and the page where the space and/or carriage return label is arranged is the key page.
In one embodiment, include after above-mentioned processor generates the step of electronic contract document:With the contract mould The date of formation of version title and the electronic contract document is electronic contract document name.
In conclusion the storage medium of the application forms image data after being scanned the key page of completed contract, so The image data is inserted into the corresponding position in the corresponding former contract template of the contract afterwards, it can electronic contract document is formed, Complete Filing of contract.When carrying out Filing of contract using this method, staff need to only scan the key page of contract, and not having to will Contract is all scanned, and reduces the workload of staff, especially when putting on record a large amount of contract, even more The workload for reducing staff, accelerates the speed of batch Filing of contract.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, Any reference used in provided herein and embodiment to memory, storage, database or other media, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double speed are according to rate SDRAM (SSRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, device, article or method institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, device of element, article or method.
The foregoing is merely preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all utilizations Equivalent structure or equivalent flow shift made by present specification and accompanying drawing content is applied directly or indirectly in other correlations Technical field, similarly include in the scope of patent protection of the application.

Claims (10)

1. a kind of Filing of contract method, which is characterized in that including step:
The contract scan page uploaded is received, the contract scan page includes the corresponding first contract page number of the contract scan page;
It obtains preset contract template, include at least one page key page, the key page in the contract template includes the pass The corresponding second contract page number of key page;
When the first contract page number is matched with the second contract page number, the key page is replaced with into the contract and is scanned Page generates electronic contract document.
2. Filing of contract method as described in claim 1, which is characterized in that it include preset mark in the key page, institute It states when the first contract page number is matched with the second contract page number, the key page is replaced with into the contract and is scanned Page, generate electronic contract document the step of include:
Search the preset mark;
The preset mark is parsed, the second contract page number is generated;
The first contract page number is matched with the second contract page number;
If successful match, it is corresponding that the corresponding contract scan page of the first contract page number is replaced with into the second contract page number Key page;
Generate electronic contract document.
3. Filing of contract method as claimed in claim 2, which is characterized in that the step of the generation electronic contract document it Afterwards, including:
Scanning electron treaty documents, judge whether there is preset mark;
If so, issuing preset first standby signal.
4. Filing of contract method as claimed in claim 2, which is characterized in that the step of the generation electronic contract document, packet It includes:
Replaced contract template is sent to backstage;
After receiving confirmation instruction, electronic contract document is generated.
5. Filing of contract method as described in claim 1, which is characterized in that after the step of the generation electronic contract document Including:
Obtain the quantity of key page in the contract template;
Judge whether the page quantity of the contract scan page is consistent with the quantity of the key page;
If it is not, issuing preset second standby signal.
6. Filing of contract method as described in claim 1, which is characterized in that the contract template is text document, and institute is arranged The method for stating key page includes:
The contract template is read, identifies the space in text and/or carriage return label;
When the space and/or carriage return label continue to exceed certain amount, the page where the space and/or carriage return label is set Face is the key page.
7. Filing of contract method as described in claim 1, which is characterized in that after the step of the generation electronic contract document Including:
It is electronic contract document name with the date of formation of the contract template title and the electronic contract document.
8. a kind of Filing of contract device, which is characterized in that including:
Receiving module, for receiving the contract scan page uploaded, the contract scan page includes that the contract scan page is corresponding The first contract page number;
Module is obtained, includes at least one page key page, the key for obtaining preset contract template, in the contract template Page includes the corresponding second contract page number of the key page;
Generation module, for when the first contract page number is matched with the second contract page number, the key page to be replaced For the contract scan page, electronic contract document is generated.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201810501579.8A 2018-05-23 2018-05-23 Contract filing method and device, computer equipment and storage medium Active CN108897727B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810501579.8A CN108897727B (en) 2018-05-23 2018-05-23 Contract filing method and device, computer equipment and storage medium
PCT/CN2018/094886 WO2019223073A1 (en) 2018-05-23 2018-07-06 Contract recordation method and apparatus, and computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810501579.8A CN108897727B (en) 2018-05-23 2018-05-23 Contract filing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108897727A true CN108897727A (en) 2018-11-27
CN108897727B CN108897727B (en) 2021-09-14

Family

ID=64343169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810501579.8A Active CN108897727B (en) 2018-05-23 2018-05-23 Contract filing method and device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN108897727B (en)
WO (1) WO2019223073A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800784A (en) * 2018-12-11 2019-05-24 平安科技(深圳)有限公司 Contract checking method and device neural network based
CN112540965A (en) * 2020-12-07 2021-03-23 湖北航天信息技术有限公司 Paper contract management method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241625A (en) * 2020-10-30 2021-01-19 卓尔购信息科技(武汉)有限公司 Method and system for automatically generating contract document based on java language

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350009A (en) * 2008-09-05 2009-01-21 中国工商银行股份有限公司 System for writing and compiling cooperated documents
CN101616224A (en) * 2008-06-23 2009-12-30 富士施乐株式会社 Document file management system, document management apparatus and document management method
CN101794278A (en) * 2009-09-21 2010-08-04 广东省标准化研究院 Method and software for digitalizing full text of standard document
CN103389969A (en) * 2012-05-07 2013-11-13 腾讯科技(深圳)有限公司 Method, device and system for previewing PDF (portable document format) file on mobile terminal
CN104077162A (en) * 2014-06-30 2014-10-01 北京奇虎科技有限公司 Mobile terminal application template updating and issuing method and device
CN105787626A (en) * 2014-12-25 2016-07-20 远光软件股份有限公司 Contract management method and contract management system
CN106484663A (en) * 2016-10-12 2017-03-08 天闻数媒科技(湖南)有限公司 A kind of extracting method of document content and device
CN107247722A (en) * 2017-04-25 2017-10-13 北京金山安全软件有限公司 File scanning method and device and intelligent terminal
CN107578221A (en) * 2017-09-30 2018-01-12 广州市壹软网络科技有限公司 Contract approval method, contract approval system, and computer-readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10089666B2 (en) * 2012-09-28 2018-10-02 Oracle International Corporation Multi-source configurator content processing for terms and conditions document to contract creation
CN106980605B (en) * 2017-02-17 2018-01-19 平安科技(深圳)有限公司 contract generation method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616224A (en) * 2008-06-23 2009-12-30 富士施乐株式会社 Document file management system, document management apparatus and document management method
CN101350009A (en) * 2008-09-05 2009-01-21 中国工商银行股份有限公司 System for writing and compiling cooperated documents
CN101794278A (en) * 2009-09-21 2010-08-04 广东省标准化研究院 Method and software for digitalizing full text of standard document
CN103389969A (en) * 2012-05-07 2013-11-13 腾讯科技(深圳)有限公司 Method, device and system for previewing PDF (portable document format) file on mobile terminal
CN104077162A (en) * 2014-06-30 2014-10-01 北京奇虎科技有限公司 Mobile terminal application template updating and issuing method and device
CN105787626A (en) * 2014-12-25 2016-07-20 远光软件股份有限公司 Contract management method and contract management system
CN106484663A (en) * 2016-10-12 2017-03-08 天闻数媒科技(湖南)有限公司 A kind of extracting method of document content and device
CN107247722A (en) * 2017-04-25 2017-10-13 北京金山安全软件有限公司 File scanning method and device and intelligent terminal
CN107578221A (en) * 2017-09-30 2018-01-12 广州市壹软网络科技有限公司 Contract approval method, contract approval system, and computer-readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王敏超: ""面向合同管理系统的功能测试方法及应用研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800784A (en) * 2018-12-11 2019-05-24 平安科技(深圳)有限公司 Contract checking method and device neural network based
CN109800784B (en) * 2018-12-11 2024-03-19 平安科技(深圳)有限公司 Contract checking method and device based on neural network
CN112540965A (en) * 2020-12-07 2021-03-23 湖北航天信息技术有限公司 Paper contract management method

Also Published As

Publication number Publication date
WO2019223073A1 (en) 2019-11-28
CN108897727B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN110163735B (en) Tax-related data processing method and device, computer equipment and storage medium
CN110472219A (en) Electronic document generation method, device, computer equipment and storage medium
CN108897727A (en) Filing of contract method, apparatus, computer equipment and storage medium
CN108509400A (en) Document template generation method, device, computer equipment and storage medium
US20060209351A1 (en) Document management apparatus, control method therefor, computer program, and storage medium
CN110232177B (en) Bidding document generation system and method in government field
US20080030800A1 (en) Electronic document management system
CN102262616A (en) Form processing system, OCR device, and form creation device
JP2005025736A (en) Document management method, document management program and document management system
CN107729576A (en) The management method and system of archives
US20020052888A1 (en) Electronic record storage
CN110688349A (en) Document sorting method, device, terminal and computer readable storage medium
CN116701182B (en) Coverage rate mark file updating method, coverage rate mark file updating device, coverage rate mark file updating equipment and storage medium
CN115131002A (en) Method for signing electronic data and managing electronic files
WO2004034282A1 (en) Content reuse management device and content reuse support device
JP2014010837A (en) Technology trend analysis report generation system and recording medium
CN109299452A (en) A kind of document combination method, device and equipment
CN114861623A (en) Protocol template generation method and device, electronic equipment and storage medium
CN108763393A (en) Book management method, device, computer equipment and storage medium
CN103107979A (en) Processing method and processing device for notes of layout files
JP2020181369A (en) Document reading system
CN117609347A (en) Data importing method, device and equipment based on verification and correction
CN114461880A (en) Automatic overlapping and archiving method, system, equipment and storage medium for new and old archival data
CN106776510A (en) Word embeds form generation method and device
CN114387429A (en) Vehicle property right processing method, device, equipment and medium based on RPA and AI

Legal Events

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