CN101202648A - Dynamic generating report device for generating network report used in network planning and optimizing process - Google Patents

Dynamic generating report device for generating network report used in network planning and optimizing process Download PDF

Info

Publication number
CN101202648A
CN101202648A CNA2006101617184A CN200610161718A CN101202648A CN 101202648 A CN101202648 A CN 101202648A CN A2006101617184 A CNA2006101617184 A CN A2006101617184A CN 200610161718 A CN200610161718 A CN 200610161718A CN 101202648 A CN101202648 A CN 101202648A
Authority
CN
China
Prior art keywords
module
data
report
file
title
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.)
Withdrawn
Application number
CNA2006101617184A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNA2006101617184A priority Critical patent/CN101202648A/en
Publication of CN101202648A publication Critical patent/CN101202648A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

The invention provides a dynamic report generating device used for generating a network report during the process of network planning and optimizing, which includes a confirming module used for confirming a stencil of the network report and an initial collocating document; a first negating module used for generating the collocating document dynamically according to the generating conditions and the initial collocating document selected by a user; a second generating module used for generating a report pretreatment and a third generating module used for generating the network report according to the collocating document; wherein, the confirming module also includes a sub-confirming module, a marking module and a description module; therefore, the invention better meets the requirements of generating a network evaluation report and a network optimizing report on spot by a network planning and optimizing engineer.

Description

Be used for the dynamic generating report device that the network planning and optimizing process generate network-reporting
Technical field
This method relates to a kind of dynamic generating report device, more specifically, relates to a kind of device that dynamically generates network optimization report and network evaluation report in wireless network planning and optimizing process.
Background technology
In wireless network planning and optimizing process, except that concrete network planning, network optimization work, also need to generate network optimization report and network evaluation report.The content of these reports generally comprises data such as parameter adjustment record in performance, configuration, alarm, drive test data and the network planning network optimization process, GIS map, mainly exists with forms such as text, form, picture, chart, embedded files in report.Under normal conditions, the work of report generation all is to be finished by hand by the network planning network optimization engineer.Because the data that require in the report are a lot, disperse very much again, make the workload that generates report complicated and huge, brought white elephant for the network planning network optimization engineer.
In the prior art, a kind of automatic generation method of reporting is arranged.The place that this method needs to insert data in the masterplate file earlier marks, data demand to mark is described in configuration file then, allow user-selected area scope and index tabulate, inquire the index tabulation from background server then and respectively refer to target value, read mark description in the configuration file again, according to the locating information of mark and the index relevant information that checks out, write data into the assigned address in the masterplate file.This method can fix a point to insert to text, form, picture in network optimization report and the network evaluation report.
The network evaluation method of reporting of this generation network optimization report of prior art has following shortcoming:
(1) function underaction, clocklike data can't dynamic process for some.Because prior art is all fixed in masterplate setting and configuration file setting, even this just makes that the user has selected the index tabulation, can not meet the demands fully.Such as, need generate according to the index of selecting now and optimize the front and back comparison diagram, require the index of each selection to need three of index names, index explanation, index comparison diagram, prior art can only be decided the maximum number of the index that a user may select in advance so, and then pre-define three marks for each index in the masterplate, and in configuration file, finish writing description by underlined, and last, also to generate the mark that the deletion of report back is not used.This need the manual mode that produces a large amount of marks obviously be extremely inconvenient;
(2) time of generation report is long.In the network evaluation report that generates network optimization report, often need a large amount of performances, alarm, configuration data are written in the form of report, prior art directly writes data in table cell, because this action need uses the OLE method call, this is calling of a kind of striding course, efficient is very low, when data volume is very big, will cause to generate total chronic of report; And
(3) can't edit with outward appearance chart data and revise.Prior art is quoted outside data file the chart picture is inserted in the report, this picture both can't see the also bad outward appearance of carrying out of initial data of chart and had been revised, and in real process, network planning network optimization engineer often need adjust the sign line or the appearance style of icon.
Summary of the invention
Report shortcomings such as underaction, the time is long, chart can't be revised in order to overcome to generate in the prior art, the function that exists in the solution prior art and the problem of aspect of performance, the invention provides a kind of device that in wireless network planning and optimizing process, dynamically generates network optimization report and network evaluation report, thereby, satisfied the demand that network planning network optimization engineer generates networking assessment report and network optimization report at the scene better.
The invention provides a kind of dynamic report generating apparatus that the network planning and optimizing process generate network-reporting that is used for, it comprises: determination module is used for determining the masterplate and the initial configuration file of network-reporting; First generation module is used for dynamically generating configuration file according to formation condition and initial configuration file that the user selects; Second generation module is used for generating the report preliminary treatment; And the 3rd generate module, is used for generating network-reporting according to configuration file, and wherein, determination module also comprises: sub-determination module is used for determining that the masterplate of network-reporting comprises stencil structure and languages version; Mark module is used for determining that masterplate needs to fix a point to insert the point of data, the needs point and the dynamic point that inserts data of needs of replacement in full, and these points is carried out mark; And describing module, be used for mark being described in initial configuration file, described information comprises: describe the title of mark in some title, the position of each languages masterplate file, the corresponding masterplate and the type that needs insert data, wherein, type that need to insert data comprises following one or more combination: insert plain text, replace text, insert the pattern text, fill up a form, insert chart, insert picture and insert embedded file.
First generation module according to the present invention also comprises: the copy module is used to copy initial configuration file to the target configuration file; Judge module is used for judging whether it is the gauge point that dynamically inserts data according to the title of describing point; And sub-generation module, be used for condition according to user's selection, generate the title title unique, that need the dynamic next mark that generates of mark in all description point titles that increase newly, the corresponding masterplate, wherein title is unique in configuration file, and the type that needs to insert data is decided according to the demand of masterplate.
In addition, second generation module according to the present invention also comprises: read the copy module, be used for languages version according to user's selection, and the position of reading masterplate file in the configuration file, copy masterplate file is the target reporting file; Read statistical module, be used to resolve the configuration file of generation, the title that reads the description point is in the internal memory tabulation, and the sum of descriptive statistics point; Initialization module is used for initialization and waits for interface state; And the startup module, be used to call the 3rd and generate module, start the generation of document.
Generating module according to the of the present invention the 3rd also comprises: the file opening module is used to open the target reporting file; Data acquisition module is used to read a descriptor of describing point, according to the name acquiring related data of describing point; Locating module is used for the title according to corresponding masterplate mark, and this need insert the specified point of data in the localizing objects report file; Handle output module, the data type that is used for inserting is as required handled the data of fetching and is outputed to specified point in the report; Judge generation module, be used for,, then inserting the new mark of next line generation of data point automatically if title is not empty according to whether the title that needs the dynamic next mark that generates being arranged; Update module is used for the total situation according to the number of finishing the description point and description point, and interface state is waited in renewal; Read module is used to read next data acquisition module to update module, finishes up to all description points are all operated; And module is finished in the report generation, be used to close the target reporting file, finishing report generates, wherein, update module also is used for according to finishing the number of describing point and the sum of describing point, dynamically show the generation progress, upgrade to wait for that the interface comprises that following factor one of at least: progress bar and Percent Complete.
Among the present invention, handle output module and also be used for: the data type of Cha Ruing is plain text, picture or embedded file if desired, then obtains related data and outputs to assigned address in the target reporting file, starts the judgement generation module then.
Handling output module also is used for: the data type of Cha Ruing is to replace text if desired, then from configuration file, read former text, and obtain the replacement text data, the omnidistance then report Central Plains text of replacing is for replacing text, start then and judge generation module, wherein, need the name of the next mark of dynamically generation to be called sky in the data type.
Handling output module also is used for: the data type of Cha Ruing is the pattern text if desired, then obtains text data and outputs in the target reporting file, and read the pattern title from configuration file, and the pattern of the section of setting text starts the judgement generation module then.
In masterplate, define pattern in advance, in configuration file, formulate the pattern title, dynamic application pattern then, thus dynamically generate title text and bullets.
In addition, handling output module also is used for: the data type of Cha Ruing is a form if desired, then obtain list data, and carry out following processing according to the line number of list data, start then and judge generation module:, then list data is directly outputed to form in one page if the line number of list data can be put down; And if the form line number can not put down in one page, then automatically list data is outputed in other data file in batches, and data file is embedded into form below, report Central Plains, preceding ten row of only exporting list data in the former form as representative data.
In addition, handling output module also is used for: the data type of Cha Ruing is a chart if desired, then obtain chart data, and from configuration file, read subtype, wherein, subtype comprises following one or more combination: broken line graph, curve chart, block diagram and pie chart, call the OLE method and generate report and can revise chart, and chart outputed in the report, start then and judge generation module.
Therefrom as can be seen, the present invention has solved the difficult problem of dynamic generation report data by dynamically generating configuration file and the dynamic mode that generates mark.Simultaneously, adopted automatic batch to output to other data file under the situation that outputs to form of large data sets, avoided time-consuming operation, effectively saved the overall time that generates report cell.Simultaneously, by generating the chart of report compatibility itself, what solved picture chart in the past can not the property revised.Comprehensive what time above, the present invention greatly facilitates the generation of reporting in the network planning and the network optimization process, thereby has improved the efficient and the quality of network planning network optimization.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 shows the flow chart that is used for the dynamic generation method of reporting of the network planning and optimizing process generation network-reporting according to of the present invention;
Fig. 2 is that the result in dynamic generation configuration file S104 process shown in Figure 1 according to the embodiment of the invention shows schematic diagram;
Fig. 3 is the flow chart that generates the process of report S108 among Fig. 1 according to configuration file;
Fig. 4 is according to the view that generates the wait interface of the refresh step S306 in the reporting process among Fig. 3 of the embodiment of the invention; And
Fig. 5 is used for the block diagram of device that the network planning and optimizing process generate the dynamic generation report of network-reporting according to according to the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 1 shows the flow chart that is used for the dynamic generation method of reporting of the network planning and optimizing process generation network-reporting according to of the present invention.As shown in Figure 1, may further comprise the steps:
Step S102 determines the masterplate and the initial configuration file of network-reporting.
Wherein, when determining report template, not only will determine the file structure of report template itself, and will determine the point that report template need be revised, and the place that needs are revised makes a mark.Network optimization report template is generally different according to the different meetings of type of wireless network, but the dynamic data basic fixed of the file structure of the report template of network of the same type itself and requirement.When needing to change occasionally, network planning network optimization engineer also can directly make amendment in the report file that generates.Type that need to insert data comprises following one or more combination: insert plain text, replace text, insert the pattern text, fill up a form, insert chart, insert picture and insert embedded file.
For example: the following dynamic data that needs with network optimization report template is that example describes, and the dynamic data that wherein needs comprises:
The homepage increase generates reporting date; Operator name and service area title in replacing in full; Dynamically generate index name, index explanation, index contrast chart according to the index tabulation of selecting; Generate the drive test comparison diagram according to the drive test file before and after the network optimization; And fill in parameter adjustment form in the network optimization process according to the date before and after the network optimization.
In addition, when determining initial configuration file, at first to determine the particular location of each languages masterplate, then will be according to mark, correspondence is done the title of describing mark in some title, the corresponding masterplate, the description that needs the type of insertion data.
For example: following is that example describes with network optimization report template initial configuration file, wherein:
[describing some title 1]
Chinese masterplate file=.. the masterplate file network optimization report-Chinese
English masterplate file=.. the masterplate file network optimization report-English
[describing some title 2]
Mark title=homepage date
Data type=plain text
[describing some title 3]
Mark title=service area title
Data type=replacement text
The replacement text=<the xxxx service area 〉
[describing some title 4]
Contrast is described before and after mark title=optimization
Data type=pattern text
....
Step S104, formation condition and the initial configuration file selected according to the user dynamically generate configuration file.
Wherein, the condition of user's selection produces according to the correlated condition of needs data in the report.These conditions will have influence on the value of data in the report, also may have influence on the file structure of report.
For example: followingly report that to generate the network optimization at user option formation condition is that example describes, comprising:
Input operator name and service area title; The regional extent of index analysis; Select to generate the index tabulation of contrast chart; Date interval before the network optimization; After the network optimization between date field; Type and when busy when busy; Drive test listed files before the network optimization; Drive test listed files after the network optimization; The languages of report template.
Dynamically generating in the process of configuration file, at first need to copy initial configuration file to the target configuration file.The condition of selecting according to the user is resolved the description point that needs dynamically insert data then, and the dynamic dot generation that increases comprises the title of mark in description point title, the corresponding masterplate, type, the dynamically description of the title of the next mark of generation that needs insert data to needs.Its key is to describe the some title, the title of mark in the corresponding masterplate, and existing can not be repeated in the title of the next mark that need dynamically generate and the target configuration file.A kind of feasible generation method is exactly to add other unique identification on the basis of initial description entry, as: initial description entry title+index ID+ sequence number.
For example: the following configuration file that dynamically generates with network optimization report is that example describes, comprising:
[describing some title 1]
Chinese masterplate file=.. the masterplate file network optimization report-Chinese
English masterplate file=.. the masterplate file network optimization report-English
[describing some title 2]
Mark title=homepage date
Data type=plain text
[describing some title 3]
Mark title=service area title
Data type=replacement text
The replacement text=<the xxxx service area 〉
[describing some title 4_ index ID1_1]
Contrast description _ index ID1_1 before and after mark title=optimization
Data type=pattern text
Pattern title=title 3
Contrast description _ index ID1_2 before and after next mark title=optimization
[describing some title 4_ index ID1_2]
Contrast description _ index ID1_2 before and after mark title=optimization
Data type=plain text
Contrast description _ index ID1_3 before and after next mark title=optimization
[describing some title 4_ index ID1_3]
Contrast description _ index ID1_3 before and after mark title=optimization
Data type=chart
Subtype=block diagram
Contrast description _ index ID2_1 before and after next mark title=optimization
[describing some title 4_ index ID2_1]
Contrast description _ index ID2_1 before and after mark title=optimization
Data type=pattern text
Pattern title=title 3
Contrast description _ index ID2_2 before and after next mark title=optimization
...
In above dynamic generation configuration file, each index of selecting for the user has dynamically generated following description:
(1) data type is the index name of title text;
(2) data type is the index explanation explanation of plain text; And
(3) data type is the index optimization front and back comparison diagram of bar chart.
After generating configuration file, can allow the user that the condition of selecting was confirmed before generating report, referring to accompanying drawing 2, wherein show the display result of dynamic generation configuration file.
Step S106 generates the report preliminary treatment.
Wherein, generate the report preliminary treatment and need carry out report generation preparation before.These preparations comprise resolves the configuration file that dynamically generates, and copy masterplate file is to the target reporting file, reads that all are described a little in the configuration file, be saved in during internal memory tabulates, and the sum of descriptive statistics point.The description point sum does not here comprise the description point of describing the masterplate document location.The interface is waited in initialization then, and invocation step 108 starts document and generates.If the attribute of masterplate file is read-only, the file attribute that needs the modifying target report file is for writing.
Step S108 generates network-reporting according to configuration file.Its specific implementation process is described the detailed process of S108 as shown in Figure 3 below with reference to Fig. 3.
In step S108, generating the description point title that report preserves in the read step 103 one by one according to configuration file tabulates, each is described point obtain data according to describing some title and data type, locate in the target reporting file according to the mark title, do different processing operation according to the difference of data type, whether according to needs generate next mark and finish mark and dynamically generate.As shown in Figure 3, the detailed step of S108 is as follows:
S301 opens the target reporting file;
S302 reads a descriptor of describing point, according to the name acquiring related data of describing point;
S303 according to the title of mark in the corresponding masterplate, this time needs to insert the specified point of data in the localizing objects report file;
S304, the data type of Cha Ruing is handled the data of fetching and is outputed to specified point in the report as required;
S305 according to whether the title that needs the dynamic next mark that generates being arranged, if title is not empty, is then inserting the new mark of next line generation of data point automatically;
S306 according to finishing the total situation of describing the some number and describing point, upgrades the state of waiting for interface (as shown in Figure 4);
S307 reads next circulation execution in step S302 to S306, finishes up to all description points are all operated; And
S308 closes the target reporting file, finishes report and generates.
In step S306, according to finishing the number of describing point and the sum of describing point, dynamically show the generation progress, and renewal wait interface comprises that following factor one of at least: progress bar and Percent Complete.
In step S304: the data type of Cha Ruing is plain text, picture or embedded file if desired, then obtains related data and outputs to target reporting document allocation, continues execution in step S305 then.The data type of Cha Ruing is to replace text if desired, then from configuration file, read former text, and obtain the replacement text data, the omnidistance then report Central Plains text of replacing is for replacing text, continue execution in step S305 then, wherein, need the name of the next mark of dynamically generation to be called sky in the data type.The data type of Cha Ruing is the pattern text if desired, then obtain text data and output in the target reporting file, and from configuration file, read the pattern title, the pattern of this section text is set, continues execution in step S305 then, wherein, in masterplate, define pattern in advance, in configuration file, formulate the pattern title, dynamic application pattern then, thus dynamically generate title text and bullets.
In addition, the data type of Cha Ruing is a form if desired, then obtains list data, and carries out following processing according to the line number of list data.Continue execution in step S305 then:, then list data is directly outputed to form in one page if the line number of list data can be put down; And if the form line number can not put down in one page, then automatically list data is outputed in other data file in batches, and data file is embedded into form below, report Central Plains, preceding ten row of only exporting list data in the former form as representative data.And the data type of inserting if desired is a chart, then obtain chart data, and from configuration file, read subtype, wherein, subtype comprises following one or more combination: broken line graph, curve chart, block diagram and pie chart, call OLE method generation report and can revise chart, and chart is outputed in the report, continue execution in step S305 then.
As above, the description to all included among step S102 data types all is not described in step S108, only enumerated the data type of several exemplary, and involved in the present invention network-reporting comprises: network optimization report and network evaluation report.
Fig. 5 is used for the block diagram of device 500 that the network planning and optimizing process generate the dynamic generation report of network-reporting according to according to the present invention.As shown in Figure 5, the device 500 that dynamically generates report comprises: determination module 502 is used for determining the masterplate and the initial configuration file of network-reporting; First generation module 504 is used for dynamically generating configuration file according to formation condition and initial configuration file that the user selects; Second generation module 506 is used for generating the report preliminary treatment; And the 3rd generate module 508, is used for generating network-reporting according to configuration file.
In the present invention, determination module 502 also comprises: sub-determination module 5022 is used for determining that the masterplate of network-reporting comprises stencil structure and languages version; Mark module 5024 is used for determining that masterplate needs to fix a point to insert the point of data, the needs point and the dynamic point that inserts data of needs of replacement in full, and these points is carried out mark; And describing module 5026, be used for mark being described in initial configuration file, described information comprises: describe the title of mark in some title, the position of each languages masterplate file, the corresponding masterplate and the type that needs insert data, wherein, type that need to insert data comprises following one or more combination: insert plain text, replace text, insert the pattern text, fill up a form, insert chart, insert picture and insert embedded file.
First generation module 504 also comprises: copy module 5042 is used to copy initial configuration file to the target configuration file; Judge module 5044 is used for judging whether it is the gauge point that dynamically inserts data according to the title of describing point; And sub-generation module 5046, be used for condition according to user's selection, generate the title title unique, that need the dynamic next mark that generates of mark in all description point titles that increase newly, the corresponding masterplate, wherein title is unique in configuration file, and the type that needs to insert data is decided according to the demand of masterplate.
In addition, second generation module 506 also comprises: read copy module 5062, be used for languages version according to user's selection, and the position of reading masterplate file in the configuration file, copy masterplate file is the target reporting file; Read statistical module 5064, be used to resolve the configuration file of generation, the title that reads the description point is in the internal memory tabulation, and the sum of descriptive statistics point; Initialization module 5066 is used for initialization and waits for interface state; And start module 5068, and be used to call the 3rd and generate module 508, start the generation of document.
The 3rd generates module 508 also comprises: file opening module 5080 is used to open the target reporting file; Data acquisition module 5081 is used to read a descriptor of describing point, according to the name acquiring related data of describing point; Locating module 5082 is used for the title according to corresponding masterplate mark, and this need insert the specified point of data in the localizing objects report file; Handle output module 5083, the data type that is used for inserting is as required handled the data of fetching and is outputed to specified point in the report; Judge generation module 5084, be used for,, then inserting the new mark of next line generation of data point automatically if title is not empty according to whether the title that needs the dynamic next mark that generates being arranged; Update module 5085 is used for the total situation according to the number of finishing the description point and description point, and interface state is waited in renewal; Read module 5086 is used to read next data acquisition module 5081 to update module 5085, finishes up to all description points are all operated; And report to generate and finish module 5087, be used to close the target reporting file, finish report and generate.
Wherein, update module 5085 also is used for dynamically showing the generation progress according to having finished the number of describing point and the sum of describing point, and renewal wait interface comprises that following factor one of at least: progress bar and Percent Complete.
Among the present invention, handle output module 5083 and also be used for: the data type of Cha Ruing is plain text, picture or embedded file if desired, then obtains related data and outputs to assigned address in the target reporting file, starts judgement generation module 5084 then.
Handling output module 5083 also is used for: the data type of Cha Ruing is to replace text if desired, then from configuration file, read former text, and obtain the replacement text data, the omnidistance then report Central Plains text of replacing is for replacing text, start then and judge generation module 5084, wherein, need the name of the next mark of dynamically generation to be called sky in the data type.
Handling output module 5083 also is used for: the data type of Cha Ruing is the pattern text if desired, then obtain text data and output in the target reporting file, and from configuration file, reading the pattern title, the pattern of the section of setting text starts then and judges generation module 5084.
In masterplate, define pattern in advance, in configuration file, formulate the pattern title, dynamic application pattern then, thus dynamically generate title text and bullets.
In addition, handling output module 5083 also is used for: the data type of Cha Ruing is a form if desired, then obtain list data, and carry out following processing according to the line number of list data, start then and judge generation module 5084:, then list data is directly outputed to form in one page if the line number of list data can be put down; And if the form line number can not put down in one page, then automatically list data is outputed in other data file in batches, and data file is embedded into form below, report Central Plains, preceding ten row of only exporting list data in the former form as representative data.
In addition, handling output module 5083 also is used for: the data type of Cha Ruing is a chart if desired, then obtain chart data, and from configuration file, read subtype, wherein, subtype comprises following one or more combination: broken line graph, curve chart, block diagram and pie chart, call the OLE method and generate report and can revise chart, and chart outputed in the report, start then and judge generation module 5084.
As above, the present invention locatees document by mark in the masterplate file, dynamically generates the demand that mark realizes dynamically generating report then by dynamic generation configuration file with in the target reporting file.Simultaneously, the present invention has avoided effectively that OLE calls the shortcoming of length consuming time under some situation, and has effectively utilized the abundant interface function that OLE provides, and makes that to generate report convenient and be easy to revise.In the report generative process, the present invention has independently finished all tasks, often cooperate to finish the generation of whole report with some other functional part, such as index analysis functional part, drive test analytic function parts, GIS map function parts, of the present invention focusing on outputs to method of reporting, flow process to data, and for the special processing that outputs to various data types in the report.The flow process that generates network optimization report and network evaluation report is basic identical, and its difference is the dynamic data difference of masterplate itself and masterplate requirement.Come the present invention for a more detailed description below by the specific embodiment that generates certain network optimization report.
Be the preferred embodiments of the present invention only below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a dynamic report generating apparatus that is used for the network planning and optimizing process generation network-reporting is characterized in that, comprising:
Determination module is used for determining the masterplate and the initial configuration file of described network-reporting;
First generation module is used for dynamically generating configuration file according to formation condition and described initial configuration file that the user selects;
Second generation module is used for generating the report preliminary treatment; And
The 3rd generates module, be used for generating described network-reporting according to described configuration file,
Wherein, described determination module also comprises:
Sub-determination module is used for determining that the masterplate of described network-reporting comprises stencil structure and languages version;
Mark module is used for determining that described masterplate needs to fix a point to insert the point of data, the needs point and the dynamic point that inserts data of needs of replacement in full, and these points is carried out mark; And
Describing module is used in described initial configuration file mark being described, and described information comprises: describe the title of mark in some title, the position of each languages masterplate file, the corresponding masterplate and the type that needs insert data.
2. dynamic report generating apparatus according to claim 1, it is characterized in that described type that need to insert data comprises following one or more combination: insert plain text, replace text, insert the pattern text, fill up a form, insert chart, insert picture and insert embedded file.
3. dynamic report generating apparatus according to claim 1 is characterized in that, described first generation module also comprises:
The copy module is used to copy described initial configuration file to the target configuration file;
Judge module is used for judging whether it is the gauge point that dynamically inserts data according to the title of describing point; And
Sub-generation module, be used for condition according to user's selection, generate the title title unique, that need the dynamic next mark that generates of mark in all description point titles that increase newly, the corresponding masterplate, wherein said title is unique in configuration file, and the type that needs to insert data is decided according to the demand of described masterplate.
4. dynamic report generating apparatus according to claim 3 is characterized in that, described second generation module also comprises:
Read the copy module, be used for languages version according to user's selection, the position of reading masterplate file in the described configuration file, copying described masterplate file is the target reporting file;
Read statistical module, be used to resolve the described configuration file of generation, the title that reads the description point is in the internal memory tabulation, and the sum of descriptive statistics point;
Initialization module is used for initialization and waits for interface state; And
Start module, be used to call the described the 3rd and generate module, start the generation of document.
5. dynamic report generating apparatus according to claim 3 is characterized in that, the described the 3rd generates module also comprises:
The file opening module is used to open described target reporting file;
Data acquisition module is used to read a descriptor of describing point, according to the name acquiring related data of describing point;
Locating module is used for the title according to corresponding masterplate mark, locatees that this need insert the specified point of data in the described target reporting file;
Handle output module, the data type that is used for inserting is as required handled the data of fetching and is outputed to specified point in the report;
Judge generation module, be used for,, then inserting the new mark of next line generation of data point automatically if title is not empty according to whether the title that needs the dynamic next mark that generates being arranged;
Update module is used for the total situation according to the number of finishing the description point and description point, and interface state is waited in renewal;
Read module is used to read next data acquisition module to update module, finishes up to all description points are all operated; And
Report generates and finishes module, is used to close described target reporting file, and finish report and generate,
Wherein, described update module also is used for dynamically showing the generation progress according to finishing the number of describing point and the sum of describing point.
6. dynamic report generating apparatus according to claim 5 is characterized in that, described renewal waits for that the interface comprises that following factor one of at least: progress bar and Percent Complete.
7. dynamic report generating apparatus according to claim 5 is characterized in that, described processing output module also is used for:
The data type of Cha Ruing is plain text, picture or embedded file if desired, then obtains related data and outputs to assigned address in the described target reporting file, starts described judgement generation module then;
The data type of Cha Ruing is to replace text if desired, then from described configuration file, read former text, and obtain the replacement text data, the omnidistance then report Central Plains text of replacing is for replacing text, start described judgement generation module then, wherein, need the name of the next mark of dynamically generation to be called sky in the described data type; And
The data type of Cha Ruing is the pattern text if desired, then obtains text data and outputs in the described target reporting file, and read the pattern title from described configuration file, and the pattern of described section text is set, and starts described judgement generation module then.
8. dynamic report generating apparatus according to claim 6 is characterized in that, defines pattern in advance in masterplate, formulates the pattern title in described configuration file, dynamic application pattern then, thus dynamically generate title text and bullets.
9. dynamic report generating apparatus according to claim 5 is characterized in that, described processing output module also is used for:
The data type of Cha Ruing is a form if desired, then obtains list data, and carries out following processing according to the line number of list data, starts described judgement generation module then:
If the line number of list data can be put down, then list data is directly outputed to form in one page; And
If the form line number can not be put down in one page, then automatically list data is outputed in other data file in batches, and described data file is embedded into report Central Plains form below, preceding ten row of only exporting list data in the former form as representative data.
10. dynamic report generating apparatus according to claim 5 is characterized in that, described processing output module also is used for:
The data type of Cha Ruing is a chart if desired, then obtain chart data, and from configuration file, read subtype, wherein, described subtype comprises following one or more combination: broken line graph, curve chart, block diagram and pie chart, call OLE method generation report and can revise described chart, and chart is outputed in the report, start described judgement generation module then.
CNA2006101617184A 2006-12-13 2006-12-13 Dynamic generating report device for generating network report used in network planning and optimizing process Withdrawn CN101202648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006101617184A CN101202648A (en) 2006-12-13 2006-12-13 Dynamic generating report device for generating network report used in network planning and optimizing process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006101617184A CN101202648A (en) 2006-12-13 2006-12-13 Dynamic generating report device for generating network report used in network planning and optimizing process

Publications (1)

Publication Number Publication Date
CN101202648A true CN101202648A (en) 2008-06-18

Family

ID=39517630

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006101617184A Withdrawn CN101202648A (en) 2006-12-13 2006-12-13 Dynamic generating report device for generating network report used in network planning and optimizing process

Country Status (1)

Country Link
CN (1) CN101202648A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824786A (en) * 2015-01-05 2016-08-03 珠海金山办公软件有限公司 Electronic document generating method and device
CN114238219A (en) * 2021-12-10 2022-03-25 广西电网有限责任公司电力科学研究院 Interactive dynamic collection method and system for daily statistical report of transmission, transformation and distribution

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824786A (en) * 2015-01-05 2016-08-03 珠海金山办公软件有限公司 Electronic document generating method and device
CN114238219A (en) * 2021-12-10 2022-03-25 广西电网有限责任公司电力科学研究院 Interactive dynamic collection method and system for daily statistical report of transmission, transformation and distribution

Similar Documents

Publication Publication Date Title
CN101192947B (en) Method for dynamic report generation
CN109948134B (en) Report automatic generation method, system, electronic equipment and storage medium
US5557787A (en) Table generating apparatus employing heading, layout, and table script data
US20060167958A1 (en) Tree system diagram output method, computer program and recording medium
CN108762743B (en) Data table operation code generation method and device
US5459866A (en) Method of automatically producing job flow specification
CN110187916B (en) Method for generating Word document based on data configuration
CN101778160A (en) Method and device for dynamically presetting message
CN114115883B (en) Method for quickly constructing front-end application by using middle station service capability
CN101147128A (en) Method to automate resource management in computer applications
CN103109289B (en) Based on the script edit methods of WEB, system and WEB client side
CN110941629A (en) Metadata processing method, device, equipment and computer readable storage medium
CN101202648A (en) Dynamic generating report device for generating network report used in network planning and optimizing process
CN101202646A (en) Dynamic state generating report device
CN101202647A (en) Dynamic generating report method for generating network report used in network planning and optimizing process
US20100011018A1 (en) Custom database system and method of building the same
US7334213B2 (en) Software development support program, recording medium having the program stored thereon and software development support system
CN112069082A (en) Automatic testing method and system
CN111966350A (en) Web front-end interface generation method and device
CN100370741C (en) Automatic method for generating report of optimizing network
CN113377458B (en) Plug-in management method and device, electronic equipment and storage medium
CN111639478B (en) Automatic data auditing method and system based on EXCEL document
CN113791714A (en) Method for software system icon library
WO2005089350A2 (en) Custom database system and method of building the same
CN111767214A (en) Automatic testing method and device for software UI

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C04 Withdrawal of patent application after publication (patent law 2001)
WW01 Invention patent application withdrawn after publication