CN113128191B - Method and device for scripted generation of arbitration document - Google Patents
Method and device for scripted generation of arbitration document Download PDFInfo
- Publication number
- CN113128191B CN113128191B CN202110271398.2A CN202110271398A CN113128191B CN 113128191 B CN113128191 B CN 113128191B CN 202110271398 A CN202110271398 A CN 202110271398A CN 113128191 B CN113128191 B CN 113128191B
- Authority
- CN
- China
- Prior art keywords
- case
- parameter
- preset
- parameters
- name
- 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.)
- Active
Links
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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to a method and a device for scripted generation of an arbitration document, which are characterized in that document template names and case identifiers are obtained, case information is obtained according to the case identifiers, a document template file is obtained according to the document template names, template parameters in the document template file are traversed, if the template parameters are fixed parameters, case parameter data corresponding to a first case parameter name are used for replacing the fixed parameters in the document template file, and if the template parameters are non-fixed parameters, data spliced by preset characters and the case parameter data corresponding to a second case parameter name are used for replacing the non-fixed parameters in the document template file, so that the arbitration document is automatically generated, manual re-editing and adjustment are not needed, and the working efficiency is improved.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for script generation of an arbitration document.
Background
In the process of handling the arbitration case, a large number of legal documents are required to be made, the documents have similar contents, a universal document template can be made first, and then the required documents are generated in a registering replacement mode. The content in the template that needs to be replaced is generally called placeholder, template parameters. For example, in the template for arbitrating the received document, the contents of the applicant, the applicant to be applied, the filing date, the case number, the case name, and the like of the case are template parameters to be replaced according to the different needs of the case.
The automatic document generation function provided in a large number of software systems at present is generally based on simple placeholder replacement. However, replacing placeholders in the template file cannot cope with complicated document contents. When the specific data of the case are different, the appropriate content cannot be generated by simple replacement, and the adjustment needs to be edited again manually. For example, in the arbitration acceptance book, the applicant and the applicant are natural persons, organizations or both natural persons and organizations, and when the number of the persons is one, two or three or more, the specific character expressions are different when the arbitration acceptance book is written, and the specific character expressions are not simply replaced.
Disclosure of Invention
Based on this, the present invention provides a method and an apparatus for scripted generation of an arbitration document, which have the advantages of automatically generating the arbitration document, requiring no manual further editing and adjustment, and improving the work efficiency.
In order to achieve the above object, a first aspect of the present invention provides a method for arbitrating scripted generation of a document, including:
acquiring the name of a document template and case identification;
acquiring case information according to the case identification; the case information comprises a case parameter name list and corresponding case parameter data;
acquiring a document template file according to the document template name;
traversing template parameters in the document template file, if the template parameters are fixed parameters, obtaining first case parameter names matched with the names of the fixed parameters from the case parameter name list, and replacing the fixed parameters in the document template file with case parameter data corresponding to the first case parameter names;
if the template parameter is a non-fixed parameter, acquiring a preset character and a preset parameter name corresponding to the name of the non-fixed parameter, matching in the case parameter name list to acquire a second case parameter name consistent with the preset parameter name, and replacing the non-fixed parameter in the document template file with data spliced by case parameter data corresponding to the preset character and the second case parameter name to generate an arbitration document.
Further, the method also comprises the steps of receiving change request information of the non-fixed parameters sent according to the case type; the change request information comprises preset character change request information and preset parameter name change request information; and changing the preset characters and the preset parameter names corresponding to the names of the non-fixed parameters according to the preset character change request information and the preset parameter name change request information. For cases of different types, the preset characters and the preset parameter names in the non-fixed parameters in the document template file are correspondingly changed according to different case information, for cases of the same type, the same non-fixed parameters in the document template file are used, and the preset parameters in the non-fixed parameters are replaced according to different specific information of the cases, so that the number of the document template files can be reduced, and the correctness, the integrity and the adaptability of automatically generated documents are improved.
Further, the method also comprises the step of customizing a document template file in advance, which comprises the following steps:
presetting the template parameters at preset positions of the document template file; the preset position is a position where case information needs to be filled or a position where the content is not fixed; the template parameters comprise fixed parameters and non-fixed parameters;
if the template parameters are fixed parameters, presetting a regular expression parsing language for the fixed parameters, so as to obtain case parameter data according to the regular expression parsing language and replace the fixed parameters when an arbitration document is generated;
if the template parameter is a non-fixed parameter, presetting a script program analysis language for the non-fixed parameter; the script program parsing language comprises preset characters and preset parameter names; when an arbitration document is generated, acquiring preset characters and case parameter data according to the script program analysis language, and replacing the non-fixed parameters;
and saving the document template file.
Further, the step of obtaining case information according to the case identifier includes:
acquiring case information according to case identification, and constructing an object graph composite data object by using case parameter names and case parameter data in the case information in a key value pair mode.
Further, the step of traversing the template parameters in the document template file includes:
acquiring the document template file according to the name of the document template file;
searching all paragraphs of the document template file to obtain text characters in the paragraphs;
and searching template parameter characters corresponding to preset template parameters in the text characters to obtain the template parameters.
A second aspect of the present invention provides an apparatus for arbitrating scripted generation of a document, comprising:
the first acquisition unit is used for acquiring the name of a document template and case identification;
the second acquisition unit is used for acquiring case information according to the case identification; the case information comprises a case parameter name list and corresponding case parameter data;
a third obtaining unit, configured to obtain a document template file according to the document template name;
the traversal unit is used for traversing template parameters in the document template file, if the template parameters are fixed parameters, obtaining a first case parameter name matched with the names of the fixed parameters from the case parameter name list, and replacing the fixed parameters in the document template file with case parameter data corresponding to the first case parameter name;
and the generation unit is used for acquiring a preset character and a preset parameter name corresponding to the name of the dynamic parameter if the template parameter is a non-fixed parameter, matching the preset character and the preset parameter name in the case parameter name list to acquire a second case parameter name consistent with the preset parameter name, and replacing the non-fixed parameter in the document template file with data spliced by the preset character and the case parameter data corresponding to the second case parameter name to generate an arbitration document.
Compared with the prior art, the invention has the following beneficial effects:
1. by using the non-fixed parameters, the content which is written in the position of the same template parameter in the template file of the book under various conditions can be subdivided according to the information of the case, so that the correctness of the content is ensured.
2. After the non-fixed parameters are used, the template parameters in the document template file no longer correspond to only one phrase or one or two sentences, but can be large-segment characters or even characters of a plurality of segments, and the automatic generation of the whole text content of the fixed-format document is realized.
3. The same document template file can adapt to more cases, if the non-fixed parameters are not used, documents of different cases have some differences, the same document template file cannot be used, but different text contents are generated in the same document template file according to case information after the non-fixed parameters are used.
Drawings
FIG. 1 is a flow chart illustrating a method for arbitrating scripted generation in accordance with the present invention;
FIG. 2 is a flowchart illustrating the method for scripted generation of an arbitration document according to the present invention before step S30;
FIG. 3 is a flowchart illustrating step S40 of the method for scripted generation of an arbitration document according to the present invention;
FIG. 4 is a block diagram of an apparatus for scripted generation of an arbitration document in accordance with the present invention;
FIG. 5 is a block diagram of the arbitration script generating apparatus of the present invention before the third obtaining unit 53;
FIG. 6 is a block diagram of traversal unit 54 in the apparatus for scripted generation of an arbitration document according to the present invention.
Detailed Description
For a better understanding and practice, the invention is described in detail below with reference to the accompanying drawings.
Referring to fig. 1, an embodiment of the present invention provides a method for arbitrating scripted generation of a document, including the following steps:
and S10, acquiring the name of the document template and the case identification.
S20, acquiring case information according to the case identification; the case information comprises a case parameter name list and corresponding case parameter data.
In the embodiment of the application, a user obtains a document template name and case identification, and an arbitration case system obtains case information according to the case identification. The case information comprises a case parameter name list and corresponding case parameter data. Specifically, the case information includes case basic information, such as case number, case name, certificate, type, delivery address, case agent information, such as name, lawyer certificate, authorization, case request information, such as request item, target, arbitration fee, case evidence material information, such as material name, certificate fact, attachment file, case handling related current information, such as case state, case handling secretary, case handling department, arbitration court composition, case ending mode, and information formed in a specific business link, such as case setting related information, case opening notice related information, and case receiving and setting up time and manager.
In an alternative embodiment, the step S20 includes step S201, which is as follows:
s201, acquiring case information according to case identification, and constructing an object graph composite data object by using case parameter names and case parameter data in the case information in a key value pair mode.
In the embodiment of the application, an object graph composite data object is constructed by using case parameter names and case parameter data in case information in a key-value pair mode, the object graph composite data object is a HashMap (hash mapping), the case parameter names are used as key objects of the HashMap, the case parameter data are used as value objects of the HashMap, the key objects are in one-to-one correspondence with the value objects, the value objects can also be the hashmaps, so that the object graph composite data object is constructed, the objects are stored into the HashMap by using put (key, value), and the objects are obtained from the HashMap by using get (key).
And S30, acquiring a document template file according to the document template name.
In the embodiment of the application, the document template file is identified by the document template name, and the arbitration case system acquires the document template file according to the document template name.
In an alternative embodiment, referring to fig. 2, the step S30 further includes steps S31-S34, which are as follows:
s31, presetting the template parameters at preset positions of the document template file; the preset position is a position where case information needs to be filled or a position where the content is not fixed; the template parameters include fixed parameters and non-fixed parameters.
In the embodiment of the application, template parameters are made on odt format document template files of word, wps and OpenOffice of various standard documents, wherein the preset position is a position where case information needs to be filled or a position where the content is not fixed. The template parameters comprise fixed parameters and non-fixed parameters, the fixed parameters are parameters of all case types and are embedded in a JAVA program of an arbitration case system, and the non-fixed parameters can be flexibly set according to different case types.
In an optional embodiment, the method further includes steps S35 to S36:
s35, receiving change request information of the non-fixed parameters sent according to the case type; the change request information includes preset text change request information and preset parameter name change request information.
And S36, changing the name of the preset character and the name of the preset parameter corresponding to the name of the non-fixed parameter according to the preset character change request information and the preset parameter name change request information.
In the embodiment of the application, for different types of cases, the preset characters and the preset parameter names in the non-fixed parameters in the document template file are correspondingly changed according to different case information. The method comprises the steps of receiving change request information of non-fixed parameters sent according to case types, and changing preset characters and preset parameter names corresponding to names of the non-fixed parameters according to the preset character change request information and the preset parameter name change request information. For cases of the same type, the same non-fixed parameters of the document template files are used, and preset parameters in the non-fixed parameters are replaced according to different specific information of the cases, so that the number of the document template files can be reduced, and the correctness, the integrity and the adaptability of automatically generated documents are improved.
And S32, if the template parameters are fixed parameters, presetting a regular expression analysis language for the fixed parameters, so as to obtain case parameter data according to the regular expression analysis language and replace the fixed parameters when an arbitration document is generated.
In the embodiment of the present application, a regular expression parsing language is preset for the fixed parameters, where a regular expression is a text pattern composed of common characters (e.g., characters a to z) and special characters (referred to as "meta characters"), and the pattern describes one or more character strings to be matched when searching for a text. When an arbitration document is generated, analyzing the fixed parameters, searching case parameter data in case information through the regular expression analysis language, and replacing the case parameter data with the fixed parameters.
S33, if the template parameters are non-fixed parameters, presetting a script program parsing language for the non-fixed parameters; the script program parsing language comprises preset characters and preset parameter names; when the arbitration document is generated, preset characters and case parameter data are obtained according to the script program analysis language, and the non-fixed parameters are replaced.
In the embodiment of the application, a script program parsing language adopts a javascript language, a calculation function for generating a non-fixed parameter value needs to be appointed in a script, the calculation function receives an object graph composite object parameter, and the appointed function is named as render. When the arbitration document is generated, a script is loaded by using a script execution engine, a render function appointed in the script is executed, an object graph composite data object is taken as a parameter and is transmitted to the render function, and the execution result of the render function replaces the non-fixed parameter. Wherein the script engine can select Nashorn or Rhino.
And S34, storing the document template file.
And after the interactive interface finishes customizing the document template file, saving the document template file.
S40, traversing template parameters in the document template file, if the template parameters are fixed parameters, obtaining first case parameter names matched with the names of the fixed parameters in the case parameter name list, and replacing the fixed parameters in the document template file with case parameter data corresponding to the first case parameter names.
In the embodiment of the application, a document template file in a word docx format is based on, template parameters in the document template file are traversed, if the template parameters obtained through traversal are fixed parameters, a first case parameter name in a case parameter name list is matched according to the fixed parameter name, and case parameter data corresponding to the first case parameter name are substituted for the fixed parameters in the document template file.
In an alternative embodiment, referring to fig. 3, the step S40 includes steps S41-S43, which are as follows:
and S41, acquiring the document template file according to the document template file name.
And S42, searching all paragraphs of the document template file, and acquiring text characters in the paragraphs.
S43, searching template parameter characters corresponding to preset template parameters in the text characters to obtain the template parameters.
In the embodiment of the application, according to a document template file name, a document template file in a word-based docx format is obtained, all paragraphs except tables in the docx file are searched, text characters in the paragraphs are obtained, template parameter characters corresponding to preset template parameters are searched in the text characters, specifically, "{ {", and "} } is searched first in the text characters, and characters from" { { "to" } } in the text characters are used as template parameter characters corresponding to the preset template parameters, so that the template parameters are obtained.
In an optional embodiment, all tables in the docx file are searched, each line in the table is traversed, all cells in each line are traversed, all paragraphs in the cells are obtained, text characters in the paragraphs are obtained, template parameter characters corresponding to preset template parameters are searched in the text characters, specifically, "{" "is searched first in the text characters, and" } } is searched continuously, and characters from "{" to "}" in the text characters are used as template parameter characters corresponding to the preset template parameters, so as to obtain the template parameters.
S50, if the template parameters are non-fixed parameters, acquiring preset characters and preset parameter names corresponding to the names of the non-fixed parameters, matching in the case parameter name list to acquire second case parameter names consistent with the preset parameter names, replacing the non-fixed parameters in the document template file with spliced data of case parameter data corresponding to the preset characters and the second case parameter names, and generating an arbitration document.
In this embodiment of the present application, a document template file in a word docx format is traversed, a template parameter in the document template file is traversed, if the template parameter obtained by traversing is a non-fixed parameter, a preset character and a preset parameter name corresponding to a name of the non-fixed parameter are obtained, specifically, taking the non-fixed parameter { { loan detail } } as an example, a section of a preset script program parsing language corresponding to the non-fixed parameter is as follows:
result + (payTime + '), applicant issues a loan' + payPrincipal + 'element' to the account number '+ receivingaunt +', which is designated by the applicant as the collection account;
wherein, the preset characters are as follows: the applicant issues a loan element to a collection account (account number') specified by the applicant, with a preset parameter name: payTime, receivingcount, and paypricipal. Matching and obtaining a second case parameter name consistent with the preset parameter names payTime, receivingcount and paypricipal in the case parameter name list, wherein the preset characters: and the applicant sends a loan element and case parameter data corresponding to the second case parameter names payTime, receiveningAccount and payPrincial to a collection account (account number') appointed by the applicant, and the spliced data replaces the non-fixed parameter { { loan detail } } in the document template file, and after the fixed parameter and the non-fixed parameter in the document template file in the docx format are replaced, an arbitration document is generated.
By applying the embodiment of the invention, the case information is obtained according to the case identification by obtaining the name of the document template and the case identification, the document template file is obtained according to the name of the document template, the template parameters in the document template file are traversed, if the template parameters are fixed parameters, the case parameter data corresponding to the first case parameter name are adopted to replace the fixed parameters in the document template file, and if the template parameters are non-fixed parameters, the spliced data of the preset characters and the case parameter data corresponding to the second case parameter name are adopted to replace the non-fixed parameters in the document template file, so that the arbitration document is automatically generated, manual re-editing and adjustment are not needed, and the working efficiency is improved.
In response to the above method embodiment, referring to fig. 4, the present invention provides an apparatus 5 for arbitrating scripted generation of a document, comprising:
a first obtaining unit 51, configured to obtain a document template name and a case identifier.
A second obtaining unit 52, configured to obtain case information according to the case identifier; the case information comprises a case parameter name list and corresponding case parameter data.
And a third obtaining unit 53, configured to obtain the document template file according to the document template name.
A traversing unit 54, configured to traverse template parameters in the document template file, if the template parameters are fixed parameters, obtain a first case parameter name matching the name of the fixed parameters in the case parameter name list, and replace the fixed parameters in the document template file with case parameter data corresponding to the first case parameter name;
and the generating unit 55 is configured to, if the template parameter is a non-fixed parameter, obtain a preset text and a preset parameter name corresponding to the name of the dynamic parameter, match the preset text and the preset parameter name in the case parameter name list to obtain a second case parameter name consistent with the preset parameter name, replace the non-fixed parameter in the document template file with data obtained by splicing case parameter data corresponding to the preset text and the second case parameter name, and generate an arbitration document.
Optionally, the method further includes:
the receiving unit is used for receiving the change request information of the non-fixed parameters sent according to the case type; the change request information includes preset text change request information and preset parameter name change request information.
And the changing unit is used for changing the preset characters and the preset parameter names corresponding to the names of the non-fixed parameters according to the preset character changing request information and the preset parameter name changing request information.
Optionally, the second obtaining unit 52 includes:
the constructing unit 521 is configured to obtain case information according to the case identifier, and construct an object map composite data object in the form of a key value pair from the case parameter name and the case parameter data in the case information.
Optionally, referring to fig. 5, before the third obtaining unit 53, the pre-customizing unit 6 further includes:
the first presetting unit 61 is used for presetting the template parameters at preset positions of the document template file; the preset position is a position where case information needs to be filled or a position where the content is not fixed; the template parameters include fixed parameters and non-fixed parameters.
A second presetting unit 62, configured to preset a regular expression parsing language for the fixed parameter if the template parameter is the fixed parameter, so as to obtain case parameter data according to the regular expression parsing language and replace the fixed parameter when generating the arbitration document.
A third presetting unit 63, configured to preset a script program parsing language for the non-fixed parameter if the template parameter is the non-fixed parameter; the script program parsing language comprises preset characters and preset parameter names; when the arbitration document is generated, preset characters and case parameter data are obtained according to the script program analysis language, and the non-fixed parameters are replaced.
And the storage unit 64 is used for storing the document template file.
Optionally, referring to fig. 6, the traversal unit 54 includes:
the obtaining unit 541 is configured to obtain the document template file according to the document template file name.
The first searching unit 542 is configured to search all paragraphs of the document template file, and obtain text characters in the paragraphs.
The second searching unit 543 is configured to search the template parameter characters corresponding to the preset template parameters in the text characters, so as to obtain the template parameters.
By applying the embodiment of the invention, the case information is obtained according to the case identification by obtaining the name of the document template and the case identification, the document template file is obtained according to the name of the document template, the template parameters in the document template file are traversed, if the template parameters are fixed parameters, the case parameter data corresponding to the first case parameter name are adopted to replace the fixed parameters in the document template file, and if the template parameters are non-fixed parameters, the spliced data of the preset characters and the case parameter data corresponding to the second case parameter name are adopted to replace the non-fixed parameters in the document template file, so that the arbitration document is automatically generated, manual re-editing and adjustment are not needed, and the working efficiency is improved.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, to those skilled in the art, changes and modifications may be made without departing from the spirit of the present invention, and it is intended that the present invention encompass such changes and modifications.
Claims (6)
1. A method of arbitrating scripted generation of a document, comprising:
acquiring the name of a document template and case identification;
acquiring case information according to the case identification; the case information comprises a case parameter name list and corresponding case parameter data;
acquiring a document template file according to the document template name; template parameters are preset at preset positions of the document template file; the preset position is a position where case information needs to be filled or a position where the content is not fixed; the template parameters comprise fixed parameters and non-fixed parameters; presetting regular expression parsing language for the fixed parameters, and presetting script program parsing language for the non-fixed parameters, wherein the script program parsing language comprises preset characters and preset parameter names;
traversing template parameters in the document template file, if the template parameters are fixed parameters, obtaining first case parameter names matched with the names of the fixed parameters from the case parameter name list, and replacing the fixed parameters in the document template file with case parameter data corresponding to the first case parameter names; acquiring case parameter data corresponding to the first case parameter name according to the regular expression parsing language, and replacing the fixed parameters;
if the template parameter is a non-fixed parameter, acquiring a preset character and a preset parameter name corresponding to the name of the non-fixed parameter, matching in the case parameter name list to acquire a second case parameter name consistent with the preset parameter name, and replacing the non-fixed parameter in the document template file with data spliced by case parameter data corresponding to the preset character and the second case parameter name to generate an arbitration document; acquiring the preset characters and case parameter data corresponding to the second case parameter name according to the script program analysis language, and replacing the non-fixed parameters;
receiving change request information of non-fixed parameters sent according to case types; the change request information comprises preset character change request information and preset parameter name change request information;
changing the preset characters and the preset parameter names corresponding to the names of the non-fixed parameters according to the preset character change request information and the preset parameter name change request information; wherein, for the cases of the same type, the same non-fixed parameters of the document template file are used; for different types of cases, the preset characters and the preset parameter names in the non-fixed parameters in the document template file are correspondingly changed according to different case information.
2. The method of claim 1, wherein the step of obtaining case information according to the case identification comprises:
acquiring case information according to case identification, and constructing an object graph composite data object by using case parameter names and case parameter data in the case information in a key value pair mode.
3. The method of claim 1, wherein said step of traversing template parameters in said document template file comprises:
acquiring the document template file according to the name of the document template file;
searching all paragraphs of the document template file to obtain text characters in the paragraphs;
and searching template parameter characters corresponding to preset template parameters in the text characters to obtain the template parameters.
4. An apparatus for arbitrating scripted generation of a document, comprising:
the first acquisition unit is used for acquiring the name of a document template and case identification;
the second acquisition unit is used for acquiring case information according to the case identification; the case information comprises a case parameter name list and corresponding case parameter data;
a third obtaining unit, configured to obtain a document template file according to the document template name; template parameters are preset at preset positions of the document template file; the preset position is a position where case information needs to be filled or a position where the content is not fixed; the template parameters comprise fixed parameters and non-fixed parameters; presetting regular expression parsing language for the fixed parameters, and presetting script program parsing language for the non-fixed parameters, wherein the script program parsing language comprises preset characters and preset parameter names;
the traversal unit is used for traversing template parameters in the document template file, if the template parameters are fixed parameters, obtaining a first case parameter name matched with the names of the fixed parameters from the case parameter name list, and replacing the fixed parameters in the document template file with case parameter data corresponding to the first case parameter name; acquiring case parameter data corresponding to the first case parameter name according to the regular expression parsing language, and replacing the fixed parameters;
a generating unit, configured to, if the template parameter is a non-fixed parameter, obtain a preset text and a preset parameter name corresponding to the name of the non-fixed parameter, match the preset text and the preset parameter name in the case parameter name list to obtain a second case parameter name consistent with the preset parameter name, replace the non-fixed parameter in the document template file with data obtained by splicing case parameter data corresponding to the preset text and the second case parameter name, and generate an arbitration document; acquiring the preset characters and case parameter data corresponding to the second case parameter name according to the script program analysis language, and replacing the non-fixed parameters; receiving change request information of non-fixed parameters sent according to case types; the change request information comprises preset character change request information and preset parameter name change request information; changing the preset characters and the preset parameter names corresponding to the names of the non-fixed parameters according to the preset character change request information and the preset parameter name change request information; wherein, for the cases of the same type, the same non-fixed parameters of the document template file are used; for different types of cases, the preset characters and the preset parameter names in the non-fixed parameters in the document template file are correspondingly changed according to different case information.
5. The apparatus of claim 4, wherein the second obtaining unit comprises:
and the construction unit is used for acquiring case information according to the case identification and constructing the object graph composite data object by using the case parameter name and the case parameter data in the case information in a key value pair mode.
6. The apparatus of claim 4, wherein the traversal unit comprises:
the acquisition unit is used for acquiring the document template file according to the document template file name;
the first searching unit is used for searching all paragraphs of the document template file and acquiring text characters in the paragraphs;
and the second searching unit is used for searching template parameter characters corresponding to preset template parameters in the text characters to obtain the template parameters.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110271398.2A CN113128191B (en) | 2021-03-12 | 2021-03-12 | Method and device for scripted generation of arbitration document |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110271398.2A CN113128191B (en) | 2021-03-12 | 2021-03-12 | Method and device for scripted generation of arbitration document |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113128191A CN113128191A (en) | 2021-07-16 |
CN113128191B true CN113128191B (en) | 2022-03-25 |
Family
ID=76773087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110271398.2A Active CN113128191B (en) | 2021-03-12 | 2021-03-12 | Method and device for scripted generation of arbitration document |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113128191B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104350518A (en) * | 2014-05-20 | 2015-02-11 | 华为技术有限公司 | Configuration method of advertisement templete, server and system |
CN105786935A (en) * | 2014-12-26 | 2016-07-20 | 北大医疗信息技术有限公司 | Method and system for replacing medical record contents |
CN106055528A (en) * | 2013-07-02 | 2016-10-26 | 福建榕基软件股份有限公司 | Automatic generation method and apparatus of documents |
CN108520068A (en) * | 2018-04-13 | 2018-09-11 | 卓易法智(上海)网络科技有限公司 | User report generation method, device, storage medium and terminal device |
CN109299446A (en) * | 2018-08-03 | 2019-02-01 | 新华三大数据技术有限公司 | Report-generating method and device |
CN110705236A (en) * | 2019-09-20 | 2020-01-17 | 重庆八戒财云网络科技有限公司 | Electronic contract template dynamic configuration method and system |
CN111178027A (en) * | 2019-12-09 | 2020-05-19 | 北京尊冠科技有限公司 | Report generation system and method based on online creation template and online specified data |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105183450A (en) * | 2015-07-28 | 2015-12-23 | 武汉驼峰信息技术有限公司 | E-government form model configuration system with foreground and background separation function |
CN108509400B (en) * | 2018-02-07 | 2022-02-15 | 平安普惠企业管理有限公司 | Document template generation method and device, computer equipment and storage medium |
CN110096689A (en) * | 2019-05-17 | 2019-08-06 | 北京市律典通科技有限公司 | Template type legal documents information fill method and device |
CN110377890A (en) * | 2019-06-17 | 2019-10-25 | 平安科技(深圳)有限公司 | Online editing method, apparatus, computer equipment and the storage medium of award |
CN110956026B (en) * | 2019-11-28 | 2022-04-01 | 北京华宇元典信息服务有限公司 | Legal document generation method and device and electronic equipment |
-
2021
- 2021-03-12 CN CN202110271398.2A patent/CN113128191B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055528A (en) * | 2013-07-02 | 2016-10-26 | 福建榕基软件股份有限公司 | Automatic generation method and apparatus of documents |
CN104350518A (en) * | 2014-05-20 | 2015-02-11 | 华为技术有限公司 | Configuration method of advertisement templete, server and system |
CN105786935A (en) * | 2014-12-26 | 2016-07-20 | 北大医疗信息技术有限公司 | Method and system for replacing medical record contents |
CN108520068A (en) * | 2018-04-13 | 2018-09-11 | 卓易法智(上海)网络科技有限公司 | User report generation method, device, storage medium and terminal device |
CN109299446A (en) * | 2018-08-03 | 2019-02-01 | 新华三大数据技术有限公司 | Report-generating method and device |
CN110705236A (en) * | 2019-09-20 | 2020-01-17 | 重庆八戒财云网络科技有限公司 | Electronic contract template dynamic configuration method and system |
CN111178027A (en) * | 2019-12-09 | 2020-05-19 | 北京尊冠科技有限公司 | Report generation system and method based on online creation template and online specified data |
Also Published As
Publication number | Publication date |
---|---|
CN113128191A (en) | 2021-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190087393A1 (en) | Workflow system and method for creating, distributing and publishing content | |
KR101608099B1 (en) | Simultaneous collaborative review of a document | |
US7590939B2 (en) | Storage and utilization of slide presentation slides | |
US7734995B1 (en) | Systems and methods for assembling form fragments and templates into a form package | |
US8214820B2 (en) | Object set optimization using dependency information | |
US20060294468A1 (en) | Storage and utilization of slide presentation slides | |
US20100287188A1 (en) | Method and system for publishing a document, method and system for verifying a citation, and method and system for managing a project | |
US20080114795A1 (en) | On-demand incremental update of data structures using edit list | |
US20050171965A1 (en) | Contents reuse management apparatus and contents reuse support apparatus | |
CN110705237B (en) | Automatic document generation method, data processing device and storage medium | |
CN110211581B (en) | Laboratory automatic voice recognition recording identification system and method | |
US11036923B2 (en) | Structured document creation and processing, dynamic data storage and reporting system | |
CN116579295B (en) | Method for dynamically inserting pages, moving bits and hiding and displaying multi-format file subscription | |
US10303721B2 (en) | Meeting minutes creation system for creating minutes of a meeting | |
CN114861623A (en) | Protocol template generation method and device, electronic equipment and storage medium | |
CN111612379A (en) | Audit scheme automatic generation method and device | |
US20240143899A1 (en) | Systems and methods for conversion of documents to reusable content types | |
CN108897727B (en) | Contract filing method and device, computer equipment and storage medium | |
CN113128191B (en) | Method and device for scripted generation of arbitration document | |
CN111090976B (en) | Method and device for generating inspection document based on dynamic data | |
US8296647B1 (en) | Reviewing and editing word processing documents | |
CN110728593A (en) | Case planning method and device, electronic device, and storage medium | |
CN117272953B (en) | Automatic document information filling method, system and storage medium | |
Nor et al. | Automating Aspects of Forensic Case Management | |
KR20190122462A (en) | Method and apparatus for providing contract management service |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220222 Address after: 510630 / F, radio and television science and technology building, 163 xipingyun Road, Huangpu Avenue, Tianhe District, Guangzhou, Guangdong Applicant after: Guangzhou Radio and television Zhongda Digital Technology Co.,Ltd. Address before: 901, Radio & TV technology building, 163 xipingyun Road, Huangpu Avenue, Tianhe District, Guangzhou, Guangdong 510630 Applicant before: Guangzhou Octopus technology Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |