GPS (global positioning system)-based water supply network inspection track deviation rectifying method
By calculating the inspector's movement speed and mode in real time and determining and correcting the GPS coordinate offset, the problem of inaccurate positioning during water supply pipeline network inspections is solved, and the accuracy of trajectory data and the effectiveness of management are achieved.
Patent Information
- Application Number
- CN202410782603.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-17
AI Technical Summary
In the existing GPS inspection system, the positioning coordinates are offset due to environmental and signal effects during the inspection of the water supply pipeline network, resulting in inaccurate inspection trajectories and occupying database resources. Moreover, the existing correction methods have poor applicability and are not real-time.
By calculating the moving speed and mode of the inspector in real time, the coordinate offset points are determined, and the offset coordinates are discarded or corrected to ensure the accuracy of the trajectory data. The time intervals and speed thresholds of different ways of walking, riding, or driving are used for correction processing. .
It realizes real-time correction during the inspection process, ensures data accuracy, reduces database resource usage, is suitable for a variety of inspection methods, and improves the data and analysis quality of water supply pipeline network management.
Smart Images

Figure CN118654231A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of GPS track positioning technology, and in particular to a GPS-based water supply network inspection track deviation correction method. Background Art
[0002] In recent years, urban construction has developed rapidly, and the water supply network has been continuously extended. It is particularly important for enterprises to ensure the normal operation of the water supply network. In order to grasp the on-duty status of water supply network patrol personnel, understand whether the patrol staff has carried out patrols on all pipelines and ancillary facilities on time and periodically according to the plan requirements; in order to timely grasp the hidden dangers and track the management and solution to avoid major accidents; in order to truly grasp the conditions that endanger the safe operation of pipelines and ancillary facilities and reliably record and archive them, the patrol information is digitally recorded and analyzed. Therefore, the GPS-based intelligent patrol system has gradually been used in the daily patrol, maintenance and management of urban water supply networks. The patrol route of patrol personnel is recorded through GPS coordinates, so that managers can track the patrol progress of patrol staff in real time and replay the patrol movement trajectory, so that the quality of patrol, the health of pipelines, the safety of facilities, and the stable operation of water supply and drainage are continuously guaranteed.
[0003] However, the water supply network has large-scale and long pipelines, and the surrounding environment is varied. When inspectors conduct inspections, the GPS positioning coordinates obtained by the mobile terminal will be offset due to the influence of the surrounding environment and the weak GPS signal itself, resulting in deviations between the drawn inspection track and the actual inspection route. Moreover, a large amount of inaccurate data is directly saved, which not only occupies database resources, but may also affect the management of inspection work.
[0004] The GPS inspection track correction methods currently available on the market are often designed for a single inspection method such as walking or vehicle, and have poor applicability. Moreover, most of the correction methods are performed when the inspection track is drawn after the inspection. The erroneous positioning data generated during the inspection is still saved, occupying database resources. Summary of the invention
[0005] 1. Technical issues to be resolved
[0006] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides a GPS-based water supply network inspection trajectory correction method, which can calculate the moving speed in real time during the inspection process, discard the deviated GPS coordinates, ensure the accuracy of the saved data, draw the correct inspection trajectory path, and assist in the management of water supply networks.
[0007] (II) Technical solution
[0008] In order to achieve the above object, the main technical solutions adopted by the present invention include:
[0009] In a first aspect, an embodiment of the present invention provides a GPS-based water supply network inspection trajectory correction method, comprising:
[0010] Based on the movement mode selected by the water supply network inspector, the coordinate information P and time point t of the inspector at the current moment are located in real time;
[0011] Compare the inspector's coordinate information P and time point t at the current moment with the inspector's coordinate information P1 and time point t1 at the previous moment stored in the trajectory coordinate set to obtain the inspector's moving speed;
[0012] According to the inspector's moving speed, moving mode, and speed change threshold, determine whether the inspector's coordinate information P and time point t at the current moment belong to a coordinate offset point;
[0013] If not, the coordinate information P and time point t of the inspector at the current moment are added to the trajectory coordinate set until the inspector finishes the inspection, and the trajectory coordinate set after the water supply network inspection trajectory is corrected is obtained.
[0014] Optionally, the real-time positioning of the coordinate information P and time point t of the inspector at the current moment based on the movement mode selected by the water supply network inspector includes:
[0015] At the initial moment of the water supply network inspector's inspection, the selection interface of the mobile terminal receives the walking, cycling or driving movement mode triggered by the inspector;
[0016] The mobile terminal locates the coordinate information P and time point t of the inspector at the current moment in real time according to the movement mode selected by the inspector, using the time interval corresponding to the movement mode;
[0017] The time interval of the walking moving mode is 4 to 10 seconds, the time interval of the riding moving mode is 1 to 3 seconds, and the time interval of the driving moving mode is 0.3 to 1 second.
[0018] Optionally, the inspector's coordinate information P and time point t at the current moment are compared with the inspector's coordinate information P1 and time point t1 at the previous moment stored in the trajectory coordinate set to obtain the inspector's moving speed, including:
[0019] Determine whether there is a positioning coordinate point stored in the trajectory coordinate set. If not, store the coordinate information P and time point t of the inspector at the current moment directly in the trajectory coordinate set;
[0020] Otherwise, the distance L is obtained according to the coordinate information P and the coordinate information P1 of the inspector at the previous moment, the time difference △t is obtained according to the time point t and the time point t1 of the inspector at the previous moment, and the moving speed of the current inspector is obtained according to the distance L and the time difference △t.
[0021] Optionally, determining whether the coordinate information P of the inspector at the current moment and the time point t belongs to a coordinate offset point according to the inspector's moving speed and moving mode and a speed change threshold includes:
[0022] According to the movement mode of the inspector, a speed change threshold V' corresponding to the movement mode is selected;
[0023] Determine whether the current inspector's moving speed is greater than the speed change threshold V'. If so, discard the inspector's coordinate information P and time point t at the current moment, and / or issue an alarm message when the speed is greater than the speed change threshold V'.
[0024] Alternatively, it is determined whether the current inspector's moving speed is greater than the speed change threshold V'. If so, the coordinate information P and time point t of the inspector at the current moment are corrected;
[0025] Specifically, according to the coordinate information P1 and P2 of the position points at the two latest moments stored in the trajectory coordinate set (i.e., the coordinate information P1 of the inspector at the previous moment, and the coordinate information P2 of the inspector at the previous moment), the direction angle θ of the line segment formed by connecting P1 and P2 is obtained, and according to the current time point t and the inspector's time point t1 at the previous moment, the coordinate information P1 and P2, the speed threshold V' and the direction angle θ, the coordinate information P and time point t of the inspector at the current moment are corrected, and the corrected coordinate information P and time point t of the inspector at the current moment are added to the trajectory coordinate set.
[0026] It should be noted that the azimuth of the line segment formed by connecting P1 and P2 is the angle formed in a clockwise direction from the north direction line of a certain point. In this application, the azimuth of P1 and P2 is the angle from the north direction line of P2 to the line segment connecting P1 and P2 in a clockwise direction.
[0027] Optionally, the method further comprises:
[0028] The mobile terminal uploads the track coordinate set after the deviation correction of the water supply network inspection track to the server in real time, so that the server can dynamically display the track coordinate set based on the deviation correction;
[0029] Alternatively, during the inspection process of the water supply network inspector, the mobile terminal operation interface receives the switching instruction of walking, cycling or driving movement mode triggered by the inspector to obtain the new movement mode;
[0030] The mobile terminal uses the time interval corresponding to the new movement mode to locate the coordinate information P and time point t of the inspector at the current moment in real time according to the new movement mode switched by the inspector; the coordinate information P and time point t of the inspector obtained for the first time after switching to the new movement mode are directly stored in the trajectory coordinate set.
[0031] In a second aspect, an embodiment of the present invention provides a GPS-based water supply network inspection trajectory correction device, comprising:
[0032] A location information acquisition unit, used to locate the coordinate information P and time point t of the inspector at the current moment in real time based on the movement mode selected by the water supply network inspector;
[0033] A judgment unit, used to compare the coordinate information P and time point t of the inspector at the current moment with the coordinate information P1 and time point t1 of the inspector at the previous moment stored in the trajectory coordinate set, to obtain the moving speed of the inspector; according to the moving speed and moving mode of the inspector and the speed change threshold, determine whether the coordinate information P and time point t of the inspector at the current moment belong to the coordinate offset point;
[0034] The storage unit is used to add the coordinate information P and time point t of the inspector at the current moment to the trajectory coordinate set when the judgment unit determines that it does not belong to the coordinate offset point, until the inspector finishes the inspection, and obtains the trajectory coordinate set after the water supply network inspection trajectory is corrected.
[0035] Optionally, the water supply network inspection trajectory correction device further includes:
[0036] A receiving unit is used to receive walking, cycling or driving movement modes triggered by the inspector on the mobile terminal selection interface at the initial moment of the water supply network inspector's inspection;
[0037] Accordingly, the location information acquisition unit is specifically used to locate the coordinate information P and time point t of the inspector at the current moment in real time according to the movement mode selected by the inspector, using the time interval corresponding to the movement mode;
[0038] The time interval of the walking moving mode is 4 to 10 seconds, the time interval of the riding moving mode is 1 to 3 seconds, and the time interval of the driving moving mode is 0.3 to 1 second.
[0039] Optionally, the water supply network inspection trajectory correction device further includes:
[0040] The sending unit is used to upload the track coordinate set of the water supply network inspection track after correction in real time to the server, so that the server can dynamically display it based on the track coordinate set after correction.
[0041] In a third aspect, an embodiment of the present invention further provides a mobile electronic device, comprising: a GPS positioning structure and a GPS-based water supply network inspection trajectory correction device as described in any one of the second aspects above.
[0042] Optionally, the mobile electronic device is a mobile phone.
[0043] (III) Beneficial effects
[0044] The method of the present invention is a practical and effective GPS trajectory correction method, which can provide strong data and analysis guarantees for water supply network inspection. In the implementation process of the present invention, by first determining different inspection movement modes and real-time calculation of movement speed, the deviated GPS coordinates are corrected and then stored to ensure the accuracy of the saved data, draw the correct inspection trajectory path, and assist in the management of water supply network. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A flow chart of a GPS-based water supply network inspection trajectory correction method provided in one embodiment of the present invention;
[0046] Figure 2 A flowchart of a GPS-based water supply network inspection trajectory correction method provided by another embodiment of the present invention;
[0047] Figure 3 A schematic structural diagram of a GPS-based water supply network inspection trajectory correction device provided in one embodiment of the present invention. DETAILED DESCRIPTION
[0048] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a clearer and more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0049] like Figure 1 As shown, this embodiment provides a GPS-based water supply network inspection trajectory correction method, the execution subject of which may be a mobile side device, which is a device carried by the inspector. The method of this embodiment may include the following steps:
[0050] 101. Based on the movement mode selected by the water supply network inspector, the coordinate information P and time point t of the inspector at the current moment are located in real time.
[0051] For example, at the initial moment of a water supply network inspector’s inspection, the selection interface on the mobile terminal receives the walking, cycling, or driving movement mode triggered by the inspector;
[0052] The mobile terminal locates the coordinate information P and time point t of the inspector at the current moment in real time according to the movement mode selected by the inspector, using the time interval corresponding to the movement mode;
[0053] The time interval of the walking moving mode is 4 to 10 seconds, the time interval of the riding moving mode is 1 to 3 seconds, and the time interval of the driving moving mode is 0.3 to 1 second.
[0054] 102. Compare the coordinate information P and time point t of the inspector at the current moment with the coordinate information P1 and time point t1 of the inspector at the previous moment stored in the trajectory coordinate set to obtain the moving speed of the inspector.
[0055] For example, determine whether the trajectory coordinate set stores the positioning coordinate points. If not, store the coordinate information P and time point t of the inspector at the current moment directly in the trajectory coordinate set; otherwise, obtain the distance L based on the coordinate information P and the coordinate information P1 of the inspector at the previous moment, obtain the time difference △t based on the time point t and the time point t1 of the inspector at the previous moment, and obtain the moving speed of the current inspector based on the distance L and the time difference △t.
[0056] 103. Determine whether the coordinate information P of the inspector at the current moment and the time point t belong to a coordinate offset point according to the inspector's moving speed, moving mode, and speed change threshold;
[0057] 104. If not, then add the coordinate information P and time point t of the inspector at the current moment to the trajectory coordinate set until the inspector finishes the inspection, and obtain the trajectory coordinate set after the inspection trajectory of the water supply network is corrected.
[0058] In this embodiment, the speed change threshold V' to which the movement mode belongs may be selected according to the movement mode of the inspector;
[0059] Determine whether the current inspector's moving speed is greater than the speed change threshold V'. If so, discard the inspector's coordinate information P and time point t at the current moment, and / or issue an alarm message when the speed is greater than the speed change threshold V'.
[0060] In another possible implementation, it is determined whether the current moving speed of the inspector is greater than the speed change threshold V'. If so, the coordinate information P and time point t of the inspector at the current moment are corrected.
[0061] For example, according to the coordinate information P1 and P2 of the two latest positions recorded in the trajectory coordinate set, the direction angles of P1 and P2 are obtained. θ , the formula is as follows:
[0062] θ=atan2(sin(Δλ)*cos(φ2),cos(φ1)*sin(φ2)-sin(φ1)*cos(φ2)*cos(Δλ))
[0063] Wherein, φ1 and φ2 represent the latitudes of two points, λ1 and λ2 represent the longitudes of two points, and Δλ represents the difference in longitudes of two points. The direction angle, i.e., the azimuth, is the angle formed from the north direction line of a certain point in a clockwise direction. In this embodiment, the direction angles of P1 and P2 are the angles from the north direction line of P2 in a clockwise direction to the line segment connecting P1 and P2.
[0064] The time difference △t1 is obtained according to the current time point t and the time point t1 corresponding to the coordinate information P1, and the moving distance L is obtained according to the time difference △t1 and the speed threshold V'; the corrected coordinate information is obtained according to the inspector's coordinate information P1, distance L, and direction angle θ at the previous moment, and the formula is as follows: φ2=asin(sin(φ1)*cos(L / R)+cos(φ1)*sin(L / R)*cos(θ))
[0065] λ2=λ1+atan2(sin(θ)*sin(L / R)*cos(φ1),cos(L / R)-sin(φ1)*sin(φ2))
[0066] Among them, φ1 and λ1 represent the latitude and longitude of point P1, φ2 and λ2 represent the corrected latitude and longitude, and R represents the radius of the earth.
[0067] Let the longitude and latitude represented by λ2 and φ2 be the corrected position point coordinate information of P, and the time point t remains unchanged; obtain the corrected coordinate information P and time point t of the inspector at the current moment, and add the corrected coordinate information P and time point t of the inspector at the current moment to the trajectory coordinate set.
[0068] Optionally, in a third possible implementation, during the inspection process of the water supply network inspector, a switching instruction of walking, riding or driving movement mode triggered by the inspector is received based on the operation interface of the mobile terminal to obtain a new movement mode;
[0069] The mobile terminal uses the time interval corresponding to the movement mode to locate the coordinate information P and time point t of the inspector at the current moment in real time according to the new movement mode switched by the inspector. The coordinate information P and time point t of the inspector obtained for the first time after switching to the new movement mode are directly stored in the trajectory coordinate set. The newly collected coordinate information and time point can be judged by referring to the above steps 102 to 103.
[0070] In this embodiment, the mobile terminal can upload the track coordinate set after the water supply network inspection track is corrected to the server in real time, so that the server can dynamically display it based on the track coordinate set after the correction.
[0071] The method of this embodiment solves the need for the inspection trajectory to be consistent with the actual movement route during the inspection of the water supply network. The traditional GPS trajectory correction method is often designed for a single inspection movement mode, and the trajectory correction method is executed when the inspection trajectory is finally drawn. This method will not process the problematic coordinate data during the inspection process. Incorrect coordinate data will still be saved in the database, which may affect the management of subsequent inspection work. In the method of the present invention, the inspection movement mode can be selected by the inspection personnel, and it is applicable to a variety of inspection forms; during the inspection process, the accuracy of the acquired GPS positioning coordinate data will be judged in real time, and incorrect data will be removed in time to avoid unexpected effects caused by the storage of erroneous data.
[0072] like Figure 2 As shown, in combination with the logic flow chart, the method of this embodiment may include:
[0073] When inspecting the water supply network, the inspectors are given three options: walking, cycling, and driving. The intervals for obtaining GPS coordinate data for each mode are set to 5s, 1s, and 0.5s. The speed thresholds for each mode are set to 1m / s for walking, 5m / s for cycling, and 8-10m / s for electric vehicles; the speed threshold for driving is 15-20m / s.
[0074] S1. When the inspection starts, the mobile terminal can respond to the movement mode selected by the inspector, select the speed change threshold V' to which the movement mode belongs according to the selected movement mode, and generate pointList as a trajectory coordinate set. Each trajectory point in the set contains the longitude and latitude coordinates and the time when the coordinates were obtained;
[0075] S2, the mobile terminal obtains the GPS positioning coordinates P and time t according to the set time interval;
[0076] S3, first determine whether there is already a positioning coordinate point in pointList, if not, go to step S6; if yes, obtain the coordinates P(0) and time t(0) of the last positioning point in pointList; calculate the distance L between P and P(0) according to the coordinates, and calculate the movement speed V(p)=L / (tt(0)) between the two points according to the time difference;
[0077] S4. During the inspection of the water supply network, no matter which method is chosen, walking, cycling or driving, the speed of movement will not change significantly due to the speed limit of people and the restrictions of urban traffic rules. If the speed changes suddenly, it means that the GPS coordinates have shifted. Therefore, in this step, it is determined that the calculated speed V(p)>V'. If yes, it means that the coordinates are shifted, and go to step S5; if not, it means that the coordinates are normal, and go to step S6; V' is the speed change threshold.
[0078] S5, according to the coordinate information P1 and P2 of the position points at the latest two moments recorded in the trajectory coordinate set (i.e., the coordinate information P1 of the inspector at the last moment, the coordinate information P2 of the inspector at the last moment), calculate the moving direction of the inspector, i.e., the azimuth angle θ formed by the two points, calculate the corrected coordinate point through the coordinate information P1 of the inspector at the last moment, the speed change threshold V', the time interval, and the azimuth angle θ, and go to step S6;
[0079] S6. Insert the coordinate point P into the pointList collection;
[0080] S7. Determine whether the inspection is finished. If not, go to step S2. If the pointList set is output, save it to the database and the inspection is finished.
[0081] The method of this embodiment combines the selection of inspection mode, provides inspection trajectory correction processing in various mobile mode scenarios, and through real-time speed calculation and wrong coordinate point elimination, it can avoid the situation where the speed caused by the continuous offset coordinate points does not exceed the threshold and is not eliminated. It solves the problem that the existing technology for GPS trajectory correction is based on the trajectory generated by vehicle driving, does not involve trajectory correction in multiple scenarios, and does not take into account the situation where multiple coordinate points are offset continuously. At the same time, it solves the defect of non-real-time trajectory correction after all coordinate points are obtained.
[0082] like Figure 3 As shown, this embodiment also provides a GPS-based water supply network inspection trajectory correction device, which includes:
[0083] A location information acquisition unit, used to locate the coordinate information P and time point t of the inspector at the current moment in real time based on the movement mode selected by the water supply network inspector;
[0084] A judgment unit, used to compare the coordinate information P and time point t of the inspector at the current moment with the coordinate information P1 and time point t1 of the inspector at the previous moment stored in the trajectory coordinate set, to obtain the moving speed of the inspector; according to the moving speed and moving mode of the inspector and the speed change threshold, determine whether the coordinate information P and time point t of the inspector at the current moment belong to the coordinate offset point;
[0085] The storage unit is used to add the coordinate information P and time point t of the inspector at the current moment to the trajectory coordinate set when the judgment unit determines that it does not belong to the coordinate offset point, until the inspector finishes the inspection, and obtains the trajectory coordinate set after the water supply network inspection trajectory is corrected.
[0086] In practical applications, the water supply network inspection trajectory correction device also includes:
[0087] A receiving unit is used to receive walking, cycling or driving movement modes triggered by the inspector on the mobile terminal selection interface at the initial moment of the water supply network inspector's inspection;
[0088] Accordingly, the location information acquisition unit is specifically used to locate the coordinate information P and time point t of the inspector at the current moment in real time according to the movement mode selected by the inspector, using the time interval corresponding to the movement mode;
[0089] The time interval of the walking moving mode is 4 to 10 seconds, the time interval of the riding moving mode is 1 to 3 seconds, and the time interval of the driving moving mode is 0.3 to 1 second.
[0090] In addition, the above-mentioned water supply network inspection trajectory correction device also includes:
[0091] The sending unit is used to upload the track coordinate set of the water supply network inspection track after correction in real time to the server, so that the server can dynamically display it based on the track coordinate set after correction.
[0092] In a third aspect, this embodiment further provides a mobile electronic device, including: a GPS positioning structure and a GPS-based water supply network inspection trajectory correction device as described in any of the above embodiments.
[0093] For example, the mobile electronic device is a mobile phone.
[0094] The above device provides strong data guarantee for the realization of upper-level business functions and daily maintenance and management of water supply network by correcting the inspection trajectory. During the processing, the above device can obtain accurate trajectory coordinate sets by obtaining GPS positioning coordinates, judging and eliminating offset coordinates, and saving coordinate sets, providing accurate data for the information management of the central control water plant.
[0095] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0096] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions.
[0097] It should be noted that in the claims, any reference numerals placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In the claims enumerating several means, several of these means may be embodied by the same hardware. The use of the words first, second, third, etc., is for convenience of expression only and does not indicate any order. These words may be understood as part of the component name.
[0098] In addition, it should be noted that, in the description of this specification, the description of the terms "one embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0099] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments after knowing the basic creative concept. Therefore, the claims should be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.
[0100] Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include these modifications and variations.
Claims
1. A GPS-based water supply network inspection trajectory correction method, characterized in that: include: Based on the movement mode selected by the water supply network inspector, the coordinate information P and time point t of the inspector at the current moment are located in real time; Compare the inspector's coordinate information P and time point t at the current moment with the inspector's coordinate information P1 and time point t1 at the previous moment stored in the trajectory coordinate set to obtain the inspector's moving speed; According to the inspector's moving speed, moving mode, and speed change threshold, determine whether the inspector's coordinate information P and time point t at the current moment belong to a coordinate offset point; If not, the coordinate information P and time point t of the inspector at the current moment are added to the trajectory coordinate set until the inspector finishes the inspection, and the trajectory coordinate set after the water supply network inspection trajectory is corrected is obtained.
2. The GPS-based water supply network inspection trajectory correction method according to claim 1, characterized in that: The method of real-time positioning of the coordinate information P and time point t of the inspector at the current moment based on the movement mode selected by the water supply network inspector includes: At the initial moment of the water supply network inspector's inspection, the selection interface of the mobile terminal receives the walking, cycling or driving movement mode triggered by the inspector; The mobile terminal locates the coordinate information P and time point t of the inspector at the current moment in real time according to the movement mode selected by the inspector, using the time interval corresponding to the movement mode; The time interval of the walking moving mode is 4 to 10 seconds, the time interval of the riding moving mode is 1 to 3 seconds, and the time interval of the driving moving mode is 0.3 to 1 second.
3. The GPS-based water supply network inspection trajectory correction method according to claim 1, characterized in that: The step of comparing the coordinate information P and time point t of the inspector at the current moment with the coordinate information P1 and time point t1 of the inspector at the previous moment stored in the trajectory coordinate set to obtain the moving speed of the inspector includes: Determine whether there is a positioning coordinate point stored in the trajectory coordinate set. If not, store the coordinate information P and time point t of the inspector at the current moment directly in the trajectory coordinate set; Otherwise, the distance L is obtained according to the coordinate information P and the coordinate information P1 of the inspector at the previous moment, the time difference △t is obtained according to the time point t and the time point t1 of the inspector at the previous moment, and the moving speed of the current inspector is obtained according to the distance L and the time difference △t.
4. The GPS-based water supply network inspection trajectory correction method according to claim 3, characterized in that: The step of determining whether the coordinate information P of the inspector at the current moment and the time point t belongs to a coordinate offset point according to the inspector's moving speed, moving mode, and speed change threshold includes: According to the movement mode of the inspector, a speed change threshold V' corresponding to the movement mode is selected; Determine whether the current inspector's moving speed is greater than the speed change threshold V'. If so, discard the inspector's coordinate information P and time point t at the current moment, and / or issue an alarm message when the speed is greater than the speed change threshold V'. Alternatively, determine whether the current inspector's moving speed is greater than the speed change threshold V'. If so, correct the inspector's coordinate information P and time point t at the current moment. Specifically, according to the coordinate information P1 of the inspector at the previous moment and the coordinate information P2 of the inspector at the previous moment stored in the trajectory coordinate set, the direction angle θ of the line segment formed by connecting P1 and P2 is obtained, and according to the current time point t and the time point t1 of the coordinate information P1 at the previous moment, the coordinate information P1, P2, the speed threshold V' and the direction angle θ, the coordinate information P of the inspector at the current moment and the time point t are corrected, and the corrected coordinate information P of the inspector at the current moment and the time point t are added to the trajectory coordinate set.
5. The GPS-based water supply network inspection trajectory correction method according to claim 3, characterized in that: The method further comprises: The mobile terminal uploads the track coordinate set after the deviation correction of the water supply network inspection track to the server in real time, so that the server can dynamically display the track coordinate set based on the deviation correction; Alternatively, during the inspection process of the water supply network inspector, the mobile terminal operation interface receives the switching instruction of walking, cycling or driving movement mode triggered by the inspector to obtain the new movement mode; The mobile terminal uses the time interval corresponding to the new movement mode to locate the coordinate information P and time point t of the inspector at the current moment in real time according to the new movement mode switched by the inspector; the coordinate information P and time point t of the inspector obtained for the first time after switching to the new movement mode are directly stored in the trajectory coordinate set.
6. A GPS-based water supply network inspection trajectory correction device, characterized in that: include: A location information acquisition unit, used to locate the coordinate information P and time point t of the inspector at the current moment in real time based on the movement mode selected by the water supply network inspector; A judgment unit, used to compare the coordinate information P and time point t of the inspector at the current moment with the coordinate information P1 and time point t1 of the inspector at the previous moment stored in the trajectory coordinate set, to obtain the moving speed of the inspector; according to the moving speed and moving mode of the inspector and the speed change threshold, determine whether the coordinate information P and time point t of the inspector at the current moment belong to the coordinate offset point; The storage unit is used to add the coordinate information P and time point t of the inspector at the current moment to the trajectory coordinate set when the judgment unit determines that it does not belong to the coordinate offset point, until the inspector finishes the inspection, and obtains the trajectory coordinate set after the water supply network inspection trajectory is corrected.
7. The GPS-based water supply network inspection trajectory correction device according to claim 6 is characterized in that: The water supply network inspection trajectory correction device also includes: A receiving unit is used to receive walking, cycling or driving movement modes triggered by the inspector on the mobile terminal selection interface at the initial moment of the water supply network inspector's inspection; Accordingly, the location information acquisition unit is specifically used to locate the coordinate information P and time point t of the inspector at the current moment in real time according to the movement mode selected by the inspector, using the time interval corresponding to the movement mode; The time interval of the walking moving mode is 4 to 10 seconds, the time interval of the riding moving mode is 1 to 3 seconds, and the time interval of the driving moving mode is 0.3 to 1 second.
8. The GPS-based water supply network inspection trajectory correction device according to claim 6 is characterized in that: The water supply network inspection trajectory correction device also includes: The sending unit is used to upload the track coordinate set of the water supply network inspection track after correction in real time to the server, so that the server can dynamically display it based on the track coordinate set after correction.
9. A mobile electronic device, characterized in that: include: A GPS positioning structure and a GPS-based water supply network inspection trajectory correction device as described in any one of claims 6 to 8 above.
10. The mobile electronic device according to claim 9, characterized in that: The mobile electronic device is a mobile phone.
Citation Information
Patent Citations
Method for correcting global position system (GPS) offset
CN102455427A
Early warning method of automatically determining safety of inspector
CN108769184A
Water source monitoring track data processing method, device and equipment and storage medium
CN112487038A
Automatic deviation rectifying method for GPS line patrol walking track of inspector
CN112731488A
Trajectory deviation rectifying device and method based on GPS data
CN113031033A
Cited By
Intelligent patrol monitoring method, electronic equipment and storage system
CN120954116A
