CN115455925A - Contract generation method and device, electronic equipment and storage medium - Google Patents
Contract generation method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115455925A CN115455925A CN202210977197.9A CN202210977197A CN115455925A CN 115455925 A CN115455925 A CN 115455925A CN 202210977197 A CN202210977197 A CN 202210977197A CN 115455925 A CN115455925 A CN 115455925A
- Authority
- CN
- China
- Prior art keywords
- contract
- template
- clause
- file
- contract template
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000012790 confirmation Methods 0.000 claims abstract description 34
- 238000009877 rendering Methods 0.000 claims abstract description 15
- 238000012986 modification Methods 0.000 claims description 26
- 230000004048 modification Effects 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012216 screening Methods 0.000 claims description 3
- 238000007789 sealing Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 5
- 238000012423 maintenance Methods 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000003068 static effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/197—Version control
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/18—Legal services
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Human Resources & Organizations (AREA)
- Physics & Mathematics (AREA)
- Tourism & Hospitality (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- General Business, Economics & Management (AREA)
- Artificial Intelligence (AREA)
- Marketing (AREA)
- Economics (AREA)
- General Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Entrepreneurship & Innovation (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Technology Law (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Data Mining & Analysis (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to the technical field of data processing, and discloses a contract generation method which is applied to a server and comprises the following steps: receiving a clause selection instruction sent by a management end, and acquiring a plurality of contract clauses according to the clause selection instruction; combining a plurality of contract clauses to generate a first contract template, setting variables for the first contract template, and then performing dynamic rendering to generate a second contract template; auditing the second contract template, and adding a version number to the second contract template which passes the auditing to generate a third contract template; and sending the third contract template to the client for confirmation, if the feedback information of the client is confirmation, generating a corresponding contract file according to the third contract template, and stamping and storing the contract file. The contract generation method can divide the contract into a plurality of clauses for maintenance and reuse, and improves the generation efficiency of the contract text.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a contract generation method and apparatus, an electronic device, and a storage medium.
Background
At present, few technical solutions are applied to generating the contract pdf files, and generally, a whole contract page is converted into a picture by using an plugin (html 2canvas. Js), and then the contract file is generated by using the whole picture in a manner of generating the pdf file by using a back end. The advantage of the scheme is that what you see is what you get is, the contract is presented on the webpage is completely consistent with the pdf file finally generated, and the disadvantage is that when the contract involves third party signature, it is difficult to realize the anchor point of the signature to the position.
In addition, along with the complexity of contract requirements, different service scenes have different requirements on identical contents, different types of contract contents have different differences, and a large amount of labor and time cost is needed to be consumed for maintenance by only depending on manpower, so that how to conveniently and quickly generate the contract and maintain the identical contents becomes a technical problem which needs to be solved urgently at present.
Disclosure of Invention
In view of the foregoing, there is a need for a contract generation method that facilitates and expeditiously generating contracts and maintaining contracts.
In order to achieve the above object, the present invention provides a contract generating method applied to a server, the method comprising:
receiving a clause selection instruction sent by a management end, and acquiring a plurality of contract clauses according to the clause selection instruction;
combining the plurality of contract clauses to generate a first contract template, setting variables for the first contract template, and then performing dynamic rendering to generate a second contract template;
auditing the second contract template, and adding a version number to the second contract template which passes the auditing to generate a third contract template;
and sending the third contract template to a client for confirmation, if the feedback information of the client is confirmation, generating a corresponding contract file according to the third contract template, and stamping and storing the contract file.
Optionally, receiving a clause selection instruction sent by a management end, and acquiring a plurality of contract clauses according to the clause selection instruction, where the clause selection instruction includes:
presetting a plurality of clause types, and storing each clause type and corresponding reusable contract clause in an associated manner;
receiving a clause selection instruction sent by a management end, wherein the clause selection instruction comprises clause type information and clause content information;
and determining a corresponding clause type according to the clause type information, and determining corresponding contract clauses according to the clause content information in contract clauses stored in association with the determined clause type.
Optionally, combining the plurality of contract terms to generate a first contract template, and after setting a variable for the first contract template, performing dynamic rendering to generate a second contract template, including:
adding the obtained plurality of contract terms to a newly-built blank template in sequence to generate a first contract template;
after receiving a variable setting instruction sent by a management end, acquiring service data sent by a client through an interface, and dynamically rendering the service data and the first contract template through a dynamic registration component to generate a second contract template.
Optionally, the auditing the second contract template, and adding a version number to the second contract template that passes the auditing to generate a third contract template, including:
sending the second contract template to a preset auditing end for auditing;
if the feedback information of the preset auditing end is that the auditing is passed, adding a version number to the second contract template to generate a third contract template;
and if the feedback information of the preset auditing end is that the auditing is not passed, returning the second contract template to the management end for modification and then sending the second contract template to the preset auditing end again for auditing until the auditing of the preset auditing end is passed.
Optionally, the sending the third contract template to a client for confirmation, and if the client feeds back information for confirmation, generating a corresponding contract file according to the third contract template, and storing the contract file after sealing, including:
sending the third contract template to a client for confirmation;
if the feedback information of the client is confirmed, generating a corresponding contract file according to the third contract template, identifying the signature position of the contract file, stamping at the signature position, and storing the stamped contract file into a database according to a corresponding version number;
and if the feedback information of the client is rejected, returning the third contract template to the management terminal for modification and then sending the modified third contract template to the client for confirmation until the confirmation of the client passes.
Optionally, the contract generating method further includes:
receiving a clause modification instruction sent by a management end, and acquiring corresponding contract clauses to be modified according to the clause modification instruction;
modifying the contract clauses to be modified according to the clause modification instruction, and traversing a database to obtain a contract file containing the contract clauses to be modified;
receiving a contract file modification instruction sent by a management end, wherein the contract file modification instruction comprises a contract file version number, and screening out a contract file corresponding to the contract file version number from the contract files containing the contract clauses to be modified as a contract file to be modified;
and modifying contract clauses to be modified in the contract files to be modified according to the clause modification instruction, generating a new version number for the modified contract files and storing the new version number in a database.
Optionally, the contract file is a PDF file, and the identifying the signature position of the contract file includes:
identifying the positions of all settable variables of the contract document;
and taking the position of the client name in the settable variable as the signature position of the contract file.
Further, to achieve the above object, the present invention also provides a contract generating apparatus comprising:
the clause selection module is used for receiving a clause selection instruction sent by the management end and acquiring a plurality of contract clauses according to the clause selection instruction;
the template generating module is used for combining the plurality of contract clauses to generate a first contract template, setting variables for the first contract template and then performing dynamic rendering to generate a second contract template;
the template checking module is used for checking the second contract template and adding a version number to the second contract template which passes the checking to generate a third contract template;
and the contract confirmation module is used for sending the third contract template to a client for confirmation, generating a corresponding contract file according to the third contract template if the feedback information of the client is confirmation, and storing the contract file after stamping.
In addition, to achieve the above object, the present invention also provides an electronic device including:
a memory storing at least one computer program; and
and a processor executing the program stored in the memory to implement the contract generating method described above.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having at least one computer program stored therein, the at least one computer program being executed by a processor in an electronic device to implement the contract generating method described above.
The invention is convenient for maintaining and reusing the contract text by splitting the contract into smaller units of contract clauses in advance; dynamic data and static text are separated, and contract files meeting the requirements of service scenes are combined through dynamic parameters, so that data modification is conveniently carried out on the contracts, and the generation efficiency of the contract texts is improved.
Drawings
FIG. 1 is a flow chart of one embodiment of a contract generation method of the present invention;
FIG. 2 is a diagram of an electronic device according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an embodiment of a contract generation apparatus according to the present invention.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
As shown in fig. 1, which is a flowchart of an embodiment of a contract generating method of the present invention, the contract generating method includes steps S1-S4.
S1, receiving a clause selection instruction sent by a management end, and acquiring a plurality of contract clauses according to the clause selection instruction.
In one embodiment, a server presets a plurality of clause types, and stores each clause type and corresponding reusable contract clause in an associated manner; receiving a clause selection instruction sent by a management end, wherein the clause selection instruction comprises clause type information and clause content information; and determining a corresponding clause type according to the clause type information, and determining corresponding contract clauses according to the clause content information in contract clauses stored in association with the determined clause type.
Specifically, the presetting a plurality of clause types, and the associating and storing each clause type and the corresponding reusable contract clause includes: splitting the historical contract file according to the text content to obtain a plurality of reusable texts; identifying a variable text in the reusable text obtained by splitting, modifying the variable text into a blank text and setting a modifiable identifier; classifying the modified reusable texts according to the text content types, taking the text content types as clause types, and taking the reusable texts in the categories corresponding to the text content types as reusable contract clauses corresponding to the clause types; and storing each clause type and the corresponding reusable contract clause in an associated manner. The modifiable identification includes a variable name and a special placeholder identification.
In an embodiment, a corresponding clause tag is set for each reusable contract clause, and after a clause selection instruction containing clause tag information sent by a management end is received, the corresponding contract clause is determined according to the clause tag information.
S2, combining the plurality of contract clauses to generate a first contract template, setting variables for the first contract template, and then dynamically rendering to generate a second contract template.
In one embodiment, the server adds the acquired contract terms to a newly-built blank template in sequence to generate a first contract template; after receiving a variable setting instruction sent by a management end, acquiring service data sent by a client through an interface, and dynamically rendering the service data and the first contract template through a dynamic registration component to generate a second contract template.
Specifically, the new blank template includes a contract title, a contract number, and a contract body for adding contract terms.
In one embodiment, after receiving a variable setting instruction sent by a management end, the dynamic registration component reads a modifiable identifier of a contract main body to generate a variable setting interface, wherein the variable setting interface comprises a variable name and a variable value; and obtaining a variable value from the service data sent by the client through an interface, and dynamically rendering the variable value to the first contract template to generate a second contract template.
And S3, auditing the second contract template, and adding a version number to the second contract template passing the auditing to generate a third contract template.
In an embodiment, the server sends the second contract template to a preset auditing end for auditing; if the feedback information of the preset auditing end is approved, adding a version number to the second contract template to generate a third contract template; and if the feedback information of the preset auditing end is that the auditing is not passed, returning the second contract template to the management end for modification and then sending the second contract template to the preset auditing end again for auditing until the auditing of the preset auditing end is passed.
And S4, sending the third contract template to a client for confirmation, if the feedback information of the client is confirmation, generating a corresponding contract file according to the third contract template, and stamping and storing the contract file.
In an embodiment, the server sends the third contract template to a client for confirmation; if the feedback information of the client is confirmed, generating a corresponding contract file according to the third contract template, identifying the signature position of the contract file, stamping at the signature position, and storing the stamped contract file into a database according to a corresponding version number; and if the feedback information of the client is rejected, returning the third contract template to the management terminal for modification and then sending the modified third contract template to the client for confirmation until the confirmation of the client passes.
Specifically, the contract file is a PDF file, and the identifying the signature position of the contract file includes: identifying the positions of all settable variables of the contract document; and taking the position of the client name in the settable variable as the signature position of the contract file.
In one embodiment, the server receives a clause modification instruction sent by a management end, and acquires a corresponding contract clause to be modified according to the clause modification instruction; modifying the contract clauses to be modified according to the clause modification instruction, and traversing a database to obtain a contract file containing the contract clauses to be modified; receiving a contract file modification instruction sent by a management end, wherein the contract file modification instruction comprises a contract file version number, and screening out a contract file corresponding to the contract file version number from the contract files containing the contract clauses to be modified as a contract file to be modified; and modifying the contract clauses to be modified in the contract files to be modified according to the clause modification instruction, generating a new version number for the modified contract files and storing the version number in a database.
According to the embodiment, the contract generation method provided by the invention has the advantages that the contract is divided into smaller units of contract clauses in advance, so that the contract text can be maintained and reused conveniently; dynamic data and static text are separated, and contract files meeting the requirements of service scenes are combined through dynamic parameters, so that data modification of contracts is facilitated, and the generation efficiency of contract texts is improved.
Fig. 2 is a schematic diagram of an electronic device according to an embodiment of the invention. The electronic device 1 is a device capable of automatically performing numerical calculation and/or information processing in accordance with a command set or stored in advance. The electronic device 1 may be a computer, or may be a single network server, a server group composed of a plurality of network servers, or a cloud composed of a large number of hosts or network servers based on cloud computing, where cloud computing is one of distributed computing and is a super virtual computer composed of a group of loosely coupled computers.
In the present embodiment, the electronic device 1 includes, but is not limited to, a memory 11, a processor 12, and a network interface 13, which are communicatively connected to each other through a system bus, wherein the memory 11 stores a contract generating program 10, and the contract generating program 10 is executable by the processor 12. While fig. 3 shows only the electronic device 1 with the components 11-13 and the contract generation program 10, those skilled in the art will appreciate that the configuration shown in fig. 3 does not constitute a limitation of the electronic device 1, and may include fewer or more components than shown, or some components in combination, or a different arrangement of components.
The storage 11 includes a memory and at least one type of readable storage medium. The memory provides cache for the operation of the electronic equipment 1; the readable storage medium may be volatile or nonvolatile. Specifically, the readable storage medium may be a storage medium such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the readable storage medium may be an internal storage unit of the electronic device 1, such as a hard disk of the electronic device 1; in other embodiments, the storage medium may also be an external storage device of the electronic device 1, such as a plug-in hard disk provided on the electronic device 1, a smart card (SMC), a Secure Digital (SD) card, a flash card (FlashCard), and the like. In this embodiment, the readable storage medium of the memory 11 mainly includes a storage program area and a storage data area, where the storage program area is generally used for storing an operating system and various application software installed in the electronic device 1, for example, codes of the contract generating program 10 in an embodiment of the present invention; the storage data area may store data created according to the use of the blockchain node, etc., such as various types of data that have been output or are to be output.
Processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 12 is generally configured to control the overall operation of the electronic device 1, such as performing control and processing related to data interaction or communication with other devices. In this embodiment, the processor 12 is configured to run the program code stored in the memory 11 or process data, for example, run the contract generating program 10.
The network interface 13 may comprise a wireless network interface or a wired network interface, and the network interface 13 is used for establishing a communication connection between the electronic device 1 and a client (not shown).
Optionally, the electronic device 1 may further include a user interface, the user interface may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface may further include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an organic light-emitting diode (OLED) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device 1 and for displaying a visualized user interface.
In one embodiment of the present invention, the contract generation program 10, when executed by the processor 12, implements the following steps S1-S4.
S1, receiving a clause selection instruction sent by a management end, and acquiring a plurality of contract clauses according to the clause selection instruction;
s2, combining the plurality of contract clauses to generate a first contract template, setting variables for the first contract template, and then performing dynamic rendering to generate a second contract template;
s3, auditing the second contract template, and adding a version number to the second contract template which passes the auditing to generate a third contract template;
and S4, sending the third contract template to a client for confirmation, if the feedback information of the client is confirmation, generating a corresponding contract file according to the third contract template, and stamping and storing the contract file.
The specific operation steps implemented in steps S1-S4 are substantially the same as the embodiment of the contract generation method of the present invention, and are not described herein again.
In other embodiments, the contract generating program 10 can be further divided into one or more modules, and the one or more modules are stored in the memory 11 and executed by one or more processors (in this embodiment, the processor 12) to implement the present invention, where the module referred to in the present invention refers to a series of computer program instruction segments capable of performing a specific function for describing the execution process of the contract generating program 10 in the electronic device 1.
Fig. 3 is a schematic diagram of a contract generation apparatus according to an embodiment of the present invention.
In the first embodiment of the present invention, the contract generating apparatus 10 includes a clause selecting module 110, a template generating module 120, a template auditing module 130 and a contract confirming module 140, which exemplarily:
the clause selection module 110 is configured to receive a clause selection instruction sent by a management end, and obtain a plurality of contract clauses according to the clause selection instruction;
the template generating module 120 is configured to combine the plurality of contract terms to generate a first contract template, and set a variable for the first contract template and then perform dynamic rendering to generate a second contract template;
the template checking module 130 is configured to check the second contract template, and add a version number to the second contract template that passes the check to generate a third contract template;
the contract confirmation module 140 is configured to send the third contract template to the client for confirmation, generate a corresponding contract file according to the third contract template if the feedback information of the client is confirmation, and store the contract file after stamping.
The specific operation steps implemented when the clause selecting module 110, the template generating module 120, the template reviewing module 130 and the contract confirming module 140 are executed are substantially the same as those in the above embodiments, and are not repeated herein.
In addition, the embodiment of the invention also provides a computer readable storage medium, and the readable storage medium can be volatile or nonvolatile. Specifically, the computer-readable storage medium may be any one or any combination of a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a portable compact disc read only memory (CD-ROM), a USB memory, and the like. The computer-readable storage medium has stored therein a contract generation program 10.
The contract generation program 10, when executed by a processor, performs the following operations:
a1, receiving a clause selection instruction sent by a management end, and acquiring a plurality of contract clauses according to the clause selection instruction;
a2, combining the plurality of contract clauses to generate a first contract template, setting variables for the first contract template, and then performing dynamic rendering to generate a second contract template;
a3, auditing the second contract template, and adding a version number to the second contract template which passes the auditing to generate a third contract template;
and A4, sending the third contract template to a client for confirmation, if the feedback information of the client is confirmation, generating a corresponding contract file according to the third contract template, and storing the contract file after sealing.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, apparatus, article, or method that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.
Claims (10)
1. A contract generation method applied to a server is characterized by comprising the following steps:
receiving a clause selection instruction sent by a management end, and acquiring a plurality of contract clauses according to the clause selection instruction;
combining the plurality of contract clauses to generate a first contract template, setting variables for the first contract template, and then performing dynamic rendering to generate a second contract template;
auditing the second contract template, and adding a version number to the second contract template which passes the auditing to generate a third contract template;
and sending the third contract template to a client for confirmation, if the feedback information of the client is confirmation, generating a corresponding contract file according to the third contract template, and stamping and storing the contract file.
2. The contract generating method according to claim 1, wherein a clause selection instruction sent by a management end is received, and a plurality of contract clauses are acquired according to the clause selection instruction, further comprising:
presetting a plurality of clause types, and storing each clause type and corresponding reusable contract clause in an associated manner;
receiving a clause selection instruction sent by a management end, wherein the clause selection instruction comprises clause type information and clause content information;
and determining a corresponding clause type according to the clause type information, and determining corresponding contract clauses according to the clause content information in contract clauses stored in association with the determined clause type.
3. The contract generation method of claim 1, wherein combining the plurality of contract terms to generate a first contract template, and dynamically rendering the first contract template after setting variables for the first contract template to generate a second contract template comprises:
adding the obtained plurality of contract clauses to the newly-built blank template in sequence to generate a first contract template;
after receiving a variable setting instruction sent by a management end, acquiring service data sent by a client through an interface, and dynamically rendering the service data and the first contract template through a dynamic registration component to generate a second contract template.
4. The contract generation method of claim 1, wherein reviewing the second contract template and adding a version number to the reviewed second contract template to generate a third contract template comprises:
sending the second contract template to a preset auditing end for auditing;
if the feedback information of the preset auditing end is approved, adding a version number to the second contract template to generate a third contract template;
and if the feedback information of the preset auditing end is that the auditing is not passed, returning the second contract template to the management end for modification and then sending the second contract template to the preset auditing end again for auditing until the auditing of the preset auditing end is passed.
5. The contract generating method according to claim 1, wherein the sending the third contract template to a client for confirmation, and if the feedback information of the client is confirmation, generating a corresponding contract document according to the third contract template, and storing the contract document after sealing, comprises:
sending the third contract template to a client for confirmation;
if the feedback information of the client is confirmed, generating a corresponding contract file according to the third contract template, identifying the signature position of the contract file, stamping at the signature position, and storing the stamped contract file into a database according to a corresponding version number;
and if the feedback information of the client is rejected, returning the third contract template to the management terminal for modification and then sending the modified third contract template to the client for confirmation until the confirmation of the client passes.
6. The contract generation method of claim 1, further comprising:
receiving a clause modification instruction sent by a management end, and acquiring corresponding contract clauses to be modified according to the clause modification instruction;
modifying the contract clauses to be modified according to the clause modification instruction, and traversing a database to obtain a contract file containing the contract clauses to be modified;
receiving a contract file modification instruction sent by a management end, wherein the contract file modification instruction comprises a contract file version number, and screening out a contract file corresponding to the contract file version number from the contract files containing the contract clauses to be modified as a contract file to be modified;
and modifying the contract clauses to be modified in the contract files to be modified according to the clause modification instruction, generating a new version number for the modified contract files and storing the version number in a database.
7. The contract generation method of claim 5, wherein the contract file is a PDF file, and the identifying the signature location of the contract file comprises:
identifying the positions of all settable variables of the contract document;
and taking the position of the client name in the settable variable as the signature position of the contract file.
8. A contract generation apparatus, characterized in that the apparatus comprises:
the clause selection module is used for receiving a clause selection instruction sent by the management end and acquiring a plurality of contract clauses according to the clause selection instruction;
the template generating module is used for combining the plurality of contract clauses to generate a first contract template, setting variables for the first contract template and then performing dynamic rendering to generate a second contract template;
the template checking module is used for checking the second contract template and adding a version number to the second contract template which passes the checking to generate a third contract template;
and the contract confirmation module is used for sending the third contract template to a client for confirmation, generating a corresponding contract file according to the third contract template if the feedback information of the client is confirmation, and storing the contract file after stamping.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the contract generation method of any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the contract generation method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210977197.9A CN115455925A (en) | 2022-08-15 | 2022-08-15 | Contract generation method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210977197.9A CN115455925A (en) | 2022-08-15 | 2022-08-15 | Contract generation method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115455925A true CN115455925A (en) | 2022-12-09 |
Family
ID=84298857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210977197.9A Pending CN115455925A (en) | 2022-08-15 | 2022-08-15 | Contract generation method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115455925A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116166243A (en) * | 2023-03-22 | 2023-05-26 | 平安银行股份有限公司 | Financial product generation method, computer device and storage medium |
CN116976300A (en) * | 2023-06-19 | 2023-10-31 | 珠海盈米基金销售有限公司 | Text information extraction and generation method and system |
CN118014534A (en) * | 2024-04-07 | 2024-05-10 | 深圳市企企通科技有限公司 | Digital intelligent management method and device for contract full life cycle |
-
2022
- 2022-08-15 CN CN202210977197.9A patent/CN115455925A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116166243A (en) * | 2023-03-22 | 2023-05-26 | 平安银行股份有限公司 | Financial product generation method, computer device and storage medium |
CN116166243B (en) * | 2023-03-22 | 2023-08-04 | 平安银行股份有限公司 | Financial product generation method, computer device and storage medium |
CN116976300A (en) * | 2023-06-19 | 2023-10-31 | 珠海盈米基金销售有限公司 | Text information extraction and generation method and system |
CN118014534A (en) * | 2024-04-07 | 2024-05-10 | 深圳市企企通科技有限公司 | Digital intelligent management method and device for contract full life cycle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115455925A (en) | Contract generation method and device, electronic equipment and storage medium | |
CN108427705B (en) | Electronic device, distributed system log query method and storage medium | |
CN111090437B (en) | Application deployment method and device and computer readable storage medium | |
CN109814854B (en) | Project framework generation method, device, computer equipment and storage medium | |
CN110688598B (en) | Service parameter acquisition method and device, computer equipment and storage medium | |
CN108416679B (en) | Device and method for issuing orders of multiple insurance products and computer readable storage medium | |
CN109740137B (en) | Name card generation method, device, computer equipment and storage medium | |
CN109284106A (en) | Method for release management, electronic device and the readable storage medium storing program for executing of business rule | |
CN108415925B (en) | Electronic device, data call log generation and query method and storage medium | |
CN111694565A (en) | Data visualization application development method and system | |
CN111708971A (en) | Page configuration method and device, computer equipment and storage medium | |
CN111159595A (en) | Page loading method, system, computer equipment and computer readable storage medium | |
CN111258799A (en) | Error reporting information processing method, electronic device and computer readable storage medium | |
CN108629052B (en) | Kettle task scheduling method, system, computer equipment and storage medium | |
CN112000692B (en) | Page query feedback method and device, computer equipment and readable storage medium | |
CN112422450B (en) | Computer equipment, and flow control method and device for service request | |
CN106354727B (en) | Widget file generation method and device | |
CN114218315A (en) | Interface generation method and device, computer equipment and storage medium | |
CN115712422A (en) | Form page generation method and device, computer equipment and storage medium | |
CN111400310A (en) | Data monitoring method based on approval chain configuration, server and storage medium | |
CN108053459B (en) | Signature file synthesis method, application server and computer readable storage medium | |
CN113434098A (en) | Printing function implementation method, device, electronic equipment, system and storage medium | |
CN113296752A (en) | Method, system, device and storage medium for generating API document | |
CN115576624A (en) | Programming framework optimization method, system, terminal equipment and storage medium | |
CN112506526B (en) | Data presentation software deployment method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |