TWI742549B - A report generating method and system under multi-dimension template technology - Google Patents
A report generating method and system under multi-dimension template technology Download PDFInfo
- Publication number
- TWI742549B TWI742549B TW109106761A TW109106761A TWI742549B TW I742549 B TWI742549 B TW I742549B TW 109106761 A TW109106761 A TW 109106761A TW 109106761 A TW109106761 A TW 109106761A TW I742549 B TWI742549 B TW I742549B
- Authority
- TW
- Taiwan
- Prior art keywords
- template
- report
- data
- level
- database
- Prior art date
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本發明係關於一種多維度模板之報告書產出方法與系統。 The present invention relates to a method and system for generating a multi-dimensional template report.
製作報告書對於工商社會是不可缺少的文書工作,例如:公司營運年報、專案結案報告、設備檢測報告等等。不同於一般報表的單一格式之多頁呈現,報告書的組成就像一本書,包含了封面、目錄、頁首、頁尾、頁碼,以及不同條件下的不同的章節內文之組合,每一頁的格式基本上都是相異的,所以不是傳統的報表開發工具和設計技術所能夠處理的。因此,一份完整、有組織的報告書,就需要大量人力予以編排,效率上著實低落。對於某些經常需要大量產生報告書的服務單位或者機構,報告書的整理通常是最大的問題,因為針對不同需求或者目的的報告書,雖然樣式大同小異卻必須因為每種不同的需求、目的而調整報告書的模板,而此一需求/問題則會讓報告書的模板版本必須不斷的擴充,導致模板管理困難的技術問題。 Making reports is an indispensable paperwork for the industrial and commercial society, such as: company operating annual reports, project closure reports, equipment inspection reports, and so on. Different from the multi-page presentation in a single format of a general report, the report is composed of a book, including a cover, a table of contents, a header, a footer, a page number, and a combination of different chapters and texts under different conditions. Each The format of the page is basically different, so it cannot be handled by traditional report development tools and design techniques. Therefore, a complete and organized report requires a lot of manpower to compile, and the efficiency is really low. For some service units or organizations that often need to produce a large number of reports, the organization of reports is usually the biggest problem, because the reports for different needs or purposes, although the styles are similar, must be adjusted for each different need and purpose. The template of the report, and this requirement/problem will make the template version of the report have to be continuously expanded, leading to technical problems that are difficult for template management.
為了解決現有的報告書的產出過程需要大量人工逐一輸入導致工作煩冗的技術問題與產出物的品質問題,而且,對於標準模板為了必須配合不同目的與需求而必須大量管理不同的模板導致管理困難的技術問題而發明此方法。本發明提出一種多維度模板之報告書產出方法與系統,其包含一資料庫以及一報告書產出引擎,該資料庫以茲資料庫檔案格式儲存一資料,該報告書產出引擎依據使用者的定義由該資料庫取得資料,寫入其所定義的多維度模板 的對應欄位,該報告書產出引擎則驅動該資料庫由該資料收集介面取得資料,其中,報告書產出引擎定義所產出一報告之一架構與一內容,且該報告書產出引擎由該資料庫取得所要填入該架構的該內容,並依據使用者的要求予以聚合到各層級模板後完成該報告書的生產。 In order to solve the existing report output process, a large amount of manual input is required to input the technical problems and the quality of the output, which leads to tedious work and the quality of the output. Moreover, for the standard template, it is necessary to manage a large number of different templates in order to meet different purposes and needs. Invented this method for managing difficult technical problems. The present invention provides a multi-dimensional template report generation method and system, which includes a database and a report generation engine. The database stores a data in a database file format. The report generation engine is used according to The definition of the person is obtained from the database and written into the multi-dimensional template defined by it The report output engine drives the database to obtain data from the data collection interface. The report output engine defines the structure and content of a report produced, and the report output The engine obtains the content to be filled in the framework from the database, and aggregates it into templates at various levels according to the user's requirements to complete the production of the report.
其中,該多維度模板之報告書產出方法與系統包含一資料收集介面連接該資料庫,該資料收集介面接受一數據資料,轉換為該資料庫檔案格式後儲存於該資料庫內。 Wherein, the multi-dimensional template report generation method and system includes a data collection interface connected to the database, the data collection interface accepts a data data, converts it into the database file format, and stores it in the database.
其中,該報告書產出引擎之該模板包含多層次、複數個可定義的一屬性、一靜態資料以及一動態資料。 Among them, the template of the report output engine includes multiple levels, a plurality of definable attributes, a static data, and a dynamic data.
本發明又提出一種報告書產出方法,其步驟包含:接受選取一報告書模板,該報告書模板至少包含一第一階模板、從屬於該第一階模板之複數個第二階模板,其中,至少其中之一該第二階模板包含一屬性;由讀取一待輸入資料,其中該待輸入資料與該報告書模板格式之欄位對應;判斷該待輸入資料之型態與屬性;依據該待輸入資料的形態與屬性調整對應的該報告書模板的屬性;及將該待輸入資料輸入該報告書模板內。 The present invention also provides a report generation method, the steps of which include: accepting selection of a report template, the report template including at least a first-level template, and a plurality of second-level templates subordinate to the first-level template, wherein , At least one of the second-level templates includes an attribute; by reading a data to be input, the data to be input corresponds to the field of the report template format; judging the type and attribute of the data to be input; according to The form and attribute adjustment of the data to be input corresponds to the attribute of the report template; and the data to be input is input into the report template.
基於前述說明可知,本發明提出一種多維度模板之報告書產出方法與系統,其可以透過該報告書產出引擎,於檢測結果完成輸入後,依據選定的報告書格式後,於該資料庫內取得資料、該報告書產出引擎所定義的各階模板之屬性,將該資料之內容予以填入各模板內產生一報告書。如此,本發明解決現有技術中,單一層級的模板所引發的功能不足問題,以及複雜的版本管理 問題,也同時達成報告書產出自動化的技術效果。 Based on the foregoing description, the present invention proposes a multi-dimensional template report generation method and system, which can use the report generation engine, after the test results are input, according to the selected report format, in the database Obtain the data and the attributes of each level template defined by the report output engine, and fill in the content of the data into each template to generate a report. In this way, the present invention solves the problem of insufficient functions caused by a single-level template and complicated version management in the prior art. At the same time, it also achieved the technical effect of automating the report output.
10:資料收集介面 10: Data collection interface
20:資料庫 20: Database
30:報告書產出引擎 30: Report output engine
32:第一階模板 32: First-order template
34:第二階模板 34: second order template
36:第三階模板 36: Third-order template
A:資料 A: Information
B:報告 B: report
X:檔案號架構 X: File number structure
Y:頁首規格架構 Y: top specification structure
Z:表格架構 Z: table structure
P:靜態資料 P: Static data
Q:動態資料 Q: Dynamic data
圖1為本發明較佳實施例之架構示意圖。 FIG. 1 is a schematic diagram of the structure of a preferred embodiment of the present invention.
圖2為本發明較佳實施例之多維度模板架構圖。 FIG. 2 is a diagram of a multi-dimensional template architecture of a preferred embodiment of the present invention.
圖3A與圖3B為本發明較佳實施例之多維度模板資料聚合實作範例。 3A and 3B are examples of implementation of multi-dimensional template data aggregation according to a preferred embodiment of the present invention.
圖4A~4C為本發明較佳實施例之報告書架構與產出範例 4A~4C are the report structure and output example of the preferred embodiment of the present invention
請參考圖1,本發明之多維度模板之報告書產出方法與系統包含互相訊號連接之一資料收集介面10、一資料庫20以及一報告書產出引擎30。
Please refer to FIG. 1, the multi-dimensional template report generation method and system of the present invention includes a
該資料收集介面10以一接收程序取得外部的一資料A,判斷該資料A之一格式以及一數值內容予以辨識後,輸出至該資料庫。所謂的接收程序為該資料收集介面10接收外部的一設備、一載體等該資料A之資訊來源取得一數據資料。所謂的該設備可以是檢測設備種類不限定,可以是重量、光學、材質、表面特徵、結構、力學等特徵的檢測設備。該資料收集介面由該些設備取得該數據資料;或者,也可由該載體、該檔案讀入該數據資料。其中,該載體可能包含所有可以儲存檔案的軟體、硬體或網路,例如光碟、硬碟、磁碟、網路等。該數據資料的形式不限定可以如CSV、EXCEL、HTML、TXT、WORD...等。
The
該資料收集介面10取得該資料A之後,辨識該資料A之格式與數值內容,並以該資料庫20預先設定的一資料庫檔案格式予以儲存該資料A。該資料庫20配合不同的該設備、該載體,預先定義該資料庫檔案格式,例如,該資料A為EXCEL檔案,而該EXCEL檔案的欄位數量、工作表名稱、欄位名稱、數量、長度等則為該格式,而每個欄位內的數據或文字則為該數值內容。該資料庫配合該格式與該數值內容預先定義每種不同該資料A中對應的該資料庫檔案
格式,並將該數值內容予以儲存。換言之,每個該資料A的格式與數值內容各有不同,該資料庫20需對應每種資料A定義該資料庫檔案格式,以於該資料庫20判斷該資料A後予以該資料庫檔案格式予以儲存。
After the
請配合參考圖2、3,該報告書產出引擎30由該資料庫20取得資料,寫入其所定義的複數階的模板,該報告書產出引擎30驅動該資料庫20由該資料收集介面10取得資料,其中,該報告書產出引擎30定義所產出一報告B之一架構與一內容,且該報告書產出引擎30由該資料庫20取得所要填入該架構的該內容,予以輸入後完成該報告B而予以輸出。前述該內容係以預先定義的該資料庫檔案格式儲存於該資料庫20。該報告B之該架構則是由預先選用的該模板所組成,舉例而言,該報告B的該架構是由3個第一階模板組合,而每個第一階模板可能依據需求包含不同功能與配置的第二階模板,相應地,每個第二階模板也可由一個以上的該第三階模板組合。
Please refer to Figures 2 and 3, the
每個該模板內包含複數個可定義的一格式、一屬性、一靜態資料P以及一動態資料Q。請配合參考圖3A,本實施例包含三個階層的該模板包含一第一階模板32、一第二階模板34、一第三階模板36,該第一階模板32定義該報告B的基礎架構,例如一封面、一首頁、一尾頁、一目錄、一附錄、一章節、一附圖...等。每個該第一階模板32包含一個以上的第二階模板34,每個該第二階模板34細部定義該第一階模板32中的一架構。以下舉例說明:
Each template contains a plurality of definable formats, attributes, static data P and dynamic data Q. Please refer to FIG. 3A. In this embodiment, the three-level template includes a first-
範例1:該第一階模板32定義的是一份報告書的封面格式、目錄格式與顯示樣態等,而第二階模板34則可以是定義該報告中章節的顯示樣態與內部呈現數據、圖表的編排與顯示樣態,例如邊框、表格配置位置、字元格式(字型、大小、顏色)、跳行規則、空格型態等。
Example 1: The first-
範例2:該第一階模板32定義特定章節的內部顯示數據內容與基礎編排樣態,該第二階模板34則定義該特定章節中之面的該靜態資料以及該動
態資料之進階配置。
Example 2: The first-
請配合參考圖3B,該架構可例如但不限於下列範例:一檔案號架構X、一頁首規格架構Y、一表格架構Z等,以下舉例說明:該檔案號碼架構X為定義於該第二階模板34內的特定位置可包含該靜態資料與該動態資料規定的區域,例如Report No.屬於該靜態資料,該E5/2019/50001則屬於該報告書的該動態資料,該屬性則定義該靜態資料與該動態資料的數值格式、大小、種類、行距...等,使該動態資料與該靜態資料由該資料庫20讀取。
Please refer to Figure 3B. The structure can be such as but not limited to the following examples: a file number structure X, a header specification structure Y, a table structure Z, etc. The following example illustrates: the file number structure X is defined in the second The specific location in the
該頁首規格架構Y定義該第二階模板34之表單版本、發行人資訊等。
The header specification framework Y defines the form version, issuer information, etc. of the second-
該表格架構Z定義該第二階模板34之表格之進階配置,例如欄位、樣態,例如表格的欄位數量、表格於該報告中的位置。
The table structure Z defines the advanced configuration of the table of the second-
該第三階模板36進一步定義該第一階、該第二階模板34之所有內容呈現中的該靜態資料以及該動態資料以及其對應的該屬性,例如該第二階模板34之一儲存格(動態資料)的合併條件、內部所填入資料格式等該屬性資料。如圖3A所示,其為一天線檢測報告之其中一個頁面,該第二階模板34之該架構定義其表格位置、格式、欄位等,該第三階模板36則定義該第二階模板34之該架構內的該屬性,例如該天線檢測報告中表格的內容與數值長度、中英文、內容種類、資料變數等,亦即,本實施例之該第三階模板36定義該第二階模板34中的輸入資料之被處理屬性以及一輸出資料之被處理屬性。
The third-
範例3:以圖3A、3B、圖4A~C為範例,該資料庫20中,將一網路分析設備完成檢測待測天線的數值以該資料庫檔案格式予以儲存於該資料庫內,其中該資料庫檔案格式包含對應該第二階模板34所定義的該靜態資料P、該動態資料Q之數值與內容。該報告書產出引擎30於決定產生該報告B時,由該資
料庫20取得該內容填入該第二階模板34所定義的表格,其中,填入該表格時,該報告書產出引擎30依據各階模板32~36之屬性而將該內容登載於該模板內。
Example 3: Taking Figures 3A, 3B, and Figures 4A~C as examples, in the
進一步地,將該靜態資料P、該動態資料Q由該資料庫20輸入該報告B中時,由於該模板34、36內可包含屬性的設定,該靜態資料P、該動態資料Q等內容輸入該報告B時,該報告產生引擎30判斷該靜態資料P、該動態資料Q之內容規格,配合調整該模板34、36之屬性,使具有不同內容規格的該靜態資料P、該動態資料Q可以調整該模板34、36之屬性,讓性質相同但是數量不同的資料可以採用相同的該模板32、34、36。以實際範例說明:
Further, when the static data P and the dynamic data Q are input into the report B from the
範例4:該報告產生引擎30導入該資料庫20內的一天線測試數據於預先選好該模板32、34、36之一份該報告B中,其中,該天線測試數據因為不同的天線型號的差異而有不同數量的檢測結果,例如,減少或增加一個欄位的檢測數據。本實施例該報告產生引擎30於收到不同筆數量的檢測結果後,透過該模板34或該模板36之屬性調整,使報告B中對應顯示天線檢測數據的一表格得透過屬性的調整,產生增減欄位、合併欄位等效果。由此可知,本實施例在產生該報告B時,可以使用相同的該模板32、34、36,導入檢測結果之後,直接完成該報告B。
Example 4: The
該報告產生引擎30透過一報告書產出方法完成產生該報告B,其步驟可包含:接受選取一報告書模板,該報告書模板至少包含一第一階模板、從屬於該第一階模板之複數個第二階模板,其中,至少其中之一該第二階模板包含一屬性;由讀取一待輸入資料,其中該待輸入資料與該報告書模板格式對應;判斷該待輸入資料之型態;
依據該待輸入資料的形態調整對應的該報告書模板的屬性;及將該待輸入資料輸入該報告書模板內。
The
基於前述說明可知,本發明提出一種多維度模板之報告書產出方法與系統,其可以透過該報告書產出引擎,於檢測結果完成輸入後,依據選定的報告格式後,於該資料庫內取得資料、該報告書產出引擎所定義的各階模板之屬性,將該資料之內容予以填入各模板內產生一報告。如此,本發明解決現有技術中,複雜的版本管理問題,也同時達成報告產生自動化的技術效果。 Based on the foregoing description, the present invention proposes a multi-dimensional template report generation method and system, which can use the report generation engine to input the test results in the database according to the selected report format. Obtain the data and the attributes of each level template defined by the report output engine, and fill in the content of the data into each template to generate a report. In this way, the present invention solves the complicated version management problem in the prior art, and at the same time achieves the technical effect of automatic report generation.
10:資料收集介面 10: Data collection interface
20:資料庫 20: Database
30:報告書產出引擎 30: Report output engine
A:資料 A: Information
B:報告書 B: report
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109106761A TWI742549B (en) | 2020-03-02 | 2020-03-02 | A report generating method and system under multi-dimension template technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109106761A TWI742549B (en) | 2020-03-02 | 2020-03-02 | A report generating method and system under multi-dimension template technology |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202134902A TW202134902A (en) | 2021-09-16 |
TWI742549B true TWI742549B (en) | 2021-10-11 |
Family
ID=78777337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109106761A TWI742549B (en) | 2020-03-02 | 2020-03-02 | A report generating method and system under multi-dimension template technology |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI742549B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101208694A (en) * | 2005-04-25 | 2008-06-25 | 株式会社Ipb | Device for automatically creating information analysis report, program for automatically creating information analysis report, and method for automatically creating information analysis report |
US8700632B2 (en) * | 2011-05-26 | 2014-04-15 | Ixia | Managing heterogeneous data |
TW201539217A (en) * | 2014-02-04 | 2015-10-16 | Ubic Inc | A document analysis system, document analysis method and document analysis program |
CN107636703A (en) * | 2015-06-15 | 2018-01-26 | 三菱电机大楼技术服务株式会社 | Multidimensional data analysis servicing unit |
-
2020
- 2020-03-02 TW TW109106761A patent/TWI742549B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101208694A (en) * | 2005-04-25 | 2008-06-25 | 株式会社Ipb | Device for automatically creating information analysis report, program for automatically creating information analysis report, and method for automatically creating information analysis report |
US8700632B2 (en) * | 2011-05-26 | 2014-04-15 | Ixia | Managing heterogeneous data |
TW201539217A (en) * | 2014-02-04 | 2015-10-16 | Ubic Inc | A document analysis system, document analysis method and document analysis program |
CN107636703A (en) * | 2015-06-15 | 2018-01-26 | 三菱电机大楼技术服务株式会社 | Multidimensional data analysis servicing unit |
Also Published As
Publication number | Publication date |
---|---|
TW202134902A (en) | 2021-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190272329A1 (en) | Statistical process control and analytics for translation supply chain operational management | |
US7750924B2 (en) | Method and computer-readable medium for generating graphics having a finite number of dynamically sized and positioned shapes | |
CN106599039B (en) | Statistical representation method supporting free combination nesting of relational database data | |
CN110543303B (en) | Visual service platform | |
US20080082908A1 (en) | Apparatus and method for data charting with adaptive learning | |
CN105224631B (en) | The method built the system of the open cloud of industry and work out XBRL financial statement | |
Bornmann et al. | Count highly-cited papers instead of papers with h citations: Use normalized citation counts and compare “like with like”! | |
KR20060106648A (en) | Association and visualization of schematized business networks | |
CN107220274B (en) | Visual data interface market realization method | |
US20120265720A1 (en) | Infrastructure and architecture for development and execution of predictive models | |
CN110968996B (en) | Document making method, device, equipment and storage medium | |
CN111914135A (en) | Data query method and device, electronic equipment and storage medium | |
CN108984155A (en) | Flow chart of data processing setting method and device | |
CN104731588B (en) | Page layout document generating method and page layout file creating apparatus | |
WO2021068692A1 (en) | Method, apparatus and device for workflow migration, and computer-readable storage medium | |
CN115840567A (en) | Application editing method and related equipment | |
CN114547077A (en) | Intelligent processing system and method for basic government affair form data | |
US7992126B2 (en) | Apparatus and method for quantitatively measuring the balance within a balanced scorecard | |
CN102156645A (en) | System and method for generating report | |
TWI742549B (en) | A report generating method and system under multi-dimension template technology | |
CN116644728B (en) | Contract generation method and system based on clause digitization | |
CN102043769A (en) | Method and device for editing documents | |
CN110502735B (en) | Method and system for quickly manufacturing universal process file of electronic equipment | |
CN111159991A (en) | Report modeling design device and method | |
US20110231360A1 (en) | Persistent flow method to define transformation of metrics packages into a data store suitable for analysis by visualization |