Movatterモバイル変換


[0]ホーム

URL:


CN101976235A - Extensible Word report automatically-generating method based on dynamic web page - Google Patents

Extensible Word report automatically-generating method based on dynamic web page
Download PDF

Info

Publication number
CN101976235A
CN101976235ACN 201010290078CN201010290078ACN101976235ACN 101976235 ACN101976235 ACN 101976235ACN 201010290078CN201010290078CN 201010290078CN 201010290078 ACN201010290078 ACN 201010290078ACN 101976235 ACN101976235 ACN 101976235A
Authority
CN
China
Prior art keywords
data
word
report
template
file
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.)
Granted
Application number
CN 201010290078
Other languages
Chinese (zh)
Other versions
CN101976235B (en
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.)
TIANJIN SHENZHOU GENERAL DATA CO Ltd
Beijing Institute of Spacecraft System Engineering
Original Assignee
TIANJIN SHENZHOU GENERAL DATA CO Ltd
Beijing Institute of Spacecraft System Engineering
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 TIANJIN SHENZHOU GENERAL DATA CO Ltd, Beijing Institute of Spacecraft System EngineeringfiledCriticalTIANJIN SHENZHOU GENERAL DATA CO Ltd
Priority to CN 201010290078priorityCriticalpatent/CN101976235B/en
Publication of CN101976235ApublicationCriticalpatent/CN101976235A/en
Application grantedgrantedCritical
Publication of CN101976235BpublicationCriticalpatent/CN101976235B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明涉及一种基于动态网页的可扩展的Word报告自动生成方法,其包括以下步骤:1)为每一个数据处理方法添加一条唯一的表明方法功能和用途的描述信息;2)利用反射技术从数据处理方法共享文件中解析数据处理方法的描述信息,并分类整理封装为标签;3)利用标签定制一份Word形式的报告模板;4)用模板生成动态网页;5)根据页面传过来的数据信息替换Word报告模板中数据占位符,生成Word报告。该方法摆脱了Word对数据访问界面的限制,可获得良好的交互性体验,同时不增加模板定制和报告编写人员的负担,保证系统的高效性和可扩展性。

Figure 201010290078

The present invention relates to a kind of extensible Word report automatic generation method based on dynamic webpage, and it comprises the following steps: 1) for each data processing method, add a unique descriptive information indicating method function and purpose; Analyze the description information of the data processing method in the data processing method sharing file, and classify and package it into labels; 3) Use the label to customize a report template in Word form; 4) Use the template to generate a dynamic web page; 5) According to the data passed from the page The information replaces the data placeholders in the Word report template to generate a Word report. This method gets rid of the limitation of Word on the data access interface, can obtain a good interactive experience, and does not increase the burden of template customization and report writers, and ensures the efficiency and scalability of the system.

Figure 201010290078

Description

Translated fromChinese
基于动态网页的可扩展的Word报告自动生成方法An Extensible Automatic Word Report Generation Method Based on Dynamic Web Pages

技术领域technical field

本发明涉及一种基于动态网页的可扩展的Word报告自动生成方法。The invention relates to an expandable Word report automatic generation method based on a dynamic webpage.

背景技术Background technique

Word是世界上使用范围最广泛的文字处理系统,每天都有大量的word报告需要编制,例如在服务器运行日常管理工作中,针对每一台服务器的运行情况都需要编写日报、周报、月报、季报和年报。这些报告的格式几乎都是固定的,只是其中涉及的具体参数和数据不同而已。如果仅依靠人工进行处理,大量的查询、复制和粘贴工作不但繁琐、耗时,效率低下,而且还容易出错,降低了报告的准确性。因此,研究word报告的自动生成功能具有重要的应用价值。Word is the most widely used word processing system in the world. A large number of word reports need to be prepared every day. For example, in the daily management of server operation, daily, weekly, monthly reports, Quarterly and annual reports. The format of these reports is almost fixed, but the specific parameters and data involved are different. If only relying on manual processing, a large number of query, copy and paste work is not only cumbersome, time-consuming, inefficient, but also error-prone, reducing the accuracy of the report. Therefore, it has important application value to study the automatic generation function of word report.

目前,Word报告自动生成方法有以下几种:Currently, there are several ways to automatically generate Word reports:

1.文档光标跟踪定位方法(叶明,张诤,基于C#.NET的Word报告生成功能开发,计算机工程与应用,2008,44(9):104-106)。1. Document cursor tracking and positioning method (Ye Ming, Zhang Zheng, Word report generation function development based on C#.NET, Computer Engineering and Application, 2008, 44(9): 104-106).

该方法的主要原理是通过跟踪和控制Word文档内部光标的位置来控制文档内容的起始和相应的格式,并在相应位置上插入指定的内容。其缺点是:报告的版面、样式和内容必须通过程序顺序输入;此外,该方案不够完整,没有涉及用户对数据信息的筛选操作。The main principle of this method is to control the start of the document content and the corresponding format by tracking and controlling the position of the cursor inside the Word document, and insert the specified content at the corresponding position. Its disadvantages are: the layout, style and content of the report must be input sequentially through the program; in addition, the scheme is not complete, and does not involve the user's screening of data information.

2.利用OLE或COM技术直接控制Word(鲁保玉,杨新芳,用Delphi生成Word报告及动态结构表格,计算机软件与应用,2007,4(3):180-183;孔令彦,黄蓬勃,姜青香等,使用Visual Basic操纵Microsoft Word对象生成报告文档,计算机工程与应用,2003,39(36):115-117)。2. Use OLE or COM technology to directly control Word (Lu Baoyu, Yang Xinfang, Using Delphi to generate Word reports and dynamic structure tables, Computer Software and Applications, 2007, 4(3): 180-183; Kong Lingyan, Huang Pengbo, Jiang Qingxiang et al., Using Visual Basic to Manipulate Microsoft Word Objects to Generate Report Documents, Computer Engineering and Applications, 2003, 39(36): 115-117).

该方法的主要原理是利用OLE或COM技术直接控制Word,将数据库表结构中的列信息作为标签插入Word文档中以定义模板,在Word中添加自定义窗体连接数据库,在生成文档时从数据库中读取数据,并自动填写到模板中的相应位置上。缺点是采用C/S结构,部署不够方便;并且需要扩展Word的窗口作为数据选择的界面,自定义数据编辑窗体与Word现有界面项目限制,交互体验差;此外,生成报告后,无法在此基础上进行二次数据查询转换;最关键的是,用户还必须熟悉数据库结构及数据库表的列信息。The main principle of this method is to use OLE or COM technology to directly control Word, insert the column information in the database table structure as a label into the Word document to define the template, add a custom form in Word to connect to the database, and generate the document from the database. Read the data in and automatically fill in the corresponding position in the template. The disadvantage is that it adopts the C/S structure, and the deployment is not convenient enough; and it needs to expand the Word window as the data selection interface, the custom data editing form and the existing interface items of Word are limited, and the interactive experience is poor; in addition, after the report is generated, it cannot be On this basis, perform secondary data query conversion; most importantly, users must also be familiar with the database structure and the column information of the database table.

3.基于多种技术的Word文档自动生成方法(葛芬,吴宁,基于多种技术的Word设计文档自动生成平台,电子科技大学学报,2007,36(2))。3. The method of automatic generation of Word documents based on multiple technologies (Ge Fen, Wu Ning, Automatic Generation Platform of Word Design Documents Based on Multiple Technologies, Journal of University of Electronic Science and Technology of China, 2007, 36(2)).

该方法的主要原理是利用VBA将一篇规范的通用文档中可允许被替换的部分采用插入批注的形式设置标签,并把文档及其中的标签信息存储到数据库服务器中,下一步在Asp页面上提供输入框由用户为标签赋值,最后利用用户输入值替换通用文档中标签处的内容生成新的文档。其缺点是:VBA程序全部嵌入到客户端Word应用程序中,部署不够方便;并且VBA界面元素不够丰富,只支持简单的文本录入形式,对于表格、图片等没有后台方法支持。The main principle of this method is to use VBA to set tags in the form of inserting annotations for the part that can be replaced in a standardized general document, and store the document and the tag information in the database server. The next step is on the Asp page Provide an input box for the user to assign a value to the label, and finally use the user input value to replace the content of the label in the general document to generate a new document. Its disadvantages are: all VBA programs are embedded in the client-side Word application program, and the deployment is not convenient enough; and the VBA interface elements are not rich enough, only simple text input forms are supported, and there is no background method support for tables, pictures, etc.

4.使用报表引擎生成指定格式的Word文档。该方法的主要原理是由报表定义工具提供可视化的手段让用户定义报表结构,抽取的字段和抽取后的二次计算规则由用户自定义,在生成报表的时候由报表引擎完成对数据库的访问并在相应位置完成数据替换以生成中间格式的报表,然后再通过输出转换工具,转换成Word文件。典型的产品如水晶报表、润乾报表、用友的Cell等。其缺点是:无法满足复杂的业务逻辑。虽然报表引擎一般提供了特定的语言以编程的形式实现数据计算,但是也仅限于完成简单的处理,对于像“海量数据的任意时间区间的均值/极值的趋势图绘制”,以及实现数据替换后的可编辑操作这样的复杂业务,仍然难以胜任。4. Use the report engine to generate a Word document in the specified format. The main principle of this method is that the report definition tool provides a visual means for the user to define the report structure, the extracted fields and the extracted secondary calculation rules are defined by the user, and the report engine completes the access to the database when generating the report. Complete data replacement at the corresponding position to generate a report in an intermediate format, and then convert it into a Word file through the output conversion tool. Typical products such as Crystal Reports, Rungan Reports, UFIDA Cell, etc. Its disadvantage is that it cannot satisfy complex business logic. Although the report engine generally provides a specific language to realize data calculation in the form of programming, it is limited to simple processing, such as "the trend graph drawing of the mean value/extreme value of any time interval of massive data" and the realization of data replacement. Complicated business such as post-editable operations is still difficult to do.

由此可见,目前还没有一种基于B/S结构的,部署方便、界面元素丰富、交互体验好、支持二次编辑并且具备良好扩展性的Word报告自动生成方法。It can be seen that there is currently no automatic generation method for Word reports based on B/S structure, convenient deployment, rich interface elements, good interactive experience, support for secondary editing, and good scalability.

发明内容Contents of the invention

为了摆脱Word对数据访问界面的限制,获得良好的交互性体验,同时不增加模板定制和报告编写人员的负担,保证系统的高效性和可扩展性,本发明提供了一种全新的方法,它将数据查询方法封装为数据占位符,然后把数据占位符插入Word文档中定制报告模板;利用报告模板生成动态页面,页面调用数据查询方法读取、展示、编辑信息;最终利用这些信息替换报告模板中的数据占位符生成最终的报告。使用该方法,通过Word定制报告模板,对模板定制人员没有额外的技术要求;在页面中展示、编辑数据信息,保证良好的用户操作体验,交互性强;利用信息替换数据占位符生成报告,支持在线的报告局部反复多次编辑;可定制任意复杂的业务处理方法,并且支持运行时动态添加数据查询方法文件,具备良好的可扩展性。In order to get rid of the limitation of Word on the data access interface, obtain a good interactive experience, and at the same time not increase the burden on template customization and report writers, and ensure the efficiency and scalability of the system, the present invention provides a brand new method, which Encapsulate the data query method as a data placeholder, and then insert the data placeholder into the Word document to customize the report template; use the report template to generate a dynamic page, and the page calls the data query method to read, display, and edit information; finally use this information to replace The data placeholders in the report template generate the final report. Using this method, the report template is customized through Word, and there is no additional technical requirement for template customizers; data information is displayed and edited on the page to ensure a good user experience and strong interactivity; use information to replace data placeholders to generate reports, It supports partial repeated editing of online reports; it can customize arbitrarily complex business processing methods, and supports dynamic addition of data query method files during runtime, which has good scalability.

本发明采用的技术方案如下:The technical scheme that the present invention adopts is as follows:

一种基于动态网页的可扩展的Word报告自动生成方法,包括以下步骤:A scalable Word report automatic generation method based on dynamic web pages, comprising the following steps:

1)扩展数据处理方法1) Extended data processing method

为每一个数据处理方法添加一条唯一的表明方法功能和用途的描述信息,并通过编译器或者解释器生成一个可以被其他应用程序共享的模块或者文件即数据处理方法共享文件;Add a unique descriptive information indicating the function and purpose of each data processing method, and generate a module or file that can be shared by other applications through a compiler or interpreter, that is, a data processing method shared file;

2)创建数据处理方法对应的标签2) Create a label corresponding to the data processing method

利用反射技术从数据处理方法共享文件中解析数据处理方法的描述信息,并分类整理封装为标签,标签由标签头即标签类型和标签体两部分组成,标签头和标签体是一对多的关系;Use reflection technology to analyze the description information of the data processing method from the shared file of the data processing method, and classify and package it into tags. The tag is composed of two parts: the tag header, which is the tag type and the tag body. The tag header and the tag body are in a one-to-many relationship. ;

3)定制报告模板3) Custom report template

利用标签定制一份Word形式的报告模板;Use tags to customize a report template in Word format;

4)用报告模板生成动态网页4) Generate dynamic web pages with report templates

5)生成word报告5) Generate a word report

根据动态网页中收集的数据信息替换Word报告模板中的数据占位符,生成Word报告。Replace the data placeholders in the Word report template according to the data information collected in the dynamic web page to generate a Word report.

所述步骤3)进一步细分为以下子步骤:Said step 3) is further subdivided into the following sub-steps:

3.1)扩展Word菜单并添加选择标签的窗口;3.1) Extend the Word menu and add a window for selecting tabs;

3.2)定义报告的章节;3.2) Define the sections of the report;

3.3)选择标签类型;3.3) Select the label type;

3.4)选择标签体;3.4) Select the tag body;

3.5)把选择的标签组合以书签的方式作为数据占位符放在相应的章节下;3.5) Place the selected label combination under the corresponding chapter as a data placeholder in the form of a bookmark;

3.6)将这份包含数据占位符的Word文档保存为一份Word文件作为报告模板。3.6) Save this Word document containing data placeholders as a Word file as a report template.

所述步骤4)进一步细分为以下子步骤:Said step 4) is further subdivided into the following sub-steps:

4.1)从Word报告模板中以遍历书签的方式查找数据占位符并读取它的值即数据处理方法的描述信息;4.1) Find the data placeholder by traversing bookmarks from the Word report template and read its value, which is the description information of the data processing method;

4.2)通过反射技术和描述信息、数据处理方法的一一对应关系,找到数据处理方法;4.2) Find the data processing method through the one-to-one correspondence between reflection technology, description information, and data processing methods;

4.3)反射数据处理方法的返回值类型并据此确定数据的Aspx展示控件,此Aspx为一种动态网络编程的网络语言;4.3) Reflect the return value type of the data processing method and determine the Aspx display control of the data accordingly. This Aspx is a network language for dynamic network programming;

4.4)把报告模板保存为Html形式;4.4) Save the report template as Html form;

4.5)利用正则表达式删除Html文件中的注释和样式等信息添加Aspx页面需要的信息;4.5) Use regular expressions to delete information such as comments and styles in the Html file and add the information required by the Aspx page;

4.6)通过模板引擎技术用Aspx数据展示控件替换Html中数据占位符,生成动态页面;4.6) Use the Aspx data display control to replace the data placeholder in Html through the template engine technology to generate a dynamic page;

4.7)根据报告模板中的数据占位符,生成动态页面对应的后台处理文件,调用每一个数据占位符对应的数据处理方法读取数据并与动态页面中的数据展示组件绑定;4.7) According to the data placeholders in the report template, generate the background processing file corresponding to the dynamic page, call the data processing method corresponding to each data placeholder to read the data and bind it to the data display component in the dynamic page;

4.8)通过访问Aspx页面完成对报告的编辑。4.8) Finish editing the report by accessing the Aspx page.

在所述步骤5)中,如果传过来的数据是文本、表格和图片,就按数据的格式替换模板中的数据占位符,如果传过来的数据是字节数组,就把数据转换为图片并用图片替换模版中的数据占位符,如果传过来的数据是文件路径,就先读取文件路径指向的文件的内容并以此替换模板中的数据占位符,最终利用数据替换模板中所有的数据占位符并保存为一份Word文件作为Word报告。In said step 5), if the passed data is text, table and picture, replace the data placeholder in the template according to the format of the data, if the passed data is a byte array, convert the data into a picture And replace the data placeholders in the template with images. If the passed data is a file path, first read the content of the file pointed to by the file path and replace the data placeholders in the template with this, and finally replace all the data in the template with the data. data placeholders and save as a Word file as a Word report.

本发明具有以下优点:The present invention has the following advantages:

1.通过Word定制报告模板,对模板定制人员没有额外的技术要求;1. Customize the report template through Word, and there is no additional technical requirement for template customizers;

2.为模板生成动态网页,界面元素丰富,用户交互性好;2. Generate dynamic web pages for templates, with rich interface elements and good user interaction;

3.利用信息替换数据占位符生成报告,支持在线的报告局部反复多次编辑;3. Use information to replace data placeholders to generate reports, and support partial and repeated editing of online reports;

4.支持任意复杂的业务处理方法定制和运行时动态添加数据查询方法文件,具备良好的可扩展性。4. It supports customization of arbitrary complex business processing methods and dynamic addition of data query method files during runtime, with good scalability.

附图说明Description of drawings

图1是本发明的整体流程图;Fig. 1 is the overall flowchart of the present invention;

图2为数据处理方法文件内容的示意图;Fig. 2 is the schematic diagram of data processing method file content;

图3是定制报告模板流程图;Figure 3 is a flowchart of a customized report template;

图4是报告模板示意图;Figure 4 is a schematic diagram of a report template;

图5是生成动态页面流程图;Fig. 5 is a flowchart of generating a dynamic page;

图6是动态网页图;Fig. 6 is a dynamic web page diagram;

图7是生成的Word报告示意图;Figure 7 is a schematic diagram of the generated Word report;

图8是可扩展流程图;Fig. 8 is a scalable flowchart;

图9是本发明实施的系统组成图;Fig. 9 is a system composition diagram implemented by the present invention;

图10是Word报告模板、数据查询方法文件、数据库、Word报告之间的关系图。Fig. 10 is a relationship diagram among the Word report template, the data query method file, the database, and the Word report.

具体实施方式Detailed ways

本发明提供了一种基于动态网页的可扩展的Word报告自动生成方法。如图1所示,该方法包括以下步骤:The invention provides an expandable Word report automatic generation method based on dynamic web pages. As shown in Figure 1, the method includes the following steps:

1.数据处理方法扩展1. Data processing method extension

利用特性(Attribute)为每一个数据处理方法添加一条唯一的、表明方法功能和用途的描述信息,然后通过编译器或者解释器将此添加了描述信息的数据处理方法生成一个可以被其他应用程序共享的模块或者文件,即数据处理方法共享文件。例如:一个功能为查询商品本年度的出库、入库记录的方法对应的描述信息为仓库管理-查询商品本年度的出入库信息(图2)。这样数据处理方法和描述信息就形成了一对一的对应关系。Use Attribute to add a unique descriptive information to each data processing method, indicating the function and purpose of the method, and then use the compiler or interpreter to generate a data processing method with descriptive information that can be shared by other applications. Modules or files, that is, data processing methods share files. For example: a function of querying the storage and storage records of commodities in this year corresponds to the description information as warehouse management - querying the storage and storage information of commodities in this year (Figure 2). In this way, the data processing method and the description information form a one-to-one correspondence.

通过为数据处理方法扩展一一对应的描述信息,在描述信息、数据处理方法、数据库和数据间建立了从描述信息到数据处理方法、从数据处理方法到数据库、从数据库到数据的关系链,因此可以通过选择描述信息的方式来选择数据。By expanding the one-to-one corresponding description information for data processing methods, a relationship chain from description information to data processing methods, from data processing methods to databases, and from databases to data is established between description information, data processing methods, databases, and data. Therefore, data can be selected by selecting description information.

2.创建数据处理方法对应的标签2. Create a label corresponding to the data processing method

反射(Reflection)是.NET中的重要机制,通过反射可以在运行时获得.NET中每一个类型(包括类、结构、委托、接口和枚举等)的成员,包括方法、属性、事件,以及构造函数等;还可以获得每个成员的名称、限定符和参数等。利用反射技术从数据处理方法共享文件中解析出数据处理方法的描述信息,并分类整理封装为标签,此标签由标签头即标签类型和标签体两部分组成,标签头和标签体是一对多的关系。例如,在对仓库管理-查询商品本年度的出入库信息进行封装的标签中,标签类型为仓库管理,标签体为查询商品本年度的出入库信息。Reflection is an important mechanism in .NET. Through reflection, members of each type (including classes, structures, delegates, interfaces, and enumerations) in .NET can be obtained at runtime, including methods, properties, events, and Constructors, etc.; you can also get the name, qualifiers, parameters, etc. of each member. Use reflection technology to analyze the description information of the data processing method from the shared file of the data processing method, and classify and package it into tags. This tag consists of two parts: the tag header, which is the tag type and the tag body. The tag header and the tag body are one-to-many Relationship. For example, in the tag that encapsulates warehouse management-query the entry and exit information of the commodity this year, the tag type is warehouse management, and the tag body is the entry and exit information of the query commodity this year.

3.定制报告模板3. Custom report template

利用标签定制一份Word文档形式的报告模板,该报告模板为由报告的章节标题和数据占位符组成的报告框架。定制报告模板的流程如图3所示:Use tags to customize a report template in the form of a Word document, which is a report frame composed of report chapter titles and data placeholders. The process of customizing the report template is shown in Figure 3:

利用Vsto(Visual Studio Tools for Office)技术扩展Word菜单,即在Word启动时自动在Word菜单栏添加一个名为“报告模板定制”的菜单,和一个名为“选择数据”的子菜单;Use Vsto (Visual Studio Tools for Office) technology to expand the Word menu, that is, automatically add a menu named "Report Template Customization" and a submenu named "Select Data" to the Word menu bar when Word starts;

输入报告的章节标题并设置章节标题的样式和编号,例如:6本年度商品出入库情况;Enter the chapter title of the report and set the style and number of the chapter title, for example: 6 The goods in and out of the warehouse this year;

在点击“选择数据”后,添加选择标签的窗口;After clicking "Select Data", add a window for selecting labels;

选择标签类型,例如选择标签类型为仓库管理;Select the label type, for example, select the label type as Warehouse Management;

选择标签体,例如选择标签体为查询商品本年度的出入库信息;Select the label body, for example, select the label body to query the entry and exit information of the product this year;

把选择的标签组合以书签的方式作为数据占位符放在相应的章节下,为了区别于普通文本,可以为数据占位符设置一些特殊的样式。数据占位符是位于报告模板中但最终会被数据库中的一组数据集替换的文本,它标记了数据在文档中的位置;Put the selected label combination as a data placeholder under the corresponding chapter in the form of a bookmark. In order to distinguish it from ordinary text, you can set some special styles for the data placeholder. A data placeholder is text that is placed in the report template but will eventually be replaced by a set of data sets in the database, which marks the location of the data in the document;

将这份包含数据占位符的Word文档保存为一份Word文件作为报告模板。Save this Word document with data placeholders as a Word file as a report template.

例如:仓库管理类别下的查询商品本年度的出入库信息作为数据占位符放在章节商品本年度出入库情况中(图4)。For example: the entry and exit information of the queried goods under the warehouse management category this year is placed as a data placeholder in the chapter entry and exit of goods this year (Figure 4).

可见,在报告模板、数据占位符、描述信息间已经建立了一条从报告模板到数据占位符、从数据占位符到描述信息的关系链,以描述信息作为桥梁就可以与另一条关系链(从描述信息到数据处理方法、从数据处理方法到数据库、从数据库到数据)连接,这就构成了从报告模板到数据占位符、从数据占位符到描述信息、从描述信息到数据处理方法、从数据处理方法到数据库、从数据库到数据的完整的关系链,建立了模板与数据的关联关系。It can be seen that a relationship chain from the report template to the data placeholder and from the data placeholder to the description information has been established between the report template, the data placeholder, and the description information, and the description information can be used as a bridge to connect with another relationship chain. Chain (from description information to data processing method, from data processing method to database, from database to data) connection, which constitutes from report template to data placeholder, from data placeholder to description information, from description information to The data processing method, the complete relationship chain from the data processing method to the database, and from the database to the data establishes the association relationship between the template and the data.

4.用模板生成动态网页4. Generate dynamic web pages with templates

生成动态网页的流程如图5所示,利用Vsto技术从Word报告模板中以遍历书签的方式查找数据占位符并读取它的值即数据处理方法的描述信息;The process of generating a dynamic web page is shown in Figure 5. Use Vsto technology to search for data placeholders from the Word report template by traversing bookmarks and read its value, which is the description information of the data processing method;

通过反射技术和描述信息、数据处理方法的一一对应关系,找到数据处理方法;Find the data processing method through the one-to-one correspondence between reflection technology and description information and data processing methods;

反射数据处理方法的返回值类型并据此确定数据的Aspx(一种网络编程语言)展示控件,例如:方法的返回值为文本则对应Aspx的多行文本框,方法的返回值为表格和对象集合则对应Aspx的表格类控件,方法的返回值是图片或者字节数组则对应Aspx的图片框等等;Reflect the return value type of the data processing method and determine the Aspx (a network programming language) display control of the data accordingly, for example: the return value of the method is text, which corresponds to the multi-line text box of Aspx, and the return value of the method is a table and object The collection corresponds to the form control of Aspx, and the return value of the method is a picture or byte array, which corresponds to the picture box of Aspx, etc.;

利用Vsto把报告模板保存为Html(HyperText Markup Language或超文本置标语言)形式;Use Vsto to save the report template as Html (HyperText Markup Language or hypertext markup language);

利用正则表达式删除Html文件中的注释和样式等信息,添加Aspx页面需要的头信息、Js(Javascript,一种计算机脚本语言)和Css(Cascading Style Sheet或级联样式表)等信息;Use regular expressions to delete information such as comments and styles in the Html file, and add information such as the header information required by the Aspx page, Js (Javascript, a computer scripting language) and Css (Cascading Style Sheet or cascading style sheet);

通过模板引擎技术用Aspx数据展示控件(TextBox、GridView和PictureBox等)替换Html中数据占位符,生成动态页面;Use template engine technology to replace data placeholders in Html with Aspx data display controls (TextBox, GridView and PictureBox, etc.) to generate dynamic pages;

利用模板引擎语言编写一份准后台处理文件,然后由模板引擎把其中的模板引擎变量标识符替换成报告模板中的数据占位符对应的数据处理方法,生成与动态页面对应的后台处理文件,调用每一个数据处理方法从数据库中读取数据并与动态页面中的数据展示控件绑定;Use the template engine language to write a quasi-background processing file, and then the template engine replaces the template engine variable identifier in it with the data processing method corresponding to the data placeholder in the report template to generate a background processing file corresponding to the dynamic page. Call each data processing method to read data from the database and bind it to the data display control in the dynamic page;

通过访问Aspx页面完成对报告的编辑,其结构与最终的Word报告一致,但是可以进行局部反复的查询和修改,并且支持中途保存即保存已做的编辑但不生成报告。例如:商品本年度出入库情况章节在页面的效果如图6所示。Editing of the report is completed by visiting the Aspx page. Its structure is consistent with the final Word report, but it can be partially and repeatedly queried and modified, and it supports midway saving, that is, saving the edits made but not generating a report. For example: Figure 6 shows the effect of the section on the entry and exit of goods this year on the page.

5.生成word报告5. Generate a word report

根据页面传过来的数据信息替换Word报告模板中的数据占位符,生成Word报告。如果传过来的数据是文本、表格和图片,就按数据的格式替换Word报告模板中的数据占位符;如果传过来的数据是字节数组,就把数据转换为图片并用图片替换模版中的数据占位符;如果传过来的数据是文件路径,就先读取文件路径指向的文件的内容并以此替换Word报告模板中的数据占位符。最终利用数据替换Word报告模板中所有的数据占位符并保存成一份Word文件作为Word报告。例如:由仓库管理-查询商品本年度的出入库信息获取的数据是一段文本和一张图片,替换后的结果如图7所示。Replace the data placeholders in the Word report template according to the data information passed on the page to generate a Word report. If the passed data is text, tables and pictures, replace the data placeholders in the Word report template according to the format of the data; if the passed data is a byte array, convert the data into pictures and replace the placeholders in the template with pictures Data placeholder; if the passed data is a file path, first read the content of the file pointed to by the file path and replace the data placeholder in the Word report template. Finally, replace all the data placeholders in the Word report template with data and save it as a Word file as a Word report. For example: the data obtained by warehouse management-querying the information of goods in and out of the warehouse this year is a piece of text and a picture, and the result after replacement is shown in Figure 7.

此外,以数据查询方法为基础也使得本发明拥有良好的可扩展性,本发明支持以两种方式在运行时动态地添加数据查询方法。第一种方式:将编译好的包含数据查询方法的Dll(Dynamic Link Library,是一个包含可由多个程序共享的代码和数据的库)文件放入指定目录下,负责数据查询方法解析的服务监测到这一事件后,遍历目录下新增加的数据查询方法文件并逐一加载,提取可用的数据查询方法及其描述信息,并提交给上层的模板定制和报告页面等使用。第二种方式如图8所示:在自定义数据查询方法页面,输入数据查询接口的参数、返回值、用途及其他信息,自动生成代码服务,据此生成一份数据访问方法源文件,并提交给自动编译服务,自动编译服务完成编译并将编译后的Dll文件转移到指定目录下,由第一种方式进一步处理。In addition, being based on the data query method also enables the present invention to have good scalability, and the present invention supports dynamically adding data query methods at runtime in two ways. The first method: Put the compiled Dll (Dynamic Link Library, a library containing code and data that can be shared by multiple programs) file containing the data query method into the specified directory, responsible for the service monitoring of the data query method analysis After this event, traverse the newly added data query method files in the directory and load them one by one, extract the available data query methods and their description information, and submit them to the upper-level template customization and report pages for use. The second method is shown in Figure 8: On the custom data query method page, enter the parameters, return value, purpose and other information of the data query interface, automatically generate code services, and generate a data access method source file accordingly, and Submit to the automatic compilation service, the automatic compilation service completes the compilation and transfers the compiled Dll file to the specified directory, and is further processed by the first method.

本发明方法已经在某实时支持系统中得到完全实施。如图9所示,该系统采用B/S架构,使用IIS作为应用服务器,国产通用数据库作为数据库服务器,开发了一系列的aspx页面和COM组件部署在IIS服务器上。我们成功实现了日、周、月、季、年等报告模板的定制,并利用这些模板完成了分析报告的自动生成。从图中可以看出数据存储在数据库服务器中;Word报告模板由客户端创建并最终存储在应用服务器上;包含数据查询方法及其描述信息的文件存储在应用服务器上;而出于安全性的考虑,由报告模板生成的Word报告最终也保存在数据库服务器上。The inventive method has been fully implemented in a real-time support system. As shown in Figure 9, the system adopts B/S architecture, uses IIS as the application server, and a domestic general database as the database server. A series of aspx pages and COM components are developed and deployed on the IIS server. We have successfully realized the customization of report templates such as daily, weekly, monthly, quarterly, and annual, and completed the automatic generation of analysis reports by using these templates. It can be seen from the figure that the data is stored in the database server; the Word report template is created by the client and finally stored on the application server; the file containing the data query method and its description information is stored on the application server; and for security Consider that the Word report generated by the report template is also finally saved on the database server.

图10反映了Word报告模板、数据查询方法文件、数据库、Word报告之间的关系。首先,定制模板时,利用数据查询方法文件中的数据查询方法描述信息作为Word报告模板中的数据占位符,为Word报告模板与数据库的数据之间建立了联系,而数据查询方法就是桥梁。其次,生成报告时,把Word报告模板转为Html文件,把Html文件中的数据占位符替换为Aspx数据展示控件生成Aspx页面,在Aspx后台处理文件中调用数据查询方法获取的数据并与Aspx页面控件绑定,最后利用Aspx后台传回的数据替换Word报告模板中的数据占位符,从而生成Word报告并存入数据库。Figure 10 reflects the relationship among the Word report template, data query method file, database, and Word report. First, when customizing the template, use the data query method description information in the data query method file as the data placeholder in the Word report template to establish a connection between the Word report template and the data in the database, and the data query method is a bridge. Secondly, when generating a report, convert the Word report template into an Html file, replace the data placeholders in the Html file with the Aspx data display control to generate an Aspx page, and call the data obtained by the data query method in the Aspx background processing file and compare it with the Aspx The page control is bound, and finally the data placeholder in the Word report template is replaced with the data returned by the Aspx background, thereby generating a Word report and storing it in the database.

通过本发明方法的应用,该系统成功实现了分析报告(日、周、月、季、年)的自动生成,大大减轻了报告编写人员的日常工作负担。与此同时,模板定制和报告生成对于人员没有额外的技术要求,便于系统的实施和推广;数据的查询、编辑在页面中完成并支持报告中途保存及数据继承(一份报告从另外一份报告中提取信息)等功能交互性体验良好,并且系统以业务查询方法的描述信息为基础,具备了良好的扩展性。Through the application of the method of the invention, the system successfully realizes the automatic generation of analysis reports (day, week, month, quarter, year), which greatly reduces the daily work burden of report writers. At the same time, template customization and report generation have no additional technical requirements for personnel, which is convenient for system implementation and promotion; data query and editing are completed on the page and support half-way saving of reports and data inheritance (one report from another The interactive experience of functions such as extracting information from ) is good, and the system is based on the description information of the business query method, and has good scalability.

Claims (4)

CN 2010102900782010-09-212010-09-21Extensible Word report automatically-generating method based on dynamic web pageActiveCN101976235B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN 201010290078CN101976235B (en)2010-09-212010-09-21Extensible Word report automatically-generating method based on dynamic web page

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN 201010290078CN101976235B (en)2010-09-212010-09-21Extensible Word report automatically-generating method based on dynamic web page

Publications (2)

Publication NumberPublication Date
CN101976235Atrue CN101976235A (en)2011-02-16
CN101976235B CN101976235B (en)2012-07-25

Family

ID=43576121

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN 201010290078ActiveCN101976235B (en)2010-09-212010-09-21Extensible Word report automatically-generating method based on dynamic web page

Country Status (1)

CountryLink
CN (1)CN101976235B (en)

Cited By (67)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102510377A (en)*2011-10-312012-06-20北京锐安科技有限公司Webpage interaction accelerating asynchronous data processing method and system
CN102999502A (en)*2011-09-092013-03-27腾讯科技(深圳)有限公司Method and device for expanding page tags
CN103020027A (en)*2012-11-162013-04-03北京北森测评技术有限公司Method, device and system for generating dynamic report
CN103136317A (en)*2011-11-292013-06-05北京建龙重工集团有限公司Implement method of on-line examination and approval informatization of engineering contracts in engineering management system
CN103295101A (en)*2013-05-302013-09-11福建四创软件有限公司Method for automatically generating disaster-prevention consultation report material
CN103617558A (en)*2013-11-112014-03-05贵阳供电局Method for generating voltage management report
CN103714492A (en)*2014-01-022014-04-09广西电网公司电力科学研究院Automatic report generating method capable of meeting power distribution network management specific data standards
CN104346319A (en)*2013-08-052015-02-11北大方正集团有限公司Method and system for inspecting document style
CN104380253A (en)*2012-05-162015-02-25苹果公司Cloud-based application resource files
CN104391731A (en)*2014-09-292015-03-04北京广利核系统工程有限公司Editing method based on C# and irrelevant to data types
CN104572597A (en)*2015-01-122015-04-29浪潮通用软件有限公司Automatic word analysis report generation method and device
CN104657340A (en)*2015-02-102015-05-27上海创景计算机系统有限公司 Extensible script-based Word report generation system and method
CN104750796A (en)*2014-11-132015-07-01安徽四创电子股份有限公司Method for leading out Word under BS system
CN105354301A (en)*2015-11-042016-02-24国云科技股份有限公司 A method for reorganizing Html structure and obtaining Html components by mouse click
CN105446945A (en)*2015-12-012016-03-30广东电网有限责任公司电网规划研究中心Word mark report generation method
CN105468570A (en)*2015-12-242016-04-06北京中电普华信息技术有限公司Document composition display method and device
CN105653255A (en)*2014-12-082016-06-08远光软件股份有限公司Method arranging report template to automatically generate report files in office frame
CN106446598A (en)*2016-11-152017-02-22上海派森诺生物科技股份有限公司Project paper automatic generation method
CN106776510A (en)*2016-11-172017-05-31金蝶软件(中国)有限公司Word embeds form generation method and device
CN106933862A (en)*2015-12-302017-07-07北京神州泰岳软件股份有限公司A kind of method and apparatus for generating mail report
CN107818074A (en)*2017-09-272018-03-20阿里巴巴集团控股有限公司A kind of generation method of data report, device and electronic equipment
CN107845033A (en)*2017-11-082018-03-27上海壹账通金融科技有限公司Air control report-generating method, device, equipment and computer-readable recording medium
CN107992600A (en)*2017-12-132018-05-04中国建设银行股份有限公司福建省分行A kind of method and computer equipment of intelligence generation data acquisition webpage
CN108038254A (en)*2018-02-012018-05-15北京恒华伟业科技股份有限公司The processing method and system of different type unit in file format transfer process
CN108197090A (en)*2018-02-012018-06-22北京恒华伟业科技股份有限公司The processing method and system of default value in file format transfer process
CN108257031A (en)*2017-11-092018-07-06中国平安人寿保险股份有限公司Medical insurance product dissemination method, device and storage medium
CN108460816A (en)*2017-02-282018-08-28广州慧更思通信科技有限公司A kind of interactive intelligent generation system of intelligent grid communication planning design report
CN108595398A (en)*2018-04-162018-09-28北京航空航天大学The method that artificial intelligence program substitutes person writing's simulation report
CN109240625A (en)*2018-08-092019-01-18深圳市口袋网络科技有限公司A kind of document structure tree method, apparatus and computer storage medium suitable for printing
CN109299446A (en)*2018-08-032019-02-01新华三大数据技术有限公司Report-generating method and device
CN109492175A (en)*2018-10-232019-03-19青岛海信电器股份有限公司The display methods and device of Application Program Interface, electronic equipment, storage medium
CN109522528A (en)*2018-11-132019-03-26吴昌议A kind of word document is converted to the method that can calculate automatically html document
CN109710250A (en)*2018-11-152019-05-03安徽同徽信息技术有限公司It is a kind of for constructing the visualization engine system and method for user interface
CN109800397A (en)*2017-11-162019-05-24北大方正集团有限公司Data analysis report automatic generation method, device, computer equipment and medium
CN109857670A (en)*2019-02-152019-06-07太仓市同维电子有限公司A kind of test report automatic generation method based on common template
CN109933752A (en)*2017-12-152019-06-25北京京东尚科信息技术有限公司A kind of method and apparatus exporting electronic document
CN110032718A (en)*2019-04-122019-07-19广州广燃设计有限公司A kind of table conversion method, system and storage medium
CN110070081A (en)*2019-03-132019-07-30深圳壹账通智能科技有限公司Automatic information input method, device, storage medium and electronic equipment
CN110309499A (en)*2019-07-052019-10-08广东铭太信息科技有限公司Method for generating the device and online generation examination report of examination report
CN110321539A (en)*2019-06-262019-10-11成都科鸿智信科技有限公司A kind of special equipment supervising platform report tool
CN110413977A (en)*2019-08-022019-11-05山东浪潮通软信息科技有限公司A method of based on bookmark techniques dynamic generation contract text
CN110430022A (en)*2019-08-192019-11-08深圳市鹏海运电子数据交换有限公司Data transmission method and device
CN110728127A (en)*2019-07-152020-01-24贵州科学院(贵州省应用技术研究院)Automatic generation method of biodiversity assessment report
CN110889071A (en)*2019-11-202020-03-17山东中创软件工程股份有限公司Text generation method, device and equipment and computer readable storage medium
CN111145051A (en)*2019-11-262020-05-12方正璞华软件(武汉)股份有限公司Method and device for generating arbitration electronic document
CN111178027A (en)*2019-12-092020-05-19北京尊冠科技有限公司 Report generation system and method based on online creation of templates and online specification of data
CN111274799A (en)*2020-01-092020-06-12天津车之家数据信息技术有限公司Article title generation method and device and storage medium
CN111353283A (en)*2020-01-192020-06-30上海欧易生物医学科技有限公司Automatic report generation method and generation system
CN111523296A (en)*2020-04-162020-08-11山东贝赛信息科技有限公司Method for generating public opinion report based on Selenium
CN111582518A (en)*2020-05-192020-08-25北京数字绿土科技有限公司Automatic generation method and device for power inspection report and terminal equipment
CN111831614A (en)*2019-04-152020-10-27北京智启蓝墨信息技术有限公司 Extended reading editing method, generating method, device and system in intelligent teaching material
CN112069434A (en)*2020-09-242020-12-11中盈优创资讯科技有限公司Method and device for generating word document by one key on web interface
CN112114891A (en)*2020-08-042020-12-22中国电力科学研究院有限公司 A Visual Word Report Generation System Based on Plug-in
CN112149391A (en)*2020-09-282020-12-29平安证券股份有限公司Information processing method, information processing apparatus, terminal device, and storage medium
CN112446197A (en)*2020-11-262021-03-05宁波九寰适创科技有限公司Automatic generation method of standardized report for industrial application
CN112613834A (en)*2020-12-152021-04-06北京高诚科技发展有限公司Method and system for automatically generating and reporting comprehensive traffic operation detection report
CN112651220A (en)*2021-01-282021-04-13宁夏智诚安环科技发展股份有限公司四川分公司Environmental impact evaluation report generation method and system
CN113408244A (en)*2021-06-222021-09-17平安科技(深圳)有限公司Method, device, equipment and medium for generating Word document by Java application
CN113609820A (en)*2021-07-302021-11-05中国平安财产保险股份有限公司Method, device and equipment for generating word file based on extensible markup language file
CN113793233A (en)*2021-11-152021-12-14广东卓维网络有限公司Generation processing method, system, storage medium and processor of electric power transaction contract
CN113961244A (en)*2021-12-222022-01-21深圳市明源云科技有限公司Page conversion method, device, equipment and storage medium
CN114217722A (en)*2021-12-222022-03-22沈阳东睿科技有限公司Engine file data automatic acquisition method based on dynamic binding
CN114861623A (en)*2022-05-092022-08-05深圳市富途网络科技有限公司 Method, device, electronic device and storage medium for generating protocol template
CN115310413A (en)*2022-04-132022-11-08北京梦天门科技股份有限公司Epidemiological survey report generation method and device, storage medium and electronic equipment
CN115809652A (en)*2023-01-282023-03-17北京蓝色星际科技股份有限公司Method and device for automatically synthesizing red-header file
CN116226053A (en)*2023-05-052023-06-06中国民航信息网络股份有限公司Text processing method, device and equipment
CN118761395A (en)*2024-07-162024-10-11国网江苏省电力有限公司南通供电分公司 A method and system for automatically generating equipment maintenance test report in a substation

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20070055688A1 (en)*2005-09-082007-03-08International Business Machines CorporationAutomatic report generation
CN101499057A (en)*2008-01-292009-08-05鸿富锦精密工业(深圳)有限公司Electronic document generating system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20070055688A1 (en)*2005-09-082007-03-08International Business Machines CorporationAutomatic report generation
CN101499057A (en)*2008-01-292009-08-05鸿富锦精密工业(深圳)有限公司Electronic document generating system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《中国测试技术》 20070731 金良锋 WORD试验报告的自动生成 112-115 1-4 第33卷, 第4期 2*
《机械设计与制造》 20010630 王成志 用DELPHI编写基于WORD的工程技术文档自动生成系统 25-27 1-4 , 第3期 2*

Cited By (96)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102999502B (en)*2011-09-092015-08-05腾讯科技(深圳)有限公司The method and apparatus of expansion page-tag
CN102999502A (en)*2011-09-092013-03-27腾讯科技(深圳)有限公司Method and device for expanding page tags
CN102510377A (en)*2011-10-312012-06-20北京锐安科技有限公司Webpage interaction accelerating asynchronous data processing method and system
CN103136317A (en)*2011-11-292013-06-05北京建龙重工集团有限公司Implement method of on-line examination and approval informatization of engineering contracts in engineering management system
US10387132B2 (en)2012-05-162019-08-20Apple Inc.Cloud-based application resource files
CN104380253B (en)*2012-05-162017-07-04苹果公司Application resource file based on high in the clouds
CN104380253A (en)*2012-05-162015-02-25苹果公司Cloud-based application resource files
CN103020027A (en)*2012-11-162013-04-03北京北森测评技术有限公司Method, device and system for generating dynamic report
CN103295101A (en)*2013-05-302013-09-11福建四创软件有限公司Method for automatically generating disaster-prevention consultation report material
CN104346319A (en)*2013-08-052015-02-11北大方正集团有限公司Method and system for inspecting document style
CN104346319B (en)*2013-08-052017-04-26北大方正集团有限公司Method and system for inspecting document style
CN103617558A (en)*2013-11-112014-03-05贵阳供电局Method for generating voltage management report
CN103714492A (en)*2014-01-022014-04-09广西电网公司电力科学研究院Automatic report generating method capable of meeting power distribution network management specific data standards
CN104391731A (en)*2014-09-292015-03-04北京广利核系统工程有限公司Editing method based on C# and irrelevant to data types
CN104391731B (en)*2014-09-292018-12-21北京广利核系统工程有限公司A kind of edit methods unrelated with data type based on C#
CN104750796A (en)*2014-11-132015-07-01安徽四创电子股份有限公司Method for leading out Word under BS system
CN105653255A (en)*2014-12-082016-06-08远光软件股份有限公司Method arranging report template to automatically generate report files in office frame
CN105653255B (en)*2014-12-082018-07-27远光软件股份有限公司A method of report template is set in OFFICE frames to automatically generate report file
CN104572597A (en)*2015-01-122015-04-29浪潮通用软件有限公司Automatic word analysis report generation method and device
CN104657340B (en)*2015-02-102018-09-11上海创景信息科技有限公司 Extensible script-based Word report generation system and method
CN104657340A (en)*2015-02-102015-05-27上海创景计算机系统有限公司 Extensible script-based Word report generation system and method
CN105354301A (en)*2015-11-042016-02-24国云科技股份有限公司 A method for reorganizing Html structure and obtaining Html components by mouse click
CN105354301B (en)*2015-11-042019-02-01国云科技股份有限公司Method for recombining Html structure and obtaining Html component through mouse clicking
CN105446945A (en)*2015-12-012016-03-30广东电网有限责任公司电网规划研究中心Word mark report generation method
CN105446945B (en)*2015-12-012017-12-01广东电网有限责任公司电网规划研究中心Word marks report-generating method
CN105468570B (en)*2015-12-242019-03-12北京中电普华信息技术有限公司 Method and device for document synthesis and presentation
CN105468570A (en)*2015-12-242016-04-06北京中电普华信息技术有限公司Document composition display method and device
CN106933862A (en)*2015-12-302017-07-07北京神州泰岳软件股份有限公司A kind of method and apparatus for generating mail report
CN106933862B (en)*2015-12-302020-02-04北京神州泰岳软件股份有限公司Method and device for generating mail report
CN106446598A (en)*2016-11-152017-02-22上海派森诺生物科技股份有限公司Project paper automatic generation method
CN106776510A (en)*2016-11-172017-05-31金蝶软件(中国)有限公司Word embeds form generation method and device
CN108460816A (en)*2017-02-282018-08-28广州慧更思通信科技有限公司A kind of interactive intelligent generation system of intelligent grid communication planning design report
CN107818074A (en)*2017-09-272018-03-20阿里巴巴集团控股有限公司A kind of generation method of data report, device and electronic equipment
CN107845033A (en)*2017-11-082018-03-27上海壹账通金融科技有限公司Air control report-generating method, device, equipment and computer-readable recording medium
CN108257031A (en)*2017-11-092018-07-06中国平安人寿保险股份有限公司Medical insurance product dissemination method, device and storage medium
CN109800397B (en)*2017-11-162020-12-04北大方正集团有限公司 Method, apparatus, computer equipment and medium for automatic generation of data analysis report
CN109800397A (en)*2017-11-162019-05-24北大方正集团有限公司Data analysis report automatic generation method, device, computer equipment and medium
CN107992600A (en)*2017-12-132018-05-04中国建设银行股份有限公司福建省分行A kind of method and computer equipment of intelligence generation data acquisition webpage
CN109933752A (en)*2017-12-152019-06-25北京京东尚科信息技术有限公司A kind of method and apparatus exporting electronic document
CN108038254A (en)*2018-02-012018-05-15北京恒华伟业科技股份有限公司The processing method and system of different type unit in file format transfer process
CN108197090A (en)*2018-02-012018-06-22北京恒华伟业科技股份有限公司The processing method and system of default value in file format transfer process
CN108038254B (en)*2018-02-012022-12-09北京恒华伟业科技股份有限公司Method and system for processing different types of units in file format conversion process
CN108595398A (en)*2018-04-162018-09-28北京航空航天大学The method that artificial intelligence program substitutes person writing's simulation report
CN109299446A (en)*2018-08-032019-02-01新华三大数据技术有限公司Report-generating method and device
CN109299446B (en)*2018-08-032022-08-12新华三大数据技术有限公司Report generation method and device
CN109240625A (en)*2018-08-092019-01-18深圳市口袋网络科技有限公司A kind of document structure tree method, apparatus and computer storage medium suitable for printing
CN109492175A (en)*2018-10-232019-03-19青岛海信电器股份有限公司The display methods and device of Application Program Interface, electronic equipment, storage medium
CN109522528A (en)*2018-11-132019-03-26吴昌议A kind of word document is converted to the method that can calculate automatically html document
CN109710250B (en)*2018-11-152022-05-31安徽同徽信息技术有限公司Visualization engine system and method for constructing user interface
CN109710250A (en)*2018-11-152019-05-03安徽同徽信息技术有限公司It is a kind of for constructing the visualization engine system and method for user interface
CN109857670A (en)*2019-02-152019-06-07太仓市同维电子有限公司A kind of test report automatic generation method based on common template
CN109857670B (en)*2019-02-152022-02-22太仓市同维电子有限公司Test report automatic generation method based on universal template
CN110070081A (en)*2019-03-132019-07-30深圳壹账通智能科技有限公司Automatic information input method, device, storage medium and electronic equipment
CN110032718B (en)*2019-04-122023-04-18广州广燃设计有限公司Table conversion method, system and storage medium
CN110032718A (en)*2019-04-122019-07-19广州广燃设计有限公司A kind of table conversion method, system and storage medium
CN111831614A (en)*2019-04-152020-10-27北京智启蓝墨信息技术有限公司 Extended reading editing method, generating method, device and system in intelligent teaching material
CN110321539A (en)*2019-06-262019-10-11成都科鸿智信科技有限公司A kind of special equipment supervising platform report tool
CN110309499B (en)*2019-07-052020-07-17广东铭太信息科技有限公司Device for generating examination report and method for generating examination report online
CN110309499A (en)*2019-07-052019-10-08广东铭太信息科技有限公司Method for generating the device and online generation examination report of examination report
CN110728127A (en)*2019-07-152020-01-24贵州科学院(贵州省应用技术研究院)Automatic generation method of biodiversity assessment report
CN110728127B (en)*2019-07-152023-09-12贵州科学院(贵州省应用技术研究院)Automatic generation method of biodiversity assessment report
CN110413977A (en)*2019-08-022019-11-05山东浪潮通软信息科技有限公司A method of based on bookmark techniques dynamic generation contract text
CN110430022A (en)*2019-08-192019-11-08深圳市鹏海运电子数据交换有限公司Data transmission method and device
CN110889071A (en)*2019-11-202020-03-17山东中创软件工程股份有限公司Text generation method, device and equipment and computer readable storage medium
CN111145051A (en)*2019-11-262020-05-12方正璞华软件(武汉)股份有限公司Method and device for generating arbitration electronic document
CN111178027A (en)*2019-12-092020-05-19北京尊冠科技有限公司 Report generation system and method based on online creation of templates and online specification of data
CN111274799A (en)*2020-01-092020-06-12天津车之家数据信息技术有限公司Article title generation method and device and storage medium
CN111274799B (en)*2020-01-092023-06-23天津车之家数据信息技术有限公司Article title generation method, device and storage medium
CN111353283B (en)*2020-01-192021-09-10上海欧易生物医学科技有限公司Automatic webpage report generation method and generation system
CN111353283A (en)*2020-01-192020-06-30上海欧易生物医学科技有限公司Automatic report generation method and generation system
CN111523296A (en)*2020-04-162020-08-11山东贝赛信息科技有限公司Method for generating public opinion report based on Selenium
CN111582518A (en)*2020-05-192020-08-25北京数字绿土科技有限公司Automatic generation method and device for power inspection report and terminal equipment
CN112114891A (en)*2020-08-042020-12-22中国电力科学研究院有限公司 A Visual Word Report Generation System Based on Plug-in
CN112069434A (en)*2020-09-242020-12-11中盈优创资讯科技有限公司Method and device for generating word document by one key on web interface
CN112149391A (en)*2020-09-282020-12-29平安证券股份有限公司Information processing method, information processing apparatus, terminal device, and storage medium
CN112446197A (en)*2020-11-262021-03-05宁波九寰适创科技有限公司Automatic generation method of standardized report for industrial application
CN112446197B (en)*2020-11-262024-02-02宁波九寰适创科技有限公司Automatic standardized report generation method for industrial application
CN112613834A (en)*2020-12-152021-04-06北京高诚科技发展有限公司Method and system for automatically generating and reporting comprehensive traffic operation detection report
CN112651220A (en)*2021-01-282021-04-13宁夏智诚安环科技发展股份有限公司四川分公司Environmental impact evaluation report generation method and system
CN113408244B (en)*2021-06-222023-08-22平安科技(深圳)有限公司Method, device, equipment and medium for generating Word document by Java application
CN113408244A (en)*2021-06-222021-09-17平安科技(深圳)有限公司Method, device, equipment and medium for generating Word document by Java application
CN113609820A (en)*2021-07-302021-11-05中国平安财产保险股份有限公司Method, device and equipment for generating word file based on extensible markup language file
CN113609820B (en)*2021-07-302024-04-30中国平安财产保险股份有限公司Method, device and equipment for generating word file based on extensible markup language file
CN113793233A (en)*2021-11-152021-12-14广东卓维网络有限公司Generation processing method, system, storage medium and processor of electric power transaction contract
CN114217722A (en)*2021-12-222022-03-22沈阳东睿科技有限公司Engine file data automatic acquisition method based on dynamic binding
CN114217722B (en)*2021-12-222024-05-17沈阳东睿科技有限公司Automatic engine file data acquisition method based on dynamic binding
CN113961244A (en)*2021-12-222022-01-21深圳市明源云科技有限公司Page conversion method, device, equipment and storage medium
CN113961244B (en)*2021-12-222022-04-08深圳市明源云科技有限公司Page conversion method, device, equipment and storage medium
CN115310413B (en)*2022-04-132023-07-18北京梦天门科技股份有限公司Epidemiological investigation report generation method, epidemiological investigation report generation device, storage medium and electronic equipment
CN115310413A (en)*2022-04-132022-11-08北京梦天门科技股份有限公司Epidemiological survey report generation method and device, storage medium and electronic equipment
CN114861623A (en)*2022-05-092022-08-05深圳市富途网络科技有限公司 Method, device, electronic device and storage medium for generating protocol template
CN115809652B (en)*2023-01-282023-05-23北京蓝色星际科技股份有限公司Method and device for automatically synthesizing red header file
CN115809652A (en)*2023-01-282023-03-17北京蓝色星际科技股份有限公司Method and device for automatically synthesizing red-header file
CN116226053A (en)*2023-05-052023-06-06中国民航信息网络股份有限公司Text processing method, device and equipment
CN116226053B (en)*2023-05-052024-03-22中国民航信息网络股份有限公司Text processing method, device and equipment
CN118761395A (en)*2024-07-162024-10-11国网江苏省电力有限公司南通供电分公司 A method and system for automatically generating equipment maintenance test report in a substation

Also Published As

Publication numberPublication date
CN101976235B (en)2012-07-25

Similar Documents

PublicationPublication DateTitle
CN101976235B (en)Extensible Word report automatically-generating method based on dynamic web page
CN108491205B (en)Front-end webpage development method and system based on component tree
US7624114B2 (en)Automatically generating web forms from database schema
US8856645B2 (en)Generating formatted documents based on collected data content
US12190053B2 (en)Providing operations in accordance with worksheet relationships and data object relationships
CN102096581B (en)Method and device for generating widget
CN113961183B (en)Visual programming method, device, equipment and storage medium
CN102521230A (en)Result types for conditional data display
TWI438638B (en) Integration of Easy Information Aggregate Files
US20080229305A1 (en)Workflow management system
JP4133549B2 (en) Structured document file management apparatus and structured document file management method
KR20050071720A (en)Methods for dynamically building the home page and apparatus embodied on the web therefor
Zhekova et al.JavaScript Web Scraping Tool for Extraction Information from Agriculture Websites
WO2010147453A1 (en)System and method for designing a gui for an application program
Miles-Board et al.Supporting management reporting: a writable web case study
Namee et al.A form and API data management platform for progressive web application and serverless application architecture
CN102446199B (en)Method for integrating really simple syndication files
Gruenpeter et al.Software Stories for landmark legacy code
Le et al.Dpaper: An Authoring Tool for Extractable Digital Papers
VogelDisplaying Data on the Web
Ding et al.Component-based records: A novel method to record transaction design work
MenesesExploring the biography and artworks of Picasso with interactive calendars and timelines
Tanaka et al.Meme media architecture for the reediting and redistribution of web resources
Bondarenko et al.Usage of adaptive design technologies for the designing of a web application for analysis of the efficiency of solar panels
Wu et al.Annotating Web archives—structure, provenance, and context through archival cataloguing

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp