CN101630283A - System and method for automatically generating report - Google Patents
System and method for automatically generating report Download PDFInfo
- Publication number
- CN101630283A CN101630283A CN200810302761A CN200810302761A CN101630283A CN 101630283 A CN101630283 A CN 101630283A CN 200810302761 A CN200810302761 A CN 200810302761A CN 200810302761 A CN200810302761 A CN 200810302761A CN 101630283 A CN101630283 A CN 101630283A
- Authority
- CN
- China
- Prior art keywords
- report
- data
- test
- data source
- automatic generation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention provides a method for automatically generating a report, which comprises the following steps: importing a report template and a data source, wherein the report template is used for setting items of the report; extracting data corresponding to the items in the imported data source, and filling the data in corresponding positions in the report; and outputting the filled report. The invention also provides a system for automatically generating the report. The system and the method for automatically generating the report improve the efficiency of generating the report, and avoid man-made errors.
Description
Technical field
The present invention relates to a kind of system and method that generates report, particularly the system and method for reporting about a kind of automatic generation.
Background technology
PCIE is a kind of new bus and interface standard, and SATA is the hard-disk interface of present main flow, and both have obtained widespread use on computers.Often need carry out PCIE and SATA test in the computer testing.In present test process, the tester utilizes oscillograph acquired signal waveform, by dedicated analysis software (as SIGTEST) signal waveform is analyzed then, obtains the test data source.The test data source that SIGTEST obtains is typically expressed as html format, and wherein many information are not suitable as the content of test report.Usually need the tester from the test data source, to select the test event of needs, its result is manually inserted in the test report.Fill in test report according to the test data source and require a great deal of time, and the artificial test report that generates is also made mistakes than being easier to.
Summary of the invention
In view of above content, be necessary to provide a kind of system that generates report according to data source automatically.
In addition, also be necessary to provide a kind of and generate method of reporting automatically according to data source.
A kind of system of automatic generation report, this system comprises: import module, be used for Import Reports template and data source, described report template is used to set each project of report; Data extraction module is used for extracting each corresponding items data from the data source that imports, and inserts corresponding position in the report; And the report output module, be used to export the report of filling in.
A kind of automatic generation method of reporting, the method comprising the steps of: Import Reports template and data source, described report template are used to set each project of report; From the data source that imports, extract each corresponding items data, and insert corresponding position in the report; Reach the report that output is filled in.
The system and method that the present invention generates report has automatically improved the efficient of generation report, and has avoided mistake.
Description of drawings
Fig. 1 generates the functional block diagram of the system of report automatically for the present invention.
The test report synoptic diagram of Fig. 2 for generating.
Fig. 3 generates the method for reporting process flow diagram automatically for the present invention.
Embodiment
Consulting shown in Figure 1ly, is the functional block diagram that the present invention generates the system of report automatically.The system that should generate report automatically comprises importing module 100, data extraction module 101, data analysis module 102 and report output module 103.The system that should generate report automatically can run in the computing machine.Below be that example describes with automatic generation test report.
Described importing module 100 is used to import test report template and test data source.Described test report template is set each test event and the corresponding standard of each test event of test report.Consult shown in Figure 2ly, the test event of test report comprises unit gap, minimum voltage and maximum voltage.Corresponding test specification is respectively the unit gap standard: 399.88 ~ 402.12; Minimum voltage standard: 〉=-0.6; Maximum voltage standard :≤0.6.In the test report that generates, the corresponding data of each test event come from described test data source.For example, in the test report shown in Figure 2, unit gap, minimum voltage, the corresponding data of maximum voltage come from the test data source.In the present embodiment, the test data source is the file that utilizes the html format that obtains after the SIGTEST software analysis signal waveform, i.e. * .html.
Described data extraction module 101 is used for extracting the corresponding data of each test event from the test data source that imports, and inserts corresponding position in the test report.In the present embodiment, can utilize regular expression that the corresponding data of each test event are extracted from test data source (as the file of html format).Described regular expression is used to describe the matched rule of the corresponding data of each test event.Consult shown in Figure 2ly, the data of extracting unit gap, minimum voltage and the maximum voltage of Lane 0 from the test data source are respectively 401.24 ,-0.3 and 0.5.
Described data analysis module 102 is used for judging whether the corresponding data of each test event of extraction meet the standard that test report template is set, if compliant, then the result of this test event extends this as " Pass " in test report, otherwise the result of this test event extends this as " Fail ".For example, consult shown in Figure 2, the data of extracting unit gap, minimum voltage and the maximum voltage of Lane 0 from the test data source are respectively 401.24 ,-0.3 and 0.5, the unit gap standard is 399.88 ~ 402.12, the minimum voltage standard is 〉=-0.6, the maximum voltage standard is≤0.6, thereby the unit gap result of Lane 0, minimum voltage result and maximum voltage result are respectively Pass, Pass and Pass.
Described report output module 103 is used to export the test report of filling in.In the present embodiment, test report is the file of Excel form, i.e. * .xls.
Consulting shown in Figure 3ly, is that the present invention generates the method for reporting process flow diagram automatically.
Step S301 imports module 100 and imports test report template and test data source.Described test report template is set each test event and the corresponding standard of each test event of test report.Consult shown in Figure 2ly, the test event of test report comprises unit gap, minimum voltage and maximum voltage.Corresponding test specification is respectively the unit gap standard: 399.88 ~ 402.12; Minimum voltage standard: 〉=-0.6; Maximum voltage standard :≤0.6.In the test report that generates, the corresponding data of each test event come from described test data source.For example, in the test report shown in Figure 2, unit gap, minimum voltage, the corresponding data of maximum voltage come from the test data source.In the present embodiment, the test data source is the file that utilizes the html format that obtains after the SIGTEST software analysis signal waveform, i.e. * .html.
Step S302, data extraction module 101 is extracted the corresponding data of each test event from the test data source that imports, and inserts corresponding position in the test report.In the present embodiment, can utilize regular expression that the corresponding data of each test event are extracted from test data source (as the file of html format).Described regular expression is used to describe the matched rule of the corresponding data of each test event.Consult shown in Figure 2ly, the data of extracting unit gap, minimum voltage and the maximum voltage of Lane 0 from the test data source are respectively 401.24 ,-0.3 and 0.5.
Step S303, data analysis module 102 judges whether the corresponding data of extracting of each test event meet the standard of setting in the test report template.
Step S304, if compliant, data analysis module 102 extends this as " Pass " with the result of this test event in test report.
Step S305, if do not meet standard, data analysis module 102 extends this as " Fail " with the result of this test event in test report.
For example, consult shown in Figure 2, the data of extracting unit gap, minimum voltage and the maximum voltage of Lane 0 from the test data source are respectively 401.24 ,-0.3 and 0.5, the unit gap standard is 399.88 ~ 402.12, the minimum voltage standard is 〉=-0.6, the maximum voltage standard is≤0.6, thereby the unit gap result of Lane 0, minimum voltage result and maximum voltage result are respectively Pass, Pass and Pass.
Step S306, the test report that 103 outputs of report output module are filled in.In the present embodiment, test report is the file of Excel form, i.e. * .xls.
Claims (10)
1. one kind generates the system of reporting automatically, it is characterized in that this system comprises:
Import module, be used for Import Reports template and data source, described report template is used to set each project of report;
Data extraction module is used for extracting each corresponding items data from the data source that imports, and inserts corresponding position in the report; And
The report output module is used to export the report of filling in.
2. the system of automatic generation report as claimed in claim 1 is characterized in that described report template also is used to set each corresponding items standard.
3. the system of automatic generation report as claimed in claim 2 is characterized in that this system also comprises data analysis module, is used for judging whether each corresponding items data of extraction meet each corresponding items standard and the result is inserted report.
4. the system of automatic generation report as claimed in claim 1 is characterized in that described data source is the file of html format.
5. the system of automatic generation report as claimed in claim 1 is characterized in that the described file of filling in that is reported as the Excel form.
6. one kind generates method of reporting automatically, it is characterized in that the method comprising the steps of:
Import Reports template and data source, described report template are used to set each project of report;
From the data source that imports, extract each corresponding items data, and insert corresponding position in the report; Reach the report that output is filled in.
7. automatic generation method of reporting as claimed in claim 6 is characterized in that described report template also is used to set each corresponding items standard.
8. automatic generation method of reporting as claimed in claim 7 is characterized in that this method also comprises:
Judge whether each corresponding items data of extracting meet each corresponding items standard, and the result is inserted in the report.
9. automatic generation method of reporting as claimed in claim 6 is characterized in that the data source of described importing is the file of html format.
10. automatic generation method of reporting as claimed in claim 6 is characterized in that, the described file of filling in that is reported as the Excel form.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810302761A CN101630283A (en) | 2008-07-16 | 2008-07-16 | System and method for automatically generating report |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810302761A CN101630283A (en) | 2008-07-16 | 2008-07-16 | System and method for automatically generating report |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101630283A true CN101630283A (en) | 2010-01-20 |
Family
ID=41575400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810302761A Pending CN101630283A (en) | 2008-07-16 | 2008-07-16 | System and method for automatically generating report |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101630283A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102331983A (en) * | 2010-07-15 | 2012-01-25 | 鸿富锦精密工业(深圳)有限公司 | Test report generation system and method |
CN102565478A (en) * | 2010-12-30 | 2012-07-11 | 鸿富锦精密工业(深圳)有限公司 | Oscilloscope data processing system and method |
CN102591885A (en) * | 2011-01-17 | 2012-07-18 | 鸿富锦精密工业(深圳)有限公司 | Test repot generating system and method |
CN103034940A (en) * | 2012-12-07 | 2013-04-10 | 深圳市智维通达科技有限公司 | Method and system for automatic analysis report generation |
CN103530230A (en) * | 2013-10-11 | 2014-01-22 | 珠海金山网络游戏科技有限公司 | Automatic generation method and automatic generation system of report |
CN105203821A (en) * | 2015-09-24 | 2015-12-30 | 浪潮(北京)电子信息产业有限公司 | Method and device for analyzing reference clock phase jitter |
CN106156147A (en) * | 2015-04-14 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of report sending method based on big data analysis, Apparatus and system |
CN106446598A (en) * | 2016-11-15 | 2017-02-22 | 上海派森诺生物科技股份有限公司 | Project paper automatic generation method |
CN106933711A (en) * | 2017-03-13 | 2017-07-07 | 郑州云海信息技术有限公司 | A kind of PCIe3.0 Tx signal method for automatic measurement |
CN107182078A (en) * | 2017-05-12 | 2017-09-19 | 捷开通讯(深圳)有限公司 | Method, terminal and the storage device of analysing terminal circuit domain dropping test report |
CN109657224A (en) * | 2019-01-04 | 2019-04-19 | 北京空间技术研制试验中心 | Spacecraft-testing based on Data Analysis Platform reports automatic generation method |
CN110069116A (en) * | 2019-04-24 | 2019-07-30 | 苏州浪潮智能科技有限公司 | A kind of method and system of radiate test data processing and temperature alarming |
CN110196969A (en) * | 2018-02-26 | 2019-09-03 | 北大方正集团有限公司 | A kind of shipment report automatic generation method and system |
CN111401005A (en) * | 2018-12-28 | 2020-07-10 | 北大方正集团有限公司 | Text conversion method and device and readable storage medium |
CN111709118A (en) * | 2020-05-13 | 2020-09-25 | 中核武汉核电运行技术股份有限公司 | Nuclear power simulation data cooperation method and device |
CN112347749A (en) * | 2019-08-06 | 2021-02-09 | 南通深南电路有限公司 | Data processing method, data processing equipment and data processing system |
-
2008
- 2008-07-16 CN CN200810302761A patent/CN101630283A/en active Pending
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102331983A (en) * | 2010-07-15 | 2012-01-25 | 鸿富锦精密工业(深圳)有限公司 | Test report generation system and method |
CN102565478A (en) * | 2010-12-30 | 2012-07-11 | 鸿富锦精密工业(深圳)有限公司 | Oscilloscope data processing system and method |
CN102591885A (en) * | 2011-01-17 | 2012-07-18 | 鸿富锦精密工业(深圳)有限公司 | Test repot generating system and method |
CN103034940A (en) * | 2012-12-07 | 2013-04-10 | 深圳市智维通达科技有限公司 | Method and system for automatic analysis report generation |
CN103530230A (en) * | 2013-10-11 | 2014-01-22 | 珠海金山网络游戏科技有限公司 | Automatic generation method and automatic generation system of report |
CN106156147B (en) * | 2015-04-14 | 2019-08-02 | 阿里巴巴集团控股有限公司 | A kind of report sending method based on big data analysis, apparatus and system |
CN106156147A (en) * | 2015-04-14 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of report sending method based on big data analysis, Apparatus and system |
CN105203821B (en) * | 2015-09-24 | 2018-03-20 | 浪潮(北京)电子信息产业有限公司 | A kind of method and device analyzed reference clock phase jitter |
CN105203821A (en) * | 2015-09-24 | 2015-12-30 | 浪潮(北京)电子信息产业有限公司 | Method and device for analyzing reference clock phase jitter |
CN106446598A (en) * | 2016-11-15 | 2017-02-22 | 上海派森诺生物科技股份有限公司 | Project paper automatic generation method |
CN106933711A (en) * | 2017-03-13 | 2017-07-07 | 郑州云海信息技术有限公司 | A kind of PCIe3.0 Tx signal method for automatic measurement |
CN107182078A (en) * | 2017-05-12 | 2017-09-19 | 捷开通讯(深圳)有限公司 | Method, terminal and the storage device of analysing terminal circuit domain dropping test report |
CN110196969A (en) * | 2018-02-26 | 2019-09-03 | 北大方正集团有限公司 | A kind of shipment report automatic generation method and system |
CN111401005A (en) * | 2018-12-28 | 2020-07-10 | 北大方正集团有限公司 | Text conversion method and device and readable storage medium |
CN109657224A (en) * | 2019-01-04 | 2019-04-19 | 北京空间技术研制试验中心 | Spacecraft-testing based on Data Analysis Platform reports automatic generation method |
CN109657224B (en) * | 2019-01-04 | 2023-05-26 | 北京空间技术研制试验中心 | Automatic spacecraft test report generation method based on data analysis platform |
CN110069116A (en) * | 2019-04-24 | 2019-07-30 | 苏州浪潮智能科技有限公司 | A kind of method and system of radiate test data processing and temperature alarming |
CN112347749A (en) * | 2019-08-06 | 2021-02-09 | 南通深南电路有限公司 | Data processing method, data processing equipment and data processing system |
CN111709118A (en) * | 2020-05-13 | 2020-09-25 | 中核武汉核电运行技术股份有限公司 | Nuclear power simulation data cooperation method and device |
CN111709118B (en) * | 2020-05-13 | 2024-02-13 | 中核武汉核电运行技术股份有限公司 | Nuclear power simulation data cooperation method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101630283A (en) | System and method for automatically generating report | |
CN104407976B (en) | A kind of interface robustness testing case generation method and device | |
KR101414720B1 (en) | Functional safety testing device for train control system software and the method thereof | |
CN102331983A (en) | Test report generation system and method | |
CN108983077B (en) | Circuit board test system and test method based on JTAG link | |
CN112732636B (en) | Configuration method, device and equipment of chip prototype verification system based on multiple FPGAs | |
CN102331967A (en) | Method for managing chip verification test cases | |
CN103279846A (en) | Project acceptance method and system based on BIM model | |
CN103488460B (en) | The system and method for automatic mark source code | |
CN106293625A (en) | A kind of method and apparatus of configuration register | |
US20110225559A1 (en) | Logic verifying apparatus, logic verifying method, and medium | |
CN104461813A (en) | Method for accelerating UVM closure verification through function overage rate negative feedback | |
CN202815170U (en) | Chip test system | |
CN101131663B (en) | Method for detecting installation correctness of computer PCI/PCI Express devices | |
CN104063297A (en) | Method and device capable of diagnosing computer hardware through USB interfaces | |
CN104636521A (en) | Smart card chip security authentication method based on VMM and authentication environment platform | |
CN106708736A (en) | Production automation testing method and system for communication equipment | |
US10346581B2 (en) | Method for system level static power validation | |
CN105117334A (en) | XML-based test requirement description and implementation method thereof | |
CN103294954B (en) | A kind of compound document malicious code detecting method based on spectrum analysis and system | |
CN102957553A (en) | Method and device for automatic generation of excitation codes | |
CN111124790A (en) | Generation system of reusable simulation interface model | |
CN107622013B (en) | Distributed system testing method and device | |
CN102541705A (en) | Testing method for computer and tooling plate | |
Li et al. | A study on the assertion-based verification of digital IC |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100120 |