Processing method and device of inspection data, display method and device of inspection data, equipment and storage medium
By dividing sub-sections and filtering the inspection paths into the inspection paths, the inspection coverage paths are determined, and the problems of path quality control and coverage analysis in optical cable inspections are solved, and the accuracy and efficiency of the inspection paths are improved.
Patent Information
- Application Number
- CN202311022662.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-14
- Publication Date
- 2025-02-25
AI Technical Summary
The existing technology is difficult to effectively solve the problem of path quality control and coverage analysis during optical cable inspection, which makes it difficult to ensure the efficiency and quality of inspection work.
By obtaining the planned path and actual path corresponding to the inspection task, dividing it into multiple sub-line pairs, and filtering the overlapping sub-line pairs according to the overlap of the sub-line pairs, and finally determining the inspection coverage path to evaluate the actual path pair planning. The coverage of the path.
The fine-grained coverage path determination of the inspection path is achieved, which improves the accuracy and efficiency of the inspection path, reduces the calculation workload, and improves the completion quality of inspection tasks.
Smart Images

Figure CN119509536A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer and Internet technology, and in particular to a method for processing, a method for displaying, an apparatus, a device, and a storage medium for inspection data. Background Art
[0002] With the development of computer and Internet technology, users' demand for various Internet services is growing, which puts higher requirements on the quality and stability of the network. Optical cable failure has a great impact on the quality and stability of the network, so inspection personnel are required to inspect the optical cables regularly.
[0003] However, it is difficult to measure the quality and standardization of the inspection work of inspection personnel, resulting in a large amount of investment unable to obtain ideal operation and maintenance results. In particular, line maintenance work always requires process control rather than post-event assessment. Therefore, technical means are urgently needed to solve the problem of line inspection process control and quality analysis. Summary of the invention
[0004] The embodiments of the present application provide a method for processing, a method for displaying, a device, a equipment and a storage medium for inspection data, which can improve the accuracy of inspection coverage paths. The technical solution is as follows:
[0005] According to one aspect of an embodiment of the present application, a method for processing inspection data is provided, the method comprising:
[0006] Obtaining a planned inspection path and an actual inspection path corresponding to the inspection task, wherein the actual inspection path is used to indicate a movement trajectory of the inspection personnel corresponding to the inspection task;
[0007] The planned inspection path and the actual inspection path are divided accordingly to obtain a plurality of sub-line segment pairs, wherein the sub-line segment pairs include a group of corresponding planned sub-line segments and actual sub-line segments divided from the planned inspection path and the actual inspection path, and an endpoint of the planned sub-line segment and an endpoint of the actual sub-line segment have the same coordinates in the same dimension;
[0008] According to the overlap degree between the planned sub-segment and the actual sub-segment in each sub-segment pair, a plurality of overlapping sub-segment pairs are obtained;
[0009] An inspection coverage path corresponding to the inspection task is determined according to the multiple overlapping sub-line segment pairs, and the inspection coverage path is used to indicate the coverage degree of the actual inspection path to the planned inspection path.
[0010] According to one aspect of an embodiment of the present application, a method for displaying inspection data is provided, the method comprising:
[0011] Display the planned inspection path corresponding to the inspection task;
[0012] Dynamically update and display the actual inspection path corresponding to the inspection task, where the actual inspection path is used to indicate the movement trajectory of the inspection personnel corresponding to the inspection task;
[0013] The inspection coverage path corresponding to the inspection task is displayed, and the inspection coverage path is used to indicate the coverage degree of the actual inspection path to the planned inspection path.
[0014] According to one aspect of an embodiment of the present application, a device for processing inspection data is provided, the device comprising:
[0015] An inspection path acquisition module is used to acquire a planned inspection path and an actual inspection path corresponding to an inspection task, wherein the actual inspection path is used to indicate a movement trajectory of an inspection personnel corresponding to the inspection task;
[0016] An inspection path division module is used to divide the planned inspection path and the actual inspection path into corresponding groups to obtain a plurality of sub-line segment pairs, wherein the sub-line segment pairs include a group of corresponding planned sub-line segments and actual sub-line segments obtained by dividing the planned inspection path and the actual inspection path, and an endpoint of the planned sub-line segment and an endpoint of the actual sub-line segment have the same coordinates in the same dimension;
[0017] A sub-line segment filtering module, used for obtaining a plurality of overlapping sub-line segment pairs according to the overlap degree between the planned sub-line segment and the actual sub-line segment in each sub-line segment pair;
[0018] A coverage path determination module is used to determine the inspection coverage path corresponding to the inspection task according to the multiple overlapping sub-segment pairs, and the inspection coverage path is used to indicate the coverage degree of the actual inspection path to the planned inspection path.
[0019] According to one aspect of an embodiment of the present application, a device for displaying inspection data is provided, the device comprising:
[0020] The planned path display module is used to display the planned inspection path corresponding to the inspection task;
[0021] An actual path display module, used to dynamically update and display the actual inspection path corresponding to the inspection task, wherein the actual inspection path is used to indicate the movement trajectory of the inspection personnel corresponding to the inspection task;
[0022] The coverage path display module is used to display the inspection coverage path corresponding to the inspection task, and the inspection coverage path is used to indicate the coverage degree of the actual inspection path to the planned inspection path.
[0023] According to one aspect of an embodiment of the present application, a computer device is provided, which includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the above-mentioned inspection data processing method or the above-mentioned inspection data display method.
[0024] In some embodiments, the computer device is a server or a terminal device.
[0025] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned method for processing inspection data or the above-mentioned method for displaying inspection data.
[0026] According to one aspect of an embodiment of the present application, a computer program product is provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the above-mentioned method for processing inspection data or the above-mentioned method for displaying inspection data.
[0027] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0028] The planned inspection path and the actual inspection path are divided into multiple sub-segment pairs accordingly, and then multiple overlapping sub-segment pairs are filtered from the multiple sub-segment pairs according to the degree of overlap between the planned sub-segments and the actual sub-segments in each sub-segment pair. Finally, the inspection coverage path corresponding to the inspection task is determined according to the multiple overlapping sub-segment pairs. The inspection coverage path is determined at the sub-segment granularity, the details of the inspection path are taken into consideration, and non-overlapping sub-segment pairs are filtered out, thereby improving the accuracy of determining the inspection coverage path.
[0029] In addition, by filtering the sub-segment pairs and then determining the inspection coverage path according to the overlapping sub-segment pairs, the calculation workload of the inspection coverage path can be effectively reduced, thereby improving the efficiency of determining the inspection coverage path. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0031] Figure 1It is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;
[0032] Figure 2 is a flow chart of a method for processing inspection data provided by an embodiment of the present application;
[0033] Figure 3 is a schematic diagram of optical cable data provided by an embodiment of the present application;
[0034] Figure 4 It is a schematic diagram of a planned inspection route provided by an embodiment of the present application;
[0035] Figure 5 is a schematic diagram of a partitioning interface provided by an embodiment of the present application;
[0036] Figure 6 is a schematic diagram of a task interface provided by an embodiment of the present application;
[0037] Figure 7 It is a schematic diagram of a potential hazard point provided by an embodiment of the present application;
[0038] Figure 8 is a flow chart of a method for obtaining overlapping sub-line segment pairs provided by an embodiment of the present application;
[0039] Fig. 9 is a schematic diagram of a method for obtaining overlapping sub-line segment pairs provided by an embodiment of the present application;
[0040] Fig.10 It is a schematic diagram of a method for obtaining an inspection coverage path provided by an embodiment of the present application;
[0041] Fig.11 is a schematic diagram of a common line between inspection objects provided by an embodiment of the present application;
[0042] Fig.12 is a flow chart of a method for displaying inspection data provided by an embodiment of the present application;
[0043] Fig.13 is a schematic diagram of an optical cable inspection system provided by an embodiment of the present application;
[0044] Fig.14 is a schematic diagram of an optical cable inspection system provided by another embodiment of the present application;
[0045] Fig.15 It is a schematic diagram of a login structure provided by an embodiment of the present application;
[0046] Fig.16 is a block diagram of a device for processing inspection data provided by an embodiment of the present application;
[0047] Fig.17 is a block diagram of a device for processing inspection data provided by another embodiment of the present application;
[0048] Fig.18 is a block diagram of a display device for inspection data provided by an embodiment of the present application;
[0049] Fig.19 is a block diagram of a terminal device provided by an embodiment of the present application;
[0050] Fig. 20 This is a block diagram of a server provided by an embodiment of the present application. DETAILED DESCRIPTION
[0051] Before introducing the embodiments of the present application, the relevant terms involved in the present application are first explained.
[0052] 1. DWDM: Dense Wavelength Division Multiplexing, is a laser technology used to increase bandwidth on existing fiber optic backbone networks. It can combine a group of optical wavelengths for transmission using a single optical fiber.
[0053] 2. KML: Keyhole Markup Language, Keyhole markup language is a markup language based on XML (Extensible Markup Language), which can use XML syntax format to describe geographic spatial data (such as points, lines, surfaces, polygons and models, etc.).
[0054] 3. GPS: Global Positioning System, a high-precision radio navigation positioning system based on artificial satellites.
[0055] 4. COS: Cloud Object Storage is a distributed storage service with no directory hierarchy, no data format restrictions, which can accommodate massive amounts of data and supports HTTP (Hypertext Transfer Protocol) / HTTPS (Hypertext Transfer Protocol Secure) protocol access.
[0056] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0057] Cloud Technology refers to a hosting technology that unifies hardware, software, network and other resources within a wide area network or local area network to achieve data computing, storage, processing and sharing.
[0058] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model. It can form a resource pool, which can be used on demand and is flexible and convenient. Cloud computing technology will become an important support. The backend services of the technical network system require a large amount of computing and storage resources, such as video websites, image websites and more portal websites. With the rapid development and application of the Internet industry, in the future, each item may have its own identification mark, which needs to be transmitted to the backend system for logical processing. Data of different levels will be processed separately. All kinds of industry data need strong system backing support, which can only be achieved through cloud computing.
[0059] The technical solution provided in the embodiment of the present application involves cloud technology, which utilizes the COS technology in cloud technology to store relevant data (routes, distributions, locations, etc.) of inspection objects such as optical cables, electrical cables, water pipes, and gas pipes, so as to support route display, creation of inspection tasks, construction of planned inspection routes, display of planned inspection routes, etc.
[0060] Please refer to Figure 1 , which shows a schematic diagram of a solution implementation environment provided by an embodiment of the present application. The solution implementation environment can be implemented as an inspection system, and the implementation environment may include: a management terminal device 10, a management terminal device 20, an inspection terminal device 30 and a server 40.
[0061] The management terminal device 10 may be a terminal device corresponding to a third-party platform, which may be used to uniformly manage the relevant data of each inspection object, and provide services such as inspection task creation based on the relevant data. Different inspection objects may come from different operating organizations, and operating organizations may refer to builders and maintainers of inspection objects, etc., which are not limited in the embodiments of the present application. For example, taking the inspection object as an optical cable as an example, the management terminal device 10 may be used to uniformly manage the optical cable data corresponding to each optical cable operator, and may allocate optical cable inspection tasks to each optical cable operator based on the optical cable data.
[0062] The user corresponding to the management terminal device 10 can be called the first type of management personnel, who can manage the second type of management personnel on the operation organization side through the management terminal device 10, upload the relevant data of the inspection object, view the relevant data of the inspection object, create the inspection main task, issue the inspection main task, modify / delete the inspection main task, etc. The management terminal device 10 is installed with a client of the target application to support the realization of the above functions, for example, the target application can be such as an inspection application, a maintenance application, etc.
[0063] Optionally, the target application is implemented as two types of internal and external clients, the data between the two types of clients is the same, and the authority of the internal client is higher than that of the external client. The internal client is installed and runs in the management terminal device 10. Exemplarily, it can be implemented as a Web client (i.e., a web page version on a computer, an application or service accessed and used through a Web browser) on the management terminal device 10 side, which can be called a first management client. The first type of management personnel has the login authority of the first management client, and the second type of management personnel does not have the login authority of the first management client to ensure the confidentiality of the relevant data.
[0064] Among them, the management terminal device 10 can be an electronic device such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a multimedia playback device, a PC (Personal Computer), an intelligent robot, a vehicle-mounted terminal, a wearable device, etc.
[0065] The management terminal device 20 may refer to the terminal device corresponding to the operating organization, and its corresponding user may be referred to as the second-category manager. The second-category manager can manage inspection personnel, view relevant data of the inspection object, view the main inspection tasks from the management terminal device 10, divide the main inspection tasks (obtain inspection tasks), modify / delete inspection tasks, assign inspection tasks, etc. through the management terminal device 20.
[0066] Optionally, the external client corresponding to the above-mentioned target application is installed and run in the management terminal device 20, which can also be implemented as a Web terminal on the management terminal device 20 side, which can be called the second management client. The authority of the second management client is less than that of the first management client. For example, the second type of management personnel can view the relevant data corresponding to their operating organization (such as the relevant data of the inspection object) through the second management client, but have no authority to view the relevant data corresponding to other operating organizations. Among them, the management terminal device 20 can be an electronic device such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a multimedia playback device, a PC, an intelligent robot, a vehicle terminal, a wearable device, etc.
[0067] The inspection terminal device 30 refers to a terminal device used by the inspection personnel, which can be used to obtain the position coordinates of the inspection personnel to generate the actual inspection path of the inspection personnel. Optionally, the inspection terminal device 30 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart watch, a multimedia player, a PC, an intelligent robot, a vehicle terminal, a wearable device, and any electronic device with positioning and display functions.
[0068] The inspection personnel can view the assigned inspection tasks through the inspection terminal device 30, and can inspect the inspection objects according to the planned inspection path corresponding to the inspection task. Optionally, a client that runs an application that is connected to the above-mentioned target application can be installed in the inspection terminal device 30. For example, the application can refer to the part of the target application on the usage side, and the management terminal device 10 and the management terminal device 20 are the parts of the target application on the management side. The application can be displayed in the form of a Web terminal or in the form of a small program (such as deployed in a social chat application), which is not limited in this embodiment of the present application.
[0069] The inspection terminal device 30 may send data such as the location coordinates of the inspection personnel to the management terminal device 10 and the management terminal device 20 , such as forwarding the data to the management terminal device 10 and the management terminal device 20 via the server 40 .
[0070] The server 40 may be a background server corresponding to the management terminal device 10, such as the background server of the above-mentioned target application, for providing services such as data storage, data provision, and data calculation. Optionally, the server 40 may provide background services for the management terminal device 10, the management terminal device 20, and the inspection terminal device 30 at the same time. The server 40 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0071] For example, taking the inspection object as an optical cable, the server 40 can store the optical cable data in the database as a KML file. When the management terminal device 10, the management terminal device 20 and the inspection terminal device 30 need it, the KML file is sent to the management terminal device 10, the management terminal device 20 and the inspection terminal device 30.
[0072] The management terminal device 10 and the server 40 can communicate with each other through a network, the management terminal device 20 and the server 40 can communicate with each other through a network, and the inspection terminal device 30 and the server 40 can communicate with each other through a network. The network can be a wired network or a wireless network.
[0073] Exemplarily, the above-mentioned target application is implemented as an optical cable inspection application, which appears as a small program on the inspection terminal device 30 side and is deployed on the corresponding application of the third-party platform (such as social applications, browser applications, etc.), and it appears as a Web terminal on the management terminal device 10 and the management terminal device 20 side.
[0074] The first type of management personnel generates an inspection task for a certain optical cable through the first management client in the management terminal device 10, and the information of the inspection task includes at least one of the following: a planned inspection path, the length of the planned inspection path, and the required completion time of the inspection task.
[0075] The first type of management personnel sends the inspection task to the server 40 through the first management client, and the inspection task is forwarded to the second management client in the management terminal device 20 corresponding to the operator corresponding to the optical cable through the server 40. The second type of management personnel can view the inspection task through the second management client, and can distribute the inspection task to the inspection client 30 corresponding to a certain inspection personnel belonging to the operator through the server 40. The inspection personnel can view and execute the inspection task through the inspection applet in the inspection client 30. In the process of the inspection personnel executing the inspection task, the inspection client 30 periodically and automatically obtains the location coordinates of the inspection personnel, and dynamically updates and displays the actual inspection path corresponding to the inspection personnel in the task interface.
[0076] The inspection client 30 also sends the location coordinates to the server 40. After the first management client and the second management client obtain the location coordinates from the server 40, they generate and display the actual inspection path. The server 40 can also generate an inspection coverage path based on the actual inspection path and the planned inspection path, and send the inspection coverage path to the first management client and the second management client for display.
[0077] Below, the technical solution provided by this application will be introduced and explained through method embodiments.
[0078] Please refer to Figure 2 , which shows a flowchart of a method for processing inspection data provided by an embodiment of the present application. The execution subject of each step of the method may be Figure 1 In the server 40 in the implementation environment of the solution shown, the method may include the following steps (201-204).
[0079] Step 201 : obtaining a planned inspection path and an actual inspection path corresponding to the inspection task, wherein the actual inspection path is used to indicate a moving track of an inspection personnel corresponding to the inspection task.
[0080] An inspection task refers to a task of inspecting an inspection object, and the inspection task is performed by inspection personnel. The embodiments of the present application do not limit the inspection object. For example, the inspection object may refer to optical cables, electrical cables, water pipes, gas pipes, communities, cities, etc. For example, when the inspection object is an optical cable, the inspection task refers to a task of inspecting the optical cable, which may be performed by inspection personnel of the operator corresponding to the optical cable; when the inspection object is a community, the inspection task may refer to a task of inspecting the community, which may be performed by the security personnel of the community.
[0081] The planned inspection path is used to guide the inspection personnel to inspect the inspection object. The planned inspection path is related to the inspection object. For example, it can be constructed according to the relevant data of the inspection object, such as the route, distribution, and location of the inspection object. Exemplarily, when the inspection object is an optical cable, the planned inspection path can be the same as the route of the optical cable. Optionally, a planned inspection path can be set for an optical cable, and the inspection personnel can inspect the optical cable according to the planned inspection path.
[0082] In the embodiment of the present application, the inspection task can be set and adjusted by the first type of management personnel according to actual use needs. For example, if a certain optical cable is more important, the first type of management personnel can create an inspection task for the optical cable at a shorter time interval. For another example, if a certain optical cable is detected to be in a construction area, the first type of management personnel can create an inspection task for the optical cable.
[0083] The actual inspection path refers to the path generated by the inspection personnel in the process of performing the inspection task, which can be constructed based on the connection of the position coordinates corresponding to the inspection personnel. Optionally, in the process of the inspection personnel performing the inspection task, the inspection terminal device held by the inspection personnel periodically obtains the position coordinates of the inspection personnel, such as automatically obtaining the position coordinates of the inspection personnel using GPS, and the server dynamically updates the actual inspection path after obtaining the position coordinates. In some embodiments, the actual inspection path may also refer to the actual inspection path after the inspection task is completed, or it may refer to the actual inspection path during the execution of the inspection task, which is not limited in the embodiments of the present application.
[0084] In one example, step 201 may also include the following content:
[0085] 1. Upon receiving a task creation request from the first management client, generate a planned inspection path corresponding to the inspection main task.
[0086] The task creation request is used to request the creation of a patrol main task, and the task creation request may include identification information of the patrol object, identification information of the operation organization to which the patrol object belongs, etc. The server pulls relevant data of the patrol object from the database according to the identification information of the patrol object, generates a planned patrol path corresponding to the patrol task, and then sends the patrol task to the second management client of the corresponding operation organization according to the identification information of the operation organization to which the patrol object belongs.
[0087] Optionally, relevant data of the inspection object is stored in a KML file, which can be drawn and provided by the operation organization. For example, the operation organization marks the coordinate points corresponding to the inspection object on an electronic map, connects the coordinate points into lines, and exports them to generate a KML file.
[0088] For example, reference Figure 3 Taking the inspection object as an example, the optical cable operator marks the optical cable 301 on the electronic map through the second management client and generates a KML file. The second management client can display the electronic map and the optical cable 301 in the user interface 300 according to the KML file.
[0089] The first management client can also display the electronic map and the optical cable 301 in its corresponding user interface 300 based on the KML file, and generate a task creation request for the optical cable 301 according to the route of the optical cable 301, and the task creation request includes the route number and location of the optical cable 301. After receiving the creation request, the server generates a planned inspection path corresponding to the inspection main task according to the route of the optical cable 301, and the planned inspection path corresponding to the inspection main task can be consistent with the route of the optical cable 301.
[0090] In some examples, the first management client may also directly generate a patrol main task and send the patrol main task to the server, so that the patrol main task is sent to the second management client through the server.
[0091] 2. When receiving a task division request from the second management client, the planned inspection path corresponding to the inspection main task is divided to obtain the planned inspection path corresponding to the inspection task.
[0092] The second type of management personnel can view the inspection main task through the second management client. When the planned inspection path corresponding to the inspection main task is relatively long and cannot be completed in a single time (such as greater than the distance threshold), the second type of management personnel can generate a task division request and send the task division request to the server. Among them, the task division request is used to request the division of the inspection main task, which may include the identification information of the inspection main task, the number of inspection subtasks, the identification information of the inspection personnel, etc. After receiving the task division request, the server divides the inspection main task into multiple inspection subtasks according to the number of inspection subtasks, and sends the multiple inspection subtasks to the inspection terminal devices corresponding to each inspection personnel. In this case, the inspection subtask is the inspection task.
[0093] When the planned inspection path corresponding to the inspection main task can be completed in one time (such as less than or equal to the distance threshold), the second type of management personnel can directly assign the inspection main task to a certain inspection personnel through the second management client. In this case, the inspection main task is the inspection task.
[0094] For example, reference Figure 4 and Figure 5 , the user interface 401 corresponding to the second management client displays a planned inspection path 402 corresponding to the main inspection task. Since the length of the planned inspection path 402 is greater than the distance threshold, a single inspection personnel cannot complete the inspection in a single time. The second type of management personnel can divide the planned inspection path 402 through the second management client. For example, in response to the trigger operation of the division control, a division interface 403 is displayed. In the division interface 403, the second type of management personnel can set each inspection subtask, such as the starting point, end point, name, inspection personnel, etc., so as to generate a task division request. The server obtains the planned inspection paths corresponding to the multiple inspection subtasks according to the task division request.
[0095] In some examples, the second management client may also directly divide the planned inspection path corresponding to the inspection main task to obtain multiple inspection subtasks, and assign the multiple inspection subtasks to different inspection personnel.
[0096] 3. Send the planned inspection route corresponding to the inspection task to the inspection client corresponding to the inspection personnel.
[0097] The server sends the multiple inspection tasks to the inspection clients of different inspectors respectively, and the inspectors can view the assigned inspection tasks through the inspection clients.
[0098] For example, the inspection personnel can log in to the inspection applet on the mobile phone (the inspection applet is connected to the above-mentioned target application) to view the information of the currently assigned inspection task, such as the planned inspection route, the length of the planned inspection route, the required completion time of the inspection task, etc. In this way, the actual inspection route can be obtained without using additional terminal devices, thereby improving the convenience of inspection and equipment costs.
[0099] Optionally, the inspector can click the inspection start control on the mini program to start the inspection task. After the inspection task is started, the mini program will automatically obtain the location coordinates of the inspector and draw the actual inspection path on the electronic map in real time based on the location coordinates of the inspector to show it to the inspector. The mini program will also automatically upload the location coordinates of the inspector to the server.
[0100] For example, refer to Figure 6 In response to the inspection personnel's triggering operation on the inspection start control, the planned inspection path 602 corresponding to the inspection task is displayed in the task interface 600 corresponding to the mini-program. The inspection personnel can inspect the optical cable according to the planned inspection path 602, such as inspecting from the starting point of the planned inspection path 602 to the end point of the planned inspection path 602.
[0101] 4. Receive the location coordinates from the inspection client and generate the actual inspection path based on the location coordinates.
[0102] After obtaining the location coordinates of the inspection personnel, the server marks the corresponding location in the electronic map, and then connects the various location coordinates in chronological order to obtain the actual inspection path.
[0103] Optionally, the server sends the generated actual inspection path to the first management client and the second management client to display it to the management personnel, so that the first type of management personnel and the second type of management personnel can view the inspection progress of the inspection personnel in real time.
[0104] The inspection terminal device can generate and display the actual inspection path based on the location coordinates. Figure 6 The inspection terminal device can dynamically update and display the actual inspection path 601 in the task interface 600 according to the location coordinates of the inspection personnel, so that the inspection personnel can know the inspection progress.
[0105] In one example, if the inspection personnel find a construction site with hidden dangers (i.e., a hidden danger site that may cause damage to the inspection object) during the inspection process, the hidden danger site can be reported. The embodiment of the present application may also include the following contents: receiving hidden danger site information from the inspection client, the hidden danger site information including at least one of the following: an image of the hidden danger site obtained by the inspection client, the location of the hidden danger site, and descriptive information edited by the inspection personnel; marking the hidden danger site information on the planned inspection path to obtain an updated planned inspection path; and sending the updated planned inspection path to the first management client and the second management client.
[0106] Among them, the hidden danger point image refers to the image obtained by the inspection personnel using the inspection client to take a photo of the hidden danger point, the hidden danger point position can refer to the positioning coordinates of the hidden danger point, and the description information can be the text remarks of the inspection personnel on the hidden danger point.
[0107] Optionally, the server can mark the potential danger points in the planned inspection path according to the location of the potential danger points, and correspondingly store the location of the potential danger points, images of the potential danger points and description information, etc., to obtain an updated planned inspection path. After obtaining the updated planned inspection path, the first management client and the second management client update and display the planned inspection path.
[0108] In some examples, the server may also directly send the potential danger point information to the first management client and the second management client, and the first management client and the second management client then update and display the corresponding planned inspection path according to the potential danger point information.
[0109] Optionally, after obtaining the potential danger point information, the inspection client can directly update and display the potential danger point and the relevant information corresponding to the potential danger point in the task interface. Figure 7 After obtaining the potential danger point information, the inspection client can mark the potential danger point on the planned inspection path in the task interface 700.
[0110] Optionally, after the inspection task is completed, the inspector needs to click the end inspection control on the mini program to end the execution of the inspection task, so that the inspection mini program stops obtaining the inspector's location coordinates. In the case of weak communication signals, the inspection mini program will cache the inspector's location coordinates locally, that is, cache them in the inspection terminal device, and automatically upload the cached location coordinates after accessing the Internet environment.
[0111] Step 202, divide the planned inspection path and the actual inspection path accordingly to obtain multiple sub-segment pairs, wherein the sub-segment pairs include a group of corresponding planned sub-segments and actual sub-segments divided from the planned inspection path and the actual inspection path, and an endpoint of the planned sub-segment and an endpoint of the actual sub-segment have the same coordinates in the same dimension.
[0112] The server may divide the planned inspection path and the actual inspection path into corresponding parts after the inspection task is completed, or may divide the planned inspection path and the actual inspection path into corresponding parts in real time during the execution of the inspection task, and the embodiments of the present application do not limit this. The planned sub-line segment may refer to the division of the planned inspection path, and the actual sub-line segment may refer to the division of the actual inspection path.
[0113] In an example, the planned inspection path can be split into multiple planned sub-segments according to continuous coordinate points, and the actual inspection path can be split into multiple actual sub-segments, and the planned sub-segment and the actual sub-segment between the same two coordinate points are a sub-segment pair.
[0114] For example, reference Figure 3 For the planned inspection path with a horizontal direction (i.e., the direction of the latitude line), the longitude line where the longitude of the coordinate point is located can be used as the dividing line to divide this part of the planned inspection path; for the planned inspection path with a longitudinal direction (i.e., the direction of the longitude line), the latitude line where the latitude of the coordinate point is located can be used as the dividing line to divide this part of the planned inspection path, thereby obtaining multiple sub-segment pairs.
[0115] In this way, for the planned sub-segment and the actual sub-segment in the same sub-segment pair, the starting point of the planned sub-segment and the starting point of the actual sub-segment have the same coordinates in longitude or latitude, and the end point of the planned sub-segment and the end point of the actual sub-segment have the same coordinates in longitude or latitude.
[0116] Step 203 , obtaining a plurality of overlapping sub-segment pairs according to the degree of overlap between the planned sub-segments and the actual sub-segments in each sub-segment pair.
[0117] The degree of overlap is used to indicate whether the inspection personnel have effectively inspected the planned sub-line segment. Optionally, the degree of overlap in the embodiment of the present application includes: no overlap and overlap.
[0118] When there is overlap between the planned sub-segment and the actual sub-segment in the sub-segment pair, it can be determined that the planned sub-segment is effectively inspected, and the sub-segment pair is an overlapping sub-segment pair; when there is no overlap between the planned sub-segment and the actual sub-segment in the sub-segment pair, it can be determined that the planned sub-segment is not effectively inspected, and the sub-segment pair is a non-overlapping sub-segment pair.
[0119] In one example, non-overlapping sub-segment pairs may be filtered out from the plurality of sub-segment pairs, thereby obtaining overlapping sub-segment pairs. Figure 8 As shown, step 203 may also include the following sub-steps:
[0120] Step 203a, filtering multiple sub-segment pairs to obtain multiple candidate sub-segment pairs, in which the planned sub-segment and the actual sub-segment intersect, or the distance between the planned sub-segment and the actual sub-segment in the candidate sub-segment is less than or equal to a first threshold.
[0121] Step 203a is used to screen out the intersecting sub-line segment pairs and the non-intersecting, small-distance offset sub-line segment pairs from the multiple sub-line selection pairs. The planned sub-line segment and the actual sub-line segment in the intersecting sub-line segment pairs intersect, and the distance between the planned sub-line segment and the actual sub-line segment in the non-intersecting, small-distance offset sub-line segment pairs is less than or equal to the first threshold. The first threshold can be set and adjusted according to actual use requirements, and the embodiment of the present application does not limit this.
[0122] In one example, the process of determining the candidate sub-segment pairs may be as follows:
[0123] 1. For each pair of sub-segments, obtain the projection line segments of the planned sub-segments in the sub-segment pair on the first coordinate axis and the second coordinate axis, respectively, and the projection line segments of the actual sub-segments on the first coordinate axis and the second coordinate axis, respectively, and the first coordinate axis and the second coordinate axis are perpendicular to each other.
[0124] Among them, the first coordinate axis and the second coordinate axis form a two-dimensional rectangular coordinate system, the direction of the first coordinate axis is the same as the direction of the latitude line (such as the x-axis), and the direction of the second coordinate axis is the same as the direction of the longitude line (such as the y-axis). The origin of the two-dimensional rectangular coordinate system can be set and adjusted according to actual usage requirements.
[0125] The server places each pair of sub-line segments in the two-dimensional rectangular coordinate system. For each pair of sub-line segments, the projection points of the starting point and the end point of the planned sub-line segment on the first coordinate axis and the second coordinate axis are obtained, and the projection points of the starting point and the end point of the actual sub-line segment on the first coordinate axis and the second coordinate axis are obtained, such as the intersection of the perpendicular line between the starting point or the end point and the first coordinate axis and the first coordinate axis is the projection point. The projection point of the starting point of the planned sub-line segment on the first coordinate axis is connected with the projection point of the end point of the planned sub-line segment on the first coordinate axis to obtain the projection line segment of the planned sub-line segment on the first coordinate axis. By analogy, the projection line segment of the planned sub-line segment on the second coordinate axis, the projection line segment of the actual sub-line segment on the first coordinate axis, and the projection line segment of the actual sub-line segment on the second coordinate axis can be obtained.
[0126] 2. If the projection line segment of the planned sub-segment in the sub-segment pair on the first coordinate axis overlaps with the projection line segment of the actual sub-segment on the first coordinate axis, and the projection line segment of the planned sub-segment in the sub-segment pair on the second coordinate axis overlaps with the projection line segment of the actual sub-segment on the second coordinate axis, then the sub-segment pair is determined to be a cross sub-segment pair; the cross sub-segment pair is determined as a candidate sub-segment pair.
[0127] If there is an overlap between the projection line segment of the planned sub-line segment in the sub-segment pair on the first coordinate axis and the projection line segment of the actual sub-line segment on the first coordinate axis, and there is an overlap between the projection line segment of the planned sub-line segment in the sub-segment pair on the second coordinate axis and the projection line segment of the actual sub-line segment on the second coordinate axis, then it can be determined that the planned sub-line segment in the sub-segment pair and the actual sub-line segment may intersect, and the sub-segment pair is recorded as a crossing sub-segment pair; if there are two projected line segments on one or two coordinate axes that do not overlap, then it can be determined that the planned sub-line segment in the sub-segment pair and the actual sub-line segment cannot intersect, and the sub-segment pair is recorded as a non-crossing sub-segment pair.
[0128] Optionally, for non-intersecting sub-segment pairs, if the distance between the planned sub-segment and the actual sub-segment in the non-intersecting sub-segment pair is less than or equal to a first threshold, it can be determined that the planned sub-segment and the actual sub-segment in the non-intersecting sub-segment pair may overlap, and it can also be determined as a candidate sub-segment pair for retention.
[0129] Exemplarily, the process may include the following contents: if the sub-segment pair is not a crossing sub-segment pair, then obtaining the maximum distance between the planned sub-segment and the actual sub-segment in the sub-segment pair; if the maximum distance is less than or equal to a first threshold, determining the sub-segment pair as a candidate sub-segment pair. If the maximum distance is less than or equal to the first threshold, it indicates that the planned sub-segment and the actual sub-segment may overlap, and the sub-segment pair may be retained.
[0130] Optionally, the maximum distance may be obtained as follows: first obtain two perpendicular distances between the starting point and the end point of the planned sub-segment and the actual sub-segment, respectively, and determine the larger perpendicular distance of the two perpendicular distances as the maximum distance. The distance calculation method from a point to a line may include at least one of the following: a classical algorithm, an area algorithm, and a vector algorithm.
[0131] For example, refer to Fig. 9 , for sub-segment pairs 901 to 906, sub-segment pair 901 and sub-segment pair 904 are intersecting sub-segment pairs, and sub-segment pair 901 and sub-segment pair 904 can be determined as candidate sub-segment pairs, and sub-segment pair 902, sub-segment pair 903, sub-segment pair 905 and sub-segment pair 906 are non-intersecting sub-segment pairs, but the maximum distances corresponding to sub-segment pair 902, sub-segment pair 903 and sub-segment pair 906 are less than or equal to the first threshold, and sub-segment pair 902, sub-segment pair 903 and sub-segment pair 906 can also be determined as candidate sub-segment pairs. While the maximum distance corresponding to sub-segment pair 905 is greater than the first threshold, sub-segment pair 905 cannot be an overlapping sub-segment pair and can be filtered out.
[0132] For the crossing sub-segment pairs, the straddle detection method can be used to determine whether the planned sub-segments in the crossing sub-segment pairs actually intersect with the actual sub-segment pairs.
[0133] Step 203b: Filter multiple overlapping sub-segment pairs from multiple candidate sub-segments according to the degree of overlap between the planned sub-segments and the actual sub-segments in each candidate sub-segment pair.
[0134] Optionally, for a crossing sub-segment pair, the angle between the planned sub-segment and the actual sub-segment in the crossing sub-segment pair is used to represent the overlap degree corresponding to the crossing sub-segment pair; for a non-crossing sub-segment pair, the smaller vertical distance between the planned sub-segment and the actual sub-segment in the crossing sub-segment pair is used to represent the overlap degree corresponding to the non-crossing sub-segment pair. The server may determine the candidate sub-segments whose overlap degree meets the condition as overlapping sub-segment pairs.
[0135] In one example, the process of determining overlapping sub-line segment pairs may be as follows:
[0136] 1. If for the candidate sub-segment pair, the straight line where the planned sub-segment is located intersects with the straight line where the actual sub-segment is located, then the angle between the planned sub-segment and the actual sub-segment is obtained; when the angle is greater than the second threshold, the candidate sub-segment pair is determined as a non-overlapping sub-segment pair.
[0137] Optionally, for candidate sub-segment pairs in the direction of latitude, obtain the angle between the planned sub-segment and the actual sub-segment in the direction of latitude; for candidate sub-segment pairs in the direction of longitude, obtain the angle between the planned sub-segment and the actual sub-segment in the direction of longitude.
[0138] The second threshold value can be set and adjusted according to actual use requirements, and the present application embodiment does not limit this. If the angle between the planned sub-line segment and the actual sub-line segment is greater than the second threshold value, it can be determined that the planned sub-line segment and the actual sub-line segment do not overlap.
[0139] For example, refer to Fig. 9 For sub-segment pair 901, the straddling detection method can be used to determine that the corresponding planned sub-segment and the actual sub-segment have intersection, but the corresponding angle is greater than the second threshold, so the sub-segment pair 901 can be determined to be a non-overlapping sub-segment pair. For sub-segment pair 904, the straddling detection method can be used to determine that the corresponding planned sub-segment and the actual sub-segment have intersection, and the corresponding angle is less than the second threshold, so the sub-segment pair 904 can be determined to be an overlapping sub-segment pair.
[0140] 2. If for the candidate sub-segment pair, the straight line where the planned sub-segment is located does not intersect with the straight line where the actual sub-segment is located, then obtain the smaller vertical distance of the two vertical distances from the two ends of the actual sub-segment to the planned sub-segment; when the smaller vertical distance is greater than the third threshold, the candidate sub-segment pair is determined as a non-overlapping sub-segment pair.
[0141] Optionally, first obtain two vertical distances from the starting point and the end point of the actual sub-line segment to the planned sub-line segment, and then compare the two vertical distances to obtain the smaller vertical distance. Alternatively, first obtain two vertical distances from the starting point and the end point of the planned sub-line segment to the actual sub-line segment, and then compare the two vertical distances to obtain the smaller vertical distance. The third threshold value can be set and adjusted according to actual use requirements, and the embodiment of the present application does not limit this.
[0142] If the smaller vertical distance is greater than the third threshold, it indicates that the distance between the actual sub-segment and the planned sub-segment is large, and the actual sub-segment cannot effectively cover the planned sub-segment, that is, the actual sub-segment and the planned sub-segment do not overlap.
[0143] For example, refer to Fig. 9 For sub-segment pair 903, the straddling detection method can be used to determine that the corresponding planned sub-segment does not intersect with the actual sub-segment, and the corresponding smaller vertical distance is less than the third threshold, so the sub-segment pair 903 can be determined to be an overlapping sub-segment pair. For sub-segment pair 902, the straddling detection method can be used to determine that the corresponding planned sub-segment does not intersect with the actual sub-segment, and the corresponding smaller vertical distance is less than the third threshold, so the sub-segment pair 902 can be determined to be an overlapping sub-segment pair. For sub-segment pair 906, the straddling detection method can be used to determine that the corresponding planned sub-segment does not intersect with the actual sub-segment, but the corresponding smaller vertical distance is greater than the third threshold, so the sub-segment pair 903 can be determined to be a non-overlapping sub-segment pair.
[0144] 3. Eliminate non-overlapping sub-segment pairs from the candidate sub-segment pairs to obtain multiple overlapping sub-segment pairs.
[0145] Optionally, sub-segment pairs 901 to 904 and sub-segment pair 905 are candidate sub-segment pairs, and sub-segment pair 901 and sub-segment pair 906 are eliminated to obtain three overlapping sub-segment pairs: segment pairs 902 to 904.
[0146] Step 204: Determine the inspection coverage path corresponding to the inspection task according to the multiple overlapping sub-segment pairs. The inspection coverage path is used to indicate the coverage degree of the actual inspection path to the planned inspection path.
[0147] In the embodiment of the present application, the inspection coverage path may refer to the effective projection of the actual inspection path on the planned inspection path. The inspection coverage path may be obtained by combining the effective projections corresponding to the overlapping sub-line segments corresponding to the inspection task, and the effective projections corresponding to the overlapping sub-line segments may refer to the projection segments of the corresponding actual sub-line segments on the planned sub-line segments.
[0148] In an example, the process of obtaining the inspection coverage path may be as follows:
[0149] 1. For each overlapping sub-segment pair, the two endpoints of the planned sub-segment in the overlapping sub-segment pair and the two endpoints of the actual sub-segment are sorted according to the direction of the first coordinate axis to obtain an endpoint sequence.
[0150] For example, refer to Fig.10 , according to the direction of the latitude line, the starting point and the end point of the planned sub-segment 1001 and the starting point and the end point of the actual sub-segment 1002 are sorted in ascending order to obtain an endpoint sequence.
[0151] 2. Determine the second and third endpoints in the endpoint sequence.
[0152] For example, the starting point of the planned sub-segment 1001 is the second endpoint, and the end point of the actual sub-segment 1002 is the third endpoint.
[0153] 3. According to the projection point of the second endpoint on the planned sub-segment and the projection point of the third endpoint on the planned sub-segment, determine the coverage path of the actual sub-segment on the planned sub-segment, and obtain the corresponding coverage path of the overlapping sub-segment pair.
[0154] For example, the projection point of the second endpoint on the actual sub-line segment 1002 is point 1005, and the projection point of the third endpoint on the planned sub-line segment 1001 is point 1006. The projection point of the second endpoint on the planned sub-line segment 1001 is the starting point of the planned sub-line segment 1001. The starting point of the planned sub-line segment 1001 is connected with point 1006 to obtain the coverage path 1003 (i.e., the projection segment) of the actual sub-line segment on the planned sub-line segment. The point 1005 is connected with the end point of the actual sub-line segment 1001 to obtain the coverage path 1004 of the planned sub-line segment on the actual sub-line segment.
[0155] 4. Determine the inspection coverage path based on the coverage paths corresponding to each pair of overlapping sub-segments.
[0156] Optionally, the length and value of the coverage path corresponding to each overlapping sub-segment pair is the length of the inspection coverage path. The server can mark the coverage path corresponding to each overlapping sub-segment pair on the planned inspection path, and optionally, the inspection coverage path can be a discontinuous coverage path.
[0157] In one example, after obtaining the inspection coverage path corresponding to the inspection task, the server can also calculate the inspection coverage rate corresponding to the inspection task based on the inspection coverage path. The inspection coverage rate is used to indicate the degree of effective completion of the inspection task and can be used as an indicator for judging the work quality of the inspection personnel.
[0158] Exemplarily, the process may be as follows: obtaining the inspection coverage rate corresponding to the actual inspection path according to the ratio between the length of the inspection coverage path and the length of the planned inspection path; and sending the inspection coverage path and the inspection coverage rate to the client.
[0159] Optionally, the ratio between the length of the inspection coverage path and the length of the planned inspection path is directly determined as the inspection coverage rate corresponding to the actual inspection path. After obtaining the inspection coverage rate, the server sends the inspection coverage path and the inspection coverage rate to the first management client and the second management client for management personnel to view.
[0160] Exemplarily, the first management client or the second management client distinguishes and displays the inspection coverage path, the actual inspection path, and the planned inspection path in the user interface, such as marking and displaying the inspection coverage path, the actual inspection path, and the planned inspection path in three different colors. The first management client or the second management client can also display the inspection coverage rate near the inspection coverage path. In this way, managers (such as first-class managers and second-class managers) can intuitively obtain the degree of completion of the inspection task, thereby improving the convenience and efficiency of obtaining information.
[0161] In one example, during the laying of an inspection object (such as an optical cable), there may be a situation where multiple inspection objects share a common line. Fig.11 During the inspection of the optical cable 1101, the inspectors also inspect part of the optical cable 1102, such as the overlapping area between the optical cables 1101 and 1102. In view of this situation, the embodiments of the present application may further include the following contents:
[0162] 1. Obtain other planned paths that have overlapping areas with the planned inspection path.
[0163] After detecting that a certain inspection task is marked as completed, the server can obtain all other inspection tasks corresponding to the operation organization and the planned inspection paths corresponding to all other inspection tasks according to the identification information of the operation organization corresponding to the inspection task.
[0164] 2. Obtain and mark the coverage path of the inspection coverage path on other planned paths.
[0165] After obtaining the planned inspection paths corresponding to the other inspection tasks, the server uses the same method as the above inspection coverage path to determine the coverage paths corresponding to the inspection tasks and the planned inspection paths corresponding to the other inspection tasks. The server then marks the coverage paths corresponding to the other inspection tasks to remind other inspection personnel that the inspection of the area has been completed, so that other inspection personnel do not need to inspect the area again, thereby reducing the workload of the inspection personnel, especially when there are many inspection tasks.
[0166] To summarize, the technical solution provided by the embodiments of the present application divides the planned inspection path and the actual inspection path into multiple sub-segment pairs accordingly, and then filters out multiple overlapping sub-segment pairs from the multiple sub-segment pairs according to the degree of overlap between the planned sub-segments and the actual sub-segments in each sub-segment pair. Finally, the inspection coverage path corresponding to the inspection task is determined based on the multiple overlapping sub-segment pairs. This realizes the determination of the inspection coverage path at the sub-segment granularity, takes into account the details of the inspection path, and also filters out non-overlapping sub-segment pairs, thereby improving the accuracy of determining the inspection coverage path.
[0167] In addition, by filtering the sub-segment pairs and then determining the inspection coverage path according to the overlapping sub-segment pairs, the calculation workload of the inspection coverage path can be effectively reduced, thereby improving the efficiency of determining the inspection coverage path.
[0168] In addition, for multiple planned paths with overlapping areas, the coverage paths of other planned paths can be determined based on the inspection coverage paths of completed inspection tasks, which can avoid other inspectors from repeatedly inspecting the area, thereby helping to reduce the inspection workload and improve inspection efficiency.
[0169] Please refer to Fig.12 , which shows a flowchart of a method for displaying inspection data provided by an embodiment of the present application. The execution subject of each step of the method may be Figure 1 The inspection terminal device 30 in the implementation environment of the solution shown in the figure may include the following steps (1201-1203).
[0170] Step 1201, displaying the planned inspection path corresponding to the inspection task.
[0171] An inspection task may refer to a task of inspecting an inspection object, or it may refer to a task of inspecting a part of an inspection object (such as the above-mentioned inspection subtask). The planned inspection path corresponding to the inspection task may be consistent with the route corresponding to the inspection object. The inspection tasks and planned inspection paths in the embodiments of the present application are the same as those described in the above embodiments. The contents not described in the embodiments of the present application may be referred to the above embodiments and will not be repeated here.
[0172] In one example, step 1201 may include the following:
[0173] 1. Receive an inspection task from a server. The planned inspection path corresponding to the inspection task is planned by a first management client and adjusted by a second management client corresponding to the inspection personnel.
[0174] Optionally, in response to the first type of management personnel setting up inspection tasks for a certain inspection object, such as planning the inspection route, planning the length of the inspection route, the required completion time of the inspection task, etc., the first management client generates a task creation request and sends the task creation request to the server. The server generates an inspection main task based on the task creation request, and sends the inspection main task to the second management client corresponding to the operating organization to which the inspection object belongs, that is, the second management client corresponding to the operating organization to which the inspection personnel belongs.
[0175] In response to the second type of management personnel's allocation operation on the inspection main task, the second management client sends the inspection main task to the inspection terminal device through the server. In this case, the inspection main task is the above inspection task. Optionally, in response to the second type of management personnel's division operation on the inspection main task, the second management client sends the divided inspection main task to the inspection terminal device through the server. In this case, the divided inspection main task is the above inspection task.
[0176] The inspection terminal device receives the inspection task from the server and displays a prompt message to prompt the inspection personnel to perform the inspection task.
[0177] 2. In response to the inspection personnel's start operation on the inspection task, the planned inspection path corresponding to the inspection task is displayed in the task interface.
[0178] The inspection personnel can view the inspection tasks through the inspection terminal device, such as the planned inspection path, location, starting point, end point, length and required completion time corresponding to the inspection task. The inspection task is correspondingly provided with an inspection start control. In response to the inspection personnel's triggering operation on the inspection start control, the inspection terminal device starts the inspection task and starts to follow the movement trajectory of the inspection personnel, and periodically obtains the position coordinates of the inspection personnel, such as automatically collecting the position coordinates of the current inspection personnel every 5 seconds.
[0179] In one example, an inspection applet is installed and running in the inspection terminal device, and the display of the inspection task and the acquisition of the location coordinates can be completed by the inspection applet. The inspection applet is connected to the target application on the management terminal device side. For example, the inspection applet can send the collected location coordinates to the target application through the server, and the target application can send the inspection task to the inspection applet through the server.
[0180] For example, refer to Figure 6 The task interface 600 displays a planned inspection path 602 , and the inspection personnel can inspect the optical cable according to the planned inspection path 602 , such as inspecting from the starting point of the planned inspection path 602 to the end point of the planned inspection path 602 .
[0181] Step 1202 : dynamically update and display the actual inspection path corresponding to the inspection task, where the actual inspection path is used to indicate the movement trajectory of the inspection personnel corresponding to the inspection task.
[0182] Optionally, the inspection terminal device periodically obtains the location coordinates of the inspection personnel, and periodically updates and displays the actual inspection path based on the location coordinates.
[0183] For example, after obtaining the position coordinates of the inspector, the inspection terminal device marks the corresponding position in the task interface, and then connects the position coordinates in chronological order to obtain the actual inspection path. The actual inspection path changes in real time with the movement trajectory of the inspector. For example, refer to Figure 6 The actual inspection path 601 is generated by connecting the position coordinates of the inspection personnel.
[0184] Optionally, after obtaining the position coordinates of the inspection personnel, the inspection terminal device also sends the position coordinates to the server, so that the position coordinates are sent to the management terminal device (such as the first management terminal device and the second management terminal device mentioned above) through the server, so that the management personnel can view the inspection status of the inspection personnel. For example, the inspection terminal device calls the backend service interface to insert the position coordinates into the end of the inspection path coordinate list in the server, and the server / management client can draw a complete actual inspection path on the electronic map according to the inspection path coordinate list.
[0185] Step 1203: Display the inspection coverage path corresponding to the inspection task, where the inspection coverage path is used to indicate the coverage degree of the actual inspection path to the planned inspection path.
[0186] The inspection coverage path can be determined by the server according to the planned inspection path and the actual inspection path, or by the inspection terminal device according to the planned inspection path and the actual inspection path, and the embodiment of the present application does not limit this. The inspection coverage path can refer to the effective projection of the actual inspection path on the planned inspection path. The specific determination method of the inspection coverage path is the same as that described in the above embodiment. The content not described in the embodiment of the present application can refer to the above embodiment and will not be repeated here.
[0187] Optionally, the inspection terminal device may overlay and display the inspection coverage path on the planned inspection path to more intuitively show the coverage degree of the actual inspection path to the planned inspection path.
[0188] Optionally, the inspection coverage path, the planned inspection path, and the actual inspection path have different display styles. For example, the inspection coverage path, the planned inspection path, and the actual inspection path may have different display colors, and the inspection coverage path, the planned inspection path, and the actual inspection path may also have different display shapes, which is not limited in the embodiments of the present application.
[0189] By checking the inspection coverage path, the inspection personnel can know the completion quality of the inspection task. For any missed areas, they can re-inspect to improve the completion quality of the inspection task.
[0190] Optionally, the inspection terminal device may display the inspection coverage path after the inspection task is completed, or may dynamically update and display the inspection coverage path during the execution of the inspection task, which is not limited in the embodiments of the present application.
[0191] In one example, the embodiment of the present application also supports reporting of potential danger points. The process may include the following:
[0192] 1. In response to a photographing operation on a potential danger point, a potential danger point image and a potential danger point position corresponding to the potential danger point are acquired.
[0193] The inspection terminal device generates a hidden danger point image corresponding to the hidden danger point in response to the inspection personnel's shooting operation on the hidden danger point, obtains the current position coordinates of the inspection personnel, and uses the current position coordinates as the hidden danger point position.
[0194] 2. Obtain descriptive information for potential risk points.
[0195] The description information may refer to text information describing the potential danger point by the inspection personnel, and the inspection terminal device obtains the description information of the potential danger point in response to the inspection personnel typing operation on the content of the description column of the potential danger point.
[0196] 3. Generate hidden danger point information based on hidden danger point image, hidden danger point location and description information; and send the hidden danger point information to the server.
[0197] The inspection terminal device associates the potential danger point information with the identification information of the inspection task (such as the number), and sends the potential danger point information and the identification information of the inspection task to the server in correspondence. The server can store the potential danger point information and the identification information of the inspection task in the COS object in correspondence.
[0198] When the manager views the details of the inspection task through the management client, all the corresponding hidden danger points can be found according to the identification information of the inspection task. After obtaining the longitude and latitude of the hidden danger point, the management client can render the hidden danger point on the electronic map, such as rendering the hidden danger point on the planned inspection path. In this way, the manager can intuitively see all the hidden danger points on the inspection path. After the hidden danger is found to be eliminated during the inspection process, the inspector can delete the hidden danger point on the mini program, or the manager can delete the hidden danger point on the management client. This embodiment of the present application does not limit this.
[0199] In summary, the technical solution provided by the embodiment of the present application enables the inspection personnel to more intuitively obtain the completion degree and completion quality of the inspection task by simultaneously displaying the planned inspection path, the actual inspection path and the inspection coverage path, thereby facilitating the improvement of the convenience and efficiency of obtaining information. At the same time, the inspection personnel can rework the inspection task according to the inspection coverage path, which is conducive to improving the completion quality of the inspection task.
[0200] In some embodiments, DWDM is a technology that can multiplex a single optical cable and increase the transmission bandwidth of a single optical cable. It is widely used in the transmission of operator backbone network data. However, optical cables are made of relatively fragile materials and are often buried underground in cities. They are easily affected by urban construction or road construction, which may cause optical cable interruptions, thereby seriously affecting network quality. Therefore, it is necessary to manually inspect the optical cables regularly and report potential hazards that may affect the optical cables. The following will take the optical cable inspection task as an example to illustrate the technical solution provided in the embodiment of the present application, which may specifically include the following content.
[0201] refer to Fig.13 , which is a schematic diagram of an optical cable inspection system provided by an embodiment of the present application, the optical cable inspection system includes a Web terminal 1301, a small program terminal 1302 and a storage layer 1303, the Web terminal 1301 is installed and run on the above-mentioned management terminal device, the small program terminal 1302 runs on the above-mentioned inspection terminal device, and the storage layer 1303 corresponds to the above-mentioned server.
[0202] Optionally, refer to Fig.14 , the Web terminal 1301 also includes an internal Web terminal 1311 and an external Web terminal 1312. The first type of management personnel can perform at least one of the following operations through the internal Web terminal 1311: manage operator personnel, upload optical cable line files, issue inspection main tasks, modify / delete inspection main tasks, and view inspection task information. Optionally, the internal Web terminal 1311 has strict authority isolation, that is, for different optical cable operators, they can only view the optical cable data corresponding to themselves.
[0203] The second type of management personnel can perform at least one of the following operations through the external Web terminal 1312: manage inspection personnel, split paths, issue inspection subtasks, modify / delete inspection subtasks, and view inspection task information.
[0204] The inspection personnel can perform at least one of the following operations through the mini program terminal 1302: inspection, real-time uploading of location coordinates, uploading of potential hazard point information, and viewing inspection task information.
[0205] Among them, viewing the inspection task information includes at least one of the following: viewing the inspection main task, viewing the inspection subtask, viewing the inspection coverage path, viewing the inspection coverage rate and viewing the potential danger points.
[0206] Optionally, the Web terminal 1301 can also be used for operator role authority management. Exemplarily, the internal Web terminal 1311 can perform operator management and operator personnel (i.e., second-category management personnel) information management. The internal Web terminal 1311 constrains the behavior of operator personnel through the roles to which they belong. The roles as a whole can be divided into three levels, and the authority is ranked from high to low: first-category management personnel, second-category management personnel, and patrol personnel. High-authority personnel can enter the information of low-authority personnel. First-category management personnel can enter the second-category management personnel information corresponding to multiple operators, and second-category management personnel can only enter the patrol personnel information of this operator. As shown in Table 1 below:
[0207] Table 1
[0208]
[0209] When entering personnel information, the data that needs to be entered may include the personnel name, personnel role, personnel email address, contact number, the corresponding OpenId (open identity) of the personnel in the main client on the mini program side, etc. Fig.15 , the login method of the Web terminal 1301 uses scanning code to log in, and the mini program terminal 1302 can directly read the above OpenId. When logging in, the personnel table can be queried according to the above OpenId to locate the role of the logged-in person. If the above OpenId is in the personnel information table (including management personnel and inspection personnel), it is judged that the login person has successfully logged in, and the user information of the login person is obtained to determine the role of the login person; if the above OpenId is not in the personnel information table, it is judged that the login person has failed to log in.
[0210] The above-mentioned storage layer 1303 can store the operator information table, inspection personnel table, optical cable data table, inspection main task table, inspection subtask table, subtask splitting point table, planned inspection path table and hidden danger point information table in the COS object for use by the Web end 1301 and the mini program end 1302.
[0211] Exemplarily, when the inspection personnel inspect the optical cable segment corresponding to the inspection subtask according to the planned inspection path corresponding to the inspection subtask, the mini program end 1302 automatically obtains the position coordinates of the inspection personnel and uploads the position coordinates to the storage layer 1303. After the web end 1301 obtains the position coordinates from the storage layer 1303, it dynamically displays the actual inspection path corresponding to the inspection personnel according to the position coordinates. After obtaining the position coordinates, the mini program end 1302 also dynamically displays the actual inspection path corresponding to the inspection personnel according to the position coordinates.
[0212] Optionally, the server can generate an actual inspection path corresponding to the inspection personnel according to the location coordinates in the storage layer 1303, and generate an inspection coverage path according to the planned inspection path and the actual inspection path corresponding to the inspection task, and then calculate the inspection coverage rate according to the length of the inspection coverage path and the length of the planned inspection path. The server sends the inspection coverage path and the inspection coverage rate to the Web terminal 1301 and the mini program terminal 1302, respectively, for the management personnel and the inspection personnel to view.
[0213] In summary, the technical solution provided by the embodiment of the present application enables the inspection personnel to more intuitively obtain the completion degree and completion quality of the inspection task by simultaneously displaying the planned inspection path, the actual inspection path and the inspection coverage path, thereby facilitating the improvement of the convenience and efficiency of obtaining information. At the same time, the inspection personnel can rework the inspection task according to the inspection coverage path, which is conducive to improving the completion quality of the inspection task.
[0214] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0215] refer to Fig.16 , which shows a block diagram of a device for processing inspection data provided by an embodiment of the present application. The device has the function of implementing the above method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the server introduced above, or it can be set in the server. Fig.16 As shown, the device 1600 includes: an inspection path acquisition module 1601, an inspection path division module 1602, a sub-segment filtering module 1603 and a coverage path determination module 1604.
[0216] The inspection path acquisition module 1601 is used to acquire a planned inspection path and an actual inspection path corresponding to an inspection task, wherein the actual inspection path is used to indicate a moving track of an inspection personnel corresponding to the inspection task.
[0217] The inspection path division module 1602 is used to divide the planned inspection path and the actual inspection path into corresponding parts to obtain multiple sub-segment pairs, wherein the sub-segment pairs include a group of corresponding planned sub-segments and actual sub-segments obtained from the planned inspection path and the actual inspection path, and an endpoint of the planned sub-segment and an endpoint of the actual sub-segment have the same coordinates in the same dimension.
[0218] The sub-line segment filtering module 1603 is used to obtain a plurality of overlapping sub-line segment pairs according to the degree of overlap between the planned sub-line segment and the actual sub-line segment in each of the sub-line segment pairs.
[0219] The coverage path determination module 1604 is used to determine the inspection coverage path corresponding to the inspection task according to the multiple overlapping sub-segment pairs, and the inspection coverage path is used to indicate the coverage degree of the actual inspection path to the planned inspection path.
[0220] In some embodiments, Fig.17 As shown, the sub-line segment filtering module 1603 includes: a first filtering submodule 1603a and a second filtering submodule 1603b.
[0221] The first filtering sub-module 1603a is used to filter the multiple sub-segment pairs to obtain multiple candidate sub-segment pairs, in which the planned sub-segment and the actual sub-segment intersect, or the distance between the planned sub-segment and the actual sub-segment in the candidate sub-segment is less than or equal to a first threshold.
[0222] The second filtering sub-module 1603b is used to filter the multiple overlapping sub-segment pairs from the multiple candidate sub-segments according to the overlap degree between the planned sub-segment and the actual sub-segment in each of the candidate sub-segment pairs.
[0223] In some embodiments, the first filtering submodule 1603a is used to:
[0224] For each of the sub-line segment pairs, obtaining projection line segments of the planned sub-line segment in the sub-line segment pair on the first coordinate axis and the second coordinate axis, respectively, and projection line segments of the actual sub-line segment on the first coordinate axis and the second coordinate axis, respectively, the first coordinate axis and the second coordinate axis being perpendicular to each other;
[0225] If there is an overlap between the projected line segment of the planned sub-line segment on the first coordinate axis and the projected line segment of the actual sub-line segment on the first coordinate axis, and there is an overlap between the projected line segment of the planned sub-line segment on the second coordinate axis and the projected line segment of the actual sub-line segment on the second coordinate axis, then the sub-line segment pair is determined to be a crossing sub-line segment pair;
[0226] The intersecting sub-line segment pair is determined as the candidate sub-line segment pair.
[0227] In some embodiments, the first filtering submodule 1603a is further configured to:
[0228] If the sub-line segment pair is not the crossing sub-line segment pair, obtaining the maximum distance between the planned sub-line segment and the actual sub-line segment in the sub-line segment pair;
[0229] When the maximum distance is less than or equal to the first threshold, the sub-line segment pair is determined as the candidate sub-line segment pair.
[0230] In some embodiments, the second filtering submodule 1603b is used to:
[0231] If, for the candidate sub-line segment pair, the straight line where the planned sub-line segment is located intersects with the straight line where the actual sub-line segment is located, then obtaining the angle between the planned sub-line segment and the actual sub-line segment;
[0232] When the angle is greater than a second threshold, determining the candidate sub-line segment pair as a non-overlapping sub-line segment pair;
[0233] If for the candidate sub-line segment pair, the straight line where the planned sub-line segment is located does not intersect with the straight line where the actual sub-line segment is located, then obtain the smaller vertical distance of the two vertical distances from the two ends of the actual sub-line segment to the planned sub-line segment;
[0234] When the smaller vertical distance is greater than a third threshold, determining the candidate sub-line segment pair as the non-overlapping sub-line segment pair;
[0235] The non-overlapping sub-segment pairs are eliminated from the candidate sub-segment pairs to obtain the multiple overlapping sub-segment pairs.
[0236] In some embodiments, the coverage path determination module 1604 is configured to:
[0237] For each of the overlapping sub-segment pairs, sorting the two endpoints of the planned sub-segment in the overlapping sub-segment pair and the two endpoints of the actual sub-segment in the first coordinate axis direction to obtain an endpoint sequence;
[0238] determining a second endpoint and a third endpoint in the endpoint sequence;
[0239] Determine the coverage path of the actual sub-segment on the planned sub-segment according to the projection point of the second endpoint on the planned sub-segment and the projection point of the third endpoint on the planned sub-segment, and obtain the coverage path corresponding to the overlapping sub-segment pair;
[0240] The inspection coverage path is determined according to the coverage paths respectively corresponding to the overlapping sub-line segment pairs.
[0241] In some embodiments, Fig.17 As shown, the device 1600 also includes: a coverage rate determining module 1605 and a coverage data sending module 1606.
[0242] The coverage determination module 1605 is used to obtain the inspection coverage corresponding to the actual inspection path according to the ratio between the length of the inspection coverage path and the length of the planned inspection path.
[0243] The coverage data sending module 1606 is used to send the inspection coverage path and the inspection coverage rate to the client.
[0244] In some embodiments, Fig.17 As shown, the device 1600 further includes: another path acquisition module 1607 and a coverage path marking module 1608 .
[0245] The other path acquisition module 1607 is used to acquire other planned paths that have overlapping areas with the planned inspection path.
[0246] The coverage path marking module 1608 is used to obtain and mark the coverage path of the inspection coverage path on the other planned paths.
[0247] In some embodiments, the inspection path acquisition module 1601 is used to:
[0248] Upon receiving a task creation request from the first management client, generating a planned inspection path corresponding to the inspection main task;
[0249] In the case of receiving a task division request from the second management client, dividing the planned inspection path corresponding to the inspection main task to obtain the planned inspection path corresponding to the inspection task;
[0250] Sending the planned inspection path corresponding to the inspection task to the inspection client corresponding to the inspection personnel;
[0251] Receiving location coordinates from the inspection client;
[0252] The actual inspection path is generated according to the position coordinates.
[0253] In some embodiments, Fig.17 As shown, the device 1600 further includes: a hidden danger point information acquisition module 1609 , a planned path updating module 1610 and a planned path sending module 1611 .
[0254] The hidden danger point information acquisition module 1609 is used to receive the hidden danger point information from the inspection client, and the hidden danger point information includes at least one of the following: the hidden danger point image obtained by the inspection client, the hidden danger point location, and the description information edited by the inspection personnel.
[0255] The planned path updating module 1610 is used to mark the potential hazard point information on the planned inspection path to obtain an updated planned inspection path.
[0256] The planned path sending module 1611 is used to send the updated planned inspection path to the first management client and the second management client.
[0257] To summarize, the technical solution provided by the embodiments of the present application divides the planned inspection path and the actual inspection path into multiple sub-segment pairs accordingly, and then filters out multiple overlapping sub-segment pairs from the multiple sub-segment pairs according to the degree of overlap between the planned sub-segments and the actual sub-segments in each sub-segment pair. Finally, the inspection coverage path corresponding to the inspection task is determined based on the multiple overlapping sub-segment pairs. This realizes the determination of the inspection coverage path at the sub-segment granularity, takes into account the details of the inspection path, and also filters out non-overlapping sub-segment pairs, thereby improving the accuracy of determining the inspection coverage path.
[0258] In addition, by filtering the sub-segment pairs and then determining the inspection coverage path according to the overlapping sub-segment pairs, the calculation workload of the inspection coverage path can be effectively reduced, thereby improving the efficiency of determining the inspection coverage path.
[0259] refer to Fig.18 , which shows a block diagram of a display device for inspection data provided by an embodiment of the present application. The device has the function of implementing the above method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the terminal device introduced above, or it can be set in the terminal device. Fig.18 As shown, the device 1800 includes: a planned path display module 1801 , an actual path display module 1802 and a covered path display module 1803 .
[0260] The planned path display module 1801 is used to display the planned inspection path corresponding to the inspection task.
[0261] The actual path display module 1802 is used to dynamically update and display the actual inspection path corresponding to the inspection task, and the actual inspection path is used to indicate the movement trajectory of the inspection personnel corresponding to the inspection task.
[0262] The coverage path display module 1803 is used to display the inspection coverage path corresponding to the inspection task, and the inspection coverage path is used to indicate the coverage degree of the actual inspection path to the planned inspection path.
[0263] In some embodiments, the coverage path display module 1803 is used to display the inspection coverage path superimposed on the planned inspection path; wherein the inspection coverage path, the planned inspection path and the actual inspection path have different display styles.
[0264] In some embodiments, the planned path display module 1801 is used to:
[0265] Receiving the inspection task from the server, wherein the planned inspection path corresponding to the inspection task is planned by the first management client and adjusted by the second management client corresponding to the inspection personnel;
[0266] In response to the inspection personnel's start operation on the inspection task, the planned inspection path corresponding to the inspection task is displayed in the task interface.
[0267] In some embodiments, the actual path display module 1802 is used to:
[0268] Periodically obtaining the position coordinates of the inspection personnel, and sending the position coordinates to a server;
[0269] The actual inspection path is periodically updated and displayed according to the location coordinates.
[0270] In some embodiments, the device 1800 further includes: a hidden danger point information acquisition module and a hidden danger point information sending module (not shown in the figure).
[0271] The hidden danger point information acquisition module is used to obtain the hidden danger point image and the hidden danger point position corresponding to the hidden danger point in response to the shooting operation on the hidden danger point.
[0272] The hidden danger point information acquisition module is also used to obtain description information for the hidden danger point.
[0273] The hidden danger point information acquisition module is further used to generate hidden danger point information according to the hidden danger point image, the hidden danger point position and the description information;
[0274] The hidden danger point information sending module is used to send the hidden danger point information to the server.
[0275] In summary, the technical solution provided by the embodiment of the present application enables the inspection personnel to more intuitively obtain the degree of completion and quality of the inspection task by simultaneously displaying the planned inspection path, the actual inspection path, and the inspection coverage path, thereby facilitating the improvement of the convenience and efficiency of obtaining information. At the same time, the inspection personnel can rework the inspection task according to the inspection coverage path, which is conducive to improving the completion quality of the inspection task.
[0276] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0277] Please refer to Fig.19 , which shows a block diagram of a terminal device provided by an embodiment of the present application. The terminal device may be the terminal device described above (such as a management terminal device and an inspection terminal device), and the terminal device 1900 may be used to implement the method for displaying inspection data on the terminal device side, specifically:
[0278] Typically, the terminal device 1900 includes: a processor 1901 and a memory 1902 .
[0279] Optionally, the processor 1901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1901 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1901 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1901 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0280] Optionally, the memory 1902 may include one or more computer-readable storage media, which may be non-transitory. The memory 1902 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1902 is used to store a computer program, which is configured to be executed by one or more processors to implement the above-mentioned method for displaying inspection data on the terminal device side.
[0281] In some embodiments, the terminal device 1900 may also optionally include: a peripheral device interface 1903 and at least one peripheral device. The processor 1901, the memory 1902 and the peripheral device interface 1903 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1903 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1904, a display screen 1905, a camera assembly 1906, an audio circuit 1907, a positioning assembly 1908 and a power supply 1909.
[0282] Those skilled in the art will understand that Fig.19 The structure shown in the figure does not constitute a limitation on the terminal device 1900, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0283] Please refer to Fig. 20 , which shows a structural block diagram of a server provided in an embodiment of the present application. The server can be used to implement the method for processing inspection data on the server side provided in the above embodiment. Specifically:
[0284] The server 2000 includes a central processing unit (such as a CPU (Central Processing Unit), a GPU (Graphics Processing Unit) and an FPGA (Field Programmable Gate Array)) 2001, a system memory 2004 including a RAM (Random-Access Memory) 2002 and a ROM (Read-Only Memory) 2003, and a system bus 2005 connecting the system memory 2004 and the central processing unit 2001. The server 2000 also includes a basic input / output system (Input Output System, I / O system) 2006 for helping various devices in the server to transmit information, and a large-capacity storage device 2007 for storing an operating system 2013, application programs 2014 and other program modules 2015.
[0285] The basic input / output system 2006 includes a display 2008 for displaying information and an input device 2009 such as a mouse and a keyboard for user inputting information. The display 2008 and the input device 2009 are connected to the central processing unit 2001 via an input / output controller 2010 connected to the system bus 2005. The basic input / output system 2006 may also include an input / output controller 2010 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 2010 also provides output to a display screen, a printer, or other types of output devices.
[0286] The mass storage device 2007 is connected to the central processing unit 2001 via a mass storage controller (not shown) connected to the system bus 2005. The mass storage device 2007 and its associated computer readable medium provide non-volatile storage for the server 2000. That is, the mass storage device 2007 may include a computer readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.
[0287] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technology, CD-ROM, DVD (Digital Video Disc) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will know that the computer storage medium is not limited to the above. The above-mentioned system memory 2004 and mass storage device 2007 can be collectively referred to as memory.
[0288] According to the embodiment of the present application, the server 2000 can also be connected to a remote computer on the network through a network such as the Internet. That is, the server 2000 can be connected to the network 2012 through the network interface unit 2011 connected to the system bus 2005, or the network interface unit 2011 can be used to connect to other types of networks or remote computer systems (not shown).
[0289] The memory also includes a computer program, which is stored in the memory and configured to be executed by one or more processors to implement the above-mentioned method for processing inspection data on the server side.
[0290] In some embodiments, a computer-readable storage medium is further provided, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor of a terminal device, the method for displaying inspection data on the terminal device side is implemented.
[0291] In some embodiments, a computer-readable storage medium is further provided, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor of a server, the computer program implements the above-mentioned method for processing inspection data on the server side.
[0292] Optionally, the computer readable storage medium may include: ROM (Read-Only Memory), RAM (Random-Access Memory), SSD (Solid State Drives) or optical disk, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).
[0293] In some embodiments, a computer program product is further provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a terminal device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the terminal device executes the above-mentioned method for displaying inspection data on the terminal device side.
[0294] In some embodiments, a computer program product is further provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a server reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the server executes the above-mentioned method for processing inspection data on the server side.
[0295] It should be noted that, before collecting the relevant data of the user and during the process of collecting the relevant data of the user, the embodiment of the present application can display a prompt interface, a pop-up window or output a voice prompt information, and the prompt interface, pop-up window or voice prompt information is used to prompt the user that the relevant data is currently being collected, so that the present application only starts to execute the relevant steps of obtaining the relevant data of the user after obtaining the confirmation operation issued by the user to the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user to the prompt interface or pop-up window is not obtained), the relevant steps of obtaining the relevant data of the user are terminated, that is, the relevant data of the user is not obtained. In other words, all user data collected by this application are processed strictly in accordance with the requirements of the laws and regulations of relevant countries, and the informed consent or separate consent of the subject of personal information is obtained with the consent and authorization of the user. The subsequent data use and processing behavior is carried out within the scope of authorization of laws and regulations and the subject of personal information, and the collection, use and processing of relevant user data need to comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the planned inspection path, actual inspection path, optical cable data, user information, etc. involved in this application are all obtained with full authorization.
[0296] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.
[0297] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for processing inspection data, characterized in that: The method comprises: Obtaining a planned inspection path and an actual inspection path corresponding to the inspection task, wherein the actual inspection path is used to indicate a movement trajectory of the inspection personnel corresponding to the inspection task; The planned inspection path and the actual inspection path are divided accordingly to obtain a plurality of sub-line segment pairs, wherein the sub-line segment pairs include a group of corresponding planned sub-line segments and actual sub-line segments divided from the planned inspection path and the actual inspection path, and an endpoint of the planned sub-line segment and an endpoint of the actual sub-line segment have the same coordinates in the same dimension; According to the overlap degree between the planned sub-segment and the actual sub-segment in each sub-segment pair, a plurality of overlapping sub-segment pairs are obtained; An inspection coverage path corresponding to the inspection task is determined according to the multiple overlapping sub-line segment pairs, and the inspection coverage path is used to indicate the coverage degree of the actual inspection path to the planned inspection path.
2. The method according to claim 1, characterized in that The obtaining of a plurality of overlapping sub-segment pairs according to the degree of overlap between the planned sub-segment and the actual sub-segment in each sub-segment pair comprises: Filtering the multiple sub-line segment pairs to obtain multiple candidate sub-line segment pairs, wherein the planned sub-line segment and the actual sub-line segment in the candidate sub-line segments intersect, or the distance between the planned sub-line segment and the actual sub-line segment in the candidate sub-line segments is less than or equal to a first threshold; According to the degree of overlap between the planned sub-segment and the actual sub-segment in each of the candidate sub-segment pairs, the multiple overlapping sub-segment pairs are obtained by filtering from the multiple candidate sub-segment pairs.
3. The method according to claim 2, characterized in that The filtering of the plurality of sub-line segment pairs to obtain a plurality of candidate sub-line segment pairs includes: For each of the sub-line segment pairs, obtaining projection line segments of the planned sub-line segment in the sub-line segment pair on the first coordinate axis and the second coordinate axis, respectively, and projection line segments of the actual sub-line segment on the first coordinate axis and the second coordinate axis, respectively, the first coordinate axis and the second coordinate axis being perpendicular to each other; If there is an overlap between the projected line segment of the planned sub-line segment on the first coordinate axis and the projected line segment of the actual sub-line segment on the first coordinate axis, and there is an overlap between the projected line segment of the planned sub-line segment on the second coordinate axis and the projected line segment of the actual sub-line segment on the second coordinate axis, then the sub-line segment pair is determined to be a crossing sub-line segment pair; The intersecting sub-line segment pair is determined as the candidate sub-line segment pair.
4. The method according to claim 3, characterized in that: The method further comprises: If the sub-line segment pair is not the crossing sub-line segment pair, obtaining the maximum distance between the planned sub-line segment and the actual sub-line segment in the sub-line segment pair; When the maximum distance is less than or equal to the first threshold, the sub-line segment pair is determined as the candidate sub-line segment pair.
5. The method according to claim 2, characterized in that: The filtering to obtain the plurality of overlapping sub-segment pairs from the plurality of candidate sub-segments according to the degree of overlap between the planned sub-segment and the actual sub-segment in each of the candidate sub-segment pairs comprises: If, for the candidate sub-line segment pair, the straight line where the planned sub-line segment is located intersects with the straight line where the actual sub-line segment is located, then obtaining the angle between the planned sub-line segment and the actual sub-line segment; When the angle is greater than a second threshold, determining the candidate sub-line segment pair as a non-overlapping sub-line segment pair; If for the candidate sub-line segment pair, the straight line where the planned sub-line segment is located does not intersect with the straight line where the actual sub-line segment is located, then obtain the smaller vertical distance of the two vertical distances from the two ends of the actual sub-line segment to the planned sub-line segment; When the smaller vertical distance is greater than a third threshold, determining the candidate sub-line segment pair as the non-overlapping sub-line segment pair; The non-overlapping sub-segment pairs are eliminated from the candidate sub-segment pairs to obtain the multiple overlapping sub-segment pairs.
6. The method according to claim 1, characterized in that The determining, according to the plurality of overlapping sub-segment pairs, an inspection coverage path corresponding to the inspection task includes: For each of the overlapping sub-segment pairs, sorting the two endpoints of the planned sub-segment in the overlapping sub-segment pair and the two endpoints of the actual sub-segment in the first coordinate axis direction to obtain an endpoint sequence; determining a second endpoint and a third endpoint in the endpoint sequence; Determine the coverage path of the actual sub-segment on the planned sub-segment according to the projection point of the second endpoint on the planned sub-segment and the projection point of the third endpoint on the planned sub-segment, and obtain the coverage path corresponding to the overlapping sub-segment pair; The inspection coverage path is determined according to the coverage paths respectively corresponding to the overlapping sub-line segment pairs.
7. The method according to claim 6, characterized in that After determining the inspection coverage path corresponding to the inspection task according to the multiple overlapping sub-segment pairs, the method further includes: Obtaining the inspection coverage rate corresponding to the actual inspection path according to the ratio between the length of the inspection coverage path and the length of the planned inspection path; The inspection coverage path and the inspection coverage rate are sent to the client.
8. The method according to claim 1, characterized in that After determining the inspection coverage path corresponding to the inspection task according to the multiple overlapping sub-segment pairs, the method further includes: Acquire other planned paths that have overlapping areas with the planned inspection path; Acquire and mark the coverage path of the inspection coverage path on the other planned paths.
9. The method according to claim 1, characterized in that: The obtaining of the planned inspection path and the actual inspection path corresponding to the inspection task includes: Upon receiving a task creation request from the first management client, generating a planned inspection path corresponding to the inspection main task; In the case of receiving a task division request from the second management client, dividing the planned inspection path corresponding to the inspection main task to obtain the planned inspection path corresponding to the inspection task; Sending the planned inspection path corresponding to the inspection task to the inspection client corresponding to the inspection personnel; Receiving location coordinates from the inspection client; The actual inspection path is generated according to the position coordinates.
10. The method according to claim 9, characterized in that The method further comprises: Receiving potential danger point information from the inspection client, the potential danger point information including at least one of the following: a potential danger point image acquired by the inspection client, a potential danger point location, and description information edited by the inspection personnel; Marking the potential hazard point information on the planned inspection path to obtain an updated planned inspection path; The updated planned inspection path is sent to the first management client and the second management client.
11. A method for displaying inspection data, characterized in that: The method comprises: Display the planned inspection path corresponding to the inspection task; Dynamically update and display the actual inspection path corresponding to the inspection task, where the actual inspection path is used to indicate the movement trajectory of the inspection personnel corresponding to the inspection task; The inspection coverage path corresponding to the inspection task is displayed, and the inspection coverage path is used to indicate the coverage degree of the actual inspection path to the planned inspection path.
12. The method according to claim 11, characterized in that The displaying of the inspection coverage path corresponding to the inspection task includes: Overlaying and displaying the inspection coverage path on the planned inspection path; The inspection coverage path, the planned inspection path and the actual inspection path have different display styles.
13. The method according to claim 11, characterized in that The planned inspection path corresponding to the inspection task is displayed, including: Receiving the inspection task from the server, wherein the planned inspection path corresponding to the inspection task is planned by the first management client and adjusted by the second management client corresponding to the inspection personnel; In response to the inspection personnel's start operation on the inspection task, the planned inspection path corresponding to the inspection task is displayed in the task interface.
14. The method according to claim 11, characterized in that The dynamic update displays the actual inspection path corresponding to the inspection task, including: Periodically obtaining the position coordinates of the inspection personnel, and sending the position coordinates to a server; The actual inspection path is periodically updated and displayed according to the location coordinates.
15. The method according to claim 11, characterized in that The method further comprises: In response to a photographing operation on a potential danger point, acquiring a potential danger point image and a potential danger point position corresponding to the potential danger point; Obtaining description information for the potential risk point; Generate hidden danger point information according to the hidden danger point image, the hidden danger point position and the description information; The potential danger point information is sent to a server.
16. A device for processing inspection data, characterized in that: The device comprises: An inspection path acquisition module is used to acquire a planned inspection path and an actual inspection path corresponding to an inspection task, wherein the actual inspection path is used to indicate a movement trajectory of an inspection personnel corresponding to the inspection task; An inspection path division module is used to divide the planned inspection path and the actual inspection path into corresponding groups to obtain a plurality of sub-line segment pairs, wherein the sub-line segment pairs include a group of corresponding planned sub-line segments and actual sub-line segments obtained by dividing the planned inspection path and the actual inspection path, and an endpoint of the planned sub-line segment and an endpoint of the actual sub-line segment have the same coordinates in the same dimension; A sub-line segment filtering module, used for obtaining a plurality of overlapping sub-line segment pairs according to the overlap degree between the planned sub-line segment and the actual sub-line segment in each sub-line segment pair; A coverage path determination module is used to determine the inspection coverage path corresponding to the inspection task according to the multiple overlapping sub-segment pairs, and the inspection coverage path is used to indicate the coverage degree of the actual inspection path to the planned inspection path.
17. A display device for inspection data, characterized in that: The device comprises: The planned path display module is used to display the planned inspection path corresponding to the inspection task; An actual path display module, used to dynamically update and display the actual inspection path corresponding to the inspection task, wherein the actual inspection path is used to indicate the movement trajectory of the inspection personnel corresponding to the inspection task; The coverage path display module is used to display the inspection coverage path corresponding to the inspection task, and the inspection coverage path is used to indicate the coverage degree of the actual inspection path to the planned inspection path.
18. A computer device, characterized in that: The computer device includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the method for processing inspection data as described in any one of claims 1 to 10, or to implement the method for displaying inspection data as described in any one of claims 11 to 15.
19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the method for processing inspection data as described in any one of claims 1 to 10, or to implement the method for displaying inspection data as described in any one of claims 11 to 15.
20. A computer program product, characterized in that The computer program product includes a computer program, which is stored in a computer-readable storage medium. The processor reads and executes the computer program from the computer-readable storage medium to implement the method for processing inspection data as described in any one of claims 1 to 10, or implements the method for displaying inspection data as described in any one of claims 11 to 15.