Shared device abnormality handling analysis method, system, terminal and medium

By building plots and base station portraits, calculating the maximum probability candidate grid, comparing the grid threshold difference, the problem of continuous base station positioning and tracking of shared devices in the shutdown state is solved, low-power consumption and high-precision asset monitoring are achieved, and assets are reduced loss.

CN115103308BActive Publication Date: 2024-11-26SHANGHAI JUNZHENG NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210713513.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-22
Publication Date
2024-11-26
Estimated Expiration
2042-06-22

AI Technical Summary

Technical Problem

The prior art is difficult to perform continuous base station positioning tracking in the state of the shared equipment being turned off, resulting in difficult monitoring of asset losses.

Method used

By obtaining the base station scanning information of the shared device in the non-use state, building a plot image and a base station image, calculating the maximum probability candidate grid, and comparing the grid threshold difference at different times to determine whether the device is handled abnormally.

Benefits of technology

It realizes the effective monitoring of shared equipment locations on the basis of low power consumption and high precision, reducing asset losses, and finding the best balance point between positioning accuracy and power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115103308B_ABST
    Figure CN115103308B_ABST
Patent Text Reader

Abstract

The present invention provides a method, system, terminal and medium for analyzing abnormal handling of shared equipment, aiming to construct a plot image and a base station image based on the positioning information and base station scanning information uploaded by the shared equipment in the use state; and according to the base station scanning information uploaded regularly by the shared equipment in the non-use state, use the plot image and the base station image to respectively obtain the regional differences between the areas where the shared equipment in the non-use state is located with the maximum probability at different times; and judge whether the shared equipment is handled abnormally by judging whether the calculated regional differences exceed the warning area range. Through the technical solution of the present invention, the best balance point can be found between the power consumption, positioning accuracy, equipment asset preservation and other issues caused by continuous monitoring of the location of shared equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of positioning technology, and in particular to a method, system, terminal and medium for analyzing abnormality handling of shared equipment. Background Art

[0002] With the development of Internet technology, shared devices (such as shared vehicles, shared batteries, shared power banks or shared umbrellas, etc.) are almost everywhere in large and medium-sized cities. However, in actual operation, many bad behaviors such as private use of devices or destruction of devices have been found, resulting in asset losses. Take shared vehicles as an example: compared with "pile-equipped" public bicycles, this "pile-free" shared vehicle that can be used and parked at any time has brought great convenience to users. However, at the same time, it has also been found that there are behaviors such as smuggling vehicles, hiding vehicles, and destroying vehicles when the shared vehicles are unlocked by improper use of APP, resulting in huge losses of shared vehicle assets.

[0003] Generally speaking, shared devices can use satellite positioning technology to locate and track the location of shared devices. However, this technology consumes a lot of power when positioning, and the shared devices themselves have limited power and are not always on, especially when the shared devices are turned off.

[0004] In addition, base station positioning is a low-power positioning method that uses the SIM card of the device to connect to the Internet. However, due to the limitations of the base station positioning technology level, the accuracy error of single base station positioning is far from practical. Another technical idea is to locate from a single base station to a shared device, but in fact it is a long-term data collection of surrounding base station information. Therefore, how to make good use of shared devices to perform continuous base station positioning and tracking in the off state is a technical problem that needs to be solved in this field. Summary of the invention

[0005] In view of the above-mentioned defects of the prior art, the present invention provides a method, system, terminal and medium for analyzing abnormal handling of shared devices. The technical problem to be solved is how to make good use of shared devices to perform continuous base station positioning and tracking in a closed state.

[0006] To achieve the above-mentioned purpose, the present invention provides a method for analyzing abnormal handling of shared equipment, which is characterized by comprising: obtaining base station scanning information uploaded by the shared equipment when it is not in use to query the corresponding plot portrait and base station portrait; calculating the maximum probability candidate grid of the shared equipment at the corresponding time according to the plot portrait and the base station portrait; comparing the maximum probability candidate grids of the shared equipment at different times and calculating the grid threshold difference; if the grid threshold difference exceeds the warning area range, it is determined that the shared equipment is handled abnormally.

[0007] In a preferred embodiment of the present invention, the calculation process of the maximum probability candidate grid of the shared device includes: querying the plot portrait of each candidate grid in the candidate grid set at the corresponding moment according to the base station scanning information; calculating the base station portrait of each candidate grid at the current moment based on the plot portrait at the previous moment and the base station portrait at the previous moment, obtaining the probability value of the shared device appearing in each candidate grid, and selecting the candidate grid with the largest probability value as the maximum probability candidate grid.

[0008] In a preferred embodiment of the present invention, the process of constructing the base station portrait includes: obtaining satellite positioning information and base station scanning information uploaded by multiple shared devices in use, and aggregating the satellite positioning information and base station scanning information according to the base station number to obtain a sampling point set of each base station; after removing abnormal points from the sampling point set and screening the sampling data quality, base station modeling is performed to construct the base station portrait.

[0009] In another preferred embodiment of the present invention, the process of removing abnormal points from the sampling point set includes: establishing a sampling center point in the sampling point set; calculating the distance from each sampling point in the sampling point set to the sampling center point with the sampling center point as the center of the circle, and removing the sampling points exceeding a preset radius threshold as abnormal sampling points; wherein the method for establishing the sampling center point includes: performing a weighted average calculation on the longitude and latitude of the sampling point set, and obtaining the calculation result as the sampling center point of the sampling point set.

[0010] In another preferred embodiment of the present invention, the method of screening the sampling data quality of the sampling point set includes any one or both of the following: setting a preset threshold for the number of satellite search numbers to filter out sampling points whose number of satellite search numbers is lower than the preset threshold for the number of satellite search numbers; setting a positioning accuracy filtering threshold to filter out sampling points whose positioning accuracy does not meet the positioning accuracy filtering threshold.

[0011] In another preferred embodiment of the present invention, the plot portrait at the previous moment is the probability value of the base station scanned by the shared device at the previous moment appearing in the candidate grid; the base station portrait at the previous moment is the longitude and latitude of the base station at the previous moment and the base station signal coverage radius; the base station portrait at the current moment is the longitude and latitude of the base station at the current moment and the base station signal coverage radius.

[0012] In another preferred embodiment of the present invention, the acquisition of base station scanning information uploaded by the shared device when not in use includes: obtaining the base station number information and base station signal strength information obtained by scanning surrounding base stations according to a preset base station scanning frequency using the base station scanning module on the shared device when the shared device is not in use.

[0013] To achieve the above-mentioned purpose, the present invention provides a shared device abnormal handling analysis system, characterized in that it includes: a portrait module, used to obtain base station scanning information uploaded by the shared device when it is not in use to query the corresponding plot portrait and base station portrait; a candidate grid module, used to calculate the maximum probability candidate grid of the shared device at the corresponding time according to the plot portrait and the base station portrait; an abnormal analysis module, used to compare the maximum probability candidate grids of the shared device at different times and calculate the grid threshold difference; if the grid threshold difference exceeds the warning area range, it is determined that the shared device is abnormally handled.

[0014] To achieve the above-mentioned object, the present invention provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the shared device exception handling and analysis method is implemented.

[0015] To achieve the above objectives, the present invention provides an electronic terminal, comprising: a processor and a memory; the memory is used to store computer programs; the processor is used to execute the computer programs stored in the memory, so that the terminal executes the shared device abnormality handling analysis method.

[0016] The shared device abnormal handling analysis method, system, terminal and medium provided by the present invention have the following technical effects: the present invention constructs a plot image and a base station image based on the positioning information and base station scanning information uploaded by the shared device in the use state; and according to the base station scanning information uploaded regularly by the shared device in the non-use state, the plot image and the base station image are used to respectively obtain the regional differences between the areas where the shared device in the non-use state is located with the maximum probability at different times; and judges whether the shared device is abnormally handled by judging whether the calculated regional difference exceeds the warning area range. Through the technical solution of the present invention, the best balance point can be found between the power consumption, positioning accuracy, equipment asset preservation and other issues caused by continuous monitoring of the location of shared devices.

[0017] The concept, specific structure and technical effects of the present invention will be further described below in conjunction with the accompanying drawings to fully understand the purpose, characteristics and effects of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a schematic diagram of an optional application scenario for implementing the shared device exception handling analysis method provided in an embodiment of the present invention.

[0019] Figure 2 It is a flowchart of a method for analyzing anomaly handling of a shared device in an embodiment of the present invention.

[0020] Figure 3 It is a schematic diagram of the process of constructing a base station portrait in an embodiment of the present invention.

[0021] Figure 4 Schematic diagram of a process of removing abnormal points from a sampling point set in an embodiment of the present invention.

[0022] Figure 5 It is a schematic diagram of the structure of an electronic terminal in an embodiment of the present invention.

[0023] Figure 6 It is a structural diagram of a shared device abnormality handling and analysis system in an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0025] Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless there is an indication to the contrary in the context. It should be further understood that the terms "comprise", "include" indicate the presence of the described features, operations, elements, components, items, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, operations, elements, components, items, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Exceptions to this definition will only occur when the combination of elements, functions or operations is inherently mutually exclusive in some way.

[0026] In order to solve the technical problems in the above-mentioned background technology, the present invention provides a shared device abnormal handling analysis method, system, terminal and medium, which can not only continuously monitor the location of shared devices, but also achieve a very good balance in low power consumption, high precision and preservation of equipment assets.

[0027] Before further describing the present invention in detail, the nouns and terms involved in the embodiments of the present invention are explained. The nouns and terms involved in the embodiments of the present invention are subject to the following explanations.

[0028] 1) Satellite positioning is a technology that uses satellites to accurately locate an object. It can achieve the simultaneous observation of satellites at any time and any point on the earth, so as to realize functions such as navigation, positioning, and timing.

[0029] 2) Base station is the interface device for mobile devices to access the Internet. It is also a form of radio station. It refers to a radio transceiver station that transmits information between mobile phone terminals through a mobile communication exchange center within a certain radio coverage area.

[0030] 3) GeoHash is an address encoding algorithm that can encode two-dimensional longitude and latitude into a one-dimensional string. The generated string represents a rectangular range rather than a point. The basic principle is to understand the earth as an unfolded two-dimensional plane, and divide this two-dimensional plane into different cells according to certain rules. Each cell has a unique code.

[0031] 4) Bayesian filtering is to process random signals through the Bayesian formula to reduce the uncertainty caused by noise.

[0032] The embodiments of the present invention provide a shared device abnormality handling analysis method, a system for implementing the shared device abnormality handling analysis method, and a storage medium storing an executable program for implementing the shared device abnormality handling analysis method. As far as the implementation of the shared device abnormality handling analysis method is concerned, the embodiments of the present invention provide a solution implemented on the terminal side and the server side, and will illustrate an exemplary implementation scenario of the shared device abnormality handling analysis. Since there are many types of shared devices, such as shared vehicles, shared batteries, shared power banks, or shared umbrellas, the following will only be explained by taking shared vehicles as an example, but the application field of the technical solution of the present invention is not limited to shared vehicles.

[0033] like Figure 1 As shown, a schematic diagram of an optional application scenario for implementing the shared device abnormality handling analysis method provided by an embodiment of the present invention is shown, and the application scenario is composed of a shared vehicle 11, a base station device 12 and a server 13. The shared vehicle 11 is equipped with a satellite positioning module for locating the vehicle position and a communication module for scanning the base station number and signal information near the vehicle.

[0034] The tracking process of the shared vehicle in this application scenario is as follows: when the user is using the vehicle (i.e., in use), the positioning module installed on the vehicle performs satellite positioning according to the preset positioning frequency. The positioning frequency refers to the number of satellite positioning within a certain period, such as the commonly used positioning frequency of GPS chips is 10Hz or even 100Hz. At the same time, while the positioning module is performing satellite positioning, the base station scanning module on the shared vehicle also scans the base station number and base station signal strength of the surrounding base stations according to the preset base station scanning frequency. The base station scanning frequency refers to the number of times the shared device scans the surrounding base stations within a certain period. For example, it can be set to be consistent with the positioning frequency of satellite positioning, or it can be inconsistent. This embodiment does not make specific limitations. The base station scanning module refers to a communication module that can establish a communication connection with a base station (such as a 4G base station communication module or a 5G base station communication module, etc.).

[0035] Subsequently, the positioning module integrates the located longitude and latitude information and positioning timestamp information according to the preset reporting probability, and reports it to the server 13 together with the base station number and base station signal strength of the surrounding base stations scanned during this period. The server 13 constructs a plot portrait and a base station portrait based on the uploaded information.

[0036] After the user turns off the smart lock of the shared vehicle 11, the shared vehicle 11 will still periodically report the base station scanning information to the server 13 when not in use (for example, reporting the base station scanning information once every 5 minutes); after obtaining the base station scanning information uploaded by the device when not in use, the server 13 queries the corresponding plot image and base station image, and calculates the maximum probability candidate grid of the shared vehicle at the corresponding time based on this, and determines whether the shared vehicle 11 has been abnormally handled (for example, abnormally moved, etc.) by comparing the maximum probability candidate grids at different times and calculating the grid threshold difference, thereby achieving the best balance in terms of power consumption, positioning accuracy and asset preservation.

[0037] In the above, an optional application scenario of the shared device exception handling analysis method is explained accordingly; in the following, the shared device exception handling analysis method, the system for implementing the shared device exception handling analysis method, and the storage medium for storing the executable program for implementing the shared device exception handling analysis method are further explained.

[0038] like Figure 2 As shown, a flow chart of a method for analyzing abnormality handling of a shared device in an embodiment of the present invention is shown, which is composed of steps S21 to S23.

[0039] Step S21: Obtain the base station scanning information uploaded by the shared device when not in use to query the corresponding plot image and base station image.

[0040] Specifically, when the shared device is not in use, it will periodically scan the Bluetooth broadcasting devices around the device to obtain base station scanning information, and the base station scanning information includes but is not limited to base station number information, base station signal strength information, etc.

[0041] The plot portrait and base station portrait are pre-constructed by the shared equipment when in use. The plot portrait refers to the a priori statistical probability of the appearance of the base station number in a given plot, and is the name of the probability distribution model of P(cell=cell_id|grid=grid_id), which refers to the ratio of the number of base station cell_id appearances in the grid_id grid to the sum of the number of all base station sets in the grid_id grid. The a priori statistical probability refers to the statistical probability obtained based on past experience and analysis; in Bayesian statistical inference, the a priori probability distribution of an uncertain quantity is a probability distribution that expresses the confidence in this quantity before considering some factors. The base station portrait is represented by P(grid=gird_id|cell=cell_id); cell_id refers to the base station number, gird_id refers to the grid number, and P(grid=gird_id|cell=cell_id) refers to the longitude and latitude of the corresponding base station and the base station signal coverage radius when the base station number is given as cell_id.

[0042] In some achievable implementations, the process of constructing the base station portrait is as follows: Figure 3 As shown, it consists of steps S31 and S32:

[0043] Step S31: obtaining satellite positioning information and base station scanning information uploaded by multiple shared devices in use, and aggregating the satellite positioning information and base station scanning information according to the base station numbers to obtain a sampling point set of each base station.

[0044] Specifically, when the shared device is in use, it will use the positioning module to perform satellite positioning according to the preset positioning frequency to obtain satellite positioning information; at the same time, it will use the base station scanning module to scan the surrounding base stations according to the preset base station scanning frequency to obtain base station scanning information; then, the shared device will upload the satellite positioning information and base station scanning information together through the communication module.

[0045] The satellite positioning information includes but is not limited to positioning longitude and latitude information, positioning timestamp information, and satellite search number information. The satellite search number refers to the number of satellites searched by the positioning system. Generally, the more satellites are searched, the higher the positioning accuracy. The base station scanning information includes but is not limited to base station number information, base station signal strength information, etc.

[0046] It should be understood that the positioning module in this embodiment can select any one or more of the following: GPS satellite positioning module, Beidou satellite positioning module, Galileo satellite positioning module, GLONASS positioning module, etc.; the GPS satellite positioning module realizes the positioning function based on the GPS global positioning system, uses navigation satellites for time measurement and distance measurement, and has all-round real-time three-dimensional navigation and positioning capabilities at sea, on land and in the air; the Beidou satellite positioning module realizes the positioning function based on the Beidou global positioning system, and consists of three parts: a space segment, a ground segment and a user segment. It can provide high-precision, highly reliable positioning, navigation, timing and other services to various users around the world all day and all day, and has short message communication capabilities; the Galileo satellite positioning module realizes the positioning function based on the GSNS global positioning system, and the system consists of 30 satellites with an orbital altitude of 23616km; the GLONASS positioning module realizes the positioning function based on the GLONASS global positioning system, and consists of three parts: a satellite constellation, a ground monitoring and control station and a user device.

[0047] Since each shared vehicle will upload satellite positioning information and base station scanning information, the satellite positioning information and base station scanning information uploaded by multiple shared vehicles can be aggregated according to the base station number to obtain a set of sampling points corresponding to each nearby base station. Specifically, a sampling point set refers to an information set consisting of multiple sampling points; the base station information scanned by the positioning module on the shared vehicle during positioning is called a sampling point of the base station. The server side will receive the sampling points reported by multiple shared vehicles, and aggregate these sampling points according to the base station number to obtain the corresponding sampling point set.

[0048] Step S32: After removing abnormal points from the sampling point set and screening the sampling data quality, base station modeling is performed to construct the base station portrait.

[0049] In some preferred embodiments, before constructing the base station portrait, the sampling point set is first subjected to outlier elimination and sampling data quality screening, and a higher-precision base station portrait is constructed using the remaining high-quality sampling data in the sampling point set.

[0050] In some examples, the process of removing outliers from the sampling point set is as follows: Figure 4 As shown, it consists of steps S41 and S42:

[0051] Step S41: establishing a sampling center point in the sampling point set.

[0052] Among them, the method for determining the sampling center point includes: performing weighted average calculation on the longitude and latitude of the sampling point set, and using the calculation result as the sampling center point of the sampling point set. The sampling center point of each sampling point set can be calculated based on the sampling point set with the base station ID in the sampling point data as the key value. Suppose there are k sampling points in the sampling point set (that is, there are k shared vehicles scanning this base station ID during positioning), and the corresponding shared vehicle positioning information for each scan is respectively expressed as {(X1,Y1),(X2,Y2)……(X k ,Y k )}. Therefore, the center point of the base station can be expressed as (Cell_id_x,Cell_id_y), and the calculation method is:

[0053] Cell_id_x = sum(X1,X2,…X k ) / k, Cell_id_y = sum(Y1,Y2,…Y k ) / k; Formula 1)

[0054] Step S42: Calculate the distance from each sampling point in the sampling point set to the sampling center point with the sampling center point as the center, and remove the sampling points that exceed the preset radius threshold as abnormal sampling points.

[0055] The distance between each sampling point and the sampling center point refers to the distance between their longitude and latitude coordinates. The calculation process of the distance between longitude and latitude coordinates is as follows: for the convenience of description, in the following example, the sampling center point is denoted as point A, and any sampling point in the sampling point set is denoted as point B. The distance calculation formula between point A and point B is as follows:

[0056] d = 111.12cos{1 / [sinΦAsinΦB + cosΦAcosΦBcos(λB - λA)]}; Formula 2)

[0057] Among them, d represents the distance between point A and point B; λA and ΦA respectively represent the longitude and latitude of point A; λB and ΦB respectively represent the longitude and latitude of point B. In addition, the distance of one minute of latitude at all places on the earth is approximately equal to 1.86 kilometers, that is, one degree is equal to (1.86 * 60), which is approximately 111 kilometers. The actual length of one minute on the longitude line at different latitudes is different.

[0058] In some examples, the method for screening the sampling data quality after removing the abnormal points from the sampling point set includes any one or two of the following:

[0059] The first sampling data quality screening method: set a preset threshold for the number of satellite acquisitions, and filter out the sampling points with the number of satellite acquisitions lower than the preset threshold for the number of satellite acquisitions, and do not participate in the construction process of the base station portrait.

[0060] The second method of sampling data quality screening: set a positioning accuracy filtering threshold, filter out sampling points whose positioning accuracy does not meet the positioning accuracy filtering threshold, and do not participate in the construction process of the base station portrait. Among them, the positioning accuracy is represented by the PDOP (Position Dilution of Precision) value, which refers to the square root of the sum of squares of errors such as latitude, longitude and elevation, and refers to the geometric distribution of satellites. The better the distribution of satellites in the sky, the higher the positioning accuracy, and the smaller the PDOP value, the higher the accuracy.

[0061] Step S22: Calculate the maximum probability candidate grid of the shared device at the corresponding time according to the plot portrait and the base station portrait.

[0062] In some examples, the calculation process of the maximum probability candidate grid of the shared device includes: querying the plot portrait of each candidate grid in the candidate grid set at the corresponding moment based on the base station scanning information; calculating the base station portrait of each candidate grid at the current moment based on the plot portrait at the previous moment and the base station portrait at the previous moment, obtaining the probability value of the shared device appearing in each candidate grid, and selecting the candidate grid with the largest probability value as the maximum probability candidate grid; the above calculation process is actually solved using the Bayesian filtering algorithm.

[0063] The process of the Bayesian filtering algorithm is as follows: first, initialization is performed to calculate the prior distribution probability p(x0) of the initial state; then a prediction step is performed to estimate the kth hidden state using the first (k-1) observations; finally, an update step is performed to obtain the probability of the kth observation using the prediction result of the previous step and the newly added kth observation combined with the Bayesian formula.

[0064] The specific application of the above Bayesian filtering algorithm in this embodiment is as follows:

[0065] First, initialization should be performed, and the initial position information is recorded as (X0, Y0). The geohash7 method is used to project it to the candidate grids within the corresponding surrounding threshold range to obtain the initial probability distribution (i.e., the probability value of the shared vehicle in each candidate grid).

[0066] Subsequently, every time the shared vehicle scans the base station to upload the base station information update, it uploads the base station number information ID, queries the plot image corresponding to the candidate grid, calculates the base station image of each candidate grid at the current moment, and normalizes all base station images.

[0067] The specific calculation method of the base station portrait of each candidate grid at the current moment is as follows: let the current moment be time t, and the previous moment be time (t-1). Therefore, based on the Bayesian filtering algorithm, the base station portrait of the candidate grid at the current moment can be expressed as:

[0068] P(grid_t=grid_id|cell=cell_id)=

[0069] P(cell=cell_id|grid_t-1=grid_id)*P(grid_t-1=grid_id); Formula 3)

[0070] Wherein, P(grid_t=grid_id|cell=cell_id) represents the probability of a shared vehicle being in a grid numbered grid_id when a base station numbered cell_id is scanned at time t. P(grid_t-1=grid_id) represents the probability of a shared vehicle being in a grid numbered grid_id at time (t-1). P(cell=cell_id|grid_t-1=grid_id) represents the probability of a shared vehicle being in a grid numbered grid_id when a base station numbered cell_id is scanned at time (t-1).

[0071] Step S23: comparing the maximum probability candidate grids of the shared device at different times and calculating the grid threshold difference; if the grid threshold difference exceeds the warning area range, it is determined that the shared device is abnormally handled.

[0072] It should be understood that since the shared device will still report the base station scanning information regularly when not in use, the server calculates the maximum probability candidate grid based on the base station scanning information reported each time. The maximum probability candidate grid actually refers to the most recent and most likely location of the shared device. Therefore, by comparing the maximum probability candidate grids of the shared device at different times, it is possible to identify whether the shared device has been abnormally moved and thus caused asset loss. The specific applications are as follows:

[0073] Check the maximum probability candidate grids at different times, and compare the threshold differences between the maximum probability candidate grids at different times; for example, if you want to compare the difference between time (t-5) and time t, first calculate according to the above formula 3): the maximum probability candidate grid P(grid_t-5=grid_id|cell=cell_id) at time (t-5), and the maximum probability candidate grid P(grid_t=grid_id|cell=cell_id) at time t, and compare the regional differences between these two maximum probability candidate grids. If the regional difference is too large and exceeds the area range that requires an alarm, it means that the shared device has been abnormally handled (such as illegal movement, etc.). In this case, an asset tracking task can be issued from the cloud to stop the loss in time.

[0074] The shared device abnormality handling analysis method provided in the embodiment of the present invention can be implemented on the terminal side or the server side. As for the hardware structure of the server side device, please refer to Figure 5 :The electronic terminal 500 can be a mobile phone, an electronic terminal, a tablet device, a personal digital processing, a server device, etc. The electronic terminal 500 includes: at least one processor 501, a memory 502, at least one network interface 504 and a user interface 506. The various components in the image classification device are coupled together through a bus system 505. It can be understood that the bus system 505 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Figure 5 In the specification, various buses are labeled as bus systems.

[0075] The user interface 506 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.

[0076] It is understood that the memory 502 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM). The memory described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable categories of memory.

[0077] The memory 502 in the embodiment of the present invention is used to store various categories of data to support the operation of the electronic terminal 500. Examples of these data include: any executable program used to operate on the electronic terminal 500, such as an operating system 5021 and an application 5022; an original image; a new image obtained by transforming the original image, etc.; wherein the operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 5022 may include various applications, such as a media player (MediaPlayer), a browser (Browser), etc., for implementing various application services. The image classification method provided in the embodiment of the present invention may be included in the application 5022.

[0078] The method disclosed in the above embodiment of the present invention can be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 501 or the instruction in the form of software. The above processor 501 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 501 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor 501 may be a microprocessor or any conventional processor, etc. The steps of the image classification method provided in combination with the embodiment of the present invention can be directly embodied as a hardware decoding processor to perform, or a combination of hardware and software modules in the decoding processor to perform. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0079] In an exemplary embodiment, the electronic terminal 500 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD) to execute the aforementioned method.

[0080] like Figure 6 , which shows a schematic diagram of the structure of a shared device abnormality handling and analysis system in an embodiment of the present invention. The shared device abnormality handling and analysis system 600 includes: a portrait module 601, a candidate grid module 602, and an abnormality analysis module 603.

[0081] The portrait module 601 is used to obtain the base station scanning information uploaded by the shared device when it is not in use to query the corresponding plot portrait and base station portrait; the candidate grid module 602 is used to calculate the maximum probability candidate grid of the shared device based on the plot portrait and base station portrait; the abnormality analysis module 603 is used to compare the maximum probability candidate grids of the shared device at different times and calculate the grid threshold difference; if the grid threshold difference exceeds the warning area range, it is determined that the shared device is treated abnormally.

[0082] In some examples, the portrait module 601 is used to perform the following: obtaining satellite positioning information and base station scanning information uploaded by multiple shared devices when in use, aggregating the satellite positioning information and base station scanning information according to the base station number to obtain a sampling point set of each base station; performing base station modeling after removing abnormal points from the sampling point set and screening the sampling data quality to construct the base station portrait.

[0083] The process of removing abnormal points from the sampling point set includes: establishing a sampling center point in the sampling point set; calculating the distance from each sampling point in the set to the sampling center point with the sampling center point as the center of the circle, and removing the sampling points exceeding a preset radius threshold as abnormal sampling points; wherein the method for establishing the sampling center point includes: performing weighted average calculation on the longitude and latitude of the sampling point set, and obtaining the calculation result as the sampling center point of the sampling point set.

[0084] The method of screening the sampling data quality of the sampling point set includes any one or both of the following: setting a preset threshold for the number of satellite search, and filtering out the sampling points whose number of search satellites is lower than the preset threshold for the number of satellite search; setting a positioning accuracy filtering threshold, and filtering out the sampling points whose positioning accuracy does not meet the positioning accuracy filtering threshold.

[0085] In some examples, the plot portrait at the previous moment is the probability value of the base station scanned by the shared device at the previous moment appearing in the candidate grid; the base station portrait at the previous moment is the longitude and latitude of the base station at the previous moment and the base station signal coverage radius; the base station portrait at the current moment is the longitude and latitude of the base station at the current moment and the base station signal coverage radius.

[0086] In some examples, the portrait module 601 obtains base station scanning information uploaded by the shared device when not in use, including: using the base station scanning module on the device to scan surrounding base stations according to a preset base station scanning frequency to obtain base station number information and base station signal strength information.

[0087] It should be noted that: the shared device abnormality handling analysis system provided in the above embodiment only uses the division of the above program modules as an example when performing shared device abnormality handling analysis. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the image classification device and the image classification method embodiment provided in the above embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0088] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the shared device exception handling and analysis method is implemented.

[0089] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the shared device exception handling and analysis method is implemented.

[0090] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

[0091] In the embodiments provided by the present invention, the computer readable and writable storage medium may include a read-only memory, a random access memory, an EEPROM, a CD-ROM or other optical disk storage device, a magnetic disk storage device or other magnetic storage device, a flash memory, a USB flash drive, a mobile hard disk, or any other medium that can be used to store the desired program code in the form of an instruction or data structure and can be accessed by a computer. In addition, any connection can be appropriately referred to as a computer-readable medium. For example, if the instruction is sent from a website, a server or other remote source using a coaxial cable, an optical fiber cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, the coaxial cable, optical fiber cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. However, it should be understood that computer readable and writable storage media and data storage media do not include connections, carriers, signals, or other temporary media, but are intended to be non-temporary, tangible storage media. Disk and disc, as used in this application, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.

[0092] In summary, the present invention provides a method, system, terminal and medium for analyzing abnormal handling of shared equipment, aiming to construct a plot portrait and a base station portrait based on the positioning information and base station scanning information uploaded by the shared equipment when it is in use; and according to the base station scanning information uploaded regularly by the shared equipment when it is not in use, use the plot portrait and the base station portrait to respectively obtain the regional differences between the areas where the shared equipment in the non-use state is most likely to be located at different times; and judge whether the shared equipment is handled abnormally by judging whether the calculated regional differences exceed the warning area range. Through the technical solution of the present invention, the best balance point can be found between the power consumption, positioning accuracy, equipment asset preservation and other issues caused by continuous monitoring of the location of shared equipment. Therefore, the present invention effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.

[0093] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A method for analyzing abnormality handling of shared equipment, characterized in that: include: Obtain the base station scanning information uploaded by the shared device when it is not in use to query the corresponding plot image and base station image; Calculate the maximum probability candidate grid of the shared device at the corresponding time according to the plot portrait and the base station portrait; Compare the maximum probability candidate grids of the shared device at different times and calculate the grid threshold difference; If the grid threshold difference exceeds the warning area range, it is determined that the shared device is abnormally handled; The plot portrait is a priori statistical probability value of the base station scanned by the shared device appearing in the candidate grid, and the base station portrait is the longitude and latitude of the corresponding base station and the base station signal coverage radius.

2. The method for analyzing abnormality handling of shared devices according to claim 1, characterized in that: The calculation process of the maximum probability candidate grid of the shared device includes: Querying the plot image of each candidate grid in the candidate grid set at a corresponding time according to the base station scanning information; Based on the plot portrait at the previous moment and the base station portrait at the previous moment, the base station portrait of each candidate grid at the current moment is calculated to obtain the probability value of the shared device appearing in each candidate grid, and the candidate grid with the largest probability value is selected as the maximum probability candidate grid.

3. The method for analyzing abnormality handling of shared equipment according to claim 2, characterized in that: The process of constructing the base station portrait includes: Obtain satellite positioning information and base station scanning information uploaded by multiple shared devices in use, and aggregate the satellite positioning information and base station scanning information according to the base station number to obtain a sampling point set of each base station; After outliers are removed from the sampling point set and the sampling data quality is screened, base station modeling is performed to construct the base station portrait.

4. The method for analyzing abnormality handling of shared equipment according to claim 3, characterized in that: The process of removing abnormal points from the sampling point set includes: Establishing a sampling center point in the sampling point set; The distance between each sampling point in the sampling point set and the sampling center point is calculated with the sampling center point as the center of the circle, and sampling points exceeding a preset radius threshold are removed as abnormal sampling points; The method for establishing the sampling center point includes: performing weighted average calculation on the longitude and latitude of the sampling point set, and obtaining the calculation result as the sampling center point of the sampling point set.

5. The method for analyzing abnormality handling of shared equipment according to claim 3, characterized in that: Methods for screening the sampling data quality of the sampling point set include any one or both of the following: Setting a preset threshold value for the number of satellite search, and filtering out sampling points whose number of satellite search is lower than the preset threshold value; A positioning accuracy filtering threshold is set to filter out sampling points whose positioning accuracy does not meet the positioning accuracy filtering threshold.

6. The method for analyzing abnormality handling of shared equipment according to claim 2, characterized in that: The plot portrait at the last moment is a probability value of the base station scanned by the sharing device at the last moment appearing in the candidate grid; The base station portrait at the previous moment is the longitude and latitude of the base station at the previous moment and the base station signal coverage radius; the base station portrait at the current moment is the longitude and latitude of the base station at the current moment and the base station signal coverage radius.

7. The method for analyzing abnormality handling of shared equipment according to claim 1, characterized in that: The obtaining of base station scanning information uploaded by the shared device in a non-use state includes: The base station number information and base station signal strength information are obtained by scanning surrounding base stations according to a preset base station scanning frequency using a base station scanning module on the shared device when the shared device is not in use.

8. A shared equipment abnormality handling and analysis system, characterized in that: include: The portrait module is used to obtain the base station scanning information uploaded by the shared device when it is not in use to query the corresponding plot portrait and base station portrait; A candidate grid module, used to calculate the maximum probability candidate grid of the shared device at a corresponding time according to the plot portrait and the base station portrait; An anomaly analysis module, used to compare the maximum probability candidate grids of the shared device at different times and calculate the grid threshold difference; If the grid threshold difference exceeds the warning area range, it is determined that the shared device is abnormally handled; The plot portrait is a priori statistical probability value of the base station scanned by the shared device appearing in the candidate grid, and the base station portrait is the longitude and latitude of the corresponding base station and the base station signal coverage radius.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the shared device abnormality handling and analysis method described in any one of claims 1 to 7 is implemented.

10. An electronic terminal, characterized in that: include: Processor and memory; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory, so that the terminal executes the shared device abnormality handling and analysis method according to any one of claims 1 to 7.