Positioning service anomaly detection method, device, storage medium and electronic device
By acquiring and analyzing the positioning data and environmental data of the delivery capacity terminal, the problem of the inability to timely detect LBS positioning service anomalies on the delivery mobile terminal was solved, and the active detection and timely repair of positioning service anomalies were achieved, ensuring the normal operation of the instant delivery business.
Patent Information
- Application Number
- CN202011359214.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-27
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2040-11-27
AI Technical Summary
In the existing technology, LBS positioning service anomalies of the delivery mobile terminal cannot be detected in time, resulting in interference or blockage of the instant delivery service.
By obtaining the positioning data and environmental data of the delivery terminal, including sensor data, GPS satellite data, mobile base station data and Wi-Fi device data, environmental feature information is extracted, and based on this data, it is determined whether the positioning service is abnormal to achieve active detection.
It enables timely discovery and repair of positioning service anomalies, ensuring the normal execution of instant delivery services.
Smart Images

Figure CN114624750B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a positioning service anomaly detection method, device, storage medium, and electronic device. Background Art
[0002] Instant delivery is a fulfillment service based on LBS (Location Based Services). Mobile LBS services provide real-time access to delivery personnel's location information, providing essential data support for task scheduling and delivery activities. However, in practice, LBS positioning services are subject to anomalies such as missing and inaccurate positioning data, due to factors such as the delivery mobile SDK (Software Development Kit) and system hardware. This can lead to the loss of essential data for instant delivery services, disrupting or even blocking the business process.
[0003] Related technologies: When an LBS positioning service anomaly occurs on the delivery mobile terminal, the delivery person is required to actively discover the anomaly and manually report the anomaly. The LBS positioning service anomaly on the delivery mobile terminal cannot be detected in time, thus affecting the normal execution of the instant delivery business. Summary of the Invention
[0004] The purpose of the present disclosure is to provide a positioning service anomaly detection method, device, storage medium and electronic device to realize active detection of positioning service anomalies and timely discover positioning service anomalies.
[0005] To achieve the above objectives, in a first aspect, the present disclosure provides a method for detecting anomalies in a positioning service, the method comprising:
[0006] Acquiring positioning service data, the positioning service data including positioning data and environmental data of the delivery transport terminal, the environmental data including at least one of sensor data in the delivery transport terminal for determining the motion state of the delivery transport terminal, GPS satellite data around the delivery transport terminal, mobile base station data around the delivery transport terminal, and Wi-Fi device data around the delivery transport terminal;
[0007] Extracting environmental feature information corresponding to the delivery transport terminal from the environmental data;
[0008] Determine whether a positioning service anomaly occurs in the delivery transport terminal based on the positioning data and the environmental characteristic information.
[0009] Optionally, determining whether a positioning service abnormality occurs in the delivery transport terminal according to the positioning data and the environmental characteristic information includes:
[0010] Performing positioning service anomaly detection on a single delivery transport terminal or multiple delivery transport terminals in at least one of the following ways: determining whether a positioning service anomaly occurs on the single delivery transport terminal based on whether the environmental feature information of the single delivery transport terminal at multiple moments is consistent with the content information in the positioning data;
[0011] Determining whether a positioning service anomaly occurs for the single delivery transport terminal based on whether the motion state represented by the environmental feature information of the single delivery transport terminal at multiple moments is consistent with the position represented by the positioning data;
[0012] Determining, based on the positioning data of the single delivery transport terminal at multiple times, that the single delivery transport terminal exceeds a preset delivery range, so as to determine whether a positioning service anomaly occurs to the single delivery transport terminal;
[0013] Determining, based on the positioning data of the multiple delivery transport terminals at multiple times, whether the multiple delivery transport terminals exceed the corresponding preset delivery ranges, so as to determine whether positioning service anomalies occur to the multiple delivery transport terminals;
[0014] Based on whether the positioning data and the environmental feature information of the multiple delivery transport terminals at the same time are consistent, it is determined whether positioning service anomalies occur in the multiple delivery transport terminals.
[0015] Optionally, determining whether a positioning service anomaly occurs in the single delivery transport terminal based on whether the environmental feature information of the single delivery transport terminal at multiple moments is consistent with content information in the positioning data includes:
[0016] If the environmental characteristic information corresponding to the multiple moments of the single delivery transport terminal includes GPS satellite data around the single delivery transport terminal, and the positioning data corresponding to the multiple moments of the single delivery transport terminal does not include GPS positioning data, it is determined that a positioning service abnormality has occurred in the single delivery transport terminal.
[0017] Optionally, determining whether a positioning service anomaly occurs in the single delivery transport terminal based on whether the motion state represented by the environmental feature information of the single delivery transport terminal at multiple moments is consistent with the position represented by the positioning data includes:
[0018] If the sensor data in the environmental characteristic information corresponding to the single delivery capacity terminal at the multiple time moments indicates that the single delivery capacity terminal is in motion, and the positioning data corresponding to the single delivery capacity terminal at the multiple time moments are consistent, it is determined that a positioning service abnormality has occurred in the single delivery capacity terminal.
[0019] Optionally, determining, based on the positioning data of the single delivery capacity terminal at multiple moments, whether the single delivery capacity terminal exceeds a preset delivery range, so as to determine whether a positioning service anomaly occurs to the single delivery capacity terminal, includes:
[0020] Converting the positioning data corresponding to the single delivery transport terminal at the multiple time instants into a geo-hash block;
[0021] Counting the number of abnormal geo-hash blocks in the geo-hash blocks, where the locations represented by the abnormal geo-hash blocks exceed the preset delivery range of the delivery capacity terminal;
[0022] If the number of the abnormal geographic hash blocks reaches a first threshold, it is determined that a positioning service abnormality occurs in the delivery transport terminal.
[0023] Optionally, determining whether the multiple delivery capacity terminals exceed corresponding preset delivery ranges based on the positioning data of the multiple delivery capacity terminals at multiple times, so as to determine whether positioning service anomalies occur to the multiple delivery capacity terminals, includes:
[0024] Converting the positioning data corresponding to the multiple delivery transport terminals at the multiple time instants into geo-hash blocks;
[0025] Counting the number of abnormal geo-hash blocks in the geo-hash blocks, where the locations represented by the abnormal geo-hash blocks exceed the preset delivery range of the corresponding delivery capacity terminal;
[0026] If the number of the abnormal geo-hash blocks reaches a second threshold, and the abnormal geo-hash blocks are the same geo-hash block, it is determined that a positioning service abnormality occurs in the delivery capacity terminal corresponding to the abnormal geo-hash block.
[0027] Optionally, the determining whether positioning service anomalies occur in the multiple delivery transport terminals based on whether the positioning data and the environmental feature information of the multiple delivery transport terminals at the same time are consistent includes:
[0028] If the environmental feature information corresponding to the multiple delivery transport terminals at the same time is inconsistent, and the positioning data corresponding to the multiple delivery transport terminals at the same time is consistent, it is determined that positioning service anomalies occur in the multiple delivery transport terminals.
[0029] Optionally, after determining that a positioning service abnormality occurs in the delivery transport terminal, the method further includes:
[0030] Send a restart prompt message to the delivery capacity terminal to prompt the delivery capacity terminal to restart the positioning service or prompt the delivery capacity terminal to restart.
[0031] Optionally, after determining that a positioning service abnormality occurs in the delivery transport terminal, the method further includes:
[0032] A control message is sent to the delivery transport terminal to control the delivery transport terminal to start the GPS signal filtering mechanism, and the GPS signal filtering mechanism is used to control the delivery transport terminal to provide positioning services through the collected environmental data within a preset range of its location.
[0033] Optionally, obtaining positioning service data includes:
[0034] In response to receiving the service anomaly detection message sent by the distribution capacity terminal, the positioning service data of the distribution capacity terminal before sending the service anomaly detection message is obtained.
[0035] In a second aspect, the present disclosure provides a method for detecting anomalies in a positioning service, the method comprising:
[0036] Sending positioning service data to a server so that the server determines whether a positioning service anomaly occurs in the delivery transport terminal based on the positioning service data, the positioning service data including positioning data and environmental data of the delivery transport terminal, the environmental data including at least one of sensor data in the delivery transport terminal for determining the motion state of the delivery transport terminal, GPS satellite data around the delivery transport terminal, mobile base station data around the delivery transport terminal, and Wi-Fi device data around the delivery transport terminal;
[0037] Receive positioning service abnormality prompt information sent by the server, where the positioning service prompt information is sent to the delivery capacity terminal when the server determines that a positioning service abnormality occurs to the delivery capacity terminal.
[0038] In a third aspect, the present disclosure further provides a positioning service anomaly detection device, the device comprising:
[0039] an acquisition module, configured to acquire positioning service data, the positioning service data including positioning data and environmental data of the delivery transport terminal, the environmental data including at least one of sensor data in the delivery transport terminal for determining the motion state of the delivery transport terminal, GPS satellite data around the delivery transport terminal, mobile base station data around the delivery transport terminal, and Wi-Fi device data around the delivery transport terminal;
[0040] An extraction module, configured to extract environmental feature information corresponding to the delivery transport terminal from the environmental data;
[0041] A determination module is used to determine whether a positioning service anomaly occurs in the distribution transport terminal based on the positioning data and the environmental characteristic information.
[0042] In a fourth aspect, the present disclosure further provides a positioning service anomaly detection device, the device comprising:
[0043] a sending module, configured to send positioning service data to a server, so that the server determines whether a positioning service anomaly occurs in the delivery transport terminal based on the positioning service data, the positioning service data including positioning data and environmental data of the delivery transport terminal, the environmental data including at least one of sensor data in the delivery transport terminal for determining a motion state of the delivery transport terminal, GPS satellite data around the delivery transport terminal, mobile base station data around the delivery transport terminal, and Wi-Fi device data around the delivery transport terminal;
[0044] The receiving module is used to receive the positioning service abnormality prompt information sent by the server, and the positioning service prompt information is sent to the distribution capacity terminal when the server determines that the distribution capacity terminal has a positioning service abnormality.
[0045] In a fifth aspect, the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any one of the first aspect or the second aspect.
[0046] In a sixth aspect, the present disclosure further provides an electronic device, comprising:
[0047] a memory having a computer program stored thereon;
[0048] A processor is used to execute the computer program in the memory to implement the steps of the method in any one of the first aspect or the second aspect.
[0049] Through the above technical solution, it is possible to determine whether a positioning service anomaly occurs in the delivery capacity terminal based on the positioning data of the delivery capacity terminal and the corresponding environmental feature information. There is no need for the delivery personnel to actively report the positioning service anomaly, and active detection of positioning service anomalies can be achieved, so that the positioning service anomaly of the delivery capacity terminal can be discovered in time, and then the positioning service anomaly of the delivery capacity terminal can be repaired in time to ensure the normal execution of the instant delivery business.
[0050] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following detailed description, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0052] Figure 1 This is a flowchart of a method for detecting anomalies in a positioning service according to an exemplary embodiment of the present disclosure;
[0053] Figure 2 1 is a schematic diagram of an abnormal geo-hash block in a positioning service anomaly detection method according to an exemplary embodiment of the present disclosure;
[0054] Figure 3 FIG1 is a flowchart of a method for detecting anomalies in a positioning service according to another exemplary embodiment of the present disclosure;
[0055] Figure 4 FIG1 is a flowchart of a method for detecting anomalies in a positioning service according to another exemplary embodiment of the present disclosure;
[0056] Figure 5 1 is a schematic diagram of an interaction process between a server and a delivery terminal in a positioning service anomaly detection method according to an exemplary embodiment of the present disclosure;
[0057] Figure 6 is a block diagram of a positioning service anomaly detection device according to an exemplary embodiment of the present disclosure;
[0058] Figure 7 is a block diagram of a positioning service anomaly detection device according to another exemplary embodiment of the present disclosure;
[0059] Figure 8 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure;
[0060] Figure 9 is a block diagram of an electronic device according to another exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0061] The following describes the specific embodiments of the present disclosure in detail with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present disclosure and are not intended to limit the present disclosure.
[0062] As mentioned in the background technology, when an LBS positioning service anomaly occurs on the delivery mobile terminal, the relevant technology requires the delivery person to actively discover the anomaly and manually report the anomaly. The LBS positioning service anomaly of the delivery mobile terminal cannot be detected in time, thereby affecting the normal execution of the instant delivery business.
[0063] In view of this, the present disclosure provides a positioning service anomaly detection method, device, storage medium and electronic device to realize active detection of positioning service anomalies and timely discover positioning service anomalies of distribution capacity terminals.
[0064] First, the possible implementation scenarios of the embodiments of the present disclosure are described. The implementation scenarios may include a delivery capacity terminal and a server. The delivery capacity terminal may be any mobile terminal held by a delivery person, such as a mobile phone, PAD, etc., or the delivery capacity terminal may be a drone used for delivery, etc., which is not limited by the embodiments of the present disclosure. During specific implementation, the delivery capacity terminal may send its own positioning data and surrounding environmental data to the server. After receiving the positioning data and environmental data sent by the delivery capacity terminal, the server may perform feature extraction on the environmental data to obtain corresponding environmental feature information, and then determine whether a positioning service abnormality has occurred in the delivery capacity terminal based on the positioning data and the environmental feature information.
[0065] Figure 1 This is a flow chart of a method for detecting anomalies in a positioning service according to an exemplary embodiment of the present disclosure. The method for detecting anomalies in a positioning service can be applied to the server in the above implementation scenario. Figure 1 , the positioning service anomaly detection method includes:
[0066] Step 101: Acquire positioning service data. The positioning service data includes the positioning data of the delivery terminal and environmental data. The environmental data includes at least one of sensor data in the delivery terminal used to determine the movement state of the delivery terminal, GPS satellite data around the delivery terminal, mobile base station data around the delivery terminal, and Wi-Fi device data around the delivery terminal.
[0067] Step 102: extract environmental feature information corresponding to the distribution transport terminal from the environmental data.
[0068] Step 103: Determine whether a positioning service anomaly occurs at the delivery terminal based on the positioning data and environmental feature information.
[0069] Through the above method, it is possible to determine whether a positioning service anomaly occurs in the delivery capacity terminal based on the positioning data of the delivery capacity terminal and the corresponding environmental feature information. There is no need for the delivery personnel to actively report the positioning service anomaly, and active detection of positioning service anomalies can be achieved, so that the positioning service anomaly of the delivery capacity terminal can be discovered in time, and then the positioning service anomaly of the delivery capacity terminal can be repaired in time to ensure the normal execution of the instant delivery business.
[0070] In order to enable those skilled in the art to better understand the positioning service anomaly detection method in the embodiment of the present disclosure, the above steps are described in detail with examples below.
[0071] First, it should be understood that the delivery terminal in the disclosed embodiments has a built-in positioning SDK corresponding to the positioning service. The instant delivery service performed is a fulfillment service based on LBS. Therefore, the acquired positioning data may include GPS (Global Positioning System) positioning data and network positioning data. In other words, the positioning service can obtain the GPS positioning data and network positioning data of the delivery terminal in real time.
[0072] In the disclosed embodiments, in order to proactively detect positioning service anomalies, the positioning data of the delivery transport terminal can be acquired in real time. While acquiring the positioning data of the delivery transport terminal in real time, environmental data surrounding the delivery transport terminal can also be automatically and synchronously collected. This environmental data can be acquired through various sensors and chips built into the delivery transport terminal, including at least one of sensor data in the delivery transport terminal used to determine the motion state of the delivery transport terminal, GPS satellite data surrounding the delivery transport terminal, mobile base station data surrounding the delivery transport terminal, and Wi-Fi device data surrounding the delivery transport terminal.
[0073] For example, a delivery terminal can have built-in sensors such as a gyroscope and accelerometer to determine its motion state, which can be used to indicate whether the terminal is in motion. The terminal can also have a built-in GPS chip to detect GPS satellite data surrounding the terminal. The terminal can also have a built-in baseband chip to detect mobile base station data surrounding the terminal. The terminal can also have a built-in Wi-Fi chip to detect Wi-Fi device data surrounding the terminal.
[0074] It should be understood that in order to obtain more accurate positioning service anomaly detection results, it is preferred that the acquired environmental data also include sensor data in the delivery transport terminal for determining the motion state of the delivery transport terminal, GPS satellite data around the delivery transport terminal, mobile base station data around the delivery transport terminal, and Wi-Fi device data around the delivery transport terminal.
[0075] After obtaining the environmental data, in order to facilitate subsequent data analysis and processing, the environmental data can be feature extracted to obtain corresponding environmental feature information. For example, for sensor data, the sensor data at multiple times can be compared and analyzed to obtain feature information used to characterize whether the distribution terminal is in motion or stationary. For GPS satellite data, the satellite name, satellite azimuth and other data included in the GPS satellite data can be analyzed and processed to obtain feature information such as the number of satellites that can be detected around the distribution terminal and the satellite signal strength. Similarly, for mobile base station data, the mobile base station name, location and other data included in the mobile base station data can be analyzed and processed to obtain feature information such as the number of mobile base stations that can be detected around the distribution terminal and the mobile base station strength. For Wi-Fi device data, the Wi-Fi list information corresponding to the Wi-Fi device data can be vectorized to obtain Wi-Fi feature information. It should be understood that the feature extraction process for environmental data is similar to that in the relevant technology and will not be repeated here.
[0076] After extracting environmental characteristic information corresponding to the delivery terminal from the environmental data, in order to subsequently perform synchronous comparison and analysis of the environmental characteristic information with the positioning data, the extracted environmental characteristic information can also be associated with the positioning data one-to-one along the time dimension. That is, in the embodiments of the present disclosure, when determining whether a positioning service anomaly has occurred at the delivery terminal based on the positioning data and environmental characteristic information, the positioning data and environmental characteristic information can be associated one-to-one along the time dimension.
[0077] It should be understood that the positioning service anomaly detection method provided by the embodiment of the present disclosure can be applied to detecting positioning service anomalies of a single delivery capacity terminal, and can also be applied to detecting positioning service anomalies of multiple delivery capacity terminals. For a single delivery capacity terminal, the positioning data of the delivery capacity terminal at multiple times and / or the environmental feature information at multiple times can be compared to determine whether a positioning service anomaly occurs in the delivery capacity terminal. For multiple delivery capacity terminals, the positioning data and environmental feature information of the multiple delivery capacity terminals at the same time can be compared, or the positioning data within a preset time period of the multiple delivery capacity terminals can be compared to determine whether a positioning service anomaly occurs in multiple delivery capacity terminals.
[0078] Among possible ways, positioning service anomaly detection may be performed on a single delivery capacity terminal or multiple delivery capacity terminals in at least one of the following ways: determining whether a positioning service anomaly occurs in the single delivery capacity terminal based on whether the environmental feature information of the single delivery capacity terminal at multiple moments and the content information in the positioning data are consistent;
[0079] Determine whether a positioning service anomaly occurs for a single delivery transport terminal based on whether the motion state represented by the environmental characteristic information of the single delivery transport terminal at multiple times is consistent with the position represented by the positioning data;
[0080] Determining, based on the positioning data of the single delivery transport terminal at multiple times, that the single delivery transport terminal exceeds a preset delivery range, so as to determine whether a positioning service anomaly occurs to the single delivery transport terminal;
[0081] Determining, based on the positioning data of the multiple delivery transport terminals at multiple times, whether the multiple delivery transport terminals exceed the corresponding preset delivery ranges, so as to determine whether positioning service anomalies occur to the multiple delivery transport terminals;
[0082] Based on whether the positioning data and environmental feature information of multiple distribution capacity terminals at the same time are consistent, it is determined whether the positioning services of the multiple distribution capacity terminals are abnormal.
[0083] The following is a detailed description of the various possible positioning service anomaly detection methods.
[0084] In one possible approach, determining whether a positioning service anomaly occurs in a single delivery capacity terminal based on whether the environmental characteristic information of the single delivery capacity terminal at multiple times and the content information in the positioning data are consistent can be: for a single delivery capacity terminal, if the environmental characteristic information corresponding to the single delivery capacity terminal at multiple times includes GPS satellite data around the single delivery capacity terminal, and the positioning data corresponding to the single delivery capacity terminal at multiple times does not include GPS positioning data, then it is determined that a positioning service anomaly occurs in the single delivery capacity terminal.
[0085] That is, in the disclosed embodiments, for a single delivery terminal, both real-time and historically acquired data can be analyzed and processed. Specifically, the positioning service data collected by a single delivery terminal at multiple times can be analyzed and processed to determine whether a positioning service anomaly has occurred for that delivery terminal. Specifically, the determination of whether a positioning service anomaly has occurred for a single delivery terminal can be based on whether the environmental feature information of the single delivery terminal at multiple times is consistent with the GPS data in the positioning data.
[0086] If the environmental characteristic information corresponding to multiple moments in time for a delivery terminal includes GPS satellite data surrounding the delivery terminal, this indicates that GPS satellite data can be detected around the delivery terminal, allowing GPS positioning. In this case, if the positioning data corresponding to multiple moments in time for the delivery terminal does not include GPS positioning data, that is, the positioning data returned by the delivery terminal's positioning service does not include GPS positioning data, this may indicate that the delivery terminal itself has experienced a positioning service anomaly.
[0087] In another possible embodiment, determining whether a positioning service anomaly occurs in a single delivery capacity terminal based on whether the motion state represented by the environmental characteristic information of a single delivery capacity terminal at multiple times is consistent with the position represented by the positioning data can be: for a single delivery capacity terminal, if the sensor data in the environmental characteristic information corresponding to the single delivery capacity terminal at multiple times represents that the single delivery capacity terminal is in a motion state, and the positioning data corresponding to the single delivery capacity terminal at multiple times are consistent, then it is determined that a positioning service anomaly occurs in the single delivery capacity terminal.
[0088] If the sensor data in the environmental characteristic information corresponding to the delivery transport terminal at multiple moments indicates that the delivery transport terminal is in motion, then this indicates that the delivery transport terminal is in motion, and therefore its position should change, meaning that the positioning data of the delivery transport terminal at these multiple moments should be different. In this case, if the positioning data corresponding to the delivery transport terminal at multiple moments is consistent, then this indicates that the motion state represented by the environmental characteristic information at multiple moments in time does not match the position represented by the positioning data, thus confirming that the delivery transport terminal may have experienced a positioning service anomaly due to a problem within itself.
[0089] In another possible way, based on the positioning data of a single delivery capacity terminal at multiple times, determining whether a single delivery capacity terminal exceeds the preset delivery range, so as to determine whether a positioning service abnormality occurs in the single delivery capacity terminal can be: converting the positioning data corresponding to the single delivery capacity terminal at multiple times into a geohash block, and then counting the number of abnormal geohash blocks in the geohash block, the position represented by the abnormal geohash block exceeds the preset delivery range of the delivery capacity terminal. If the number of abnormal geohash blocks reaches a first threshold, it is determined that a positioning service abnormality occurs in the single delivery capacity terminal. Among them, the first threshold can be set according to actual conditions, and the embodiment of the present disclosure does not limit this. For example, the preset threshold can be set to 3, and so on.
[0090] It should be understood that a geohash block is a sub-block obtained by recursively decomposing the earth as a two-dimensional plane, and each sub-block has the same string code within a certain longitude and latitude range. The way of converting positioning data into a geohash block is similar to that in the related art and will not be repeated here. In a specific application, the distribution capacity terminal may correspond to a preset distribution range. Generally speaking, the distribution range corresponds to a geohash block, and the position of the distribution capacity terminal will not exceed the distribution range. Therefore, when it is detected that the number of times that the geohash block corresponding to the positioning data of the distribution capacity terminal is not the geohash block corresponding to the preset distribution range of the distribution capacity terminal (that is, an abnormal geohash block is detected) reaches a first threshold, it means that the positioning data of the distribution capacity terminal has drifted outside the preset distribution range many times, that is, the distribution capacity terminal has abnormally exceeded the preset distribution range many times, so that it can be determined that the positioning service of the distribution capacity terminal is abnormal.
[0091] For example, refer to Figure 2 , the preset delivery range corresponding to the delivery capacity terminal is area A, and the positioning data collected at the first moment according to the positioning service of the delivery capacity terminal is converted into a geohash block, and the geohash block corresponding to the positioning data of the delivery capacity terminal is determined to be geohash1. The positioning data collected at the second moment (the second moment is the next moment of the first moment) according to the positioning service of the delivery capacity terminal is converted into a geohash block, and the geohash block corresponding to the positioning data of the delivery capacity terminal is determined to be geohash2. Among them, the geohash block geohash2 exceeds the preset delivery range (area A) corresponding to the delivery capacity terminal, so it can be determined that the geohash block geohash2 is an abnormal geohash block. If the number of abnormal geohash blocks reaches the first threshold, it means that the positioning data of the delivery capacity terminal has drifted outside the preset delivery range many times, that is, the delivery capacity terminal has abnormally exceeded the preset delivery range many times, so it can be determined that the delivery capacity terminal may have a positioning service abnormality due to its own problems.
[0092] In another possible embodiment, based on the positioning data of multiple delivery capacity terminals at multiple times, it is determined that multiple delivery capacity terminals exceed the corresponding preset delivery range, so as to determine whether the multiple delivery capacity terminals have positioning service anomalies. The method can be as follows: converting the positioning data corresponding to the multiple delivery capacity terminals at multiple times into geo-hash blocks, counting the number of abnormal geo-hash blocks in the geo-hash blocks, and the position represented by the abnormal geo-hash blocks exceeds the preset delivery range of the corresponding delivery capacity terminal. If the number of abnormal geo-hash blocks reaches the second threshold, and the abnormal geo-hash blocks are the same geo-hash blocks, it is determined that the delivery capacity terminal corresponding to the abnormal geo-hash block has a positioning service anomaly. The second threshold can be set according to actual conditions, and the embodiments of the present disclosure do not limit this.
[0093] It should be understood that for the scenario of multiple delivery capacity terminals, since there are many delivery capacity terminals to be detected, if the delivery capacity terminal accidentally has a positioning drift, the number of abnormal geo-hash blocks may more easily reach the second threshold. However, in this case, the abnormal geo-hash blocks are caused by the accidental positioning drift of the delivery capacity terminal, rather than the abnormal geo-hash blocks caused by the positioning service abnormality of the delivery capacity terminal. If it is judged that the delivery capacity terminal has a positioning service abnormality for this reason, it is obviously inaccurate. Therefore, in order to obtain a more accurate positioning service anomaly detection result in the embodiment of the present disclosure, it can be further limited to when the abnormal geo-hash blocks are the same geo-hash blocks, it is determined that the delivery capacity terminal corresponding to the abnormal geo-hash block has a positioning service abnormality.
[0094] For example, the second threshold is set to 3, and the positioning data corresponding to three delivery transport terminals at multiple time points are converted into geohash blocks. If the geohash blocks of the three delivery transport terminals at the same time are all abnormal geohash blocks, that is, the number of abnormal geohash blocks counted reaches the second threshold, in this case, if the abnormal geohash blocks are the same geohash block, it means that the positioning data of the three delivery transport terminals may have drifted to the same abnormal positioning area due to GPS interference, and thus it can be determined that the positioning service anomaly of the three delivery transport terminals may have occurred due to GPS interference.
[0095] In another possible embodiment, determining whether positioning service anomalies occur in multiple delivery capacity terminals based on whether the positioning data and environmental characteristic information of multiple delivery capacity terminals at the same time are consistent can be: if the environmental characteristic information corresponding to multiple delivery capacity terminals at the same time is inconsistent, and the positioning data corresponding to multiple delivery capacity terminals at the same time are consistent, then determining that positioning service anomalies occur in multiple delivery capacity terminals.
[0096] If the environmental feature information corresponding to multiple delivery transport terminals at the same time is inconsistent, for example, the sensor data, mobile base station data, and Wi-Fi device data corresponding to multiple delivery transport terminals at the same time are all different, then it means that the environments in which the multiple delivery transport terminals are located at that moment are different, that is, the multiple delivery transport terminals are located at different locations at that moment, and therefore the positioning data corresponding to the multiple delivery transport terminals at that moment should be different. In this case, if the positioning data corresponding to the multiple delivery transport terminals at that moment are consistent, it can be said that the positioning service anomalies of the multiple delivery transport terminals may have occurred due to GPS interference.
[0097] Through the above approach, it is possible to determine whether a positioning service anomaly has occurred at the delivery terminal based on the terminal's positioning data and corresponding environmental characteristics in different scenarios. After determining that a positioning service anomaly has occurred at the delivery terminal, it is considered that the anomaly may be caused by a problem with the delivery terminal itself or by GPS interference in the area surrounding the delivery terminal. Therefore, different anomaly repair methods can be employed to ensure that the delivery terminal can provide accurate positioning services.
[0098] In one possible approach, for positioning service anomalies caused by the delivery terminal itself, a restart prompt message can be sent to the delivery terminal, prompting it to restart the positioning service or to reboot the delivery terminal. In other words, the positioning service anomaly can be fixed by restarting the positioning service or the delivery terminal. Alternatively, in another possible approach, other prompt messages can be sent to the delivery terminal to guide it to execute the repair steps specified in the prompt message, thereby fixing the positioning service anomaly.
[0099] In response to the abnormal positioning service of the delivery capacity terminal due to GPS interference, a control message can be sent to the delivery capacity terminal to control the delivery capacity terminal to start the GPS signal filtering mechanism, which is used to control the delivery capacity terminal to provide positioning services through the collected environmental data within the preset range of its location. The preset range can be set according to actual conditions, and the embodiments of the present disclosure are not limited to this. For example, the preset range can be determined according to the GPS interference range, that is, the preset range can be set as the GPS interference range or the preset range can be set to include the GPS interference range, so that the delivery capacity terminal can provide positioning services through the collected environmental data within the GPS interference range to avoid GPS interference. The GPS signal filtering mechanism can be built into the positioning SDK of the delivery capacity terminal, so that when it is determined that the positioning service of the delivery capacity terminal is abnormal due to GPS interference, the GPS signal filtering mechanism in the positioning SDK can be activated to provide positioning services only through the collected environmental data within the preset range of the delivery capacity terminal, thereby avoiding GPS interference.
[0100] In a possible manner, the positioning service anomaly detection method provided by the embodiments of the present disclosure can also be combined with the related art method of proactively reporting anomalies by the delivery person, so as to verify the accuracy of the positioning service anomaly reported by the delivery person after the delivery person proactively reports the anomaly. In other words, obtaining positioning service data can include: in response to receiving a service anomaly detection message sent by the delivery capacity terminal, obtaining the positioning service data of the delivery capacity terminal before sending the service anomaly detection message.
[0101] For example, when a delivery driver discovers that a delivery terminal's positioning service has experienced an anomaly, the delivery terminal can trigger a service anomaly detection message, reporting the anomaly to the server. Upon receiving the anomaly detection message, the server can determine whether the delivery terminal has experienced an anomaly based on the positioning service data of the delivery terminal before the service anomaly detection message was sent. If a positioning service anomaly is determined to have occurred, a corresponding message can be sent to the delivery terminal to control the delivery terminal to correct the anomaly. It should be understood that, as previously explained, in the present embodiment, the positioning data and environmental data of the delivery terminal can be acquired in real time for analysis and processing, thereby promptly detecting anomalies in the delivery terminal's positioning service. In the present embodiment, the real-time acquired positioning data and environmental data can be stored. Therefore, upon receiving a service anomaly detection message from the delivery terminal, the stored positioning data and environmental data of the delivery terminal before the service anomaly detection message was sent can be retrieved from the stored data to verify the positioning service anomaly reported by the delivery terminal, resulting in a more accurate result of the anomaly.
[0102] The following describes the location service anomaly detection method provided by the present disclosure through another exemplary embodiment. Figure 3 , the positioning service anomaly detection method may include:
[0103] Step 301: Acquire positioning service data. The positioning service data includes the positioning data of the delivery terminal and environmental data. The environmental data includes at least one of sensor data in the delivery terminal used to determine the movement status of the delivery terminal, GPS satellite data around the delivery terminal, mobile base station data around the delivery terminal, and Wi-Fi device data around the delivery terminal.
[0104] Step 302: extract environmental feature information corresponding to the distribution transport terminal from the environmental data.
[0105] Step 303, for a single delivery capacity terminal, if the environmental feature information corresponding to the delivery capacity terminal at multiple times includes GPS satellite data around the delivery capacity terminal, and the positioning data corresponding to the delivery capacity terminal at multiple times does not include GPS positioning data, it is determined that a positioning service abnormality has occurred in the delivery capacity terminal.
[0106] Step 304: For a single delivery transport terminal, if the sensor data in the environmental characteristic information corresponding to the delivery transport terminal at multiple times indicates that the delivery transport terminal is in motion, and the positioning data corresponding to the delivery transport terminal at multiple times are consistent, it is determined that a positioning service anomaly occurs in the delivery transport terminal.
[0107] Step 305: For a single delivery terminal, the positioning data corresponding to the delivery terminal at multiple times is converted into geohash blocks. The number of abnormal geohash blocks in the geohash blocks is counted. If the number of abnormal geohash blocks reaches a first threshold, it is determined that a positioning service anomaly has occurred at the delivery terminal. The location represented by the abnormal geohash block is outside the preset delivery range of the delivery terminal.
[0108] In step 306, for multiple delivery terminals, the positioning data corresponding to the multiple delivery terminals at multiple times are converted into geohash blocks. The number of abnormal geohash blocks in the geohash blocks is counted. If the number of abnormal geohash blocks reaches a second threshold, and the abnormal geohash blocks are the same geohash block, it is determined that a positioning service anomaly has occurred for the delivery terminal corresponding to the abnormal geohash block. The location represented by the abnormal geohash block is outside the preset delivery range of the corresponding delivery terminal.
[0109] Step 307: for multiple delivery transport terminals, if the environmental feature information corresponding to the multiple delivery transport terminals at the same time is inconsistent, and the positioning data corresponding to the multiple delivery transport terminals at the same time are consistent, it is determined that the positioning service anomalies of the multiple delivery transport terminals occur.
[0110] Step 308: Send a restart prompt message to the delivery transport terminal to prompt the delivery transport terminal to restart the positioning service or to prompt the delivery transport terminal to restart.
[0111] Step 309: Send a control message to the delivery transport terminal to control the delivery transport terminal to start the GPS signal filtering mechanism, which is used to control the delivery transport terminal to provide positioning services within a preset range of the location through the collected environmental data.
[0112] The specific implementation methods of the above steps have been described in detail above and will not be repeated here. In addition, it should be understood that for the above method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should know that the present disclosure is not limited to the order of the actions described above. Secondly, those skilled in the art should also know that the embodiments described above are preferred embodiments, and the steps involved are not necessarily required by the present disclosure.
[0113] Based on the same inventive concept, the embodiment of the present disclosure also provides a positioning service anomaly detection method, which can be applied to a distribution capacity terminal. Figure 4 , the method comprising:
[0114] Step 401: Send positioning service data to a server so that the server can determine whether a positioning service anomaly has occurred at the delivery terminal based on the positioning service data. The positioning service data includes the positioning data of the delivery terminal and environmental data. The environmental data includes at least one of sensor data in the delivery terminal for determining the movement state of the delivery terminal, GPS satellite data around the delivery terminal, mobile base station data around the delivery terminal, and Wi-Fi device data around the delivery terminal.
[0115] For example, the delivery terminal can obtain positioning service data through its own sensors, GPS chips, Wi-Fi chips, etc., and then send the positioning service data to the server, so that the server can determine whether the delivery terminal has a positioning service abnormality based on the positioning service data. For the specific process, please refer to the above description of the server side, which will not be repeated here.
[0116] Step 402: Receive positioning service abnormality prompt information sent by the server. The positioning service prompt information is sent to the delivery capacity terminal by the server when it determines that the delivery capacity terminal has a positioning service abnormality.
[0117] For example, the positioning service abnormality prompt information may include a restart prompt information, which is used to prompt the delivery transport terminal to restart the positioning service or prompt the delivery transport terminal to restart. Alternatively, the positioning service abnormality prompt information may include a control message for controlling the delivery transport terminal to activate the GPS signal filtering mechanism, which is used to control the delivery transport terminal to provide positioning services within a preset range of its location based on the collected environmental data. The specific content of the restart prompt information and the message can be found in the above description of the server side, and will not be repeated here.
[0118] Refer to the following Figure 5 This chapter describes the interaction between the server and the delivery terminal during the positioning service anomaly detection process. Figure 5As shown, the delivery capacity terminal can collect positioning service data through its own sensors, baseband chips, GPS chips, Wi-Fi chips and positioning SDKs, and send the positioning service data to the server. The server can extract environmental feature information for the environmental data in the positioning service data, and generate an environmental feature list based on the environmental feature information. For the positioning data in the positioning service data, the server can directly generate a corresponding positioning data list. The server can then perform data analysis according to the various methods provided above based on the positioning data list and the environmental feature list to determine whether a positioning service anomaly has occurred in the delivery capacity terminal. When the server determines that a positioning service anomaly has occurred in the delivery capacity terminal, it can send a positioning service anomaly prompt message to the delivery capacity terminal, such as the restart prompt message and control message exemplified above. After receiving the positioning service anomaly prompt message, the delivery capacity terminal can perform corresponding operations based on the positioning service anomaly prompt message. For example, if a restart prompt message is received, the delivery capacity terminal can restart the positioning service, etc. In this way, there is no need for delivery personnel to actively report positioning service anomalies, and active detection of positioning service anomalies can be achieved, so that positioning service anomalies of the delivery capacity terminal can be discovered in time, and corresponding prompt information can be sent to the delivery capacity terminal, thereby instructing the delivery capacity terminal to repair the positioning service anomalies in time and ensure the normal execution of the instant delivery business.
[0119] Based on the same inventive concept, the embodiment of the present disclosure also provides a positioning service anomaly detection device, which can be part or all of the server through software, hardware or a combination of both. Figure 6 , the positioning service anomaly detection device 600 may include:
[0120] An acquisition module 601 is configured to acquire positioning service data, wherein the positioning service data includes positioning data and environmental data of the delivery transport terminal, wherein the environmental data includes at least one of sensor data in the delivery transport terminal for determining the motion state of the delivery transport terminal, GPS satellite data around the delivery transport terminal, mobile base station data around the delivery transport terminal, and Wi-Fi device data around the delivery transport terminal;
[0121] Extraction module 602, used to extract environmental feature information corresponding to the delivery transport terminal from the environmental data;
[0122] The determination module 603 is used to determine whether a positioning service anomaly occurs in the distribution transport terminal based on the positioning data and the environmental characteristic information.
[0123] Optionally, the positioning service data includes positioning service data collected by the same delivery transport terminal at multiple times. Accordingly, the determining module 603 is configured to:
[0124] For a single delivery capacity terminal, if the environmental characteristic information corresponding to the multiple time periods of the delivery capacity terminal includes GPS satellite data around the delivery capacity terminal, and the positioning data corresponding to the multiple time periods of the delivery capacity terminal does not include GPS positioning data, it is determined that a positioning service abnormality has occurred in the delivery capacity terminal.
[0125] Optionally, the positioning service data includes positioning service data collected by the same delivery transport terminal at multiple times. Accordingly, the determining module 603 is configured to:
[0126] For a single delivery capacity terminal, if the sensor data in the environmental characteristic information corresponding to the delivery capacity terminal at the multiple moments indicates that the delivery capacity is in motion, and the positioning data corresponding to the delivery capacity terminal at the multiple moments are consistent, it is determined that a positioning service abnormality has occurred in the delivery capacity terminal.
[0127] Optionally, the positioning service data includes positioning service data collected by the same delivery transport terminal at multiple times. Accordingly, the determining module 603 is configured to:
[0128] For a single delivery transport terminal, converting the positioning data corresponding to the delivery transport terminal at the multiple time instants into a geo-hash block;
[0129] Counting the number of abnormal geo-hash blocks in the geo-hash blocks, where the locations represented by the abnormal geo-hash blocks exceed the preset delivery range of the delivery capacity terminal;
[0130] If the number of the abnormal geographic hash blocks reaches a first threshold, it is determined that a positioning service abnormality occurs in the delivery transport terminal.
[0131] Optionally, the positioning service data includes positioning service data collected by multiple delivery transport terminals at multiple times. Accordingly, the determining module 603 is configured to:
[0132] Converting the positioning data corresponding to the multiple delivery transport terminals at the multiple time instants into geo-hash blocks;
[0133] Counting the number of abnormal geo-hash blocks in the geo-hash blocks, where the locations represented by the abnormal geo-hash blocks exceed the preset delivery range of the corresponding delivery capacity terminal;
[0134] If the number of the abnormal geo-hash blocks reaches a second threshold, and the abnormal geo-hash blocks are the same geo-hash block, it is determined that a positioning service abnormality occurs in the delivery capacity terminal corresponding to the abnormal geo-hash block.
[0135] Optionally, the positioning service data includes positioning service data collected by multiple delivery transport terminals at multiple times. Accordingly, the determining module 603 is configured to:
[0136] If the environmental feature information corresponding to the multiple delivery transport terminals at the same time is inconsistent, and the positioning data corresponding to the multiple delivery transport terminals at the same time is consistent, it is determined that positioning service anomalies occur in the multiple delivery transport terminals.
[0137] Optionally, the apparatus 600 further includes:
[0138] The first sending module is used to send a restart prompt message to the distribution capacity terminal after determining that the distribution capacity terminal has a positioning service abnormality, so as to prompt the distribution capacity terminal to restart the positioning service or prompt the distribution capacity terminal to restart.
[0139] Optionally, the apparatus 600 further includes:
[0140] The second sending module is used to send a control message to the distribution capacity terminal after determining that a positioning service abnormality occurs in the distribution capacity terminal, so as to control the distribution capacity terminal to start the GPS signal filtering mechanism. The GPS signal filtering mechanism is used to control the distribution capacity terminal to provide positioning services within a preset range of its location through the collected environmental data.
[0141] Optionally, the acquisition module 601 is used to:
[0142] In response to receiving the service anomaly detection message sent by the distribution capacity terminal, the positioning service data of the distribution capacity terminal before sending the service anomaly detection message is obtained.
[0143] Based on the same inventive concept, the embodiment of the present disclosure also provides a positioning service anomaly detection device, which can become part or all of the distribution capacity terminal through software, hardware or a combination of both. Figure 7 , the positioning service anomaly detection device 700 may include:
[0144] A sending module 701 is configured to send positioning service data to a server, so that the server determines whether a positioning service anomaly occurs in the delivery transport terminal based on the positioning service data. The positioning service data includes positioning data and environmental data of the delivery transport terminal. The environmental data includes at least one of sensor data in the delivery transport terminal for determining the motion state of the delivery transport terminal, GPS satellite data around the delivery transport terminal, mobile base station data around the delivery transport terminal, and Wi-Fi device data around the delivery transport terminal.
[0145] The receiving module 702 is used to receive the positioning service abnormality prompt information sent by the server. The positioning service prompt information is sent to the distribution capacity terminal when the server determines that the distribution capacity terminal has a positioning service abnormality.
[0146] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0147] Based on the same inventive concept, an embodiment of the present disclosure further provides an electronic device, including:
[0148] a memory having a computer program stored thereon;
[0149] A processor is used to execute the computer program in the memory to implement the steps of any of the above-mentioned positioning service anomaly detection methods.
[0150] In a possible embodiment, the electronic device may be provided as a server. Figure 8 The electronic device may include one or more processors 822 and a memory 832 for storing a computer program executable by the processor 822. The computer program stored in the memory 832 may include one or more modules, each corresponding to a set of instructions. In addition, the processor 822 may be configured to execute the computer program to perform the location service anomaly detection method applied to the server.
[0151] In addition, the electronic device 800 may further include a power supply component 826 and a communication component 850. The power supply component 826 may be configured to perform power management of the electronic device 800, and the communication component 850 may be configured to implement communication of the electronic device 800, for example, wired or wireless communication. In addition, the electronic device 800 may further include an input / output (I / O) interface 858. The electronic device 800 may operate based on an operating system stored in the memory 832, such as Windows Server 2003. TM , Mac OSX TM , Unix TM , Linux TM etc.
[0152] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided. When executed by a processor, the program instructions implement the steps of the aforementioned method for detecting anomalies in a positioning service. For example, the computer-readable storage medium may be the aforementioned memory 832 including the program instructions. The program instructions may be executed by the processor 822 of the electronic device 800 to implement the method for detecting anomalies in a positioning service applied to a server.
[0153] In another possible embodiment, the electronic device may be provided as a mobile terminal device. Figure 9 The electronic device includes: a processor 901 and a memory 902. The electronic device 900 may further include one or more of a multimedia component 903, an input / output (I / O) interface 904, and a communication component 905.
[0154] Among them, the processor 901 is used to control the overall operation of the electronic device 900 to complete all or part of the steps in the positioning service anomaly detection method applied to the distribution capacity terminal. The memory 902 is used to store various types of data to support the operation of the electronic device 900. These data may include, for example, instructions for any application or method operating on the electronic device 900, as well as application-related data, such as positioning service data, etc. The memory 902 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 903 may include a screen and an audio component. The screen can be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component can include a microphone for receiving external audio signals. The received audio signal can be further stored in the memory 902 or sent through the communication component 905. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 904 provides an interface between the processor 901 and other interface modules. The above-mentioned other interface modules can be a keyboard, a mouse, buttons, etc. These buttons can be virtual buttons or physical buttons. The communication component 905 is used for wired or wireless communication between the electronic device 900 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 905 can include: Wi-Fi module, Bluetooth module, NFC module.
[0155] In an exemplary embodiment, the electronic device 900 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute a positioning service anomaly detection method applied to distribution capacity terminals.
[0156] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided. When executed by a processor, the program instructions implement the steps of the method for detecting anomalies in a positioning service applied to a delivery terminal. For example, the computer-readable storage medium may be the aforementioned memory 902 including the program instructions. The program instructions may be executed by the processor 901 of the electronic device 900 to implement the method for detecting anomalies in a positioning service applied to a delivery terminal.
[0157] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device, and the computer program has a code portion for executing the above-mentioned positioning service anomaly detection method when executed by the programmable device.
[0158] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings. However, the present disclosure is not limited to the specific details of the above embodiments. Within the technical concept of the present disclosure, various simple modifications can be made to the technical solutions of the present disclosure, and these simple modifications all fall within the scope of protection of the present disclosure.
[0159] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any appropriate manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0160] In addition, the various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A positioning service anomaly detection method, characterized in that: The method comprises: Acquiring positioning service data, the positioning service data including positioning data and environmental data of the delivery transport terminal, the environmental data including at least one of sensor data in the delivery transport terminal for determining the motion state of the delivery transport terminal, GPS satellite data around the delivery transport terminal, mobile base station data around the delivery transport terminal, and Wi-Fi device data around the delivery transport terminal; Extracting environmental feature information corresponding to the delivery transport terminal from the environmental data; Determining whether a positioning service anomaly occurs at the delivery transport terminal based on the positioning data and the environmental characteristic information; Wherein, determining whether a positioning service abnormality occurs in the delivery transport terminal according to the positioning data and the environmental characteristic information includes: Perform location service anomaly detection on a single delivery terminal or multiple delivery terminals in at least one of the following ways: Determining, based on the positioning data of the single delivery transport terminal at multiple times, that the single delivery transport terminal exceeds a preset delivery range, so as to determine whether a positioning service anomaly occurs to the single delivery transport terminal; Determining, based on the positioning data of the multiple delivery transport terminals at multiple times, whether the multiple delivery transport terminals exceed the corresponding preset delivery ranges, so as to determine whether positioning service anomalies occur to the multiple delivery transport terminals; The determining, based on the positioning data of the single delivery transport terminal at multiple times, that the single delivery transport terminal exceeds a preset delivery range, so as to determine whether a positioning service abnormality occurs to the single delivery transport terminal, includes: Converting the positioning data corresponding to the single delivery transport terminal at the multiple time instants into a geo-hash block; Counting the number of abnormal geo-hash blocks in the geo-hash blocks, where the locations represented by the abnormal geo-hash blocks exceed the preset delivery range of the delivery capacity terminal; If the number of abnormal geographic hash blocks reaches a first threshold, it is determined that a positioning service abnormality occurs in the single delivery capacity terminal; The determining, based on the positioning data of the multiple delivery transport terminals at multiple moments, whether the multiple delivery transport terminals exceed corresponding preset delivery ranges, so as to determine whether positioning service anomalies occur to the multiple delivery transport terminals, includes: Converting the positioning data corresponding to the multiple delivery transport terminals at the multiple time instants into geo-hash blocks; Counting the number of abnormal geo-hash blocks in the geo-hash blocks, where the locations represented by the abnormal geo-hash blocks exceed the preset delivery range of the corresponding delivery capacity terminal; If the number of the abnormal geo-hash blocks reaches a second threshold, and the abnormal geo-hash blocks are the same geo-hash block, it is determined that a positioning service abnormality occurs in the delivery capacity terminal corresponding to the abnormal geo-hash block. The positioning service data includes positioning service data collected by multiple delivery transport terminals at multiple times. If the environmental feature information corresponding to the multiple delivery transport terminals at the same time is inconsistent, and the positioning data corresponding to the multiple delivery transport terminals at the same time are consistent, it is determined that a positioning service anomaly occurs in the multiple delivery transport terminals.
2. The method according to claim 1, characterized in that After determining that a positioning service abnormality occurs in the delivery transport terminal, the method further includes: Send a restart prompt message to the delivery capacity terminal to prompt the delivery capacity terminal to restart the positioning service or prompt the delivery capacity terminal to restart.
3. The method according to claim 1, characterized in that After determining that a positioning service abnormality occurs in the delivery transport terminal, the method further includes: A control message is sent to the delivery transport terminal to control the delivery transport terminal to start the GPS signal filtering mechanism, and the GPS signal filtering mechanism is used to control the delivery transport terminal to provide positioning services through the collected environmental data within a preset range of its location.
4. The method according to claim 1, wherein The obtaining of positioning service data includes: In response to receiving the service anomaly detection message sent by the distribution capacity terminal, the positioning service data of the distribution capacity terminal before sending the service anomaly detection message is obtained.
5. A positioning service anomaly detection method, characterized in that: The method comprises: Sending positioning service data to a server, so that the server determines whether a positioning service anomaly occurs in the delivery transport terminal according to any one of the methods of claims 1-4 based on the positioning service data, wherein the positioning service data includes positioning data and environmental data of the delivery transport terminal, and the environmental data includes at least one of sensor data in the delivery transport terminal for determining the motion state of the delivery transport terminal, GPS satellite data around the delivery transport terminal, mobile base station data around the delivery transport terminal, and Wi-Fi device data around the delivery transport terminal; Receive positioning service abnormality prompt information sent by the server, where the positioning service prompt information is sent to the delivery capacity terminal when the server determines that a positioning service abnormality occurs to the delivery capacity terminal.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
7. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Method for judging vehicle navigation location deviation
CN106403979A
Satellite navigation spoofing detection method, device and apparatus, and medium
CN111337953A