CN113486637A - Intelligent dynamic custom contract generation method and device - Google Patents

Intelligent dynamic custom contract generation method and device Download PDF

Info

Publication number
CN113486637A
CN113486637A CN202110768698.1A CN202110768698A CN113486637A CN 113486637 A CN113486637 A CN 113486637A CN 202110768698 A CN202110768698 A CN 202110768698A CN 113486637 A CN113486637 A CN 113486637A
Authority
CN
China
Prior art keywords
contract
template
user
generate
mapping
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
CN202110768698.1A
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.)
Shanghai Zhongtongji Network Technology Co Ltd
Original Assignee
Shanghai Zhongtongji Network 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 Shanghai Zhongtongji Network Technology Co Ltd filed Critical Shanghai Zhongtongji Network Technology Co Ltd
Priority to CN202110768698.1A priority Critical patent/CN113486637A/en
Publication of CN113486637A publication Critical patent/CN113486637A/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/174Form filling; Merging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/284Lexical analysis, e.g. tokenisation or collocates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Abstract

The method comprises the steps of firstly analyzing a contract template uploaded by a user through a preset keyword voice analysis algorithm, analyzing the contract template and extracting keywords to generate recommendation mapping; then generating a configuration file based on the recommendation mapping; and receiving form data submitted by a user, and performing data filling and rendering on the configuration file based on the form data to generate a contract file. Therefore, by the intelligent dynamic self-defined contract generation method provided by the application, a user only needs to submit a contract template, the preset device can generate the recommendation mapping based on the template content and the content to be filled, generate the configuration file for filling data based on the recommendation mapping, and automatically fill the configuration file according to the form data submitted by the user to generate the contract file, so that the on-line generation of the contract file is realized, the labor is saved, and the working efficiency is improved.

Description

Intelligent dynamic custom contract generation method and device
Technical Field
The application relates to the field of data processing, in particular to an intelligent dynamic custom contract generation method and device.
Background
With the rapid development of electronic tags, the online contract is also a mainstream trend. At present, the contract system has a low proportion of automatic contract generation, and most of the contract system adopts a manual template of a user to download manual filling information to generate a contract. The existing contract generation technology depends on a third party PDF or office word processing component for data filling, and the principle of the component is to achieve the effect of data replacement through special character recognition. Therefore, in order to achieve the generation effect, a developer must assign a certain rule and meaning to the placeholder in the template, such as $ { field1}, $ { field2}, and then perform specific mapping of values on the filed1 and the field2, and finally perform replacement. However, different files of each contract template have different meanings, and the contract cannot be generated by dynamically adjusting the mapping of the system. Therefore, the problems of low generation completion degree on the contract line, complex and tedious data filling process and large manual workload exist.
Disclosure of Invention
The application aims at the problems that in the prior art, the on-line generation completion degree of the contract is low, the data filling process is complex and tedious, and the manual workload is large, and provides an intelligent dynamic self-defined contract generation method and device which are used for solving the technical problem to a certain extent.
The above object of the present application is achieved by the following technical solutions:
in a first aspect, a method for generating an intelligent dynamic custom contract provided by an embodiment of the present application includes:
receiving a contract template uploaded by a user;
performing keyword semantic analysis on the contract template through a preset keyword semantic analysis algorithm to generate recommendation mapping of the contract template;
generating a configuration file based on the recommendation mapping;
receiving form data submitted by a user;
and performing data filling and rendering on the configuration file according to the form data to generate a contract file.
Optionally, the method further includes storing the contract template uploaded by the user into a preset template library.
Optionally, the method further includes comparing a new contract template submitted by the user with an old contract template file in a template library, and detecting whether an old contract template of the same type as the new contract template exists in the template library;
if so, generating a new recommendation mapping based on the recommendation mapping of the old template contract;
and if not, directly generating a new recommendation mapping.
Optionally, the method further includes implementing an extended function through a third-party function module.
Optionally, the extended function includes:
automatic watermarking, key information encryption and information desensitization.
In a second aspect, an embodiment of the present application provides an intelligent dynamic custom contract generating apparatus, including:
the system comprises a template analysis module, a contract generation module and an expansion module;
the template analysis module is used for analyzing the contract template uploaded by the user through a preset keyword semantic analysis algorithm to generate a recommendation mapping and generating a configuration file based on the recommendation mapping;
the contract generation module is used for performing data filling and rendering on the configuration file based on form data uploaded by a user to generate a contract file;
and the extension module is used for connecting a third-party function module and realizing function extension.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the technical solution provided in the embodiments of the present application,
analyzing a contract template uploaded by a user through a preset keyword voice analysis algorithm, analyzing the contract template and extracting keywords to generate recommendation mapping; then generating a configuration file based on the recommendation mapping; and receiving form data submitted by a user, and performing data filling and rendering on the configuration file based on the form data to generate a contract file. Therefore, by the intelligent dynamic self-defined contract generation method provided by the application, a user only needs to submit a contract template, the preset device can generate the recommendation mapping based on the template content and the content to be filled, generate the configuration file for filling data based on the recommendation mapping, and automatically fill the configuration file according to the form data submitted by the user to generate the contract file, so that the on-line generation of the contract file is realized, the labor is saved, and the working efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart illustrating an intelligent dynamic custom contract generation method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating a method for generating an intelligent dynamic custom contract according to another embodiment of the present application;
FIG. 3 is a schematic flowchart of an automated mapping for template generation in the intelligent dynamic custom contract generation method according to the embodiment of the present application;
fig. 4 is a schematic flow chart of contract generation in the intelligent dynamic custom contract generation method provided in the embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
Fig. 1 is a schematic flow chart of an intelligent dynamic custom contract generation method shown in an embodiment of the present application, and fig. 2 is a schematic specific flow chart of an intelligent dynamic custom contract generation method shown in another embodiment of the present application, as shown in fig. 1 and fig. 2, the intelligent dynamic custom contract generation method provided in the embodiment of the present application includes:
s101, receiving a contract template uploaded by a user;
in practical application, the contract template file is uploaded in a streaming manner, which can be a word, pdf and other types edited by a user, and the file is directly uploaded and submitted to a preset device or system. The user can also directly establish a corresponding document at the entrance of the preset device or system, namely, the document is established online and then uploaded and submitted to the preset device or system.
S102, performing keyword semantic analysis on the contract template through a preset keyword semantic analysis algorithm to generate recommendation mapping of the contract template;
specifically, the keywords are analyzed and extracted through a preset semantic analysis keyword extraction algorithm, for example, through a contract template uploaded by an AI user, and recommendation mapping is automatically generated according to the language. The method comprises the steps of extracting keywords such as contract A party and contract B party aiming at contract template contents uploaded by a user, and establishing recommendation mapping for the keywords and contents such as information required to be filled in by the keywords.
In practical applications, the template content in the preset system is generally standard, but the actual requirement of the user is not necessarily standard, and there may be more specific fields or contents. After the recommendation mapping obtained by AI analysis is performed based on the contract template file uploaded by the user, the specific requirements of the user can be met according to a dynamic form field mode, for example, a blank form field area is reserved in the recommendation mapping for the user to fill in according to the actual requirements, and then after the recommendation mapping is generated, intelligent mapping recommendation is performed based on the recommendation mapping.
S103, generating a configuration file based on the recommendation mapping;
specifically, after the recommendation mapping is generated, the recommendation mapping is returned to the user for the user to view. In practical application, the keywords are extracted according to a preset semantic analysis keyword extraction algorithm, and the established mapping may not be completely the same as the requirement of the user, so in the intelligent dynamic custom contract generation method provided by the embodiment of the application, after the recommended mapping is generated, mapping configuration can be performed through intelligent difference generation, data inheritance and the like, and the generated recommended mapping is configured based on the requirement of the user.
S104, receiving form data submitted by a user;
after generating the recommendation mapping and configuring based on the recommendation mapping and the user requirements, the user can upload data to be filled through a preset system or device. At this time, the data uploaded by the user and the preset program are in the data layer.
And S105, performing data filling and rendering on the configuration file according to the form data to generate a contract file.
After receiving the form data uploaded by the user, the data filling can be carried out. In practical application, a user only needs to submit data with form information through a preset system, fill the data through a template driver and a preset execution engine, render file data, and generate a contract form required by the user.
According to the intelligent dynamic custom contract generation method, a preset system or device firstly receives a contract template file uploaded by a user, then the contract template file is subjected to semantic keyword extraction to generate recommendation mapping, and after the recommendation mapping is generated, the user can appropriately modify the recommendation mapping according to actual requirements to generate a configuration file; and then uploading data to be filled by the user, filling and rendering the data in the generated configuration file by the preset system, and finally generating a contract file. Therefore, automatic template word meaning analysis, automatic field mapping configuration and unified template management support unique configuration mapping of each template.
Further, the intelligent dynamic custom contract generation method provided by the embodiment of the application further comprises the step of storing the contract template uploaded by the user into a preset template library;
specifically, after the contract template is uploaded by the user, the preset system automatically stores the contract template uploaded by the user into the preset template library, and records and stores the historical version of the contract template uploaded by the user, so that the contract template file is managed by the user. Fig. 3 is a schematic flow chart illustrating template generation automation mapping in the intelligent dynamic custom contract generation method provided in the embodiment of the present application, and as shown in fig. 3, after a user finishes template uploading, a preset system determines, through a speech analysis keyword, whether a similar contract template exists in a preset template library or not, and whether the contract template can be inherited or not, if so, the inheritance is performed, mapping is compared, differences are listed, the differences are modified, and recommendation mapping is generated; if not, the new recommended mapping is directly generated without inheritance for the user to carry out mapping configuration.
Fig. 4 is a schematic diagram of a flow of contract generation in the intelligent dynamic custom contract generation method provided in the embodiment of the present application, and as shown in fig. 4, in the intelligent dynamic custom contract generation method provided in the embodiment of the present application:
the method comprises the steps of firstly, specifying a contract template according to contract types based on contract information uploaded by a user, obtaining a mapping relation in the contract template, then carrying out table single-field value mapping, finally carrying out data filling, generating a contract file, and outputting the contract file.
In practical application, in the intelligent dynamic custom contract generation method provided by the application, a flexible extension mechanism can be provided for developers through flexible configuration, SPI, hot plug, self-defined plug-in and other modes. Different strategies such as automatic watermarking, key information encryption desensitization and other functions can be developed and realized according to different services.
Based on the same inventive concept, the embodiment of the present application further provides an intelligent dynamic custom contract generating apparatus, including:
the system comprises a template analysis module, a contract generation module and an expansion module;
the template analysis module is used for analyzing the contract template uploaded by the user through a preset keyword semantic analysis algorithm to generate a recommendation mapping and generating a configuration file based on the recommendation mapping;
the contract generation module is used for performing data filling and rendering on the configuration file based on form data uploaded by a user to generate a contract file;
and the extension module is used for connecting a third-party function module, such as preposed and postpositional interception, extension through the SPI and function extension through a custom plug-in library.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present application, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (6)

1. An intelligent dynamic custom contract generation method is characterized by comprising the following steps:
receiving a contract template uploaded by a user;
performing keyword semantic analysis on the contract template through a preset keyword semantic analysis algorithm to generate recommendation mapping of the contract template;
generating a configuration file based on the recommendation mapping;
receiving form data submitted by a user;
and performing data filling and rendering on the configuration file according to the form data to generate a contract file.
2. The intelligent dynamic custom contract generation method according to claim 1, further comprising saving contract templates uploaded by a user into a preset template library.
3. The method according to claim 2, further comprising comparing a new contract template submitted by a user with an old contract template document in a template library, and detecting whether an old contract template of the same type as the new contract template exists in the template library;
if so, generating a new recommendation mapping based on the recommendation mapping of the old template contract;
and if not, directly generating a new recommendation mapping.
4. The method of claim 2, further comprising implementing extended functionality via a third-party functional module via the third-party functional module.
5. The method of claim 4, wherein the extended functionality comprises:
automatic watermarking, key information encryption and information desensitization.
6. An intelligent dynamic custom contract generating device is characterized by comprising:
the system comprises a template analysis module, a contract generation module and an expansion module;
the template analysis module is used for analyzing the contract template uploaded by the user through a preset keyword semantic analysis algorithm to generate a recommendation mapping and generating a configuration file based on the recommendation mapping;
the contract generation module is used for performing data filling and rendering on the configuration file based on form data uploaded by a user to generate a contract file;
and the extension module is used for connecting a third-party function module and realizing function extension.
CN202110768698.1A 2021-07-07 2021-07-07 Intelligent dynamic custom contract generation method and device Pending CN113486637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110768698.1A CN113486637A (en) 2021-07-07 2021-07-07 Intelligent dynamic custom contract generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110768698.1A CN113486637A (en) 2021-07-07 2021-07-07 Intelligent dynamic custom contract generation method and device

Publications (1)

Publication Number Publication Date
CN113486637A true CN113486637A (en) 2021-10-08

Family

ID=77940900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110768698.1A Pending CN113486637A (en) 2021-07-07 2021-07-07 Intelligent dynamic custom contract generation method and device

Country Status (1)

Country Link
CN (1) CN113486637A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234488A (en) * 2023-10-26 2023-12-15 中央财经大学 Intelligent legal contract generation method and device based on EPC model

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832229A (en) * 2017-12-03 2018-03-23 中国直升机设计研究所 A kind of system testing case automatic generating method based on NLP
CN109815471A (en) * 2019-01-04 2019-05-28 深圳壹账通智能科技有限公司 Contract text generation method, device, computer equipment and storage medium
CN110415066A (en) * 2019-05-28 2019-11-05 软通智慧科技有限公司 Cross-border clearance document generation method, device, computer equipment and storage medium
US20200043090A1 (en) * 2017-02-17 2020-02-06 Ping An Technology (Shenzhen) Co., Ltd. Contract generation method and apparatus, server and storage medium
CN112183036A (en) * 2019-06-18 2021-01-05 腾讯科技(深圳)有限公司 Format document generation method, device, equipment and storage medium
CN112241625A (en) * 2020-10-30 2021-01-19 卓尔购信息科技(武汉)有限公司 Method and system for automatically generating contract document based on java language

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200043090A1 (en) * 2017-02-17 2020-02-06 Ping An Technology (Shenzhen) Co., Ltd. Contract generation method and apparatus, server and storage medium
CN107832229A (en) * 2017-12-03 2018-03-23 中国直升机设计研究所 A kind of system testing case automatic generating method based on NLP
CN109815471A (en) * 2019-01-04 2019-05-28 深圳壹账通智能科技有限公司 Contract text generation method, device, computer equipment and storage medium
CN110415066A (en) * 2019-05-28 2019-11-05 软通智慧科技有限公司 Cross-border clearance document generation method, device, computer equipment and storage medium
CN112183036A (en) * 2019-06-18 2021-01-05 腾讯科技(深圳)有限公司 Format document generation method, device, equipment and storage medium
CN112241625A (en) * 2020-10-30 2021-01-19 卓尔购信息科技(武汉)有限公司 Method and system for automatically generating contract document based on java language

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234488A (en) * 2023-10-26 2023-12-15 中央财经大学 Intelligent legal contract generation method and device based on EPC model
CN117234488B (en) * 2023-10-26 2024-03-15 中央财经大学 Intelligent legal contract generation method and device based on EPC model

Similar Documents

Publication Publication Date Title
CN107885499A (en) A kind of interface document generation method and terminal device
CN113986241B (en) Configuration method and device of business rules based on knowledge graph
CN104267966A (en) Method and device for generating program codes of software
CN110704749A (en) Recommendation engine customization system, recommendation method, recommendation system and electronic equipment
CN115878092A (en) Code generation method, device and medium based on micro-service architecture
CN115358401A (en) Inference service processing method and device, computer equipment and storage medium
CN113486637A (en) Intelligent dynamic custom contract generation method and device
CN113110843B (en) Contract generation model training method, contract generation method and electronic equipment
CN112416333A (en) Software model training method, device, system, equipment and storage medium
CN110806891B (en) Method and device for generating software version of embedded device
CN112729868A (en) Vehicle diagnosis method, device, equipment and medium
CN110083351B (en) Method and device for generating code
CN113741864B (en) Automatic semantic service interface design method and system based on natural language processing
CN116483707A (en) Test method, test device, test apparatus, test program, and test program
CN113918198B (en) Model-code synchronization method
CN112114794B (en) Automatic generation method and device of website application program and computer storage medium
CN109254774A (en) The management method and device of code in software development system
CN114661298A (en) Automatic public method generation method, system, device and medium
CN113918627A (en) Data conversion method, device and readable storage medium
CN112363700A (en) Cooperative creation method and device of intelligent contract, computer equipment and storage medium
CN113436699A (en) Method, system, electronic device and storage medium for generating new corona nucleic acid detection report
CN112860314B (en) Code modeling method and device
CN114785847B (en) Network control software development configuration method, terminal and storage medium
JP6674067B1 (en) File association processing device, file association method, and file association program
CN110377326B (en) Installation package generation method, installation package generation device, development device and computer readable medium

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