Summary of the invention
The present invention provides a kind of monitoring task creating method and system, solves monitoring task and the real-time and automatically-monitored problem of cannot automatically extracting from monitoring outline intuitively in prior art。
Monitoring task creating method provided by the invention, including:
S1: generate the monitoring object data including object oriented, measuring point and monitoring project according to the content of record in annual forest monitoring work outline;
S2: generate the monitoring plan data including described monitoring object and Monitoring frequency according to the Monitoring frequency of record in annual forest monitoring work outline;
S3: generating by the Monitoring frequency of its correspondence for different monitoring plans and include the monitoring task data of task status, described task status is for monitoring the implementation status of described monitoring task, and described task status includes: be not fully complete, complete neutralization and complete。
Wherein, described step S3 includes:
S31: calculate the number of times of described monitoring plan execution or the execution number of times of self-defined described monitoring plan according to Monitoring frequency;
S32: the execution each time based on monitoring plan generates a monitoring task, and to arrange task status be unfinished state。
Wherein, described monitoring task data also includes: the scheduled start tine of described monitoring task and scheduled closing time。
Wherein, described step S3 also includes step S33: form task list by the sequencing of described scheduled start tine and scheduled closing time and show。
Wherein, step S4 is also included after described step S3: described in real-time update, monitor the task status of task data。
Present invention also offers a kind of monitoring task and generate system, including:
Monitoring object data generates unit, for generating, according to the content of record in annual forest monitoring work outline, the monitoring object data including object oriented, measuring point and monitoring project;
Monitoring plan data generating unit, for generating, according to the Monitoring frequency of record in annual forest monitoring work outline, the monitoring plan data including described monitoring object and Monitoring frequency;
Monitoring task data generates unit, for generating the monitoring task data including task status by the Monitoring frequency of its correspondence for different monitoring plans, described task status is for monitoring the implementation status of described monitoring task, and described task status includes: is not fully complete, completes neutralization and complete。
Wherein, described monitoring task data generation unit includes:
Number of times computation subunit, for calculating the number of times of described monitoring plan execution or the execution number of times of self-defined described monitoring plan according to Monitoring frequency;
Task generates subelement, and for generating a monitoring task based on the execution each time of monitoring plan, and to arrange task status be unfinished state。
Wherein, described monitoring task data also includes: the scheduled start tine of described monitoring task and scheduled closing time。
Wherein, monitoring task data generates unit and also includes: task list generates subelement, for forming task list by the sequencing of described scheduled start tine and scheduled closing time and showing。
Wherein, also include: task status updating block, described in real-time update, monitor the task status of task data。
The monitoring task creating method of the present invention is by requiring to convert the monitoring task data including task status can inquired about and monitor to by the monitoring object recorded on paper, measuring point, monitoring project and Monitoring frequency, in the outline that worked by annual forest monitoring, recorded content is documented in Database Systems by the form of task, monitoring personnel can intuitively and automatically extract monitoring task, and can carry out monitoring in real time and automatically to monitoring task by task status。
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments。Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention。
The monitoring task creating method flow process of the embodiment of the present invention is as it is shown in figure 1, include:
S110, generates, according to the content of record in annual forest monitoring work outline, the monitoring object data including object oriented, measuring point and monitoring project。
S120, generates, according to the Monitoring frequency of record in annual forest monitoring work outline, the monitoring plan data including described monitoring object and Monitoring frequency。
S130, generates by the Monitoring frequency of its correspondence for different monitoring plans and includes the monitoring task data of task status, and described task status is for monitoring the implementation status of described monitoring task, and task status includes: is not fully complete, completes neutralization and complete。
The object of environmental monitoring is divided into polluter and Environmental monitoring sites two class, wherein the measuring point of polluter is divided into again: the pollution key element of the classifications such as waste water, waste gas, noise, soil, substrate, and Environmental monitoring sites divides the different pollution key elements such as river, Hu Ku, subsoil water, sea water, soil, substrate, marine sediment, road traffic noise, Function area noise, noise region, surrounding air。
In the present embodiment, monitoring object data includes essential information, measuring point and monitoring project。Monitoring object data is for the measuring point information repeated in abstract monitoring outline, realizes reusing of information by incidence relation in information system。Wherein essential information mainly includes object oriented。In annual forest monitoring work outline in table 1, object oriented includes: Long Ganghe, the fourth mountains and rivers, Zi He etc., for Long Gang river, its measuring point be Xi Keng, calabash enclose, low mountain village and frighten pond。Monitoring project includes: flow, water temperature and conductivity etc.。Essential information, measuring point and monitoring project are converted to respectively structural data and is stored in the monitoring Object table of data base, measuring point table and monitoring project table, set up incidence relation by the major key and external key arranging each tables of data。
Monitoring plan data include: monitoring object and Monitoring frequency。Converting Monitoring frequency to structural data equally and be stored in the monitoring plan table of data base, Monitoring frequency includes the frequency and frequency unit, is present in monitoring plan table as field, and monitoring plan table and monitoring Object table are passed through。Such as, a monitoring plan in table 1 is: monitoring object Long Ganghe, measuring point are Xi Keng, monitoring project includes flow, water temperature and conductivity etc., the frequency is 1 time/month (the first tenday period of a month)。
Monitoring task data is the some monitoring tasks being divided out by the frequency by monitoring plan。
In the present embodiment, step S130 idiographic flow is as in figure 2 it is shown, include:
Step S131, calculates the number of times of described monitoring plan execution or the execution number of times of self-defined described monitoring plan according to Monitoring frequency。Actually implementing plan mode is divided into: periodically and be periodically executed two kinds, be divided into periodically again the x time/moon, x time/season, x time/all and x times/year of four kinds of modes, these data records are in the frequency and frequency unit field。Being periodically executed the time limit is character string type, by self-defining mode record in being periodically executed field。
Step S132, the execution each time based on monitoring plan generates a monitoring task, and to arrange task status be unfinished state。
The monitoring task creating method of the present embodiment is by requiring to convert the monitoring task data including task status can inquired about and monitor to by the monitoring object recorded on paper, measuring point, monitoring project and Monitoring frequency, in the outline that worked by annual forest monitoring, recorded content is documented in Database Systems by the form of task, monitoring personnel can intuitively and automatically extract monitoring task, and can carry out monitoring in real time and automatically to monitoring task by task status。
In the present embodiment, monitoring task data also includes: the scheduled start tine of monitoring task and scheduled closing time。Furthermore achieved that the monitoring whether monitoring task is timely completed。
As in figure 2 it is shown, the step S130 of the method also includes: step S133, form task list by the sequencing of scheduled start tine and scheduled closing time and show, facilitating the inquiry of the monitoring personnel monitoring task to assigning。
In the method, after step S130, after namely generating described task status data, also include step S140: the task status of real-time update monitoring task data。After monitoring task completes, obtain the status information of monitoring personnel input, to update task status field for completing。
Such as, for the monitoring plan of pliosaur Gang He in table 1, the frequency according to monitoring, generate a monitoring task every month, the scheduled start tine of monitoring is limited to No. 1 of every month, and scheduled closing time is limited to No. 10 of every month。
Present invention also offers a kind of monitoring task and generate system, include as shown in Figure 3:
Monitoring object data generates unit 310, for generating, according to the content of record in annual forest monitoring work outline, the monitoring object data including object oriented, measuring point and monitoring project;
Monitoring plan data generating unit 320, for generating, according to the Monitoring frequency of record in annual forest monitoring work outline, the monitoring plan data including described monitoring object and Monitoring frequency;
Monitoring task data generates unit 330, for generating the monitoring task data including task status by the Monitoring frequency of its correspondence for different monitoring plans, described task status is for monitoring the implementation status of described monitoring task, and described task status includes: is not fully complete, completes neutralization and complete。
Wherein, described monitoring task data generation unit 330 includes:
Number of times computation subunit 331, for calculating the number of times of described monitoring plan execution or the execution number of times of self-defined described monitoring plan according to Monitoring frequency;
Task generates subelement 332, and for generating a monitoring task based on the execution each time of monitoring plan, and to arrange task status be unfinished state。
Wherein, described monitoring task data also includes: the scheduled start tine of described monitoring task and scheduled closing time。
Wherein, monitoring task data generates unit 330 and also includes: task list generates unit 333, for forming task list by the sequencing of described scheduled start tine and scheduled closing time and showing。
Wherein, this system also includes: task status updating block 340, monitors the task status of task data described in real-time update。
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention。