Disclosure of Invention
The invention aims to provide a hydrological test data recording and calculating method based on mobile equipment to solve the problems, which adopts a Web + APP/S structure to greatly simplify the recording work of a mobile terminal, so that the recording and calculating by using the mobile equipment is really simple, the working efficiency, the data collection efficiency and the data accuracy of the hydrological test data recording and calculating are improved, and the reconstruction in an off-line mode is carried out in consideration of the unstable network environment of a test place.
The invention realizes the purpose through the following technical scheme: a hydrological test data recording and calculating method based on a mobile device comprises the following steps:
the data entry module is used for automatically locating a nearby test station according to the APP login user information and the mobile equipment locating position, providing data entry entries of all test items of the station, and clicking to perform test data entry;
the test task module comprises the test stations which are focused by the user and all the test stations administered by the department of the institution, can select a certain test station to enter the data entry entries of all test items of the test station, performs test data entry, and can check the implementation progress of all test tasks of the test station;
the off-line mode can increase the test tasks in the off-line mode and the test data temporarily stored in the local, and after the test data is submitted, the local temporary storage data is deleted;
the test result module allows the user to retrieve the hydrological test result in a form suitable for being displayed by the mobile equipment, and meanwhile, the generated original record calculation table can be downloaded by using the Web end;
the matched Web end system is used for managing and setting the auxiliary test information and the station testing basic information;
the method comprises the following steps:
step one, web end number measurement basic information is input and used for inputting number measurement basic information, the number measurement basic information generally comprises auxiliary test information and station test basic information, and the information contents are more and comprise Chinese and symbols;
step two, actual measurement data entry of the APP terminal is used for selecting basic information of the measuring station measuring times, entering actual measurement data, displaying calculation data, and data entry by using the mobile device APP is the key for realizing data entry of the test field; the basic information of the test times, the direct recording part and the calculating part are selected, input and displayed on the test site by utilizing APP;
step three, server side calculation is used for calling hydrological test API to carry out calculation, the server side stores test related data input and maintained by the APP side and the Web side, and the server side comprises a large amount of calculation and data processing API; a large number of algorithms related to hydrological tests are realized in an API mode and are called by the APP terminal, after observation data are input by the APP terminal, the corresponding API is called in real time for calculation, calculation resources of the server terminal are used for calculation, and the calculated data are fed back to the APP terminal in real time.
As a still further scheme of the invention: and in the offline mode, downloading a test offline resource packet to the APP terminal, wherein the offline resource packet comprises the basic information of the test times of the selected test station and a hydrological test calculation API. In the off-line test process, the APP terminal directly calls the locally downloaded test order basic information to select and calculate with the hydrologic test calculation API, and the calculation process adopts the calculation resources of the mobile equipment. After the data which is recorded and calculated is temporarily stored in the storage space of the mobile equipment, when the area with a good network state is reached, the cached data is uploaded to the server side through the network for storage, meanwhile, the local cached data of the mobile equipment is deleted, and the data uploaded to the server side has consistency with the data stored by the server side in a non-offline mode.
As a still further scheme of the invention: the test data of the test result module is displayed in the form of a test original record calculation table, the test original record calculation table becomes a mode for checking the test data, when the test data is changed, the content of the generated test original record calculation table is also changed correspondingly, and therefore the condition that the data recorded in the test original record calculation table is different from the actual test result data is avoided. Meanwhile, according to the characteristics of the data retrieval equipment, the retrieval result can be displayed in a suitable form, and is not limited to a single test original record calculation table form.
As a still further scheme of the invention: in the first step, the basic information of the measured times is input by using the APP terminal, so that the workload is large, in order to simplify the input operation of the APP terminal, all possible basic information of the measured times is preset in advance at the Web terminal, the APP terminal directly processes the preset information into selectable options for the user to select repeatedly, the basic information of the measured times generally does not change frequently, therefore, the test of each time is not required to be modified, and the basic information of the measured times can be maintained and added through the Web terminal as required;
the direct recording part is used for recording test reading of a test site and is realized by completely depending on input of an APP terminal;
the calculation part is provided with a fixed algorithm, and the calculation part is calculated by the server end in real time and fed back to the testers to judge whether the test data is reliable or not.
As a still further scheme of the invention: in the second step, the auxiliary test information refers to the current environmental conditions, including weather, wind direction, test time, etc., and the selection range of these information is limited. The basic test information of the test station refers to the information about the test when the test station performs the test item, including the test mode, the test equipment, the section position, the level point position, etc., and the information has one or more optional information for several test stations managed by a single test station or a unified test institution, and the test is independent of the test itself, and the test only needs to select the actual information of the current test from the optional items.
As a still further scheme of the invention: in the third step, for the test items with complex calculation, the test record data does not need to be brought back to the interior industry for calculation, and the test result can be directly obtained on site to judge whether the test is valid or not.
The invention has the beneficial effects that: 1) And testing on site and synchronizing records. The method utilizes the mobile equipment to synchronously complete recording and calculation of hydrological test data on an field monitoring site, realizes measurement of one data, records one data and calculates one data, completely accords with the traditional hydrological test habit, and directly stores the data in a warehouse without repeated recording;
2) The recording and calculating method is more convenient. The method adopts a Web + APP/S structure, the basic information input work of the test times is handed to a server end and a Web end, the work is completed indoors in advance, and the input of the mobile equipment is supported, and the data is usually input once and can be repeatedly used, so that the input operation is simplified, and the data input is more convenient and fast;
3) The hydrologic data recording and calculation are not limited by a network. Under the condition that the mobile equipment is off-line, an off-line module is supported to realize test recording calculation, and test data are uploaded to the server and shared with other users under the condition that the network is good;
4) The hydrological test result retrieval gets rid of regional limitation, the hydrological test result retrieval can be carried out at any time and any place by utilizing the mobile terminal, and the data presentation form can be an original record calculation table form used by testers and can also be a presentation form suitable for being displayed by terminal equipment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1 to 3, a hydrological test data recording and calculating method based on a mobile device includes:
the data entry module is used for automatically locating a nearby test station according to the information of the APP login user and the location position of the mobile equipment, providing data entry entries of all test items of the station, and clicking to perform test data entry;
the test task module comprises the test stations which are focused by the user and all the test stations administered by the department of the institution, can select a certain test station to enter the data entry entries of all test items of the test station, performs test data entry, and can check the implementation progress of all test tasks of the test station;
the off-line mode can add the test tasks in the off-line mode and the test data temporarily stored in the local, and after the test data is submitted, the local temporary data is deleted;
the test result module allows a user to retrieve hydrological test results in a form suitable for being displayed by the mobile equipment, and meanwhile, the Web end can be used for downloading the generated original record calculation table;
the matched Web end system is used for managing and setting the auxiliary test information and the station test basic information;
the method comprises the following steps:
step one, web end number measurement basic information is input and used for inputting number measurement basic information, the number measurement basic information generally comprises auxiliary test information and station test basic information, and the information contents are more and comprise Chinese and symbols;
step two, actual measurement data entry of an APP terminal is used for entering actual measurement data, and data entry by using a mobile device APP is a key for achieving data entry in a test field; the basic information of the test times, the direct recording part and the calculating part are selected, input and displayed on the test site by utilizing APP;
step three, server side calculation, which is used for calling an Application Programming Interface (API) for hydrological test to perform calculation, wherein the server side stores test related data input and maintained by the APP side and the Web side and comprises a large amount of calculation and data processing APIs; a large number of algorithms related to hydrological tests are realized in an API mode and are called by the APP terminal, after observation data are input by the APP terminal, the corresponding API is called in real time for calculation, calculation resources of the server terminal are used for calculation, and the calculated data are fed back to the APP terminal in real time.
In the embodiment of the invention, in the offline mode, an offline test resource packet is downloaded to the APP terminal, and the offline resource packet comprises the basic information of the test times of the selected test station and the hydrological test calculation API. In the off-line test process, the APP terminal directly calls the locally downloaded test order basic information to select and calculate with the hydrologic test calculation API, and the calculation process adopts the calculation resources of the mobile equipment. After the data which is recorded and calculated is temporarily stored in the storage space of the mobile equipment, when the area with a good network state is reached, the cached data is uploaded to the server side through the network for storage, meanwhile, the local cached data of the mobile equipment is deleted, and the data uploaded to the server side has consistency with the data stored by the server side in a non-offline mode.
In the embodiment of the invention, the test data of the test result module is displayed in the form of the test original record calculation table, the test original record calculation table becomes a mode for checking the test data, and when the test data is changed, the content of the generated test original record calculation table is also changed correspondingly, so that the condition that the data recorded in the test original record calculation table is different from the actual test result data is avoided. Meanwhile, according to the characteristics of the data retrieval equipment, the retrieval result can be displayed in a suitable form, and the form is not limited to a single test original record calculation table form.
In the embodiment of the invention, in the first step, the basic information of the measurement times is input by using the APP terminal, so that the workload is large, in order to simplify the input operation of the APP terminal, all possible basic information of the measurement times is preset in advance at the Web terminal, the APP terminal directly processes the preset information into selectable options for the user to select repeatedly, and the basic information of the measurement times is generally not changed frequently, so that the basic information of the measurement times is not required to be modified in each test, but can be maintained and added through the Web terminal as required;
the direct recording part is used for recording test reading of a test site and is completely realized by depending on the input of an APP terminal, and the digital input is simple and convenient to operate for the mobile APP;
the calculation part is provided with a fixed algorithm, and the calculation part completes the calculation in real time by the server side and feeds back the calculation to the testers to judge whether the test data is reliable or not so as to reduce the calculation error rate.
In the embodiment of the present invention, in the second step, the auxiliary testing information refers to the environmental conditions currently measured, including weather, wind direction, testing time, and the like, and the selection range of these information is limited. The basic information of the test station test refers to the information about the test when the test station performs the test item, including the test mode, the test equipment, the cross section position, the leveling point position and the like, and the information has one or more optional information for a plurality of test stations managed by a single test station or a unified test institution, and is not related to the test itself, and the test only needs to select the actual information of the current test from the optional items.
Therefore, the information can be recorded in advance, and after one time of recording, the subsequent multi-station and multi-test use can be supported. The characteristic is suitable for being completed by a Web end, all possible basic information is input and is used as a data dictionary which can be maintained by a user, due to the characteristic of the information, the data dictionary does not need to be frequently changed, and during testing, information selection is carried out at an APP end according to the actual situation of the test time. Meanwhile, the information is maintainable, when the information changes, a user can modify the information, and the modified information is reflected on the APP terminal in real time. The data input by the Web end is visual and convenient, the habit of the user is met, and the basic information of the station test is independent of the test flow and can be organized in advance.
In the third step of the embodiment of the invention, for the test project with complex calculation, the test record data does not need to be brought back to the interior calculation, the test result can be directly obtained on the spot, whether the current test is effective or not is judged, the whole calculation process does not need to participate in the manual work, and the requirement on the professional calculation capacity of the tester is reduced.
Examples
Taking the water level test as an example, the concrete implementation process of calculating the hydrological test data is recorded by using the 'Changjiang river hydrological APP'. The key data required to be recorded by the task of the manual water level test at one time comprise observation time, wind direction/fluctuation degree, a main water gauge, main water gauge reading, a second water gauge, second water gauge reading and the like.
Before hydrological test data is recorded and calculated by using 'Yangtze river hydrological APP' for the first time, the Web end is required to be used for maintaining auxiliary test information and station test basic information. If the wind direction/fluctuation belongs to auxiliary test information, the main water gauge and the second water gauge belong to station test basic information, the auxiliary test information range is relatively fixed, for example, the water surface fluctuation generally comprises 1-4 grades; the basic information of the station tests of each station is also relatively fixed, for example, the water gauge number and the water gauge elevation of a water level test project of a certain station can be changed only when the water gauge is damaged or the water gauge elevation is changed. The frequency of maintenance of this information is generally low.
In daily tests, test data can be recorded and calculated only by opening the 'Yangtze river hydrology APP', under the condition of good network conditions, the current station position is located through the 'data entry', a water level entry function is entered, and a water level test task is initiated. In the off-line mode, the water level test off-line resource packet of the test station needs to be downloaded in advance, and then the off-line water level test task is initiated.
The observed time automatically obtains the current time of the mobile device.
The information such as the wind direction/undulation degree, the main water gauge and the second water gauge is configured in advance, and the APP end can directly process the configured information into selectable options for selection during actual testing.
The reading of the main water gauge and the reading of the second water gauge are digital input.
After data input is finished, manual calculation is not needed, and in an online mode, a server side automatically calls a water level calculation API to calculate a water level value; in an off-line mode, the APP calls local resources to calculate, the calculation result is fed back to the user in real time, and whether the test is reliable or not is judged manually.
Finally, the test data in the online mode can be directly submitted to a server; the test data in the off-line mode can be temporarily stored locally, and then submitted to the server after arriving at the area with good network condition.
In the process of daily test, the user does not need to input and maintain large-section characters and special symbols, and only needs to use the APP terminal to select information and input numbers, so that the test data recording and recording work is greatly simplified
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.