Disclosure of Invention
Therefore, a multi-task data acquisition method for marine environment monitoring, a storage medium and electronic equipment are needed to be provided, and the problems of repeated data entry, non-uniform data and low entry efficiency in a multi-task state are solved.
In order to achieve the above object, the inventor provides a multitask data acquisition method for marine environment monitoring, comprising the following steps:
determining a voyage mission;
establishing association between the same sampling stations of different tasks;
detecting the maximum acquisition level of a sampling station in each task, and acquiring sampling information of the sampling station through a sampling terminal according to the maximum acquisition level of the sampling station;
and detecting whether the sampling station is associated with sampling stations of other tasks, and if so, importing the sampling information into the associated sampling stations of other tasks.
Further optimization, the "establishing association between sampling stations with the same position among different tasks" specifically includes:
and determining the longitude and latitude of the sampling station positions among different tasks, and establishing association between the sampling station positions with the same longitude and latitude among different tasks.
Further optimization, after the step of associating the same station positions among different tasks, the method also comprises the following steps:
acquiring the correlation adjustment operation of the sampling station positions among different tasks, and modifying the correlation of the sampling station positions among different tasks according to the adjustment operation.
Further optimization, the step of "guiding the sampling information into the associated sampling station in other tasks" specifically includes:
and screening the sampling information according to the associated station positions in other tasks, and importing the sampling information according to the acquisition level required by the tasks.
Further optimization, the detecting the maximum acquisition level of the sampling station in each task and acquiring the sampling information of the sampling station by the sampling terminal according to the maximum acquisition level of the sampling station specifically includes:
detecting the maximum acquisition level of the sampling station in each task;
setting a collection task of the sampling station according to the maximum collection level, and sending the collection task to a sampling terminal;
and acquiring the acquisition information of the sampling station through the sampling terminal according to the acquisition task.
The inventor also provides another technical scheme that: a storage medium storing a computer program which, when executed by a processor, implements the steps of the method as described above.
The inventor also provides another technical scheme that: an electronic device comprising a memory, a processor, said memory having stored thereon a computer program which, when executed by the processor, carries out the steps of the method as described above.
Different from the prior art, according to the technical scheme, the same sampling station positions among the multiple tasks of ocean monitoring are associated, when data are acquired for each sampling station position, sampling information is acquired according to the maximum acquisition level of the sampling station position in each task, the acquired sampling information is led into the sampling station positions of other associated tasks, the tasks are shared by recording data once, the data do not need to be acquired repeatedly, the working efficiency is greatly improved, and the error rate is reduced.
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Referring to fig. 1, the present embodiment is a method for multi-task data acquisition for marine environmental monitoring, including the following steps:
step S110: determining a voyage mission; in the work of marine ecological environment monitoring, different sampling tasks can be formulated according to different monitoring purposes in a once-through voyage task, and the voyage task is determined, namely the different sampling tasks formulated according to the different monitoring purposes are confirmed.
Step S120: establishing association between the same sampling stations of different tasks; the sampling stations of each sampling task may overlap, the sampling stations of each sampling task are matched, different sampling tasks are associated with the same sampling station, and data acquisition association of the same sampling station among different sampling tasks can be realized.
Step S130: detecting the maximum acquisition level of a sampling station in each task, and acquiring sampling information of the sampling station through a sampling terminal according to the maximum acquisition level of the sampling station; when data acquisition is carried out on each sampling station, the acquisition level of the sampling station is set according to the acquisition level of the sampling station in each sampling task, the maximum acquisition level of each sampling task in the sampling station is used as the acquisition level of the sampling station, data acquisition is carried out on the sampling station through a sampling terminal according to the maximum acquisition level, sampling information is obtained, and the acquisition information is led into the task with the maximum acquisition level of the sampling station.
Step S140: and detecting whether the sampling station is associated with sampling stations of other tasks, and if so, importing the sampling information into the associated sampling stations of other tasks. And meanwhile, detecting whether the sampling station is associated with sampling stations of other tasks or not, and if the sampling station is associated with the sampling stations of other tasks, introducing the sampling information into the sampling stations of other tasks associated with the sampling station.
For example, different tasks are formulated according to different monitoring purposes, and a voyage task comprises a task A, a task B and a task C, wherein a sampling station of the task A comprises a sampling station a, a sampling station B, a sampling station C and a sampling station d, a sampling station of the task B comprises a sampling station B, a sampling station C and a sampling station e, and a sampling station of the task C comprises a sampling station C, a sampling station e, a sampling station f and a sampling station g. Establishing association among the same sampling stations of different tasks, establishing association among the same sampling stations C of the task A, the task B and the task C, establishing association among the sampling stations C of the task A, the sampling stations C of the task B and the sampling stations C of the task C, establishing association between the sampling stations B of the task A and the sampling stations B of the task B in the same way, and establishing association between the sampling stations C of the task B and the sampling stations C of the task C. When each sampling station is collected, if the sampling station a is subjected to data collection, detecting the maximum collection level of the sampling station a in each task, detecting that the collection level of the sampling station a in the task A comprises a surface layer and a middle layer and is the maximum collection level of the sampling station, then carrying out data information acquisition on the sampling station a by a collection terminal according to the maximum collection level of the sampling station a in the task A to obtain sampling information, then leading the sampling information of the sampling station a into the task A, simultaneously detecting whether the sampling station a is associated with the station in the task B or the task C, and if the detection result is no, continuing to collect the data of the next sampling station; when data acquisition is carried out on a sampling station B, detecting the maximum acquisition level of the sampling station B in each task, detecting that the sampling station B is in a task A, wherein the acquisition level of the sampling station B comprises a surface layer and a middle layer, detecting that the sampling station B is in a task B, the acquisition level of the sampling station B comprises a surface layer, a middle layer and a bottom layer, detecting that data acquisition on the sampling station B does not exist in a task C, detecting that the sampling station B in the task B is the maximum acquisition level, carrying out data acquisition on the sampling station B according to the maximum acquisition level of the task B to obtain sampling information, introducing the sampling information into the task B, simultaneously detecting whether the sampling station B is associated with the sampling stations of other tasks, detecting that the sampling station B is associated with the sampling station B in the task A, and introducing the sampling information into the sampling station B of the task A; similarly, data acquisition is carried out on the sampling station C, if the acquisition level of the sampling station C in the task C is detected to be the maximum acquisition level, data acquisition is carried out on the sampling station C according to the task C to obtain sampling information, the acquisition information is led into the task C, meanwhile, correlation with the sampling station C of the task A and the sampling station C in the task B is detected, the sampling information is led into the sampling station C of the task A and the sampling station C in the task B, and the sampling station d, the sampling station e, the sampling station f and the sampling task g are similarly subjected to sampling information acquisition.
By establishing association of the same sampling station positions among the multiple tasks of ocean monitoring, when data is acquired for each sampling station position, sampling information is acquired according to the maximum acquisition level of the sampling station position in each task, and the acquired sampling information is led into the sampling station positions of other associated tasks, so that the sampling information is shared by each task through once data input, data is not required to be acquired repeatedly, the working efficiency is greatly improved, and the error rate is reduced.
After the voyage number task is finished and the voyage returns, the sampling information in the sampling terminal is imported into the system, and the sampling information is automatically imported into all the related tasks according to the relevance between the same sampling stations among all the tasks, so that the working efficiency is improved, and the error rate is reduced.
In this embodiment, the same station relation among different tasks can be established through the station names; and the sampling stations with the same name but not the same sampling station position are avoided from possibly existing in different tasks, so that the relation is established among the different sampling stations, the longitude and latitude of the sampling stations among the different tasks are confirmed, and the sampling stations with the same longitude and latitude among the different tasks are associated. According to the longitude and latitude of the sampling station positions among different tasks, the sampling station positions with the same longitude and latitude are associated, so that the situation that the sampling station positions with the same name but not the same sampling station positions possibly exist in different tasks can be effectively avoided, and the relation among the different sampling station positions is established. The sampling station positions associated by different tasks can be established through the same station position name, and the sampling station positions with wrong association are adjusted according to manual adjustment, so that the situation that the sampling station positions with the same name but not the same sampling station positions possibly exist in different tasks is avoided, and the relation is established among different sampling station positions.
Further, in order to associate or disassociate the newly added station according to the actual situation of the site, the method further includes, after step S120, the steps of: acquiring the correlation adjustment operation of the sampling station positions among different tasks, and modifying the correlation of the sampling station positions among different tasks according to the adjustment operation. Detecting the relation of sampling stations of different tasks, detecting whether the operation of adjusting the correlation of the sampling stations among the different tasks exists, and modifying the correlation of the sampling stations among the different tasks according to the adjustment operation when the adjustment operation exists, such as adding the correlation of the sampling stations or removing the correlation of the sampling stations.
In order to solve the problem that the data acquisition structures of the same sampling stations of different tasks are not uniform due to different requirements of the sampling stations of different tasks on the acquisition levels, for example, the acquisition level of the sampling station a in the task a comprises a surface layer and a middle layer, the acquisition level of the sampling station a in the task B comprises a surface layer, a middle layer and a bottom layer, and after the sampling station a is subjected to data acquisition according to the task B, the acquired information of the surface layer, the middle layer and the bottom layer is simultaneously imported into the task a, which is different from the acquisition level of the sampling station a by the task a, so that the problem of non-uniform data acquisition exists, in step S140, the method comprises the steps of: and screening the sampling information according to the associated station positions in other tasks, and importing the sampling information according to the acquisition level required by the tasks. The sampling information is screened by screening the sampling information, the sampling levels required by other tasks are introduced into the sampling stations of other tasks, for example, the sampling level of the sampling station a in the task A comprises a surface layer and a middle layer, the sampling level of the sampling station a in the task B comprises a surface layer, a middle layer and a bottom layer, after the sampling station a is subjected to data acquisition according to the task B, the sampling information is screened according to the sampling level of the sampling station a in the task A comprising a surface layer and a middle layer, and then the sampling information of the surface layer and the middle layer is introduced into the sampling station a in the task A.
Referring to fig. 2, in the present embodiment, the step S130 specifically includes the following steps:
step S131: detecting the maximum acquisition level of the sampling station in each task;
step S132: setting a collection task of the sampling station according to the maximum collection level, and sending the collection task to a sampling terminal;
step S133: and acquiring sampling information of the sampling station through the sampling terminal according to the acquisition task.
The method comprises the steps of detecting the maximum collection level of a sampling station in each task, setting a collection task of the sampling station according to the maximum collection level, and simultaneously issuing the collection task to a sampling terminal, so that the sampling information of the sampling station can be obtained through the sampling terminal according to the collection task. If the acquisition level of the sampling station a in the task A comprises a surface layer and a middle layer, the acquisition level of the sampling station a in the task B, which is associated with the sampling station a in the task A, comprises a surface layer and a bottom layer, the maximum acquisition level of the sampling station in each task comprises the surface layer, the middle layer and the bottom layer, the surface layer, the middle layer and the bottom layer of the sampling station a are subjected to data acquisition to serve as the acquisition task of the sampling station a, the acquisition task is issued to a sampling terminal, and the sampling station a is subjected to acquisition of sampling information through the sampling terminal. And then, according to the respective acquisition levels of the sampling station a in the task A and the sampling station a in the task B, the sampling information is led into the sampling station a in the task A and the sampling station a in the task B.
In another embodiment, a storage medium stores a computer program which, when executed by a processor, performs the steps of the method as described in the previous embodiments.
Referring to fig. 3, in another embodiment, an electronic device 300 includes a memory 310 and a processor 320, where the memory 310 stores a computer program, and the computer program, when executed by the processor 320, implements the steps of the method according to the above embodiment.
The electronic equipment 300 is installed on a multi-task ship for ocean monitoring, and by establishing association between the same sampling stations of the multi-task ship for ocean monitoring, when data is acquired at each sampling station, sampling information is acquired according to the maximum acquisition level of the sampling station in each task, and the acquired sampling information is led into the sampling stations of other associated tasks, so that the tasks can be shared by recording data once without repeatedly acquiring data, the working efficiency is greatly improved, and the error rate is reduced.
It should be noted that, although the above embodiments have been described herein, the invention is not limited thereto. Therefore, based on the innovative concepts of the present invention, the technical solutions of the present invention can be directly or indirectly applied to other related technical fields by making changes and modifications to the embodiments described herein, or by using equivalent structures or equivalent processes performed in the content of the present specification and the attached drawings, which are included in the scope of the present invention.