CN109783782A - Generation method, equipment, storage medium and the device of electronic contract template - Google Patents

Generation method, equipment, storage medium and the device of electronic contract template Download PDF

Info

Publication number
CN109783782A
CN109783782A CN201811539359.0A CN201811539359A CN109783782A CN 109783782 A CN109783782 A CN 109783782A CN 201811539359 A CN201811539359 A CN 201811539359A CN 109783782 A CN109783782 A CN 109783782A
Authority
CN
China
Prior art keywords
text
placeholder
contract
space field
dragged
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
CN201811539359.0A
Other languages
Chinese (zh)
Other versions
CN109783782B (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 CN201811539359.0A priority Critical patent/CN109783782B/en
Publication of CN109783782A publication Critical patent/CN109783782A/en
Application granted granted Critical
Publication of CN109783782B publication Critical patent/CN109783782B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses generation method, equipment, storage medium and the devices of a kind of electronic contract template, this method comprises: obtaining and showing that contract text, the contract text include space field in default visualization interface;It identifies the quantity of the space field, and creates the text placeholder of seal placeholder and quantity identical as the space field;The seal placeholder is dragged to the lower left corner of the contract text, and the text placeholder is dragged at the space field, generates target electronic contract template.Based on data processing, seal placeholder and text placeholder are dragged, can determine the position of seal and content to be edited, and due to operating in visualization interface, ensure that the accuracy of typesetting.

Description

Generation method, equipment, storage medium and the device of electronic contract template
Technical field
The present invention relates to contract management technical field more particularly to a kind of generation method of electronic contract template, equipment, deposit Storage media and device.
Background technique
Contract is the agreement that civil relation is set up, changed and terminated between party or both parties, nomocracy Contract is protected by law.General contract system is first to draft contract, then signing of affixing one's seal by both party.
At present when making electronic contract template, the position of placeholder is difficult to determine, especially the position of seal placeholder, The coordinate by defining seal placeholder is needed to determine seal position, and the input coordinate in interface, it cannot be directly at interface The position of middle display seal, for users, operation can not visualize, it is difficult to which the specific location that seal is understood according to coordinate is led Cause input the corresponding position of coordinate be not seal correct position, error rate is high, to be difficult to make typesetting accurately electric Sub- contract template.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide generation method, equipment, storage medium and the dresses of a kind of electronic contract template Set, it is intended to solve in the prior art to be difficult to make typesetting accurately electronic contract template the technical issues of.
To achieve the above object, the present invention provides a kind of generation method of electronic contract template, the electronic contract template Generation method the following steps are included:
Obtain and show that contract text, the contract text include space field in default visualization interface;
It identifies the quantity of the space field, and creates the text of seal placeholder and quantity identical as the space field This placeholder;
The seal placeholder is dragged to the lower left corner of the contract text, and the text placeholder is dragged to institute It states at the field of space, generates target electronic contract template.
Preferably, the lower left corner that the seal placeholder is dragged to the contract text, and the text is accounted for Position symbol is dragged at the space field, generates target electronic contract template, comprising:
The lower left corner of the contract text is positioned, the seal placeholder is dragged to a left side for the contract text Inferior horn;
The mapping relations between the text placeholder and the space field are established, it will be described according to the mapping relations Text placeholder is dragged at the space field, generates target electronic contract template.
Preferably, the lower left corner to the contract text positions, and the seal placeholder is dragged to described Before the lower left corner of contract text, the method also includes:
The tail row of the contract text is positioned, the page height below the tail row is obtained according to positioning result;
Judge whether the page height below the tail row is lower than preset threshold;
If the page height below the tail row is lower than the preset threshold, the preset format of the contract text is joined Number is adjusted, and returns to the step of whether page height judged below the tail row is lower than preset threshold;
If page height below the tail row is not less than the preset threshold, execute described to the contract text The step of lower left corner is positioned, and the seal placeholder is dragged to the lower left corner of the contract text.
Preferably, the mapping relations established between the text placeholder and the space field, reflect according to described It penetrates relationship the text placeholder is dragged at the space field, generates target electronic contract template, comprising:
The space field and the text placeholder are ranked up respectively, obtain the first serial number of the space field With the second serial number of the space field;
The space field and text placeholder of same sequence number are closed according to first serial number and second serial number Connection, establishes the mapping relations between the text placeholder and the space field;
The text placeholder is dragged at corresponding space field according to the mapping relations, target electronic is generated and closes Same template.
Preferably, described that the text placeholder is dragged at corresponding space field according to the mapping relations, it is raw At target electronic contract template, comprising:
The text placeholder is dragged at corresponding space field according to the mapping relations;
The adjustment instruction for receiving user's input is adjusted the position of the text placeholder and size, generates target electricity Sub- contract template.
Preferably, the mapping relations established between the text placeholder and the space field, reflect according to described It penetrates relationship the text placeholder is dragged at the space field, after generating target electronic contract template, the method Further include:
The first object variable that user inputs in the text placeholder is received, and the first object variable is shown At the text placeholder.
Preferably, the lower left corner that the seal placeholder is dragged to the contract text, and the text is accounted for Position symbol is dragged at the space field, after generating target electronic contract template, the method also includes:
The target variable text for receiving user's input, extracts the change of the second target from the target variable text Amount;
According to putting in order the second target variable interpolation to the text placeholder for second target variable Place.
In addition, to achieve the above object, the present invention also proposes a kind of generating device of electronic contract template, the electronics is closed Generating device with template includes memory, processor and is stored on the memory and can run on the processor The generation program of electronic contract template, the generation program of the electronic contract template are arranged for carrying out electronics as described above and close With template generation method the step of.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, electronics is stored on the storage medium The generation program of the generation program of contract template, the electronic contract template realizes electricity as described above when being executed by processor The step of generation method of sub- contract template.
In addition, to achieve the above object, the present invention also proposes a kind of generating means of electronic contract template, the electronics is closed Generating means with template include:
Text obtains module, for obtaining and showing contract text, the contract text packet in default visualization interface Include space field;
Placeholder creation module, the quantity of the space field for identification, and create seal placeholder and with it is described The text placeholder of the identical quantity of space field;
Template generation module, for the seal placeholder to be dragged to the lower left corner of the contract text, and will be described Text placeholder is dragged at the space field, generates target electronic contract template.
In the present invention, by obtaining and showing that contract text, the contract text include sky in default visualization interface Lattice field;It identifies the quantity of the space field, and creates the text of seal placeholder and quantity identical as the space field This placeholder;The seal placeholder is dragged to the lower left corner of the contract text, and the text placeholder is dragged to At the space field, target electronic contract template is generated.Seal placeholder and text placeholder are dragged, can determine The position of seal and content to be edited, and due to being operated in visualization interface, it ensure that the accuracy of typesetting.
Detailed description of the invention
Fig. 1 is that the generating device structure of the electronic contract template for the hardware running environment that the embodiment of the present invention is related to is shown It is intended to;
Fig. 2 is the flow diagram of the generation method first embodiment of electronic contract template of the present invention;
Fig. 3 is the flow diagram of the generation method second embodiment of electronic contract template of the present invention;
Fig. 4 is the flow diagram of the generation method 3rd embodiment of electronic contract template of the present invention;
Fig. 5 is the flow diagram of the generation method fourth embodiment of electronic contract template of the present invention;
Fig. 6 is the structural block diagram of the generating means first embodiment of electronic contract template of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is that the generation of the electronic contract template for the hardware running environment that the embodiment of the present invention is related to is set Standby structural schematic diagram.
As shown in Figure 1, the generating device of the electronic contract template may include: processor 1001, such as central processing unit (Central Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components.User interface 1003 may include display Shield (Display), optional user interface 1003 can also include standard wireline interface and wireless interface, for user interface 1003 wireline interface can be USB interface in the present invention.Network interface 1004 optionally may include standard wireline interface, Wireless interface (such as Wireless Fidelity (WIreless-FIdelity, WI-FI) interface).Memory 1005 can be the random of high speed Memory (Random Access Memory, RAM) memory is accessed, stable memory (Non-volatile is also possible to Memory, NVM), such as magnetic disk storage.Memory 1005 optionally can also be the storage independently of aforementioned processor 1001 Device.
The generation of electronic contract template is set it will be understood by those skilled in the art that structure shown in Fig. 1 is not constituted Standby restriction may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe the generation program of module, Subscriber Interface Module SIM and electronic contract template.
In the generating device of electronic contract template shown in Fig. 1, network interface 1004 is mainly used for connecting background service Device carries out data communication with the background server;User interface 1003 is mainly used for connecting peripheral hardware, is counted with the peripheral hardware According to communication;The generating device of the electronic contract template calls the electronic contract stored in memory 1005 by processor 1001 The generation program of template, and execute the generation method of electronic contract template provided in an embodiment of the present invention.
Based on above-mentioned hardware configuration, the embodiment of the generation method of electronic contract template of the present invention is proposed.
It is the flow diagram of the generation method first embodiment of electronic contract template of the present invention referring to Fig. 2, Fig. 2, proposes The generation method first embodiment of electronic contract template of the present invention.
In the first embodiment, the electronic contract template generation method the following steps are included:
Step S10: obtain and show that contract text, the contract text include space word in default visualization interface Section.
It should be noted that the executing subject of the present embodiment is the generating device of electronic contract template, the electronic contract The generating device of template can be without restriction to this for electronic equipments, the present embodiment such as PC or servers.It is described default Visualization interface refers to that the visual template in electronic contract platform creates interface, wherein electronic contract platform is a contract Platform is managed, have the function of making template and makes contract, the contract text is target electronic contract template to be created Corresponding text, the contract text include fixed field and several space fields, and the fixed field is consolidating for electronic contract Determine Fonnat part, the space field is that the content to be edited of electronic contract fills in place.
In the concrete realization, user inputs the contract text in the default visualization interface, so that the electronics The generating device of contract template obtains the contract text, and shows the contract text in the default visualization interface, It presets in visualization interface contract text is operated at this convenient for subsequent user.
Step S20: identifying the quantity of the space field, and creates seal placeholder and identical as the space field The text placeholder of quantity.
It should be noted that electronic contract template includes fixed field and space field, corresponding electricity at the space field The content to be edited of sub- contract, however the space field is only space, can not be inserted at the space field to be edited Therefore content in order to be inserted into content to be edited in the contract text, will use several placeholders to occupy the space The location of field realizes that insertion is to be edited interior at the space field by the way that content to be edited is written in placeholder Hold.
It is understood that need to affix one's seal and fill in content to be edited when signing a contract on the basis of contract template, because This, seal placeholder and several text placeholders will be arranged in the present embodiment, and the seal placeholder is used to occupy the position of seal, It is accurately affixed one's seal with realizing, the text placeholder is used to occupy the position of content to be edited, is accurately added with realizing wait compile Collect content.
In the concrete realization, since the quantity of Stamp Service is one, and the quantity of content to be edited is greater than one, will create one Seal placeholder, and the quantity of the space field in the contract text is identified, with creation and the space field phase With the text placeholder of quantity, to realize that space field and text placeholder correspond.
The seal placeholder: being dragged to the lower left corner of the contract text by step S30, and by the text placeholder It is dragged at the space field, generates target electronic contract template.
It is understood that the seal need to be accounted for after creating the seal placeholder and the text placeholder Position symbol and the text placeholder are dragged to correct position, since the Stamp Service of contract is located at the contract lower left corner, by institute State the lower left corner that seal placeholder is dragged to the contract text.Due to the space field be located at it is each in the contract text Different positions will position the space field, and determine the position of each space field, by the text placeholder according to It is secondary to be dragged at the space field, that is, produce target electronic contract template.
In the first embodiment, by obtaining and showing contract text, the contract text in default visualization interface Including space field;It identifies the quantity of the space field, and creates seal placeholder and number identical as the space field The text placeholder of amount;The seal placeholder is dragged to the lower left corner of the contract text, and by the text placeholder It is dragged at the space field, generates target electronic contract template.Seal placeholder and text placeholder are dragged, energy It enough determines the position of seal and content to be edited, and due to operating in visualization interface, ensure that the accuracy of typesetting.
Referring to Fig. 3, Fig. 3 is the flow diagram of the generation method second embodiment of electronic contract template of the present invention, is based on Above-mentioned first embodiment shown in Fig. 2 proposes the second embodiment of the generation method of electronic contract template of the present invention.
In a second embodiment, the step S30, specifically includes:
Step S301: positioning the lower left corner of the contract text, and the seal placeholder is dragged to described The lower left corner of contract text.
It should be noted that in order to which the seal placeholder is accurately dragged to Stamp Service, it will be to the contract text The lower left corner positioned, obtain the position in the lower left corner, and the seal placeholder is dragged to the position in the lower left corner It sets.
Step S302: the mapping relations between the text placeholder and the space field are established, according to the mapping The text placeholder is dragged at corresponding space field by relationship, generates target electronic contract template.
It is understood that the text placeholder needs to be inserted at the space field, the text will be established and accounted for Mapping relations between position symbol and the space field, the text placeholder is dragged to correspondence according to the mapping relations Space field at, generate target electronic contract template.
Further, before the step S301, the method also includes:
The tail row of the contract text is positioned, the page height below the tail row is obtained according to positioning result;
Judge whether the page height below the tail row is lower than preset threshold;
If the page height below the tail row is lower than the preset threshold, the preset format of the contract text is joined Number is adjusted, and returns to the step of whether page height judged below the tail row is lower than preset threshold;
If page height below the tail row is not less than the preset threshold, execute described to the contract text The step of lower left corner is positioned, and the seal placeholder is dragged to the lower left corner of the contract text.
It should be noted that the preset threshold is the height of seal, the page below the tail row of the contract text When height is lower than the preset threshold, illustrate can not the page locating for the tail row affix one's seal, and seal cannot cover conjunction Therefore, before determining Stamp Service, the page below the tail row will be judged with last blank page to avoid contract fraud Whether face height is lower than preset threshold.
It is understood that if the page height below the tail row is lower than the preset threshold, to the contract text This preset format parameter is adjusted, and the preset format parameter includes: at least one of line space, font and margin away from , by being adjusted to the preset format parameter, page height shared by the contract text is reduced, thus described in increasing Page height below tail row returns below the judgement tail row after being adjusted to the preset format parameter Page height the step of whether being lower than preset threshold, to judge whether the page height below tail row adjusted is not less than institute Preset threshold is stated, the standard affixed one's seal is reached.If page height below the tail row is not less than the preset threshold, described in explanation Page height below tail row is large enough to hold seal, reaches the standard affixed one's seal, then executes the lower-left to the contract text The step of angle is positioned, and the seal placeholder is dragged to the lower left corner of the contract text.
In a second embodiment, it is positioned by the lower left corner to the contract text, the seal placeholder is dragged It moves to the lower left corner of the contract text;The mapping relations between the text placeholder and the space field are established, according to The text placeholder is dragged at the space field by the mapping relations, generates target electronic contract template.By sentencing Whether the page height below the tail row that breaks is lower than preset threshold, and the page height below the tail row is not less than described pre- If when threshold value, the seal placeholder to be dragged to the lower left corner of the contract text, can have in contract of guarantee enough It affixes one's seal space, ensure that the accuracy of typesetting.
Referring to Fig. 4, Fig. 4 is the flow diagram of the generation method 3rd embodiment of electronic contract template of the present invention, is based on Above-mentioned second embodiment shown in Fig. 3 proposes the 3rd embodiment of the generation method of electronic contract template of the present invention.
In the third embodiment, the step S302, comprising:
Step S3021: being ranked up the space field and the text placeholder respectively, obtains the space field The first serial number and the space field the second serial number.
It should be noted that in order to which the text placeholder to be accurately dragged at the space field, it will be right respectively The space field and the text placeholder are ranked up, and obtain the first serial number and the space field of the space field The second serial number, in the concrete realization, according to appearance of the space field in the contract text successively to the space Field is ranked up.
Step S3022: the space field and text of same sequence number are accounted for according to first serial number and second serial number Position symbol is associated, and establishes the mapping relations between the text placeholder and the space field.
It is understood that space field and text placeholder is corresponded according to serial number, establish the text Mapping relations between placeholder and the space field, to guarantee the accuracy of subsequent dragging process.
The text placeholder: being dragged at corresponding space field by step S3023 according to the mapping relations, generates Target electronic contract template.
It should be noted that after the mapping relations established between the text placeholder and the space field, each sky Lattice field is corresponding with text placeholder, and the text placeholder is dragged at corresponding space field, generates target electronic Contract template is realized and fills the space field by text placeholder, for subsequent in the target electronic contract template Text placeholder at fill in content to be edited, can be realized and fill in content to be edited at the space field.
Further, the step S3023, comprising:
The text placeholder is dragged at corresponding space field according to the mapping relations;
The adjustment instruction for receiving user's input is adjusted the position of the text placeholder and size, generates target electricity Sub- contract template.
It is understood that when the text placeholder is dragged to pair by the generating device of the electronic contract template automatically After at the space field answered, user can input adjustment instruction as needed, to be adjusted to the text placeholder, the tune Whole instruction includes: amplification, diminution and the movement in four orientation, so that the position of text placeholder adjusted and size are more quasi- Really, more attractive.
In the third embodiment, by being ranked up respectively to the space field and the text placeholder, institute is obtained State the first serial number of space field and the second serial number of the space field;It will according to first serial number and second serial number The space field and text placeholder of same sequence number are associated, and are established between the text placeholder and the space field Mapping relations;The text placeholder is dragged at corresponding space field according to the mapping relations;Receive user's input Adjustment instruction the position of the text placeholder and size are adjusted, generate target electronic contract template.By to institute It states space field and the text placeholder is ranked up respectively, realize the essence of the text placeholder Yu the space field Quasi- dragging, is adjusted by position to the text placeholder and size, improves the accurate of the target electronic contract Property and aesthetics.
Referring to Fig. 5, Fig. 5 is the flow diagram of the generation method fourth embodiment of electronic contract template of the present invention, is based on Above-mentioned embodiment shown in Fig. 2 proposes the fourth embodiment of the generation method of electronic contract template of the present invention.
In the fourth embodiment, after the step S30, the method also includes:
Step S40: receiving the first object variable that inputs in the text placeholder of user, and by the first object Variable is showed at the text placeholder.
It should be noted that target variable is the content to be edited for needing to be inserted at the space field, it can be text One of word, symbol and number or a variety of combinations.It, will be according to the target electricity after completing the target electronic contract template Sub- contract template makes electronic contract, and user inputs first object in the text placeholder in the target electronic contract template Variable, since the quantity of text placeholder and first object variable is no less than 1, user will be defeated at each text placeholder Enter corresponding first object variable at this, until whole first object variables is input at the text placeholder, by the The target electronic contract template that one target variable fills in completion transfers to contract parties to affix one's seal, and generates target contract.
Further, after the step S30, the method also includes:
Step S50: the target variable text of user's input is received, extracts second from the target variable text Target variable;
It is understood that user can sequentially input first object variable in each text placeholder, it can also be in institute Input target variable text in default visualization interface is stated, includes that full text placeholder is corresponding in the target variable text Second target variable, user disposably input all the second target variables, and operation is more easy, improves user experience.
Step S60: according to putting in order the second target variable interpolation to the text for second target variable This placeholder place.
It should be noted that putting in order the second target variable interpolation to institute according to second target variable It states at text placeholder, contract parties is transferred to affix one's seal, to generate target contract.
In the fourth embodiment, the first object variable that user inputs in the text placeholder is received, and will be described First object variable is showed at the text placeholder.The target variable text for receiving user's input, from the target The second target variable is extracted in variable text;According to putting in order second target variable for second target variable At interpolation to the text placeholder.Since user can input one to one target variable in each text placeholder, target becomes The accuracy rate of amount is higher, and user can also preset the target variable text that input in visualization interface includes target complete variable, with Make the generating device of the electronic contract template disposably by target variable interpolation to text placeholder, it is convenient to operate.
In addition, the embodiment of the present invention also proposes a kind of generating means of electronic contract template referring to Fig. 6, the electronics is closed Generating means with template include:
Text obtains module 10, for obtaining and showing contract text, the contract text in default visualization interface Including space field.
It should be noted that the default visualization interface refers to that the visual template in electronic contract platform creates boundary Face, wherein electronic contract platform is a contract management platform, has the function of making template and makes contract, the contract Text is the corresponding text of target electronic contract template to be created, and the contract text includes fixed field and several space words Section, the fixed field are the fixed format part of electronic contract, and the space field is the content to be edited of electronic contract Fill in place.
In the concrete realization, user inputs the contract text in the default visualization interface, so that the electronics The generating device of contract template obtains the contract text, and shows the contract text in the default visualization interface, It presets in visualization interface contract text is operated at this convenient for subsequent user.
Placeholder creation module 20, the quantity of the space field for identification, and create seal placeholder and with institute State the text placeholder of the identical quantity of space field.
It should be noted that electronic contract template includes fixed field and space field, corresponding electricity at the space field The content to be edited of sub- contract, however the space field is only space, can not be inserted at the space field to be edited Therefore content in order to be inserted into content to be edited in the contract text, will use several placeholders to occupy the space The location of field realizes that insertion is to be edited interior at the space field by the way that content to be edited is written in placeholder Hold.
It is understood that need to affix one's seal and fill in content to be edited when signing a contract on the basis of contract template, because This, seal placeholder and several text placeholders will be arranged in the present embodiment, and the seal placeholder is used to occupy the position of seal, It is accurately affixed one's seal with realizing, the text placeholder is used to occupy the position of content to be edited, is accurately added with realizing wait compile Collect content.
In the concrete realization, since the quantity of Stamp Service is one, and the quantity of content to be edited is greater than one, will create one Seal placeholder, and the quantity of the space field in the contract text is identified, with creation and the space field phase With the text placeholder of quantity, to realize that space field and text placeholder correspond.
Template generation module 30, for the seal placeholder to be dragged to the lower left corner of the contract text, and by institute It states text placeholder to be dragged at the space field, generates target electronic contract template.
It is understood that the seal need to be accounted for after creating the seal placeholder and the text placeholder Position symbol and the text placeholder are dragged to correct position, since the Stamp Service of contract is located at the contract lower left corner, by institute State the lower left corner that seal placeholder is dragged to the contract text.Due to the space field be located at it is each in the contract text Different positions will position the space field, and determine the position of each space field, by the text placeholder according to It is secondary to be dragged at the space field, that is, produce target electronic contract template.
In the present embodiment, by obtaining and showing contract text, the contract text packet in default visualization interface Include space field;It identifies the quantity of the space field, and creates seal placeholder and quantity identical as the space field Text placeholder;The seal placeholder is dragged to the lower left corner of the contract text, and the text placeholder is dragged It moves to the space field, generates target electronic contract template.Seal placeholder and text placeholder are dragged, it can It determines the position of seal and content to be edited, and due to operating in visualization interface, ensure that the accuracy of typesetting.
In one embodiment, the template generation module 30 is also used to position the lower left corner of the contract text, The seal placeholder is dragged to the lower left corner of the contract text;
The mapping relations between the text placeholder and the space field are established, it will be described according to the mapping relations Text placeholder is dragged at the space field, generates target electronic contract template.
The template generation module 30 is also used to position the tail row of the contract text, be obtained according to positioning result Take the page height below the tail row;
Judge whether the page height below the tail row is less than preset threshold;
If the page height below the tail row is less than the preset threshold, the line space of the contract text is carried out Adjustment, and the step of whether page height judged below the tail row is less than preset threshold returned;
If page height below the tail row is not less than the preset threshold, execute described to the contract text The step of lower left corner is positioned, and the seal placeholder is dragged to the lower left corner of the contract text.
In one embodiment, the template generation module 30 is also used to the space field and the text placeholder It is ranked up respectively, obtains the first serial number of the space field and the second serial number of the space field;
The space field and text placeholder of same sequence number are closed according to first serial number and second serial number Connection, establishes the mapping relations between the text placeholder and the space field;
The text placeholder is dragged at corresponding space field according to the mapping relations, target electronic is generated and closes Same template.
In one embodiment, the template generation module 30 is also used to the text occupy-place according to the mapping relations Symbol is dragged at corresponding space field;
The adjustment instruction for receiving user's input is adjusted the position of the text placeholder and size, generates target electricity Sub- contract template.
In one embodiment, the generating means of the electronic contract template, further includes:
Variable fills in module, the first object variable inputted in the text placeholder for receiving user, and by institute First object variable is stated to be showed at the text placeholder.
In one embodiment, the variable fills in module, is also used to receive the target variable text of user's input, from The second target variable is extracted in the target variable text;
According to putting in order the second target variable interpolation to the text placeholder for second target variable Place.
The other embodiments or specific implementation of the generating means of electronic contract template of the present invention can refer to above-mentioned Each method embodiment, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.If listing equipment for drying Unit claim in, several in these devices, which can be, to be embodied by the same item of hardware.Word first, Second and the use of third etc. do not indicate any sequence, can be title by these word explanations.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium (such as read-only memory mirror image (Read Only Memory image, ROM)/random access memory (Random Access Memory, RAM), magnetic disk, CD) in, including some instructions use so that a terminal electronic contract template generating device (can be mobile phone, computer, server, air conditioner or the generating device of network electronic contract template etc.) executes the present invention Method described in each embodiment.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of generation method of electronic contract template, which is characterized in that the generation method of the electronic contract template include with Lower step:
Obtain and show that contract text, the contract text include space field in default visualization interface;
Identify the quantity of the space field, and the text for creating seal placeholder and quantity identical as the space field accounts for Position symbol;
The seal placeholder is dragged to the lower left corner of the contract text, and the text placeholder is dragged to the sky At lattice field, target electronic contract template is generated.
2. the generation method of electronic contract template as described in claim 1, which is characterized in that described by the seal placeholder It is dragged to the lower left corner of the contract text, and the text placeholder is dragged at the space field, generates target electricity Sub- contract template, comprising:
The lower left corner of the contract text is positioned, the seal placeholder is dragged to the lower-left of the contract text Angle;
The mapping relations between the text placeholder and the space field are established, according to the mapping relations by the text Placeholder is dragged at the space field, generates target electronic contract template.
3. the generation method of electronic contract template as claimed in claim 2, which is characterized in that described to the contract text The lower left corner is positioned, before the seal placeholder is dragged to the lower left corner of the contract text, the method also includes:
The tail row of the contract text is positioned, the page height below the tail row is obtained according to positioning result;
Judge whether the page height below the tail row is lower than preset threshold;
If page height below the tail row is lower than the preset threshold, to the preset format parameter of the contract text into Row adjustment, and the step of whether page height judged below the tail row is lower than preset threshold returned;
If the page height below the tail row is not less than the preset threshold, the lower-left to the contract text is executed The step of angle is positioned, and the seal placeholder is dragged to the lower left corner of the contract text.
4. the generation method of electronic contract template as claimed in claim 2, which is characterized in that described to establish the text occupy-place Mapping relations between symbol and the space field, are dragged to the space for the text placeholder according to the mapping relations At field, target electronic contract template is generated, comprising:
The space field and the text placeholder are ranked up respectively, obtain the first serial number and the institute of the space field State the second serial number of space field;
The space field and text placeholder of same sequence number are associated according to first serial number and second serial number, built Found the mapping relations between the text placeholder and the space field;
The text placeholder is dragged at corresponding space field according to the mapping relations, generates target electronic contract mould Plate.
5. the generation method of electronic contract template as claimed in claim 4, which is characterized in that described according to the mapping relations The text placeholder is dragged at corresponding space field, target electronic contract template is generated, comprising:
The text placeholder is dragged at corresponding space field according to the mapping relations;
The adjustment instruction for receiving user's input is adjusted the position of the text placeholder and size, generates target electronic and closes Same template.
6. the generation method of the electronic contract template as described in any one of claim 2-5, which is characterized in that described to establish institute The mapping relations between text placeholder and the space field are stated, are dragged the text placeholder according to the mapping relations At to the space field, after generating target electronic contract template, the method also includes:
The first object variable that user inputs in the text placeholder is received, and the first object variable is showed in institute It states at text placeholder.
7. the generation method of electronic contract template as claimed in claim 6, which is characterized in that described by the seal placeholder It is dragged to the lower left corner of the contract text, and the text placeholder is dragged at the space field, generates target electricity After sub- contract template, the method also includes:
The target variable text for receiving user's input, extracts the second target variable from the target variable text;
It will be at the second target variable interpolation to the text placeholder according to putting in order for second target variable.
8. a kind of generating device of electronic contract template, which is characterized in that the generating device of the electronic contract template includes: to deposit Reservoir, processor and the generation journey for being stored in the electronic contract template that can be run on the memory and on the processor It is realized as described in any one of claims 1 to 7 when the generation program of sequence, the electronic contract template is executed by the processor Electronic contract template generation method the step of.
9. a kind of storage medium, which is characterized in that the generation program of electronic contract template is stored on the storage medium, it is described The electronic contract as described in any one of claims 1 to 7 is realized when the generation program of electronic contract template is executed by processor The step of generation method of template.
10. a kind of generating means of electronic contract template, which is characterized in that the generating means of the electronic contract template include:
Text obtains module, for obtaining and showing that contract text, the contract text include sky in default visualization interface Lattice field;
Placeholder creation module, the quantity of the space field for identification, and create seal placeholder and with the space The text placeholder of the identical quantity of field;
Template generation module, for the seal placeholder to be dragged to the lower left corner of the contract text, and by the text Placeholder is dragged at the space field, generates target electronic contract template.
CN201811539359.0A 2018-12-14 2018-12-14 Method, equipment, storage medium and device for generating electronic contract template Active CN109783782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811539359.0A CN109783782B (en) 2018-12-14 2018-12-14 Method, equipment, storage medium and device for generating electronic contract template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811539359.0A CN109783782B (en) 2018-12-14 2018-12-14 Method, equipment, storage medium and device for generating electronic contract template

Publications (2)

Publication Number Publication Date
CN109783782A true CN109783782A (en) 2019-05-21
CN109783782B CN109783782B (en) 2024-05-07

Family

ID=66497162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811539359.0A Active CN109783782B (en) 2018-12-14 2018-12-14 Method, equipment, storage medium and device for generating electronic contract template

Country Status (1)

Country Link
CN (1) CN109783782B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159992A (en) * 2019-12-23 2020-05-15 望海康信(北京)科技股份公司 Contract management method and device
CN112686647A (en) * 2021-01-31 2021-04-20 重庆渝高科技产业(集团)股份有限公司 Online contract management method and system for construction project
CN112949265A (en) * 2021-03-30 2021-06-11 领扣网络(上海)有限公司 Test question setting method and system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101093476A (en) * 2006-06-21 2007-12-26 北京书生国际信息技术有限公司 Method for positioning electronic stamper
US20090183007A1 (en) * 2008-01-11 2009-07-16 Illinois Tools Works Inc. Method, Computer Program Product and Apparatus for Authenticating Electronic Documents
KR20100133646A (en) * 2009-06-12 2010-12-22 고려대학교 산학협력단 Application signature generation method
US20160012556A1 (en) * 2014-07-14 2016-01-14 Rocket Lawyer Incorporated Method and System of Creating and Signing Electronic Documents With Increased Party-Signatory Accuracy and Execution Integrity
CN105741054A (en) * 2016-03-09 2016-07-06 厦门优芽网络科技有限公司 Contract text customization method based on clause template
CN106980605A (en) * 2017-02-17 2017-07-25 平安科技(深圳)有限公司 Contract generation method and device
CN107122409A (en) * 2017-03-28 2017-09-01 银川华信智信息技术有限公司 A kind of electronics license generation method that polymorphic type license is merged based on cloud platform
CN108052491A (en) * 2017-11-22 2018-05-18 李晓妮 A kind of automatic processing method and device of certificate document
CN108197095A (en) * 2018-01-30 2018-06-22 南京焦点领动云计算技术有限公司 A kind of word template generation methods based on poi
CN108369578A (en) * 2016-02-01 2018-08-03 微软技术许可有限责任公司 Automatic moulding plate based on previous document generates
CN108509400A (en) * 2018-02-07 2018-09-07 平安普惠企业管理有限公司 Document template generation method, device, computer equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101093476A (en) * 2006-06-21 2007-12-26 北京书生国际信息技术有限公司 Method for positioning electronic stamper
US20090183007A1 (en) * 2008-01-11 2009-07-16 Illinois Tools Works Inc. Method, Computer Program Product and Apparatus for Authenticating Electronic Documents
KR20100133646A (en) * 2009-06-12 2010-12-22 고려대학교 산학협력단 Application signature generation method
US20160012556A1 (en) * 2014-07-14 2016-01-14 Rocket Lawyer Incorporated Method and System of Creating and Signing Electronic Documents With Increased Party-Signatory Accuracy and Execution Integrity
CN108369578A (en) * 2016-02-01 2018-08-03 微软技术许可有限责任公司 Automatic moulding plate based on previous document generates
CN105741054A (en) * 2016-03-09 2016-07-06 厦门优芽网络科技有限公司 Contract text customization method based on clause template
CN106980605A (en) * 2017-02-17 2017-07-25 平安科技(深圳)有限公司 Contract generation method and device
CN107122409A (en) * 2017-03-28 2017-09-01 银川华信智信息技术有限公司 A kind of electronics license generation method that polymorphic type license is merged based on cloud platform
CN108052491A (en) * 2017-11-22 2018-05-18 李晓妮 A kind of automatic processing method and device of certificate document
CN108197095A (en) * 2018-01-30 2018-06-22 南京焦点领动云计算技术有限公司 A kind of word template generation methods based on poi
CN108509400A (en) * 2018-02-07 2018-09-07 平安普惠企业管理有限公司 Document template generation method, device, computer equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159992A (en) * 2019-12-23 2020-05-15 望海康信(北京)科技股份公司 Contract management method and device
CN111159992B (en) * 2019-12-23 2023-05-23 望海康信(北京)科技股份公司 Contract management method and device
CN112686647A (en) * 2021-01-31 2021-04-20 重庆渝高科技产业(集团)股份有限公司 Online contract management method and system for construction project
CN112686647B (en) * 2021-01-31 2023-10-31 重庆渝高科技产业(集团)股份有限公司 Online contract management method and system for construction project
CN112949265A (en) * 2021-03-30 2021-06-11 领扣网络(上海)有限公司 Test question setting method and system

Also Published As

Publication number Publication date
CN109783782B (en) 2024-05-07

Similar Documents

Publication Publication Date Title
CN106502725B (en) Upgrade method, equipment and the electronic equipment of application program
CN110704519B (en) Service bill conversion method and device, storage medium and computer equipment
CN107577537A (en) Resource allocation method and Related product
CN108921627A (en) A kind of method and system generating electronic invoice OFD layout files
CN109725901A (en) Development approach, device, equipment and the computer storage medium of front-end code
CN107766132A (en) Multi-task scheduling method, application server and computer-readable recording medium
CN107656914A (en) Form generation method, device, terminal device and the storage medium of configurableization
CN109783782A (en) Generation method, equipment, storage medium and the device of electronic contract template
CN109068179A (en) A kind of multi-platform live broadcasting method, computer installation and computer readable storage medium
CN109657215A (en) Document structure tree method, equipment, storage medium and device based on template
CN107689982A (en) Multi-data source method of data synchronization, application server and computer-readable recording medium
CN109614685A (en) Construction based on BIM model is told somebody what one's real intentions are method, apparatus, equipment and mobile terminal
CN107038619B (en) Virtual resource management method and device
CN106156306A (en) A kind of template rendering intent and device
CN110309099A (en) Interface managerial method, device, equipment and computer readable storage medium
CN110007916A (en) Interface rendering method, device and the server of operation system
CN109359281A (en) Dynamic list generation method and device
CN110738038A (en) Contract text generation method, device, equipment and computer readable storage medium
CN109003030A (en) Object circulation method, system and the computer readable storage medium of block chain
CN111899352A (en) Part model processing method, system, equipment and storage medium based on CATIA
CN109684033A (en) Cloud platform bare machine management method, storage medium, electronic equipment and system
CN109542432A (en) Air control rule editing method and terminal device
CN113312135A (en) List display method and device, computer equipment and storage medium
CN112711414A (en) Form interface adaptation display method and device and storage medium
CN106293658A (en) A kind of interface assembly generates method and equipment thereof

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