CN103605779A - Report generation method and device - Google Patents

Report generation method and device Download PDF

Info

Publication number
CN103605779A
CN103605779A CN201310627847.8A CN201310627847A CN103605779A CN 103605779 A CN103605779 A CN 103605779A CN 201310627847 A CN201310627847 A CN 201310627847A CN 103605779 A CN103605779 A CN 103605779A
Authority
CN
China
Prior art keywords
executive plan
time
end time
executive
reading
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
Application number
CN201310627847.8A
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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201310627847.8A priority Critical patent/CN103605779A/en
Publication of CN103605779A publication Critical patent/CN103605779A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results

Abstract

The invention discloses a report generation method and device. The report generation method comprises the steps of reading a prestored execution plan, wherein the execution plan comprises the starting time and the ending time for generating a report; executing data inquires through the starting time and the ending time; generating the report through the data obtained by executing the inquires by using the starting time and the ending time. By means of the report generation method and device, the problem that the report cannot be generated repeatedly when errors occur in report generation in the prior art is solved, and thus the effect of generating the report repeatedly is achieved.

Description

Report form generation method and device
Technical field
The present invention relates to computer realm, in particular to a kind of periodicity report form generation method and device.
Background technology
In order conveniently to check data, a lot of systems all periodically generating report forms for related personnel, check.The data of a period of time before can understanding termly by form.The way of prior art is, when the program of generating report forms is carried out, obtains the current time, then according to the current time getting, determines to inquire about the data of certain time period, and generating report forms accordingly.
Because the report data generating in prior art is relevant with the report generator execution time, at different time executive routines, will inevitably obtain different form results so, if therefore because generated for some reason wrong form or there is no generating report forms sometime, in the moment in the future, be to repeat to generate the form that should generate constantly so.
For instance, there is a weekly return normally to generate on every Mondays, the data of the last week comprising.If it will generate the data in August 7 to August 13 originally August 14, but carry out, made mistakes.Second day, when August 15 wanted it to re-execute, what it generated is but the data of August 8 to August 14.
After makeing mistakes when the generating report forms in prior art, cannot repeat to generate the problem of this form, effective solution is not yet proposed at present.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of periodicity report form generation method and device, with after solving in prior art and makeing mistakes when the generating report forms, cannot repeat to generate the problem of this form.
To achieve these goals, according to an aspect of the present invention, provide a kind of periodicity report form generation method.Periodicity report form generation method according to the present invention comprises: the executive plan of reading pre-stored, and wherein, executive plan comprised for the initial time of generating report forms and end time; By initial time and end time executing data, inquire about; And utilize by initial time and end time and carry out and inquire about the data generating report forms obtaining.
Further, the executive plan of reading pre-stored comprises: obtain executive plan list, store a plurality of executive plans in executive plan list, wherein, different executive plans is corresponding to different initial times and/or end time; Receive specified command, wherein, specified command is for specifying the executive plan of executive plan list; And using the executive plan of specified command appointment as reading the executive plan obtaining.
Further, the executive plan of reading pre-stored comprises: judge whether to receive specified command; If judged, receive specified command, the executive plan of specified command appointment is as reading the executive plan obtaining; And if judge and do not receive specified command, obtain end time corresponding to each executive plan in executive plan list, and the end time sorted, and, using the end time, be that up-to-date executive plan is as reading the executive plan obtaining.
Further, before the executive plan of reading pre-stored, report form generation method also comprises: interocclusal record while obtaining a time at interval of the schedule time; At a plurality of different time interocclusal records, obtain a plurality of end times; The end of record (EOR) time; And according to record end time generate a plurality of executive plans.
To achieve these goals, according to a further aspect in the invention, provide a kind of periodicity report generation device.Periodicity report generation device according to the present invention comprises: reading unit, and for the executive plan of reading pre-stored, wherein, executive plan comprised for the initial time of generating report forms and end time; Query unit, for inquiring about by initial time and end time executing data; And first generation unit, for utilizing, carry out the data generating report forms that inquiry obtains by initial time and end time.
Further, reading unit comprises: acquisition module, for obtaining executive plan list, in executive plan list, store a plurality of executive plans, and wherein, different executive plans is corresponding to different initial times and/or end time; Receiver module, for receiving specified command, wherein, specified command is for specifying the executive plan of executive plan list; And first determination module, for using the executive plan of specified command appointment as reading the executive plan obtaining.
Further, reading unit comprises: judge module, for judging whether to receive specified command; The first determination module, for judging while receiving specified command, the executive plan of specified command appointment is as reading the executive plan obtaining; And second determination module, for judging while not receiving specified command, obtain end time corresponding to each executive plan in executive plan list, and the end time is sorted, and, using the end time, be that up-to-date executive plan is as reading the executive plan obtaining.
Further, report generation device also comprises: acquiring unit, and for before the executive plan of reading pre-stored, interocclusal record while obtaining a time at interval of the schedule time; Extraction unit, for obtaining a plurality of end times at a plurality of different time interocclusal records; Record cell, for the end of record (EOR) time; And second generation unit, for generating a plurality of executive plans according to the end time of record.
By the present invention, adopt the executive plan of reading pre-stored, wherein, described executive plan comprised for the initial time of generating report forms and end time; By described initial time and described end time executing data, inquire about; And utilize and to carry out the data generating report forms that inquiry obtains by described initial time and described end time, after having solved and makeing mistakes when generating report forms in prior art, cannot repeat to generate the problem of this form, and then reach the effect that repeats generating report forms.
Accompanying drawing explanation
The accompanying drawing that forms the application's a part is used to provide a further understanding of the present invention, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the process flow diagram of the report form generation method of first embodiment of the invention;
Fig. 2 is according to the process flow diagram of the report form generation method of second embodiment of the invention;
Fig. 3 is according to the process flow diagram of the executive plan generation method of the embodiment of the present invention;
Fig. 4 is according to the schematic diagram of the report generation device of first embodiment of the invention;
Fig. 5 is according to the schematic diagram of the report generation device of second embodiment of the invention; And
Fig. 6 is according to the schematic diagram of the report generation device of third embodiment of the invention.
Embodiment
It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
In order to make those skilled in the art person understand better the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, should belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of report form generation method.
Fig. 1 is according to the process flow diagram of the report form generation method of first embodiment of the invention.As shown in the figure, this report form generation method comprises the steps:
Step S101, the executive plan of reading pre-stored, wherein, executive plan comprised for the initial time of generating report forms and end time.
The working time of generating report forms program and the initial time of form and end time have been recorded in executive plan.The form generating can be periodic form.Accounting logging the data in the time period, therefore, the time period that form is corresponding comprises generating report forms initial time and end time.
For example: the form of hypotheses creation is a weekly, the form initial time 2013-9-20:00:00 generating, end time 2013-9-90:00:00, the form of this generation has comprised the data message from initial time 2013-9-20:00:00 to end time 2013-9-90:00:00.
Executive plan not only comprises initial time and the end time of above-mentioned generating report forms, has also comprised the working time of generating report forms program, and for example, 8:00 on every Mondays generates the form in week last Monday, and 8:00 is the working time of generation report program on every Mondays.
Step S102, inquires about by initial time and end time executing data.
In needs generating report forms, first obtain initial time and the end time of the form that needs generation.The initial time of the form generating by needs and the end time inquiry data corresponding with this time period, searching the data that obtain is the data that need generating report forms.
Step S103, utilizes by initial time and end time and carries out and inquire about the data generating report forms obtaining.
Form comprises initial time and end time, also comprises data that should the time period.After having obtained the fundamental of above-mentioned generating report forms, can generating report forms.
The report form generating can be as shown in table 1 below:
The report form that table 1 generates
Time Action
2013-8-1 A
2013-8-2 B
2013-8-3 C
2013-8-4 D
2013-8-5 E
2013-8-6 F
As shown in Table 1, the initial time of the form of generation is 2013-8-1, and the end time is 2013-8-6, and at initial time 2013-8-1, to the time period of end time 2013-8-6, the data of corresponding every day are respectively A, B, C, D, E, F.
It should be noted that, the report form that the embodiment of the present invention provides is invention thought in order to demonstrate the invention, be construed as, the report form that the embodiment of the present invention generates includes but not limited to above-mentioned form, and, report form in other embodiments of the invention also should be understood to illustrate, can not be for limiting technical scheme of the present invention.
For example, the 8:00 that the time of generation table 1 is 2013-8-7, the executive plan of obtaining is as shown in table 2.
Table 2 executive plan
The time of running Initial time End time
2013-8-78:00:21 2013-8-10:00:00 2013-8-60:00:00
According to the initial time 2013-8-10:00:00 of generating report forms and the inquiry of end time 2013-8-60:00:00 executing data, the data that inquire in this time period are A, B, C, D, E, F, according to the data in the time of running of the initial time of generating report forms, end time and generating report forms and corresponding time period, generate table 1.
For the form of generating period, a plurality of executive plans as shown in table 2 can form executive plan table.Each executive plan in this executive plan table generated before generating report forms, can, when starting the program of generating report forms, generate executive plan the time of running.Executive plan generates prior to report generation, and no matter whether report generation normal, executive plan before generating report forms all in executive plan table.If mistake appears in the program of this generating report forms, in the time need to regenerating the form that this time make mistakes, can regenerate the form that this time should generate according to executive plan.
Pass through said method, in generating report forms if there is mistake, can inquire about and occur wrong executive plan corresponding to form, and repeat generating report forms according to the executive plan inquiring, guarantee that the form generating is identical with time and the content of the form that should generate.No matter the program of generating report forms is normally undesired, and the form of generation is all that the executive plan generating during according to operation generates.For example, the form of paying close attention to action every day generates weekly once, and the form of this generation is periodicity form.
Fig. 2 is according to the process flow diagram of the report form generation method of second embodiment of the invention.As shown in the figure, this report form generation method comprises the steps:
Step S201, obtains executive plan list, stores a plurality of executive plans in executive plan list, and wherein, different executive plans is corresponding to different initial times and/or end time.
One or more executive plan forms executive plan table.The program runtime that each executive plan comprises generating report forms, the initial time of generating report forms and end time.
While storing a plurality of executive plan in executive plan table, different time period corresponding to executive plan.When the form generating is periodicity form, the end time of a upper form may be identical with the initial time of the form of current generation, if the initial time of the end time of a upper form and the form of current generation is separated by one day, corresponding initial time and end time of two executive plans is all not identical.
The executive plan of obtaining is listed as follows shown in table 3:
Table 3 executive plan table
The time of running Initial time End time
2013-8-58:00:21 2013-7-290:00:00 2013-8-50:00:00
2013-8-128:00:01 2013-8-50:00:00 2013-8-120:00:00
2013-8-198:00:06 2013-8-120:00:00 2013-8-190:00:00
2013-8-268:00:00 2013-8-190:00:00 2013-8-260:00:00
2013-9-28:00:04 2013-8-260:00:00 2013-9-20:00:00
2013-9-98:00:00 2013-9-20:00:00 2013-9-90:00:00
Step S202, receives specified command, and wherein, specified command is for specifying the executive plan of executive plan list.
Specified command is for specifying the order of the form that generates certain time period.Specified command can be specified certain executive plan in executive plan list, utilizes the executive plan generating report forms of this appointment.
Step S203, using the executive plan of specified command appointment as reading the executive plan obtaining.
Using the appointment executive plan receiving as reading the executive plan obtaining, generating report forms on the basis of reading the executive plan obtaining.
For example, reading the executive plan obtaining is in table 3
2013-8-128:00:01 2013-8-50:00:00 2013-8-120:00:00
According to reading the executive plan generating report forms obtaining, the time of generating report forms is 2013-8-12, and the cycle of generating report forms is 2013-8-50:00:00 to 2013-8-120:00:00.
Further, the executive plan of reading pre-stored comprises:
Step S2021, judges whether to receive specified command.When generating report forms, can be according to the specified command receiving, according to the executive plan generating report forms of appointment.When not receiving specified command, according to current executive plan table automatic report generation.This report form generation method can repeat to generate the form of wrong time period when mistake appears in generator program, when generator program is not made mistakes, and can be according to executive plan table automatic report generation.
Step S2022, receives specified command if judged, using the executive plan of specified command appointment as reading the executive plan obtaining.According to the executive plan generating report forms of specified command appointment.
Step S2023, if judged, do not receive specified command, obtain end time corresponding to each executive plan in executive plan list, and the end time is sorted, and, using the end time, be that up-to-date executive plan is as reading the executive plan obtaining.
If do not receive specified command, after end time corresponding to the executive plan in executive plan list queued up according to time sequencing, using up-to-date executive plan of end time as the executive plan for generating report forms, according to up-to-date executive plan generating report forms of end time.Due to the executive plan that generates current period the time of running generating the report program of current period, therefore, the end time of the executive plan that the end time is up-to-date is the current end time that needs the periodicity form of generation.
After judging whether to receive specified command, according to the specified command generating report forms receiving or be that up-to-date executive plan is as reading the executive plan obtaining according to the end time when not receiving designated command, can, when generating report forms failure, regenerate the form of the time period in failed regeneration form.
Fig. 3 is according to the process flow diagram of the executive plan generation method of the embodiment of the present invention.As the preferred implementation of the embodiment of the present invention, the method comprises the steps:
Step S301, interocclusal record while obtaining a time at interval of the schedule time.
The interval schedule time can be the interval time from time to the time of this generating report forms of last generating report forms.The time interocclusal record acquiring comprises the time of running, form initial time and end time, utilizes and generates new executive plan this time of running.
Step S302, obtains a plurality of end times in interocclusal record a plurality of when different.Obtain a plurality of different time, generate the time of running that each time is recorded in corresponding generating report forms, from obtain a plurality of different time extract a plurality of end times interocclusal record.
Step S303, the end of record (EOR) time.A plurality of end times that acquire are recorded, and according to the generating period of generating report forms, determined the initial time of corresponding end time.
Step S304, according to record end time generate a plurality of executive plans.
By above step, obtain the time of running, end time and initial time, according to the time of running, end time and initial time, generated a plurality of executive plans.The executive plan generating is as shown in table 3.
It should be noted that, a plurality of executive plans that generate generate in the time of running of each form respectively, and are kept in executive plan table, at needs during according to executive plan generating report forms, executive plan in query execution plan table, and according to the executive plan generating report forms inquiring.
The embodiment of the present invention also provides a kind of report generation device.
Fig. 4 is according to the schematic diagram of the report generation device of first embodiment of the invention, and as shown in the figure, this generating apparatus comprises reading unit 10, query unit 20 and the first generation unit 30.
Reading unit 10 is for the executive plan of reading pre-stored, and wherein, executive plan comprised for the initial time of generating report forms and end time.
The working time of generating report forms program and the initial time of form and end time have been recorded in executive plan.The form generating can be periodic form.Accounting logging the data in the time period, therefore, the time period that form is corresponding comprises generating report forms initial time and end time.
For example: the form of hypotheses creation is a weekly, the form initial time 2013-9-20:00:00 generating, end time 2013-9-90:00:00, the form of this generation has comprised the data message from initial time 2013-9-20:00:00 to end time 2013-9-90:00:00.
Executive plan not only comprises initial time and the end time of above-mentioned generating report forms, has also comprised the working time of generating report forms program, and for example, 8:00 on every Mondays generates the form in week last Monday, and 8:00 is the working time of generation report program on every Mondays.
Query unit 20 is for inquiring about by initial time and end time executing data.
In needs generating report forms, first obtain initial time and the end time of the form that needs generation.The initial time of the form generating by needs and the end time inquiry data corresponding with this time period, searching the data that obtain is the data that need generating report forms.
The first generation unit 30 is carried out and is inquired about the data generating report forms obtaining for utilizing by initial time and end time.Form comprises initial time and end time, also comprises data that should the time period.After having obtained the fundamental of above-mentioned generating report forms, can generating report forms.
The report form generating is as shown in Figure 1 shown in the table 1 in embodiment of the method.
As shown in table 1, the initial time of the form of generation is 2013-8-1, and the end time is 2013-8-6, and at initial time 2013-8-1, to the time period of end time 2013-8-6, the data of corresponding every day are respectively A, B, C, D, E, F.
For example, the 8:00 that the time of generation table 1 is 2013-8-7, the executive plan of obtaining is as shown in table 2 below.
According to the initial time 2013-8-10:00:00 of generating report forms and the inquiry of end time 2013-8-60:00:00 executing data, the data that inquire in this time period are A, B, C, D, E, F, according to the data in the time of running of the initial time of generating report forms, end time and generating report forms and corresponding time period, generate table 1.
For the form of generating period, a plurality of executive plans as shown in table 2 can form executive plan table.Each executive plan in this executive plan table generated before generating report forms, can, when starting the program of generating report forms, generate executive plan the time of running.Executive plan generates prior to report generation, and no matter whether report generation normal, executive plan before generating report forms all in executive plan table.If mistake appears in the program of this generating report forms, in the time need to regenerating the form that this time make mistakes, can regenerate the form that this time should generate according to executive plan.
Pass through said apparatus, in generating report forms if there is mistake, can inquire about and occur wrong executive plan corresponding to form, and repeat generating report forms according to the executive plan inquiring, guarantee that the form generating is identical with time and the content of the form that should generate.No matter the program of generating report forms is normally undesired, and the form of generation is all that the executive plan generating during according to operation generates.
Fig. 5 is according to the schematic diagram of the report generation device of second embodiment of the invention.As shown in the figure, this report generation device comprises reading unit 10, query unit 20 and the first generation unit 30, and wherein, reading unit 10 comprises acquisition module 101, receiver module 102 and the first determination module 103.
Acquisition module 101, for obtaining executive plan list, stores a plurality of executive plans in executive plan list, and wherein, different executive plans is corresponding to different initial times and/or end time.
One or more executive plan forms executive plan table.The program runtime that each executive plan comprises generating report forms, the initial time of generating report forms and end time.
While storing a plurality of executive plan in executive plan table, different time period corresponding to executive plan.When the form generating is periodicity form, the end time of a upper form may be identical with the initial time of the form of current generation, if the initial time of the end time of a upper form and the form of current generation is separated by one day, corresponding initial time and end time of two executive plans is all not identical.
The executive plan list of obtaining is as shown in table 3.
Receiver module 102 is for receiving specified command, and wherein, specified command is for specifying the executive plan of executive plan list.Specified command is for specifying the order of the form that generates certain time period.Specified command can be specified certain executive plan in executive plan list, utilizes the executive plan generating report forms of this appointment.
The first determination module 103 is for using the executive plan of specified command appointment as reading the executive plan obtaining.Using the appointment executive plan receiving as reading the executive plan obtaining, generating report forms on the basis of reading the executive plan obtaining.
For example, reading the executive plan obtaining is in table 3
2013-8-128:00:01 2013-8-50:00:00 2013-8-120:00:00
According to reading the executive plan generating report forms obtaining, the time of generating report forms is 2013-8-12, and the cycle of generating report forms is 2013-8-50:00:00 to 2013-8-120:00:00.
Further, reading unit 10 comprises judge module, the first determination module and the second determination module.
Judge module is used for judging whether to receive specified command.When generating report forms, can be according to the specified command receiving, according to the executive plan generating report forms of appointment.When not receiving specified command, according to current executive plan table automatic report generation.This report form generation method can repeat to generate the form of wrong time period when mistake appears in generator program, when generator program is not made mistakes, and can be according to executive plan table automatic report generation.
The first determination module is for judging while receiving specified command, and the executive plan of specified command appointment is as reading the executive plan obtaining.According to the executive plan generating report forms of specified command appointment.
The second determination module is for judging while not receiving specified command, obtain end time corresponding to each executive plan in executive plan list, and the end time is sorted, and, using the end time, be that up-to-date executive plan is as reading the executive plan obtaining.
If do not receive specified command, after end time corresponding to the executive plan in executive plan list queued up according to time sequencing, using up-to-date executive plan of end time as the executive plan for generating report forms, according to up-to-date executive plan generating report forms of end time.Due to the executive plan that generates current period the time of running generating the report program of current period, therefore, the end time of the executive plan that the end time is up-to-date is the current end time that needs the periodicity form of generation.
After judging whether to receive specified command, according to the specified command generating report forms receiving or be that up-to-date executive plan is as reading the executive plan obtaining according to the end time when not receiving designated command, can, when generating report forms failure, regenerate the form of the time period in failed regeneration form.
Fig. 6 is according to the schematic diagram of the report generation device of third embodiment of the invention.As shown in the figure, this generating apparatus comprises reading unit 10, query unit 20 and the first generation unit 30, also comprises acquiring unit 40, extraction unit 50, record cell 60 and the second generation unit 70.Wherein, the reading unit 10 shown in Fig. 6, query unit 20 and the first generation unit 30 are identical with the function of reading unit shown in Fig. 4 10, query unit 20 and the first generation unit 30, at this, do not repeat.
Acquiring unit 40 is for before the executive plan of reading pre-stored, interocclusal record while obtaining a time at interval of the schedule time.The interval schedule time can be the interval time from time to the time of this generating report forms of last generating report forms.The time interocclusal record acquiring comprises the time of running, form initial time and end time, utilizes and generates new executive plan this time of running.
Extraction unit 50 is for obtaining a plurality of end times at a plurality of different time interocclusal records.Obtain a plurality of different time, generate the time of running that each time is recorded in corresponding generating report forms, from obtain a plurality of different time extract a plurality of end times interocclusal record.
Record cell 60 is for the end of record (EOR) time.A plurality of end times that acquire are recorded, and according to the generating period of generating report forms, determined the initial time of corresponding end time.
The second generation unit 70 is for generating a plurality of executive plans according to the end time of record.By above step, obtain the time of running, end time and initial time, according to the time of running, end time and initial time, generated a plurality of executive plans.The executive plan generating is as shown in table 3.
It should be noted that, a plurality of executive plans that generate generate in the time of running of each form respectively, and are kept in executive plan table, at needs during according to executive plan generating report forms, executive plan in query execution plan table, and according to the executive plan generating report forms inquiring.
The embodiment of the present invention also provides a kind of computer-readable storage medium.This computer-readable storage medium can have program stored therein, and this program is for carrying out the part or all of step of above-mentioned report form generation method.
It should be noted that, for aforesaid each embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part of detailed description, can be referring to the associated description of other embodiment.
In the several embodiment that provide in the application, should be understood that disclosed device can be realized by another way.For example, device embodiment described above is only schematic, the for example division of described unit, be only that a kind of logic function is divided, during actual realization, can there is other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrical or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises that some instructions are with so that a computer equipment (can be personal computer, server or the network equipment etc.) is carried out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CDs.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. a report form generation method, is characterized in that, comprising:
The executive plan of reading pre-stored, wherein, described executive plan comprised for the initial time of generating report forms and end time;
By described initial time and described end time executing data, inquire about; And
Utilization carries out by described initial time and described end time the data generating report forms that inquiry obtains.
2. report form generation method according to claim 1, is characterized in that, the executive plan of reading pre-stored comprises:
Obtain executive plan list, store a plurality of described executive plans in described executive plan list, wherein, different described executive plans is corresponding to different described initial times and/or described end time;
Receive specified command, wherein, described specified command is for specifying the executive plan of described executive plan list; And
Using the executive plan of described specified command appointment as reading the executive plan obtaining.
3. report form generation method according to claim 2, is characterized in that, the executive plan of reading pre-stored comprises:
Judge whether to receive described specified command;
If judged, receive described specified command, the executive plan of described specified command appointment is as reading the executive plan obtaining; And
If judge and do not receive described specified command, obtain described end time corresponding to each executive plan in described executive plan list, and the described end time is sorted, and, using the described end time, be that up-to-date executive plan is as reading the executive plan obtaining.
4. report form generation method according to claim 1, is characterized in that, before the executive plan of reading pre-stored, described report form generation method also comprises:
Interocclusal record while obtaining one time at interval of the schedule time;
At a plurality of different time interocclusal records, obtain a plurality of described end times;
Record the described end time; And
According to a plurality of described executive plans of end time generation of record.
5. a report generation device, is characterized in that, comprising:
Reading unit, for the executive plan of reading pre-stored, wherein, described executive plan comprised for the initial time of generating report forms and end time;
Query unit, for inquiring about by described initial time and described end time executing data; And
The first generation unit, carries out and inquires about the data generating report forms obtaining for utilizing by described initial time and described end time.
6. report generation device according to claim 5, is characterized in that, described reading unit comprises:
Acquisition module for obtaining executive plan list, stores a plurality of described executive plans in described executive plan list, and wherein, different described executive plans is corresponding to different described initial times and/or described end time;
Receiver module, for receiving specified command, wherein, described specified command is for specifying the executive plan of described executive plan list; And
The first determination module, for using the executive plan of described specified command appointment as reading the executive plan obtaining.
7. report generation device according to claim 6, is characterized in that, described reading unit comprises:
Judge module, for judging whether to receive described specified command;
The first determination module, for judging while receiving described specified command, the executive plan of described specified command appointment is as reading the executive plan obtaining; And
The second determination module, for judging while not receiving described specified command, obtain described end time corresponding to each executive plan in described executive plan list, and the described end time is sorted, and, using the described end time, be that up-to-date executive plan is as reading the executive plan obtaining.
8. report generation device according to claim 5, is characterized in that, described report generation device also comprises:
Acquiring unit, for before the executive plan of reading pre-stored, interocclusal record while obtaining a time at interval of the schedule time;
Extraction unit, for a plurality of different when described interocclusal record obtain a plurality of described end times;
Record cell, for recording the described end time; And
The second generation unit, for generating a plurality of described executive plans according to the end time of record.
CN201310627847.8A 2013-11-28 2013-11-28 Report generation method and device Pending CN103605779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310627847.8A CN103605779A (en) 2013-11-28 2013-11-28 Report generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310627847.8A CN103605779A (en) 2013-11-28 2013-11-28 Report generation method and device

Publications (1)

Publication Number Publication Date
CN103605779A true CN103605779A (en) 2014-02-26

Family

ID=50124001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310627847.8A Pending CN103605779A (en) 2013-11-28 2013-11-28 Report generation method and device

Country Status (1)

Country Link
CN (1) CN103605779A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063468A (en) * 2014-06-27 2014-09-24 北京思特奇信息技术股份有限公司 Data report automatic generating and extracting method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05324308A (en) * 1992-05-19 1993-12-07 Toshiba Corp Progress management supporting device
CN101697122A (en) * 2009-10-16 2010-04-21 深圳市科陆电子科技股份有限公司 Method for generating report query conditions through predefined components
CN101957849A (en) * 2010-09-21 2011-01-26 用友软件股份有限公司 Static statement generation method and device
CN102279848A (en) * 2010-06-09 2011-12-14 中国电信股份有限公司 Method and device for generating report template

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05324308A (en) * 1992-05-19 1993-12-07 Toshiba Corp Progress management supporting device
CN101697122A (en) * 2009-10-16 2010-04-21 深圳市科陆电子科技股份有限公司 Method for generating report query conditions through predefined components
CN102279848A (en) * 2010-06-09 2011-12-14 中国电信股份有限公司 Method and device for generating report template
CN101957849A (en) * 2010-09-21 2011-01-26 用友软件股份有限公司 Static statement generation method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063468A (en) * 2014-06-27 2014-09-24 北京思特奇信息技术股份有限公司 Data report automatic generating and extracting method and device
CN104063468B (en) * 2014-06-27 2017-11-10 北京思特奇信息技术股份有限公司 A kind of data sheet automatically generates and extracting method and device

Similar Documents

Publication Publication Date Title
CN103458086B (en) A kind of smart mobile phone and fault detection method thereof
CN105989059A (en) Data record checking method and device
CN103927338A (en) Log information storage processing method and log information storage processing device
CN112487083B (en) Data verification method and device
CN103699548A (en) Method and equipment for recovering database data by using logs
CN104461390A (en) Method and device for writing data into imbricate magnetic recording SMR hard disk
CN104504137A (en) Data storage method and system
CN104156298A (en) Application monitoring method and device
CN103810060A (en) Data backup method and system thereof based on distributed database
CN103425632A (en) Serializing method, device and processor
CN105224332A (en) A kind of application program generates method and apparatus
CN103152391A (en) Journal output method and device
US10579915B2 (en) Method and device for initializing two-dimensional code
CN109033365B (en) Data processing method and related equipment
CN104517168A (en) Engineering project construction cost schedule management system
CN109491834A (en) A kind of data reconstruction method and device applied to database
CN105354702A (en) Conflict detection method and device for schedules
CN109165175A (en) Device identification generation method and device
CN103645984A (en) Method and device for optimizing logs
CN104021085A (en) Mobile terminal internal memory cleaning method and device
CN103605779A (en) Report generation method and device
CN103914358A (en) Flash memory rereading method and device
CN111949490A (en) JVM process monitoring method and device
CN108062323B (en) Log reading method and device
CN104539449A (en) Handling method and related device for fault information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140226