Inspection task scheduling method, device and computer storage medium
By obtaining equipment and personnel location information and generating and optimizing inspection task routes, the problem of lack of dynamic optimization of inspection task allocation in the existing technology is solved, and the precise scheduling and efficiency improvement of inspection tasks is achieved.
Patent Information
- Application Number
- CN202411142023.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2044-08-20
AI Technical Summary
The existing inspection management system relies on manually assigned tasks and lacks dynamic optimization capabilities, resulting in the inability to fully consider the operating status of the equipment and the location of the inspection personnel, affecting the efficiency and accuracy of the inspection.
By obtaining the equipment information of the equipment to be inspected and the location information of the inspectors, a patrol task is generated, and the inspection route is optimized, and sent to the mobile terminal for accurate scheduling.
It realizes precise scheduling of inspection tasks, improves inspection efficiency, and ensures that inspection personnel complete tasks with the shortest path.
Smart Images

Figure CN118674231B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a scheduling method, device and computer storage medium for inspection tasks. Background Art
[0002] In the context of industrial automation and Internet of Things technology, mobile terminals have become a key tool for equipment inspection due to their portability and networking capabilities. Although the integration of mobile terminals has improved the efficiency of field data collection, the existing inspection management system still relies on manual task assignment and lacks the ability to dynamically optimize task allocation. This deficiency results in the inability to fully consider the actual operating status of the equipment and the current location of the inspection personnel during the inspection task allocation process, which in turn affects the efficiency and accuracy of the inspection process. Summary of the invention
[0003] The main purpose of this application is to provide a scheduling method, device and computer storage medium for inspection tasks, aiming to solve the technical problem that inspection task allocation in the inspection management system lacks dynamic optimization capability.
[0004] To achieve the above purpose, the present application provides a method for scheduling inspection tasks, which is applied to a background management module. The method includes:
[0005] Obtaining device information of the device to be inspected, wherein the device information includes device location information and device operation status;
[0006] Obtaining personnel information of patrol personnel, the personnel information including shift information and personnel location information;
[0007] Generate inspection tasks according to the equipment location information and the personnel location information, and assign at least one inspection personnel to each inspection task;
[0008] According to the inspection task, planning the inspection route of the inspection task;
[0009] The inspection task and the inspection route are sent to a mobile terminal.
[0010] In one embodiment, before the step of obtaining the device information of the device to be inspected, the following steps are included:
[0011] Binding the device identifier of the device to be inspected with the beacon identifier of the Bluetooth beacon to establish an association between the device to be inspected and the Bluetooth beacon;
[0012] The specific locations of the Bluetooth beacons deployed in the inspection area are recorded, and a location database of the Bluetooth beacons is established.
[0013] In one embodiment, before the step of generating an inspection task according to the device location information and the personnel location information, the step includes:
[0014] Receiving the current location information fed back by the mobile terminal, and using the current location information as the personnel location information of the inspection personnel;
[0015] Determine the current position of the inspection personnel according to the personnel position information, and calculate the distance between the current position of the inspection personnel and the equipment to be inspected;
[0016] The device to be inspected is associated with the inspector who is closest to the device to be inspected, and an inspection task is generated.
[0017] In one embodiment, the step of planning the inspection route of the inspection task according to the inspection task includes:
[0018] Obtaining the target inspection position in the inspection task and the current position of the inspection personnel;
[0019] Applying a path planning algorithm to calculate the inspection path of the target inspection location in all inspection tasks of the inspection personnel;
[0020] The inspection path is optimized so that the total length of the inspection path taken by the inspection personnel starting from the current position and visiting all the target inspection positions is the shortest.
[0021] In one embodiment, after the step of sending the inspection task and the inspection route to the mobile terminal, the following steps are included:
[0022] Receive the execution status information of the inspection task fed back by the mobile terminal, wherein the execution status information includes the completion progress of the inspection task and the inspection report of the inspection task;
[0023] According to the execution status information of the inspection task, the completion status of the inspection task is updated in real time.
[0024] In one embodiment, the step of receiving the execution status information of the inspection task fed back by the mobile terminal includes:
[0025] Receive the check-in information of the inspection task, and record the check-in time as the start time of executing the inspection task;
[0026] Receive the inspection report uploaded when the inspection task is completed, and record the upload time of the inspection report as the end time of executing the inspection task;
[0027] The execution time for the inspection personnel to complete the inspection task is calculated based on the start time and end time of the inspection task.
[0028] The present application embodiment provides a method for scheduling inspection tasks, which is applied to a mobile terminal. The method includes:
[0029] Receive a signal sent by a Bluetooth beacon, and extract a beacon identifier of the Bluetooth beacon and a signal strength indicator of the signal according to the signal;
[0030] Calculating the relative distance of the mobile terminal to the Bluetooth beacon according to the signal strength index;
[0031] Determine the current location information of the mobile terminal according to the relative distance, and determine the current location information as the current location of the inspection personnel;
[0032] Obtaining the target inspection position corresponding to the inspection task;
[0033] When the object is within the coverage range of the Bluetooth beacon at the target inspection location, the beacon identifier of the Bluetooth beacon is detected and the inspection task is triggered.
[0034] In one embodiment, when the target inspection location is within the coverage range of the Bluetooth beacon, the step of detecting the beacon identifier of the Bluetooth beacon and triggering the inspection task includes:
[0035] According to the signal sent by the Bluetooth beacon, extracting the beacon identifier of the Bluetooth beacon in the signal;
[0036] The beacon identifier is matched with the inspection task, and if the match is successful, the inspection task associated with the beacon identifier is triggered.
[0037] An embodiment of the present application also provides a scheduling device for inspection tasks, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the scheduling method for inspection tasks as described above.
[0038] An embodiment of the present application also provides a computer storage medium, which is a computer-readable storage medium. A computer program is stored on the computer storage medium. When the computer program is executed by a processor, the steps of the scheduling method for inspection tasks as described above are implemented.
[0039] The embodiment of the present application discloses a method for scheduling inspection tasks, by obtaining the equipment information of the equipment to be inspected, the equipment information includes the equipment location information and the equipment operating status; obtaining the personnel information of the inspection personnel, the personnel information includes the shift information and the personnel location information; generating the inspection task according to the equipment location information and the personnel location information, and arranging at least one inspection personnel for each inspection task; planning the inspection route of the inspection task according to the inspection task; and sending the inspection task and the inspection route to a mobile terminal. The present application obtains the location information of the equipment to be inspected in the inspection task and the current location of the inspection personnel, matches the inspection personnel closest to the equipment to be inspected, and optimizes the inspection route at the same time, so that the inspection personnel can complete the inspection task with the shortest path, and sends the inspection task and the inspection route to the mobile terminal, thereby realizing the accurate scheduling of the inspection task and improving the inspection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a flowchart of a first embodiment of a method for scheduling inspection tasks involved in an embodiment of the present application;
[0041] Figure 2 A flowchart of a second embodiment of a method for scheduling inspection tasks according to an embodiment of the present application;
[0042] Figure 3 This is a flow chart of step S40 of the third embodiment of the method for scheduling inspection tasks involved in the embodiment of the present application;
[0043] Figure 4 A schematic diagram of the interaction process between the background management module, the inspection device and the mobile terminal in the fourth embodiment of the scheduling method for inspection tasks involved in the embodiment of the present application;
[0044] Figure 5 A schematic diagram of the signaling interaction process between the background management module and the device to be inspected, the mobile terminal and the Bluetooth beacon in the fourth embodiment of the scheduling method for inspection tasks involved in the embodiment of the present application;
[0045] Figure 6 A brief flowchart of a fifth embodiment of a method for scheduling inspection tasks according to an embodiment of the present application;
[0046] Figure 7 This is a schematic diagram of the structure of the dispatching equipment for the inspection task in this application.
[0047] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0048] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0049] In the context of industrial automation and Internet of Things technology, mobile terminals have become a key tool for equipment inspection due to their portability and networking capabilities. Although the integration of mobile terminals has improved the efficiency of field data collection, the existing inspection management system still relies on manual task assignment and lacks the ability to dynamically optimize task allocation. This deficiency results in the inability to fully consider the actual operating status of the equipment and the real-time location of the inspection personnel during the inspection task allocation process, which in turn affects the efficiency and accuracy of the inspection process.
[0050] In order to solve the above-mentioned defects existing in the related art, the embodiment of the present application proposes a scheduling method for inspection tasks, which method obtains the equipment information of the equipment to be inspected, the equipment information includes the equipment location information and the equipment operation status; obtains the personnel information of the inspection personnel, the personnel information includes the shift information and the personnel location information; generates the inspection task according to the equipment location information and the personnel location information, and arranges at least one inspection personnel for each inspection task; plans the inspection route of the inspection task according to the inspection task; and sends the inspection task and the inspection route to the mobile terminal. The present application obtains the location information of the equipment to be inspected in the inspection task and the current location of the inspection personnel, matches the inspection personnel closest to the equipment to be inspected, and optimizes the inspection route at the same time, so that the inspection personnel can complete the inspection task with the shortest path, and sends the inspection task and the inspection route to the mobile terminal, thereby realizing the accurate scheduling of the inspection task and improving the inspection efficiency.
[0051] For ease of understanding, the technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0052] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a computer, or an electronic device capable of realizing the above functions. In this embodiment, the method of scheduling inspection tasks in this embodiment and the following embodiments is described below by taking the background management module as an example.
[0053] Based on this, the scheduling method of the inspection task of the first embodiment proposed in this application is applied to the background management module, please refer to Figure 1 The method comprises steps S10 to S50:
[0054] Step S10: Acquire device information of the device to be inspected, wherein the device information includes device location information and device operating status.
[0055] It should be noted that the equipment information of the equipment to be inspected is the basis for scheduling inspection tasks, including equipment location information and equipment operating status. Equipment location information ensures that inspection tasks can be accurately assigned to specific locations that need to be inspected, and equipment operating status provides information on whether the equipment to be inspected is working properly. The equipment operating status is usually monitored based on the system of the equipment to be inspected itself, and the monitored operating status is transmitted to the background management module; alternatively, the operating status of the equipment to be inspected can be monitored by sensors and sent to the background management module.
[0056] It can be understood that the background management module collects the operating parameters of the inspection equipment, such as temperature, pressure, vibration, etc., in real time through sensors connected to the equipment to be inspected, or the monitoring system of the equipment to be inspected itself, and stores, manages and analyzes the operating parameters of the equipment to be inspected.
[0057] In an optional implementation scheme, a group of Bluetooth beacons are first deployed in the inspection area, each Bluetooth beacon has a unique beacon identifier, and the deployment position of the Bluetooth beacons covers the entire inspection area to ensure that the mobile terminal device can fully receive the Bluetooth signal. Then the device identifier of the device to be inspected is bound to the beacon identifier of the Bluetooth beacon, and each device to be inspected also has a unique device identifier and location coordinates. After binding, the association relationship between the device to be inspected and the Bluetooth beacon is established. While deploying the Bluetooth beacons, it is necessary to record the specific location of the Bluetooth beacons in the inspection area and establish a location database for the Bluetooth beacons.
[0058] It should be noted that a Bluetooth beacon is a small wireless device that can transmit signals through Bluetooth technology. A Bluetooth beacon deployed in an inspection area can emit a signal containing identification information, which can be received and interpreted by nearby Bluetooth devices.
[0059] Optionally, the association relationship between the device to be inspected and the Bluetooth beacon can be a one-to-one association, that is, one device to be inspected is bound to one Bluetooth beacon; or can be a many-to-one association, that is, multiple devices to be inspected are bound to one Bluetooth beacon.
[0060] Step S20: Acquire the personnel information of the inspection personnel, wherein the personnel information includes shift information and personnel location information.
[0061] It should be noted that the shift information describes the inspection personnel's work schedule, including the inspection personnel's work shifts, rest days and task allocation, which helps the background management module to understand the availability and workload of each inspection personnel. Personnel location information is real-time data, reflecting the inspection personnel's current location in the inspection area.
[0062] Optionally, the patrol personnel hold a mobile terminal and use the Bluetooth technology of the mobile terminal to receive the signal sent by the Bluetooth beacon in the patrol area. By analyzing the signal strength of the Bluetooth signal and combining it with the location database of the Bluetooth beacon, the current location information of the mobile terminal is determined. The mobile terminal then sends the current location information to the background management module. The background management module determines the current location information of the mobile terminal as the patrol personnel's personnel location information, that is, the patrol personnel's current location.
[0063] Step S30: Generate an inspection task according to the device location information and the personnel location information, and assign at least one inspection personnel to each inspection task.
[0064] It should be noted that the background management module comprehensively considers the equipment location information and equipment operation status, as well as the inspection personnel's shift information and the inspection personnel's current location. Based on this information, the background management module will generate inspection tasks, and each inspection task will be assigned at least one inspection personnel.
[0065] In an optional embodiment, the step S30 may include:
[0066] Step S210: receiving the current location information fed back by the mobile terminal, and using the current location information as the personnel location information of the inspection personnel.
[0067] It should be noted that when the inspection personnel perform the inspection task, they hold the mobile terminal and use the mobile terminal to perform the inspection task. Therefore, when the mobile terminal feeds back its current location information, the current location information of the mobile terminal can be used as the personnel location information of the inspection personnel.
[0068] Step S220: Determine the current position of the inspection personnel according to the personnel position information, and calculate the distance between the current position of the inspection personnel and the equipment to be inspected.
[0069] It should be noted that the background management module receives the current location information from the mobile terminal and uses the current location information as the personnel location information of the patrol personnel, that is, the current location of the patrol personnel. By obtaining the current location of the patrol personnel and the location information of the equipment to be inspected known in the task list of the background management module, the background management module can calculate the distance between the equipment to be inspected and the current location of the patrol personnel. Through this step, the background management module can know the distance between each patrol personnel and the equipment to be inspected corresponding to each task.
[0070] Optionally, the background management module constructs a grid-based map model to represent the inspection area. Each grid cell represents a specific area within the area, and each device to be inspected is assigned to a corresponding grid cell. The background management module maps the current position of the inspector to the grid model, and then estimates the distance by calculating the grid line distance between the grid cell where the inspector is currently located and the grid cell where the device to be inspected is located.
[0071] Step S230: Associating the device to be inspected with the inspector who is closest to the device to be inspected, and generating an inspection task.
[0072] Optionally, the background management module uses a priority queue to process distance information. First, the distance between each inspector and the device to be inspected is added as an element to the priority queue. Since the priority queue always puts the element with the smallest value at the front of the queue, the background management module can quickly retrieve the inspector closest to the device to be inspected, associate the inspector with the device to be inspected, and generate an inspection task accordingly.
[0073] Optionally, the background management module uses a hash table to store and retrieve distance information. First, create an independent hash table for each device to be inspected, where the key of the hash table is the inspector's identifier and the value is the distance between the inspector and the device to be inspected. In this way, the background management module can quickly access the nearest inspector corresponding to each device to be inspected. By traversing the hash table, the inspector with the smallest distance value in each table is selected, and the inspector is associated with the corresponding device to be inspected to generate an inspection task.
[0074] Optionally, the background management module not only considers the distance between the inspector and the equipment to be inspected, but also comprehensively considers the priority and urgency of the task. First, the background management module sets evaluation rules based on the historical operating data and current operating status of the equipment to be inspected, as well as the maintenance records and fault history of the equipment to be inspected. The evaluation rules include the failure rate of the inspection equipment, the importance level, and the degree of impact on the production process. The background management module converts these evaluation rules into quantitative indicators and generates a weighted score for the equipment to be inspected corresponding to each task in the task queue to determine the priority and urgency of the task. The weighted score will be used to adjust the elements in the priority queue or hash table.
[0075] In the case of a priority queue, the background management module can modify the priority of the elements so that tasks with higher scores (indicating more urgent or important tasks) are placed at the front of the queue and are assigned first.
[0076] In the case of a hash table, the background management module can add a sorting step to sort the inspectors with the shortest distance according to the weighted scores to ensure that high-priority tasks can be processed first.
[0077] Optionally, based on the priority and urgency of the task and the current location of the inspector, the background management module defines an optimization objective function, such as minimizing the task completion time or maximizing the task completion rate, and constructs corresponding constraints, such as ensuring that each task is assigned to only one inspector and that the inspector's workload does not exceed his or her capacity. The background management module solves the optimal task allocation scheme through a linear programming algorithm and generates a specific inspection task from the scheme.
[0078] Specifically, the steps of solving the optimal task allocation solution by a linear programming algorithm may include:
[0079] First, the objective function is to minimize the task completion time (Makespan), that is, min(max(C i )).
[0080] Determine the decision variables x for the task ij , if task i is assigned to inspector j, then x ij =1, if task i has not yet been assigned an inspector, then x ij =0.
[0081] Construct the constraints of the objective function. The constraints are as follows:
[0082] Constraint 1: Each task must be assigned to and only assigned to one inspector. The corresponding mathematical formula is: ∑ j x ij =1,∀i,∀i means that the constraint applies to all possible values of i.
[0083] It should be noted that the mathematical formula in constraint 1 indicates that for each task i, its x ij The sum of the values for all inspectors j must be equal to 1, which ensures that each task is assigned to only one inspector.
[0084] Constraint 2: The total working time of inspector j cannot exceed the maximum working time H of the inspector j , the corresponding mathematical formula is expressed as: ∑ i p i *x ij ≤H j ,∀j; where p i represents the working time required for task i, H j is the maximum working time of inspector j, and ∀j means that the constraint applies to all possible values of j.
[0085] It should be noted that the mathematical formula in constraint 2 indicates that for each inspector j, the sum of the working time of all the tasks i assigned to them (i.e., p i *x ij , summed over all tasks) cannot exceed their maximum working time H j , which ensures that inspectors are not assigned tasks that exceed their work capacity.
[0086] Constraint 3: Completion time C of task i i It must be less than or equal to the total working time of the inspectors assigned to the task. The corresponding mathematical formula is: C i ≤∑ j p i *x ij ,∀i; where C i represents the completion time of task i, and ∀i means that the constraint applies to all possible values of i.
[0087] It should be noted that the mathematical formula in constraint 3 indicates that for each task i, its completion time C i must be less than or equal to the total working time of the inspectors assigned to perform the task (i.e., p i *x ij , summed over all inspectors), ensures that the completion time of a task does not exceed the time the inspector assigned to it can actually use for work.
[0088] It can be understood that the inspection task is generated by optimizing the objective function, wherein the inspection task includes information such as task content, inspection personnel, task completion time, and location information of the equipment to be inspected (ie, target inspection location).
[0089] Step S40: planning an inspection route for the inspection task according to the inspection task.
[0090] It should be noted that the background management module uses the location information of the equipment to be inspected contained in the known inspection tasks and the distribution of the inspection personnel to obtain the target inspection location and the current location of the inspection personnel. Then, the path planning algorithm is applied to calculate the optimal order for the inspection personnel to visit the target inspection locations in all inspection tasks.
[0091] In an optional implementation scheme, the background management module obtains the target inspection positions in the inspection task and uses these target inspection positions as the target points for inspection route planning. The background management module also obtains the current position of the inspection personnel as the starting point for inspection route planning. Next, the background management module applies the path planning algorithm to calculate the order of the inspection paths for the inspection personnel to visit all target points. The inspection path is then optimized so that the total length of the inspection path for the inspection personnel to visit all target inspection positions starting from the current position is the shortest.
[0092] Optionally, the backend management module models the problem as an instance of a traveling salesman problem (TSP), where the current location of the inspection personnel is used as the starting point, and the target inspection location in the inspection task is used as the destination to be visited. The backend management module uses a path planning algorithm to find a path that starts from the starting point and visits all the target points in sequence while ensuring that the total path length (or total travel time) is the shortest.
[0093] Optionally, the background management module uses a greedy algorithm to calculate the distance from the current position to all devices to be inspected, starting from the current position of the inspector, and selects the nearest target inspection position as the next inspection point, and adds the target inspection position to the inspection path. Then, the background management module updates the current position to the target inspection position just visited, and repeats this step to continue to find the nearest next target inspection position and add it to the inspection path until all devices to be inspected are included.
[0094] Optionally, the background management module initializes a matrix to record the distance information between all target inspection locations. Subsequently, the background management module constructs a dynamic planning table to calculate the optimal path distance from the current location of the inspection personnel to each target inspection location, and the dynamic planning table is gradually filled and optimized. When the distances of all target inspection locations are calculated, the background management module backtracks from the dynamic planning table to determine the complete optimal inspection path. This process involves starting from the last target inspection location and tracing back to the starting point (i.e. the current location of the inspection device) to find a path with the shortest total distance, and finally forming a complete inspection route.
[0095] Step S50: sending the inspection task and the inspection route to a mobile terminal.
[0096] It should be noted that when the inspection task is assigned and sent to the inspection personnel, the inspection task received by the mobile terminal at this time only displays the basic information of the inspection task, such as the task name, target inspection location, task completion time, etc. At the same time, the inspection route received by the mobile terminal includes the target inspection location and the expected inspection sequence. At the same time, the mobile terminal can provide navigation services to help the inspection personnel move from one target inspection location to the next target inspection location in an optimized path.
[0097] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated later. The scheduling method of the inspection task proposed in the embodiment of the present application is applied to the mobile terminal, please refer to Figure 2 The method comprises steps S60 to S100:
[0098] Step S60: receiving a signal sent by a Bluetooth beacon, and extracting a beacon identifier of the Bluetooth beacon and a signal strength index of the signal according to the signal.
[0099] It should be noted that the mobile terminal communicates with the Bluetooth beacon through the built-in Bluetooth function, receives and parses the beacon identification and other information in the Bluetooth signal sent by the Bluetooth beacon, thereby realizing the recognition of the Bluetooth beacon and its own positioning.
[0100] Step S70: Calculate the relative distance of the mobile terminal to the Bluetooth beacon according to the signal strength index.
[0101] It should be noted that the signal strength index is the ratio of the Bluetooth signal transmission power to the received power, which reflects the loss of the signal during transmission and is usually measured in decibels relative to one milliwatt (dBm). The signal strength will weaken as the distance increases. The higher the signal strength, the closer the distance between the mobile terminal and the Bluetooth beacon; the weaker the signal strength, the farther the distance between the mobile terminal and the Bluetooth beacon. Therefore, by measuring the signal strength, the distance between the mobile terminal and the Bluetooth beacon can be estimated.
[0102] Optionally, the mobile terminal determines its position relative to the Bluetooth beacon by receiving a Bluetooth signal emitted by the Bluetooth beacon. The mobile terminal receives the Bluetooth signal emitted by the Bluetooth beacon, and the Bluetooth signal includes a beacon identifier of the Bluetooth beacon and a signal strength index of the Bluetooth signal. Using a signal attenuation model, an estimated value of the relative distance between the mobile terminal and the Bluetooth beacon is calculated based on the received signal strength index.
[0103] Step S80: Determine the current location information of the mobile terminal according to the relative distance, and determine the current location information as the current location of the inspection personnel.
[0104] Optionally, after obtaining the estimated value of the relative distance, the mobile terminal uses a positioning algorithm, such as triangulation, fingerprint positioning, or a positioning technology based on signal strength, to determine its current position. In order to ensure the continuity and accuracy of the current positioning, the mobile terminal needs to continuously scan the Bluetooth beacons in the surrounding environment, update the signal strength index in real time, and then continuously adjust the estimated distance. Finally, the mobile terminal uses the known Bluetooth beacon location database and combines the estimated value of the relative distance to achieve real-time update of the current position of the mobile terminal.
[0105] It should be noted that the signal attenuation model is based on the natural attenuation characteristics of wireless signals when propagating in space, and estimates the distance between the mobile terminal and the beacon based on the change in signal strength. The signal attenuation model uses the inverse relationship between signal strength and distance, combined with the impact of environmental factors on signal propagation, to predict the signal strength at different distances.
[0106] Optionally, the mobile terminal can use triangulation to determine its current position. The current position of the mobile terminal is determined by measuring the distance between the mobile terminal and at least three Bluetooth beacons with known positions. Since the Bluetooth signal sent by each Bluetooth beacon contains the corresponding beacon identifier and signal strength index. After the mobile terminal receives the Bluetooth signal, the signal strength index is converted into a distance estimate through a signal attenuation model. The distance estimate is then used for triangulation to form one or more possible location points by calculating the relative distance between the mobile terminal and three or more Bluetooth beacons. The current position of the mobile terminal is the intersection of these points, or the best position estimate is determined by mathematical optimization techniques such as the least squares method. In order to improve the accuracy and continuity of positioning, the mobile terminal needs to continuously monitor changes in signal strength and update the distance estimate in real time.
[0107] Optionally, the mobile terminal can use fingerprint positioning to determine its own position relative to the Bluetooth beacon. Fingerprint positioning relies on a pre-established database of environmental signal characteristics, which records the Bluetooth signal strength patterns collected at different locations. These Bluetooth signal patterns act as "fingerprints" that reflect the signal characteristics of a specific location. When implementing fingerprint positioning, the mobile terminal first receives a signal from a Bluetooth beacon and records the current signal strength indicator. The mobile terminal then compares the real-time measured signal strength with the signal strength pattern stored in the database to find the best matching pattern. Through the matching process, the mobile terminal is able to identify the location that is most similar to the current signal pattern, thereby determining its own position.
[0108] In order to improve the accuracy of fingerprint positioning, the mobile terminal needs to continuously collect and update the signal feature database to adapt to environmental changes and changes in signal conditions.
[0109] Step S90: Acquire the target inspection position corresponding to the inspection task.
[0110] It should be noted that the mobile terminal parses the received inspection tasks and extracts the target inspection position of each inspection task. The target inspection position is the basis for subsequent inspection task navigation and execution. The mobile terminal navigates through the expected inspection sequence contained in the inspection route and determines the target inspection position corresponding to the current inspection task.
[0111] After the mobile terminal receives the inspection task, the inspector can view the basic information of the inspection task through the user interface of the mobile terminal, and use the positioning function of the mobile terminal to navigate to the nearest target inspection location of the inspection task according to the sequence of the target inspection locations of the inspection route. During the movement process, the mobile terminal will continue to provide real-time navigation updates to help the inspector accurately reach the target location of the inspection task.
[0112] Step S100: When the target inspection location is within the coverage of the Bluetooth beacon, the beacon identifier of the Bluetooth beacon is detected, and the inspection task is triggered.
[0113] In an optional implementation scheme, when the mobile terminal enters the coverage range of the Bluetooth beacon at the target inspection location, the Bluetooth scanning function is automatically started to scan and receive the signal emitted by the Bluetooth beacon in the surrounding environment. The beacon identifier of the Bluetooth beacon in the signal is extracted and the beacon identifier is matched with the inspection task. If the beacon identifier of the Bluetooth beacon in the surrounding environment successfully matches the beacon identifier included in the inspection task, the inspection task associated with the beacon identifier is automatically triggered, and the corresponding triggered inspection task content is displayed on the mobile terminal.
[0114] It should be noted that the inspection task contains the device information of the device to be inspected, and the Bluetooth beacon identifier bound to the device identifier is obtained through the device identifier of the device to be inspected. Therefore, when the beacon identifier in the surrounding environment is obtained, it can be matched with the Bluetooth beacon identifier associated with the inspection task.
[0115] Optionally, when the inspection personnel successfully triggers the inspection task corresponding to the target inspection location with a handheld mobile terminal, the inspection task will enter the task execution and data recording stage. At this time, the inspection task triggered by the mobile terminal is detailed, including task name, target inspection location, task completion time, specific inspection content, and inspection execution standards. First, the inspection personnel need to arrive at the target location of the inspection task, and after the inspection task is triggered non-sensingly by sensing the Bluetooth beacon, they need to sign in and punch in on the mobile terminal. Signing in and punching in is used to confirm that the inspection personnel have arrived at the designated location. Through the action of signing in and punching in, the mobile terminal will automatically record the punching in time and use the punching in time as the start time of the inspection task.
[0116] It should be noted that the inspection task can only be performed after the sign-in and clock-out operation is completed.
[0117] Optionally, the inspectors start to execute the detection procedure according to the inspection content and inspection execution standards displayed on the mobile terminal. The detection procedure includes steps such as inspection of the inspection equipment, status monitoring, and data collection. In the process of executing the inspection task, the inspectors collect the required inspection data in real time through the mobile terminal, complete and record the inspection content according to the preset inspection template, or obtain the inspection data by taking photos or recording videos. After completing the detection procedure, the mobile terminal will prompt the inspectors to upload the inspection report. When uploading the collected inspection data and the inspection report recorded by the inspectors, the mobile terminal will also record the time when the inspection report was uploaded as the end time of the inspection task.
[0118] When the inspector submits the execution result of an inspection task, the mobile terminal will guide the inspector to the next target inspection location. When the inspector arrives at the next target inspection location, the mobile terminal will receive the Bluetooth beacon again and trigger a new inspection task.
[0119] Based on the above embodiments, in the third embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be repeated later. For the scheduling method of the inspection task proposed in the embodiment of the present application, please refer to Figure 3 , step S40 further includes:
[0120] Step S310: receiving the execution status information of the inspection task fed back by the mobile terminal, wherein the execution status information includes the completion progress of the inspection task and the inspection report of the inspection task;
[0121] In an optional implementation scheme, the check-in information of the inspection task is received, and the check-in time is recorded as the start time of the inspection task. The inspection report uploaded when the inspection task is completed is received, and the upload time of the inspection report is recorded as the end time of the inspection task. Based on the start time and end time of the inspection task, the execution time of the inspection personnel to complete the inspection task is calculated.
[0122] Step S320: updating the completion status of the inspection task in real time according to the execution status information of the inspection task.
[0123] Optionally, when the inspection result is uploaded, the task status of the corresponding inspection task is updated synchronously, and the inspection task will be marked as "completed". At the same time, the task completion time of the inspection task is calculated and displayed based on the start time and end time of the inspection task.
[0124] Optionally, the background management module not only records the completion of the inspection task, but also collects inspection result feedback and inspection duration data, and generates inspection tracks accordingly. By analyzing multiple inspection tracks and inspection durations, the background management module can screen the inspection tasks according to the expected completion time of the tasks and the time when the inspection personnel completed the inspection tasks in the past, and match the optimal inspection personnel configuration. At the same time, the work of the inspection personnel can also be evaluated according to the completion time of the inspection tasks.
[0125] Based on the above embodiments, in the fourth embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be described in detail later. Figure 4 , Figure 4 Provides the interaction process between the background management module and the inspection equipment and mobile terminal, specifically:
[0126] The backend management module provides comprehensive support for inspection work by managing equipment information, inspection personnel, inspection routes, and inspection tasks. Among them, the management of equipment information is used to store and manage the operating status of various inspection equipment; the management of inspection personnel is used to manage and dispatch inspection personnel; the management of inspection routes is used to plan inspection paths to ensure that inspection personnel can effectively cover all inspection areas; the management of inspection tasks is used to allocate and track inspection tasks to ensure that each task is executed correctly.
[0127] First, the background management module establishes a connection with the mobile terminal and the Bluetooth beacon. The background management module can detect the operating status of the inspection equipment and determine whether it is necessary to initiate an inspection task based on the operating status. By binding the Bluetooth beacon to the inspection equipment, the location information of the inspection equipment contained in the inspection task can be obtained through the location information of the Bluetooth beacon bound to the inspection equipment. The Bluetooth signal emitted by the Bluetooth beacon has a specific signal coverage range. When the mobile terminal receives the inspection task, the inspection personnel go to the inspection location with the mobile terminal in hand. Once the mobile terminal enters the signal coverage range of the corresponding Bluetooth beacon, the mobile terminal will collect the Bluetooth signal emitted by the Bluetooth beacon at the information push frequency, and match the Bluetooth beacon identifier contained in the Bluetooth signal with the beacon identifier contained in the inspection task. If the match is successful, the mobile terminal automatically triggers the inspection task.
[0128] After that, the inspection personnel will start to perform the inspection task and use the mobile terminal to collect inspection point data, that is, collect the inspection task of the target inspection location specified in the inspection task. When the inspection personnel complete the inspection task and feedback the inspection results on the mobile terminal, the mobile terminal will collect the inspection task duration and feedback the inspection task duration to the background management module.
[0129] Please refer to Figure 5 , Figure 5 The schematic diagram of the signaling interaction process between the background management module and the equipment to be inspected, the mobile terminal and the Bluetooth beacon is shown, specifically:
[0130] The background management module sends a request to the device to be inspected to obtain device information. After receiving the request, the device to be inspected sends data including device location information and device operating status back to the background management module. The background management module then sends instructions to the Bluetooth beacon to bind the device ID of the device to be inspected with the beacon ID of the Bluetooth beacon, and records the specific location of the Bluetooth beacon in the inspection area to establish a location database.
[0131] After receiving the signal from the Bluetooth beacon, the mobile terminal extracts the beacon identifier and signal strength index, calculates the relative distance to the Bluetooth beacon, and determines its own current location information, and then sends the current location information to the background management module. Since the inspection personnel conduct inspections with a handheld mobile terminal, the current location information of the mobile terminal can be used as the current location of the inspection personnel. The background management module generates inspection tasks based on the device location information and the location information of the mobile terminal (i.e., the current location of the inspection personnel), and plans the inspection route. Finally, the inspection tasks and routes are sent to the mobile terminal.
[0132] After receiving the inspection task and inspection route, the mobile terminal executes the inspection task and feeds back the execution status information of the inspection task, including completion progress and inspection report, to the background management module during or after the task execution. The background management module updates the completion status of the inspection task in real time based on the feedback execution status information.
[0133] Based on the above embodiments, in the fifth embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above description, and will not be described in detail later. Figure 6 , Figure 6 A brief flowchart of a scheduling method for inspection tasks is provided, specifically:
[0134] Install the Bluetooth beacon at the target inspection location in the inspection area, and bind the Bluetooth beacon to the inspection equipment in the background management module. Through the background management module, the inspection equipment, inspection personnel and inspection tasks can be managed and allocated.
[0135] The inspectors receive specific inspection routes and inspection tasks through mobile terminals. When the inspectors approach the target inspection location where the Bluetooth beacon is installed, the mobile terminal receives and analyzes the Bluetooth signal. When the beacon identifier of the Bluetooth signal matches the inspection task, the inspection task is automatically triggered. After the inspectors arrive at the target inspection location, they need to clock in and perform the inspection task according to the preset standards; after completing the inspection task, the inspectors submit the inspection results through the mobile terminal.
[0136] The background management module not only records the completion of inspection tasks, but also collects inspection result feedback and inspection duration data, and generates inspection tracks accordingly. By analyzing multiple inspection tracks and inspection durations, the background management module can match the optimal inspection route and inspection personnel configuration. Once the inspection route is optimized, the background management module will continue to manage and allocate inspection equipment, inspection personnel, and inspection tasks.
[0137] After the inspector completes the clock-in and submits the execution result of the inspection task of a target inspection location, the mobile terminal will guide the inspector to continue to the next target inspection location. When the inspector arrives at the next target inspection location, the mobile terminal will receive the Bluetooth beacon again and trigger a new inspection task.
[0138] The present application provides a scheduling device for inspection tasks, the scheduling device for inspection tasks comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the scheduling method for inspection tasks in the above-mentioned embodiment one.
[0139] Reference below Figure 7 , which shows a schematic diagram of the structure of a scheduling device suitable for implementing the inspection task of the embodiment of the present application. The scheduling device of the inspection task in the embodiment of the present application may include various hardware and software components for implementing the scheduling method of the inspection task. Figure 7 The scheduling device for the inspection task shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0140] like Figure 7 As shown, the scheduling device for inspection tasks may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the scheduling device for inspection tasks are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the scheduling device of the inspection task to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows the scheduling device of the inspection task with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.
[0141] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0142] The inspection task scheduling device provided by the present application adopts the inspection task scheduling method in the above embodiment, which can solve the technical problem that the inspection task allocation in the inspection management system lacks dynamic optimization capability. Compared with the prior art, the inspection task scheduling device provided by the present application has the same beneficial effects as the inspection task scheduling method provided by the above embodiment, and other technical features in the inspection task scheduling device are the same as those disclosed in the previous embodiment method, which will not be described in detail here.
[0143] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0144] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0145] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the scheduling method for inspection tasks in the above-mentioned embodiment.
[0146] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0147] The computer-readable storage medium may be included in the scheduling device for the inspection task; or may exist independently without being assembled into the scheduling device for the inspection task.
[0148] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the scheduling device of the inspection task, the scheduling device of the inspection task: obtains the equipment information of the equipment to be inspected, and the equipment information includes the equipment location information and the equipment operation status; obtains the personnel information of the inspection personnel, and the personnel information includes the scheduling information and the personnel location information; generates the inspection task according to the equipment location information and the personnel location information, and arranges at least one inspection personnel for each inspection task; plans the inspection route of the inspection task according to the inspection task; and sends the inspection task and the inspection route to the mobile terminal.
[0149] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0150] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0151] The modules involved in the embodiments described in the present application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0152] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned inspection task scheduling method, and can solve the technical problem that the inspection task allocation in the inspection management system lacks dynamic optimization capabilities. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the inspection task scheduling method provided by the above-mentioned embodiment, and will not be repeated here.
[0153] An embodiment of the present application provides a computer program product, including a computer program, which implements the steps of the above-mentioned inspection task scheduling method when executed by a processor.
[0154] The computer program product provided by the present application can solve the technical problem that the inspection task allocation in the inspection management system lacks dynamic optimization capability. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present application are the same as the beneficial effects of the inspection task scheduling method provided by the above embodiment, which will not be repeated here.
[0155] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
[0156] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0157] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.
[0158] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for scheduling inspection tasks, characterized in that: Applied to the background management module, the method includes: Acquire device information of the device to be inspected, wherein the device information includes device location information and device operation status, wherein the device operation status is monitored in real time by the monitoring system or sensor of the device to be inspected itself; Obtaining personnel information of patrol personnel, the personnel information including shift information and personnel location information; Receiving current location information fed back by the mobile terminal, and using the current location information as the personnel location information of the inspection personnel; Determine the current position of the inspection personnel according to the personnel position information, and calculate the distance between the current position of the inspection personnel and the equipment to be inspected; Based on the equipment operation status, the equipment location information, and the personnel location information, the equipment to be inspected is associated with the inspection personnel closest to the equipment to be inspected, and the inspection task is generated. At least one inspection personnel is assigned to each inspection task. When the inspection task is generated, the nearest inspection personnel is assigned to the inspection task based on the priority and urgency of the inspection task; According to the inspection task, planning the inspection route of the inspection task; Sending the inspection task and the inspection route to the mobile terminal; The step of determining the current position of the inspection personnel according to the personnel position information and calculating the distance between the current position of the inspection personnel and the equipment to be inspected comprises: Constructing a grid-based map model to represent the inspection area, and mapping the current position of the inspection personnel and the equipment to be inspected into the map model; Calculate the grid line distance between the grid unit where the current position of the inspection personnel is located and the grid unit where the device to be inspected is located, and obtain the distance between the current position of the inspection personnel and the device to be inspected; The step of determining the current position of the inspection personnel according to the personnel position information and calculating the distance between the current position of the inspection personnel and the equipment to be inspected further includes: Utilize the key-value pairs of the priority queue or hash table to calculate the distance between the current position of the inspection personnel and the device to be inspected; When generating the inspection task, the step of arranging the nearest inspection personnel for the inspection task based on the priority and urgency of the inspection task also includes: Setting evaluation rules according to the historical operation data of the equipment to be inspected and the operation status of the equipment, as well as the maintenance record and fault history of the equipment to be inspected; Convert the evaluation rules into quantitative indicators and generate corresponding weighted scores for each inspection task to determine the priority and urgency of the inspection task; The step of associating the device to be inspected with the inspector closest to the device to be inspected to generate the inspection task also includes: Setting an optimization objective function and constructing constraints of the optimization objective function; The constraints include: Constraint 1: Each inspection task Must be assigned to and only assigned to one of the patrol officers , the mathematical formula is: ;in, Indicates the inspection task, Indicates the inspection personnel; Constraint 2: The inspection personnel The total working time of the inspection personnel cannot exceed Maximum working time , the mathematical formula is: ;in, Indicates the inspection task Required working time, The inspector Maximum working time; Constraint 3: The inspection task Completion time Less than or equal to the inspection task The inspection personnel assigned The total working time is expressed mathematically as: ;in, Indicates the inspection task completion time; The step of planning the inspection route of the inspection task according to the inspection task includes: Obtaining the target inspection position in the inspection task and the current position of the inspection personnel; Constructing a dynamic planning table to calculate the path distance from the current position of the inspection personnel to each of the target inspection positions; Based on all the path distances, the inspection route is determined by backtracking from the dynamic planning table, wherein the backtracking starts from the target inspection position with the longest path distance and tracks backward to the current position of the inspection personnel.
2. The method according to claim 1, characterized in that Before the step of obtaining the device information of the device to be inspected, the method includes: Binding the device identifier of the device to be inspected with the beacon identifier of the Bluetooth beacon to establish an association between the device to be inspected and the Bluetooth beacon; The specific locations of the Bluetooth beacons deployed in the inspection area are recorded, and a location database of the Bluetooth beacons is established.
3. The method according to claim 1, characterized in that The step of planning the inspection route of the inspection task according to the inspection task includes: Obtaining the target inspection position in the inspection task and the current position of the inspection personnel; Applying a path planning algorithm to calculate the inspection path of the target inspection location in all inspection tasks of the inspection personnel; The inspection path is optimized so that the total length of the inspection path taken by the inspection personnel starting from the current position and visiting all the target inspection positions is the shortest.
4. The method according to claim 1, characterized in that After the step of sending the inspection task and the inspection route to the mobile terminal, the method further comprises: Receive the execution status information of the inspection task fed back by the mobile terminal, wherein the execution status information includes the completion progress of the inspection task and the inspection report of the inspection task; According to the execution status information of the inspection task, the completion status of the inspection task is updated in real time.
5. The method according to claim 4, characterized in that The step of receiving the execution status information of the inspection task fed back by the mobile terminal comprises: Receive the check-in information of the inspection task, and record the check-in time as the start time of executing the inspection task; Receive the inspection report uploaded when the inspection task is completed, and record the upload time of the inspection report as the end time of executing the inspection task; The execution time for the inspection personnel to complete the inspection task is calculated based on the start time and end time of the inspection task.
6. A method for scheduling inspection tasks, characterized in that: A scheduling method for inspection tasks according to any one of claims 1 to 5 is applied to a mobile terminal, the method comprising: Receive a signal sent by a Bluetooth beacon, and extract a beacon identifier of the Bluetooth beacon and a signal strength indicator of the signal according to the signal; Calculating the relative distance of the mobile terminal to the Bluetooth beacon according to the signal strength index; Determine the current location information of the mobile terminal according to the relative distance, and determine the current location information as the current location of the inspection personnel; Obtaining the target inspection position corresponding to the inspection task; When the object is within the coverage range of the Bluetooth beacon at the target inspection location, the beacon identifier of the Bluetooth beacon is detected and the inspection task is triggered.
7. The method according to claim 6, characterized in that The step of detecting the beacon identifier of the Bluetooth beacon and triggering the inspection task when the target inspection location is within the coverage range of the Bluetooth beacon includes: According to the signal sent by the Bluetooth beacon, extracting the beacon identifier of the Bluetooth beacon in the signal; The beacon identifier is matched with the inspection task, and if the match is successful, the inspection task associated with the beacon identifier is triggered.
8. A dispatching device for inspection tasks, characterized in that: The device comprises: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for scheduling inspection tasks as claimed in any one of claims 1 to 7.
9. A computer storage medium, characterized in that: The computer storage medium is a computer-readable storage medium, and a computer program is stored on the computer storage medium. When the computer program is executed by a processor, the steps of the inspection task scheduling method according to any one of claims 1 to 7 are implemented.