WO2023115833A1 - 一种流式文档的生成方法、计算装置以及计算机可读介质 - Google Patents
一种流式文档的生成方法、计算装置以及计算机可读介质 Download PDFInfo
- Publication number
- WO2023115833A1 WO2023115833A1 PCT/CN2022/097170 CN2022097170W WO2023115833A1 WO 2023115833 A1 WO2023115833 A1 WO 2023115833A1 CN 2022097170 W CN2022097170 W CN 2022097170W WO 2023115833 A1 WO2023115833 A1 WO 2023115833A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- syntax
- control
- grammar
- judgment
- streaming
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000006467 substitution reaction Methods 0.000 claims description 14
- 125000004122 cyclic group Chemical group 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 238000012360 testing method Methods 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/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/253—Grammatical analysis; Style critique
Definitions
- the present invention relates to the technical field of streaming documents, in particular to a method for generating streaming documents, a computing device and a computer-readable medium.
- the purpose of the present invention is to provide a method for generating a streaming document, a computing device and a computer-readable medium, which can automatically generate a streaming document according to existing data information, thereby saving time and improving office efficiency.
- the present invention provides a method for generating a streaming document, which includes: providing a streaming document template with grammar, the corresponding position of the document template is filled with grammar; reading the streaming document The template parses the syntax therein to obtain the instruction corresponding to the syntax; by executing the instruction, the existing structured data is filled into the flow document template to generate the target flow document.
- the present invention provides a computing device, which includes a processor and a memory, wherein program instructions are stored in the memory, and the program instructions are executed by the processor to implement the following operations: providing a stream format with syntax A document template, the corresponding position of the document template is filled with grammar; read the flow document template and parse the grammar therein to obtain instructions corresponding to the grammar; by executing the instructions, the existing The structured data is filled into the streaming document template to generate the target streaming document.
- the present invention provides a computer-readable medium, in which program instructions are stored, and the program instructions are executed to implement the following operations: provide a flow document template with syntax, and the corresponding The location is filled with syntax; read the flow document template and parse the syntax to obtain the instruction corresponding to the syntax; execute the instruction to fill the existing structured data into the flow A document template that generates target streaming documents.
- the present invention is based on the template grammar filled in the streaming document template, dynamically fills the existing structured data into the streaming document template through the back-end program, and generates the target streaming document required by the user, thereby Save time and improve office efficiency.
- FIG. 1 is a schematic flowchart of a method for generating a streaming document in an embodiment of the present invention.
- FIG. 1 is a schematic flowchart of a method for generating a streaming document in an embodiment of the present invention.
- the method for generating a streaming document shown in FIG. 1 includes the following steps:
- Step 110 providing a streaming document template with grammar, the corresponding position of the document template is filled with grammar
- Step 120 reading the streaming document template and parsing the syntax therein to obtain instructions corresponding to the syntax
- Step 130 Fill the existing structured data into the streaming document template by executing the instruction to generate the target streaming document.
- the structured data is also called row data, which is data logically expressed and implemented by a two-dimensional table structure, strictly follows the data format and length specifications, and is mainly stored and processed by a relational database. manage.
- the method for generating stream documents provided by the present invention can be applied to various fields involving stream documents, such as the generation of electronic insurance policies, electronic contracts, and electronic manifests of insurance companies.
- the present invention can be applied in the following systems: it can provide electronic contract (insurance policy) design and generation solutions.
- an electronic contract (insurance policy) template design tool can be independently provided.
- Hardware environment CPU frequency above 1G Hz, memory above 1G, hard disk above 100G.
- the present invention is only for streaming documents, not for layout documents.
- the content after matching the sample data is
- variable substitution syntax includes a variable substitution syntax identifier and a variable name within the variable substitution syntax identifier, and the variable name is a variable name in the structured data.
- the instruction (or syntax description) of the variable substitution grammar is: the variable substitution grammar is filled in the flow document template, and the target flow document will be matched with the variable substitution syntax in the structured data The actual data corresponding to the variable name in the syntax is replaced by the actual data at the location of the variable replacement syntax in the flow document template.
- control syntax in the present invention can be a loop control syntax
- the loop control syntax includes a control syntax identifier and a loop control syntax content located in the control syntax identifier (for example, [# follow: output form: control variable #])
- the cyclic control grammar content includes the cyclic control grammatical keywords, output forms and control variables arranged in sequence
- the "circulation" word is a cyclic control grammatical keyword, indicating the type of control
- the instruction (or syntax description) is: the loop control syntax is filled in the flow document template, and the control in the structured data and the loop control syntax will be matched when the target flow document is generated. Multiple pieces of dynamic data of the same type corresponding to the variable, the multiple pieces of dynamic data are dynamically output to other grammars immediately following the loop control syntax in the output form in the loop control syntax.
- Judgment It is often used to distinguish and display the content in different data states, and process the data in the output form according to the judgment syntax.
- the actual content generated after matching the sample data is:
- control syntax in the present invention may be a judgment control syntax
- the judgment control syntax includes a control syntax identifier and a judgment control syntax content located in the control syntax identifier
- the judgment control syntax content includes sequentially arranged Judgment control syntax keyword, output form, control variable and judgment condition (for example, [#judgment: output form: control variable: judgment condition #]), described " judgment " is the judgment control syntax keyword, represents control type, so
- the judgment conditions mentioned above refer to the judgment types and judgment standards involved in the judgment.
- the instruction (or grammatical content) of the judgment control grammar is: the flow document template is filled with the judgment control grammar, and when generating the target flow document, it will match the structured data with the judgment control grammar.
- the actual data corresponding to the control variable in the syntax is judged by the judgment condition in the judgment control syntax to obtain a judgment result, and the judgment result is replaced by the output form in the judgment control syntax to the location of the judgment control syntax in the flow document template.
- Merge It is often used to combine multiple pieces of dynamic data to complete the dynamic merging of cells. According to the amount of dynamic data, the cells are merged to complete the sorting operation of the table.
- the actual content generated after matching the sample data is:
- control syntax in the present invention may be a merged control syntax
- the merged control syntax includes a control syntax identifier and merged control syntax content located within the control syntax identifier
- the merged control syntax content includes sequentially arranged Merge control syntax keywords, output forms and control variables (for example, [# close: output form: control variable#]), described " close " word is the merge control syntax keywords, represents control type.
- the instruction (or grammatical content) of the merge control grammar is: the stream document template is filled with the merge control grammar, and when the target stream document is generated, the merge control grammar is based on the structured data, A plurality of cells are dynamically generated at the location of the merging control syntax in the flow document template and the plurality of cells are dynamically merged.
- the output format is the cell where the current position is located, and there is no need to manually specify the terminator.
- Line The output format is the line at the current position, no need to manually specify the terminator.
- the output format is the table where the current position is located, and there is no need to manually specify the terminator.
- the output form in the present invention is text, case, row or table, and text/case/row/table is a grammatical keyword, indicating the output form.
- the text represents the output in the form of text
- the cell represents the output in the form of cells
- the row represents the output in the form of rows
- the table represents the output in the form of tables .
- the control variable is corresponding data in the existing structured data that participates in the loop, judgment or combination. For example, it is multiple pieces of dynamic data during the cycle, and it is the specific data (or actual data) involved in the judgment during the judgment.
- judgment types and judgment standards involved in the judgment which are specifically expressed as the judgment value of the judgment method, and the judgment methods include the following types:
- the judgment value is the specific value (including numbers and text) involved in the judgment, for example:
- the custom grammar includes a custom grammar identifier and the custom grammar content located in the custom grammar identifier; the instructions of the custom grammar are defined by the user.
- the present invention provides a computing device, which includes a processor and a memory, and program instructions are stored in the memory, and the program instructions are executed by the processor to realize the above-mentioned streaming document provided by the present invention. generate method.
- the present invention provides a computer-readable medium, in which program instructions are stored, and the program instructions are executed to implement the above-mentioned method for generating a streaming document provided by the present invention.
- the present invention dynamically fills the existing structured data into the streaming document template through the back-end program to generate the target streaming document required by the user, thereby saving time , improve office efficiency.
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)
- Machine Translation (AREA)
Abstract
一种流式文档的生成方法、计算装置以及计算机可读介质,流式文档的生成方法包括:提供带语法的流式文档模板,文档模板的相应位置处填写有语法;读取流式文档模板并解析其中的语法,以得到与语法对应的指令;通过执行指令,以将已有的结构化数据填充进流式文档模板,生成目标流式文档。
Description
本发明涉及流式文档技术领域,尤其涉及一种流式文档的生成方法、计算装置以及计算机可读介质。
在软件行业的业务系统中,经常会有根据已有数据信息生成流式文档的需求。但是,现有的基于已有数据信息生成流式文档的方法费时费力,使办公及管理人员被大量的简单的重复工作所束缚。
因此,有必要提供一种新的技术方案来解决上述问题。
发明内容
本发明的目的在于提供一种流式文档的生成方法、计算装置以及计算机可读介质,其可以根据已有数据信息自动生成流式文档,从而节约时间,提高办公效率。
根据本发明的一个方面,本发明提供一种流式文档的生成方法,其包括:提供带语法的流式文档模板,所述文档模板的相应位置处填写有语法;读取所述流式文档模板并解析其中的语法,以得到与所述语法对应的指令;通过执行所述指令,以将已有的结构化数据填充进所述流式文档模板,生成目标流式文档。
根据本发明的另一个方面,本发明提供一种计算装置,其包括处理器和存储器,所述存储器中存储有程序指令,该程序指令由处理器执行以实现如下操作:提供带语法的流式文档模板,所述文档模板的相应位置处填写有语法;读取所述流式文档模板并解析其中的语法,以得到与所述语法对应的指令;通过执行所述指令,以将已有的结构化数据填充进所述流式文档模板,生成目标流式文档。
根据本发明的再一个方面,本发明提供一种计算机可读介质,其内存储有程序指令,该程序指令被执行以实现如下操作:提供带语法的流式文档模板,所述文档模板的相应位置处填写有语法;读取所述流式文档模板并解析其中的 语法,以得到与所述语法对应的指令;通过执行所述指令,以将已有的结构化数据填充进所述流式文档模板,生成目标流式文档。
与现有技术相比,本发明基于流式文档模板中填写的模板语法,通过后端程序动态的将已有的结构化数据填充进流式文档模板,生成用户需要的目标流式文档,从而节约时间,提高办公效率。
图1为本发明中的一种流式文档的生成方法在一个实施例中的流程示意图。
为更进一步阐述本发明为达成预定发明目的所采取的技术手段及功效,以下结合附图及较佳实施例,对依据本发明的具体实施方式、结构、特征及其功效,详细说明如下。
为更进一步阐述本发明为达成预定发明目的所采取的技术手段及功效,以下结合附图及较佳实施例,对依据本发明的具体实施方式、结构、特征及其功效,详细说明如下。
请参考图1所示,其为本发明中的一种流式文档的生成方法在一个实施例中的流程示意图。图1所示的流式文档的生成方法包括如下步骤:
步骤110、提供带语法的流式文档模板,所述文档模板的相应位置处填写有语法;
步骤120、读取所述流式文档模板并解析其中的语法,以得到与所述语法对应的指令;
步骤130、通过执行所述指令,以将已有的结构化数据填充进所述流式文档模板,生成目标流式文档。
其中,在一个实施例中,所述结构化数据也称作行数据,是由二维表结构来逻辑表达和实现的数据,严格地遵循数据格式与长度规范,主要通过关系型数据库进行存储和管理。本发明提供的流式文档的生成方法可应用于保险公司的电子保单生成、电子合同、电子货单等多种涉及流式文档的领域。
虽然本发明可以用于多个领域,但是为了便于理解,以下描述仅以保险公司的电子保单为例。例如,保险公司需要把受保人员信息动态展示在流式文档 中。
1项目概述
1.1、系统功能
本发明可应用在如下系统中:可提供电子合同(保单)设计与生成解决方案。
1.2、业务描述
在某保险公司的系统中,可独立提供电子合同(保单)模板设计工具。
1.3、运行环境要求
硬件环境:CPU主频1G赫兹以上,内存1G以上,硬盘100G以上。
软件环境:tomcat8.0,jdk1.8,常见浏览器(IE、火狐等)。
1.4、设计和实现上的限制
本发明仅针对流式文档,不针对版式文档。
2数据示例
本文档中做为测试使用的结构化数据如下:
基本信息
被保险人:张无忌
手机号:18555556666
保费:50000
家庭关系[]
姓名:李秀莲
年龄:52
关系:母亲
手机号:18112345678
姓名:张翠山
年龄:54
关系:父亲
手机号:18511113333
姓名:张小极
年龄:4
关系:儿子
手机号:18111115555
特别说明:变量名称后带[]表示该数据为多条动态数据(即数组类型数据)。
3模板语法介绍
3.1、变量替换语法
语法标识:[$变量名称$]
语法描述:内部填写变量名称,生成文件时将匹配变量对应的实际数据,将实际数据内容替换至变量所在位置。
例如:
被保险人姓名 | [$基本信息_被保险人$] |
被保险人手机号 | [$基本信息_手机号$] |
匹配样例数据后的内容为
被保险人姓名 | 张无忌 |
被保险人手机号 | 18555556666 |
也就是说,所述变量替换语法包括变量替换语法标识和位于所述变量替换语法标识内的变量名称,所述变量名称为所述结构化数据中的变量名称。所述变量替换语法的指令(或语法描述)为:所述流式文档模板内填写有所述变量替换语法,生成所述目标流式文档时将匹配所述结构化数据中与所述变量替换语法中的所述变量名称对应的实际数据,将该实际数据替换至所述流式文档模板内的所述变量替换语法所在位置。
3.2、控制语法
语法标识:[#控制类型:输出形式:控制变量:判断条件#]
语法描述:内部填写控制变量语法,生成文件时将匹配变量对应的实际数据,根据数据内容和控制语法,对控制语法范围的文本内容进行相应的处理操作。
3.2.1控制类型为三种控制类型:循/判/合,
循:常用于多条同类型数据的动态内容输出,当不确定多条数据的具体数量时,使用该控制类型进行处理操作。
例如:
匹配样例数据后生成的实际内容为
李秀莲 张翠山 张小极
也就是说,本发明中的控制语法可以为循环控制语法,所述循环控制语法包括控制语法标识和位于所述控制语法标识内的循环控制语法内容(例如,[#循:输出形式:控制变量#]),所述循环控制语法内容包括依次排布的循环控制语法关键字、输出形式和控制变量,所述“循”字为循环控制语法关键字,表示控制类型;所述循环控制语法的指令(或语法描述)为:所述流式文档模板内填写有所述循环控制语法,生成所述目标流式文档时将匹配所述结构化数据中与所述循控制语法中的所述控制变量对应的同类型的多条动态数据,所述多条动态数据以所述循环控制语法中的所述输出形式动态输出给所述循环控制语法后紧邻的其它语法。
判:常用于对不同数据状态下的内容进行区别展示,根据判断语法对输出形式内的数据进行处理操作。
例如:
匹配样例数据后生成的实际内容为:
---李秀莲 成年人--- ---张翠山 成年人--- ---张小极 未成年---
也就是说,本发明中的控制语法可以为判断控制语法,所述判断控制语法包括控制语法标识和位于所述控制语法标识内的判断控制语法内容,所述判断 控制语法内容包括依次排布的判断控制语法关键字、输出形式、控制变量和判断条件(例如,[#判:输出形式:控制变量:判断条件#]),所述“判”为判断控制语法关键字,表示控制类型,所述判断条件为参与判断的判断类型及判断标准。所述判断控制语法的指令(或语法内容)为:所述流式文档模板内填写有所述判断控制语法,生成所述目标流式文档时将匹配所述结构化数据中与所述判断控制语法中的所述控制变量对应的实际数据,该实际数据经所述判断控制语法中的所述判断条件进行判断以得到判断结果,该判断结果以所述判控制语法中的所述输出形式替换至所述流式文档模板内的所述判断控制语法所在位置。
合:常用于配合多条动态数据完成单元格动态合并,根据动态数据的数量,对单元格进行合并,完成表格的整理操作。
例如:
匹配样例数据后生成的实际内容为:
也就是说,本发明中的控制语法可以为合并控制语法,所述合并控制语法包括控制语法标识和位于所述控制语法标识内的合并控制语法内容,所述合并控制语法内容包括依次排布的合并控制语法关键字、输出形式和控制变量(例如,[#合:输出形式:控制变量#]),所述“合”字为合并控制语法关键字,表示控制类型。所述合并控制语法的指令(或语法内容)为:所述流式文档模板内填写有所述合并控制语法,生成所述目标流式文档时,所述合并控制语法基于所述结构化数据,在所述流式文档模板内的所述合并控制语法所在位置处动态 生成多个单元格并动态合并所述多个单元格。
3.2.2四种输出形式(也可称作控制范围):文/格/行/表
适用类型:循/判
匹配样例数据后生成的实际内容为
姓名 | 李秀莲 张翠山 张小极 |
匹配样例数据后生成的实际内容为
姓名 | 李秀莲 | 张翠山 | 张小极 |
匹配样例数据后生成的实际内容为
姓名 | 李秀莲 |
姓名 | 张翠山 |
姓名 | 张小极 |
匹配样例数据后生成的实际内容为(下图为三个独立表格)
姓名 | 李秀莲 |
姓名 | 张翠山 |
姓名 | 张小极 |
也就是说,本发明中的输出形式为文、格、行或表,文/格/行/表为语法关键字,表示输出形式。其中,所述文代表的是以文字的方式输出;所述格代表的是以单元格的方式输出;所述行代表的是以行的方式输出;所述表代表的是以表格的方式输出。
3.2.3控制变量:
所述控制变量为参与所述循环、判断或合并的所述已有的结构化数据中对应的数据。如循环时为多条动态数据,判断时为参与判断的具体数据(或实际 数据)。
3.2.4判断条件:
适用类型:判
即参与判断的判断类型及判断标准,具体表现为判断方式判断值,判断方式包括以下几种:
判断值则为参与判断的具体数值(包括数字和文本),例如:
[#判:文:基本信息_保费:gt40000#]高额保费[#/判#]|
匹配样例数据后生成的实际内容为
高额保费
3.3自定义语法
语法标识:[@语法内容@]
语法描述:内部填写控制变量语法,生成文件时将匹配变量对应的实际数据,根据数据内容和控制语法,对控制语法范围的文本内容进行相应的处理操作。
例如:
匹配样例数据后生成的实际内容为
永中软件
也就是说,自定义语法包括自定义语法标识和位于所述自定义语法标识内的自定义语法内容;所述自定义语法的指令由用户自定义。
根据本发明的另一个方面,本发明提供一种计算装置,其包括处理器和存储器,所述存储器中存储有程序指令,该程序指令由处理器执行以实现上述本 发明提供的流式文档的生成方法。
根据本发明的再一个方面,本发明提供一种计算机可读介质,其内存储有程序指令,该程序指令被执行以实现上述本发明提供的流式文档的生成方法。
综上所述,本发明基于流式文档模板中填写的模板语法,通过后端程序动态的将已有的结构化数据填充进流式文档模板,生成用户需要的目标流式文档,从而节约时间,提高办公效率。
在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,除了包含所列的那些要素,而且还可包含没有明确列出的其他要素。
在本文中,所涉及的前、后、上、下等方位词是以附图中零部件位于图中以及零部件相互之间的位置来定义的,只是为了表达技术方案的清楚及方便。应当理解,所述方位词的使用不应限制本申请请求保护的范围。
在不冲突的情况下,本文中上述实施例及实施例中的特征可以相互结合。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
Claims (10)
- 一种流式文档的生成方法,其特征在于,其包括:提供带语法的流式文档模板,所述文档模板的相应位置处填写有语法;读取所述流式文档模板并解析其中的语法,以得到与所述语法对应的指令;通过执行所述指令,以将已有的结构化数据填充进所述流式文档模板,生成目标流式文档。
- 根据权利要求1所述的流式文档的生成方法,其特征在于,所述结构化数据是由二维表结构来逻辑表达和实现的数据,所述语法包括变量替换语法,所述变量替换语法包括变量替换语法标识和位于所述变量替换语法标识内的变量名称,所述变量名称为所述结构化数据中的变量名称;所述变量替换语法的指令为:所述流式文档模板内填写有所述变量替换语法,生成所述目标流式文档时将匹配所述结构化数据中与所述变量替换语法中的所述变量名称对应的实际数据,将该实际数据替换至所述流式文档模板内的所述变量替换语法所在位置。
- 根据权利要求2所述的流式文档的生成方法,其特征在于,所述语法还包括循环控制语法,所述循环控制语法包括控制语法标识和位于所述控制语法标识内的循环控制语法内容,所述循环控制语法内容包括依次排布的循环控制语法关键字、输出形式和控制变量;所述循环控制语法的指令为:所述流式文档模板内填写有所述循环控制语法,生成所述目标流式文档时将匹配所述结构化数据中与所述循控制语法中的所述控制变量对应的同类型的多条动态数据,所述多条动态数据以所述循环控制语法中的所述输出形式动态输出给所述循环控制语法后紧邻的其它语法。
- 根据权利要求3所述的流式文档的生成方法,其特征在于,所述语法还包括判断控制语法,所述判断控制语法包括控制语法标识和位于所述控制语法标识内的判断控制语法内容,所述判断控制语法内容包括依次排布的判断控制语法关键字、输出形式、控制变量和判断条件,所述判断条件为参与判断的判断类型及判断标准;所述判断控制语法的指令为:所述流式文档模板内填写有所述判断控制语 法,生成所述目标流式文档时将匹配所述结构化数据中与所述判断控制语法中的所述控制变量对应的实际数据,该实际数据经所述判断控制语法中的所述判断条件进行判断以得到判断结果,该判断结果以所述判控制语法中的所述输出形式替换至所述流式文档模板内的所述判断控制语法所在位置。
- 根据权利要求4所述的流式文档的生成方法,其特征在于,所述语法还包括合并控制语法,所述合并控制语法包括控制语法标识和位于所述控制语法标识内的合并控制语法内容,所述合并控制语法内容包括依次排布的合并控制语法关键字、输出形式和控制变量;所述合并控制语法的指令为:所述流式文档模板内填写有所述合并控制语法,生成所述目标流式文档时,所述合并控制语法基于所述结构化数据,在所述流式文档模板内的所述合并控制语法所在位置处动态生成多个单元格并动态合并所述多个单元格。
- 根据权利要求3所述的流式文档的生成方法,其特征在于,所述输出形式为文、格、行或表,所述文代表的是以文字的方式输出;所述格代表的是以单元格的方式输出;所述行代表的是以行的方式输出;所述表代表的是以表格的方式输出。
- 根据权利要求3所述的流式文档的生成方法,其特征在于,所述控制变量为参与所述循环、判断或合并的所述已有的结构化数据中对应的数据。
- 根据权利要求1所述的流式文档的生成方法,其特征在于,所述语法包括自定义语法,所述自定义语法包括自定义语法标识和位于所述自定义语法标识内的自定义语法内容;所述自定义语法的指令由用户自定义。
- 一种计算装置,其包括处理器和存储器,所述存储器中存储有程序指令,该程序指令由处理器执行以实现如下操作:提供带语法的流式文档模板,所述文档模板的相应位置处填写有语法;读取所述流式文档模板并解析其中的语法,以得到与所述语法对应的指令;通过执行所述指令,以将已有的结构化数据填充进所述流式文档模板,生成目标流式文档。
- 一种计算机可读介质,其内存储有程序指令,该程序指令被执行以实现如下操作:提供带语法的流式文档模板,所述文档模板的相应位置处填写有语法;读取所述流式文档模板并解析其中的语法,以得到与所述语法对应的指令;通过执行所述指令,以将已有的结构化数据填充进所述流式文档模板,生成目标流式文档。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111597310.2A CN114492354A (zh) | 2021-12-24 | 2021-12-24 | 一种流式文档的生成方法、计算装置以及计算机可读介质 |
CN202111597310.2 | 2021-12-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023115833A1 true WO2023115833A1 (zh) | 2023-06-29 |
Family
ID=81495177
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/097170 WO2023115833A1 (zh) | 2021-12-24 | 2022-06-06 | 一种流式文档的生成方法、计算装置以及计算机可读介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114492354A (zh) |
WO (1) | WO2023115833A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117556107A (zh) * | 2023-12-15 | 2024-02-13 | 中国人寿保险股份有限公司 | 报送数据生成方法、装置、计算机设备和存储介质 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114492354A (zh) * | 2021-12-24 | 2022-05-13 | 永中软件股份有限公司 | 一种流式文档的生成方法、计算装置以及计算机可读介质 |
CN115481615A (zh) * | 2022-08-30 | 2022-12-16 | 中电信数智科技有限公司 | 文档生成方法、装置和电子设备和非易失性存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6718515B1 (en) * | 1999-12-07 | 2004-04-06 | International Business Machines Corporation | Method of populating a dynamic HTML table from a set of data objects through a common interface |
CN109657215A (zh) * | 2018-09-27 | 2019-04-19 | 深圳壹账通智能科技有限公司 | 基于模板的文档生成方法、设备、存储介质及装置 |
CN111950247A (zh) * | 2020-07-08 | 2020-11-17 | 北京明略软件系统有限公司 | 一种基于配置的Word文档生成方法 |
CN112446199A (zh) * | 2019-08-14 | 2021-03-05 | 中国电力科学研究院有限公司 | 一种基于可视化模板的报表生成方法 |
CN112446189A (zh) * | 2019-08-14 | 2021-03-05 | 中国电力科学研究院有限公司 | 一种数据处理方法 |
CN114492354A (zh) * | 2021-12-24 | 2022-05-13 | 永中软件股份有限公司 | 一种流式文档的生成方法、计算装置以及计算机可读介质 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10162155A1 (de) * | 2000-12-18 | 2002-07-25 | Siemens Corp Res Inc | System und Benutzeroberfläche zum Erzeugen strukturierter Dokumente |
CN111090976B (zh) * | 2019-12-18 | 2022-11-15 | 国家体育总局体育科学研究所 | 基于动态数据的检验文档生成方法及装置 |
CN113011148A (zh) * | 2021-02-24 | 2021-06-22 | 福建升腾资讯有限公司 | 一种自动化输出指定格式文档的方法、装置、设备及介质 |
CN113378538A (zh) * | 2021-06-29 | 2021-09-10 | 远光软件股份有限公司 | 文档的结构化信息录入方法、电子设备及存储介质 |
-
2021
- 2021-12-24 CN CN202111597310.2A patent/CN114492354A/zh active Pending
-
2022
- 2022-06-06 WO PCT/CN2022/097170 patent/WO2023115833A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6718515B1 (en) * | 1999-12-07 | 2004-04-06 | International Business Machines Corporation | Method of populating a dynamic HTML table from a set of data objects through a common interface |
CN109657215A (zh) * | 2018-09-27 | 2019-04-19 | 深圳壹账通智能科技有限公司 | 基于模板的文档生成方法、设备、存储介质及装置 |
CN112446199A (zh) * | 2019-08-14 | 2021-03-05 | 中国电力科学研究院有限公司 | 一种基于可视化模板的报表生成方法 |
CN112446189A (zh) * | 2019-08-14 | 2021-03-05 | 中国电力科学研究院有限公司 | 一种数据处理方法 |
CN111950247A (zh) * | 2020-07-08 | 2020-11-17 | 北京明略软件系统有限公司 | 一种基于配置的Word文档生成方法 |
CN114492354A (zh) * | 2021-12-24 | 2022-05-13 | 永中软件股份有限公司 | 一种流式文档的生成方法、计算装置以及计算机可读介质 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117556107A (zh) * | 2023-12-15 | 2024-02-13 | 中国人寿保险股份有限公司 | 报送数据生成方法、装置、计算机设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN114492354A (zh) | 2022-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023115833A1 (zh) | 一种流式文档的生成方法、计算装置以及计算机可读介质 | |
CN108304505B (zh) | 一种sql语句的处理方法、装置、服务器及存储介质 | |
US9495347B2 (en) | Systems and methods for extracting table information from documents | |
CN110263311B (zh) | 一种网络页面的生成方法及设备 | |
CN107644323A (zh) | 一种面向业务流的智能审核系统 | |
US9547714B2 (en) | Multifaceted search | |
CN108694108B (zh) | 一种iOS崩溃数据分类与统计的方法和装置 | |
CN105893053B (zh) | 一种基于Excel批注的报表生成方法 | |
US20150269234A1 (en) | User Defined Functions Including Requests for Analytics by External Analytic Engines | |
US9507567B2 (en) | Facilitating use of techniques implemented by external library functions in process definitions of analytical applications | |
CN112162922A (zh) | 一种新旧系统差异性确定方法、装置、服务器和存储介质 | |
CN110807002A (zh) | 一种基于工作流的报表生成方法、系统及设备和存储介质 | |
CN110490724A (zh) | 账户数据的存储方法和装置 | |
CN115146070A (zh) | 键值生成方法、知识图谱生成方法、装置、设备及介质 | |
CN113934786A (zh) | 一种构建统一etl的实施方法 | |
CN118395970A (zh) | 基于自然语言的单据处理方法、装置、计算机设备、存储介质 | |
WO2024179330A1 (zh) | 文档改进建议生成方法、设备及存储介质 | |
CN117496547A (zh) | 可携带文档格式页面识别方法、装置、设备及介质 | |
CN117435611A (zh) | 一种查询语句生成方法、装置、设备及存储介质 | |
US11704094B2 (en) | Data integrity analysis tool | |
CN108052522B (zh) | 一种对olap预计算模型进行动态优化的方法及系统 | |
CN107256260A (zh) | 一种智能语义识别方法、搜索方法、装置及系统 | |
CN118377919B (zh) | 药物不良反应信息的提取方法、设备及计算机程序产品 | |
CN118606347A (zh) | 基于数据库存储过程生成dml的方法及装置 | |
WO2024255249A1 (zh) | 一种生成测试用例的方法和相关设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22909167 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22909167 Country of ref document: EP Kind code of ref document: A1 |