CN114624750A - Positioning service abnormity detection method and device, storage medium and electronic equipment - Google Patents

Positioning service abnormity detection method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114624750A
CN114624750A CN202011359214.XA CN202011359214A CN114624750A CN 114624750 A CN114624750 A CN 114624750A CN 202011359214 A CN202011359214 A CN 202011359214A CN 114624750 A CN114624750 A CN 114624750A
Authority
CN
China
Prior art keywords
distribution capacity
capacity terminal
data
positioning
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011359214.XA
Other languages
Chinese (zh)
Inventor
李兰辉
江梦华
江乐彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202011359214.XA priority Critical patent/CN114624750A/en
Publication of CN114624750A publication Critical patent/CN114624750A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/23Testing, monitoring, correcting or calibrating of receiver elements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/14Receivers specially adapted for specific applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2255Hash tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0833Tracking

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Development Economics (AREA)
  • Software Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure relates to a method and a device for detecting positioning service abnormity, a storage medium and electronic equipment, which are used for actively detecting the positioning service abnormity and finding out the positioning service abnormity in time. The positioning service abnormity detection method comprises the following steps: acquiring positioning service data, wherein the positioning service data comprises positioning data of a distribution capacity terminal and environment data, and the environment data comprises at least one of sensor data used for determining the motion state of the distribution capacity terminal in the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal and Wi-Fi device data around the distribution capacity terminal; extracting environment characteristic information corresponding to the distribution capacity terminal from the environment data; and determining whether the distribution capacity terminal has abnormal positioning service according to the positioning data and the environmental characteristic information.

Description

Positioning service abnormity detection method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for detecting a location service anomaly, a storage medium, and an electronic device.
Background
The instant delivery is a performance service Based on Location Based Services (LBS), and the LBS service of the mobile terminal can acquire the position information of the deliverer in real time, so as to provide basic data support for task scheduling and delivery activities. However, in actual services, due to the influence of factors such as a Software Development Kit (SDK) of a delivery mobile terminal and system hardware, the LBS location service has abnormal scenes such as missing and inaccurate location data, which may cause missing of basic data of an instant delivery service, and interfere with or even block a service flow of the instant delivery.
In the related art, when the LBS location service abnormality occurs at the distribution mobile terminal, a distributor needs to actively find the abnormality and manually report the abnormality, and the LBS location service abnormality at the distribution mobile terminal cannot be detected in time, so that the normal execution of the instant distribution service is affected.
Disclosure of Invention
The disclosure aims to provide a method, a device, a storage medium and an electronic device for detecting positioning service abnormity, so as to realize active detection of positioning service abnormity and timely find the positioning service abnormity.
In order to achieve the above object, in a first aspect, the present disclosure provides a method for detecting a location service anomaly, where the method includes:
acquiring positioning service data, wherein the positioning service data comprises positioning data of a distribution capacity terminal and environment data, and the environment data comprises at least one of sensor data used for determining the motion state of the distribution capacity terminal in the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal and Wi-Fi device data around the distribution capacity terminal;
extracting environment characteristic information corresponding to the distribution capacity terminal from the environment data;
and determining whether the distribution capacity terminal has abnormal positioning service according to the positioning data and the environmental characteristic information.
Optionally, the determining, according to the positioning data and the environmental characteristic information, whether a positioning service abnormality occurs in the delivery capacity terminal includes:
and carrying out positioning service abnormity detection on the single delivery capacity terminal or the plurality of delivery capacity terminals according to at least one of the following modes: determining whether the single distribution capacity terminal has positioning service abnormity or not based on whether the environmental characteristic information of the single distribution capacity terminal at a plurality of moments is consistent with the content information in the positioning data or not;
determining whether the single distribution capacity terminal has positioning service abnormity or not based on whether the motion state represented by the environment characteristic information of the single distribution capacity terminal at a plurality of moments is consistent with the position represented by the positioning data;
determining the condition that the single distribution capacity terminal exceeds a preset distribution range based on the positioning data of the single distribution capacity terminal at a plurality of moments so as to determine whether the single distribution capacity terminal is abnormal in positioning service;
determining the condition that the plurality of delivery capacity terminals exceed corresponding preset delivery ranges based on the positioning data of the plurality of delivery capacity terminals at a plurality of moments so as to determine whether the plurality of delivery capacity terminals are abnormal in positioning service;
and determining whether the positioning data and the environmental characteristic information of the plurality of distribution capacity terminals at the same moment are consistent or not, and determining whether the plurality of distribution capacity terminals are abnormal in positioning service or not.
Optionally, the determining whether the single distribution capacity terminal has a positioning service abnormality based on whether the environmental characteristic information of the single distribution capacity terminal at a plurality of time instants is consistent with the content information in the positioning data includes:
if the environmental characteristic information corresponding to the single distribution capacity terminal at the multiple moments comprises GPS satellite data around the single distribution capacity terminal, and the positioning data corresponding to the single distribution capacity terminal at the multiple moments does not comprise GPS positioning data, determining that the single distribution capacity terminal has positioning service abnormity.
Optionally, the determining whether the single distribution capacity terminal has a location service abnormality based on whether the motion state represented by the environmental characteristic information of the single distribution capacity terminal at a plurality of moments coincides with the position represented by the location data includes:
and if the sensor data in the environment characteristic information corresponding to the single distribution capacity terminal at the multiple moments represents that the single distribution capacity terminal is in a motion state, and the positioning data corresponding to the single distribution capacity terminal at the multiple moments are consistent, determining that the single distribution capacity terminal has abnormal positioning service.
Optionally, the determining, based on the positioning data of the single distribution capacity terminal at multiple times, that the single distribution capacity terminal is out of a preset distribution range to determine whether the single distribution capacity terminal is abnormal in positioning service includes:
converting the positioning data corresponding to the single distribution capacity terminal at the plurality of moments into a geographic hash block;
counting the number of abnormal geographical hash blocks in the geographical hash blocks, wherein the positions represented by the abnormal geographical hash blocks exceed the preset distribution range of the distribution capacity terminal;
and if the number of the abnormal geographical hash blocks reaches a first threshold value, determining that the distribution capacity terminal has abnormal positioning service.
Optionally, the determining, based on the positioning data of the plurality of delivery capacity terminals at a plurality of times, that the plurality of delivery capacity terminals exceed the corresponding preset delivery ranges to determine whether the plurality of delivery capacity terminals are abnormal in positioning service includes:
converting the positioning data corresponding to the plurality of distribution capacity terminals at the plurality of moments into a geographic hash block;
counting the number of abnormal geographical hash blocks in the geographical hash blocks, wherein the positions represented by the abnormal geographical hash blocks exceed the preset distribution range of the corresponding distribution capacity terminals;
and if the number of the abnormal geographical hash blocks reaches a second threshold value and the abnormal geographical hash blocks are the same geographical hash block, determining that the distribution capacity terminal corresponding to the abnormal geographical hash blocks has abnormal positioning service.
Optionally, the determining, based on whether the positioning data and the environmental characteristic information of the multiple distribution capacity terminals at the same time are consistent, whether a positioning service abnormality occurs in the multiple distribution capacity terminals includes:
and if the environmental characteristic information corresponding to the plurality of distribution capacity terminals at the same moment is inconsistent and the positioning data corresponding to the plurality of distribution capacity terminals at the same moment is consistent, determining that the plurality of distribution capacity terminals have positioning service abnormity.
Optionally, after determining that the location service abnormality occurs in the delivery capacity terminal, the method further includes:
and sending restart prompt information to the distribution capacity terminal to prompt the distribution capacity terminal to restart the positioning service or prompt the distribution capacity terminal to restart.
Optionally, after determining that the location service abnormality occurs in the delivery capacity terminal, the method further includes:
and sending a control message to the distribution capacity terminal to control the distribution capacity terminal to start a GPS signal filtering mechanism, wherein the GPS signal filtering mechanism is used for controlling the distribution capacity terminal to provide positioning service through the acquired environmental data within a preset range of the position of the distribution capacity terminal.
Optionally, the acquiring location service data includes:
and responding to the received service abnormity detection message sent by the delivery capacity terminal, and acquiring the positioning service data of the delivery capacity terminal before the service abnormity detection message is sent.
In a second aspect, the present disclosure provides a method for detecting an abnormal location service, where the method includes:
sending positioning service data to a server to enable the server to determine whether the positioning service abnormality occurs to the distribution capacity terminal according to the positioning service data, wherein the positioning service data comprises positioning data of the distribution capacity terminal and environment data, and the environment data comprises at least one of sensor data used for determining the motion state of the distribution capacity terminal in the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal and Wi-Fi device data around the distribution capacity terminal;
and receiving positioning service abnormity prompt information sent by the server, wherein the positioning service prompt information is sent to the delivery capacity terminal when the server determines that the delivery capacity terminal has positioning service abnormity.
In a third aspect, the present disclosure further provides a device for detecting location-based service anomaly, where the device includes:
an obtaining module, configured to obtain location service data, where the location service data includes location data of a distribution capacity terminal and environment data, and the environment data includes at least one of sensor data used in the distribution capacity terminal to determine a motion state of the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal, and Wi-Fi device data around the distribution capacity terminal;
the extraction module is used for extracting the environment characteristic information corresponding to the distribution capacity terminal from the environment data;
and the determining module is used for determining whether the distribution capacity terminal has abnormal positioning service according to the positioning data and the environment characteristic information.
In a fourth aspect, the present disclosure further provides a device for detecting abnormal location services, the device including:
a sending module, configured to send positioning service data to a server, so that the server determines, according to the positioning service data, whether the distribution capacity terminal has an abnormal positioning service, where the positioning service data includes positioning data of the distribution capacity terminal and environment data, and the environment data includes at least one of sensor data used in the distribution capacity terminal to determine a motion state of the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal, and Wi-Fi device data around the distribution capacity terminal;
and the receiving module is used for receiving positioning service abnormity prompting information sent by the server, wherein the positioning service prompting information is sent to the distribution capacity terminal when the server determines that the distribution capacity terminal has positioning service abnormity.
In a fifth aspect, the present disclosure also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any one of the first or second aspects.
In a sixth aspect, the present disclosure also provides an electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method of any one of the first or second aspects.
Through the technical scheme, whether the distribution capacity terminal has abnormal positioning service or not can be determined according to the positioning data of the distribution capacity terminal and the corresponding environment characteristic information, a distributor is not required to report the abnormal positioning service actively, the abnormal positioning service can be actively detected, the abnormal positioning service of the distribution capacity terminal can be found in time, the abnormal positioning service of the distribution capacity terminal can be timely repaired, and the normal execution of the instant distribution service is ensured.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow chart illustrating a method of location services anomaly detection according to an exemplary embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating an abnormal geographical hash block in a method for detecting an abnormality of a location service according to an exemplary embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating a method of location services anomaly detection according to another exemplary embodiment of the present disclosure;
FIG. 4 is a flowchart illustrating a method of location services anomaly detection in accordance with another exemplary embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating an interaction process between a server and a delivery capacity terminal in a method for detecting an abnormality of location services according to an exemplary embodiment of the present disclosure;
FIG. 6 is a block diagram illustrating a location services anomaly detection apparatus according to an exemplary embodiment of the present disclosure;
fig. 7 is a block diagram illustrating a location services anomaly detection apparatus, according to another exemplary embodiment of the present disclosure;
FIG. 8 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment of the present disclosure;
fig. 9 is a block diagram illustrating an electronic device according to another exemplary embodiment of the present disclosure.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
As the background art, in the related art, when the LBS location service abnormality occurs at the distribution mobile terminal, a distributor needs to actively find the abnormality and manually report the abnormality, and the LBS location service abnormality at the distribution mobile terminal cannot be detected in time, so that the normal execution of the instant distribution service is affected.
In view of the above, the present disclosure provides a method, an apparatus, a storage medium, and an electronic device for detecting a positioning service anomaly, so as to realize active detection of the positioning service anomaly and timely find the positioning service anomaly of a distribution capacity terminal.
A possible implementation scenario of the disclosed embodiments is first explained. The implementation scenario may include a distribution capacity terminal and a server. The delivery capacity terminal may be any mobile terminal held by a delivery person, such as a mobile phone, a PAD, and the like, or the delivery capacity terminal may be a drone for delivery, and the like, which is not limited in this disclosure. When the distribution capacity terminal is specifically implemented, the distribution capacity terminal can send the positioning data of the distribution capacity terminal and the surrounding environment data to the server, the server can perform feature extraction on the environment data after receiving the positioning data and the environment data sent by the distribution capacity terminal to obtain corresponding environment feature information, and then whether the distribution capacity terminal is abnormal in positioning service or not is determined according to the positioning data and the environment feature information.
Fig. 1 is a flowchart illustrating a method for detecting location service anomaly according to an exemplary embodiment of the present disclosure, where the method for detecting location service anomaly may be applied to a server in the implementation scenario. Referring to fig. 1, the method for detecting location based service anomaly includes:
step 101, positioning service data is obtained, wherein the positioning service data comprises positioning data of a distribution capacity terminal and environment data. The environmental data includes at least one of sensor data in the distribution capacity terminal for determining a motion state of the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal, and Wi-Fi device data around the distribution capacity terminal.
And 102, extracting environment characteristic information corresponding to the distribution capacity terminal from the environment data.
And 103, determining whether the distribution capacity terminal has abnormal positioning service according to the positioning data and the environmental characteristic information.
By the mode, whether the distribution capacity terminal generates abnormal positioning service can be determined according to the positioning data of the distribution capacity terminal and the corresponding environment characteristic information, a distributor does not need to report the abnormal positioning service actively, active detection of the abnormal positioning service can be realized, the abnormal positioning service of the distribution capacity terminal can be found in time, the abnormal positioning service of the distribution capacity terminal can be repaired in time, and normal execution of instant distribution business is guaranteed.
In order to make those skilled in the art understand the method for detecting abnormal location services in the embodiments of the present disclosure, the following steps are exemplified in detail.
It should be understood at first that, in the embodiment of the present disclosure, the location SDK corresponding to the location service is built in the delivery capacity terminal, and the executed instant delivery service is a performance service based on LBS, so that the obtained location data may include GPS (Global Positioning System) location data and network location data. That is, the positioning service can acquire the GPS positioning data and the network positioning data of the delivery capacity terminal in real time.
In the embodiment of the disclosure, in order to realize active detection of positioning service abnormality, the positioning data of the distribution capacity terminal can be acquired in real time, and the environmental data around the distribution capacity terminal can be automatically and synchronously acquired while the positioning data of the distribution capacity terminal is acquired in real time. The environmental data can be obtained by detecting various sensors, chips and the like arranged in the distribution capacity terminal, and the environmental data comprises at least one of sensor data used for determining the motion state of the distribution capacity terminal in the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal and Wi-Fi device data around the distribution capacity terminal.
For example, the distribution capacity terminal may be internally provided with a sensor such as a gyroscope or an acceleration sensor for determining a motion state of the distribution capacity terminal, and the motion state may be used to represent whether the distribution capacity terminal is in motion. The distribution capacity terminal can also be internally provided with a GPS chip for detecting GPS satellite data around the distribution capacity terminal. The distribution capacity terminal can also be internally provided with a baseband chip for detecting the data of the mobile base station around the distribution capacity terminal. The distribution capacity terminal can also be internally provided with a Wi-Fi chip for detecting Wi-Fi equipment data around the distribution capacity terminal.
It should be understood that, in order to obtain a more accurate location service abnormality detection result, it is preferable that the acquired environmental data include both sensor data for determining a motion state of the distribution capacity terminal in the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal, and Wi-Fi device data around the distribution capacity terminal.
After the environmental data is obtained, in order to facilitate subsequent data analysis and processing, feature extraction may be performed on the environmental data to obtain corresponding environmental feature information. For example, for the sensor data, the sensor data at multiple time points may be compared and analyzed, and characteristic information for characterizing that the distribution capacity terminal is in motion or in rest is obtained. For the GPS satellite data, the data including the satellite name and the satellite azimuth included in the GPS satellite data may be analyzed to obtain characteristic information such as the number of satellites and the satellite signal strength that can be detected around the distribution capacity terminal. Similarly, for the mobile base station data, the data such as the name and the location of the mobile base station included in the mobile base station data may be analyzed to obtain the feature information such as the number of mobile base stations and the strength of the mobile base station that can be detected around the distribution capacity terminal. For the Wi-Fi device data, vectorization processing can be performed on Wi-Fi list information corresponding to the Wi-Fi device data to obtain Wi-Fi characteristic information. It should be understood that the feature extraction process for the environment data is similar to that in the related art, and is not described in detail here.
After extracting the environmental characteristic information that delivery capacity terminal corresponds from the environmental data, can carry out synchronous comparison analysis with the positioning data for follow-up environmental characteristic information, can also be according to the time dimension, environmental characteristic information and positioning data one-to-one that will extract. That is, in the embodiment of the present disclosure, in the process of determining whether the distribution capacity terminal has the abnormal location service according to the location data and the environmental characteristic information, the location data and the environmental characteristic information may correspond to each other in the time dimension.
It should be understood that the method for detecting location service abnormality provided by the embodiment of the present disclosure may be applied to detect location service abnormality of a single delivery capacity terminal, and may also be applied to detect location service abnormality of a plurality of delivery capacity terminals. For a single distribution capacity terminal, the positioning data of the distribution capacity terminal at multiple moments can be compared with each other and/or the environmental characteristic information of the distribution capacity terminal at multiple moments can be compared with each other, so as to determine whether the distribution capacity terminal has positioning service abnormality. For a plurality of delivery capacity terminals, the positioning data and the environmental characteristic information of the plurality of delivery capacity terminals at the same moment can be compared, or the positioning data of the plurality of delivery capacity terminals within a preset time period can be compared to determine whether the plurality of delivery capacity terminals are abnormal in positioning service.
In a possible manner, the location service anomaly detection can be performed on a single delivery capacity terminal or a plurality of delivery capacity terminals according to at least one of the following manners: determining whether the single distribution capacity terminal has abnormal positioning service or not based on whether the environmental characteristic information of the single distribution capacity terminal at a plurality of moments is consistent with the content information in the positioning data or not;
determining whether the single distribution capacity terminal has abnormal positioning service or not based on whether the motion state represented by the environmental characteristic information of the single distribution capacity terminal at a plurality of moments is consistent with the position represented by the positioning data or not;
determining the condition that the single distribution capacity terminal exceeds a preset distribution range based on the positioning data of the single distribution capacity terminal at a plurality of moments so as to determine whether the single distribution capacity terminal is abnormal in positioning service;
determining the condition that the plurality of delivery capacity terminals exceed corresponding preset delivery ranges based on the positioning data of the plurality of delivery capacity terminals at a plurality of moments so as to determine whether the plurality of delivery capacity terminals are abnormal in positioning service;
and determining whether the plurality of distribution capacity terminals have positioning service abnormity or not based on whether the positioning data and the environmental characteristic information of the plurality of distribution capacity terminals at the same moment are consistent or not.
The following is a detailed illustration of the above various possible location service anomaly detection methods.
In one possible approach, based on whether the environmental characteristic information of the single distribution capacity terminal at multiple time instants is consistent with the content information in the positioning data, determining whether the single distribution capacity terminal has the positioning service abnormality may be: for a single distribution capacity terminal, if the environmental characteristic information corresponding to the single distribution capacity terminal at a plurality of moments includes the GPS satellite data around the single distribution capacity terminal, and the positioning data corresponding to the single distribution capacity terminal at the plurality of moments does not include the GPS positioning data, it is determined that the positioning service abnormality occurs at the single distribution capacity terminal.
That is to say, in the embodiment of the present disclosure, a single delivery capacity terminal may analyze and process data acquired in real time and data acquired in history, that is, may analyze and process positioning service data acquired by the single delivery capacity terminal at multiple times, so as to determine whether a positioning service abnormality occurs in the delivery capacity terminal. Specifically, whether the positioning service abnormality occurs in the single distribution capacity terminal can be determined based on whether the environmental characteristic information of the single distribution capacity terminal at a plurality of moments is consistent with the GPS data in the positioning data.
If the environment characteristic information corresponding to the distribution capacity terminal at a plurality of times comprises the GPS satellite data around the distribution capacity terminal, the situation that the GPS satellite data can be detected around the distribution capacity terminal is shown, and therefore GPS positioning can be achieved. In this case, if the location data corresponding to the distribution capacity terminal at a plurality of times does not include GPS location data, that is, the location data returned by the location service of the distribution capacity terminal does not include GPS location data, it can be said that the distribution capacity terminal may have an abnormal location service due to a problem of the distribution capacity terminal.
In another possible manner, based on whether the motion state represented by the environmental characteristic information of the single distribution capacity terminal at multiple moments corresponds to the position represented by the positioning data, determining whether the single distribution capacity terminal has the positioning service abnormality may be: for a single distribution capacity terminal, if sensor data in environment characteristic information corresponding to the single distribution capacity terminal at multiple moments represents that the single distribution capacity terminal is in a motion state, and positioning data corresponding to the single distribution capacity terminal at the multiple moments are consistent, it is determined that the single distribution capacity terminal is abnormal in positioning service.
If the sensor data in the environmental characteristic information corresponding to the distribution capacity terminal at a plurality of moments indicate that the distribution capacity is in a motion state, it indicates that the distribution capacity terminal is in motion, and therefore, the position of the distribution capacity terminal should be changed, that is, the positioning data of the distribution capacity terminal at the plurality of moments should be different. In this case, if the positioning data corresponding to the distribution capacity terminal at multiple times are consistent, it is indicated that the motion state represented by the environmental characteristic information of the single distribution capacity terminal at multiple times is not consistent with the position represented by the positioning data, so that it can be determined that the distribution capacity terminal may have a positioning service abnormality due to its own problem.
In another possible manner, the determining that the single distribution capacity terminal exceeds the preset distribution range based on the positioning data of the single distribution capacity terminal at a plurality of time instants to determine whether the positioning service abnormality occurs to the single distribution capacity terminal may be: the method comprises the steps that positioning data corresponding to a single distribution capacity terminal at a plurality of moments are converted into geographical hash blocks, then the number of abnormal geographical hash blocks in the geographical hash blocks is counted, and the position represented by the abnormal geographical hash blocks exceeds the preset distribution range of the distribution capacity terminal. And if the number of the abnormal geographical hash blocks reaches a first threshold value, determining that the single distribution capacity terminal has abnormal positioning service. The first threshold may be set according to actual conditions, which is not limited in the embodiment of the present disclosure, for example, the preset threshold may be set to 3, and so on.
It should be understood that a geographic hash (geohash) block is a sub-block obtained by recursively decomposing the earth into a two-dimensional plane, and each sub-block has the same character string code within a certain latitude and longitude range. The manner of converting the positioning data into the geographical hash block is similar to that in the related art, and is not described herein again. In a specific application, the distribution capacity terminal may correspond to a preset distribution range, generally speaking, the distribution range corresponds to a geographical hash block, and the position of the distribution capacity terminal does not exceed the distribution range. Therefore, when it is detected that the number of times that the geographic hash block corresponding to the positioning data of the distribution capacity terminal is not the geographic hash block corresponding to the preset distribution range of the distribution capacity terminal (that is, the abnormal geographic hash block is detected) reaches the first threshold, it indicates that the positioning data of the distribution capacity terminal drifts outside the preset distribution range for many times, that is, the distribution capacity terminal abnormally exceeds the preset distribution range for many times, so that it can be determined that the positioning service of the distribution capacity terminal is abnormal.
For example, referring to fig. 2, the preset distribution range corresponding to the distribution capacity terminal is an area a, the positioning data collected at the first moment according to the positioning service of the distribution capacity terminal is converted into a geo-hash block, the geo-hash block corresponding to the positioning data of the distribution capacity terminal is determined to be geo-hash 1, 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 distribution capacity terminal is converted into the geo-hash block, and the geo-hash block corresponding to the positioning data of the distribution capacity terminal is determined to be geo-hash 2. The geographic hash block geohash2 exceeds the preset distribution range (area a) corresponding to the distribution capacity terminal, so that it can be determined that the geographic hash block geohash2 is an abnormal geographic hash block. If the number of the abnormal geographical hash blocks reaches the first threshold value, it indicates that the positioning data of the distribution capacity terminal is shifted to be outside the preset distribution range for multiple times, that is, the distribution capacity terminal is abnormal for multiple times to exceed the preset distribution range, so that it can be determined that the distribution capacity terminal may have abnormal positioning service due to self problems.
In another possible manner, the determining, based on the location data of the plurality of delivery capacity terminals at a plurality of times, that the plurality of delivery capacity terminals are beyond the corresponding preset delivery range, to determine whether the location service abnormality occurs to the plurality of delivery capacity terminals may be: the method comprises the steps of converting positioning data corresponding to a plurality of distribution capacity terminals at a plurality of moments into geographical hash blocks, counting the number of abnormal geographical hash blocks in the geographical hash blocks, and enabling the positions represented by the abnormal geographical hash blocks to exceed the preset distribution ranges of the corresponding distribution capacity terminals. And if the number of the abnormal geographical hash blocks reaches a second threshold value and the abnormal geographical hash blocks are the same geographical hash block, determining that the distribution capacity terminal corresponding to the abnormal geographical hash blocks has abnormal positioning service. The second threshold may be set according to actual conditions, which is not limited in the embodiments of the present disclosure.
It should be understood that, for a scenario with multiple distribution capacity terminals, since there are many distribution capacity terminals detected, if the distribution capacity terminals accidentally drift in location, the number of the abnormal geographic hash blocks may easily reach the second threshold. However, in this case, the abnormal geographical hash block is caused by accidental positioning drift of the distribution capacity terminal, and is not caused by abnormal positioning service of the distribution capacity terminal, and it is obviously inaccurate if it is determined that the positioning service of the distribution capacity terminal is abnormal. Therefore, in order to obtain a more accurate positioning service anomaly detection result in the embodiment of the present disclosure, it may be further defined that, when the abnormal geographical hash blocks are the same geographical hash block, it is determined that the positioning service anomaly occurs in the distribution capacity terminal corresponding to the abnormal geographical hash block on the basis that the number of the abnormal geographical hash blocks reaches the second threshold.
For example, the second threshold is set to 3, and the positioning data corresponding to 3 distribution capacity terminals at a plurality of times is converted into the geographical hash blocks. If the geographical hash blocks of the 3 distribution capacity terminals at the same time are all abnormal geographical hash blocks, that is, the counted number of the abnormal geographical hash blocks reaches the second threshold, in this case, if the abnormal geographical hash blocks are the same geographical hash block, it is indicated that the positioning data of the 3 distribution capacity terminals may drift to the same abnormal positioning area due to GPS interference, so that it can be determined that the 3 distribution capacity terminals may have abnormal positioning service due to GPS interference.
In another possible manner, based on whether the positioning data and the environmental characteristic information of the plurality of distribution capacity terminals at the same time are consistent, determining whether the positioning service abnormality occurs in the plurality of distribution capacity terminals may be: and if the environmental characteristic information corresponding to the plurality of distribution capacity terminals at the same moment is inconsistent and the positioning data corresponding to the plurality of distribution capacity terminals at the same moment is consistent, determining that the plurality of distribution capacity terminals have positioning service abnormity.
If the environmental characteristic information corresponding to the plurality of distribution capacity terminals at the same time is inconsistent, for example, the sensor data, the mobile base station data and the Wi-Fi device data corresponding to the plurality of distribution capacity terminals at the same time are different, it is indicated that the environments of the plurality of distribution capacity terminals at the time are different, that is, the positions of the plurality of distribution capacity terminals at the time are different, and therefore the positioning data corresponding to the plurality of distribution capacity terminals at the time should be different. In this case, if the positioning data of the plurality of distribution capacity terminals at the time are consistent, it can be said that the plurality of distribution capacity terminals may have positioning service abnormality due to GPS interference.
By the mode, whether the distribution capacity terminal is abnormal in positioning service or not can be determined according to the positioning data of the distribution capacity terminal and the corresponding environment characteristic information in different scenes. After determining that the distribution capacity terminal has the positioning service abnormity, considering that the distribution capacity terminal has the positioning service abnormity, the positioning service abnormity can be caused by the problems of the distribution capacity terminal and can also be caused by the GPS interference around the distribution capacity terminal. Therefore, different abnormal repairing modes can be adopted, so that the distribution capacity terminal can provide accurate positioning service.
In a possible mode, for the positioning service abnormality caused by the self reason of the delivery capacity terminal, restart prompt information can be sent to the delivery capacity terminal to prompt the delivery capacity terminal to restart the positioning service or prompt the delivery capacity terminal to restart. That is, the location service abnormality may be repaired by restarting the location service or restarting the delivery capacity terminal. Or, in other possible manners, other prompt information may be sent to the delivery capacity terminal to guide the delivery capacity terminal to execute the repairing step included in the prompt information, so as to implement the abnormal repairing of the location service.
Aiming at positioning service abnormity of the distribution capacity terminal caused by GPS interference, a control message can be sent to the distribution capacity terminal so as to control the distribution capacity terminal to start a GPS signal filtering mechanism, and the GPS signal filtering mechanism is used for controlling the distribution capacity terminal to provide positioning service through acquired environmental data within a preset range of the position of the distribution capacity terminal. The preset range may be set according to an actual situation, and the embodiment of the present disclosure does not limit this. For example, the preset range may be determined according to the GPS interference range, that is, the preset range may be set as the GPS interference range or may be set to include the GPS interference range, so that the terminal for distributing capacity in the GPS interference range may provide a positioning service by using the acquired environmental data, thereby avoiding GPS interference. The GPS signal filtering mechanism can be built in the positioning SDK of the distribution capacity terminal, so that when the distribution capacity terminal is determined to have abnormal positioning service due to GPS interference, the GPS signal filtering mechanism in the positioning SDK can be activated, the positioning service is provided only through the acquired environmental data within the preset range of the distribution capacity terminal, and the GPS interference is avoided.
In a possible manner, the method for detecting the positioning service abnormality provided by the embodiment of the present disclosure may be further combined with a manner in which a distributor actively reports the abnormality in the related art, so as to check whether the positioning service abnormality reported by the distributor is accurate after the distributor actively reports the abnormality. That is, obtaining location service data may be: and responding to the received service abnormity detection message sent by the delivery capacity terminal, and acquiring positioning service data of the delivery capacity terminal before sending the service abnormity detection message.
For example, after the distributor finds that the location service of the distribution capacity terminal is abnormal, the distribution capacity terminal may trigger a service abnormality detection message to report the situation that the location service of the distribution capacity terminal is abnormal to the server. After receiving the anomaly detection message, the server may determine whether the distribution capacity terminal has a location service anomaly according to the location service data of the distribution capacity terminal before sending the service anomaly detection message. If the distribution capacity terminal is determined to have the positioning service abnormity, a corresponding message can be sent to the distribution capacity terminal so as to control the distribution capacity terminal to repair the positioning service abnormity. It should be understood that, as described above, in the embodiment of the present disclosure, the positioning number and the environment data of the distribution capacity terminal may be obtained in real time to perform analysis processing, so as to find out the positioning service abnormality of the distribution capacity terminal in time. In the embodiment of the present disclosure, the positioning data and the environmental data acquired in real time may be stored, so that after receiving the service anomaly detection message sent by the delivery capacity terminal, the positioning data and the environmental data of the delivery capacity terminal before sending the service anomaly detection message may be acquired from the stored data, thereby verifying the positioning service anomaly reported by the delivery capacity terminal, and obtaining a more accurate positioning service anomaly result.
The method for detecting an anomaly of location services provided by the present disclosure is explained below by another exemplary embodiment. Referring to fig. 3, the method for detecting location based service anomaly may include:
step 301, obtaining positioning service data, where the positioning service data includes positioning data of a distribution capacity terminal and environment data. The environmental data includes at least one of sensor data in the distribution capacity terminal for determining a motion state of the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal, and Wi-Fi device data around the distribution capacity terminal.
Step 302, extracting environment characteristic information corresponding to the distribution capacity terminal from the environment data.
Step 303, for a single distribution capacity terminal, if the environment characteristic information corresponding to the distribution capacity terminal at multiple times includes GPS satellite data around the distribution capacity terminal, and the distribution capacity terminal does not include GPS positioning data in the positioning data corresponding to the multiple times, determining that the distribution capacity terminal has a positioning service abnormality.
Step 304, for a single distribution capacity terminal, if the sensor data in the environment characteristic information corresponding to the distribution capacity terminal at multiple times represents that the distribution capacity is in a motion state, and the positioning data corresponding to the distribution capacity terminal at multiple times is consistent, it is determined that the distribution capacity terminal has abnormal positioning service.
Step 305, for a single distribution capacity terminal, converting the positioning data corresponding to the distribution capacity terminal at multiple moments into geographic hash blocks, counting the number of abnormal geographic hash blocks in the geographic hash blocks, and if the number of the abnormal geographic hash blocks reaches a first threshold value, determining that the distribution capacity terminal has abnormal positioning service. And the position represented by the abnormal geographical hash block exceeds the preset distribution range of the distribution capacity terminal.
Step 306, for the plurality of distribution capacity terminals, converting the positioning data corresponding to the plurality of distribution capacity terminals at a plurality of moments into geographic hash blocks, counting the number of abnormal geographic hash blocks in the geographic hash blocks, and if the number of the abnormal geographic hash blocks reaches a second threshold value and the abnormal geographic hash blocks are the same geographic hash block, determining that the distribution capacity terminals corresponding to the abnormal geographic hash blocks have abnormal positioning service. And the position represented by the abnormal geographical hash block exceeds the preset distribution range of the corresponding distribution capacity terminal.
Step 307, for the plurality of distribution capacity terminals, if the environmental characteristic information corresponding to the plurality of distribution capacity terminals at the same time is not consistent and the positioning data corresponding to the plurality of distribution capacity terminals at the same time is consistent, it is determined that the positioning service abnormality occurs in the plurality of distribution capacity terminals.
And 308, sending restart prompt information to the delivery capacity terminal to prompt the delivery capacity terminal to restart the positioning service or prompt the delivery capacity terminal to restart.
Step 309, sending a control message to the distribution capacity terminal to control the distribution capacity terminal to start a GPS signal filtering mechanism, where the GPS signal filtering mechanism is used to control the distribution capacity terminal to provide a positioning service through the collected environmental data within a preset range of the location where the distribution capacity terminal is located.
The detailed description of the above steps is given above for illustrative purposes, and will not be repeated here. It will also be appreciated that for simplicity of explanation, the above-described method embodiments are all presented as a series of acts or combination of acts, but those skilled in the art will recognize that the present disclosure is not limited by the order of acts or combination of acts described above. Further, those skilled in the art will also appreciate that the embodiments described above are preferred embodiments and that the steps involved are not necessarily required for the present disclosure.
Based on the same inventive concept, the embodiment of the disclosure also provides a positioning service abnormity detection method, which can be applied to a delivery capacity terminal. Referring to fig. 4, the method includes:
step 401, sending positioning service data to a server, so that the server determines whether the distribution capacity terminal has positioning service abnormality according to the positioning service data. The positioning service data comprises positioning data of the distribution capacity terminal and environment data, wherein the environment data comprises at least one of sensor data used for determining the motion state of the distribution capacity terminal in the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal and Wi-Fi device data around the distribution capacity terminal.
For example, the distribution capacity terminal may obtain the positioning service data through a sensor, a GPS chip, a Wi-Fi chip, and the like carried by the distribution capacity terminal, and then send the positioning service data to the server, so that the server determines whether the distribution capacity terminal has an abnormal positioning service according to the positioning service data.
Step 402, receiving a positioning service abnormity prompting message sent by the server, wherein the positioning service prompting message is sent to the distribution capacity terminal when the server determines that the distribution capacity terminal has positioning service abnormity.
For example, the location service abnormality prompting message may include a restart prompting message, where the restart prompting message is used to prompt the delivery capacity terminal to restart the location service or prompt the delivery capacity terminal to restart. Or, the positioning service abnormality prompting message may include a control message for controlling the distribution capacity terminal to start a GPS signal filtering mechanism, where the GPS signal filtering mechanism is used for controlling the distribution capacity terminal to provide the positioning service through the collected environmental data within a preset range of the location where the distribution capacity terminal is located. For specific contents of the restart hint information and the message, reference may be made to the above description part on the server side, which is not described herein again.
The following describes an interaction process between the server and the delivery capacity terminal in the location service anomaly detection process with reference to fig. 5. As shown in fig. 5, the delivery capacity terminal may collect positioning service data through a sensor, a baseband chip, a GPS chip, a Wi-Fi chip, and a positioning SDK carried by the delivery capacity terminal, and send the positioning service data to the server. The server can extract the environmental characteristic information aiming at the environmental data in the positioning service data, and generates an environmental characteristic list according to the environmental characteristic information. For the positioning data in the positioning service data, the server can directly generate a corresponding positioning data list. The server may then perform data analysis in the various manners provided above according to the positioning data list and the environmental characteristic list to determine whether the distribution capacity terminal has a positioning service anomaly. The server may send the positioning service abnormality prompt information, such as the restart prompt information and the control message described above, to the delivery capacity terminal when determining that the positioning service abnormality occurs in the delivery capacity terminal. After receiving the positioning service abnormality prompt message, the delivery capacity terminal may execute a corresponding operation according to the positioning service abnormality prompt message, for example, if receiving a restart prompt message, the delivery capacity terminal may restart the positioning service. By the method, a distributor does not need to report the positioning service abnormity actively, active detection of the positioning service abnormity can be realized, so that the positioning service abnormity of the distribution capacity terminal can be found in time, corresponding prompt information can be sent to the distribution capacity terminal, the distribution capacity terminal is instructed to repair the positioning service abnormity in time, and normal execution of instant distribution business is guaranteed.
Based on the same inventive concept, the embodiment of the present disclosure further provides a device for detecting location service anomaly, which may be a part or all of a server through software, hardware, or a combination of the two. Referring to fig. 6, the location service abnormality detection apparatus 600 may include:
an obtaining module 601, configured to obtain location service data, where the location service data includes location data of a distribution capacity terminal and environment data, and the environment data includes at least one of sensor data used in the distribution capacity terminal to determine a motion state of the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal, and Wi-Fi device data around the distribution capacity terminal;
an extracting module 602, configured to extract environment feature information corresponding to the distribution capacity terminal from the environment data;
a determining module 603, configured to determine whether a location service exception occurs in the distribution capacity terminal according to the location data and the environment characteristic information.
Optionally, the location service data includes location service data collected at multiple times by the same delivery capacity terminal, and accordingly, the determining module 603 is configured to:
for a single distribution capacity terminal, if the environment characteristic information corresponding to the distribution capacity terminal at the multiple times includes GPS satellite data around the distribution capacity terminal, and the distribution capacity terminal does not include GPS positioning data in the positioning data corresponding to the multiple times, it is determined that the distribution capacity terminal has a positioning service abnormality.
Optionally, the location service data includes location service data collected at multiple times by the same delivery capacity terminal, and accordingly, the determining module 603 is configured to:
for a single distribution capacity terminal, if the sensor data in the environment characteristic information corresponding to the distribution capacity terminal at the multiple moments represents that the distribution capacity is in a motion state, and the positioning data corresponding to the distribution capacity terminal at the multiple moments are consistent, it is determined that the distribution capacity terminal has abnormal positioning service.
Optionally, the location service data includes location service data collected at multiple times by the same delivery capacity terminal, and accordingly, the determining module 603 is configured to:
for a single distribution capacity terminal, converting the positioning data corresponding to the distribution capacity terminal at the plurality of moments into a geographic hash block;
counting the number of abnormal geographical hash blocks in the geographical hash blocks, wherein the positions represented by the abnormal geographical hash blocks exceed the preset distribution range of the distribution capacity terminal;
and if the number of the abnormal geographical hash blocks reaches a first threshold value, determining that the distribution capacity terminal has abnormal positioning service.
Optionally, the location service data includes location service data collected by a plurality of distribution capacity terminals at a plurality of times, and accordingly, the determining module 603 is configured to:
converting the positioning data corresponding to the plurality of distribution capacity terminals at the plurality of moments into a geographic hash block;
counting the number of abnormal geographical hash blocks in the geographical hash blocks, wherein the positions represented by the abnormal geographical hash blocks exceed the preset distribution range of the corresponding distribution capacity terminals;
and if the number of the abnormal geographical hash blocks reaches a second threshold value and the abnormal geographical hash blocks are the same geographical hash block, determining that the distribution capacity terminal corresponding to the abnormal geographical hash blocks has abnormal positioning service.
Optionally, the location service data includes location service data collected by a plurality of distribution capacity terminals at a plurality of times, and accordingly, the determining module 603 is configured to:
and if the environmental characteristic information corresponding to the plurality of distribution capacity terminals at the same moment is inconsistent and the positioning data corresponding to the plurality of distribution capacity terminals at the same moment is consistent, determining that the plurality of distribution capacity terminals have abnormal positioning service.
Optionally, the apparatus 600 further comprises:
the first sending module is used for sending restart prompt information to the distribution capacity terminal after determining that the distribution capacity terminal has location service abnormity so as to prompt the distribution capacity terminal to restart location service or prompt the distribution capacity terminal to restart.
Optionally, the apparatus 600 further comprises:
and the second sending module is used for sending a control message to the distribution capacity terminal after determining that the distribution capacity terminal has the abnormal positioning service, so as to control the distribution capacity terminal to start a GPS signal filtering mechanism, wherein the GPS signal filtering mechanism is used for controlling the distribution capacity terminal to provide the positioning service through the acquired environmental data within a preset range of the position where the distribution capacity terminal is located.
Optionally, the obtaining module 601 is configured to:
and responding to the received service abnormity detection message sent by the delivery capacity terminal, and acquiring the positioning service data of the delivery capacity terminal before the service abnormity detection message is sent.
Based on the same inventive concept, the embodiment of the present disclosure further provides a positioning service anomaly detection apparatus, which may be a part or all of a distribution capacity terminal through software, hardware, or a combination of both. Referring to fig. 7, the positioning service abnormality detection apparatus 700 may include:
a sending module 701, configured to send positioning service data to a server, so that the server determines, according to the positioning service data, whether a positioning service abnormality occurs in the distribution capacity terminal, where the positioning service data includes positioning data of the distribution capacity terminal and environment data, and the environment data includes at least one of sensor data used in the distribution capacity terminal to determine a motion state of the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal, and Wi-Fi device data around the distribution capacity terminal;
a receiving module 702, configured to receive a positioning service exception notification message sent by the server, where the positioning service exception notification message is sent to the delivery capacity terminal when the server determines that the delivery capacity terminal has a positioning service exception.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Based on the same inventive concept, an embodiment of the present disclosure further provides an electronic device, including:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of any of the above-mentioned location service anomaly detection methods.
In a possible approach, the electronic device may be provided as a server. Referring to fig. 8, the electronic device may include a processor 822, which may be one or more in number, and a memory 832 for storing computer programs executable by the processor 822. The computer programs stored in memory 832 may include one or more modules that each correspond to a set of instructions. Further, the processor 822 may be configured to execute the computer program to perform a positioning service anomaly detection method applied to the server.
Additionally, the electronic device 800 may also include a power component 826 and a communication component 850, the power component 826 may be configured to perform power management of the electronic device 800, and the communication component 850 may be configured to enable communication, e.g., wired or wireless communication, of the electronic device 800. The electronic device 800 may also include input/output (I/O) interfaces 858. The electronic device 800 may operate based on an operating system, such as Windows Server, stored in the memory 832TM,Mac OS XTM,UnixTM,LinuxTMAnd so on.
In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the above-described location services anomaly detection method is also provided. For example, the computer readable storage medium may be the memory 832 described above that includes program instructions executable by the processor 822 of the electronic device 800 to perform a method of location services anomaly detection applied to a server.
In another possible approach, the electronic device may be provided as a mobile terminal device. Referring to fig. 9, the electronic device includes: a processor 901 and a memory 902. The electronic device 900 may also include one or more of a multimedia component 903, an input/output (I/O) interface 904, and a communications component 905.
The processor 901 is configured to control the overall operation of the electronic device 900, so as to complete all or part of the steps in the method for detecting an abnormality in location services applied to a distribution capacity terminal. The memory 902 is used to store various types of data to support operation of the electronic device 900, such as instructions for any application or method operating on the electronic device 900 and application-related data, such as location services data and the like. The Memory 902 may be implemented by any type of volatile or non-volatile Memory device or 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. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 902 or transmitted through the communication component 905. The audio assembly 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, such as a keyboard, mouse, buttons, and the like. These buttons may 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 that the corresponding Communication component 905 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 900 may 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 for performing the location services anomaly detection method applied to the distribution capacity terminals.
In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of a location services anomaly detection method applied to a distribution capacity terminal is also provided. For example, the computer readable storage medium may be the memory 902 described above comprising program instructions executable by the processor 901 of the electronic device 900 to perform a method for location services anomaly detection applied to distribution capacity terminals.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned method of location services anomaly detection when executed by the programmable apparatus.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (15)

1. A method for detecting abnormal location services, the method comprising:
acquiring positioning service data, wherein the positioning service data comprises positioning data of a distribution capacity terminal and environment data, and the environment data comprises at least one of sensor data used for determining the motion state of the distribution capacity terminal in the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal and Wi-Fi equipment data around the distribution capacity terminal;
extracting environment characteristic information corresponding to the distribution capacity terminal from the environment data;
and determining whether the distribution capacity terminal has abnormal positioning service according to the positioning data and the environment characteristic information.
2. The method of claim 1, wherein the determining whether the distribution capacity terminal has a location service anomaly according to the location data and the environment characteristic information comprises:
and carrying out positioning service abnormity detection on the single delivery capacity terminal or the plurality of delivery capacity terminals according to at least one of the following modes: determining whether the single distribution capacity terminal has positioning service abnormity or not based on whether the environmental characteristic information of the single distribution capacity terminal at a plurality of moments is consistent with the content information in the positioning data or not;
determining whether the single distribution capacity terminal has positioning service abnormity or not based on whether the motion state represented by the environment characteristic information of the single distribution capacity terminal at a plurality of moments is consistent with the position represented by the positioning data;
determining the condition that the single distribution capacity terminal exceeds a preset distribution range based on the positioning data of the single distribution capacity terminal at a plurality of moments so as to determine whether the single distribution capacity terminal is abnormal in positioning service;
determining the condition that the plurality of delivery capacity terminals exceed corresponding preset delivery ranges based on the positioning data of the plurality of delivery capacity terminals at a plurality of moments so as to determine whether the plurality of delivery capacity terminals are abnormal in positioning service;
and determining whether the positioning data and the environmental characteristic information of the plurality of distribution capacity terminals at the same moment are consistent or not, and determining whether the plurality of distribution capacity terminals are abnormal in positioning service or not.
3. The method of claim 2, wherein the determining whether the single distribution capacity terminal has a location service anomaly based on whether the environmental characteristic information of the single distribution capacity terminal at a plurality of time instants is consistent with the content information in the location data comprises:
if the environmental characteristic information corresponding to the single distribution capacity terminal at the multiple moments comprises GPS satellite data around the single distribution capacity terminal, and the positioning data corresponding to the single distribution capacity terminal at the multiple moments does not comprise GPS positioning data, determining that the single distribution capacity terminal has positioning service abnormity.
4. The method of claim 2, wherein the determining whether the single distribution capacity terminal has a location service anomaly based on whether the motion state represented by the environmental characteristic information of the single distribution capacity terminal at a plurality of time instants coincides with the position represented by the location data comprises:
and if the sensor data in the environment characteristic information corresponding to the single distribution capacity terminal at the multiple moments represents that the single distribution capacity terminal is in a motion state, and the positioning data corresponding to the single distribution capacity terminal at the multiple moments are consistent, determining that the single distribution capacity terminal has abnormal positioning service.
5. The method of claim 2, wherein the determining whether the single distribution capacity terminal is out of a preset distribution range based on the positioning data of the single distribution capacity terminal at a plurality of time instants to determine whether the single distribution capacity terminal has a positioning service abnormality comprises:
converting the positioning data corresponding to the single distribution capacity terminal at the plurality of moments into a geographic hash block;
counting the number of abnormal geographical hash blocks in the geographical hash blocks, wherein the positions represented by the abnormal geographical hash blocks exceed the preset distribution range of the distribution capacity terminal;
and if the number of the abnormal geographical hash blocks reaches a first threshold value, determining that the single distribution capacity terminal has abnormal positioning service.
6. The method of claim 2, wherein the determining whether the plurality of distribution capacity terminals exceed the corresponding preset distribution ranges based on the positioning data of the plurality of distribution capacity terminals at a plurality of time instants to determine whether the plurality of distribution capacity terminals are abnormal in positioning service comprises:
converting the positioning data corresponding to the plurality of distribution capacity terminals at the plurality of moments into a geographic hash block;
counting the number of abnormal geographical hash blocks in the geographical hash blocks, wherein the positions represented by the abnormal geographical hash blocks exceed the preset distribution range of the corresponding distribution capacity terminals;
and if the number of the abnormal geographical hash blocks reaches a second threshold value and the abnormal geographical hash blocks are the same geographical hash block, determining that the distribution capacity terminal corresponding to the abnormal geographical hash blocks has abnormal positioning service.
7. The method of claim 2, wherein the determining whether the plurality of distribution capacity terminals have location service abnormality based on whether the location data and the environmental characteristic information of the plurality of distribution capacity terminals at the same time are consistent comprises:
and if the environmental characteristic information corresponding to the plurality of distribution capacity terminals at the same moment is inconsistent and the positioning data corresponding to the plurality of distribution capacity terminals at the same moment is consistent, determining that the plurality of distribution capacity terminals have abnormal positioning service.
8. The method of any of claims 3-5, wherein after determining that a location service anomaly has occurred at the distribution capacity terminal, the method further comprises:
and sending restart prompt information to the distribution capacity terminal to prompt the distribution capacity terminal to restart the positioning service or prompt the distribution capacity terminal to restart.
9. The method of claim 6 or 7, wherein after determining that a location service anomaly has occurred at the distribution capacity terminal, the method further comprises:
and sending a control message to the distribution capacity terminal to control the distribution capacity terminal to start a GPS signal filtering mechanism, wherein the GPS signal filtering mechanism is used for controlling the distribution capacity terminal to provide positioning service through the acquired environmental data within a preset range of the position of the distribution capacity terminal.
10. The method according to any of claims 1-7, wherein said obtaining location service data comprises:
and responding to the received service abnormity detection message sent by the delivery capacity terminal, and acquiring the positioning service data of the delivery capacity terminal before the service abnormity detection message is sent.
11. A method for detecting abnormal location service, the method comprising:
sending positioning service data to a server to enable the server to determine whether the positioning service abnormality occurs to the distribution capacity terminal according to the positioning service data, wherein the positioning service data comprises positioning data of the distribution capacity terminal and environment data, and the environment data comprises at least one of sensor data used for determining the motion state of the distribution capacity terminal in the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal and Wi-Fi device data around the distribution capacity terminal;
and receiving positioning service abnormity prompt information sent by the server, wherein the positioning service prompt information is sent to the delivery capacity terminal when the server determines that the delivery capacity terminal has positioning service abnormity.
12. A location service anomaly detection apparatus, the apparatus comprising:
an acquisition module, configured to acquire positioning service data, where the positioning service data includes positioning data of a distribution capacity terminal and environment data, and the environment data includes at least one of sensor data in the distribution capacity terminal for determining a motion state of the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal, and Wi-Fi device data around the distribution capacity terminal;
the extraction module is used for extracting the environmental characteristic information corresponding to the distribution capacity terminal from the environmental data;
and the determining module is used for determining whether the distribution capacity terminal has abnormal positioning service according to the positioning data and the environment characteristic information.
13. A location service anomaly detection apparatus, the apparatus comprising:
a sending module, configured to send positioning service data to a server, so that the server determines, according to the positioning service data, whether the distribution capacity terminal has an abnormal positioning service, where the positioning service data includes positioning data of the distribution capacity terminal and environment data, and the environment data includes at least one of sensor data used in the distribution capacity terminal to determine a motion state of the distribution capacity terminal, GPS satellite data around the distribution capacity terminal, mobile base station data around the distribution capacity terminal, and Wi-Fi device data around the distribution capacity terminal;
and the receiving module is used for receiving positioning service abnormity prompting information sent by the server, wherein the positioning service prompting information is sent to the distribution capacity terminal when the server determines that the distribution capacity terminal has positioning service abnormity.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 11.
15. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 11.
CN202011359214.XA 2020-11-27 2020-11-27 Positioning service abnormity detection method and device, storage medium and electronic equipment Pending CN114624750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011359214.XA CN114624750A (en) 2020-11-27 2020-11-27 Positioning service abnormity detection method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011359214.XA CN114624750A (en) 2020-11-27 2020-11-27 Positioning service abnormity detection method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114624750A true CN114624750A (en) 2022-06-14

Family

ID=81894922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011359214.XA Pending CN114624750A (en) 2020-11-27 2020-11-27 Positioning service abnormity detection method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114624750A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111200780A (en) * 2018-10-30 2020-05-26 中国电信股份有限公司 Method and device for detecting abnormality of positioning data and computer-readable storage medium
CN111337953A (en) * 2020-05-21 2020-06-26 深圳市西博泰科电子有限公司 Satellite navigation spoofing detection method, device, equipment and medium
CN111565364A (en) * 2020-04-03 2020-08-21 拉扎斯网络科技(上海)有限公司 Method and device for acquiring positioning information, storage medium and terminal
CN111862640A (en) * 2020-03-27 2020-10-30 北京骑胜科技有限公司 Road condition early warning data generation method, road condition early warning device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111200780A (en) * 2018-10-30 2020-05-26 中国电信股份有限公司 Method and device for detecting abnormality of positioning data and computer-readable storage medium
CN111862640A (en) * 2020-03-27 2020-10-30 北京骑胜科技有限公司 Road condition early warning data generation method, road condition early warning device and electronic equipment
CN111565364A (en) * 2020-04-03 2020-08-21 拉扎斯网络科技(上海)有限公司 Method and device for acquiring positioning information, storage medium and terminal
CN111337953A (en) * 2020-05-21 2020-06-26 深圳市西博泰科电子有限公司 Satellite navigation spoofing detection method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN104899952B (en) Work attendance method and device based on instant messaging application
US20160044520A1 (en) Mobile automation test platform
EP3386150B1 (en) Terminal failure processing method, device and system
JP7204023B2 (en) Electric vehicle charging method, system, and storage medium
CN111666222B (en) Test method and related device
CN105988836B (en) Application recommendation method and device
CN104679654A (en) Method, equipment and system for testing application program
CN108446211B (en) Browser exception collection method and device, mobile terminal and storage medium
JP5529838B2 (en) Mobile terminal and method
CN112953791B (en) Network detection method and device, electronic equipment and computer readable storage medium
WO2008021735A1 (en) Method and device for electronic mail
CN108693544B (en) Vehicle positioning method and device and storage medium
CN112241362A (en) Test method, test device, server and storage medium
CN104038900A (en) Locating method and equipment
US10848916B2 (en) Service provision device, service provision method, and program storage medium
CN113132906B (en) Virtual positioning identification method and device, storage medium and electronic equipment
CN103957514A (en) Method and device for prompting user
CN113329338A (en) User flow behavior processing method and device, electronic equipment and storage medium
CN114624750A (en) Positioning service abnormity detection method and device, storage medium and electronic equipment
JP2013124988A (en) Mobile terminal and method
US9578529B1 (en) Cellular data testing system
CN113836045A (en) Logic generation method and device for interface automation assertion and storage medium
US20160073300A1 (en) Device state derivation
CN104038622A (en) Method and system for creating new contact
CN113452533A (en) Charging self-inspection and self-healing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination