WO2016082740A1 - 一种确定定位终端相对位置的方法 - Google Patents

一种确定定位终端相对位置的方法 Download PDF

Info

Publication number
WO2016082740A1
WO2016082740A1 PCT/CN2015/095404 CN2015095404W WO2016082740A1 WO 2016082740 A1 WO2016082740 A1 WO 2016082740A1 CN 2015095404 W CN2015095404 W CN 2015095404W WO 2016082740 A1 WO2016082740 A1 WO 2016082740A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
positioning
wifi
positioning terminal
determining
Prior art date
Application number
PCT/CN2015/095404
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 WO2016082740A1 publication Critical patent/WO2016082740A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • 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 invention relates to the field of intelligent terminals, and in particular, to a method for determining a relative position of a positioning terminal based on a WIFI hotspot.
  • a wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. It is not only a hardware device, but also powerful functions through software support, data interaction, and cloud interaction. In the future, wearable devices will make a big difference in our lives and perceptions.
  • Wearable devices typically require a companion phone or computer terminal application to process and analyze the data.
  • the mobile phone application software of the wearable device needs to display the position of the wearable device and the location of the mobile phone together during positioning.
  • wearable devices are placed together with mobile phones. Whether using WIFI positioning or base station positioning, the location of both wearable devices and mobile phones is prone to large gaps, and GPS is inconvenient.
  • the indoor positioning causes the position of the wearable device and the mobile phone to be significantly deviated, which causes the user to have doubts about the positioning information.
  • the Bluetooth 4.0 technology can also be used to solve this problem, such a method requires that the mobile phone and the wearable device have a Bluetooth version of 4.0 or less, but the Bluetooth of the mobile phone and the wearable device must be separately opened. The operation is inconvenient, and Bluetooth is always turned on, and there is a problem of power loss.
  • the object of the present invention is to provide a method for determining the relative position of the positioning terminal, and determine the relative position information of the two based on the WiFi information acquired by the two positioning terminals, so as to eliminate the doubt that the positioning is not allowed to the user.
  • a method for determining a relative position of a positioning terminal comprising:
  • the first WiFi information and the second WiFi information all include: a WIFI hotspot name, a signal strength information of each WIFI hotspot, and a total number of WIFI hotspots;
  • the number of the overlapping WIFI hotspots is counted, and the number is used as the degree of overlap between the first WiFi information and the second WiFi information.
  • the set ratio is 1/2.
  • the obtaining the relative location information of the first positioning terminal and the second positioning terminal according to the overlapping degree including:
  • the overlap degree is greater than or equal to 1/2 of the total number of WiFis included in the first WiFi information, determining that the first positioning terminal and the second positioning terminal are close to each other; otherwise, determining that the first positioning terminal is The second positioning terminals are not close to each other;
  • the preset value is 4.
  • the method further includes:
  • the method includes:
  • the second positioning information is calibrated with the first positioning information.
  • the calibrating the second positioning information by using the first positioning information comprises:
  • the overlapping WIFI hotspots in the first WiFi information are PW1, PW2, ..., PWN, and the PW1, PW2, ...,
  • the signal strength corresponding to the PWN is TS1, TS2, ..., TSN, and N is an integer greater than or equal to 1;
  • the weighting values W1, W2, ... of the connection distances L1, L2, ..., LN and the connection angles T1, T2, ..., TN are obtained according to the signal strengths TS1, TS2, ..., TSN corresponding to the overlapping WIFI hotspots. , WN;
  • the acquiring the first WiFi information of the environment where the first positioning terminal is located, and acquiring the second WiFi information of the environment where the second positioning terminal is located specifically:
  • the receiving the second positioning information and the second WiFi information returned by the second positioning terminal include:
  • the second positioning information and the second WiFi information returned by the second positioning terminal to the server;
  • the first positioning terminal receives the second positioning information and the second WiFi information forwarded by the server.
  • the first positioning terminal is a smart phone
  • the second positioning terminal is a wearable device.
  • the method for obtaining the second WiFi information of the environment where the second positioning terminal is located is obtained by acquiring the first WiFi information of the environment where the first positioning terminal is located; comparing the first WiFi information with the second WiFi information, Determining the degree of overlap of the first WiFi information and the second WiFi information; and obtaining relative location information of the first positioning terminal and the second positioning terminal according to the overlapping degree.
  • the solution of the invention determines the relative position information of the two based on the WiFi information obtained by each of the two positioning terminals, so as to eliminate the positioning. The doubts brought to the user are further corrected and verified by the positioning information of the positioning terminal with strong positioning capability to the positioning information of the positioning terminal with weak positioning capability.
  • FIG. 1 is a flow chart showing a method of determining a relative position of a positioning terminal according to a first embodiment of the present invention.
  • FIG. 2 is a flow chart showing a method of determining a relative position of a positioning terminal according to a second embodiment of the present invention.
  • FIG. 3 is a flow chart showing a method of determining a relative position of a positioning terminal according to a third embodiment of the present invention.
  • FIG. 1 is a flow chart of a method for determining a relative position of a positioning terminal according to a first embodiment of the present invention, which is described in detail as follows:
  • Step S101 Acquire first WiFi information of an environment where the first positioning terminal is located, and obtain second WiFi information of an environment where the second positioning terminal is located.
  • the first positioning terminal may be a smart phone
  • the second positioning terminal may be a wearable device
  • an APP application software for managing wearable device data is installed in the smart phone.
  • the wearable device such as a smart watch, collects physiological information data and behaviors of the user in real time. According to the same, the physiological information data and or behavior data are sent to the smart phone end, and the user's health application diagnosis and indication is provided through the APP application software on the smart phone side.
  • the first positioning terminal and the second positioning terminal may search for the WiFi information of each environment, and display a plurality of WiFi hotspots currently available in the form of a list, where the list may include the name, signal strength, and the strength of the WiFi hotspot. Information such as the total number of WiFi hotspots.
  • the smart phone that is the first positioning terminal by default can search or display up to 20 WiFi hotspot information at a time, and the default is The wearable device of the second positioning terminal can search or display up to 10 WiFi hotspot information at a time.
  • the obtaining of the first WiFi information and the second WiFi information may be performed in any order, or the second WiFi information may be acquired after the first WiFi information is obtained.
  • Step S102 Compare the first WiFi information and the second WiFi information to obtain an overlap degree between the first WiFi information and the second WiFi information.
  • the WiFi information acquired by the smart phone is compared with the WiFi information acquired by the wearable device, and the overlap degree of the first WiFi information and the second WiFi information refers to the acquired by the smart phone.
  • the coincidence degree between the WiFi information and the WiFi information obtained by the wearable device for example, if five WiFi hotspots in the WiFi information acquired by the wearable device also exist in the WiFi information acquired by the smart phone, the smart phone acquires The overlap between the WiFi information and the WiFi information obtained by the wearable device is 5; if all the WiFi hotspots in the WiFi information obtained by the wearable device are not in the WiFi information acquired by the smart phone, the WiFi information acquired by the smart phone
  • the degree of overlap with the WiFi information acquired by the wearable device is zero.
  • Step S103 Obtain relative position information of the first positioning terminal and the second positioning terminal according to the overlapping degree.
  • the effective coverage of the WiFi hotspot is 100 meters. Therefore, in this embodiment, the higher the degree of overlap, the closer the relative positions of the smart phone and the wearable device are. On the contrary, the lower the overlap degree is, the lower the overlap degree is. Indicates the relative position of the two is farther.
  • the executor of the foregoing steps S101-S103 may be the first locating terminal, in this embodiment, the smart phone end.
  • the first positioning terminal may be a smart phone
  • the second positioning terminal may be a wearable device
  • the APP application software for managing wearable device data is installed in the smart phone, and the second embodiment provides another method for determining the degree of overlap of the first WiFi information and the second WiFi information. Details are as follows:
  • step S201 the first WiFi information of the environment where the first positioning terminal is located is obtained, and the second WiFi information of the environment where the second positioning terminal is located is obtained.
  • this step is similar to step S101 of the first embodiment, and can be referred to step S101 of the first embodiment.
  • Step S202 Align the first WiFi information and the second WiFi information to find a WIFI hotspot with the same name included in the first WiFi information and the second WiFi information.
  • a specific implementation manner of this step may refer to step S102 of the first embodiment.
  • Step S203 Determine whether the ratio of the signal strength of the WIFI hotspots in the second WiFi information to the signal strength in the first WiFi information is greater than or equal to a set ratio. If yes, execute the step Step S204, otherwise, step S205 is performed.
  • the ratio of the signal strength of the WiFi hotspot acquired by the wearable device to the signal strength of the WiFi hotspot acquired by the smart phone is determined according to the respective signal receiving capabilities of the wearable device and the smart phone, and therefore, according to actual conditions, Adjust the set ratio.
  • Step S204 determining that the WIFI hotspot of the same name is an overlapping WIFI hotspot of the first WiFi information and the second WiFi information. Go to step S206.
  • Step S205 determining that the WIFI hotspot of the same name does not belong to the overlapping WIFI hotspot of the first WiFi information and the second WiFi information. Go to step S206.
  • Step S206 the number of overlapping WIFI hotspots is counted, and the degree of overlap between the first WiFi information and the second WiFi information is obtained.
  • the number is used as the degree of overlap between the first WiFi information and the second WiFi information.
  • the set ratio is set to 1/2, and the above steps S203-S206 can be implemented as follows:
  • WW1, WW2, ..., WWn are WIFI hotspots searched by the wearable device, and n is the number of WiFi hotspots;
  • PW1, PW2, ..., PWm are WIFI hotspots searched by smart phones, and m is the number of WiFi hotspots searched by smart phones;
  • WWS1, WWS2, ..., WWSn are signal strengths corresponding to WIFI hotspots WW1, WW2, ..., WWn searched by the wearable device;
  • PWS1, PWS2, ..., PWSm are the signal strengths corresponding to the WIFI hotspots PW1, PW2, ..., PWm searched by the smart phone;
  • the WiFi hotspots in the WiFi information acquired by the wearable device are traversed.
  • a WiFi hotspot name is the same, and the signal strength acquired by the wearable device is greater than or equal to half of the signal strength acquired by the smart phone,
  • the WiFi hotspot that satisfies this condition is determined as an overlapping WiFi hotspot of the smart phone and the wearable device, and the degree of overlap N of the first WiFi information and the second WiFi information is increased by one.
  • Step S207 obtaining relative position information of the first positioning terminal and the second positioning terminal according to the overlapping degree.
  • the effective coverage of the WiFi hotspot is 100 meters. Therefore, in this embodiment, the higher the degree of overlap, the closer the relative positions of the smart phone and the wearable device are. On the contrary, the lower the overlap degree is, the lower the overlap degree is. Indicates the relative position of the two is farther.
  • the overlap degree N is greater than or equal to 1/2 of the total number m of WiFi included in the first WiFi information, it is determined that the first positioning terminal and the second positioning terminal are close to each other.
  • the overlap degree N is greater than or equal to a preset value, determining that the first positioning terminal and the second positioning terminal are close to each other. It should be noted that the number of WiFi hotspots that can be searched by the wearable device and the number of WiFi hotspots that can be searched by the smart phone can be specifically set by the respective hardware conditions. Therefore, the preset value can be adjusted according to actual conditions.
  • the specific implementation of the step may be as follows:
  • the wearable device is set up close to the smartphone.
  • the WiFi signal of the first positioning terminal and the WiFi of the second positioning terminal are further determined by the signal strength of the two positioning terminals.
  • the degree of overlap of signals improves the validity and rationality of the determination of overlap.
  • a third embodiment of the present invention is described with reference to FIG. 3.
  • the positioning information of the first positioning terminal may be further used.
  • the positioning information of the second terminal is verified and corrected.
  • the first positioning terminal may be a smart phone
  • the second positioning terminal may be a wearable device, as follows:
  • Step S301 Acquire first WiFi information and first positioning information of an environment where the first positioning terminal is located, and send an instruction for collecting positioning information to the second positioning terminal.
  • the smart phone can be located by the APP application software and send an instruction to collect the positioning information to the wearable device.
  • Step S302 The second positioning terminal receives the instruction for collecting positioning information, and acquires second WiFi information and second positioning information of the environment where the second positioning terminal is located according to the set time period.
  • Step S303 the first positioning terminal receives the second positioning information and the second WiFi information returned by the second positioning terminal.
  • the second positioning information and the second WiFi information may be transferred by the server, that is, the second positioning information returned by the second positioning terminal to the server and the second WiFi.
  • the first positioning terminal receives the second positioning information and the second WiFi information forwarded by the server.
  • Step S304 comparing the first WiFi information and the second WiFi information, and obtaining an overlap degree between the first WiFi information and the second WiFi information.
  • This step can refer to steps S202-S206 of the second embodiment.
  • Step S305 obtaining relative position information of the first positioning terminal and the second positioning terminal according to the overlapping degree.
  • the overlap degree N is greater than or equal to 1/2 of the total number m of WiFi included in the first WiFi information, or the overlap degree N is greater than or equal to 4, determining the first positioning terminal and the location Description The second positioning terminals are close to each other and the next step is performed.
  • Step S306 respectively calculating the connection distance and the connection angle of the positions of the overlapping WIFI hotspots PW1, PW2, ..., PWN on the map to the first positioning information P(x, y).
  • the coordinates of the first positioning information on the map are P(x, y), and the overlapping WIFI hotspots in the first WiFi information are PW1, PW2, ..., PWN, and the The signal strengths corresponding to PW1, PW2, ..., PWN are TS1, TS2, ..., TSN, N is an integer greater than or equal to 1, and the corresponding connection distance is L1, L2, ..., LN, and the corresponding connection angle is T1. , T2, ..., TN.
  • Step S307 the weighting values W1 corresponding to the connection distances L1, L2, ..., LN and the connection angles T1, T2, ..., TN are obtained according to the signal strengths TS1, TS2, ..., TSN corresponding to the overlapping WIFI hotspots. W2, ..., WN.
  • Step S308 obtaining a position distance of the second positioning terminal relative to the first positioning terminal:
  • Step S309 the position angle of the second positioning terminal relative to the first positioning terminal is:
  • steps S308 and S309 may be performed in no particular order.
  • Step S310 calculating coordinates P'(x', y') of the calibration position of the second positioning terminal, where:
  • Step S311 updating the second positioning of the second positioning terminal by using the calibration position P'(x', y') information.
  • the specific formula adopted in the above calibration is only a preferred embodiment of the present invention, and the calibration of the second positioning information may be implemented according to the first positioning information and the relative position information.
  • the formula has the same principle, which is not limited by the present invention.
  • the positioning information of the wearable device and the smart phone are both based on two-dimensional coordinates, and may be extended to three-dimensional spatial coordinates according to actual conditions.
  • the principle of calibration is the same as the above calibration principle, so according to the above
  • the calibration of the three-dimensional spatial coordinates of the positioning information and the relative position information for the three-dimensional spatial coordinates of the second positioning information should also fall within the scope of protection of the present invention.
  • the auxiliary calibration function provides a practical way to improve the positioning accuracy of the wearable device.
  • the solution of the embodiment can be used as a positioning compensation of the positioning terminal to compensate for the shortage of positioning of other positioning maps, such as a high-definition map, a Baidu map, and the like, using only one terminal.

Abstract

本发明公开了一种确定定位终端相对位置的方法,包括;获取第一定位终端所在环境的第一WiFi信息,获取第二定位终端所在环境的第二WiFi信息;比对所述第一WiFi信息和所述第二WiFi信息,得出所述第一WiFi信息和所述第二WiFi信息的重叠度;根据所述重叠度得出所述第一定位终端与所述第二定位终端的相对位置信息。本发明的技术方案能够基于两定位终端各自获取到的WiFi信息确定两者的相对位置信息,消除定位不准给用户造成的疑惑,进一步的,还可通过定位能力较强的定位终端的定位信息对定位能力较弱的定位终端的定位信息进行修正和校验。

Description

一种确定定位终端相对位置的方法 技术领域
本发明涉及智能终端领域,尤其涉及一种基于WIFI热点的确定定位终端相对位置的方法。
背景技术
可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备,它不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。未来生活中,可穿戴设备将会对我们的生活、感知带来很大的转变。
可穿戴设备通常需要配套的手机或者电脑终端的应用软件来处理和分析数据。其中,可穿戴设备的手机应用软件,在定位时需要把可穿戴设备的位置、手机位置一起显示出来。但是由于技术与硬件的差异,可穿戴设备跟手机放在一起,无论是用WIFI定位,还是用基站定位,可穿戴设备、手机两者定位的位置很容易出现较大差距,而GPS又不方便进行室内定位,导致可穿戴设备、手机的位置有较明显偏差,使用户对定位信息产生疑惑。
现有技术中,虽然也可以用蓝牙4.0的技术来解决这个问题,但是这样的方法要求手机跟可穿戴设备都有4.0以的上蓝牙版本,然而需分别打开手机跟可穿戴设备的蓝牙,用户操作不便,并且一直打开蓝牙,存在电量损耗的问题。
发明内容
本发明的目的在于提出确定定位终端相对位置的方法,基于两定位终端各自获取到的WiFi信息确定两者的相对位置信息,以消除定位不准给用户带来的疑惑。
为达此目的,本发明采用以下技术方案:
一种确定定位终端相对位置的方法,包括:
获取第一定位终端所在环境的第一WiFi信息,获取第二定位终端所在环境的第二WiFi信息;
比对所述第一WiFi信息和所述第二WiFi信息,得出所述第一WiFi信息和所述第二WiFi信息的重叠度;
根据所述重叠度得出所述第一定位终端与所述第二定位终端的相对位置信息。
优选的,所述第一WiFi信息、第二WiFi信息均包括:WIFI热点名、各WIFI热点的信号强弱信息以及WIFI热点总数;
所述比对所述第一WiFi信息和所述第二WiFi信息,得出所述第一WiFi信息和所述第二WiFi信息的重叠度,包括:
找出所述第一WiFi信息、第二WiFi信息均包含的同名WIFI热点;
判断各同名WIFI热点在所述第二WiFi信息中的信号强度与其在所述第一WiFi信息中信号强度的比值是否大于等于设定比值,若是,确定该同名WIFI热点为所述第一WiFi信息与第二WiFi信息的重叠WIFI热点;
统计所述重叠WIFI热点的数量,将该数量作为所述第一WiFi信息与所述第二WiFi信息的重叠度。
优选的,所述设定比值为1/2。
优选的,所述根据所述重叠度得出所述第一定位终端与所述第二定位终端的相对位置信息,包括:
若所述重叠度大于等于所述第一WiFi信息包含的WiFi总数的1/2,则确定所述第一定位终端与所述第二定位终端彼此靠近,否则,确定所述第一定位终端与所述第二定位终端彼此不靠近;
或者,若所述重叠度大于等于预设值,则确定所述第一定位终端与所述第二定位终端彼此靠近,否则,确定所述第一定位终端与所述第二定位终端彼此不靠近。
优选的,所述预设值为4。
优选的,所述根据所述重叠度得出所述第一定位终端与所述第二定位终端的相对位置信息之前,还包括:
获取第一定位终端所在环境的第一定位信息,获取第二定位终端所在环境的第二定位信息;
所述确定所述第一定位终端与所述第二定位终端彼此靠近之后,包括:
用所述第一定位信息对所述第二定位信息进行校准。
优选的,所述用所述第一定位信息对所述第二定位信息进行校准,包括:
记所述第一定位信息的在地图上的坐标为P(x,y),所述第一WiFi信息中的重叠WIFI热点为PW1、PW2、…、PWN,且所述PW1、PW2、…、PWN对应的信号强度为TS1、TS2、…、TSN,N为大于等于1的整数;
分别计算各重叠WIFI热点PW1、PW2、…、PWN在地图上的位置到所述第一定位信息P(x,y)的连线距离和连线角度,记对应的连线距离为L1、L2、…、LN,对应的连线角度为T1、T2、…、TN;
根据各重叠WIFI热点对应的信号强度TS1、TS2、…、TSN得出所述连线距离L1、L2、…、LN以及连线角度T1、T2、…、TN对应的加权值W1、W2、…、WN;
得出所述第二定位终端相对所述第一定位终端的位置距离为:
Figure PCTCN2015095404-appb-000001
得出所述第二定位终端相对所述第一定位终端的位置角度为:
Figure PCTCN2015095404-appb-000002
计算所述第二定位终端的校准位置的坐标P′(x′,y′),其中:
Figure PCTCN2015095404-appb-000003
Figure PCTCN2015095404-appb-000004
用所述校准位置P′(x′,y′)更新所述第二定位终端的所述第二定位信息。
优选的,所述获取第一定位终端所在环境的第一WiFi信息,获取第二定位终端所在环境的第二WiFi信息,具体为:
获取所述第一定位终端所在环境的第一定位信息及第一WiFi信息,并向所述第二定位终端发送采集定位信息的指令;
所述第二定位终端接收到所述采集定位信息的指令,按照设定时间周期获取所在环境的第二定位信息及第二WiFi信息;
接收所述第二定位终端返回的所述第二定位信息及第二WiFi信息。
优选的,所述接收所述第二定位终端返回的所述第二定位信息及第二WiFi信息,包括:
所述第二定位终端向服务器返回的所述第二定位信息及第二WiFi信息;
所述第一定位终端接收服务器转发的所述第二定位信息及第二WiFi信息。
优选的,所述第一定位终端为智能手机,所述第二定位终端为可穿戴设备。
实施本发明实施例,具有如下有益效果:
本发明实施例通过获取第一定位终端所在环境的第一WiFi信息,获取第二定位终端所在环境的第二WiFi信息;比对所述第一WiFi信息和所述第二WiFi信息,得出所述第一WiFi信息和所述第二WiFi信息的重叠度;根据所述重叠度得出所述第一定位终端与所述第二定位终端的相对位置信息。本发明方案基于两定位终端各自获取到的WiFi信息确定两者的相对位置信息,以消除定位不 准给用户带来的疑惑,进一步的通过定位能力较强的定位终端的定位信息对定位能力较弱的定位终端的定位信息进行修正和校验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明第一实施例的确定定位终端相对位置的方法的流程示意图。
图2是本发明第二实施例的确定定位终端相对位置的方法的流程示意图。
图3是本发明第三实施例的确定定位终端相对位置的方法的流程示意图。
具体实施方式
下面结合本发明的附图对本发明实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。
第一实施例
图1是本发明第一实施例的确定定位终端相对位置的方法流程图,详述如下:
步骤S101,获取第一定位终端所在环境的第一WiFi信息;获取第二定位终端所在环境的第二WiFi信息。
在第一实施例中,第一定位终端可为智能手机,第二定位终端可为可穿戴设备,并且,在所述智能手机中安装有用于管理可穿戴设备数据的APP应用软件。所述可穿戴设备例如智能手表,实时采集用户的生理信息数据和或行为数 据等,并将所述生理信息数据和或行为数据发送到智能手机端,通过智能手机端的APP应用软件给用户健康诊断和指示。
所述第一定位终端、第二定位终端均可搜索各所在环境的WiFi信息,并以列表的形式展示出当前能够获取到的若干WiFi热点,所述列表可包括WiFi热点的名称、信号强度以及WiFi热点的总数等信息。
本实施例中,考虑到可穿戴设备与只能手机因硬件、技术导致的信息差异与区别,默认作为所述第一定位终端的智能手机可以一次搜索或展示最多20条WiFi热点信息,默认作为所述第二定位终端的可穿戴设备可一次搜索或展示最多10条WiFi热点信息。
优选的,本实施例中,所述第一WiFi信息、第二WiFi信息的获取可不分先后顺序,也可以先获取到所述第一WiFi信息后,再获取所述第二WiFi信息。
步骤S102,比对所述第一WiFi信息和所述第二WiFi信息,得出所述第一WiFi信息和所述第二WiFi信息的重叠度。
本实施例中,即将智能手机获取到的WiFi信息与可穿戴设备获取到的WiFi信息进行比对,所述第一WiFi信息和所述第二WiFi信息的重叠度指的是智能手机获取到的WiFi信息与可穿戴设备获取到的WiFi信息的重合度,具体如:可穿戴设备获取到的WiFi信息中有5个WiFi热点也同时存在于智能手机获取到的WiFi信息中,则智能手机获取到的WiFi信息与可穿戴设备获取到的WiFi信息的重叠度为5;若可穿戴设备获取到的WiFi信息中所有WiFi热点均不在智能手机获取到的WiFi信息中,则智能手机获取到的WiFi信息与可穿戴设备获取到的WiFi信息的重叠度为0。
步骤S103,根据所述重叠度得出所述第一定位终端与所述第二定位终端的相对位置信息。
通常情况下,WiFi热点的有效覆盖范围为100米,因此本实施例中,所述重叠度越高,表明智能手机和可穿戴设备的相对位置越靠近;反之,所述重叠度越低,则表明两者的相对位置越远。
上述步骤S101-S103的执行主体可以为所述第一定位终端,本实施例中,即智能手机端。通过上述第一实施例,若可穿戴设备穿戴与小孩或者老人身上,大人手持智能手机,通过获取两者的WiFi信息并进行比对,便可得出可穿戴设备与智能手机的相对位置,消除用户对定位不准的疑惑;同时可知晓小孩或老人与自己的距离远近,可防止小孩或者老人走失。
第二实施例
结合图2对本发明的第二实施例进行说明,在第二实施例中,在第一实施例中,第一定位终端可为智能手机,第二定位终端可为可穿戴设备,并且,在所述智能手机中安装有用于管理可穿戴设备数据的APP应用软件,第二实施例给出了另一种确定所述第一WiFi信息和所述第二WiFi信息的重叠度的办法。详述如下:
步骤S201,获取第一定位终端所在环境的第一WiFi信息,获取第二定位终端所在环境的第二WiFi信息。
第二实施例中,该步骤与第一实施例的步骤S101相似,可参考第一实施例的步骤S101所述。
步骤S202,比对所述第一WiFi信息和所述第二WiFi信息,找出所述第一WiFi信息、第二WiFi信息均包含有的同名WIFI热点。
第二实施例中,该步骤的具体实施方式可参考第一实施例步骤S102。
步骤S203,判断各同名WIFI热点在所述第二WiFi信息中的信号强度与其在所述第一WiFi信息中信号强度的比值是否大于等于设定比值。若是,执行步 骤S204,否则,执行步骤S205.
需要说明的是,可穿戴设备获取的WiFi热点的信号强度与智能手机获取的WiFi热点的信号强度的比例,是根据可穿戴设备与智能手机各自的信号接收能力决定的,因此,根据实际情况可调整所述设定比值。
步骤S204,确定该同名WIFI热点为所述第一WiFi信息与第二WiFi信息的重叠WIFI热点。执行步骤S206.
步骤S205,确定该同名WIFI热点不属于所述第一WiFi信息与第二WiFi信息的重叠WIFI热点。执行步骤S206.
步骤S206,统计重叠WIFI热点的数量,得出所述第一WiFi信息与所述第二WiFi信息的重叠度。
第二实施例中,将该数量作为所述第一WiFi信息与所述第二WiFi信息的重叠度。
优选的,第二实施例中将所述设定比值设定为1/2,则上述步骤S203-S206可按照如下方式实现:
WW1、WW2、…、WWn为可穿戴设备搜索到的WIFI热点,n为WiFi热点数量;
PW1、PW2、…、PWm为智能手机搜索到的WIFI热点,m为智能手机搜索到的WiFi热点数量;
WWS1、WWS2、…、WWSn为可穿戴设备搜索到的WIFI热点WW1、WW2、…、WWn对应的信号强度;
PWS1、PWS2、…、PWSm为智能手机搜索到的WIFI热点PW1、PW2、…、PWm对应的信号强度;
假设N为可穿戴设备与智能手机的WiFi信息的重叠度,初始时N=0;执行下面的步骤:
If(WWk==PWi&&WWSk>=PWSi/2)N++
第二实施例中,即遍历可穿戴设备获取的WiFi信息中的各WiFi热点,当某WiFi热点名称相同,且在可穿戴设备获取到的信号强度大于等于在智能手机获取的信号强度的一半,满足此条件的WiFi热点被确定为智能手机和可穿戴设备的重叠WiFi热点,所述第一WiFi信息与所述第二WiFi信息的重叠度N加1。
步骤S207,根据所述重叠度得出所述第一定位终端与所述第二定位终端的相对位置信息。
通常情况下,WiFi热点的有效覆盖范围为100米,因此本实施例中,所述重叠度越高,表明智能手机和可穿戴设备的相对位置越靠近;反之,所述重叠度越低,则表明两者的相对位置越远。
本实施例中,若所述重叠度N大于等于所述第一WiFi信息包含的WiFi总数m的1/2,则确定所述第一定位终端与所述第二定位终端彼此靠近。
作为本实施例的另一优选实施方式,若所述重叠度N大于等于预设值,则确定所述第一定位终端与所述第二定位终端彼此靠近。需要说明的是,可穿戴设备能搜索到的WiFi热点数量、智能手机能搜索到的WiFi热点数量由各自的硬件条件可具体设置有关,因此可根据实际情况调整所述预设值的大小。
第二实施例中,设定预设值为4,则该步骤的具体实施可为如下方式:
If(N>=4||N>=m/2)
Then可穿戴设备靠近智能手机成立。
上述第二实施例,在比较第一定位终端与第二定位终端搜索到的WiFi热点名的基础上,进一步通过两者的信号强度来确定第一定位终端的WiFi信号与第二定位终端的WiFi信号的重叠度,提高了重叠度确定的有效性和合理性。
第三实施例
结合图3对本发明的第三实施例进行说明,在第三实施例中,根据确定出的第一定位终端与第二定位终端的相对位置信息,可进一步的用第一定位终端的定位信息对第二终端的定位信息进行校验修正。优选的,第三实施例中,所述第一定位终端可为智能手机,所述第二定位终端可为可穿戴设备,详述如下:
步骤S301,获取第一定位终端所在环境的第一WiFi信息及第一定位信息,并向所述第二定位终端发送采集定位信息的指令。
第三实施例中,智能手机可通过APP应用软件定位,并向可穿戴设备发送采集定位信息的指令。
步骤S302,所述第二定位终端接收到所述采集定位信息的指令,按照设定时间周期获取第二定位终端所在环境的第二WiFi信息及第二定位信息。
步骤S303,所述第一定位终端接收所述第二定位终端返回的所述第二定位信息及第二WiFi信息。
作为本实施例的另一优选实施方式,也可以通过服务器中转所述第二定位信息及第二WiFi信息,即:所述第二定位终端向服务器返回的所述第二定位信息及第二WiFi信息,所述第一定位终端接收服务器转发的所述第二定位信息及第二WiFi信息。
步骤S304,比对所述第一WiFi信息和所述第二WiFi信息,得出所述第一WiFi信息和所述第二WiFi信息的重叠度。
该步骤可参考第二实施例的步骤S202-S206.
步骤S305,根据所述重叠度得出所述第一定位终端与所述第二定位终端的相对位置信息。
第三实施例中,若所述重叠度N大于等于所述第一WiFi信息包含的WiFi总数m的1/2,或者所述重叠度N大于等于4,则确定所述第一定位终端与所述 第二定位终端彼此靠近,执行下一步骤。
步骤S306,分别计算各重叠WIFI热点PW1、PW2、…、PWN在地图上的位置到所述第一定位信息P(x,y)的连线距离和连线角度。
第三实施例中,记所述第一定位信息的在地图上的坐标为P(x,y),所述第一WiFi信息中的重叠WIFI热点为PW1、PW2、…、PWN,且所述PW1、PW2、…、PWN对应的信号强度为TS1、TS2、…、TSN,N为大于等于1的整数,记对应的连线距离为L1、L2、…、LN,对应的连线角度为T1、T2、…、TN。
步骤S307,根据各重叠WIFI热点对应的信号强度TS1、TS2、…、TSN得出所述连线距离L1、L2、…、LN以及连线角度T1、T2、…、TN对应的加权值W1、W2、…、WN。
第三实施例中,重叠WIFI热点对应的信号强度TS1、TS2、…、TSN越大,则对应连线距离L1、L2、…、LN以及连线角度T1、T2、…、TN对应的加权值W1、W2、…、WN越大。
步骤S308,得出所述第二定位终端相对所述第一定位终端的位置距离为:
Figure PCTCN2015095404-appb-000005
步骤S309,得出所述第二定位终端相对所述第一定位终端的位置角度为:
Figure PCTCN2015095404-appb-000006
第三实施例中,步骤S308和S309的执行可不分先后顺序。
步骤S310,计算所述第二定位终端的校准位置的坐标P′(x′,y′),其中:
Figure PCTCN2015095404-appb-000007
Figure PCTCN2015095404-appb-000008
步骤S311,用所述校准位置P′(x′,y′)更新所述第二定位终端的所述第二定位 信息。
需要说明的是,上述校准所采用的具体公式仅为本发明的一优选实施方式,根据所述第一定位信息、所述相对位置信息实现对所述第二定位信息的校准也可采用其他计算公式,其实质原理相同,本发明对此不做限定。
上述第三实施例中,可穿戴设备和智能手机的定位信息均以二维坐标为力,根据实际情况也可以扩展到三维的空间坐标,校准的原理与上述校准原理相同,因此根据所述第一定位信息的三维空间坐标、所述相对位置信息对所述第二定位信息的三维空间坐标进行校准也应当属于本发明保护的范围。
通过上述第三实施例,通过对可穿戴设、智能手机设备周边WIFI信息的分析,来判断智能手机与可穿戴设备是否在附近,而不只是单纯的各自的定位数据,起到了两者位置关系的辅助校准作用,提供了一种实用的、提高穿戴设备定位准确性体验的方法。本实施例的方案可以做为定位终端的定位补尝,来弥补其他定位地图例如高德地图、百度地图等原来的定位方式中,只采用一个终端来定位的不足。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利要求范围,因此,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,仍属本发明所涵盖的范围。

Claims (10)

  1. 一种确定定位终端相对位置的方法,其特征在于,包括:
    获取第一定位终端所在环境的第一WiFi信息,获取第二定位终端所在环境的第二WiFi信息;
    比对所述第一WiFi信息和所述第二WiFi信息,得出所述第一WiFi信息和所述第二WiFi信息的重叠度;
    根据所述重叠度得出所述第一定位终端与所述第二定位终端的相对位置信息。
  2. 如权利要求1所述的确定定位终端相对位置的方法,其特征在于,所述第一WiFi信息、第二WiFi信息均包括:WIFI热点名、各WIFI热点的信号强弱信息以及WIFI热点总数;
    所述比对所述第一WiFi信息和所述第二WiFi信息,得出所述第一WiFi信息和所述第二WiFi信息的重叠度,包括:
    找出所述第一WiFi信息、第二WiFi信息均包含的同名WIFI热点;
    判断各同名WIFI热点在所述第二WiFi信息中的信号强度与其在所述第一WiFi信息中信号强度的比值是否大于等于设定比值,若是,确定该同名WIFI热点为所述第一WiFi信息与第二WiFi信息的重叠WIFI热点;
    统计所述重叠WIFI热点的数量,将该数量作为所述第一WiFi信息与所述第二WiFi信息的重叠度。
  3. 如权利要求2所述的确定定位终端相对位置的方法,其特征在于,所述设定比值为1/2。
  4. 如权利要求2所述的确定定位终端相对位置的方法,其特征在于,所述根据所述重叠度得出所述第一定位终端与所述第二定位终端的相对位置信息,包括:
    若所述重叠度大于等于所述第一WiFi信息包含的WiFi总数的1/2,则确定所述第一定位终端与所述第二定位终端彼此靠近,否则,确定所述第一定位终端与所述第二定位终端彼此不靠近;
    或者,若所述重叠度大于等于预设值,则确定所述第一定位终端与所述第二定位终端彼此靠近,否则,确定所述第一定位终端与所述第二定位终端彼此不靠近。
  5. 如权利要求4所述的确定定位终端相对位置的方法,其特征在于,所述预设值为4。
  6. 如权利要求4所述的确定定位终端相对位置的方法,其特征在于,所述根据所述重叠度得出所述第一定位终端与所述第二定位终端的相对位置信息之前,还包括:
    获取第一定位终端所在环境的第一定位信息,获取第二定位终端所在环境的第二定位信息;
    所述确定所述第一定位终端与所述第二定位终端彼此靠近之后,包括:
    用所述第一定位信息对所述第二定位信息进行校准。
  7. 如权利要求6所述的确定定位终端相对位置的方法,其特征在于,所述用所述第一定位信息对所述第二定位信息进行校准,包括:
    记所述第一定位信息的在地图上的坐标为P(x,y),所述第一WiFi信息中的重叠WIFI热点为PW1、PW2、…、PWN,且所述PW1、PW2、…、PWN对应的信号强度为TS1、TS2、…、TSN,N为大于等于1的整数;
    分别计算各重叠WIFI热点PW1、PW2、…、PWN在地图上的位置到所述第一定位信息P(x,y)的连线距离和连线角度,记对应的连线距离为L1、L2、…、LN,对应的连线角度为T1、T2、…、TN;
    根据各重叠WIFI热点对应的信号强度TS1、TS2、…、TSN得出所述连线距离L1、L2、…、LN以及连线角度T1、T2、…、TN对应的加权值W1、W2、…、WN;
    得出所述第二定位终端相对所述第一定位终端的位置距离为:
    Figure PCTCN2015095404-appb-100001
    得出所述第二定位终端相对所述第一定位终端的位置角度为:
    Figure PCTCN2015095404-appb-100002
    计算所述第二定位终端的校准位置的坐标P′(x′,y′),其中:
    Figure PCTCN2015095404-appb-100003
    Figure PCTCN2015095404-appb-100004
    用所述校准位置P′(x′,y′)更新所述第二定位终端的所述第二定位信息。
  8. 如权利要求1所述的确定定位终端相对位置的方法,其特征在于,所述获取第一定位终端所在环境的第一WiFi信息,获取第二定位终端所在环境的第二WiFi信息,具体为:
    获取所述第一定位终端所在环境的第一定位信息及第一WiFi信息,并向所述第二定位终端发送采集定位信息的指令;
    所述第二定位终端接收到所述采集定位信息的指令,按照设定时间周期获取所在环境的第二定位信息及第二WiFi信息;
    接收所述第二定位终端返回的所述第二定位信息及第二WiFi信息。
  9. 如权利要求8所述的确定定位终端相对位置的方法,其特征在于,所述接收所述第二定位终端返回的所述第二定位信息及第二WiFi信息,包括:
    所述第二定位终端向服务器返回的所述第二定位信息及第二WiFi信息;
    所述第一定位终端接收服务器转发的所述第二定位信息及第二WiFi信息。
  10. 如权利要求1-9任一项所述的确定定位终端相对位置的方法,其特征在于,所述第一定位终端为智能手机,所述第二定位终端为可穿戴设备。
PCT/CN2015/095404 2014-11-27 2015-11-24 一种确定定位终端相对位置的方法 WO2016082740A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410710678.9A CN104469934B (zh) 2014-11-27 2014-11-27 一种确定定位终端相对位置的方法
CN201410710678.9 2014-11-27

Publications (1)

Publication Number Publication Date
WO2016082740A1 true WO2016082740A1 (zh) 2016-06-02

Family

ID=52915112

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/095404 WO2016082740A1 (zh) 2014-11-27 2015-11-24 一种确定定位终端相对位置的方法

Country Status (2)

Country Link
CN (1) CN104469934B (zh)
WO (1) WO2016082740A1 (zh)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469934B (zh) * 2014-11-27 2017-02-15 广东小天才科技有限公司 一种确定定位终端相对位置的方法
CN104883663A (zh) * 2015-04-17 2015-09-02 深圳市金立通信设备有限公司 一种终端
CN106162546A (zh) * 2015-04-27 2016-11-23 中国移动通信集团公司 一种基于跟随式虚拟围栏的监控方法、装置及系统
CN105100222B (zh) * 2015-07-01 2018-06-08 小米科技有限责任公司 一种提供对象找回信息的方法和装置
TWI578011B (zh) * 2015-09-07 2017-04-11 Golden Smart Home Tech Corp Indoor positioning system and indoor positioning method
CN106019345B (zh) * 2016-05-13 2018-10-30 深圳市沃特沃德股份有限公司 一种基于移动wifi热点搜索宠物的方法及其系统
CN106102008A (zh) * 2016-06-23 2016-11-09 乐视控股(北京)有限公司 一种寻找终端的方法及装置
CN106792500B (zh) * 2016-11-11 2021-11-30 北京小米移动软件有限公司 信息输出方法及装置、可穿戴设备
CN107529143A (zh) * 2017-09-25 2017-12-29 深圳市壹捌壹玖科技有限公司 终端定位方法、系统、装置和计算机存储介质
CN108449495A (zh) * 2018-03-12 2018-08-24 广东欧珀移动通信有限公司 语音通话数据处理方法、装置、存储介质及移动终端
CN108668221A (zh) * 2018-04-28 2018-10-16 北京万兔思睿科技有限公司 一种智能定位系统及方法
CN109375157B (zh) * 2018-09-26 2020-10-16 北京永安信通科技有限公司 基于定位数据检测重叠对象的方法、装置和电子设备
CN109257700B (zh) * 2018-11-19 2020-11-06 广东小天才科技有限公司 一种基于定位纠偏的定位方法、服务器及系统
CN110599738A (zh) * 2019-09-19 2019-12-20 广东小天才科技有限公司 移动对象监测方法、装置、设备及系统
CN112834984A (zh) * 2019-11-22 2021-05-25 阿里巴巴集团控股有限公司 定位方法、装置、系统、设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110257923A1 (en) * 2010-04-16 2011-10-20 Spirent Communications, Inc. WiFi Positioning Bench Test Method and Instrument
CN102932911A (zh) * 2012-09-26 2013-02-13 上海顶竹通讯技术有限公司 位置指纹定位方法及定位系统
US8599759B2 (en) * 2011-04-29 2013-12-03 Cooper Technologies Company Multi-path radio transmission input/output devices, network, systems and methods with on demand, prioritized routing protocol
CN103906226A (zh) * 2012-12-26 2014-07-02 中国电信股份有限公司 邻近终端发现方法、装置、终端和服务器
CN104469934A (zh) * 2014-11-27 2015-03-25 广东小天才科技有限公司 一种确定定位终端相对位置的方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7353034B2 (en) * 2005-04-04 2008-04-01 X One, Inc. Location sharing and tracking using mobile phones or other wireless devices
US8745250B2 (en) * 2009-06-30 2014-06-03 Intel Corporation Multimodal proximity detection
US9696431B2 (en) * 2010-04-12 2017-07-04 Nokia Technologies Oy Selection of a relative positioning method
KR101668784B1 (ko) * 2011-09-23 2016-10-24 퀄컴 인코포레이티드 근접 핑거프린트들을 통한 포지션 추정
GB2510169A (en) * 2013-01-28 2014-07-30 Microsoft Corp Determining a location of a mobile user terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110257923A1 (en) * 2010-04-16 2011-10-20 Spirent Communications, Inc. WiFi Positioning Bench Test Method and Instrument
US8599759B2 (en) * 2011-04-29 2013-12-03 Cooper Technologies Company Multi-path radio transmission input/output devices, network, systems and methods with on demand, prioritized routing protocol
CN102932911A (zh) * 2012-09-26 2013-02-13 上海顶竹通讯技术有限公司 位置指纹定位方法及定位系统
CN103906226A (zh) * 2012-12-26 2014-07-02 中国电信股份有限公司 邻近终端发现方法、装置、终端和服务器
CN104469934A (zh) * 2014-11-27 2015-03-25 广东小天才科技有限公司 一种确定定位终端相对位置的方法

Also Published As

Publication number Publication date
CN104469934B (zh) 2017-02-15
CN104469934A (zh) 2015-03-25

Similar Documents

Publication Publication Date Title
WO2016082740A1 (zh) 一种确定定位终端相对位置的方法
US10750470B2 (en) Systems and methods for determining if a receiver is inside or outside a building or area
US11212652B2 (en) Positioning method and apparatus
KR102280610B1 (ko) 전자 장치의 위치 추정 방법 및 장치
US9510318B2 (en) Method and apparatus for ascertaining a location of a personal portable wireless communication device
JP2017535792A (ja) 地球磁場を用いた自己位置推定とマップ作成の同時実行
US20170150371A1 (en) System and method for radio signal coverage mapping
KR101286169B1 (ko) 무선 통신 단말의 위치 측정 장치, 위치 측정 방법 및 핑거프린트 정보 수집 방법, 핑거프린트 서버 및 그의 위치 제공 방법
WO2015167265A1 (en) Indoor global positioning system
BR112016025128B1 (pt) Método implementado por computador de determinar uma posição calculada de um dispositivo de processamento móvel, meio de armazenamento de computador e dispositivo de processamento móvel
JP5166326B2 (ja) 測位統合装置、位置情報サービスシステム及び位置情報サービス方法
US20130178226A1 (en) Method of Positioning Using Wireless Signals and Inertial Measurement Units, Electronic Device, and Positioning System Using the Same Method
US10143889B2 (en) Positioning system and positioning method
JP2013205226A (ja) 位置補正システム、位置補正方法、位置情報サーバ、及び、プログラム
AU2015256160A1 (en) Location error radius determination
JP2009288173A (ja) 位置推定端末、位置推定方法、および位置推定プログラム
CN110008671B (zh) 数据校验方法及装置
US9020753B2 (en) Method, computer program and apparatus for determining an object in sight
CN115529549A (zh) 蓝牙定位方法、相关装置、电子设备以及存储介质
EP3130161B1 (en) Compensation of the variations of receiver sensitivity for accurate positioning
KR102448926B1 (ko) 핑거 프린팅을 이용한 실내 위치 측정 방법 및 이를 이용한 전자 장치
TWI606250B (zh) Indoor positioning system and mobile terminal device
US10034138B2 (en) Companion device location within enclosed spaces
JP2017003278A (ja) 情報処理装置及び位置情報算出プログラム
JP2017181341A (ja) 電子機器、測位方法及びプログラム

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: 15863248

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15863248

Country of ref document: EP

Kind code of ref document: A1