WO2019061988A1 - 基于无线设备的定位装置、方法及计算机可读存储介质 - Google Patents

基于无线设备的定位装置、方法及计算机可读存储介质 Download PDF

Info

Publication number
WO2019061988A1
WO2019061988A1 PCT/CN2018/076133 CN2018076133W WO2019061988A1 WO 2019061988 A1 WO2019061988 A1 WO 2019061988A1 CN 2018076133 W CN2018076133 W CN 2018076133W WO 2019061988 A1 WO2019061988 A1 WO 2019061988A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal strength
strength data
positioning
mobile terminal
wireless device
Prior art date
Application number
PCT/CN2018/076133
Other languages
English (en)
French (fr)
Inventor
涂宏
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019061988A1 publication Critical patent/WO2019061988A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • 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
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/0009Transmission of position information to remote stations
    • 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
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/04Position of source determined by a plurality of spaced direction-finders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/003Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination

Definitions

  • the present application relates to the field of wireless positioning technologies, and in particular, to a wireless device-based positioning apparatus, method, and computer readable storage medium.
  • the wireless signal transmitting device (such as a wireless router) can be deployed in the indoor environment to estimate the signals of the devices detected by the mobile terminal and the known location information of the devices, and the mobile terminal is estimated. position.
  • the server and the mobile terminal continuously interact to continuously locate the location of the mobile terminal.
  • some signals may deviate due to communication delays between the mobile terminal and the server, fluctuations in the detected signals, etc., but for the server, it is not automatically determined whether the signal deviates, but directly The position is estimated according to the signal and returned to the display of the mobile terminal, resulting in an unreasonable positioning point also displayed on the mobile, resulting in low positioning accuracy.
  • the present application provides a wireless device-based positioning apparatus, method, and computer readable storage medium, the main purpose of which is to improve positioning accuracy based on positioning of a wireless device.
  • the present application provides a wireless device-based positioning device, which includes a memory and a processor, wherein the memory stores a positioning program executable on the processor, and the positioning program is The processor implements the following steps when it executes:
  • the present application further provides a wireless device-based positioning method, where the method includes:
  • the mobile terminal And receiving, by the mobile terminal, the device signal information reported by the mobile terminal, where the mobile terminal detects the signal strength of the wireless device and generates the device signal information report when the reporting time interval reaches a preset time interval;
  • A2 Calculate, according to a preset positioning algorithm, a first position coordinate of the mobile terminal according to signal strength data in the device signal information;
  • A3. Acquire gait data of the mobile terminal in the preset time interval from the device signal information, and determine, according to the gait data, a moving distance between the mobile terminal and a previous positioning point, and Calculating a prediction area of the current positioning point according to the moving distance;
  • A4 determining whether the first position coordinate is located in the prediction area, and if yes, determining that the current positioning is effective positioning, transmitting the first position coordinate to the mobile terminal, and if not, determining that the current positioning is invalid. Positioning, and sending a prompt message for the positioning failure to the mobile terminal.
  • the present application further provides a computer readable storage medium having a positioning program stored thereon, the positioning program being executable by one or more processors to implement the following steps :
  • the mobile terminal And receiving the device signal information reported by the mobile terminal, where the mobile terminal detects the signal strength of the wireless device and generates the device signal information and reports the device signal to the device when the reporting time interval reaches a preset time interval;
  • B4. Determine whether the first position coordinate is located in the prediction area, and if yes, determine that the current positioning is effective positioning, and send the first position coordinate to the mobile terminal, and if not, determine that the current positioning is invalid. Positioning, and sending a prompt message for the positioning failure to the mobile terminal.
  • the present application further provides a wireless device-based positioning device, where the positioning device includes:
  • the receiving module is configured to receive the device signal information reported by the mobile terminal, where the mobile terminal detects the signal strength of the wireless device and generates the device signal information to report to the device when the reporting time interval reaches a preset time interval;
  • a first calculating module configured to calculate, according to a preset positioning algorithm, a first position coordinate of the mobile terminal according to signal strength data in the device signal information
  • a second calculating module configured to acquire gait data of the mobile terminal in the preset time interval from the device signal information, and determine, according to the gait data, that the mobile terminal is located between the last positioning point The moving distance, and calculating the predicted area of the positioning point according to the moving distance;
  • the determining module is configured to determine whether the first position coordinate is located in the prediction area, and if yes, determine that the current positioning is effective positioning, and send the first position coordinate to the mobile terminal, and if not, determine the current position The positioning is invalid positioning, and the prompt information of the positioning failure is sent to the mobile terminal.
  • the wireless device-based positioning apparatus, method, and computer readable storage medium provided by the present application receive device signal information reported by the mobile terminal, and calculate a first position coordinate of the mobile terminal according to the preset positioning algorithm according to the device signal information. Obtaining gait data from the device signal information, determining a moving distance between the mobile terminal and the last positioning point according to the gait data, calculating a prediction area where the positioning point may be located according to the moving distance, and determining whether the first position coordinate is located at the In the prediction area, if yes, it is determined that the current positioning is valid, and the first position coordinate is transmitted to the mobile terminal.
  • the present application performs the validity of the calculated first position coordinate by combining the gait data detected by the mobile terminal. It is judged that when the obtained position coordinate is within the above prediction area, it will be sent to the mobile terminal, so as to prevent the unreasonable positioning point from being displayed on the mobile, thereby improving the positioning accuracy.
  • FIG. 1 is a schematic diagram of a preferred embodiment of a wireless device-based positioning device according to the present application.
  • FIG. 2 is a schematic diagram of functional modules of a positioning procedure in an embodiment of a wireless device-based positioning device according to the present application
  • FIG. 3 is a flowchart of a first embodiment of a method for positioning a wireless device according to the present application.
  • the application provides a wireless device based positioning device.
  • FIG. 1 it is a schematic diagram of a preferred embodiment of a wireless device-based positioning device of the present application.
  • the wireless device-based positioning device may be a PC (Personal Computer), or may be a smart phone, a tablet computer, an e-book reader, or an MP3 (Moving Picture Experts Group Audio Layer III). Compressed standard audio layer 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV) player, portable computer and other portable terminal devices with display functions.
  • PC Personal Computer
  • MP3 Moving Picture Experts Group Audio Layer III
  • Compressed standard audio layer 3 Player Compressed standard audio layer 3 Player
  • MP4 Moving Picture Experts Group Audio Layer IV
  • the wireless device based positioning device includes a memory 11, a processor 12, a communication bus 13, and a network interface 14.
  • the memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (for example, an SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like.
  • the memory 11 may in some embodiments be an internal storage unit of a wireless device based positioning device, such as a hard disk of the wireless device based positioning device.
  • the memory 11 may also be an external storage device of a wireless device-based positioning device in other embodiments, such as a plug-in hard disk equipped on a wireless device-based positioning device, a smart memory card (SMC), a secure digital device. (Secure Digital, SD) card, flash card, etc.
  • the memory 11 may also include both an internal storage unit of the wireless device-based positioning device and an external storage device.
  • the memory 11 can be used not only for storing application software installed in a wireless device-based pointing device and various types of data, such as code for locating a program, but also for temporarily storing data that has been output or is to be output.
  • the processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data processing chip for running program code or processing stored in the memory 11. Data, such as performing a positioning program, and the like.
  • CPU Central Processing Unit
  • controller microcontroller
  • microprocessor or other data processing chip for running program code or processing stored in the memory 11.
  • Data such as performing a positioning program, and the like.
  • Communication bus 13 is used to implement connection communication between these components.
  • the network interface 14 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), and is typically used to establish a communication connection between the device and other electronic devices.
  • a standard wired interface such as a WI-FI interface
  • FIG. 1 shows only a wireless device-based positioning device having components 11-14 and a positioning procedure, but it should be understood that not all illustrated components may be implemented, and more or fewer components may be implemented instead.
  • the device may further include a user interface
  • the user interface may include a display
  • an input unit such as a keyboard
  • the optional user interface may further include a standard wired interface and a wireless interface.
  • the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch sensor, or the like.
  • the display may also be suitably referred to as a display screen or display unit for displaying information processed in the wireless device-based positioning device and a user interface for displaying the visualization.
  • a location program is stored in the memory 11; when the processor 12 executes the location program stored in the memory 11, the following steps are implemented:
  • S1 Receive device signal information reported by the mobile terminal, where the mobile terminal detects the signal strength of the wireless device and generates device signal information to report to the device when the reporting time interval reaches a preset time interval.
  • a plurality of wireless access points such as a wireless device such as a wifi device, a Bluetooth device, and a radio frequency signal device, are disposed in the positioning area, and the mobile terminal is within the coverage of the wireless access point when moving in the positioning area.
  • the wireless signal transmitted by the wireless access point is continuously detected.
  • each wireless access point device has a globally unique MAC (Media Access Control) address, and in general, the location of the device does not move, in the positioning device.
  • MAC Media Access Control
  • the location coordinates of the wireless device in the location area are stored, and the mobile terminal can scan and collect the surrounding wifi signals when the wifi is turned on, and obtain the MAC address broadcast by the wireless device, and the signal strength detected by the mobile terminal.
  • the current location of the mobile terminal is returned and returned to the mobile terminal for positioning.
  • the mobile terminal reports the device signal information once every predetermined time interval.
  • the device signal information includes the signal strength data and the gait data detected by the mobile terminal during the preset time interval.
  • the signal strength data includes the detected signal strength of the plurality of wireless devices and the corresponding wireless device's MAC address or SSID (Service Set Identifier), which can uniquely identify the device.
  • the mobile terminal reports the detected device signal information every 2 seconds.
  • the first position coordinates of the mobile terminal are calculated according to the signal strengths of the plurality of wireless devices.
  • the positional coordinates of the mobile terminal may be calculated by using a triangulation algorithm, when the position coordinates of three or more wireless devices are determined, and the signal strength of the wireless device detected according to the mobile terminal.
  • the distances of the mobile terminals from the wireless devices can be determined, and the location coordinates of the mobile terminal can be calculated according to the above information.
  • the location coordinates of the mobile terminal are calculated by a classification algorithm, for example, using a random forest model calculation, the position coordinates of all wireless devices are collected, and the classifier is trained by the signal strength data detected by the mobile terminal with known position coordinates, and the classifier is determined.
  • the model parameters determine the relationship between the position coordinates of the mobile terminal and the detected signal strength and the position coordinates of the corresponding wireless device.
  • the calculated average value of the signal strength data of each wireless device is input into the trained classifier, and the current position coordinates of the mobile terminal are calculated.
  • the mobile terminal is provided with a sensor such as an acceleration sensor and a gyroscope.
  • the gait data detected by the mobile terminal includes the step frequency and the number of steps of the mobile terminal in the preset time interval detected by the sensor, and the device sends the mobile device from the mobile terminal.
  • the position coordinate of the secondary positioning is the center of the circle, and a circular area is defined by the calculated moving distance as a radius.
  • the positioning is effective. Sending the first position coordinate to the mobile terminal; if it is detected that the first position coordinate exceeds the range of the prediction area, determining that the current positioning is invalid, and transmitting the prompt information of the positioning failure to the mobile terminal, thereby avoiding the unreasonable positioning of the mobile terminal .
  • the positioning device of the wireless device receives the device signal information reported by the mobile terminal, and calculates the first position coordinate of the mobile terminal according to the preset positioning algorithm according to the device signal information, and acquires the step from the device signal information.
  • State data according to the gait data, determine the moving distance between the mobile terminal and the last positioning point, calculate the prediction area where the positioning point may be located according to the moving distance, and determine whether the first position coordinate is located in the prediction area, and if so, It is determined that the current positioning is valid, and the first position coordinate is sent to the mobile terminal.
  • the present application determines the validity of the calculated first position coordinate by combining the gait data detected by the mobile terminal, and obtains the position coordinate. When it is in the above prediction area, it will be sent to the mobile terminal to avoid unreasonable positioning points from being displayed on the mobile, thereby improving positioning accuracy.
  • step S2 may include the following refinement steps:
  • each set of signal strength data includes signal strength data of a plurality of wireless devices, where >1.
  • the mobile terminal detects and reports the signal strength data once every predetermined time interval, for example, the preset time interval is 2 seconds, and the wireless detection is performed n times consecutively when the time interval from the last report reaches 2 seconds.
  • the signal strength of the device generates n sets of second signal strength data.
  • the positioning device performs filtering processing on these signals, and selects appropriate signal data for calculating the position coordinates of the mobile terminal.
  • Each set of signal strength data includes detected signal strengths of multiple wireless devices and corresponding wireless. Identification information of the device, such as SSID.
  • the step of calculating the amount of deviation of the signal strength data of the wireless device includes calculating an average value of the signal strength data of the wireless device, and using a difference between the signal strength data and the average value as a deviation amount of the signal strength data. It is assumed that each group of signal strength data includes signal strength data of six wireless devices, and the positioning server separately counts 10 signal strength data corresponding to each signal device according to the above 10 sets of signal strength data. For each wireless device, filter the 10 signal strength data, first calculate the deviation of each wireless signal strength data, and assume that there are n signal strength data corresponding to each device, then the n signal strength data The calculation formula of the deviation amount ⁇ i of the i-th signal strength data intensity p i in the intensity is as follows:
  • the signal strength data of the wireless device is filtered. Specifically, when filtering the signal strength data of a wireless device, calculating a deviation amount of the signal strength data of the wireless device; determining, according to the total number of the signal strength data of the wireless device and the preset weight, the deletion The number m of signal strength data is used to delete m signal strength data with the largest amount of deviation in the signal strength data of the wireless device, where m ⁇ n.
  • the positioning device based on the wireless device in the embodiment is detected and reported by the mobile terminal multiple times, and the positioning server filters the data according to the multiple signal strength results to reduce the deviation or fluctuation of the signal strength. Influence and improve positioning accuracy.
  • a third embodiment of the wireless device-based positioning device of the present application is proposed based on the above-described first embodiment.
  • the above steps S2 to S4 may be replaced by the following steps:
  • the mobile terminal detects the signal strength data twice and reports it to the positioning device.
  • the positioning device acquires the first signal strength data and the second signal strength data from the device signal information, and respectively calculates the preset positioning algorithm.
  • Obtaining the second position coordinate and the third position coordinate determining whether the positioning is reasonable by the distance between the two coordinates, since the interval of the signal strength data detected twice consecutively is very short, negligible, so in the case of reasonable positioning
  • the distance between the coordinates of the two positioning will be very small. When the distance is large, it indicates that there may be a deviation in the positioning. It can be determined that the positioning is invalid. If the distance is smaller than the preset distance, the positioning is determined to be reasonable.
  • the second location coordinate or the third location is sent to the mobile terminal for display by the mobile terminal.
  • the preset distance can be set by actual conditions.
  • the positioning program may also be divided into one or more modules, one or more modules are stored in the memory 11 and processed by one or more processors (this embodiment is processed The processor 12 is executed to complete the application.
  • a module referred to in this application refers to a series of computer program instruction segments capable of performing a specific function for describing the execution process of the positioning program in a wireless device-based positioning device.
  • FIG. 2 it is a schematic diagram of a function module of a positioning program in an embodiment of a wireless device-based positioning device according to the present application.
  • the positioning program may be divided into a receiving module 10, a first computing module 20,
  • the second calculation module 30, the determination module 40 and the module 50 are exemplarily:
  • the receiving module 10 is configured to: receive the device signal information reported by the mobile terminal, where the mobile terminal detects the signal strength of the wireless device and generates the device signal information to report to the device when the reporting time interval reaches a preset time interval;
  • the first calculating module 20 is configured to: calculate, according to a preset positioning algorithm, a first position coordinate of the mobile terminal according to signal strength data in the device signal information;
  • the second calculating module 30 is configured to: obtain gait data of the mobile terminal in the preset time interval from the device signal information, and determine, according to the gait data, that the mobile terminal is located from a previous positioning point The moving distance between the two, and calculating the predicted area of the current positioning point according to the moving distance;
  • the determining module 40 is configured to: determine whether the first position coordinate is located in the prediction area, and if yes, determine that the current positioning is effective positioning, and send the first position coordinate to the mobile terminal, and if not, determine the present The secondary positioning is invalid positioning, and the prompt information of the positioning failure is sent to the mobile terminal.
  • the first calculating module 20, the second calculating module 30, and the determining module 40 may be replaced by:
  • a data acquisition module configured to acquire first signal strength data and second signal strength data from the device signal information
  • a third calculating module configured to calculate, according to the preset positioning algorithm, a second position coordinate to the mobile terminal according to the first signal strength data, and calculate, according to the second signal strength data, the mobile terminal Three position coordinates;
  • a fourth calculating module configured to calculate a distance between the second position coordinate and the third position coordinate, and determine whether the distance is greater than a preset distance
  • the first determining module is configured to: if yes, determine that the current positioning is invalid positioning, and send the prompt information of the positioning failure to the mobile terminal, if not, determine that the current positioning is effective positioning, and the third position coordinate Send to mobile terminal.
  • the present application also provides a wireless device-based positioning method.
  • FIG. 3 it is a flowchart of a first embodiment of a wireless device-based positioning method according to the present application.
  • the wireless device-based positioning method includes:
  • Step S10 Receive device signal information reported by the mobile terminal, where the mobile terminal detects the signal strength of the wireless device and generates device signal information to report to the method when the reporting time interval reaches a preset time interval.
  • Step S20 Calculate, according to a preset positioning algorithm, a first position coordinate of the mobile terminal according to signal strength data in the device signal information.
  • the method proposed in the embodiments of the present application may be performed by a device, which may be implemented by software and/or hardware.
  • the device may be a positioning server, and a plurality of wireless access points, such as a wireless device such as a wifi device, a Bluetooth device, and a wireless radio frequency signal device, are disposed in the positioning area, and the coverage of the wireless access point when the mobile terminal moves in the positioning area Within, the wireless signal transmitted by the wireless access point is continuously detected.
  • a wifi device for a wireless access point, each wireless access point device has a globally unique MAC (Media Access Control) address, and in general, the location of the device does not move.
  • MAC Media Access Control
  • the location coordinates of the wireless device in the location area are stored, and the mobile terminal can scan and collect the surrounding wifi signals when the wifi is turned on, and obtain the MAC address broadcast by the wireless device, and the signal strength detected by the mobile terminal. And the MAC address of the corresponding device is sent to the positioning server, because the distance of the mobile device is determined according to the signal strength detected by the mobile terminal, the positioning server can calculate the information according to the received information and the location coordinates of the stored device. The current location of the mobile terminal is returned and returned to the mobile terminal for positioning.
  • the mobile terminal reports the device signal information once every predetermined time interval.
  • the device signal information includes the signal strength data and the gait data detected by the mobile terminal during the preset time interval.
  • the signal strength data includes the detected signal strength of the plurality of wireless devices and the corresponding wireless device's MAC address or SSID (Service Set Identifier), which can uniquely identify the device.
  • the mobile terminal reports the detected device signal information every 2 seconds.
  • the first position coordinates of the mobile terminal are calculated according to the signal strengths of the plurality of wireless devices.
  • the positional coordinates of the mobile terminal may be calculated by using a triangulation algorithm, when the position coordinates of three or more wireless devices are determined, and the signal strength of the wireless device detected according to the mobile terminal.
  • the distances of the mobile terminals from the wireless devices can be determined, and the location coordinates of the mobile terminal can be calculated according to the above information.
  • the location coordinates of the mobile terminal are calculated by a classification algorithm, for example, using a random forest model calculation, the position coordinates of all wireless devices are collected, and the classifier is trained by the signal strength data detected by the mobile terminal with known position coordinates, and the classifier is determined.
  • the model parameters determine the relationship between the position coordinates of the mobile terminal and the detected signal strength and the position coordinates of the corresponding wireless device.
  • the calculated average value of the signal strength data of each wireless device is input into the trained classifier, and the current position coordinates of the mobile terminal are calculated.
  • step S30 the gait data of the mobile terminal in the preset time interval is obtained from the device signal information, and the moving distance between the mobile terminal and the last positioning point is determined according to the gait data. And calculating a prediction area of the current positioning point according to the moving distance.
  • Step S40 determining whether the first position coordinate is located in the prediction area, and if yes, determining that the current positioning is effective positioning, and transmitting the first position coordinate to the mobile terminal, and if not, determining that the current positioning is Invalid positioning, and sending the prompt information of the positioning failure to the mobile terminal.
  • the mobile terminal is provided with an acceleration sensor, a gyroscope and the like.
  • the gait data detected by the mobile terminal includes the step frequency and the number of steps of the mobile terminal in the preset time interval detected by the sensor, and the positioning server sends the mobile terminal from the mobile terminal.
  • the position coordinate of the secondary positioning is the center of the circle, and a circular area is defined by the calculated moving distance as a radius.
  • the positioning is effective. Sending the first position coordinate to the mobile terminal; if it is detected that the first position coordinate exceeds the range of the prediction area, determining that the current positioning is invalid, and transmitting the prompt information of the positioning failure to the mobile terminal, thereby avoiding the unreasonable positioning of the mobile terminal .
  • the wireless device-based positioning method in this embodiment receives the device signal information reported by the mobile terminal, and calculates a first position coordinate of the mobile terminal according to the preset positioning algorithm according to the device signal information, and acquires a step from the device signal information.
  • State data according to the gait data, determine the moving distance between the mobile terminal and the last positioning point, calculate the prediction area where the positioning point may be located according to the moving distance, and determine whether the first position coordinate is located in the prediction area, and if so, It is determined that the current positioning is valid, and the first position coordinate is sent to the mobile terminal.
  • the present application determines the validity of the calculated first position coordinate by combining the gait data detected by the mobile terminal, and obtains the position coordinate. When it is in the above prediction area, it will be sent to the mobile terminal to avoid unreasonable positioning points from being displayed on the mobile, thereby improving positioning accuracy.
  • step S20 may include the following refinement steps:
  • each set of signal strength data includes signal strength data of a plurality of wireless devices, where >1;
  • the mobile terminal detects and reports the signal strength data once every predetermined time interval, for example, the preset time interval is 2 seconds, and the wireless detection is performed n times consecutively when the time interval from the last report reaches 2 seconds.
  • the signal strength of the device generates n sets of second signal strength data.
  • the positioning server performs filtering processing on these signals, and selects appropriate signal data for calculating the position coordinates of the mobile terminal.
  • Each set of signal strength data includes detected signal strengths of multiple wireless devices and corresponding wireless. Identification information of the device, such as SSID.
  • the step of calculating the amount of deviation of the signal strength data of the wireless device includes calculating an average value of the signal strength data of the wireless device, and using a difference between the signal strength data and the average value as a deviation amount of the signal strength data. It is assumed that each group of signal strength data includes signal strength data of six wireless devices, and the positioning server separately counts 10 signal strength data corresponding to each signal device according to the above 10 sets of signal strength data. For each wireless device, filter the 10 signal strength data, first calculate the deviation of each wireless signal strength data, and assume that there are n signal strength data corresponding to each device, then the n signal strength data The calculation formula of the deviation amount ⁇ i of the i-th signal strength data intensity p i in the intensity is as follows:
  • the signal strength data of the wireless device is filtered. Specifically, when filtering the signal strength data of a wireless device, calculating a deviation amount of the signal strength data of the wireless device; determining, according to the total number of the signal strength data of the wireless device and the preset weight, the deletion The number m of signal strength data is used to delete m signal strength data with the largest amount of deviation in the signal strength data of the wireless device, where m ⁇ n.
  • the wireless device-based positioning method in this embodiment is detected and reported by the mobile terminal multiple times, and the positioning server filters the data according to the multiple signal strength results to reduce the deviation or fluctuation of the signal strength. Influence and improve positioning accuracy.
  • a third embodiment of the wireless device-based positioning method of the present application is proposed based on the above-described first embodiment.
  • the above steps S20 to S40 may be replaced by the following steps:
  • the first signal strength data and the second signal strength data are obtained from the device signal information.
  • the mobile terminal detects the signal strength data twice and reports it to the location server, and the location server obtains the first signal strength data and the second signal strength data from the device signal information, and respectively calculates the preset positioning algorithm.
  • the location server obtains the first signal strength data and the second signal strength data from the device signal information, and respectively calculates the preset positioning algorithm.
  • Obtaining the second position coordinate and the third position coordinate determining whether the positioning is reasonable by the distance between the two coordinates, since the interval of the signal strength data detected twice consecutively is very short, negligible, so in the case of reasonable positioning
  • the distance between the coordinates of the two positioning will be very small. When the distance is large, it indicates that there may be a deviation in the positioning. It can be determined that the positioning is invalid. If the distance is smaller than the preset distance, the positioning is determined to be reasonable.
  • the second location coordinate or the third location is sent to the mobile terminal for display by the mobile terminal.
  • the preset distance can be set by actual conditions.
  • the embodiment of the present application further provides a computer readable storage medium, where the positioning program is stored on the computer readable storage medium, and the positioning program can be executed by one or more processors to implement the following steps:
  • the mobile terminal And receiving, by the mobile terminal, the device signal information reported by the mobile terminal, where the mobile terminal detects the signal strength of the wireless device and generates the device signal information report when the reporting time interval reaches a preset time interval;
  • A2 Calculate, according to a preset positioning algorithm, a first position coordinate of the mobile terminal according to signal strength data in the device signal information;
  • A3. Acquire gait data of the mobile terminal in the preset time interval from the device signal information, and determine, according to the gait data, a moving distance between the mobile terminal and a previous positioning point, and Calculating a prediction area of the current positioning point according to the moving distance;
  • A4 determining whether the first position coordinate is located in the prediction area, and if yes, determining that the current positioning is effective positioning, transmitting the first position coordinate to the mobile terminal, and if not, determining that the current positioning is invalid. Positioning, and sending a prompt message for the positioning failure to the mobile terminal.
  • the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the various embodiments of the present application.
  • a terminal device which may be a mobile phone, a computer, a server, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

本申请公开了一种基于无线设备的定位装置,包括存储器和处理器,存储器上存储有可在处理器上运行的定位程序,该程序被处理器执行时实现如下步骤:接收移动终端上报的设备信号信息;按照预设的定位算法,根据设备信号信息计算移动终端的第一位置坐标;从设备信号信息中获取步态数据,根据步态数据确定移动终端距离上次定位点之间的移动距离,根据移动距离计算本次定位点的预测区域;判断第一位置坐标是否位于预测区域内,若是,则判定本次定位为有效定位,将第一位置坐标发送至移动终端。本申请还提出一种基于无线设备的定位方法以及一种计算机可读存储介质。本申请提高了基于无线设备进行定位的定位精准度。

Description

基于无线设备的定位装置、方法及计算机可读存储介质
本申请基于巴黎公约申明享有2017年09月30日递交的申请号为201710914807.X、名称为“基于无线设备的定位装置、方法及计算机可读存储介质”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。
技术领域
本申请涉及无线定位技术领域,尤其涉及一种基于无线设备的定位装置、方法及计算机可读存储介质。
背景技术
在室内环境中对移动终端进行定位时,可以在室内环境部署无线信号发射设备(如无线路由器)通过移动终端检测到的这些设备的信号以及已知的这些设备的位置信息,推算出移动终端的位置。
随着移动终端的移动,服务端与移动终端的不断交互,不断地定位出移动终端的位置。在实际应用中,可能会由于移动终端与服务器通信延迟、检测到的信号发生波动等原因导致某几次信号发生偏离,但是对于服务器来说,不会自动的去判断信号是否发生偏离,只是直接的根据信号推算位置并返回至移动终端显示,导致不合理的定位点也在移动上显示,导致定位精准度低。
发明内容
本申请提供一种基于无线设备的定位装置、方法及计算机可读存储介质,其主要目的在于提高基于无线设备进行定位的定位精准度。
为实现上述目的,本申请提供一种基于无线设备的定位装置,该装置包括存储器和处理器,所述存储器中存储有可在所述处理器上运行的定位程序,所述定位程序被所述处理器执行时实现如下步骤:
S1、接收移动终端上报的设备信号信息,其中,所述移动终端在上报时间间隔达到预设时间间隔时,检测无线设备的信号强度并生成设备信号信息 上报至所述装置;
S2、按照预设的定位算法,根据所述设备信号信息中的信号强度数据计算所述移动终端的第一位置坐标;
S3、从所述设备信号信息中获取所述移动终端在所述预设时间间隔内的步态数据,根据所述步态数据确定所述移动终端距离上次定位点之间的移动距离,并根据所述移动距离计算本次定位点的预测区域;
S4、判断所述第一位置坐标是否位于所述预测区域内,若是,则判定本次定位为有效定位,将所述第一位置坐标发送至移动终端,若否,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息。
此外,为实现上述目的,本申请还提供一种基于无线设备的定位方法,该方法包括:
A1、接收移动终端上报的设备信号信息,其中,所述移动终端在上报时间间隔达到预设时间间隔时,检测无线设备的信号强度并生成设备信号信息上报;
A2、按照预设的定位算法,根据所述设备信号信息中的信号强度数据计算所述移动终端的第一位置坐标;
A3、从所述设备信号信息中获取所述移动终端在所述预设时间间隔内的步态数据,根据所述步态数据确定所述移动终端距离上次定位点之间的移动距离,并根据所述移动距离计算本次定位点的预测区域;
A4、判断所述第一位置坐标是否位于所述预测区域内,若是,则判定本次定位为有效定位,将所述第一位置坐标发送至移动终端,若否,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息。
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有定位程序,所述定位程序可被一个或者多个处理器执行,以实现如下步骤:
B1、接收移动终端上报的设备信号信息,其中,所述移动终端在上报时间间隔达到预设时间间隔时,检测无线设备的信号强度并生成设备信号信息上报至所述装置;
B2、按照预设的定位算法,根据所述设备信号信息中的信号强度数据计算所述移动终端的第一位置坐标;
B3、从所述设备信号信息中获取所述移动终端在所述预设时间间隔内的步态数据,根据所述步态数据确定所述移动终端距离上次定位点之间的移动距离,并根据所述移动距离计算本次定位点的预测区域;
B4、判断所述第一位置坐标是否位于所述预测区域内,若是,则判定本次定位为有效定位,将所述第一位置坐标发送至移动终端,若否,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息。
此外,为实现上述目的,本申请还提供一种基于无线设备的定位装置,所述定位装置包括:
接收模块,用于接收移动终端上报的设备信号信息,其中,所述移动终端在上报时间间隔达到预设时间间隔时,检测无线设备的信号强度并生成设备信号信息上报至所述装置;
第一计算模块,用于按照预设的定位算法,根据所述设备信号信息中的信号强度数据计算所述移动终端的第一位置坐标;
第二计算模块,用于从所述设备信号信息中获取所述移动终端在所述预设时间间隔内的步态数据,根据所述步态数据确定所述移动终端距离上次定位点之间的移动距离,并根据所述移动距离计算本次定位点的预测区域;
判断模块,用于判断所述第一位置坐标是否位于所述预测区域内,若是,则判定本次定位为有效定位,将所述第一位置坐标发送至移动终端,若否,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息。
本申请提出的基于无线设备的定位装置、方法及计算机可读存储介质,接收移动终端上报的设备信号信息,并根据该设备信号信息,按照预设的定位算法计算移动终端的第一位置坐标,从设备信号信息中获取步态数据,根据步态数据确定移动终端距离上次定位点之间的移动距离,根据移动距离计算本次定位点可能所在的预测区域,判断第一位置坐标是否位于该预测区域内,若是,则判定本次定位有效,将第一位置坐标发送至移动终端,本申请通过结合移动终端检测到的自身的步态数据,对计算到的第一位置坐标的有效性进行判断,在得到的位置坐标在上述预测区域内时,才会将其发送给移动终端,避免不合理的定位点也在移动上显示,提高定位精准度。
附图说明
图1为本申请基于无线设备的定位装置较佳实施例的示意图;
图2为本申请基于无线设备的定位装置一实施例中定位程序的功能模块示意图;
图3为本申请基于无线设备的定位方法第一实施例的流程图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供一种基于无线设备的定位装置。参照图1所示,为本申请基于无线设备的定位装置较佳实施例的示意图。
在本实施例中,基于无线设备的定位装置可以是PC(Personal Computer,个人电脑),也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、便携计算机等具有显示功能的可移动式终端设备。
该基于无线设备的定位装置包括存储器11、处理器12,通信总线13,以及网络接口14。
其中,存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器11在一些实施例中可以是基于无线设备的定位装置的内部存储单元,例如该基于无线设备的定位装置的硬盘。存储器11在另一些实施例中也可以是基于无线设备的定位装置的外部存储设备,例如基于无线设备的定位装置上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器11还可以既包括基于无线设备的定位装置的内部存储单元也包括外部存储设备。存储器11不仅可以用于存储安装于基于无线设备的定位装置的应用软件及各类数据,例如定位程序的代码等,还可以用于暂时地 存储已经输出或者将要输出的数据。
处理器12在一些实施例中可以是一中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器11中存储的程序代码或处理数据,例如执行定位程序等。
通信总线13用于实现这些组件之间的连接通信。
网络接口14可选的可以包括标准的有线接口、无线接口(如WI-FI接口),通常用于在该装置与其他电子设备之间建立通信连接。
图1仅示出了具有组件11-14以及定位程序的基于无线设备的定位装置,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。
可选地,该装置还可以包括用户接口,用户接口可以包括显示器(Display)、输入单元比如键盘(Keyboard),可选的用户接口还可以包括标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在基于无线设备的定位装置中处理的信息以及用于显示可视化的用户界面。
在图1所示的装置实施例中,存储器11中存储有定位程序;处理器12执行存储器11中存储的定位程序时实现如下步骤:
S1、接收移动终端上报的设备信号信息,其中,所述移动终端在上报时间间隔达到预设时间间隔时,检测无线设备的信号强度并生成设备信号信息上报至所述装置。
S2、按照预设的定位算法,根据所述设备信号信息中的信号强度数据计算所述移动终端的第一位置坐标。
本申请实施例中,在定位区域设置有多个无线接入点,例如wifi设备、蓝牙设备、无线射频信号设备等无线设备,移动终端在定位区域中移动时,在无线接入点的覆盖范围内,会不断地检测到无线接入点的发射的无线信号。以下以wifi设备为例对本申请的方案进行说明。对于无线接入点来说,每一台无线接入点设备都有一个全球唯一的MAC(Media Access Control,媒体访问控制)地址,并且一般情况下,该设备的位置不会移动,在定位装置中存 储有定位区域中的无线设备的位置坐标,移动终端在开启wifi的情况下,可以扫描并收集周围的wifi信号,并获取这些无线设备广播出来的MAC地址,移动终端将检测到的信号强度与对应的设备的MAC地址发送给定位装置,由于可以根据移动终端检测到的信号强度确定移动终端距离对应的无线设备的距离,因此定位装置可以根据接收到的信息以及存储的设备的位置坐标计算出移动终端当前的位置,并返回给移动终端进行定位。
移动终端每间隔预设时间间隔上报一次设备信号信息,其中,在该实施例中,设备信号信息包括信号强度数据和移动终端在该预设时间间隔内检测到的步态数据。信号强度数据中包含有检测到的多台无线设备的信号强度和对应的无线设备的MAC地址或者SSID(Service Set Identifier,服务集标识)等能够唯一标识该设备的标识信息。移动终端每间隔2秒上报一次检测到的设备信号信息。
根据多台无线设备的信号强度计算出移动终端的第一位置坐标。其中,在一些实施例中,可以采用三角定位算法计算移动终端的位置坐标,当三台或者三台以上的无线设备的位置坐标是确定的,并且根据移动终端检测到的这无线设备的信号强度,能够确定出移动终端分别距离这些无线设备的距离,根据上述信息可以计算出移动终端的位置坐标。
或者,通过分类算法计算出移动终端的位置坐标,例如使用随机森林模型计算,采集所有无线设备的位置坐标,并通过已知位置坐标的移动终端检测的信号强度数据训练上述分类器,确定分类器的模型参数,确定出移动终端的位置坐标与检测到得信号强度和对应的无线设备的位置坐标之间的关系。将计算得到的各台无线设备的信号强度数据的平均值输入上述训练好的分类器中,计算出所述移动终端当前的位置坐标。
S3、从所述设备信号信息中获取所述移动终端在所述预设时间间隔内的步态数据,根据所述步态数据确定所述移动终端距离上次定位点之间的移动距离,并根据所述移动距离计算本次定位点的预测区域。
S4、判断所述第一位置坐标是否位于所述预测区域内,若是,则判定本次定位为有效定位,将所述第一位置坐标发送至移动终端,若否,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息。
移动终端上设置有加速度传感器、陀螺仪等传感器,移动终端检测到的 步态数据包括通过上述传感器检测得到移动终端在上述预设时间间隔内的步频和步数,该装置从移动终端发送的设备信号信息中获取上述步态数据,根据步频和步数计算移动终端的移动距离,根据该移动距离以及上次定位得到的位置坐标确定本次定位时,移动终端可能在的范围,即以上次定位的位置坐标为圆心,以计算得到的移动距离为半径划定一个圆形区域,基于预测区域,判断本次定位的第一位置坐标是否位于该区域内,若是,则判定本次定位有效,将第一位置坐标发送至移动终端;如果检测到第一位置坐标超出预测区域的范围,则判定本次定位无效,向移动终端发送定位失败的提示信息,避免移动终端出现定位不合理的情况。
本实施例提出的基于无线设备的定位装置,接收移动终端上报的设备信号信息,并根据该设备信号信息,按照预设的定位算法计算移动终端的第一位置坐标,从设备信号信息中获取步态数据,根据步态数据确定移动终端距离上次定位点之间的移动距离,根据移动距离计算本次定位点可能所在的预测区域,判断第一位置坐标是否位于该预测区域内,若是,则判定本次定位有效,将第一位置坐标发送至移动终端,本申请通过结合移动终端检测到的自身的步态数据,对计算到的第一位置坐标的有效性进行判断,在得到的位置坐标在上述预测区域内时,才会将其发送给移动终端,避免不合理的定位点也在移动上显示,提高定位精准度。
基于上述第一实施例提出本申请基于无线设备的定位装置的第二实施例。在该实施例中,步骤S2可以包括如下细化步骤:
从所述设备信号信息中获取n组信号强度数据,以及所述移动终端基于传感器检测到的步态数据,其中,每组信号强度数据中包含有多个无线设备的信号强度数据,其中,n>1。
根据所述n组信号强度数据,分别统计每台无线设备对应的信号强度数据并进行过滤处理,其中,在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量,删除偏离量满足预设权重的信号强度数据。
计算各台无线设备经过滤处理后剩余的多个信号强度数据的平均值,并根据计算得到的各台无线设备的信号强度数据的平均值,按照预设的定位算法计算所述移动终端的第一位置坐标。
在该实施例中,移动终端每间隔预设时间间隔检测一次信号强度数据并上报,例如预设时间间隔为2秒,则在距离上一次上报的时间间隔达到2秒时,连续n次检测无线设备的信号强度生成n组第二信号强度数据。需要说明的是,这n次信号检测之间的时间间隔非常短,可以忽略不计,并且在这期间移动终端的移动距离也非常小,也可以忽略不计。定位装置对这些信号进行筛选处理,选择出合适的信号数据,用来计算移动终端的位置坐标。其中,n为大于1的正整数,优选地,n=8~12。假设n=10,则移动终端每间隔2秒,重复检测10次信号,生成10组信号强度数据,每一组信号强度数据中都包含有检测到的多个无线设备的信号强度以及对应的无线设备的标识信息,如SSID。
计算该无线设备的信号强度数据的偏离量的步骤包括:计算该无线设备的信号强度数据的平均值,将信号强度数据与所述平均值之间的差值作为该信号强度数据的偏离量。假设每一组信号强度数据中都包含有6台无线设备的信号强度数据,定位服务器根据上述10组信号强度数据,分别统计每一个信号设备对应的10个信号强度数据。针对每一台无线设备,对这10个信号强度数据进行过滤处理,首先计算每一个无线信号强度数据的偏离量,假设每台设备对应的信号强度数据有n个,则这n个信号强度数据强度中的第i个信号强度数据强度p i的偏离量δ i的计算公式如下:
Figure PCTCN2018076133-appb-000001
计算得到每个信号强度数据的偏离量之后,对无线设备的信号强度数据做过滤处理。具体地,在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量;根据该无线设备的信号强度数据的总数和所述预设权重确定要删除的信号强度数据的数量m,删除该无线设备的信号强度数据中偏离量最大的m个信号强度数据,其中,m<n。
在该实施方式中,预设权重为需要保留的信号强度数据在信号强度数据总量中的占比,每台无线设备的n个信号强度数据中需要删除的数据量m=n*预设权重,例如,预设权重为80%,若采集到的一台无线设备的信号强度数据总量为10个,则删除其中偏离量最大的2个信号强度数据,即m=8,需要保留其中偏离量较小的8个信号强度数据。在对信号强度数据过滤处理后,计算剩余的信号强度数据的平均值,按照预设的定位算法计算所述移动终端 当前的位置坐标。关于定位算法,参见上述第一实施例,在此不再赘述。
本实施例提出的基于无线设备的定位装置通过移动终端连续多次的信号检测并上报,定位服务器根据这多次的信号强度结果对数据进行过滤处理,降低信号强度存在的偏差或者波动对定位的影响,提高定位精度。
基于上述第一实施例提出本申请基于无线设备的定位装置的第三实施例。在该实施例中,上述步骤S2至S4可以替换为如下步骤:
从所述设备信号信息中获取第一信号强度数据和第二信号强度数据;
按照预设的定位算法,根据所述第一信号强度数据计算到所述移动终端的第二位置坐标,根据所述第二信号强度数据计算得到所述移动终端的第三位置坐标;
计算所述第二位置坐标与所述第三位置坐标之间的距离,并判断所述距离是否大于预设距离;
若是,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息,若否,则判定本次定位为有效定位,将所述第三位置坐标发送至移动终端。
在该实施例中,移动终端连续两次检测信号强度数据并上报至定位装置,定位装置从设备信号信息中获取第一信号强度数据和第二信号强度数据,分别通过预设的定位算法,计算得到第二位置坐标和第三位置坐标,通过两个坐标之间的距离判断定位是否合理,由于连续两次检测的信号强度数据的间隔时间非常短,可以忽略不计,因此在定位合理的情况下,两次定位的坐标之间的距离会非常小,当该距离较大时,则说明本次定位可能存在偏差,可判定本次定位无效,若距离小于预设距离,则判定定位合理,将第二位置坐标或者第三位置发送至移动终端,以供移动终端显示。其中,上述预设距离可以通过实际情况进行设置。
可选地,在其他的实施例中,定位程序还可以被分割为一个或者多个模块,一个或者多个模块被存储于存储器11中,并由一个或多个处理器(本实施例为处理器12)所执行以完成本申请,本申请所称的模块是指能够完成特定功能的一系列计算机程序指令段,用于描述定位程序在基于无线设备的定位装置中的执行过程。
例如,参照图2所示,为本申请基于无线设备的定位装置一实施例中的 定位程序的功能模块示意图,该实施例中,定位程序可以被分割为接收模块10、第一计算模块20、第二计算模块30、判断模块40和模块50,示例性地:
接收模块10用于:接收移动终端上报的设备信号信息,其中,所述移动终端在上报时间间隔达到预设时间间隔时,检测无线设备的信号强度并生成设备信号信息上报至所述装置;
第一计算模块20用于:按照预设的定位算法,根据所述设备信号信息中的信号强度数据计算所述移动终端的第一位置坐标;
第二计算模块30用于:从所述设备信号信息中获取所述移动终端在所述预设时间间隔内的步态数据,根据所述步态数据确定所述移动终端距离上次定位点之间的移动距离,并根据所述移动距离计算本次定位点的预测区域;
判断模块40用于:判断所述第一位置坐标是否位于所述预测区域内,若是,则判定本次定位为有效定位,将所述第一位置坐标发送至移动终端,若否,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息。
上述接收模块10、第一计算模块20、第二计算模块30、判断模块40和模块50被执行所实现的功能或操作步骤与上述实施例大体相同,在此不再赘述。
在一实施例中,所述第一计算模块20、所述第二计算模块30和所述判断模块40可以替换为:
数据获取模块,用于从所述设备信号信息中获取第一信号强度数据和第二信号强度数据;
第三计算模块,用于按照预设的定位算法,根据所述第一信号强度数据计算到所述移动终端的第二位置坐标,根据所述第二信号强度数据计算得到所述移动终端的第三位置坐标;
第四计算模块,用于计算所述第二位置坐标与所述第三位置坐标之间的距离,并判断所述距离是否大于预设距离;
第一判断模块,用于若是,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息,若否,则判定本次定位为有效定位,将所述第三位置坐标发送至移动终端。
此外,本申请还提供一种基于无线设备的定位方法。参照图3所示,为 本申请基于无线设备的定位方法第一实施例的流程图。
在本实施例中,基于无线设备的定位方法包括:
步骤S10,接收移动终端上报的设备信号信息,其中,所述移动终端在上报时间间隔达到预设时间间隔时,检测无线设备的信号强度并生成设备信号信息上报至所述方法。
步骤S20,按照预设的定位算法,根据所述设备信号信息中的信号强度数据计算所述移动终端的第一位置坐标。
本申请实施例中提出的方法可以由一个装置执行,该装置可以由软件和/或硬件实现。该装置可以是定位服务器,在定位区域设置有多个无线接入点,例如wifi设备、蓝牙设备、无线射频信号设备等无线设备,移动终端在定位区域中移动时,在无线接入点的覆盖范围内,会不断地检测到无线接入点的发射的无线信号。以下以wifi设备为例对本申请的方案进行说明。对于无线接入点来说,每一台无线接入点设备都有一个全球唯一的MAC(Media Access Control,媒体访问控制)地址,并且一般情况下,该设备的位置不会移动,在定位服务器中存储有定位区域中的无线设备的位置坐标,移动终端在开启wifi的情况下,可以扫描并收集周围的wifi信号,并获取这些无线设备广播出来的MAC地址,移动终端将检测到的信号强度与对应的设备的MAC地址发送给定位服务器,由于可以根据移动终端检测到的信号强度确定移动终端距离对应的无线设备的距离,因此定位服务器可以根据接收到的信息以及存储的设备的位置坐标计算出移动终端当前的位置,并返回给移动终端进行定位。
移动终端每间隔预设时间间隔上报一次设备信号信息,其中,在该实施例中,设备信号信息包括信号强度数据和移动终端在该预设时间间隔内检测到的步态数据。信号强度数据中包含有检测到的多台无线设备的信号强度和对应的无线设备的MAC地址或者SSID(Service Set Identifier,服务集标识)等能够唯一标识该设备的标识信息。移动终端每间隔2秒上报一次检测到的设备信号信息。
根据多台无线设备的信号强度计算出移动终端的第一位置坐标。其中,在一些实施例中,可以采用三角定位算法计算移动终端的位置坐标,当三台或者三台以上的无线设备的位置坐标是确定的,并且根据移动终端检测到的 这无线设备的信号强度,能够确定出移动终端分别距离这些无线设备的距离,根据上述信息可以计算出移动终端的位置坐标。
或者,通过分类算法计算出移动终端的位置坐标,例如使用随机森林模型计算,采集所有无线设备的位置坐标,并通过已知位置坐标的移动终端检测的信号强度数据训练上述分类器,确定分类器的模型参数,确定出移动终端的位置坐标与检测到得信号强度和对应的无线设备的位置坐标之间的关系。将计算得到的各台无线设备的信号强度数据的平均值输入上述训练好的分类器中,计算出所述移动终端当前的位置坐标。
步骤S30,从所述设备信号信息中获取所述移动终端在所述预设时间间隔内的步态数据,根据所述步态数据确定所述移动终端距离上次定位点之间的移动距离,并根据所述移动距离计算本次定位点的预测区域。
步骤S40,判断所述第一位置坐标是否位于所述预测区域内,若是,则判定本次定位为有效定位,将所述第一位置坐标发送至移动终端,若否,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息。
移动终端上设置有加速度传感器、陀螺仪等传感器,移动终端检测到的步态数据包括通过上述传感器检测得到移动终端在上述预设时间间隔内的步频和步数,定位服务器从移动终端发送的设备信号信息中获取上述步态数据,根据步频和步数计算移动终端的移动距离,根据该移动距离以及上次定位得到的位置坐标确定本次定位时,移动终端可能在的范围,即以上次定位的位置坐标为圆心,以计算得到的移动距离为半径划定一个圆形区域,基于预测区域,判断本次定位的第一位置坐标是否位于该区域内,若是,则判定本次定位有效,将第一位置坐标发送至移动终端;如果检测到第一位置坐标超出预测区域的范围,则判定本次定位无效,向移动终端发送定位失败的提示信息,避免移动终端出现定位不合理的情况。
本实施例提出的基于无线设备的定位方法,接收移动终端上报的设备信号信息,并根据该设备信号信息,按照预设的定位算法计算移动终端的第一位置坐标,从设备信号信息中获取步态数据,根据步态数据确定移动终端距离上次定位点之间的移动距离,根据移动距离计算本次定位点可能所在的预测区域,判断第一位置坐标是否位于该预测区域内,若是,则判定本次定位有效,将第一位置坐标发送至移动终端,本申请通过结合移动终端检测到的 自身的步态数据,对计算到的第一位置坐标的有效性进行判断,在得到的位置坐标在上述预测区域内时,才会将其发送给移动终端,避免不合理的定位点也在移动上显示,提高定位精准度。
基于上述第一实施例提出本申请基于无线设备的定位方法的第二实施例。在该实施例中,步骤S20可以包括如下细化步骤:
从所述设备信号信息中获取n组信号强度数据,以及所述移动终端基于传感器检测到的步态数据,其中,每组信号强度数据中包含有多个无线设备的信号强度数据,其中,n>1;
根据所述n组信号强度数据,分别统计每台无线设备对应的信号强度数据并进行过滤处理,其中,在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量,删除偏离量满足预设权重的信号强度数据;
计算各台无线设备经过滤处理后剩余的多个信号强度数据的平均值,并根据计算得到的各台无线设备的信号强度数据的平均值,按照预设的定位算法计算所述移动终端的第一位置坐标。
在该实施例中,移动终端每间隔预设时间间隔检测一次信号强度数据并上报,例如预设时间间隔为2秒,则在距离上一次上报的时间间隔达到2秒时,连续n次检测无线设备的信号强度生成n组第二信号强度数据。需要说明的是,这n次信号检测之间的时间间隔非常短,可以忽略不计,并且在这期间移动终端的移动距离也非常小,也可以忽略不计。定位服务器对这些信号进行筛选处理,选择出合适的信号数据,用来计算移动终端的位置坐标。其中,n为大于1的正整数,优选地,n=8~12。假设n=10,则移动终端每间隔2秒,重复检测10次信号,生成10组信号强度数据,每一组信号强度数据中都包含有检测到的多个无线设备的信号强度以及对应的无线设备的标识信息,如SSID。
计算该无线设备的信号强度数据的偏离量的步骤包括:计算该无线设备的信号强度数据的平均值,将信号强度数据与所述平均值之间的差值作为该信号强度数据的偏离量。假设每一组信号强度数据中都包含有6台无线设备的信号强度数据,定位服务器根据上述10组信号强度数据,分别统计每一个信号设备对应的10个信号强度数据。针对每一台无线设备,对这10个信号 强度数据进行过滤处理,首先计算每一个无线信号强度数据的偏离量,假设每台设备对应的信号强度数据有n个,则这n个信号强度数据强度中的第i个信号强度数据强度p i的偏离量δ i的计算公式如下:
Figure PCTCN2018076133-appb-000002
计算得到每个信号强度数据的偏离量之后,对无线设备的信号强度数据做过滤处理。具体地,在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量;根据该无线设备的信号强度数据的总数和所述预设权重确定要删除的信号强度数据的数量m,删除该无线设备的信号强度数据中偏离量最大的m个信号强度数据,其中,m<n。
在该实施方式中,预设权重为需要保留的信号强度数据在信号强度数据总量中的占比,每台无线设备的n个信号强度数据中需要删除的数据量m=n*预设权重,例如,预设权重为80%,若采集到的一台无线设备的信号强度数据总量为10个,则删除其中偏离量最大的2个信号强度数据,即m=8,需要保留其中偏离量较小的8个信号强度数据。在对信号强度数据过滤处理后,计算剩余的信号强度数据的平均值,按照预设的定位算法计算所述移动终端当前的位置坐标。关于定位算法,参见上述第一实施例,在此不再赘述。
本实施例提出的基于无线设备的定位方法通过移动终端连续多次的信号检测并上报,定位服务器根据这多次的信号强度结果对数据进行过滤处理,降低信号强度存在的偏差或者波动对定位的影响,提高定位精度。
基于上述第一实施例提出本申请基于无线设备的定位方法的第三实施例。在该实施例中,上述步骤S20至S40可以替换为如下步骤:
从所述设备信号信息中获取第一信号强度数据和第二信号强度数据。
按照预设的定位算法,根据所述第一信号强度数据计算到所述移动终端的第二位置坐标,根据所述第二信号强度数据计算得到所述移动终端的第三位置坐标。
计算所述第二位置坐标与所述第三位置坐标之间的距离,并判断所述距离是否大于预设距离。
若是,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息,若否,则判定本次定位为有效定位,将所述第三位置坐标发送至移动终端。
在该实施例中,移动终端连续两次检测信号强度数据并上报至定位服务器,定位服务器从设备信号信息中获取第一信号强度数据和第二信号强度数据,分别通过预设的定位算法,计算得到第二位置坐标和第三位置坐标,通过两个坐标之间的距离判断定位是否合理,由于连续两次检测的信号强度数据的间隔时间非常短,可以忽略不计,因此在定位合理的情况下,两次定位的坐标之间的距离会非常小,当该距离较大时,则说明本次定位可能存在偏差,可判定本次定位无效,若距离小于预设距离,则判定定位合理,将第二位置坐标或者第三位置发送至移动终端,以供移动终端显示。其中,上述预设距离可以通过实际情况进行设置。
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有定位程序,所述定位程序可被一个或多个处理器执行,以实现如下步骤:
A1、接收移动终端上报的设备信号信息,其中,所述移动终端在上报时间间隔达到预设时间间隔时,检测无线设备的信号强度并生成设备信号信息上报;
A2、按照预设的定位算法,根据所述设备信号信息中的信号强度数据计算所述移动终端的第一位置坐标;
A3、从所述设备信号信息中获取所述移动终端在所述预设时间间隔内的步态数据,根据所述步态数据确定所述移动终端距离上次定位点之间的移动距离,并根据所述移动距离计算本次定位点的预测区域;
A4、判断所述第一位置坐标是否位于所述预测区域内,若是,则判定本次定位为有效定位,将所述第一位置坐标发送至移动终端,若否,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息。
本申请计算机可读存储介质具体实施方式与上述基于无线设备的定位装置和方法各实施例基本相同,在此不作累述。
需要说明的是,上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。并且本文中的术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语 句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种基于无线设备的定位装置,其特征在于,所述装置包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的定位程序,所述定位程序被所述处理器执行时实现如下步骤:
    S1、接收移动终端上报的设备信号信息,其中,所述移动终端在上报时间间隔达到预设时间间隔时,检测无线设备的信号强度并生成设备信号信息上报至所述装置;
    S2、按照预设的定位算法,根据所述设备信号信息中的信号强度数据计算所述移动终端的第一位置坐标;
    S3、从所述设备信号信息中获取所述移动终端在所述预设时间间隔内的步态数据,根据所述步态数据确定所述移动终端距离上次定位点之间的移动距离,并根据所述移动距离计算本次定位点的预测区域;
    S4、判断所述第一位置坐标是否位于所述预测区域内,若是,则判定本次定位为有效定位,将所述第一位置坐标发送至移动终端,若否,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息。
  2. 根据权利要求1所述的基于无线设备的定位装置,其特征在于,所述步骤S2至S4可以替换为如下步骤:
    从所述设备信号信息中获取第一信号强度数据和第二信号强度数据;
    按照预设的定位算法,根据所述第一信号强度数据计算到所述移动终端的第二位置坐标,根据所述第二信号强度数据计算得到所述移动终端的第三位置坐标;
    计算所述第二位置坐标与所述第三位置坐标之间的距离,并判断所述距离是否大于预设距离;
    若是,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息,若否,则判定本次定位为有效定位,将所述第三位置坐标发送至移动终端。
  3. 根据权利要求1所述的基于无线设备的定位装置,其特征在于,所述步骤S2包括:
    从所述设备信号信息中获取n组信号强度数据,以及所述移动终端基于传感器检测到的步态数据,其中,每组信号强度数据中包含有多个无线设备的信号强度数据,其中,n>1;
    根据所述n组信号强度数据,分别统计每台无线设备对应的信号强度数据并进行过滤处理,其中,在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量,删除偏离量满足预设权重的信号强度数据;
    计算各台无线设备经过滤处理后剩余的多个信号强度数据的平均值,并根据计算得到的各台无线设备的信号强度数据的平均值,按照预设的定位算法计算所述移动终端的第一位置坐标。
  4. 根据权利要求3所述的基于无线设备的定位装置,其特征在于,所述计算该无线设备的信号强度数据的偏离量的步骤包括:
    计算该无线设备的信号强度数据的平均值,将信号强度数据与所述平均值之间的差值作为该信号强度数据的偏离量。
  5. 根据权利要求3所述的基于无线设备的定位装置,其特征在于,所述在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量,删除偏离量满足预设权重的信号强度数据的步骤包括:
    在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量;
    根据该无线设备的信号强度数据的总数和所述预设权重确定要删除的信号强度数据的数量m,删除该无线设备的信号强度数据中偏离量最大的m个信号强度数据,其中,m<n。
  6. 一种基于无线设备的定位方法,其特征在于,所述方法包括:
    A1、接收移动终端上报的设备信号信息,其中,所述移动终端在上报时间间隔达到预设时间间隔时,检测无线设备的信号强度并生成设备信号信息上报;
    A2、按照预设的定位算法,根据所述设备信号信息中的信号强度数据计算所述移动终端的第一位置坐标;
    A3、从所述设备信号信息中获取所述移动终端在所述预设时间间隔内的步态数据,根据所述步态数据确定所述移动终端距离上次定位点之间的移动距离,并根据所述移动距离计算本次定位点的预测区域;
    A4、判断所述第一位置坐标是否位于所述预测区域内,若是,则判定本次定位为有效定位,将所述第一位置坐标发送至移动终端,若否,则判定本 次定位为无效定位,并向所述移动终端发送定位失败的提示信息。
  7. 根据权利要求6所述的基于无线设备的定位方法,其特征在于,所述步骤A2至A4可以替换为如下步骤:
    从所述设备信号信息中获取第一信号强度数据和第二信号强度数据;
    按照预设的定位算法,根据所述第一信号强度数据计算到所述移动终端的第二位置坐标,根据所述第二信号强度数据计算得到所述移动终端的第三位置坐标;
    计算所述第二位置坐标与所述第三位置坐标之间的距离,并判断所述距离是否大于预设距离;
    若是,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息,若否,则判定本次定位为有效定位,将所述第三位置坐标发送至移动终端。
  8. 根据权利要求6所述的基于无线设备的定位方法,其特征在于,所述步骤A2包括:
    从所述设备信号信息中获取n组信号强度数据,以及所述移动终端基于传感器检测到的步态数据,其中,每组信号强度数据中包含有多个无线设备的信号强度数据,其中,n>1;
    根据所述n组信号强度数据,分别统计每台无线设备对应的信号强度数据并进行过滤处理,其中,在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量,删除偏离量满足预设权重的信号强度数据;
    计算各台无线设备经过滤处理后剩余的多个信号强度数据的平均值,并根据计算得到的各台无线设备的信号强度数据的平均值,按照预设的定位算法计算所述移动终端的第一位置坐标。
  9. 根据权利要求8所述的基于无线设备的定位方法,其特征在于,所述计算该无线设备的信号强度数据的偏离量的步骤包括:
    计算该无线设备的信号强度数据的平均值,将信号强度数据与所述平均值之间的差值作为该信号强度数据的偏离量。
  10. 根据权利要求8所述的基于无线设备的定位方法,其特征在于,所述在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信 号强度数据的偏离量,删除偏离量满足预设权重的信号强度数据的步骤包括:
    在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量;
    根据该无线设备的信号强度数据的总数和所述预设权重确定要删除的信号强度数据的数量m,删除该无线设备的信号强度数据中偏离量最大的m个信号强度数据,其中,m<n。
  11. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有定位程序,所述定位程序可被一个或者多个处理器执行,以实现如下步骤:
    B1、接收移动终端上报的设备信号信息,其中,所述移动终端在上报时间间隔达到预设时间间隔时,检测无线设备的信号强度并生成设备信号信息上报至所述装置;
    B2、按照预设的定位算法,根据所述设备信号信息中的信号强度数据计算所述移动终端的第一位置坐标;
    B3、从所述设备信号信息中获取所述移动终端在所述预设时间间隔内的步态数据,根据所述步态数据确定所述移动终端距离上次定位点之间的移动距离,并根据所述移动距离计算本次定位点的预测区域;
    B4、判断所述第一位置坐标是否位于所述预测区域内,若是,则判定本次定位为有效定位,将所述第一位置坐标发送至移动终端,若否,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息。
  12. 如权利要求11所述的计算机可读存储介质,其特征在于,所述步骤B2至B4可以替换为如下步骤:
    从所述设备信号信息中获取第一信号强度数据和第二信号强度数据;
    按照预设的定位算法,根据所述第一信号强度数据计算到所述移动终端的第二位置坐标,根据所述第二信号强度数据计算得到所述移动终端的第三位置坐标;
    计算所述第二位置坐标与所述第三位置坐标之间的距离,并判断所述距离是否大于预设距离;
    若是,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息,若否,则判定本次定位为有效定位,将所述第三位置坐标发送至 移动终端。
  13. 如权利要求11所述的计算机可读存储介质,其特征在于,所述步骤B2包括:
    从所述设备信号信息中获取n组信号强度数据,以及所述移动终端基于传感器检测到的步态数据,其中,每组信号强度数据中包含有多个无线设备的信号强度数据,其中,n>1;
    根据所述n组信号强度数据,分别统计每台无线设备对应的信号强度数据并进行过滤处理,其中,在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量,删除偏离量满足预设权重的信号强度数据;
    计算各台无线设备经过滤处理后剩余的多个信号强度数据的平均值,并根据计算得到的各台无线设备的信号强度数据的平均值,按照预设的定位算法计算所述移动终端的第一位置坐标。
  14. 如权利要求13所述的计算机可读存储介质,其特征在于,所述计算该无线设备的信号强度数据的偏离量的步骤包括:
    计算该无线设备的信号强度数据的平均值,将信号强度数据与所述平均值之间的差值作为该信号强度数据的偏离量。
  15. 如权利要求13所述的计算机可读存储介质,其特征在于,所述在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量,删除偏离量满足预设权重的信号强度数据的步骤包括:
    在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量;
    根据该无线设备的信号强度数据的总数和所述预设权重确定要删除的信号强度数据的数量m,删除该无线设备的信号强度数据中偏离量最大的m个信号强度数据,其中,m<n。
  16. 一种基于无线设备的定位装置,其特征在于,所述定位装置包括:
    接收模块,用于接收移动终端上报的设备信号信息,其中,所述移动终端在上报时间间隔达到预设时间间隔时,检测无线设备的信号强度并生成设备信号信息上报至所述装置;
    第一计算模块,用于按照预设的定位算法,根据所述设备信号信息中的 信号强度数据计算所述移动终端的第一位置坐标;
    第二计算模块,用于从所述设备信号信息中获取所述移动终端在所述预设时间间隔内的步态数据,根据所述步态数据确定所述移动终端距离上次定位点之间的移动距离,并根据所述移动距离计算本次定位点的预测区域;
    判断模块,用于判断所述第一位置坐标是否位于所述预测区域内,若是,则判定本次定位为有效定位,将所述第一位置坐标发送至移动终端,若否,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息。
  17. 如权利要求16所述的基于无线设备的定位装置,其特征在于,所述第一计算模块、所述第二计算模块和所述判断模块可以替换为:
    数据获取模块,用于从所述设备信号信息中获取第一信号强度数据和第二信号强度数据;
    第三计算模块,用于按照预设的定位算法,根据所述第一信号强度数据计算到所述移动终端的第二位置坐标,根据所述第二信号强度数据计算得到所述移动终端的第三位置坐标;
    第四计算模块,用于计算所述第二位置坐标与所述第三位置坐标之间的距离,并判断所述距离是否大于预设距离;
    第一判断模块,用于若是,则判定本次定位为无效定位,并向所述移动终端发送定位失败的提示信息,若否,则判定本次定位为有效定位,将所述第三位置坐标发送至移动终端。
  18. 如权利要求17所述的基于无线设备的定位装置,其特征在于,所述第一计算模块还用于:
    从所述设备信号信息中获取n组信号强度数据,以及所述移动终端基于传感器检测到的步态数据,其中,每组信号强度数据中包含有多个无线设备的信号强度数据,其中,n>1;
    根据所述n组信号强度数据,分别统计每台无线设备对应的信号强度数据并进行过滤处理,其中,在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量,删除偏离量满足预设权重的信号强度数据;
    计算各台无线设备经过滤处理后剩余的多个信号强度数据的平均值,并根据计算得到的各台无线设备的信号强度数据的平均值,按照预设的定位算 法计算所述移动终端的第一位置坐标。
  19. 如权利要求18所述的基于无线设备的定位装置,其特征在于,所述第一计算模块还用于:
    计算该无线设备的信号强度数据的平均值,将信号强度数据与所述平均值之间的差值作为该信号强度数据的偏离量。
  20. 如权利要求18所述的基于无线设备的定位装置,其特征在于,所述第一计算模块还用于:
    在对一台无线设备的信号强度数据进行过滤处理时,计算该无线设备的信号强度数据的偏离量;
    根据该无线设备的信号强度数据的总数和所述预设权重确定要删除的信号强度数据的数量m,删除该无线设备的信号强度数据中偏离量最大的m个信号强度数据,其中,m<n。
PCT/CN2018/076133 2017-09-30 2018-02-10 基于无线设备的定位装置、方法及计算机可读存储介质 WO2019061988A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710914807.X 2017-09-30
CN201710914807.XA CN107786942B (zh) 2017-09-30 2017-09-30 基于无线设备的定位装置、方法及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2019061988A1 true WO2019061988A1 (zh) 2019-04-04

Family

ID=61434359

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/076133 WO2019061988A1 (zh) 2017-09-30 2018-02-10 基于无线设备的定位装置、方法及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN107786942B (zh)
WO (1) WO2019061988A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515035A (zh) * 2018-05-21 2019-11-29 开利公司 用于学习部署环境特定特征以进行无缝访问的方法
CN110764049B (zh) * 2019-10-30 2023-05-23 北京小米智能科技有限公司 信息处理方法、装置、终端及存储介质
CN113873682A (zh) * 2020-06-12 2021-12-31 奥图码科技股份有限公司 自动连线断线系统及自动连线断线方法
CN112104981A (zh) * 2020-11-05 2020-12-18 广州市玄武无线科技股份有限公司 终端定位轨迹生成方法、装置及电子设备
CN112689235A (zh) * 2020-12-29 2021-04-20 浙江中控技术股份有限公司 一种基于蓝牙信号的定位方法及装置
CN113709664B (zh) * 2021-08-25 2023-08-15 北京京诚瑞达电气工程技术有限公司 基于信号强度的三点定位方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130310075A1 (en) * 2012-05-17 2013-11-21 Lg Electronics Inc. Method and apparatus for estimating location of user equipment in wireless network
CN104427466A (zh) * 2013-08-28 2015-03-18 高德软件有限公司 终端设备定位方法及终端设备
CN105635958A (zh) * 2014-11-06 2016-06-01 高德软件有限公司 一种定位数据采集方法和装置
CN106199568A (zh) * 2016-03-29 2016-12-07 北京东霖消防科技有限公司 一种消防人员室内定位算法
CN107146448A (zh) * 2017-05-08 2017-09-08 武汉依迅北斗空间技术有限公司 一种车辆定位信息修正方法及系统

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635985A (zh) * 2008-07-22 2010-01-27 宏达国际电子股份有限公司 定位方法、装置及记录媒体
CN103338510B (zh) * 2013-05-24 2016-09-21 赵东明 一种基于rssi的无线传感器网络的定位方法
CN103400391B (zh) * 2013-08-09 2016-08-10 北京博思廷科技有限公司 一种基于改进的随机森林的多目标跟踪方法及装置
CN103561462B (zh) * 2013-10-09 2017-04-12 国家电网公司 一种完全基于智能移动终端平台的室内定位系统和方法
CN105025572A (zh) * 2015-07-01 2015-11-04 太原科技大学 一种基于rssi测距的井下人员定位的改进方法
CN106060804A (zh) * 2016-05-19 2016-10-26 福州市协成智慧科技有限公司 无线距离三角定位方法
CN107071743B (zh) * 2017-03-20 2020-06-19 华南理工大学 一种基于随机森林的快速KNN室内WiFi定位方法
CN107192386A (zh) * 2017-04-28 2017-09-22 上海美迪索科电子科技有限公司 一种基于分布式惯性定位系统导航的室内定位方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130310075A1 (en) * 2012-05-17 2013-11-21 Lg Electronics Inc. Method and apparatus for estimating location of user equipment in wireless network
CN104427466A (zh) * 2013-08-28 2015-03-18 高德软件有限公司 终端设备定位方法及终端设备
CN105635958A (zh) * 2014-11-06 2016-06-01 高德软件有限公司 一种定位数据采集方法和装置
CN106199568A (zh) * 2016-03-29 2016-12-07 北京东霖消防科技有限公司 一种消防人员室内定位算法
CN107146448A (zh) * 2017-05-08 2017-09-08 武汉依迅北斗空间技术有限公司 一种车辆定位信息修正方法及系统

Also Published As

Publication number Publication date
CN107786942B (zh) 2020-12-25
CN107786942A (zh) 2018-03-09

Similar Documents

Publication Publication Date Title
WO2019061988A1 (zh) 基于无线设备的定位装置、方法及计算机可读存储介质
CN105392150B (zh) 管理信标的方法、终端设备和服务器
KR102374438B1 (ko) 지오펜스 관리 방법 및 그 전자 장치
US9119038B2 (en) Systems and methods for comparative geofencing
WO2019085336A1 (zh) 基于随机森林模型的定位方法、装置及存储介质
EP3089066A1 (en) Fingerprint information processing method and electronic device supporting the same
US20140351411A1 (en) Systems and methods for time-based geofencing
US20160044467A1 (en) Method for improving the accuracy of an indoor positioning system with crowdsourced fingerprints
US8977207B2 (en) Methods, apparatuses and computer program products for providing automatic maintenance of a geoposition system
KR102160975B1 (ko) 전자장치로 위치 기반 서비스를 제공하기 위한 방법 및 시스템
CN107005807B (zh) 控制方法及其电子装置
US20160171773A1 (en) Display control method, information processing apparatus, and storage medium
KR101953500B1 (ko) 지오-펜싱 구현 방법 및 모바일 디바이스
US8825761B2 (en) Systems and methods for sharing group status within a social network
EP2844007B1 (en) Method for transmitting contents and electronic device thereof
EP3379284B1 (en) Positioning method, electronic device, and storage medium
CN111179461A (zh) 基于bim模型的巡检记录生成方法、设备及存储介质
WO2019085337A1 (zh) 基于信号数据筛选的定位方法、电子装置及存储介质
EP2753129A1 (en) Method and apparatus for controlling short range wireless communication
US20160341569A1 (en) Method of calibrating geomagnetic sensor and electronic device adapted thereto
JP5853088B2 (ja) 情報処理装置、プログラム及び方法
KR102553573B1 (ko) 전자 장치 및 전자 장치의 터치 입력 감지 방법
CN109600738B (zh) 用户信息更新方法、装置、设备和存储介质
CN113761955A (zh) 信息展示方法、智能终端和计算机存储介质
KR20180045393A (ko) 타일 기반 poi 관리 방법 및 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18860836

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC , EPO FORM 1205A DATED 28.09.2020.

122 Ep: pct application non-entry in european phase

Ref document number: 18860836

Country of ref document: EP

Kind code of ref document: A1