CN113536757A - Electronic contract generation and signing method, device and system based on parameter template - Google Patents

Electronic contract generation and signing method, device and system based on parameter template Download PDF

Info

Publication number
CN113536757A
CN113536757A CN202110868361.8A CN202110868361A CN113536757A CN 113536757 A CN113536757 A CN 113536757A CN 202110868361 A CN202110868361 A CN 202110868361A CN 113536757 A CN113536757 A CN 113536757A
Authority
CN
China
Prior art keywords
contract
signing
parameter
template
rendering
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
CN202110868361.8A
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.)
Guangdong Yuefei Finance Cloud Technology Co ltd
Original Assignee
Guangdong Yuefei Finance Cloud 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 Guangdong Yuefei Finance Cloud Technology Co ltd filed Critical Guangdong Yuefei Finance Cloud Technology Co ltd
Priority to CN202110868361.8A priority Critical patent/CN113536757A/en
Publication of CN113536757A publication Critical patent/CN113536757A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an electronic contract generating and signing method, device and system based on a parameter template, wherein the electronic contract generating and signing method comprises the following steps: acquiring a contract signing request sent by a contract signing requester; wherein the signing contract request comprises parameter information of a target electronic contract to be created; acquiring a contract template corresponding to the contract signing request; wherein the contract template is a WORD document; identifying all preset parameters and positions of the preset parameters in the contract template; the preset parameters are objects for which a contract requester needs to dynamically modify a contract template; generating a rendering strategy corresponding to a preset parameter; converting the parameter information into rendering parameters according to a rendering strategy, and filling the rendering parameters into contract templates correspondingly; converting the WORD document filled with the rendering parameters into a PDF (Portable document Format) file; and calling the electronic signature service to execute electronic contract signing.

Description

Electronic contract generation and signing method, device and system based on parameter template
Technical Field
The invention belongs to the technical field of electronic commerce, and particularly relates to a method, a device and a system for generating and signing an electronic contract based on a parameter template.
Background
With the development of internet technology and the perfection of corresponding laws and regulations of the electronic signature law of the people's republic of China, electronic contracts are widely applied to various fields of electronic commerce B2B platforms, B2C platforms, online travel platforms, leasing industries, real estate industries, internet finance and the like. The electronic contract replaces the paper contract step by step with the advantages of convenience, easy storage and the like. The current electronic contract signing process is usually completed by an electronic contract platform of a third party.
The applicant researches and discovers that the existing signing mode of the electronic contract has the following defects:
in the financial field, both parties often need to sign a plurality of electronic contract books of different types on line, and different business products and different channels need to use respective contract templates, so that the types and styles of the contracts are various. And the client information, interest rate, contract clauses, repayment plan and the like in the text content of the online signed contract are dynamically changed. Besides simple text replacement, part of the contract content also relates to more complicated and diversified requirements, such as fonts, text colors, pictures, dynamic tables and the like, which also need to be dynamically changed according to actual conditions.
Most of the existing electronic contract signing implementation methods are limited to simple text replacement and cannot meet the requirements of business development.
Disclosure of Invention
The present invention is to solve the above technical problems, and provides a method, an apparatus, and a system for generating and signing an electronic contract based on a parameter template.
In order to solve the problems, the invention is realized according to the following technical scheme:
in a first aspect, the present invention provides an electronic contract generation and signing method based on a parameter template, which includes the following steps:
acquiring a contract signing request sent by a contract signing requester; wherein the signing contract request comprises parameter information of a target electronic contract to be created;
acquiring a contract template corresponding to the contract signing request; wherein the contract template is a WORD document;
identifying all preset parameters and positions of the preset parameters in the contract template; the preset parameters are objects for which a contract requester needs to dynamically modify a contract template;
generating a rendering strategy corresponding to a preset parameter;
converting the parameter information into rendering parameters according to a rendering strategy, and filling the rendering parameters into contract templates correspondingly;
converting the WORD document filled with the rendering parameters into a PDF (Portable document Format) file;
and calling the electronic signature service to execute electronic contract signing.
With reference to the first aspect, the present invention further provides a 1 st implementation manner of the first aspect, where a configuration rule of the preset parameter is as follows:
the preset parameters use "$ {" as a start symbol and "}" as an end symbol, and characters between the start symbol and the end symbol are rendering configuration information of the preset parameters;
wherein the rendering strategy renders the rendering parameters based on the rendering configuration information.
With reference to the first aspect, the present invention further provides a 2 nd implementation manner of the first aspect, where the parameter information is converted into rendering parameters according to a rendering policy, and the rendering parameters are filled into a contract template, specifically including:
acquiring the parameter information;
converting the parameter information into rendering parameters according to the rendering configuration information; wherein the rendering parameters are characters, tables or pictures;
and calling a software interface for operating the word file, correspondingly filling the rendering parameters into the positions of the preset parameters of the contract template, and deleting the preset parameters.
With reference to the first aspect, the present invention further provides a third implementation manner of the first aspect, where the preset parameter includes at least one of a text type, a picture type, and a table type.
With reference to the first aspect, the present invention further provides a 4 th implementation manner of the first aspect, where when the preset parameter is a text type, a configuration rule of the preset parameter is as follows:
the { @ textData | fontSize: A | fontFamily: B | color: C } wherein, "@" indicates that the preset parameter is a text type; "textData" is the filled text; "|" is an attribute separator; "fontSize" is the font size, "A" is the parameter value for the font size; "fontFamily" is the font type, and "B" is the parameter value for the font type; "color" is the font color and "C" is the parameter value for the font color.
With reference to the first aspect, the present invention further provides a 5 th implementation manner of the first aspect, where when the preset parameter is a table type, a configuration rule of the preset parameter is as follows:
the { # tableData | fontSize: A | fontFamily: B | color: C } wherein, "#" indicates that the preset parameter is a table type; "tableData" is the table content filled in, including the content information of the ranks; "|" is an attribute separator; "fontSize" is the font size, "A" is the parameter value for the font size; "fontFamily" is the font type, and "B" is the parameter value for the font type; "color" is the font color and "C" is the parameter value for the font color.
With reference to the first aspect, the present invention further provides a 6 th implementation manner of the first aspect, where when the preset parameter is a picture type, a configuration rule of the preset parameter is as follows:
h | width: W }, wherein, "&" represents that the preset parameter is a picture type; "imgData" is the filled picture content, "H" is the parameter value of the picture height; "highth" is the picture height; "width" is the picture width, and "W" is the parameter value of the picture width.
With reference to the first aspect, the present invention further provides a 7 th implementation manner of the first aspect, wherein after the electronic contract is signed, the electronic contract is persistently stored in a specified file server using FTP or SFTP protocol.
In a second aspect, the present invention further provides an electronic contract generation signing apparatus based on a parameter template, including:
the receiving module is used for acquiring a signing contract request sent by a signing contract requesting party; wherein the signing contract request comprises parameter information of a target electronic contract to be created;
an acquisition module for acquiring a contract template corresponding to the contract signing request; wherein the contract template is a WORD document;
the identification module is used for identifying all preset parameters and positions of the preset parameters in the contract template; the preset parameters are objects for which a contract requester needs to dynamically modify a contract template;
the generating module is used for generating a rendering strategy corresponding to the preset parameters;
the rendering module is used for converting the parameter information into rendering parameters according to the rendering strategy and filling the rendering parameters into the contract template correspondingly;
the conversion module is used for converting the WORD document filled with the rendering parameters into a PDF (Portable document Format) file;
and the signing module is used for calling the electronic signature service and executing electronic contract signing.
In a third aspect, the invention further provides an electronic contract signing system, which comprises the electronic contract generating and signing device based on the parameter template in the second aspect, a signature system database server, a cache server and an FTP server message queue;
the electronic contract generating and signing device carries out data interaction with the service system based on FTP server information, and a contract signing requester sends a contract signing request to the electronic contract generating and signing device through the service system.
Compared with the prior art, the invention has the beneficial effects that:
aiming at the defects that the existing signed electronic contract scheme can not maintain the document format and can not support the contract multi-style content modification and the like; the invention provides a brand-new solution: the method uses the word document as a template, supports dynamic modification of multi-style content, supports direct editing and replacing of document parameter content, can write in various content styles according to requirements, effectively ensures the document format of the contract, and maximally ensures the rigor of the contract document.
Drawings
Embodiments of the invention are described in further detail below with reference to the attached drawing figures, wherein:
FIG. 1 is a schematic diagram of the components of the electronic contract signing system of the present invention;
fig. 2 is a flow chart of the electronic contract generation and signing method based on the parameter template of the invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
At present, in the financial field, both parties often need to sign a plurality of electronic contract books of different types on line, and different business products and different channels need to use respective contract templates, so that the types and styles of the contracts are various. And the client information, interest rate, contract clauses, repayment plan and the like in the text content of the online signed contract are dynamically changed. Besides simple text replacement, part of the contract content also relates to more complicated and diversified requirements, such as fonts, text colors, pictures, dynamic tables and the like, which also need to be dynamically changed according to actual conditions. Most of the existing electronic contract signing implementation methods are limited to simple text replacement and cannot meet the requirements of business development.
Based on this, the embodiments of the present specification provide an electronic contract generation signing method based on a parameter template, so as to use a word document as the template on the basis of ensuring the contract effectiveness, support dynamic modification of multi-style content, support direct editing of replacement document parameter content, and write in various content styles as required, and effectively ensure the document format of the contract, maximally ensure the rigor of the contract document, and meet the user requirements.
Fig. 1 is a schematic application scenario of an electronic contract generation and signing method based on a parameter template according to one or more embodiments of the present specification, which is illustrated by a requesting user, and as shown in fig. 1, the scenario includes: the system comprises a terminal device of a requester user, a service system database server, an FTP server message queue, an electronic contract generation and signing device based on a parameter template, a cache server, a signature system database server and an electronic signature service.
The terminal equipment can be a mobile phone, a tablet computer, a desktop computer, a portable notebook computer and the like; the cache server and the signature system database server store data, such as related data of electronic contracts.
Specifically, the terminal device of the requester user sends a contract signing request to the parameter template-based electronic contract generating and signing apparatus of the access service system according to the parameter information of the target electronic contract to be created in response to the contract creating operation of the contract signing requester user. The electronic contract generating and signing device calls a contract template corresponding to the contract signing request and identifies all preset parameters and positions of the preset parameters in the contract template; generating a rendering strategy corresponding to the preset parameters, converting the parameter information into rendering parameters according to the rendering strategy, and filling the rendering parameters into a contract template correspondingly; converting the WORD document filled with the rendering parameters into a PDF (Portable document Format) file; and calling the electronic signature service to execute electronic contract signing. And sends the signing result information to the corresponding terminal equipment of the requesting user.
Based on the application scenario architecture, one or more embodiments of the present specification provide an electronic contract generation and signing method based on a parameter template. Fig. 2 is a flowchart of a method for generating and signing an electronic contract based on a parameter template according to one or more embodiments of the present specification, where the method in fig. 2 can be performed by the electronic contract generating and signing apparatus based on a parameter template in fig. 2, as shown in fig. 2, and the method includes the following steps:
s100: acquiring a contract signing request sent by a contract signing requester; wherein the signing contract request includes parameter information of a target electronic contract to be created.
In one implementation, the requesting user operates his terminal device, selects target template information corresponding to a target electronic contract to be created among template information (such as template names) of a plurality of preset contract templates, and edits user identification information of each signing user of the target electronic contract to be created, replacement contents of the target electronic contract, and the like. The terminal equipment determines the template identification information of the contract template corresponding to the acquired target template information, the user identification information of each signing party user, the replacement content and the like as parameter information, and sends a signing contract request to the electronic contract generation signing device according to the parameter information.
Note that the present application does not limit the signing party, and may be an individual person or an enterprise or public institution.
S200: acquiring a contract template corresponding to the contract signing request; wherein the contract template is a WORD document.
The invention calls the corresponding contract template in the database based on the target template information in the contract signing request. It is emphasized that the contract template of the present invention is a WORD document, and specifically a DOC document in DOC format, as a template.
The applicant makes the following remarks on the definition:
the electronic contract and the paper contract are consistent in manufacturing process and all involve the steps of drafting, confirming, examining and approving, signing, sending and the like. The electronic contract making-up link involves the operation of performing customized filling on an electronic contract template by using client data. In the art, there are currently two main approaches:
(1) the first scheme is as follows: PDF, an international standard format in the field of printing, has become the format of choice for making electronic contracts because of its excellent performance in layout, rendering, cross-platform, public, interactive, and security. The universal practice in the industry is to add a form field on a PDF file with reserved blank filling data space, wherein the form field can record relevant attributes such as position, size, font, name and the like, then use the PDF file with the added form field as a filling template, fill the client data into a corresponding form field according to the form field name through a PDF processing program, and finish the drawing up of the client data customized electronic contract.
Applicants have found that the block-based organization of the text in a PDF file is extremely advantageous for rendering and storage, but is extremely unfriendly for editing. The PDF document is used as a template, a special parameter mark is used at a position where a text needs to be dynamically replaced, a space for replacing the parameter is reserved, then the template is traversed by a program, the parameter is replaced by actual content, and finally the PDF document is electronically signed. This solution can keep the original overall format of the document, but is not friendly to dynamically changing parameter support, such as: the length of the filling parameter content needs to be statically reserved, and a replaced content part may be left blank or covered with other characters, so that a complex table with variable row and column numbers cannot be supported.
In addition, due to the fixed size of the form field, the situation that rendering data is displayed incompletely or empty positions are too much due to the fact that a producer does not estimate the length of the client data improperly in the electronic contract drafting process often occurs, unnecessary legal risks are brought, the phenomenon that the whole contract is seriously split due to the fact that filling data is inconsistent with the text font of the contract also occurs, the reliability of the electronic contract and the willingness of signing of the client are reduced, and the due effect of the electronic contract cannot be played.
(2) The second scheme is as follows: the scheme can relatively support various styles and complex table generation by utilizing the structural flexibility of the HTML document, marking the position needing dynamic change with a special parameter, traversing and replacing the HTML document based on an open-source template engine, converting the HTML document into a PDF document, and finally electronically signing the PDF document. However, applicants have found that there is a large difference in the final document content format (font size, indentation, style and pagination, etc.) from the original version.
In summary, both common solutions have shortcomings and compromise the stringency of the contract documentation.
Therefore, the invention provides a brand-new solution for the existing problems, the scheme directly uses doc document as a template, can ensure the document format, support dynamic complex tables, support direct editing and replacing the document parameter content, write various text styles and furthest ensure the rigor of contract documents.
S300: identifying all preset parameters and positions of the preset parameters in the contract template; the preset parameters are objects for which the contract requesting party needs to dynamically modify the contract template.
In one implementation, the configuration rule of the preset parameters is as follows: the preset parameter uses "$ {" as a start symbol and "}" as an end symbol, and characters between the start symbol and the end symbol are rendering configuration information of the preset parameter. The preset parameters comprise at least one of a text type, a picture type and a table type.
Correspondingly, when a requester user sends a contract signing request, the terminal equipment of the requester user can be operated to input the replacement content according to the requirement, the replacement content is filled into the contract template, and the contract template is dynamically modified to obtain the target electronic contract. Specifically, the substitute content may be text, picture, or table content, and the template rendering is performed by signing the parameter information in the contract request.
S400: and generating a rendering strategy corresponding to the preset parameters.
In the invention, the rendering strategy renders the rendering parameters based on the rendering configuration information.
For the pre-review parameters and rendering strategies of S300-S400, the present invention provides the following examples:
(1) when the preset parameter is a text type, the configuration rule of the preset parameter is as follows:
${@textData|fontSize:A|fontFamily:B|color:C}
wherein "@" indicates that the preset parameter is a text type; "textData" is the filled text; "|" is an attribute separator; "fontSize" is the font size, "A" is the parameter value for the font size; "fontFamily" is the font type, and "B" is the parameter value for the font type; "color" is the font color and "C" is the parameter value for the font color.
In one specific example, the preset parameter rule for text type is "$ { @ textData | fontSize:5| fontFamily: sons | color: red }", where "@" indicates that the parameter type is text, "|" is attribute segmenter, ": "parameter value used later for inputting attribute, fontSize indicates that the font size is 5, fontFamily indicates that the font is song, and color indicates that the font color is red.
The textData represents the filled text content, and specifically, the JSON format is used to represent the text content as follows:
{
"text": alternative content "
}
Rendering strategy for text type: and acquiring a character string of the replacement content through textData in the input parameter information, producing a target character string according to a configured text style, finally calling a software interface for operating a doc file to write the target character string into the position of a preset parameter (the content of "$ { @ textData | fontSize:5| fontFamily: sons | color: red }" as above) of the template, and deleting the preset parameter.
(2) When the preset parameter is a table type, the configuration rule of the preset parameter is as follows:
${#tableData|fontSize:A|fontFamily:B|color:C}
wherein, "#" indicates that the preset parameter is a table type; "tableData" is the table content filled in, including the content information of the ranks; "|" is an attribute separator; "fontSize" is the font size, "A" is the parameter value for the font size; "fontFamily" is the font type, and "B" is the parameter value for the font type; "color" is the font color and "C" is the parameter value for the font color.
In one embodiment, the default parameter rules for the table type are "$ { # tableData | fontSize:5| fontFamily: Song | color: red }". And where "#" indicates that the parameter is a table, "|" is an attribute delimiter, ": "parameter value used later for inputting attribute," fontSize "indicates that the font size is 5," fontFamily "indicates that the font is song font, and" color "indicates that the font color is red.
Wherein, tableData represents the input table content, which contains the information of the line content, and the table content is represented by JSON format as follows:
Figure BDA0003188086760000071
Figure BDA0003188086760000081
table type rendering strategy: and acquiring the table parameter content through tableData in the input parameter information. Wherein, title in the parameter information is the name of the table, head is the header data, and rows is the row data information of the table. And the rendering strategy determines the rows and columns of the table according to the field number of the header of the parameter information and the length of the rows list. And filling the fields of each row into the corresponding table. Finally, calling a software interface for operating the doc file to insert the table into the position of the preset parameter (the content of the "$ { # tableData | fontSize:5| fontFamily: Song body | color: red }") of the template, and deleting the preset parameter.
(3) When the preset parameter is a picture type, the configuration rule of the preset parameter is as follows:
${&imgData|higth:A|width:B}
wherein, "&" represents that the preset parameter is a picture type; "imgData" is the picture content filled in; "higth" is the picture height, "a" is the parameter value of the picture height; "width" is the picture width, and "B" is the parameter value of the picture width.
In one embodiment, the picture parameter marking rule is as follows: "$ { & imgData | higth:140| width:140 }", where "&" denotes that the parameter type is picture, "right" and "width" denote that the height and width of the inserted picture are 140x140, respectively.
Wherein imgData is expressed by JSON format as follows:
Figure BDA0003188086760000082
rendering strategy of picture type: the method comprises the steps of obtaining picture parameter information through imgData in input parameter information, wherein title is a picture title, srcPath is a picture storage position, type is a picture storage format, reading a picture file by a program, setting the length and width of the picture, finally calling a software interface for operating a doc file to insert the picture into the position of a preset parameter (the content of the section of the '$ { & imgData | height: 140| width:140 }') of a template, deleting the preset parameter, and writing the preset parameter into the picture title.
S500: and converting the parameter information into rendering parameters according to the rendering strategy, and filling the rendering parameters into the contract template correspondingly.
In the present invention, the parameter information is converted into rendering parameters according to a rendering policy, and the rendering parameters are filled into a contract template correspondingly, which specifically includes:
s510: acquiring the parameter information;
s520: converting the parameter information into rendering parameters according to the rendering configuration information; wherein the rendering parameters are characters, tables or pictures;
s530: and calling a software interface for operating the word file, correspondingly filling the rendering parameters into the positions of the preset parameters of the contract template, and deleting the preset parameters.
S600: and converting the WORD document filled with the rendering parameters into a PDF file.
S700: and calling the electronic signature service to execute electronic contract signing.
S800: after the electronic contract signing is completed, the electronic contract is persistently stored into a designated file server using FTP or SFTP protocols.
The invention makes a contract template according to the template specification, then stores the contract template in the contract signing server, and makes configuration mapping on the newly generated template and the template type on the contract server for the use of subsequent programs. Aiming at different parameter types, a contract signing system needs to develop corresponding analysis and rendering strategy programs and add the analysis and rendering strategy programs into a rendering flow as required, so that a target electronic contract is dynamically generated according to configuration and input parameters.
The invention provides a generation method of a parameterized template for signing complex electronic contracts. The method supports dynamic complex forms, supports direct editing of the parameter content of the replacement document, supports various text styles, can ensure the format of the contract document, and furthest ensures the rigor of the contract document.
In order to achieve the above object, the present invention provides an electronic contract generating and signing apparatus based on a parameter template, which is used for executing the electronic contract generating and signing method to realize the signing operation of the electronic contract. Specifically, the electronic contract generation signing apparatus based on the parameter template includes:
the receiving module is used for acquiring a signing contract request sent by a signing contract requesting party; wherein the signing contract request comprises parameter information of a target electronic contract to be created;
an acquisition module for acquiring a contract template corresponding to the contract signing request; wherein the contract template is a WORD document;
the identification module is used for identifying all preset parameters and positions of the preset parameters in the contract template; the preset parameters are objects for which a contract requester needs to dynamically modify a contract template;
the generating module is used for generating a rendering strategy corresponding to the preset parameters;
the rendering module is used for converting the parameter information into rendering parameters according to the rendering strategy and filling the rendering parameters into the contract template correspondingly;
the conversion module is used for converting the WORD document filled with the rendering parameters into a PDF (Portable document Format) file;
and the signing module is used for calling the electronic signature service and executing electronic contract signing.
The functional modules specifically execute the steps S100-S800.
Meanwhile, in order to achieve the purpose, the invention provides an electronic contract signing system which is reasonable in design and effective. In order to implement the signature function, the system comprises: the electronic contract generating and signing device, the signature system database server, the cache server and the FTP server are aligned in message. The electronic contract generating and signing device carries out data interaction with the service system based on FTP server information, and a contract signing requester sends a contract signing request to the electronic contract generating and signing device through the service system.
The FTP server message alignment aims at interfacing the service system, can simplify the difficulty of service system access, and realizes service system and signature system decoupling. When the contract is signed, the service system only needs to push the signed parameter information to the message alignment according to the message format specified by the electronic contract generating and signing device, and meanwhile, the message alignment can cache the signing information and smooth the service peak value, so that the service system can effectively cope with the sudden large-traffic situation.
A cache server is also introduced during design so as to reduce time-consuming operations such as repeated reading of contract templates and the like, thereby improving the contract signing speed. The signature system database server stores contract related configuration information: contract type, template, storage server configuration, storage path, etc. The FTP server acts as a persistent storage contract text server. The electronic contract signing system is a core program for realizing services, and cooperates with peripheral modules to complete functions of contract signing and the like.
Other structures of the electronic contract generation and signing method, device and system based on the parameter template described in the embodiment are referred to in the prior art.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, so that any modification, equivalent change and modification made to the above embodiment according to the technical spirit of the present invention are within the scope of the technical solution of the present invention.

Claims (10)

1. An electronic contract generating and signing method based on a parameter template is characterized by comprising the following steps:
acquiring a contract signing request sent by a contract signing requester; wherein the signing contract request comprises parameter information of a target electronic contract to be created;
acquiring a contract template corresponding to the contract signing request; wherein the contract template is a WORD document;
identifying all preset parameters and positions of the preset parameters in the contract template; the preset parameters are objects for which a contract requester needs to dynamically modify a contract template;
generating a rendering strategy corresponding to a preset parameter;
converting the parameter information into rendering parameters according to a rendering strategy, and filling the rendering parameters into contract templates correspondingly;
converting the WORD document filled with the rendering parameters into a PDF (Portable document Format) file;
and calling the electronic signature service to execute electronic contract signing.
2. The method for signing on electronic contract generation based on parameter template as claimed in claim 1, wherein the configuration rule of said preset parameters is as follows:
the preset parameters use "$ {" as a start symbol and "}" as an end symbol, and characters between the start symbol and the end symbol are rendering configuration information of the preset parameters;
wherein the rendering strategy renders the rendering parameters based on the rendering configuration information.
3. The method for generating and signing an electronic contract based on a parameter template as claimed in claim 2, wherein the parameter information is converted into rendering parameters according to a rendering strategy, and the rendering parameters are filled into the contract template correspondingly, specifically comprising:
acquiring the parameter information;
converting the parameter information into rendering parameters according to the rendering configuration information; wherein the rendering parameters are characters, tables or pictures;
and calling a software interface for operating the word file, correspondingly filling the rendering parameters into the positions of the preset parameters of the contract template, and deleting the preset parameters.
4. The parameter template-based electronic contract generation signing method according to claim 2, characterized in that:
the preset parameter comprises at least one of a text type, a picture type and a table type.
5. The parameter template-based electronic contract generation signing method according to claim 4, characterized in that:
when the preset parameter is a text type, the configuration rule of the preset parameter is as follows:
${@textData|fontSize:A|fontFamily:B|color:C}
wherein "@" indicates that the preset parameter is a text type; "textData" is the filled text; "|" is an attribute separator; "fontSize" is the font size, "A" is the parameter value for the font size; "fontFamily" is the font type, and "B" is the parameter value for the font type; "color" is the font color and "C" is the parameter value for the font color.
6. The parameter template-based electronic contract generation signing method according to claim 4, characterized in that:
when the preset parameter is a table type, the configuration rule of the preset parameter is as follows:
${#tableData|fontSize:A|fontFamily:B|color:C}
wherein, "#" indicates that the preset parameter is a table type; "tableData" is the table content filled in, including the content information of the ranks; "|" is an attribute separator; "fontSize" is the font size, "A" is the parameter value for the font size; "fontFamily" is the font type, and "B" is the parameter value for the font type; "color" is the font color and "C" is the parameter value for the font color.
7. The parameter template-based electronic contract generation signing method according to claim 4, characterized in that:
when the preset parameter is a picture type, the configuration rule of the preset parameter is as follows:
${&imgData|higth:H|width:W}
wherein, "&" represents that the preset parameter is a picture type; "imgData" is the picture content filled in; "higth" is the picture height, "H" is the parameter value of the picture height; "width" is the picture width, and "W" is the parameter value of the picture width.
8. The parameter template-based electronic contract generation signing method according to claim 1, characterized in that:
after the electronic contract signing is completed, the electronic contract is persistently stored into a designated file server using FTP or SFTP protocols.
9. An electronic contract generation signing apparatus based on a parameter template, comprising:
the receiving module is used for acquiring a signing contract request sent by a signing contract requesting party; wherein the signing contract request comprises parameter information of a target electronic contract to be created;
an acquisition module for acquiring a contract template corresponding to the contract signing request; wherein the contract template is a WORD document;
the identification module is used for identifying all preset parameters and positions of the preset parameters in the contract template; the preset parameters are objects for which a contract requester needs to dynamically modify a contract template;
the generating module is used for generating a rendering strategy corresponding to the preset parameters;
the rendering module is used for converting the parameter information into rendering parameters according to the rendering strategy and filling the rendering parameters into the contract template correspondingly;
the conversion module is used for converting the WORD document filled with the rendering parameters into a PDF (Portable document Format) file;
and the signing module is used for calling the electronic signature service and executing electronic contract signing.
10. An electronic contract signing system, comprising the parameter template-based electronic contract generation signing apparatus of claim 9, a signature system database server, a cache server and an FTP server message queue;
the electronic contract generating and signing device carries out data interaction with the service system based on FTP server information, and a contract signing requester sends a contract signing request to the electronic contract generating and signing device through the service system.
CN202110868361.8A 2021-07-30 2021-07-30 Electronic contract generation and signing method, device and system based on parameter template Pending CN113536757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110868361.8A CN113536757A (en) 2021-07-30 2021-07-30 Electronic contract generation and signing method, device and system based on parameter template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110868361.8A CN113536757A (en) 2021-07-30 2021-07-30 Electronic contract generation and signing method, device and system based on parameter template

Publications (1)

Publication Number Publication Date
CN113536757A true CN113536757A (en) 2021-10-22

Family

ID=78121732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110868361.8A Pending CN113536757A (en) 2021-07-30 2021-07-30 Electronic contract generation and signing method, device and system based on parameter template

Country Status (1)

Country Link
CN (1) CN113536757A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187909A (en) * 2020-09-23 2021-01-05 上海万向区块链股份公司 Financing information generation system and method based on block chain
CN114239518A (en) * 2021-11-15 2022-03-25 广东盈峰普惠互联小额贷款股份有限公司 System and method for online generation of electronic contract template
CN114580369A (en) * 2022-05-05 2022-06-03 杭州天谷信息科技有限公司 Signing method and system based on contract template
CN114998922A (en) * 2022-07-29 2022-09-02 成都薯片科技有限公司 Electronic contract generation method based on format template
CN116976300A (en) * 2023-06-19 2023-10-31 珠海盈米基金销售有限公司 Text information extraction and generation method and system
CN117077630A (en) * 2023-08-28 2023-11-17 国任财产保险股份有限公司 Printing method and system for electronic file

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636681A (en) * 2018-10-16 2019-04-16 深圳壹账通智能科技有限公司 Contract generation method, device, equipment and storage medium
CN111626032A (en) * 2020-04-23 2020-09-04 平安国际智慧城市科技股份有限公司 Dynamic word template exporting method and device and storage medium
CN112329413A (en) * 2019-08-02 2021-02-05 阿里巴巴集团控股有限公司 Template building method, file generation method, template system, device and computer equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636681A (en) * 2018-10-16 2019-04-16 深圳壹账通智能科技有限公司 Contract generation method, device, equipment and storage medium
CN112329413A (en) * 2019-08-02 2021-02-05 阿里巴巴集团控股有限公司 Template building method, file generation method, template system, device and computer equipment
CN111626032A (en) * 2020-04-23 2020-09-04 平安国际智慧城市科技股份有限公司 Dynamic word template exporting method and device and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187909A (en) * 2020-09-23 2021-01-05 上海万向区块链股份公司 Financing information generation system and method based on block chain
CN112187909B (en) * 2020-09-23 2022-11-08 上海万向区块链股份公司 Financing information generation system and method based on block chain
CN114239518A (en) * 2021-11-15 2022-03-25 广东盈峰普惠互联小额贷款股份有限公司 System and method for online generation of electronic contract template
CN114580369A (en) * 2022-05-05 2022-06-03 杭州天谷信息科技有限公司 Signing method and system based on contract template
CN114998922A (en) * 2022-07-29 2022-09-02 成都薯片科技有限公司 Electronic contract generation method based on format template
CN114998922B (en) * 2022-07-29 2022-11-04 成都薯片科技有限公司 Electronic contract generating method based on format template
CN116976300A (en) * 2023-06-19 2023-10-31 珠海盈米基金销售有限公司 Text information extraction and generation method and system
CN117077630A (en) * 2023-08-28 2023-11-17 国任财产保险股份有限公司 Printing method and system for electronic file

Similar Documents

Publication Publication Date Title
CN113536757A (en) Electronic contract generation and signing method, device and system based on parameter template
US10915699B2 (en) Dynamic referencing of term definitions within a document
US11372935B2 (en) Automatically generating a website specific to an industry
CN107273492B (en) Interaction method for processing image annotation task based on crowdsourcing platform
US20190361969A1 (en) Method and system for annotation and connection of electronic documents
US6931591B1 (en) Publishing layout wizard
US20050198202A1 (en) Method for causing server to provide client computers with annotation functions for enabling users of the client computers to view object-based documents with annotations
US20060005117A1 (en) Document processor, document processing method and storage medium storing document processing program
US20220405850A1 (en) Automated systems and methods for managing the placement process for securing insurance coverage
WO2008063316A2 (en) Template-based art creation and information management system for advertising
KR101638423B1 (en) Method for how to create and distribute articles online through banner-type article auto-generation
US9135234B1 (en) Collaborative generation of digital content with interactive reports
US20170364981A1 (en) Brand-Based Product Management
US20170109442A1 (en) Customizing a website string content specific to an industry
KR100798465B1 (en) Learning data formation system for the subject explanation
CN111768822A (en) Continuous printing method, device, equipment and storage medium for electronic medical record documents
JP2002236701A (en) Stepwise information display method
CN1193302C (en) Method for providing on-line web page browing record and system thereof
JP5096997B2 (en) Similar color scheme generation apparatus, similar color scheme generation method, and similar color scheme generation program
CN116992835B (en) Method and equipment for processing batch deposit of layout document
CN116719461A (en) Device for precisely realizing content release by gathering and processing information of multiple systems on whiteboard
JP2006092277A (en) Device, method and program for supporting creation of web page
KR20110095074A (en) Online webpage editable service system with drawing and animation tool
Terris Re-use, re-purpose, re-package
JP2008203908A (en) Additional information writing method to web page

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