A water conservancy inspection completion rate monitoring method, system and medium
By conducting a long split and buffer area for the water conservancy inspection trajectory, and obtaining the actual inspection trajectory in combination with GPS equipment, the problem of unable to effectively monitor the completion rate of the water conservancy inspection in existing technologies has been solved. And performance assessment.
Patent Information
- Application Number
- CN202410215669.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-27
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2044-02-27
AI Technical Summary
The existing technology cannot effectively supervise the completion of water conservancy inspections, and cannot intuitively obtain the overlap between the actual inspection path and the area to be inspected, resulting in the inability to quickly understand the inspection completion status of each inspection area.
Through the reference inspection trajectory of the current inspection objects, the inspection buffer of each reference trajectory is generated, and the actual inspection trajectory of the inspector is obtained through the GPS equipment to determine the inspection buffer hit by the actual inspection trajectory. Calculate the completion rate of inspection.
Realized the effective monitoring of the completion rate of water conservancy inspection, can intuitively obtain the actual inspection path and the weight of the area to be inspected, quickly understand the completion of the inspection of each inspection area, reduce the difficulty of the supervision of water conservancy inspections, promote the promotion Performance assessment of inspection work.
Smart Images

Figure CN118014433B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of water conservancy inspection, and in particular to a method, system and medium for monitoring completion rate of water conservancy inspection. Background Art
[0002] In the work of water conservancy safety assurance, there are many inspections of basic water conservancy facilities, such as river inspections, embankment inspections, line inspections, etc. These water conservancy inspections are of great significance to the maintenance and safety of water conservancy facilities. Therefore, it is particularly important to supervise the actual completion rate of water conservancy inspections.
[0003] However, due to the lack of unified measurement standards and reasonable and effective analysis methods, it is still impossible to effectively supervise the completion of water conservancy inspections. Even if the actual inspection route of the inspectors can be obtained through positioning equipment, it is impossible to intuitively obtain the overlap between the actual inspection route and the area to be inspected, and the supervisors cannot quickly learn the inspection completion status of each inspection area. Summary of the invention
[0004] The embodiments of the present invention provide a method, system and medium for monitoring the completion rate of water conservancy inspections, which are used to solve the following technical problems: currently, it is impossible to effectively supervise the completion of water conservancy inspections, it is impossible to intuitively obtain the overlap between the actual inspection path and the area to be inspected, and it is impossible to quickly know the inspection completion status of each inspection area.
[0005] The embodiment of the present invention adopts the following technical solutions:
[0006] On the one hand, an embodiment of the present invention provides a method for monitoring the completion rate of a water conservancy inspection, the method comprising: splitting a reference inspection trajectory of a current inspection object into equal length segments to obtain a plurality of reference inspection trajectory segments;
[0007] Generate a patrol buffer for each reference patrol trajectory segment;
[0008] Obtain the actual patrol track of patrol personnel through GPS equipment;
[0009] Determine, according to the spatial coordinates of the actual patrol trajectory and the spatial coordinates of the patrol buffer, the patrol buffer hit by the actual patrol trajectory as a hit buffer;
[0010] The inspection completion rate of the current inspection object is determined according to the number of hit buffers.
[0011] In a feasible implementation manner, the reference inspection trajectory of the current inspection object is split into equal lengths to obtain a number of reference inspection trajectory segments, specifically including:
[0012] Determine the split length according to the inspection density requirement of the current inspection object;
[0013] Based on the split length, split the reference patrol trajectory into a plurality of reference patrol trajectory segments of the same length;
[0014] The split length belongs to a preset split length range, and the number of reference inspection trajectory segments after splitting does not exceed a preset number threshold.
[0015] In a feasible implementation manner, generating a patrol buffer for each reference patrol trajectory segment specifically includes:
[0016] Determine the buffer radius according to the inspection range requirement of the current inspection object;
[0017] Taking the trajectory line of each reference patrol trajectory segment as the central axis and the buffer radius as the radius, generating a patrol buffer zone corresponding to each reference patrol trajectory segment;
[0018] A spatial coordinate set of each patrol buffer is obtained and recorded; the spatial coordinate set at least includes the spatial coordinates of all boundary points of the patrol buffer.
[0019] In a feasible implementation, obtaining the actual patrol track of the patrol personnel through a GPS device specifically includes:
[0020] During the inspection process, the inspectors collect real-time location data through the GPS devices they carry at preset time intervals to obtain real-time location coordinates of several coordinate points;
[0021] Optimize the points among all the collected coordinate points to obtain an optimized set of coordinate points;
[0022] The coordinate points in the coordinate point set are connected in the order of collection time to obtain the actual inspection trajectory.
[0023] In a feasible implementation, point optimization is performed among all the collected coordinate points to obtain an optimized coordinate point set, which specifically includes:
[0024] According to the order of collection time, traverse each collected coordinate point and calculate the spatial distance between the current coordinate point and the previous coordinate point;
[0025] If the spatial distance is less than the preset distance, the current coordinate point is eliminated;
[0026] After the traversal is completed, the remaining coordinate points are added to the coordinate point set.
[0027] In a feasible implementation manner, determining the patrol buffer hit by the actual patrol trajectory as the hit buffer according to the spatial coordinates of the actual patrol trajectory and the spatial coordinates of the patrol buffer, specifically includes:
[0028] Get the spatial coordinate set of each patrol buffer;
[0029] The intersection point between the actual inspection trajectory and each inspection buffer zone is calculated by using the point-line-surface intersection algorithm in the Geotools library;
[0030] If there is at least one intersection point in a patrol buffer, the patrol buffer is determined as a hit buffer.
[0031] In a feasible implementation manner, determining the inspection completion rate of the current inspection object according to the number of hit buffers specifically includes:
[0032] Counting the total number of buffer hits in the reference inspection trajectory;
[0033] Obtaining the total number of reference patrol trajectory segments split from the reference patrol trajectory;
[0034] The ratio of the total number of hit buffers to the total number of reference patrol track segments is calculated to obtain the patrol completion rate of the current patrol object.
[0035] In a feasible implementation manner, after determining the inspection completion rate of the current inspection object according to the number of hit buffers and the number of reference inspection trajectory segments, the method further includes:
[0036] The inspection completion rate of the current inspection object is sent to the water conservancy inspection supervision system and displayed in real time in the display interface;
[0037] If the inspection completion rate is less than the minimum inspection completion rate threshold, an alarm message is generated in the water conservancy inspection and supervision system, and the alarm message is sent to the supervisor terminal.
[0038] On the other hand, an embodiment of the present invention further provides a water conservancy inspection completion rate monitoring system, the system comprising:
[0039] The inspection trajectory processing module is used to split the reference inspection trajectory of the current inspection object into equal lengths to obtain a number of reference inspection trajectory segments; generate an inspection buffer for each reference inspection trajectory segment; and obtain the actual inspection trajectory of the inspector through the GPS device;
[0040] The inspection completion rate monitoring module is used to determine the inspection buffer hit by the actual inspection trajectory as the hit buffer according to the spatial coordinates of the actual inspection trajectory and the spatial coordinates of the inspection buffer; and determine the inspection completion rate of the current inspection object according to the number of the hit buffers.
[0041] Finally, an embodiment of the present invention also provides a storage medium, which is a non-volatile computer-readable storage medium, and the non-volatile computer-readable storage medium stores at least one program, each of which includes instructions, and when the instructions are executed by a terminal, the terminal executes the method for monitoring the completion rate of a water conservancy inspection.
[0042] Compared with the prior art, the water conservancy inspection completion rate monitoring method, system and medium provided by the embodiment of the present invention have the following beneficial effects:
[0043] The present invention splits the inspection route and constructs a suitable buffer area, and then calculates the spatial position of the surface coordinates of the buffer area and the coordinates of the inspection point to obtain an effective inspection hit rate, providing a unified measurement standard and a reasonable and effective analysis method for water conservancy inspection work. It reduces the difficulty of supervision of water conservancy inspection work and effectively promotes the performance evaluation of inspection work. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0045] Figure 1 A flow chart of a method for monitoring the completion rate of water conservancy inspections provided by an embodiment of the present invention;
[0046] Figure 2 A schematic diagram of splitting a reference inspection trajectory provided by an embodiment of the present invention;
[0047] Figure 3 A schematic diagram of a patrol buffer area provided by an embodiment of the present invention;
[0048] Figure 4 A superimposed effect diagram of an actual patrol track and a patrol buffer zone provided by an embodiment of the present invention;
[0049] Figure 5 A schematic diagram of the structure of a water conservancy inspection completion rate monitoring system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0050] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0051] The embodiment of the present invention provides a method for monitoring the completion rate of water conservancy inspections, such as Figure 1 As shown, the water conservancy inspection completion rate monitoring method specifically includes steps S101-S105:
[0052] S101. Split the reference inspection trajectory of the current inspection object into equal length segments to obtain a plurality of reference inspection trajectory segments.
[0053] Specifically, the inspection density requirement of the current inspection object is first obtained, and then the split length of the reference inspection trajectory is determined according to the inspection density requirement.
[0054] As a feasible implementation method, the inspection density requirements of different water conservancy facilities are not the same. For example, the inspection of levees is relatively detailed, and the distance between adjacent responsibility sections is generally 10-20 meters, and the inspection density is relatively high. River channels are generally longer, and the adjacent exploration distance is generally 100-200 meters, and the inspection density is relatively low. Based on this actual situation, the present invention does not set a fixed inspection trajectory split length, but sets different split lengths for different inspection objects, so that the method can be applied to the inspection completion rate monitoring of more types of inspection objects, making the calculated inspection completion rate more representative.
[0055] Further, based on the above determined split length, the reference patrol track is split into a number of reference patrol track segments of the same length, wherein the split length belongs to a preset split length range, and the number of the reference patrol track segments after the split does not exceed a preset number threshold.
[0056] As a feasible implementation method, Figure 2 A schematic diagram of splitting a reference inspection trajectory provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the reference inspection trajectory is displayed in the map in the form of line segments, and is split into equal lengths according to the split lengths corresponding to the inspection objects.
[0057] In one embodiment, the number of splits of the reference inspection trajectory is recommended to be no more than 100, and the length of a single split line segment is recommended to be between 20m and 200m.
[0058] S102: Generate a patrol buffer for each reference patrol trajectory segment.
[0059] Specifically, the buffer radius is determined according to the inspection range requirement of the current inspection object, and then the inspection buffer corresponding to each reference inspection trajectory segment is generated with the trajectory line of each reference inspection trajectory segment as the central axis and the buffer radius as the radius.
[0060] Furthermore, a spatial coordinate set of each patrol buffer is obtained and recorded; the spatial coordinate set at least includes the spatial coordinates of all boundary points of the patrol buffer.
[0061] As a feasible implementation method, similar to the inspection density requirements, the inspection range requirements of different water conservancy facilities are also different. According to different inspection range requirements, the corresponding buffer zone radius is set. Figure 3 A schematic diagram of a patrol buffer area provided by an embodiment of the present invention, such as Figure 3 As shown, the buffer zone of each line segment is an area formed by extending outward with the line segment itself as the central axis and the buffer zone radius as the radius.
[0062] In one embodiment, it is recommended that the buffer radius be set within the range of 10m-20m. If the buffer radius is set too long, the buffer zone will be too large. Even if the actual inspection trajectory falls within the buffer zone, it may only fall within the edge of the buffer zone, making it impossible to patrol other areas within a buffer zone well, which may lead to missed dangerous situations.
[0063] S103, obtaining the actual patrol track of the patrol personnel through the GPS device.
[0064] Specifically, during the inspection process, the inspectors collect real-time position data through the GPS devices they carry at preset time intervals to obtain real-time position coordinates of several coordinate points.
[0065] As a feasible implementation method, when inspectors inspect water conservancy facilities, they are asked to carry mobile phone positioning devices or GPS terminals to collect the inspectors' real-time GPS coordinate data through the positioning devices, and set a fixed time interval frequency, for example, collecting coordinate points once every 2S-3S.
[0066] Furthermore, all the collected coordinate points are optimized to obtain an optimized coordinate point set, and then the coordinate points in the coordinate point set are connected in the order of collection time to obtain the actual inspection trajectory.
[0067] As a feasible implementation method, the specific process of point optimization is as follows: traverse each collected coordinate point according to the order of collection time, and calculate the spatial distance between the current coordinate point and the previous coordinate point. If the spatial distance is less than the preset distance, the current coordinate point is eliminated. After the traversal is completed, the remaining coordinate points are classified into the coordinate point set.
[0068] In one embodiment, coordinate points whose distance from the previous coordinate point is less than 2 meters are discarded.
[0069] S104 . Determine the patrol buffer hit by the actual patrol trajectory as a hit buffer according to the spatial coordinates of the actual patrol trajectory and the spatial coordinates of the patrol buffer.
[0070] Specifically, the spatial coordinate set of each patrol buffer is obtained. Then, the intersection point between the actual patrol trajectory and each patrol buffer is calculated through the point-line-surface intersection algorithm in the Geotools library. If there is at least one intersection point in a patrol buffer, the patrol buffer is determined as a hit buffer.
[0071] In one embodiment, if patrol buffer 1 has at least one intersection point with the actual patrol trajectory, then patrol buffer 1 is a hit buffer.
[0072] S105: Determine the inspection completion rate of the current inspection object according to the number of hit buffers.
[0073] Specifically, the total number of hits in the buffer zone in the reference patrol track is counted, and then the total number of reference patrol track segments split from the reference patrol track is obtained. Then the ratio of the total number of hits in the buffer zone to the total number of reference patrol track segments is calculated to obtain the patrol completion rate of the current patrol object.
[0074] As a feasible implementation, the calculation formula of the inspection completion rate is: inspection completion rate = number of hit buffers / total number of buffers*100%. If the total number of buffers is 80 and the number of hit buffers is 75, then the inspection completion rate is 75 / 80*100%=93.75%.
[0075] Furthermore, the inspection completion rate of the current inspection object is sent to the water conservancy inspection supervision system and displayed in real time in the display interface. If the inspection completion rate is less than the minimum inspection completion rate threshold, an alarm message is generated in the water conservancy inspection supervision system and sent to the supervisor terminal.
[0076] As a feasible implementation method, if the inspection completion rate is too low, for example, less than 70%, it means that the inspection of the current inspection object is not in place, and an alarm message needs to be sent to the supervisor to conduct another inspection in time to reduce the possibility of missed inspections and improve the safety of water conservancy facilities.
[0077] In addition, the embodiment of the present invention also provides a water conservancy inspection completion rate monitoring system, such as Figure 5 As shown, the water conservancy inspection completion rate monitoring system 500 specifically includes:
[0078] The inspection track processing module 510 is used to split the reference inspection track of the current inspection object into equal lengths to obtain a number of reference inspection track segments; generate an inspection buffer for each reference inspection track segment; and obtain the actual inspection track of the inspector through the GPS device;
[0079] The inspection completion rate monitoring module 520 is used to determine the inspection buffer hit by the actual inspection trajectory as the hit buffer according to the spatial coordinates of the actual inspection trajectory and the spatial coordinates of the inspection buffer; and determine the inspection completion rate of the current inspection object according to the number of the hit buffers.
[0080] Finally, an embodiment of the present invention further provides a storage medium, which is a non-volatile computer-readable storage medium, and the non-volatile computer-readable storage medium stores at least one program, each of which includes instructions, and when the instructions are executed by a terminal, the terminal executes:
[0081] The reference inspection trajectory of the current inspection object is split into equal lengths to obtain a number of reference inspection trajectory segments;
[0082] Generate a patrol buffer for each reference patrol trajectory segment;
[0083] Obtain the actual patrol track of patrol personnel through GPS equipment;
[0084] Determine, according to the spatial coordinates of the actual patrol trajectory and the spatial coordinates of the patrol buffer, the patrol buffer hit by the actual patrol trajectory as a hit buffer;
[0085] The inspection completion rate of the current inspection object is determined according to the number of hit buffers.
[0086] The key technical points of the present invention are the inspection reference path splitting technology, as well as the construction of appropriate buffer areas according to the split sections, and the setting of a reasonable buffer radius. In addition, the number of effective inspection hits is obtained by generating the spatial position calculation of the surface coordinates of the cache area and the coordinates of the inspection points. The GPS inspection coordinate points are collected through a handheld terminal device, and the point selection is optimized. The present invention splits the inspection route and constructs a suitable buffer area, and then performs spatial position calculation on the surface coordinates of the cache area and the coordinates of the inspection points to obtain an effective inspection hit rate, providing a unified measurement standard and a reasonable and effective analysis method for water conservancy inspections. It reduces the difficulty of supervision of water conservancy inspections and effectively promotes the performance assessment of inspections.
[0087] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0088] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0089] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0090] This specification 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 this specification. 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. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0091] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0092] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0093] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0094] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0095] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0096] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0097] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media including storage devices.
[0098] Each embodiment of the present invention is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0099] The above describes specific embodiments of the present invention. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0100] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for monitoring the completion rate of water conservancy inspections, characterized in that: The method comprises: The reference inspection trajectory of the current inspection object is split into equal lengths to obtain several reference inspection trajectory segments, including: Determine the split length according to the inspection density requirement of the current inspection object; Based on the split length, split the reference patrol trajectory into a plurality of reference patrol trajectory segments of the same length; The split length belongs to a preset split length range, and the number of reference inspection trajectory segments after splitting does not exceed a preset number threshold; Generate a patrol buffer for each reference patrol trajectory segment; The actual inspection track of the inspectors is obtained through GPS equipment, including: During the inspection process, the inspectors collect real-time location data through the GPS devices they carry at preset time intervals to obtain real-time location coordinates of several coordinate points; Optimizing the points among all the collected coordinate points to obtain an optimized coordinate point set, specifically including: traversing each collected coordinate point according to the order of collection time, and calculating the spatial distance between the current coordinate point and the previous coordinate point; if the spatial distance is less than a preset distance, eliminating the current coordinate point; after the traversal is completed, the remaining coordinate points are included in the coordinate point set; Connecting each coordinate point in the coordinate point set in the order of collection time to obtain the actual inspection trajectory; Determining the patrol buffer hit by the actual patrol trajectory as a hit buffer according to the spatial coordinates of the actual patrol trajectory and the spatial coordinates of the patrol buffer, specifically includes: Get the spatial coordinate set of each patrol buffer; The intersection point between the actual inspection trajectory and each inspection buffer zone is calculated by using the point-line-surface intersection algorithm in the Geotools library; If there is at least one intersection point in a patrol buffer, the patrol buffer is determined as a hit buffer; The inspection completion rate of the current inspection object is determined according to the number of hit buffers.
2. A method for monitoring the completion rate of water conservancy inspection according to claim 1, characterized in that: Generate a patrol buffer for each reference patrol trajectory segment, including: Determine the buffer radius according to the inspection range requirement of the current inspection object; Taking the trajectory line of each reference patrol trajectory segment as the central axis and the buffer radius as the radius, generating a patrol buffer zone corresponding to each reference patrol trajectory segment; A spatial coordinate set of each patrol buffer is obtained and recorded; the spatial coordinate set at least includes the spatial coordinates of all boundary points of the patrol buffer.
3. A method for monitoring the completion rate of water conservancy inspection according to claim 1, characterized in that: Determining the inspection completion rate of the current inspection object according to the number of hit buffers, specifically includes: Counting the total number of buffer hits in the reference inspection trajectory; Obtaining the total number of reference patrol trajectory segments split from the reference patrol trajectory; The ratio of the total number of hit buffers to the total number of reference patrol track segments is calculated to obtain the patrol completion rate of the current patrol object.
4. A method for monitoring the completion rate of water conservancy inspection according to claim 1, characterized in that: After determining the inspection completion rate of the current inspection object according to the number of hit buffers and the number of reference inspection trajectory segments, the method further includes: The inspection completion rate of the current inspection object is sent to the water conservancy inspection supervision system and displayed in real time in the display interface; If the inspection completion rate is less than the minimum inspection completion rate threshold, an alarm message is generated in the water conservancy inspection and supervision system, and the alarm message is sent to the supervisor terminal.
5. A water conservancy inspection completion rate monitoring system, characterized in that: The system comprises: The inspection track processing module is used to split the reference inspection track of the current inspection object into equal lengths to obtain a number of reference inspection track segments, specifically including: determining the split length according to the inspection density requirement of the current inspection object; splitting the reference inspection track into a number of reference inspection track segments of the same length based on the split length; wherein the split length belongs to a preset split length range, and the number of reference inspection track segments after splitting does not exceed a preset number threshold; It is also used to generate an inspection buffer for each reference inspection trajectory segment; obtain the actual inspection trajectory of the inspector through the GPS device, specifically including: during the inspection process of the inspector, based on a preset time interval, the real-time position is collected through the GPS device carried by the inspector to obtain the real-time position coordinates of several coordinate points; optimize the points among all the collected coordinate points to obtain an optimized coordinate point set, specifically including: traversing each collected coordinate point according to the order of collection time, and calculating the spatial distance between the current coordinate point and the previous coordinate point respectively; if the spatial distance is less than the preset distance, the current coordinate point is eliminated; after the traversal is completed, the remaining coordinate points are included in the coordinate point set; Connecting each coordinate point in the coordinate point set in the order of collection time to obtain the actual inspection trajectory; The patrol completion rate monitoring module is used to determine the patrol buffer hit by the actual patrol trajectory as the hit buffer according to the spatial coordinates of the actual patrol trajectory and the spatial coordinates of the patrol buffer, specifically including: obtaining the spatial coordinate set of each patrol buffer; calculating the intersection point of the actual patrol trajectory with each patrol buffer through the point-line-surface intersection algorithm in the Geotools library; if there is at least one intersection point in a patrol buffer, the patrol buffer is determined as the hit buffer; and according to the number of the hit buffers, the patrol completion rate of the current patrol object is determined.
6. A storage medium, characterized in that: The storage medium is a non-volatile computer-readable storage medium, which stores at least one program. Each of the programs includes instructions, and when the instructions are executed by the terminal, the terminal executes a water conservancy inspection completion rate monitoring method according to any one of claims 1-5.
Citation Information
Patent Citations
Riverway patrol method for calculating task track coverage rate according to GPS data
CN111190975A