CN108564340A - Document automatic generating method, device, computer equipment and storage medium - Google Patents

Document automatic generating method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN108564340A
CN108564340A CN201810275760.1A CN201810275760A CN108564340A CN 108564340 A CN108564340 A CN 108564340A CN 201810275760 A CN201810275760 A CN 201810275760A CN 108564340 A CN108564340 A CN 108564340A
Authority
CN
China
Prior art keywords
document
template
option
copending
approval
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
CN201810275760.1A
Other languages
Chinese (zh)
Other versions
CN108564340B (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 CN201810275760.1A priority Critical patent/CN108564340B/en
Priority to PCT/CN2018/094214 priority patent/WO2019184123A1/en
Publication of CN108564340A publication Critical patent/CN108564340A/en
Application granted granted Critical
Publication of CN108564340B publication Critical patent/CN108564340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/226Validation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The present invention discloses in a kind of document automatic generating method, device, computer equipment and storage medium.The document automatic generating method includes:Acquisition is periodically generated document request, and it includes regular triggered time and template identification that document, which generates request,;Based on template identification, corresponding document template is obtained;Document template includes at least one business item, and each business item corresponds at least one document option;Corresponding option value is obtained based on the document option in each business item, copending document is formed based on option value and document template;Copending document is sent to audit platform, and obtains the approval results of examination & approval platform feedback, if approval results are when auditing to pass through, using copending document as original document;Based on regular triggered time and document template, target document identical with original document type is generated.When the document automatic generating method makes document, have and reduce cost of labor, improves efficiency.

Description

Document automatic generating method, device, computer equipment and storage medium
Technical field
The present invention relates to field of computer technology more particularly to a kind of document automatic generating method, device, computer to set Standby and storage medium.
Background technology
Currently, financial terminal used by enterprise by the hand-made document of financial staff and need to be scanned when making document, Considerably increase the workload of employee, labor intensive cost.For conglomerate or other large enterprises, need in its center Mechanism and branch configure corresponding financial terminal so that each branch need to upload mechanism document, and pass through center machine Structure is calculated.The mechanism document that current branch mechanism uploads need to be hand-made, and the rule that keeps accounts is different so that central authority exists When being calculated, there are accounting to be based on insufficient grounds, manually does the problems such as account is unreasonable.
Invention content
A kind of document automatic generating method of offer of the embodiment of the present invention, device, computer equipment and storage medium, with solution The problem of certainly financial terminal used by enterprise leads to high labor cost using making document manually.
In a first aspect, the embodiment of the present invention provides a kind of document automatic generating method, including:
Acquisition is periodically generated document request, and it includes regular triggered time and template identification that the document, which generates request,;
Based on the template identification, corresponding document template is obtained;The document template includes at least one business item, Each business item corresponds at least one document option;
Corresponding option value is obtained based on the document option in each business item, based on the option value and described Document template forms copending document;
The copending document is sent to audit platform, and obtains the approval results of examination & approval platform feedback, if described examine It is when auditing to pass through, using the copending document as original document to criticize result;
Based on the regular triggered time and the document template, target list identical with the original document type is generated According to.
Second aspect, the embodiment of the present invention provide a kind of document automation generating means, including:
It is periodically generated document acquisition request module, is periodically generated document request for obtaining, the document generates request bag Include regular triggered time and template identification;
Document template acquisition module obtains corresponding document template for being based on the template identification;The document template Including at least one business item, each business item corresponds at least one document option;
Copending document acquisition module, for obtaining corresponding option based on the document option in each business item Value, copending document is formed based on the option value and the document template;
Original document acquisition module, for the copending document to be sent to audit platform, and it is anti-to obtain examination & approval platform The approval results of feedback, if the approval results are when auditing to pass through, using the copending document as original document;
Target document generation module generates and the original for being based on the regular triggered time and the document template The identical target document of beginning document types.
The third aspect, the embodiment of the present invention provide a kind of computer equipment, including memory, processor and are stored in institute The computer program that can be run in memory and on the processor is stated, the processor executes real when the computer program Described in existing first aspect the step of document automatic generating method.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Matter is stored with computer program, realizes that document automation described in first aspect generates when the computer program is executed by processor The step of method.
In document automatic generating method provided in an embodiment of the present invention, device, computer equipment and storage medium, first obtain It takes and is periodically generated document request, it includes that regular triggered time and template identification obtain to be based on template identification that document, which generates request, Document template corresponding with template identification is taken, so that user can call the document template of different document types according to self-demand, And the document template construct document is utilized, be conducive to improve document producing efficiency.Based on the document option in each business item Corresponding option value is obtained, copending document is formed based on option value and document template, which is manually entered i.e. without user Document can be made, working efficiency is improved, greatly reduces cost of labor.Then, copending document is sent to audit platform, and obtained The approval results of audit platform feedback are taken, if approval results are when auditing to pass through, using copending document as original document, to protect Demonstrate,prove the reliability of original document.Finally, it is periodically generated and original list according to the setting in regular triggered time based on document template According to the identical target document of type, which produces target document without receiving dynamic input, to reduce few cost of labor, simultaneously It is lost caused by reducing human operational error or non-standard operation.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a flow chart of the document automatic generating method provided in the embodiment of the present invention 1;
Fig. 2 is a particular flow sheet of step S20 in Fig. 1;
Fig. 3 is a particular flow sheet of step S21 in Fig. 2;
Fig. 4 is another flow chart of the document automatic generating method provided in the embodiment of the present invention 1;
Fig. 5 is another flow chart of the document automatic generating method provided in the embodiment of the present invention 1;
Fig. 6 is a particular flow sheet of step S50 in Fig. 1;
Fig. 7 is a functional block diagram of the document automation generating means provided in the embodiment of the present invention 2;
Fig. 8 is a schematic diagram of the computer equipment provided in the embodiment of the present invention 4.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment 1
Fig. 1 shows the flow chart of document automatic generating method in the present embodiment.The document automatic generating method can answer In the computer equipment of the financial institutions such as bank, security, insurance or other mechanisms, it specifically can be applicable to the computer and set In the financial system of standby upper installation, the document template automation for prestoring in calling system generates document, can effectively improve wealth The working efficiency of business personnel.As shown in Figure 1, the document automatic generating method includes the following steps:
S10:Acquisition is periodically generated document request, and it includes regular triggered time and template identification that document, which generates request,.
Wherein, it is for triggering the request for periodically making document to be periodically generated document request.The document generates request Regular triggered time and template identification.The regular triggered time is the time for the generation document that user specifies, if for example, being arranged monthly The monthly fiscal agency agreement in January on No. 1 periodic statistical, then the regular triggered time is monthly No. 1.Template identification is for identification The unique mark of document template.
S20:Based on template identification, corresponding document template is obtained, document template includes at least one business item, each Business item corresponds at least one document option.
Specifically, server can be previously stored with document template corresponding with all types of documents, which includes At least one business item, each business item correspond at least one document option.Wherein, business item refer to user selection or Input with the relevant accounting item of business, such as cash in banks.Accounting item be to the particular content of accounting element object into The classification that row classification is calculated, can continuous, system, comprehensively calculate and supervise every accounting element caused by economic activity Increase and decrease.Document option refers to Field Options corresponding with business item.In the present embodiment, be based on template identification, obtain with The corresponding document template of template identification, so that user can call the document template of different document types, and profit according to self-demand With the corresponding fiscal agency agreement of document template construct, be conducive to improve document producing efficiency.In the present embodiment, document types include But it is not limited to fiscal agency agreement.
S30:Corresponding option value is obtained based on the document option in each business item, is based on option value and document template Form copending document.
Wherein, option value refers to the corresponding attribute value of document option in each business item.Further, document template In be provided with fixed field and elastomeric domain.Elastomeric domain is that document option is independently arranged according to self-demand by user in document template Region.It is the region that the document option for including is given tacit consent in document template when fixed field.Document Option includes fixed field Mark and elastic domain identifier.Wherein, fixed domain identifier is the unique mark of fixed field for identification.Elastic domain identifier is for knowing The unique mark of other elastomeric domain.
Specifically, after the corresponding option value of document option in getting each business item, it is based on document option The corresponding option value of document option in each business item is added to corresponding with area in document template by mark accordingly In the document option of domain (i.e. fixed field or elastomeric domain) mark, to obtain copending document.Such as:Business item is cash in banks When document option include specific item and bank identification number.Wherein, specific item is the fixed document option when making accounting voucher, and Bank identification number is the document option that user is voluntarily added based on cash in banks subject, therefore the corresponding option value of specific item is added Into the document option with fixed domain identifier in document template, the corresponding option value of bank identification number is added to document In document option with elastic domain identifier in template, to obtain copending document.The manufacturing process of the copending document is not necessarily to User, which is manually entered, can make document, improve working efficiency, should especially in the case of a large amount of documents for needing to repeat to make Document automatic generating method can save the time being manually entered, and greatly reduce cost of labor.
Further, document template further includes attachment domain and preview area.User can carry out attachment domain and preview area Configuration, to form copending document.Wherein, attachment domain refers to region that user can upload attachment, such as contract appendix etc., with Assisted verification platform examines the copending document.Preview area be user can intuitively check will generate it is copending Document allows the user to the accuracy for verifying copending document again.
S40:Copending document is sent to audit platform, and obtains the approval results of audit platform feedback, if examination & approval knot When fruit is that audit passes through, using copending document as original document.
Wherein, original document is the first phase document of the document identical with the copending document types in financial system. Further, copending document further includes handler ID, and handler ID is to create the user of copending document for identification only One mark.
Specifically, copending document is sent to audit platform to audit, and obtains the examination & approval knot of examination & approval platform feedback Fruit, if approval results are when auditing to pass through, using copending document as original document, for subsequently being periodically generated document provides technology It supports.If approval results are that audit is obstructed out-of-date, the auditing result of the copending document and audit can not sent out by reason Give the corresponding platform of handler ID corresponding with copending document, the processing shape of document so that handler can follow up in time State improves working efficiency.
S50:Based on regular triggered time and document template, target document identical with original document type is generated.
In the present embodiment, server system time be the regular triggered time when, can be based on document template, generate with it is original The identical target document of document types.Specifically, server can be based on document template corresponding with original document, according to periodically tactile The setting for sending out the time, is periodically generated target document identical with original document type, so that branch can be in the set time (such as mechanism accounting monthly can be to center accounting when (i.e. regular triggered time) makes a large amount of fiscal agency agreements and upload to total portion mechanism The document for uploading same type, so that center accounting makes general ledger), end-to-end repetitive operation is saved, the time is saved, reduces simultaneously It is lost caused by human operational error or non-standard operation.Wherein, mechanism accounting refers to the financial staff of branch, center meeting Meter refers to the financial staff of total portion mechanism.
In the present embodiment, first obtains and be periodically generated document request, it includes regular triggered time and template that document, which generates request, Mark obtains document template corresponding with template identification, so that user can call according to self-demand to be based on template identification The document template of different document types, and the document template construct document is utilized, be conducive to improve document producing efficiency.Then, Corresponding option value is obtained based on the document option in each business item, copending list is formed based on option value and document template According to the process is manually entered without user can make document, improve working efficiency, greatly reduce cost of labor.It will be copending Document is sent to audit platform, and obtains the approval results of audit platform feedback, will be pending if approval results are when auditing to pass through Document is criticized as original document, to ensure the reliability of original document.Finally, it is based on document template corresponding with original document, According to the setting in regular triggered time, it is periodically generated target document identical with original document type, to save end-to-end repetition Operation, saves the time, while being lost caused by reducing human operational error or non-standard operation.
In a specific embodiment, template identification includes dynamic link.Dynamic link be user according to self-demand into The link attributes for obtaining service configuration information of row configuration.As shown in Fig. 2, in step S20, that is, it is based on template identification, is obtained Corresponding document template is taken, is specifically comprised the following steps:
S21:Based on dynamic link, service configuration information is obtained.
In the present embodiment, which includes but not limited to the information such as business major class, sub category of business and accounts.Business is big Class refers to the classification that business item is classified, which includes assets class, debt class, common class, owner's equity Class, cost class subject and profit and loss class subject etc..Sub category of business refers to the detailed class under the classification of business major class, for example, the profit and loss Tax is safeguarded in urban construction in class subject.Accounts are built upon a set of account book system that is mutually related in computer system.
Service configuration information is the configuration information that user configures document template according to self-demand.Business configuration is believed Breath includes at least one business item configured by parameter preset rule, and each business item corresponds at least one document option. Parameter preset rule is the pre-set parameter rule for configuring document template.Specifically, user can be based on dynamic chain The information such as business major class, sub category of business and accounts in connecing carry out configuration and obtain service configuration information list.Wherein, business configuration It includes at least one original service project and corresponding at least one original document that information list, which is pre-stored in database, The list of option.Choosing based on user to original service project and corresponding original document option in service configuration information list It selects, to obtain service configuration information.
S22:Keyword match is carried out based on service configuration information, obtains corresponding document template.
Specifically, it can be based on service configuration information in system and forms keyword mapping table.The keyword mapping table and document Action scope in template is associated.Wherein, action scope refers to the region for showing different type field in document template, including Elastomeric domain and fixed field.It can be corresponding by the document option with elastic domain identifier and fixed domain identifier by keyword match It is added in document template in corresponding region, to obtain corresponding document template, which can obtain without human intervention Document template improves the degree of automation.Such as:Business item be cash in banks when document option include specific item, cost centre, Affiliated party and bank identification number.Wherein, specific item, cost centre and affiliated party are the fixed document choosings when making accounting voucher , and bank identification number is the document option that user is voluntarily added based on cash in banks subject, therefore by specific item, cost centre and Affiliated party is added in the fixed field of document template, bank identification number is added in the elastomeric domain of document template.
In the present embodiment, based on acquisition of information business configurations such as business major class, sub category of business and accounts in dynamic link Information list, be then based on user in service configuration information list original service project and corresponding original document option Selection obtains service configuration information, carries out keyword match to be based on service configuration information, obtains corresponding document template, This process can obtain document template without human intervention, improve the degree of automation that document generates.
In a specific embodiment, as shown in figure 3, in step S21, that is, it is based on dynamic link, obtains business configuration letter Breath, specifically comprises the following steps:
S211:Based on dynamic link, into business configuration interface, at least one original item is shown on business configuration interface With at least one original option.
Wherein, business configuration interface is the visualization interface for obtaining service configuration information.Specifically, it is based on dynamic chain It connects, into business configuration interface, business item list can be shown on business configuration interface, which includes at least One original item, each original item corresponds to an original option list, for selection by the user, easy to use.
S212:In such a way that hook selects or inputs, correspondence is obtained from least one original item by parameter preset rule At least one business item.
Specifically, it in such a way that hook selects or inputs, is obtained from least one original item by parameter preset rule pair At least one business item answered.Parameter preset rule includes that the selection of the business item and document option that are selected according to user is suitable Sequence, in document template business item and document option carry out keyword mapping.The process is completely dependent on without being manually entered Keyword mapping is carried out in the preset parameter rule of system, you can quick obtaining business information saves the time, improves effect Rate.
S213:Based on each business item, corresponding at least one document option is obtained from least one original option.
Specifically, it is based on each business item, corresponding at least one document choosing is obtained from least one original option .For example, the corresponding original option of cash in banks (business item) includes bank identification number and bank's accounting date etc., Yong Huke Select one or more original options as document option from bank identification number and bank's accounting date, the operating process is convenient Fast, the time is saved.
In the present embodiment, traffic item can be shown on business configuration interface into business configuration interface based on dynamic link The mode of hook choosing or input can be used in mesh list, for selection by the user, user, is obtained from least one original item corresponding At least one business item, the selecting sequence of the business item based on user's selection is to the business item and document in document template Option carries out keyword mapping.Without being manually entered, the preset parameter rule of the system that places one's entire reliance upon is closed the process Key word maps, you can at least one business item of quick obtaining.Finally, it is based on each business item, from least one original choosing Corresponding at least one document option is obtained in, it is convenient and efficient, save the time.
In a specific embodiment, it further includes authority identification that document, which generates request, wherein authority identification is for identification The unique mark of different branches.In step S30, corresponding option value is obtained based on the document option in each business item Specially:Based on authority identification, corresponding raw data table is obtained, based on the document option in each business item, from original Corresponding option value is obtained in tables of data.
Raw data table is the set for the initial data associated with authority identification that system is acquired and stored in advance.Specifically Ground can be previously stored with the raw data table of each branch in system.Based on authority identification, obtain corresponding with authority identification Raw data table is based on business item->The sequential search database of document option obtains corresponding raw data table, and from original Corresponding option value is obtained in beginning tables of data.In the present embodiment, database can real-time update original number corresponding with authority identification According to table, so that the service configuration information in document has real time synchronization, more reliable data is provided to the user.
In a specific embodiment, as shown in figure 4, after step S30, the document automatic generating method further include as Lower step:
S311:Based on copending document, corresponding examination & approval attribute is obtained.
Wherein, examination & approval attribute is the preset attribute for obtaining approval route of system.It can be prestored in system There is examination & approval attribute list, the examination & approval attribute list is for storing the corresponding examination & approval attribute of different document types.Specifically, it is waited for by reading The type of document is examined, and is matched with the document types in default examination & approval attribute list, to obtain corresponding examination & approval attribute, with Continue after an action of the bowels based on examination & approval attribute, obtains corresponding approval route.
S312:Based on examination & approval attribute, corresponding approval route is obtained.
Wherein, approval route is system based on the examination & approval preset flow for being examined to document of attribute.Example Such as, if the corresponding examination & approval attribute of copending document obtained is monthly active budget, monthly active budget and system is advance The standard figures of setting compare, if monthly active budget be less than standard figures, the approval route obtained be 1 → 2 → 3,1 → 2 → 3 indicate that copending document, which is sent to 1 grade of approving person, 2 grades of approving persons and 3 grades of approving persons, to be examined;If monthly Active budget is not less than standard figures, i.e. its monthly active budget is excessive, leads to that approval route is used to be examined for 1 → 2 → 3 It is unqualified, it is also necessary to copending document is sent to higher leveled approving person, therefore the approval route can be 1 → 2 → 3 → 4。
It is to be appreciated that step S40 is specially:Copending document is sent to examination & approval platform, so that examination & approval platform is based on Approval route treats examination & approval document and is allocated processing, is assigned to the corresponding audit platform of different approving persons and (specially should The corresponding examination & approval interface of approving person) it examines.It is to be appreciated that when audit platform is treated examination & approval document and examined, If the corresponding all approving persons of copending document are to when the approval results of the copending document are all that examination & approval pass through, which examines It criticizes and passes through.If there are one approving person being careful to the approval results of the copending document in the corresponding approving person of copending document It is obstructed out-of-date to criticize, which does not pass through.
In the present embodiment, by reading the type of copending document, and with the document types in default examination & approval attribute list into Row matching, to be based on examination & approval attribute, obtains corresponding approval route, to be subsequently based on to obtain corresponding examination & approval attribute The approval route of acquisition is examined, to realize the purpose of approval process automation.
In a specific embodiment, before step S10, which further includes step S60:In advance Document template is created, to realize that automation generates the purpose of document using the document template being pre-created.As shown in figure 5, step In rapid S60, that is, it is pre-created document template, is specifically comprised the following steps:
S61:It is created in document template and obtains document template framework on interface.
Wherein, it is the configuration interface for creating document template that document template, which creates interface,.Document template framework is to be used for The initial frame of document template is created, which includes document edit format, such as the general format of accounting voucher. Specifically, system creates the document template framework list that display on interface prestores different types of bills in document template, should Document template framework list includes at least one original receipt template frame, and the mode of dragging can be used in user, from document template Select required original receipt template frame as document template framework determined by step S61 in frame work list.
S62:Different action scopes is set for template framework, obtains document template.
Specifically, be template framework different action scopes is set, the action scope include elastomeric domain, fixed field, attachment domain and Preview area.By the way that different action scopes is arranged to form document template, in order to the subsequent calls document mould for template framework Plate realizes automated production document, saves the time, improves efficiency.
It is that follow-up document makes calling by being pre-created document template, so that the manufacturing process of document in the present embodiment In, the document template being pre-created can be directly invoked without editing procedure again, document generated time is saved, reduce document Workload is generated, document formation efficiency is improved.
In a specific embodiment, as shown in fig. 6, in step S50, that is, it is based on regular triggered time and document template, Target document identical with original document type is generated, is specifically comprised the following steps:
S51:If the current time in system is the regular triggered time, regular triggered time and upper one regular triggered time are obtained Between pending data.
Wherein, the current time in system refers to the system time currently read.In the present embodiment, it can be used System.currentTimeMillis (current time) method obtains the current time in system.Pending data refers to branch In regular initial data between triggered time and a upper regular triggered time.Initial data refers to pre-stored each in system Data in the raw data table of branch.Specifically, if the current time in system is the regular triggered time, it was demonstrated that system is current Time is the time that is periodically generated of document, then from being obtained in database between regular triggered time and a upper regular triggered time Pending data.The process is made by the pending data obtained between regular triggered time and a upper regular triggered time Document, to ensure that the document made has real time synchronization.
S52:From pending data, the corresponding concrete numerical value of each document option in document template is obtained.
Wherein, pending data includes document option and corresponding concrete numerical value.The concrete numerical value may include from business The numerical value just obtained can also include the numerical value that the data obtained based on business side use preset accounting criteria to be calculated. Preset accounting criteria is the accounting criteria for obtaining concrete numerical value corresponding with document option pre-defined, such as profit Moisten the accounting criteria of (document option).Specifically, based on service configuration information (the i.e. business item and document choosing in document template ), from pending data, specific number corresponding with each document option in document template is obtained using preset accounting criteria Value, which obtains the corresponding concrete numerical value of each document option by unified accounting criteria, to avoid because of accounting criteria not With caused loss.
S53:Based on document template and concrete numerical value, target document identical with original document type is generated.
Specifically, the corresponding concrete numerical value of each document option will be obtained and be added to corresponding document option in document template In, it, should to obtain the target document of (obtaining identical as the document template that original document uses) identical as original document type Process is not necessarily to manual intervention, to realize that the automation of document generates.
In the present embodiment, by reading the current time in system, to determine whether the regular triggered time, if if system is current Time is the regular triggered time, it was demonstrated that the current time in system is the time that is periodically generated of document, then it is fixed to be obtained from database Pending data between triggered time phase and a upper regular triggered time, so as to from pending data, using preset core Rule is calculated, concrete numerical value corresponding with each document option in document template is obtained.The process is obtained by unified accounting criteria The corresponding concrete numerical value of each document option is taken, to avoid the loss caused by accounting criteria difference.Finally, it is based on document mould Plate and concrete numerical value generate target document identical with original document type, to realize that the automation of document generates.
In the present embodiment, first obtains and be periodically generated document request, it includes regular triggered time and template that document, which generates request, Mark, so as to based on acquisition of information service configuration information lists such as business major class, sub category of business and accounts in dynamic link, so Afterwards based on user in the service configuration information list in original receipt template original service project and corresponding original document The selection of option carries out keyword match to be based on service configuration information, obtains corresponding list to obtain service configuration information According to template, document template can be obtained without human intervention, improves the degree of automation.Then, authority identification, acquisition and machine are based on Structure identifies corresponding raw data table, and corresponding option value is obtained from raw data table, to be based on option value and document Template forms copending document.The process is manually entered without user can make document, improve working efficiency, greatly reduce people Work cost.It is matched by reading the type of copending document, and with the document types in default examination & approval attribute list, to obtain Corresponding examination & approval attribute obtains corresponding approval route to be based on examination & approval attribute, to realize the mesh of approval process automation 's.Then, copending document is sent to by audit platform based on approval route, and obtains the approval results of audit platform feedback, If approval results are when auditing to pass through, using copending document as original document, to ensure the reliability of original document.Finally, By reading current system time, to determine whether the regular triggered time, if the current time in system is the regular triggered time, Then from the pending data obtained in database between regular triggered time and a upper regular triggered time, so as to from pending number In, using preset accounting criteria, concrete numerical value corresponding with each document option in document template is obtained, which passes through Unified accounting criteria obtains the corresponding concrete numerical value of each document option, to avoid the damage caused by accounting criteria difference It loses.Finally, it is based on document template and concrete numerical value, target document identical with original document type is generated, to realize document Automation generates, and saves the time, while being lost caused by reducing human operational error or non-standard operation.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Embodiment 2
Fig. 7 shows to automate the original of generating means with the one-to-one document of document automatic generating method in embodiment 1 Manage block diagram.As shown in fig. 7, document automation generating means include being periodically generated document acquisition request module 10, document template Acquisition module 20, copending document acquisition module 30, original document acquisition module 40, target document generation module 50 and document mould Plate creates fast 60.It is wherein periodically generated document acquisition request module 10, document template acquisition module 20, copending document and obtains mould Block 30, original document acquisition module 40, target document generation module 50 and document template create fast 60 realization function and implementation The corresponding step of document automatic generating method corresponds in example, and to avoid repeating, the present embodiment is not described in detail one by one.
It is periodically generated document acquisition request module 10, is periodically generated document request for obtaining, document generates request and includes Regular triggered time and template identification.
Document template acquisition module 20 obtains corresponding document template for being based on template identification.Document template includes extremely A few business item, each business item correspond at least one document option.
Copending document acquisition module 30, for obtaining corresponding option based on the document option in each business item Value, copending document is formed based on option value and document template.
Original document acquisition module 40 for copending document to be sent to audit platform, and obtains examination & approval platform feedback Approval results, if approval results are audit when passing through, using copending document as original document.
Target document generation module 50 generates and original document type for being based on regular triggered time and document template Identical target document.
Preferably, document automation generating means further include that document template creates fast 60, for creating document template.
It includes template framework acquiring unit 61 and document template acquiring unit 62 that document template, which creates fast 60,.
Template framework acquiring unit 61 obtains document template framework for being created in document template on interface.
Document template acquiring unit 62 obtains document template for different action scopes to be arranged for template framework.
Preferably, template identification includes dynamic link.
Document template acquisition module 20 includes document option cell 21 and document template acquiring unit 22.
Document option cell 21 obtains service configuration information, service configuration information includes by pre- for being based on dynamic link At least one business item of setting parameter rule configuration, each business item correspond at least one document option.
Document template acquiring unit 22 obtains corresponding document for carrying out keyword match based on service configuration information Template.
Preferably, document option cell 21 includes business configuration interface display subelement 211, business item acquisition subelement 212 and document option obtain subelement 213.
Business configuration interface display subelement 211, for being based on dynamic link, into business configuration interface, business configuration At least one original item and at least one original option are shown on interface.
Business item obtains subelement 212, by the way of using hook choosing or input, by parameter preset rule from least one Corresponding at least one business item is obtained in a original item.
Document option obtains subelement 213, for being based on each business item, the acquisition pair from least one original option At least one document option answered.
Specifically, it further includes authority identification that document, which generates request,.
Copending document acquisition module 30 obtains corresponding raw data table, is based on each industry for being based on authority identification Document option in business project, obtains corresponding option value from raw data table.
Preferably, document automation generating means further include that examination & approval attribute acquiring unit 311 and approval route obtain list Member 312.
Attribute acquiring unit 311 is examined, for being based on copending document, obtains corresponding examination & approval attribute.
Approval route acquiring unit 312, for based on examination & approval attribute, obtaining corresponding approval route.
Correspondingly, original document acquisition module 40, for copending document to be sent to examination & approval platform, so that examination & approval platform Examination & approval document, which is treated, based on approval route is allocated processing.
Preferably, target document generation module 50 includes pending data acquiring unit 51, concrete numerical value acquiring unit 52 With target document acquiring unit 53.
Pending data acquiring unit 51 obtains periodically triggering if being the regular triggered time for the current time in system Pending data between time and a upper regular triggered time.
Concrete numerical value acquiring unit 52 is corresponded to for from pending data, obtaining each document option in document template Concrete numerical value.
Target document acquiring unit 53 generates identical as original document type for being based on document template and concrete numerical value Target document.
Embodiment 3
The present embodiment provides a computer readable storage medium, computer journey is stored on the computer readable storage medium Sequence realizes document automatic generating method in embodiment 1, to avoid repeating, here when the computer program is executed by processor It repeats no more.Alternatively, realizing that document automates each mould in generating means in embodiment 2 when the computer program is executed by processor The function of block/unit, to avoid repeating, which is not described herein again.
It is to be appreciated that the computer readable storage medium may include:Appointing for the computer program can be carried What entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal and telecommunications letter Number etc..
Embodiment 4
Fig. 8 is the schematic diagram for the computer equipment that one embodiment of the invention provides.As shown in figure 8, the calculating of the embodiment Machine equipment 80 includes:Processor 81, memory 82 and it is stored in the calculating that can be run in memory 82 and on processor 81 Machine program 83.Processor 81 realizes each document automatic generating method in above-described embodiment 1 when executing computer program 83 Step, such as step S10 to S50 shown in FIG. 1.Alternatively, processor 81 realizes above-described embodiment 2 when executing computer program 83 The function of each module/unit in middle document automation generating means, such as shown in Fig. 7 it is periodically generated document acquisition request module 10, document template acquisition module 20, copending document acquisition module 30, original document acquisition module 40, target document generate mould Block 50 and document template create fast 60 function.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of document automatic generating method, which is characterized in that including:
Acquisition is periodically generated document request, and it includes regular triggered time and template identification that the document, which generates request,;
Based on the template identification, corresponding document template is obtained;The document template includes at least one business item, each The business item corresponds at least one document option;
Corresponding option value is obtained based on the document option in each business item, is based on the option value and the document Template forms copending document;
The copending document is sent to audit platform, and obtains the approval results of examination & approval platform feedback, if the examination & approval are tied When fruit is that audit passes through, using the copending document as original document;
Based on the regular triggered time and the document template, target document identical with the original document type is generated.
2. document automatic generating method as described in claim 1, which is characterized in that the template identification includes dynamic chain It connects;
Based on the template identification, corresponding document template is obtained, including:
Based on the dynamic link, service configuration information is obtained;The service configuration information includes being configured by parameter preset rule At least one business item, each business item corresponds at least one document option;
Keyword match is carried out based on the service configuration information, obtains corresponding document template.
3. document automatic generating method as claimed in claim 2, which is characterized in that it is described to be based on the dynamic link, it obtains Service configuration information is taken, including:
Based on the dynamic link, into business configuration interface, at least one original item is shown on the business configuration interface With at least one original option;
Using hook select or input by the way of, by the parameter preset rule obtained from least one original item it is corresponding at least One business item;
Based on each business item, corresponding at least one document option is obtained from least one original option.
4. document automatic generating method as described in claim 1, which is characterized in that it further includes machine that the document, which generates request, Structure identifies;
The document option based in each business item obtains corresponding option value, including:Based on the mechanism mark Know, obtains corresponding raw data table, based on the document option in each business item, obtained from the raw data table Take corresponding option value.
5. document automatic generating method as described in claim 1, which is characterized in that in the option value and the document mould Plate was formed after the step of copending document, and the document automatic generating method further includes:
Based on the copending document, corresponding examination & approval attribute is obtained;
Based on the examination & approval attribute, corresponding approval route is obtained;
It is described that the copending document is sent to examination & approval platform, including:The copending document is sent to examination & approval platform, with The examination & approval platform is set to be allocated processing to the copending document based on the approval route.
6. document automatic generating method as described in claim 1, which is characterized in that be periodically generated document in the acquisition and ask Before the step of asking, the document automatic generating method further includes:Create document template;
The configuration document template, including:
It is created in document template and obtains document template framework on interface;
Different action scopes is set for the template framework, obtains the document template.
7. document automatic generating method as described in claim 1, which is characterized in that described to be based on the regular triggered time With the document template, target document identical with the original document type is generated, including:
If the current time in system is the regular triggered time, the regular triggered time and upper one regular triggered time are obtained Between pending data;
From the pending data, the corresponding concrete numerical value of each document option in the document template is obtained;
Based on the document template and the concrete numerical value, target document identical with the original document type is generated.
8. a kind of document automates generating means, which is characterized in that including:
It is periodically generated document acquisition request module, is periodically generated document request for obtaining, it includes fixed that the document, which generates request, Triggered time phase and template identification;
Document template acquisition module obtains corresponding document template for being based on the template identification;The document template includes At least one business item, each business item correspond at least one document option;
Copending document acquisition module, for obtaining corresponding option value based on the document option in each business item, Copending document is formed based on the option value and the document template;
Original document acquisition module for the copending document to be sent to audit platform, and obtains examination & approval platform feedback Approval results, if the approval results are when auditing to pass through, using the copending document as original document;
Target document generation module generates and the original list for being based on the regular triggered time and the document template According to the identical target document of type.
9. a kind of computer equipment, including memory, processor and it is stored in the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to The step of any one of 7 document automatic generating method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In realization document automatic generating method as described in any one of claim 1 to 7 when the computer program is executed by processor The step of.
CN201810275760.1A 2018-03-30 2018-03-30 Automatic bill generation method and device, computer equipment and storage medium Active CN108564340B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810275760.1A CN108564340B (en) 2018-03-30 2018-03-30 Automatic bill generation method and device, computer equipment and storage medium
PCT/CN2018/094214 WO2019184123A1 (en) 2018-03-30 2018-07-03 Method for automatically generating financial document, device, computer apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810275760.1A CN108564340B (en) 2018-03-30 2018-03-30 Automatic bill generation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108564340A true CN108564340A (en) 2018-09-21
CN108564340B CN108564340B (en) 2023-11-28

Family

ID=63533565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810275760.1A Active CN108564340B (en) 2018-03-30 2018-03-30 Automatic bill generation method and device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN108564340B (en)
WO (1) WO2019184123A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109919568A (en) * 2019-01-17 2019-06-21 平安城市建设科技(深圳)有限公司 Work order examines management method, device, equipment and computer readable storage medium
CN110415066A (en) * 2019-05-28 2019-11-05 软通智慧科技有限公司 Cross-border clearance document generation method, device, computer equipment and storage medium
CN110717096A (en) * 2019-09-06 2020-01-21 平安医疗健康管理股份有限公司 Bill data extraction method and device, computer equipment and storage medium
CN110865813A (en) * 2019-10-15 2020-03-06 平安科技(深圳)有限公司 Bill information acquisition method and device, computer equipment and readable storage medium
CN112214532A (en) * 2020-10-13 2021-01-12 北京思特奇信息技术股份有限公司 Service data auditing method and related device
CN112347127A (en) * 2020-06-14 2021-02-09 成玉玺 Method and system for generating consignment smoke-free master file
CN113128190A (en) * 2019-12-31 2021-07-16 阿里巴巴集团控股有限公司 File processing method, device and storage medium
CN117290409A (en) * 2023-09-25 2023-12-26 广州市玄武无线科技股份有限公司 Method and device for generating rebate document, terminal equipment and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111754189A (en) * 2020-05-18 2020-10-09 浙江口碑网络技术有限公司 Task delivery method and device, computer equipment and computer readable storage medium
CN112215693A (en) * 2020-10-13 2021-01-12 金蝶软件(中国)有限公司 Voucher generation method and related device
CN114022098A (en) * 2021-10-09 2022-02-08 浪潮通用软件有限公司 Document auditing method and device and computer readable medium
CN113869875A (en) * 2021-10-12 2021-12-31 北京机械工业自动化研究所有限公司 Dynamic business document generation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103745314A (en) * 2013-12-30 2014-04-23 远光软件股份有限公司 Receipt table transmission method and receipt table transmission device
CN105630502A (en) * 2015-12-28 2016-06-01 武汉传神信息技术有限公司 Method and system for generating dynamic form
CN105809854A (en) * 2014-12-29 2016-07-27 航天信息股份有限公司 Automatic invoicing system and automatic invoicing method
CN106845944A (en) * 2017-02-06 2017-06-13 济南浪潮高新科技投资发展有限公司 A kind of implementation method of mobile approval system
CN107665421A (en) * 2017-09-08 2018-02-06 金蝶软件(中国)有限公司 The document measures and procedures for the examination and approval, device, storage medium and computer equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170308517A1 (en) * 2013-09-11 2017-10-26 Google Inc. Automatic generation of templates for parsing electronic documents
CN106296131A (en) * 2016-08-17 2017-01-04 浪潮通用软件有限公司 The document approval system of What You See Is What You Get and the document measures and procedures for the examination and approval
CN107437219A (en) * 2017-08-28 2017-12-05 山东浪潮通软信息科技有限公司 The voucher generation method and device of a kind of business paper

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103745314A (en) * 2013-12-30 2014-04-23 远光软件股份有限公司 Receipt table transmission method and receipt table transmission device
CN105809854A (en) * 2014-12-29 2016-07-27 航天信息股份有限公司 Automatic invoicing system and automatic invoicing method
CN105630502A (en) * 2015-12-28 2016-06-01 武汉传神信息技术有限公司 Method and system for generating dynamic form
CN106845944A (en) * 2017-02-06 2017-06-13 济南浪潮高新科技投资发展有限公司 A kind of implementation method of mobile approval system
CN107665421A (en) * 2017-09-08 2018-02-06 金蝶软件(中国)有限公司 The document measures and procedures for the examination and approval, device, storage medium and computer equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109919568A (en) * 2019-01-17 2019-06-21 平安城市建设科技(深圳)有限公司 Work order examines management method, device, equipment and computer readable storage medium
CN110415066A (en) * 2019-05-28 2019-11-05 软通智慧科技有限公司 Cross-border clearance document generation method, device, computer equipment and storage medium
CN110717096A (en) * 2019-09-06 2020-01-21 平安医疗健康管理股份有限公司 Bill data extraction method and device, computer equipment and storage medium
CN110717096B (en) * 2019-09-06 2023-04-25 深圳平安医疗健康科技服务有限公司 Document data extraction method, device, computer equipment and storage medium
CN110865813A (en) * 2019-10-15 2020-03-06 平安科技(深圳)有限公司 Bill information acquisition method and device, computer equipment and readable storage medium
CN113128190A (en) * 2019-12-31 2021-07-16 阿里巴巴集团控股有限公司 File processing method, device and storage medium
CN112347127A (en) * 2020-06-14 2021-02-09 成玉玺 Method and system for generating consignment smoke-free master file
CN112214532A (en) * 2020-10-13 2021-01-12 北京思特奇信息技术股份有限公司 Service data auditing method and related device
CN117290409A (en) * 2023-09-25 2023-12-26 广州市玄武无线科技股份有限公司 Method and device for generating rebate document, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN108564340B (en) 2023-11-28
WO2019184123A1 (en) 2019-10-03

Similar Documents

Publication Publication Date Title
CN108564340A (en) Document automatic generating method, device, computer equipment and storage medium
CN108170655A (en) Production method, device, terminal device and the storage medium of Visual Report Forms
CN107885709A (en) A kind of report form generation method, system and storage medium
CN103038752A (en) Bug clearing house
CN1653468A (en) Apparatus and method configurable for local jurisdictions that facilitates determining taxes
US20070043639A1 (en) Systems and methods for monitoring financial positions
CN111897866A (en) Remote sensing monitoring pattern spot docking system and using method thereof
CN108229921A (en) National tax land tax combines data collecting system and its operating method
CN108830463A (en) A kind of storage method, device, storage medium, terminal device and the system of evaluation record
US8473377B2 (en) Data management system
CN110175861A (en) Client management method, device, equipment and medium based on locating and monitoring
CN109345371A (en) Personal reference report backtracking method and system
CN110400213A (en) Data processing method and device and electronic equipment and readable medium
CN103942633A (en) Audit result data presentation and data penetrating system and method
US20180315125A1 (en) Systems and methods for dynamic risk modeling tagging
CN113297179A (en) Method and device for processing supervision submission data
CN116797345A (en) Task processing method, device, computer equipment and storage medium
CN110347657A (en) Data creation method, device, electronic equipment and storage medium
CN109919762A (en) Reporting method, device, equipment and the storage medium of customer information
KR20120124931A (en) User-definable Process-based Management System for Urban Planning and Recording Media for the Same
de Vries et al. Advancing responsible and smart land management
CN114492341A (en) Budget report generation method and device, electronic equipment and storage medium
CN113344333A (en) Configurable enterprise credit investigation early warning method, device, equipment and storage medium
US20070043638A1 (en) System architecture and related methods for monitoring financial positions of an entity on a group-wide basis
CN110544075A (en) asset management process configuration method, device and equipment

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