CN109800404A - Electronic contract template generation method, device, computer equipment and storage medium - Google Patents

Electronic contract template generation method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109800404A
CN109800404A CN201910004377.7A CN201910004377A CN109800404A CN 109800404 A CN109800404 A CN 109800404A CN 201910004377 A CN201910004377 A CN 201910004377A CN 109800404 A CN109800404 A CN 109800404A
Authority
CN
China
Prior art keywords
contract
variable
template
target
electronic contract
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910004377.7A
Other languages
Chinese (zh)
Inventor
乔能丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910004377.7A priority Critical patent/CN109800404A/en
Publication of CN109800404A publication Critical patent/CN109800404A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application involves a kind of electronic contract template generation method, device, computer equipment and storage mediums.This method comprises: obtaining template generation instruction;The template generation instruction carries contract type mark;Initiating electron contract template is obtained, and obtains variables collection corresponding with contract type mark;It include contract variable to be used in the variables collection;Detection acts on the variable triggering command of the contract variable to be used;The target contract variable in the contract variable to be used is determined according to the variable triggering command;Target electronic contract template is generated according to the target contract variable and the initiating electron contract template.The function of electronic contract template, flexible adaptation electronic contract editor's demand can be optimized using this method.

Description

Electronic contract template generation method, device, computer equipment and storage medium
Technical field
This application involves field of computer technology, more particularly to a kind of electronic contract template generation method, device, calculating Machine equipment and storage medium.
Background technique
With the fast development of e-commerce, the leading enterprise of bulk informationization increasingly tends to close using signing electronics Same mode locks rapidly client, reduces cost, promotes competitiveness.However in traditional approach, electronic contract template is generally only The combination of fixed text and Text Entry, and Text Entry usually requires to be provided with regular length, when actual needs is filled out When the content-length filled does not meet the regular length, need constantly to modify to electronic contract template.What traditional approach generated Electronic contract template can not flexible adaptation editing electronic contract demand.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide one kind and be capable of flexible adaptation electronic contract editor's demand Electronic contract template generation method, device, computer equipment and storage medium.
A kind of electronic contract template generation method, which comprises obtain template generation instruction;The template generation refers to It enables and carries contract type mark;Initiating electron contract template is obtained, and obtains variable corresponding with contract type mark Set;It include contract variable to be used in the variables collection;Detection acts on the variable triggering of the contract variable to be used Instruction;The target contract variable in the contract variable to be used is determined according to the variable triggering command;According to the target Contract variable and the initiating electron contract template generate target electronic contract template.
The contract variable to be used is multiple in one of the embodiments, obtains initial electricity from server described Sub- contract template, and after obtaining corresponding with contract type mark variables collection, further includes: obtain each described in Use the variable uses parameter of contract variable;According to the variable uses parameter of each contract variable to be used, determine multiple The displaying sequence of contract variable to be used;Show that the contract to be used of the first predetermined number becomes according to the displaying sequence Amount.
In one of the embodiments, in the contract to be used for showing predetermined number according to the displaying sequence After variable, further includes: obtain contract variable search instruction;The contract variable search instruction carries keyword to be matched;It looks into Look for the contract variable to be used being directly linked with the keyword to be matched;When the contract variable to be used found is less than the When two predetermined numbers, then the contract variable to be used with the keyword indirect association to be matched is searched;Show the direct pass The contract variable to be used of connection and the contract variable to be used of the indirect association.
It is raw according to the target contract variable and the initiating electron contract template described in one of the embodiments, After target electronic contract template, further includes: storing the target electronic contract template into volatile data base;Obtain mould Plate audit instruction, and instruction is audited according to the template and generates template audit request;Template audit request is sent to clothes Business device;Template audit request is used to indicate the server and obtains the target electronic contract template, and by the target Electronic contract template is sent to audit terminal corresponding with contract type mark and is audited;When receiving the server When the audit of transmission passes through information, then the target electronic contract template is stored into target database.
In one of the embodiments, the method also includes: detection acts on the text of the initiating electron contract template This input operation;Contract text is determined according to the text entry operation;It is described according to the target contract variable and described first Beginning electronic contract template generation target electronic contract template, comprising: assemble the contract text and the target contract variable To in the initiating electron contract template, target electronic contract template is generated.
It is raw according to the target contract variable and the initiating electron contract template described in one of the embodiments, After target electronic contract template, further includes: call the target electronic contract template;In the target electronic contract template Include the target contract variable;Detection acts on the variable edit operation of the target contract variable;It is compiled according to the variable It collects operation and pulls variable field library corresponding with the target contract variable acted on;It include variable to be selected in the variable field library Field;According to the field triggering command for acting on the variable field to be selected detected, determining and the acted on target The corresponding target variable field of contract variable;The target variable field is filled into the target electronic contract template and is synthesized Target electronic contract.
A kind of electronic contract template generation device, described device include: acquisition module, for obtaining template generation instruction; The template generation instruction carries contract type mark;Display module, for obtaining initiating electron contract template, and obtain with The contract type identifies corresponding variables collection;It include contract variable to be used in the variables collection;Detection module is used for Detection acts on the variable triggering command of the contract variable to be used;It is determined according to the variable triggering command described to be used Target contract variable in contract variable;Generation module, for according to the target contract variable and the initiating electron contract Template generation target electronic contract template.
The contract variable to be used is multiple in one of the embodiments, and the display module is also used to obtain often The variable uses parameter of a contract variable to be used;According to the variable uses parameter of each contract variable to be used, Determine the displaying sequence of multiple contract variables to be used;The described to be used of the first predetermined number is shown according to the displaying sequence Contract variable.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing The step of device realizes above-mentioned each electronic contract template generation method as described in the examples when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of above-mentioned each electronic contract template generation method as described in the examples is realized when row.
Above-mentioned electronic contract template generation method, device, computer equipment and storage medium, terminal obtain user's triggering After template generation instructs, initiating electron contract template can be obtained from server, and is obtained and template generation instruction carrying Contract type identifies corresponding variables collection, includes contract variable to be used in variables collection.Terminal display initiating electron contract After the variable to be used of template and variables collection, the variable touching for acting on contract variable to be used of user's triggering can detecte Send instructions.Terminal can determine the target contract variable that user chooses according to variable triggering command, can will also be become according to target contract Amount and initiating electron contract template generate target electronic contract template.Sole limitation contract is not carried out to field length by providing Variable enables a user to generate target electronic contract template based on contract variable edit, and the electronic contract template of generation being capable of spirit The editor's demand living for adapting to electronic contract.
Detailed description of the invention
Fig. 1 is the application scenario diagram of electronic contract template generation method in one embodiment;
Fig. 2 is the flow diagram of electronic contract template generation method in one embodiment;
Fig. 3 is the relational network schematic diagram of contract variable to be used in one embodiment;
Fig. 4 is the flow diagram of electronic contract template generation method in another embodiment;
Fig. 5 is the structural block diagram of electronic contract template generation device in one embodiment;
Fig. 6 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
It is appreciated that term " first " used in the present invention, " second " etc. can be used to describe various elements herein, But these elements are not limited by these terms.These terms are only used to distinguish the first element from the other element.Citing For, without departing from the scope of the invention, the first predetermined number can be known as the second predetermined number, and similar Second predetermined number can be known as the first predetermined number by ground.First predetermined number and the second predetermined number are both preset a Number, but it is not same predetermined number.
Electronic contract template generation method provided by the present application, can be applied in application environment as shown in Figure 1.Its In, terminal 102 is communicated with server 104 by network.Wherein, terminal 102 can be, but not limited to be various individual calculus Machine, laptop, smart phone, tablet computer and portable wearable device, server 104 can use independent server The either server cluster of multiple servers composition is realized.After terminal 102 obtains the template generation instruction of user's triggering, Initiating electron contract template can be obtained from server 104, and obtains the contract type mark pair carried with template generation instruction The variables collection answered includes contract variable to be used in variables collection.Terminal 102 shows initiating electron contract template and variables set After the variable to be used closed, the variable triggering command for acting on contract variable to be used of user's triggering can detecte.Terminal 102 can determine the target contract variable that user chooses according to variable triggering command.Terminal 102 can will according to target contract variable and Initiating electron contract template generates target electronic contract template.
In one embodiment, it as shown in Fig. 2, providing a kind of electronic contract template generation method, applies in this way It is illustrated for terminal 102 in Fig. 1, comprising the following steps:
Step 202, template generation instruction is obtained;Template generation instruction carries contract type mark.
Template generation instruction refers to the instruction for generating electronic contract template.Electronic contract template refers to for generating electricity The template of sub- contract, the electronic contract format having the same generated by identical electronic contract template.Contract type identifies Refer to the mark for distinguishing different types of electronic contract template.Contract type mark can be by text, letter, number, mark The character string that at least one of point symbol is constituted.Different types of electronic contract template can be used for generating different types of electronics and close Together.Electronic contract type includes but is not limited to deal contract, loan contract, service agreement and power of attorney etc..
In one embodiment, terminal can provide the template generation page, may include in the template generation page type choice box, One or more of them input control in Text Entry, combobox can also include edit model control.User can pass through Text Entry inputs the contract type mark needed for keyword is searched, and can also directly pass through type choice box or combobox institute The option enumerated directly selects required contract type mark.After terminal determines contract type mark by input control, And when detecting the clicking operation for acting on the edit model control, triggering can be identified according to determining contract type and generate template Generate instruction.
Step 204, initiating electron contract template is obtained, and obtains variables collection corresponding with contract type mark;Become It include contract variable to be used in duration set.
Initiating electron contract template can be stored in server.Initiating electron contract template can be not comprising pre-set text Empty template, initiating electron contract template can also for different contract type marks comprising different pre-set texts wait refine Perfect template.Electronic contract template can be HTML (hypertext markup language) format.May include in variables collection it is multiple to Use contract variable.Contract variable to be used refers to the alternative contract variable that can be used for generating electronic contract template.Contract becomes Amount refers to based on variable corresponding to the field used required in electronic contract.The length of variable can be variableness, also It can be the corresponding length range of setting, sole limitation do not carried out to field length.
In one embodiment, a variable field library can be created for each contract variable.Variable field includes in library Multiple fields for being assigned to corresponding contract variable.For example, for each product of each Sales Channel, it may be provided with phase The electronic contract template answered, and each product has corresponding order database, order database is for storing produced by the product Service order.Order such as insurance application, contract such as declaration form.Can the order data in base order database extract contract Variable, and order field corresponding with contract variable.For example, can extract contract variable " insurer " for forms data of insuring " warrantee " identifies corresponding variables collection as insurance application contract type.The corresponding variable field of " insurer " contract variable Practical insurer's title in all forms datas of insuring, such as " Zhang San ", " Li Si " or " king five " etc. can be stored in library.Accordingly Ground can store practical warrantee's title in all forms datas of insuring in the corresponding variable field library of " warrantee " contract variable.
In one embodiment, for different contract variables, it can configure different variable's attribute rules to actually filling out Variable field carry out regular verification, to guarantee to fill in format correctness.Variable's attribute rule includes to variable-length limitation, becomes Measure format limitation, the limitation of variable font etc..For example, contract variable includes but is not limited to name, identification card number, address etc., for Name, no more than six words;For identification card number, need for 18 bit digitals composition;For address, then can for number, letter, The one or more of them such as Chinese, punctuation mark are constituted.If the variable field actually filled does not meet the change of corresponding contract variable Attribution rule is measured, then needs to remind user that input is wrong.
Step 206, detection acts on the variable triggering command of contract variable to be used.
Terminal can detect the variable touching event triggered in current display page, be generated according to variable trigger event detected Variable triggering command.The event is used to for one or more of variables collection contract variable to be used to be added to initiating electron and close With in template.The event can be the trigger action for the corresponding icon of contract variable to be used or virtual push button.Triggering Operation can be touch control operation, clicking operation, drag operation or dragging release operation etc..
Step 208, the target contract variable in contract variable to be used is determined according to variable triggering command.
Terminal can show multiple contract variables to be used, the user that variable triggering command is indicated in current display page Targeted contract variable to be used is as target contract variable.Target contract variable refers to for being added to initiating electron contract In template, for generating the contract variable of target electronic contract template.For example user can choose contract variable to be used, and by institute The contract variable to be used chosen, which is drawn in initiating electron contract template, to be discharged, then it is corresponding to be used can to pull release operation Contract variable is then target contract variable, operates corresponding position also according to release and determines that target contract variable is closed in initiating electron With the insertion position in template.
In one embodiment, it is needed in target electronic contract template comprising multiple target contract variables.It can pass through simultaneously Variable triggering command determines multiple target contract variables.It, will such as after user can choose multiple contract variables to be used simultaneously Multiple contract variables to be used are drawn in initiating electron contract template simultaneously.By determining multiple target contract variables simultaneously, Improve the efficiency of user's editing electronic contract template.Can also constantly it be determined each by the variable triggering command constantly detected The corresponding target contract variable of variable triggering command.
Step 210, target electronic contract template is generated according to target contract variable and initiating electron contract template.
Target electronic contract template refers to according to the electronics after target contract variable and the assembling of initiating electron contract template Contract template can be used in generating target electronic contract.User can be by closing the target for including in target electronic contract template Edit operation is carried out with variable, the variable field of the corresponding actual needs filling of target contract variable is determined, according to variable field It is blended into target electronic contract template to generate target electronic contract.
In one embodiment, this method further include: detection acts on the text entry operation of initiating electron contract template; Contract text is determined according to text entry operation.Target electronic is generated according to target contract variable and initiating electron contract template to close Same template, comprising: contract text and target contract variable are assembled in initiating electron contract template, generate target electronic contract Template.
User can input contract text in initiating electron contract template, and target contract is inserted into the contract text of input Variable.User can carry out preview to the electronic contract template in editing process, to determine that format and the target of contract text are closed With the position of variable.After editor completes, terminal can be based on contract text and target contract variable, initiating electron contract mould Plate generates target electronic contract template according to the format of preview.
It, can be from clothes after terminal obtains the template generation instruction of user's triggering in above-mentioned electronic contract template generation method Business device obtains initiating electron contract template, and obtains variables set corresponding with the contract type mark that template generation instruction carries It closes, includes contract variable to be used in variables collection.The change to be used of terminal display initiating electron contract template and variables collection After amount, the variable triggering command for acting on contract variable to be used of user's triggering can detecte.Terminal can be touched according to variable The target contract variable that the determining user that sends instructions chooses can will also be generated according to target contract variable and initiating electron contract template Target electronic contract template.Sole limitation contract variable is not carried out to field length by providing, is enabled a user to based on contract Variable edit generates target electronic contract template, and the editor that the electronic contract template of generation is capable of flexible adaptation electronic contract needs It asks.
In one embodiment, contract variable to be used is multiple, is obtaining initiating electron contract template from server, with And after acquisition variables collection corresponding with contract type mark, further includes: the variable for obtaining each contract variable to be used makes Use parameter;According to the variable uses parameter of each contract variable to be used, the displaying sequence of multiple contract variables to be used is determined; The contract variable to be used of the first predetermined number is shown according to displaying sequence.
Variable uses parameter includes history frequency of usage, historical search number and recently at least one of using time. It can be according to variable uses parameter according to LRU (Least Recently Used, least recently used) algorithm, LFU (Least Frequently Used, is least commonly used) its in algorithm or FIFO (First In First Out, first in first out) algorithm In one or more algorithms contract variable to be used is ranked up.It, can basis due to the enormous amount of contract variable to be used Obtained displaying sequence exposition contract variable to be used after sequence, such as show preceding 20 contract variables to be used. By only exposition use the higher contract variable to be used of probability, save the space of current display page, convenient for for pair Electronic contract template in editing process carries out editor and preview.It can also be by be used conjunction of the sequence after the first predetermined number It can be hidden in and be folded in button with variable, it is when detecting the clicking operation for acting on folding button, then expansible to show wait make With the region of contract variable, previously hiding contract variable to be used is shown.
In one embodiment, after the contract variable to be used that predetermined number is shown according to displaying sequence, further includes: obtain Take contract variable search instruction;Contract variable search instruction carries keyword to be matched;Lookup is directly closed with keyword to be matched The contract variable to be used of connection;When the contract variable to be used found be less than the second predetermined number when, then search with to Contract variable to be used with keyword indirect association;Show be directly linked contract variable to be used and indirect association wait make With contract variable.
As shown in figure 3, the relational network between contract variable to be used can be constructed in advance, between contract variable to be used Direct correlation or indirect association can be carried out by keyword, searched according to relational network associated to be used with keyword to be matched Contract variable.Two contract variables to be used being directly linked refer to that two contract variables to be used correspond to the same key Word, the contract variable to be used of two of indirect association refer to that two contract variables to be used correspond to the non-same keyword.
It, then can be according to when the contract variable quantity to be used being directly linked with keyword to be matched is less than the second predetermined number History frequency of usage traversal other contracts to be used associated with the contract variable to be used of direct correlation found become Amount, successively as the contract variable quantity to be used with keyword indirect association to be matched, until when being greater than predetermined number.Pass through It is constantly extended in a manner of extending, makes it possible to comprehensively show the contract variable to be used that may be used, to facilitate use The target contract variable that family selection currently needs the target contract variable used and will use.Such as in Fig. 3, when search " body When part card " keyword, the contract variable to be used of direct correlation includes " creditor's identification card number " and " insurer's identification card number ", And " creditor's identification card number " is also associated with keyword " loan ", then the contract variable to be used that can be directly linked " loan ", packet " creditor's identification card number ", " loan interest rate ", " amount of the loan ", " length of maturity ", " creditor's name " etc. are included, also as indirect Associated contract variable to be used.Since the quantity of contract variable to be used is very huge, pass through the pass of contract variable to be used It is that network can determine the contract variable to be used of direct correlation and the contract variable to be used of indirect association, passes through convenient for user The desired contract variable to be used of keyword fuzzy search to be matched.
In one embodiment, target electronic contract template is generated according to target contract variable and initiating electron contract template Later, further includes: store target electronic contract template into volatile data base;Template audit instruction is obtained, and according to template Audit instruction generates template audit request;Template audit request is sent to server;Template audit request is used to indicate service Device obtains target electronic contract template, and target electronic contract template is sent to audit terminal corresponding with contract type mark It is audited;When the audit for receiving server transmission passes through information, then target electronic contract template is stored to number of targets According in library.
Terminal can store the electronic contract template in user's editing process into volatile data base every preset duration, also Target electronic contract template can be stored into volatile data base after user edits completion, to prevent caused by terminal delay machine Data are lost.Electronic contract template after being completed due to editor there may be format error, form error, content mistake etc., Therefore the electronic contract template after editor's completion can be audited, audit just can formally be called electric in generating after Sub- contract.It, can be according to target electronic contract template pair when server receives the target electronic contract template audited The contract type mark answered is sent to corresponding audit terminal and is audited.It may be configured in different audit terminals for difference The audit policy of contract type, audit terminal can more targetedly audit target electronic contract by personalized audit policy Template.Such as loan contract electron-like contract template is audited, whether test-target electronic contract template includes to borrow money The amount of money, payback period etc. must contain content, and whether refund interest rate is arranged section etc..To service agreement electron-like contract template, examine Target electronic contract template whether include contract main body, contract main body right and duty, if it is raw comprising protocol definition, agreement Imitate time etc..To power of attorney electron-like contract template, whether test-target electronic contract template includes authorization object, license grant clause Etc. contents.Preliminary audit survey can also be automated in audit terminal to pass through again by manually being audited;If preliminary audit survey does not pass through The upper transmission terminal for then returning to upload target electronic contract template is modified, so as to reduce manual examination and verification electronic contract template Workload.
After audit terminal confirmation audit passes through, audit can return to by information to server, server can will be audited The upper transmission terminal for uploading target electronic contract template is forwarded to by information.Upper transmission terminal can store target electronic contract template Into target database.Target electronic contract in target database can be used for the terminal and other terminals are called, to life At electronic contract.
In one embodiment, target electronic contract mould is being generated according to target contract variable and initiating electron contract template After plate, further includes: invocation target electronic contract template;It include target contract variable in target electronic contract template;Detection is made Variable edit for target contract variable operates;It is pulled according to variable edit operation corresponding to the target contract variable acted on Variable field library;It include variable field to be selected in variable field library;According to the word for acting on variable field to be selected detected Section triggering command, determines target variable field corresponding with the target contract variable acted on;By target variable field fill to Target electronic contract is synthesized in target electronic contract template.
For user when being based on target electronic contract template editing electronic contract, terminal is detectable to wrapping in electronic contract template Variable edit operation containing multiple target contract variables to be edited, such as cursor dwell operation, clicking operation etc..Based on variable Edit operation can determine acted on target contract variable, and obtain variable field library corresponding with the target contract variable.With Family can be filled target contract variable by the variable field to be selected in variable field library.Target contract variable can also be can Editing mode, the content that user fills needed for can directly inputting in target contract variable position, terminal can also be according to preset change Amount attribution rule verifies the content of filling.By all being filled out to target contract variable all in target electronic contract template Required target variable field is filled with, thus and synthesis target electronic contract.HTML electronic contract can be also converted to PDF electronics Contract.
In one embodiment, it as shown in figure 4, providing another electronic contract template generation method, answers in this way For being illustrated for the terminal 102 in Fig. 1, comprising the following steps:
Step 402, template generation instruction is obtained;Template generation instruction carries contract type mark.
Step 404, initiating electron contract template is obtained, and obtains variables collection corresponding with contract type mark;Become It include multiple contract variables to be used in duration set.
Step 406, the variable uses parameter of each contract variable to be used is obtained.
Step 408, according to the variable uses parameter of each contract variable to be used, multiple contract variables to be used are determined Displaying sequence.
Step 410, the contract variable to be used of the first predetermined number is shown according to displaying sequence.
Step 412, detection acts on the variable triggering command of contract variable to be used.
Step 414, the target contract variable in contract variable to be used is determined according to variable triggering command.
Step 416, detection acts on the text entry operation of initiating electron contract template.
Step 418, contract text is determined according to text entry operation.
Step 420, contract text and target contract variable are assembled in initiating electron contract template, generate target electronic Contract template.
It, can be from clothes after terminal obtains the template generation instruction of user's triggering in above-mentioned electronic contract template generation method Business device obtains initiating electron contract template, and obtains variables set corresponding with the contract type mark that template generation instruction carries It closes, includes multiple contract variables to be used in variables collection.Terminal display initiating electron contract template and use probability are higher After variable to be used, the variable triggering command and text for acting on contract variable to be used of user's triggering can detecte Input operation.Terminal can determine the target contract variable that user chooses according to variable triggering command, true according to text entry operation Determine contract text, also based on contract text, target contract variable and initiating electron contract template can will generate target electronic contract Template.Sole limitation contract variable is not carried out to field length by providing, enables a user to generate based on contract variable edit Target electronic contract template, the electronic contract template of generation are capable of editor's demand of flexible adaptation electronic contract.
It should be understood that although each step in the flow chart of Fig. 2 and 4 is successively shown according to the instruction of arrow, It is these steps is not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 2 and 4 at least A part of step may include that perhaps these sub-steps of multiple stages or stage are not necessarily in same a period of time to multiple sub-steps Quarter executes completion, but can execute at different times, the execution in these sub-steps or stage be sequentially also not necessarily according to Secondary progress, but in turn or can replace at least part of the sub-step or stage of other steps or other steps Ground executes.
In one embodiment, as shown in figure 5, providing a kind of electronic contract template generation device 500, comprising: obtain Module 502, for obtaining template generation instruction;Template generation instruction carries contract type mark;Display module 504, for obtaining Initiating electron contract template is taken, and obtains variables collection corresponding with contract type mark;Comprising to be used in variables collection Contract variable;Detection module 506, for detecting the variable triggering command for acting on contract variable to be used;It is triggered according to variable Instruction determines the target contract variable in contract variable to be used;Generation module 508, for according to target contract variable and initially Electronic contract template generation target electronic contract template.
In one embodiment, contract variable to be used is multiple, and display module 504 is also used to obtain each conjunction to be used With the variable uses parameter of variable;According to the variable uses parameter of each contract variable to be used, multiple contracts to be used are determined The displaying sequence of variable;The contract variable to be used of the first predetermined number is shown according to displaying sequence.
In one embodiment, which further includes display module, for obtaining contract variable search instruction;Contract variable Search instruction carries keyword to be matched;Search the contract variable to be used being directly linked with keyword to be matched;When being searched When the contract variable to be used arrived is less than the second predetermined number, then the contract to be used with keyword indirect association to be matched is searched Variable;Show the contract variable to be used of the contract variable to be used and indirect association that are directly linked.
In one embodiment, which further includes auditing module, for storing target electronic contract template to interim In database;Template audit instruction is obtained, and instruction is audited according to template and generates template audit request;Template is audited into request hair It send to server;Template audit request is used to indicate server and obtains target electronic contract template, and by target electronic contract mould Plate is sent to audit terminal corresponding with contract type mark and is audited;When the audit for receiving server transmission passes through information When, then target electronic contract template is stored into target database.
In one embodiment, detection module 506 is also used to detect the text input for acting on initiating electron contract template Operation;Contract text is determined according to text entry operation;Generation module 508 is also used to contract text and target contract set of variables It is filled in initiating electron contract template, generates target electronic contract template.
In one embodiment, which further includes contract module, is used for invocation target electronic contract template;Target electronic It include target contract variable in contract template;Detection acts on the variable edit operation of target contract variable;According to variable edit Operation pulls variable field library corresponding with the target contract variable acted on;It include variable field to be selected in variable field library; According to the field triggering command for acting on variable field to be selected detected, determination is corresponding with the target contract variable acted on Target variable field;Target variable field is filled into target electronic contract template synthesis target electronic contract.
Specific restriction about electronic contract template generation device may refer to above for electronic contract template generation The restriction of method, details are not described herein.Modules in above-mentioned electronic contract template generation device can be fully or partially through Software, hardware and combinations thereof are realized.Above-mentioned each module can be embedded in the form of hardware or independently of the place in computer equipment It manages in device, can also be stored in a software form in the memory in computer equipment, in order to which processor calls execution or more The corresponding operation of modules.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure Figure can be as shown in Figure 6.The computer equipment includes processor, the memory, network interface, display connected by system bus Screen and input unit.Wherein, the processor of the computer equipment 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 and computer journey Sequence.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The network interface of machine equipment is used to communicate with external terminal by network connection.When the computer program is executed by processor with Realize a kind of electronic contract template generation method.The display screen of the computer equipment can be liquid crystal display or electric ink Display screen, the input unit of the computer equipment can be the touch layer covered on display screen, be also possible to outside computer equipment Key, trace ball or the Trackpad being arranged on shell can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with Computer program, the processor realize the electronic contract template generation method in above-mentioned each embodiment when executing computer program The step of.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program realizes the step of electronic contract template generation method in above-mentioned each embodiment when being executed by processor.
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, To any reference of memory, storage, database or other media used in each embodiment provided herein, 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 data rate sdram (DDRSDRAM), 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..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of electronic contract template generation method, which comprises
Obtain template generation instruction;The template generation instruction carries contract type mark;
Initiating electron contract template is obtained, and obtains variables collection corresponding with contract type mark;The variables set It include contract variable to be used in conjunction;
Detection acts on the variable triggering command of the contract variable to be used;
The target contract variable in the contract variable to be used is determined according to the variable triggering command;
Target electronic contract template is generated according to the target contract variable and the initiating electron contract template.
2. the method according to claim 1, wherein the contract variable to be used be it is multiple, described from clothes Business device obtains after initiating electron contract template, and acquisition variables collection corresponding with contract type mark, further includes:
Obtain the variable uses parameter of each contract variable to be used;
According to the variable uses parameter of each contract variable to be used, determine that the displaying of multiple contract variables to be used is suitable Sequence;
The contract variable to be used of the first predetermined number is shown according to the displaying sequence.
3. according to the method described in claim 2, it is characterized in that, showing predetermined number according to the displaying sequence described After the contract variable to be used, further includes:
Acquisition contract variable search instruction;The contract variable search instruction carries keyword to be matched;
Search the contract variable to be used being directly linked with the keyword to be matched;
When the contract variable to be used found is less than the second predetermined number, then search indirect with the keyword to be matched Associated contract variable to be used;
Show the contract variable to be used of the direct correlation and the contract variable to be used of the indirect association.
4. the method according to claim 1, wherein described according to the target contract variable and described initial After electronic contract template generation target electronic contract template, further includes:
The target electronic contract template is stored into volatile data base;
Template audit instruction is obtained, and instruction is audited according to the template and generates template audit request;
Template audit request is sent to server;The template audit request is used to indicate described in the server acquisition Target electronic contract template, and the target electronic contract template is sent to audit corresponding with contract type mark eventually It is audited at end;
When the audit for receiving the server transmission passes through information, then the target electronic contract template is stored to target In database.
5. the method according to claim 1, wherein the method also includes:
Detection acts on the text entry operation of the initiating electron contract template;
Contract text is determined according to the text entry operation;
It is described that target electronic contract template is generated according to the target contract variable and the initiating electron contract template, comprising:
The contract text and the target contract variable are assembled in the initiating electron contract template, target electronic is generated Contract template.
6. method as claimed in any of claims 1 to 5, which is characterized in that described according to the target contract Variable and the initiating electron contract template generate after target electronic contract template, further includes:
Call the target electronic contract template;It include the target contract variable in the target electronic contract template;
Detection acts on the variable edit operation of the target contract variable;
Variable field library corresponding with the target contract variable acted on is pulled according to variable edit operation;The variable word It include variable field to be selected in phase library;
It is determining to be closed with the acted on target according to the field triggering command for acting on the variable field to be selected detected With the corresponding target variable field of variable;
The target variable field is filled into the target electronic contract template synthesis target electronic contract.
7. a kind of electronic contract template generation device, which is characterized in that described device includes:
Module is obtained, for obtaining template generation instruction;The template generation instruction carries contract type mark;
Display module, for obtaining initiating electron contract template, and acquisition variables set corresponding with contract type mark It closes;It include contract variable to be used in the variables collection;
Detection module, for detecting the variable triggering command for acting on the contract variable to be used;It is triggered according to the variable Instruction determines the target contract variable in the contract variable to be used;
Generation module, for generating target electronic contract mould according to the target contract variable and the initiating electron contract template Plate.
8. device according to claim 7, which is characterized in that the contract variable to be used is multiple, the displaying mould Block is also used to obtain the variable uses parameter of each contract variable to be used;
According to the variable uses parameter of each contract variable to be used, determine that the displaying of multiple contract variables to be used is suitable Sequence;
The contract variable to be used of the first predetermined number is shown according to the displaying sequence.
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 6 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 6 is realized when being executed by processor.
CN201910004377.7A 2019-01-03 2019-01-03 Electronic contract template generation method, device, computer equipment and storage medium Pending CN109800404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910004377.7A CN109800404A (en) 2019-01-03 2019-01-03 Electronic contract template generation method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910004377.7A CN109800404A (en) 2019-01-03 2019-01-03 Electronic contract template generation method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109800404A true CN109800404A (en) 2019-05-24

Family

ID=66558459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910004377.7A Pending CN109800404A (en) 2019-01-03 2019-01-03 Electronic contract template generation method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109800404A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442764A (en) * 2019-07-04 2019-11-12 深圳壹账通智能科技有限公司 Contract generation method, device and the computer equipment crawled based on data
CN110619115A (en) * 2019-08-30 2019-12-27 深圳壹账通智能科技有限公司 Template creating method and device, electronic equipment and storage medium
CN110705239A (en) * 2019-09-27 2020-01-17 支付宝(杭州)信息技术有限公司 Credit contract template creating method and device
CN110751561A (en) * 2019-10-24 2020-02-04 支付宝(杭州)信息技术有限公司 Credit contract creating method and device
CN111367607A (en) * 2020-03-04 2020-07-03 无锡镜子信息技术有限公司 Dynamic electronic contract generating and signing system and implementation method thereof
CN111461623A (en) * 2020-04-17 2020-07-28 支付宝(杭州)信息技术有限公司 Block chain-based warehouse bill creating method, device and equipment
CN111932412A (en) * 2020-09-04 2020-11-13 汪宏杰 Contract drafting and revising method, device, storage medium and equipment
CN111931475A (en) * 2020-06-28 2020-11-13 重庆锐云科技有限公司 Dynamic subscription book generation method, system, computer equipment and storage medium
CN112035040A (en) * 2020-08-31 2020-12-04 北京润科通用技术有限公司 Interface variable information processing method and device
CN112329421A (en) * 2020-11-19 2021-02-05 长沙市到家悠享网络科技有限公司 Method, equipment and storage medium for generating household contract and contract template
CN112749649A (en) * 2020-12-31 2021-05-04 武汉文楚智信科技有限公司 Method and system for intelligently identifying and generating electronic contract
CN112861503A (en) * 2020-12-30 2021-05-28 南京智闪萤科技有限公司 Method of generating electronic contract, computing apparatus, and computer storage medium
CN112861497A (en) * 2019-11-27 2021-05-28 贝壳技术有限公司 Contract template generation method and system
CN113052675A (en) * 2021-03-18 2021-06-29 北京房江湖科技有限公司 Data display method and device
CN113094520A (en) * 2021-03-29 2021-07-09 四川新网银行股份有限公司 Method for checking electronic contract
CN113111631A (en) * 2021-04-15 2021-07-13 北京同邦卓益科技有限公司 Data processing method, device, equipment, storage medium and program product
CN114091415A (en) * 2021-11-24 2022-02-25 中国银行股份有限公司 Contract automatic generation method, device, server, medium and product
CN116227456A (en) * 2023-05-09 2023-06-06 上海甄零科技有限公司 Contract generation method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855304A (en) * 2012-08-20 2013-01-02 清华大学 Variable-clause electronic contract automatic generation method in business to customer (B2C) transaction
CN106022734A (en) * 2016-06-22 2016-10-12 武汉斗鱼网络科技有限公司 Method and system for automatic contract management
US20170206326A1 (en) * 2016-01-20 2017-07-20 Change Healthcare Llc Systems and methods for the classification and indexing of contract documentation
CN106980605A (en) * 2017-02-17 2017-07-25 平安科技(深圳)有限公司 Contract generation method and device
CN108280626A (en) * 2018-01-30 2018-07-13 深圳壹账通智能科技有限公司 Contract dataset processing method, device, computer equipment and storage medium
CN108509400A (en) * 2018-02-07 2018-09-07 平安普惠企业管理有限公司 Document template generation method, device, computer equipment and storage medium
CN108509401A (en) * 2018-03-05 2018-09-07 平安普惠企业管理有限公司 Contract generation method, device, computer equipment and storage medium
CN108564340A (en) * 2018-03-30 2018-09-21 平安科技(深圳)有限公司 Document automatic generating method, device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855304A (en) * 2012-08-20 2013-01-02 清华大学 Variable-clause electronic contract automatic generation method in business to customer (B2C) transaction
US20170206326A1 (en) * 2016-01-20 2017-07-20 Change Healthcare Llc Systems and methods for the classification and indexing of contract documentation
CN106022734A (en) * 2016-06-22 2016-10-12 武汉斗鱼网络科技有限公司 Method and system for automatic contract management
CN106980605A (en) * 2017-02-17 2017-07-25 平安科技(深圳)有限公司 Contract generation method and device
WO2018149082A1 (en) * 2017-02-17 2018-08-23 平安科技(深圳)有限公司 Contract generation method and apparatus, server and storage medium
CN108280626A (en) * 2018-01-30 2018-07-13 深圳壹账通智能科技有限公司 Contract dataset processing method, device, computer equipment and storage medium
CN108509400A (en) * 2018-02-07 2018-09-07 平安普惠企业管理有限公司 Document template generation method, device, computer equipment and storage medium
CN108509401A (en) * 2018-03-05 2018-09-07 平安普惠企业管理有限公司 Contract generation method, device, computer equipment and storage medium
CN108564340A (en) * 2018-03-30 2018-09-21 平安科技(深圳)有限公司 Document automatic generating method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张恒;李自臣;: "基于TASC模型的合同自动生成方法", 计算机工程, no. 06, 20 March 2011 (2011-03-20) *

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442764B (en) * 2019-07-04 2023-03-21 深圳壹账通智能科技有限公司 Contract generation method and device based on data crawling and computer equipment
CN110442764A (en) * 2019-07-04 2019-11-12 深圳壹账通智能科技有限公司 Contract generation method, device and the computer equipment crawled based on data
CN110619115A (en) * 2019-08-30 2019-12-27 深圳壹账通智能科技有限公司 Template creating method and device, electronic equipment and storage medium
CN110619115B (en) * 2019-08-30 2022-08-02 深圳壹账通智能科技有限公司 Template creating method and device, electronic equipment and storage medium
CN110705239A (en) * 2019-09-27 2020-01-17 支付宝(杭州)信息技术有限公司 Credit contract template creating method and device
CN110705239B (en) * 2019-09-27 2023-08-11 支付宝(杭州)信息技术有限公司 Credit contract template creation method and device
CN110751561A (en) * 2019-10-24 2020-02-04 支付宝(杭州)信息技术有限公司 Credit contract creating method and device
CN112861497A (en) * 2019-11-27 2021-05-28 贝壳技术有限公司 Contract template generation method and system
CN111367607A (en) * 2020-03-04 2020-07-03 无锡镜子信息技术有限公司 Dynamic electronic contract generating and signing system and implementation method thereof
CN111461623B (en) * 2020-04-17 2022-11-15 支付宝(杭州)信息技术有限公司 Block chain-based warehouse bill creating method, device and equipment
CN111461623A (en) * 2020-04-17 2020-07-28 支付宝(杭州)信息技术有限公司 Block chain-based warehouse bill creating method, device and equipment
CN111931475A (en) * 2020-06-28 2020-11-13 重庆锐云科技有限公司 Dynamic subscription book generation method, system, computer equipment and storage medium
CN112035040B (en) * 2020-08-31 2023-04-07 北京润科通用技术有限公司 Interface variable information processing method and device
CN112035040A (en) * 2020-08-31 2020-12-04 北京润科通用技术有限公司 Interface variable information processing method and device
CN111932412A (en) * 2020-09-04 2020-11-13 汪宏杰 Contract drafting and revising method, device, storage medium and equipment
CN112329421A (en) * 2020-11-19 2021-02-05 长沙市到家悠享网络科技有限公司 Method, equipment and storage medium for generating household contract and contract template
CN112861503A (en) * 2020-12-30 2021-05-28 南京智闪萤科技有限公司 Method of generating electronic contract, computing apparatus, and computer storage medium
CN112749649A (en) * 2020-12-31 2021-05-04 武汉文楚智信科技有限公司 Method and system for intelligently identifying and generating electronic contract
CN113052675A (en) * 2021-03-18 2021-06-29 北京房江湖科技有限公司 Data display method and device
CN113094520B (en) * 2021-03-29 2023-05-12 四川新网银行股份有限公司 Method for checking electronic contract
CN113094520A (en) * 2021-03-29 2021-07-09 四川新网银行股份有限公司 Method for checking electronic contract
CN113111631A (en) * 2021-04-15 2021-07-13 北京同邦卓益科技有限公司 Data processing method, device, equipment, storage medium and program product
CN114091415A (en) * 2021-11-24 2022-02-25 中国银行股份有限公司 Contract automatic generation method, device, server, medium and product
CN116227456A (en) * 2023-05-09 2023-06-06 上海甄零科技有限公司 Contract generation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109800404A (en) Electronic contract template generation method, device, computer equipment and storage medium
CN109615343A (en) Electronic contract generation method, device, computer equipment and storage medium
CN108345456A (en) Page code generation method, device, computer equipment and storage medium
US7783966B2 (en) System and method for performing processing, such as spreadsheet processing
Bernstein et al. Incremental schema matching
CN108363587A (en) Application program operation and monitoring method, device, computer equipment and storage medium
CN102646038B (en) Control content display method, control content display device and mobile terminal
CN110377851A (en) Implementation method, device and the computer equipment of multistage linking combobox
CN109815471A (en) Contract text generation method, device, computer equipment and storage medium
CN109871500A (en) Page loading method, device, computer equipment and storage medium
CN109634654A (en) A kind of page packaging method, device, system, computer equipment and storage medium
CN108399124A (en) Application testing method, device, computer equipment and storage medium
CN110119352A (en) UI adjustment method, device, computer equipment and the storage medium of application program
CN109816563A (en) Electronic contract template circulation method, apparatus, computer equipment and storage medium
CN109597979B (en) List table generation method and device, computer equipment and storage medium
CN110413922A (en) Page info display methods, device, computer equipment and storage medium
US10318254B2 (en) Integrating application features into a platform interface based on application metadata
CN109753421A (en) Optimization method, device, computer equipment and the storage medium of service system
CN109766158A (en) Methods of exhibiting, device, computer equipment and the storage medium of user interface
CN109542962A (en) Data processing method, device, computer equipment and storage medium
CN116304442A (en) Page code generation method and device, electronic equipment and storage medium
CN111552503B (en) Project file processing method and device, computer equipment and storage medium
CN108509118A (en) Selection method, device, computer equipment and the storage medium of period
US7100126B2 (en) Electrical form design and management method, and recording medium
Verbruggen et al. Automatically wrangling spreadsheets into machine learning data formats

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