WO2018133311A1 - Indoor positioning method and device - Google Patents

Indoor positioning method and device Download PDF

Info

Publication number
WO2018133311A1
WO2018133311A1 PCT/CN2017/088259 CN2017088259W WO2018133311A1 WO 2018133311 A1 WO2018133311 A1 WO 2018133311A1 CN 2017088259 W CN2017088259 W CN 2017088259W WO 2018133311 A1 WO2018133311 A1 WO 2018133311A1
Authority
WO
WIPO (PCT)
Prior art keywords
indoor positioning
signal
signal strength
determining
beacon
Prior art date
Application number
PCT/CN2017/088259
Other languages
French (fr)
Chinese (zh)
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
Priority to CN201710046272 priority Critical
Priority to CN201710046272.9 priority
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018133311A1 publication Critical patent/WO2018133311A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Abstract

An indoor positioning method comprises: a first device transmitting a first signal to a second device in a first region, the first signal being used to trigger the second device to transmit a beacon signal, and the beacon signal carrying an identifier of the second device; the first device detecting a signal strength of the beacon signal transmitted by the second device; and the first device determining, according to the signal strength of the beacon signal and the identifier carried by the beacon signal, a location of the first device relative to the second device. The method employs, according to a home intelligent service and a home environment characteristic, existing intelligent home appliances to realize, by means of software control and an algorithm, an indoor positioning function with respect to a user without deploying a base station or increasing costs, thereby having great potential for home intelligent services and new intelligent services.

Description

一种室内定位的方法和设备Method and device for indoor positioning
本申请要求于2017年01月20日提交中国专利局、申请号为201710046272.9、发明名称为“一种利用智能家电实现室内定位的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on January 20, 2017, the Chinese Patent Office, Application No. 201710046272.9, entitled "A Method and Apparatus for Realizing Indoor Positioning Using Smart Home Appliances", the entire contents of which are incorporated by reference. Combined in this application.
技术领域Technical field
本发明涉及通信领域,具体涉及一种室内定位的方法和设备。The present invention relates to the field of communications, and in particular, to a method and device for indoor positioning.
背景技术Background technique
随着智能家居的发展,智能家电的种类越来越多,使得传统家电的功能更加丰富,给人们的生活带来了很大的便利。如图1所示,智能家庭系统可以由智能家电、控制终端和云服务器组成。其中,一个智能家庭系统中可以有多个智能家电,智能家电可以具有联网、远程控制、状态上报等功能,也可以具有编程或定时功能;控制终端是控制智能家电运行的设备,可以是固定的也可以是移动的,固定的控制终端可以是开关、操作面板等设备,移动的控制终端可以是智能手机、平板电脑等设备,移动的控制终端可以通过无线局域网、蓝牙、ZigBee或移动通信网络等通信方式与智能家电通信,从而在家庭中或家庭以外都可以实现对智能家电的控制。云服务器,也可以叫IoT(Internet of Things)云服务器,可以存储智能家电的信息,也可以控制智能家电,还可以转发或记录控制终端和智能家电之间消息和命令。可以理解的是,控制终端可以直接控制智能家电,也可以通过云服务器控制智能家电。通常,移动的控制终端,例如智能手机等设备,可以通过其上运行的智能家电管理应用程序(application,APP)来管理智能家电。With the development of smart homes, more and more types of smart home appliances have made the functions of traditional home appliances more abundant, which has brought great convenience to people's lives. As shown in FIG. 1, the smart home system can be composed of a smart home appliance, a control terminal, and a cloud server. Among them, a smart home system may have multiple smart home appliances, smart home appliances may have functions such as networking, remote control, status reporting, etc., and may also have programming or timing functions; the control terminal is a device that controls the operation of smart home appliances, and may be fixed. It can also be mobile. The fixed control terminal can be a switch, an operation panel, etc. The mobile control terminal can be a smart phone, a tablet computer, etc., and the mobile control terminal can pass through a wireless local area network, Bluetooth, ZigBee or a mobile communication network. The communication method communicates with the smart home appliance, so that the control of the smart home appliance can be realized in the home or outside the home. The cloud server, also called the Internet of Things (IoT) cloud server, can store information about smart appliances, control smart appliances, and forward or record messages and commands between the control terminal and smart appliances. It can be understood that the control terminal can directly control the smart home appliance, and can also control the smart home appliance through the cloud server. Generally, a mobile control terminal, such as a smart phone, can manage smart home appliances through a smart home appliance management application (application, APP) running thereon.
室内定位技术也是近年来进步较快、并且正在商用化的技术,随着电子器件在微型化、高性能、低成本和低功耗方面的进步,使得在公共场所建设这类定位系统成为可能。目前主要应用于:室内导航,物流,寻车,商业推广,定向广告,人流分析,医疗救援,VR等。当前室内定位技术的应用主要面向企业、商场等公众场所,成本较高,缺少适用于家庭这种结构复杂、空间小的环境的民用定位技术。Indoor positioning technology is also a technology that has progressed rapidly and is being commercialized in recent years. With the advancement of electronic devices in miniaturization, high performance, low cost, and low power consumption, it is possible to construct such positioning systems in public places. Currently mainly used in: indoor navigation, logistics, car search, commercial promotion, targeted advertising, flow analysis, medical rescue, VR and so on. The application of indoor positioning technology is mainly for public places such as enterprises and shopping malls, and the cost is high. There is no civilian positioning technology suitable for the complex and small space environment of the family.
发明内容Summary of the invention
有鉴于此,本申请实施例提供了一种室内定位的方法和设备,利用已有智能家电设备,通过软件控制和算法,实现对用户的室内定位功能。In view of this, the embodiments of the present application provide a method and device for indoor positioning, which utilizes existing smart home appliances to implement indoor positioning functions for users through software control and algorithms.
第一方面,本申请实施例提供了一种室内定位的方法,该方法包括:第一设备向第一区域内的第二设备发送第一信号;所述第一信号用于触发第二设备发送信标信号,所述信标信号携带有所述第二设备的标识;所述第一设备检测所述第二设备发送的信标信号的信号强度;所述第一设备根据所述信标信号的信号强度以及所述信标信号携带的标识确定所述第一设备相对于所述第二设备的位置。In a first aspect, the embodiment of the present application provides a method for indoor positioning, where the method includes: the first device sends a first signal to a second device in the first area; and the first signal is used to trigger the second device to send Transmitting a beacon signal, the beacon signal carrying an identifier of the second device; the first device detecting a signal strength of a beacon signal sent by the second device; the first device according to the beacon signal The signal strength and the identity carried by the beacon signal determine the location of the first device relative to the second device.
在一种可能的设计中,所述第一区域包括多个第二区域,多个所述第二设备处于所述 多个第二区域中;所述第一设备根据所述信标信号的信号强度以及所述信标信号携带的标识确定所述第一设备相对于所述第二设备的位置,具体包括:根据所述信号强度及所述标识确定和所述第一设备相距不超过第一距离的第二设备,所述第一设备与找到的第二设备处于相同的第二区域。In a possible design, the first area includes a plurality of second areas, and the plurality of second devices are in the Determining, by the first device, the location of the first device relative to the second device according to the signal strength of the beacon signal and the identifier carried by the beacon signal, specifically: according to: The signal strength and the identifier determine a second device that is not more than the first distance from the first device, and the first device is in the same second region as the found second device.
在一种可能的设计中,所述根据所述信号强度及所述标识确定和所述第一设备相距不超过第一距离的第二设备,具体包括:从所述多个第二设备分别发送的信标信号中,选择出信号强度大于第一阈值的信标信号;将所述信号强度大于第一阈值的信标信号携带的标识表征的第二设备确定为所述和所述第一设备相距不超过第一距离的第二设备。In a possible design, the determining, by the signal strength and the identifier, the second device that is not more than the first distance from the first device, specifically includes: sending, respectively, the multiple second devices Selecting, in the beacon signal, a beacon signal whose signal strength is greater than the first threshold; determining, by the second device that is characterized by the identifier carried by the beacon signal whose signal strength is greater than the first threshold, as the first device A second device that does not exceed the first distance.
在一种可能的设计中,所述第一设备根据所述第二设备发送的信标信号的信号强度确定所述第一设备相对于所述第二设备的位置,具体包括:根据所述信号强度及所述标识确定和所述第一设备距离最近的第二设备,所述第一设备处于所述第二设备的位置或附近。In a possible design, the first device determines the location of the first device relative to the second device according to the signal strength of the beacon signal sent by the second device, and specifically includes: according to the signal The strength and the identification determine a second device that is closest to the first device, the first device being at or near the location of the second device.
在一种可能的设计中,所述根据所述信号强度及所述标识确定和所述第一设备距离最近的第二设备,具体包括:从所述多个第二设备分别发送的信标信号中,选择出信号强度最大的信标信号;将所述信号强度最大的信标信号携带的标识表征的第二设备确定为所述和所述第一设备距离最近的第二设备。In a possible design, the determining, by the signal strength and the identifier, the second device that is closest to the first device, specifically includes: a beacon signal separately sent from the multiple second devices And determining, by the beacon signal having the highest signal strength, the second device characterized by the identifier carried by the beacon signal with the highest signal strength as the second device that is closest to the first device.
在一种可能的设计中,所述第一设备根据所述第二设备发送的信标信号的信号强度确定所述第一设备相对于所述第二设备的位置,具体包括:根据所述信号强度及所述标识确定和所述第一设备距离最近的至少2个第二设备,所述第一设备处于所述至少2个第二设备之间。In a possible design, the first device determines the location of the first device relative to the second device according to the signal strength of the beacon signal sent by the second device, and specifically includes: according to the signal The strength and the identifier determine at least two second devices that are closest to the first device, and the first device is between the at least two second devices.
在一种可能的设计中,所述根据所述信号强度及所述标识确定和所述第一设备距离最近的至少2个第二设备,具体包括:从所述多个第二设备分别发送的信标信号中,按照信号强度从高到低的顺序选择出(信号强度最大的)至少2个信标信号;所述至少2个信标信号之间的信号强度差值不超过第二阈值;将所述至少2个信标信号各自携带的标识表征的至少2个第二设备确定为所述和所述第一设备距离最近的至少2个第二设备。In a possible design, the determining, according to the signal strength and the identifier, the at least two second devices that are closest to the first device, specifically: sending the information from the multiple second devices separately In the beacon signal, at least two beacon signals (the signal strength is the largest) are selected in order of high to low signal strength; the signal strength difference between the at least two beacon signals does not exceed the second threshold; And determining, by the at least two second devices that are characterized by the identifiers carried by the at least two beacon signals, the at least two second devices that are closest to the first device.
在一种可能的设计中,所述方法还包括:判断所述第一设备连接到的网络以及所述第一设备检测到的网络信号的信号强度是否发生变化,如果没有变化,则确定第一设备的位置没有发生变化。In a possible design, the method further includes: determining whether the network to which the first device is connected and whether the signal strength of the network signal detected by the first device changes, and if there is no change, determining the first The location of the device has not changed.
在一种可能的设计中,所述方法还包括:接收用户输入的语音控制指令;确定所述语音控制指令匹配的第二设备;所述匹配的第二设备被配置有所述语音控制指令待控制的功能;判断所述语音控制指令是否指示出待控制的第二设备,如果没有指示,则将所述语音控制指令匹配的第二设备中距离所述第一设备最近的第二设备确定为所述待控制的第二设备。In a possible design, the method further includes: receiving a voice control instruction input by a user; determining a second device that matches the voice control instruction; and the matched second device is configured with the voice control instruction to be a function of controlling; determining whether the voice control instruction indicates a second device to be controlled, and if not, determining, in the second device that matches the voice control command, a second device that is closest to the first device The second device to be controlled.
在一种可能的设计中,所述第一设备是移动终端,所述第二设备是智能家居设备。In one possible design, the first device is a mobile terminal and the second device is a smart home device.
通过上述室内定位的方法,在不布设基站、不提高用户成本的前提下,针对家庭智能业务和家庭环境特点,利用已有智能家电设备,通过软件控制和算法,实现对用户的室内定位功能,给家庭智能业务提供了很大发展空间和新智能业务的可能性。Through the above indoor positioning method, under the premise of not setting up the base station and not increasing the user cost, the existing smart home appliance is utilized for the home intelligent service and the home environment, and the indoor positioning function of the user is realized through software control and algorithm. It provides a lot of room for development and the possibility of new intelligent business for the home intelligence business.
第二方面,本申请实施例提供了一种室内定位的设备,该设备包括:所述室内定位设备向第一区域内的第二设备发送第一信号;所述第一信号用于触发第二设备发送信标信号, 所述信标信号携带有所述第二设备的标识;所述室内定位设备检测所述第二设备发送的信标信号的信号强度;所述室内定位设备根据所述信标信号的信号强度以及所述信标信号携带的标识确定所述室内定位设备相对于所述第二设备的位置。In a second aspect, the embodiment of the present application provides an indoor positioning device, where the device includes: the indoor positioning device sends a first signal to a second device in a first area; the first signal is used to trigger a second The device sends a beacon signal, The beacon signal carries an identifier of the second device; the indoor positioning device detects a signal strength of a beacon signal sent by the second device; the indoor positioning device is based on a signal strength of the beacon signal and The identifier carried by the beacon signal determines a location of the indoor positioning device relative to the second device.
在一种可能的设计中,所述第一区域包括多个第二区域,多个所述第二设备处于所述多个第二区域中;所述室内定位设备根据所述信标信号的信号强度以及所述信标信号携带的标识确定所述室内定位设备相对于所述第二设备的位置,具体包括:根据所述信号强度及所述标识确定和所述室内定位设备相距不超过第一距离的第二设备,所述室内定位设备与找到的第二设备处于相同的第二区域。In a possible design, the first area includes a plurality of second areas, and the plurality of second devices are in the plurality of second areas; the indoor positioning device is based on the signal of the beacon signal The strength and the identifier carried by the beacon signal determine the location of the indoor positioning device relative to the second device, and specifically: determining, according to the signal strength and the identifier, that the indoor positioning device is not more than the first A second device of the distance, the indoor positioning device being in the same second region as the found second device.
在一种可能的设计中,所述根据所述信号强度及所述标识确定和所述室内定位设备相距不超过第一距离的第二设备,具体包括:从所述多个第二设备分别发送的信标信号中,选择出信号强度大于第一阈值的信标信号;将所述信号强度大于第一阈值的信标信号携带的标识表征的第二设备确定为所述和所述室内定位设备相距不超过第一距离的第二设备。In a possible design, the determining, by the identifier and the identifier, the second device that is not more than the first distance from the indoor positioning device, specifically includes: sending, respectively, the multiple second devices Selecting, in the beacon signal, a beacon signal having a signal strength greater than a first threshold; determining, by the second device identified by the identifier carried by the beacon signal having the signal strength greater than the first threshold, the indoor positioning device A second device that does not exceed the first distance.
在一种可能的设计中,所述室内定位设备根据所述第二设备发送的信标信号的信号强度确定所述室内定位设备相对于所述第二设备的位置,具体包括:根据所述信号强度及所述标识确定和所述室内定位设备距离最近的第二设备,所述室内定位设备处于所述第二设备的位置或附近。In a possible design, the indoor positioning device determines the position of the indoor positioning device relative to the second device according to the signal strength of the beacon signal sent by the second device, and specifically includes: according to the signal The strength and the identification determine a second device that is closest to the indoor positioning device, the indoor positioning device being at or near the location of the second device.
在一种可能的设计中,所述根据所述信号强度及所述标识确定和所述室内定位设备距离最近的第二设备,具体包括:从所述多个第二设备分别发送的信标信号中,选择出信号强度最大的信标信号;将所述信号强度最大的信标信号携带的标识表征的第二设备确定为所述和所述室内定位设备距离最近的第二设备。In a possible design, the determining, by the signal strength and the identifier, the second device that is closest to the indoor positioning device, specifically includes: a beacon signal separately sent from the multiple second devices The second device that is characterized by the identifier of the beacon signal having the highest signal strength is determined as the second device that is closest to the indoor positioning device.
在一种可能的设计中,所述室内定位设备根据所述第二设备发送的信标信号的信号强度确定所述室内定位设备相对于所述第二设备的位置,具体包括:根据所述信号强度及所述标识确定和所述室内定位设备距离最近的至少2个第二设备,所述室内定位设备处于所述至少2个第二设备之间。In a possible design, the indoor positioning device determines the position of the indoor positioning device relative to the second device according to the signal strength of the beacon signal sent by the second device, and specifically includes: according to the signal The strength and the identifier determine at least two second devices that are closest to the indoor positioning device, and the indoor positioning device is between the at least two second devices.
在一种可能的设计中,所述根据所述信号强度及所述标识确定和所述室内定位设备距离最近的至少2个第二设备,具体包括:从所述多个第二设备分别发送的信标信号中,按照信号强度从高到低的顺序选择出(信号强度最大的)至少2个信标信号;所述至少2个信标信号之间的信号强度差值不超过第二阈值;将所述至少2个信标信号各自携带的标识表征的至少2个第二设备确定为所述和所述室内定位设备距离最近的至少2个第二设备。In a possible design, the determining, according to the signal strength and the identifier, the at least two second devices that are closest to the indoor positioning device, specifically: sending the information from the multiple second devices separately In the beacon signal, at least two beacon signals (the signal strength is the largest) are selected in order of high to low signal strength; the signal strength difference between the at least two beacon signals does not exceed the second threshold; And determining, by the at least two second devices that are characterized by the identifiers carried by the at least two beacon signals, the at least two second devices that are closest to the indoor positioning device.
在一种可能的设计中,所述室内定位设备还包括:判断所述室内定位设备连接到的网络以及所述室内定位设备检测到的网络信号的信号强度是否发生变化,如果没有变化,则确定室内定位设备的位置没有发生变化。In a possible design, the indoor positioning device further includes: determining whether the network to which the indoor positioning device is connected and whether the signal strength of the network signal detected by the indoor positioning device changes, if there is no change, determining The location of the indoor positioning device has not changed.
在一种可能的设计中,所述室内定位设备还包括:接收用户输入的语音控制指令;确定所述语音控制指令匹配的第二设备;所述匹配的第二设备被配置有所述语音控制指令待控制的功能;判断所述语音控制指令是否指示出待控制的第二设备,如果没有指示,则将所述语音控制指令匹配的第二设备中距离所述室内定位设备最近的第二设备确定为所述待控制的第二设备。In a possible design, the indoor positioning device further includes: a voice control instruction for receiving a user input; determining a second device that matches the voice control command; and the matched second device is configured with the voice control Determining a function to be controlled; determining whether the voice control instruction indicates a second device to be controlled, and if not instructing, a second device in the second device that matches the voice control command and closest to the indoor positioning device Determined as the second device to be controlled.
在一种可能的设计中,所述室内定位设备是移动终端,所述第二设备是智能家居设备。 In one possible design, the indoor positioning device is a mobile terminal and the second device is a smart home device.
通过上述室内定位的设备,在不布设基站、不提高用户成本的前提下,针对家庭智能业务和家庭环境特点,利用已有智能家电设备,通过软件控制和算法,实现对用户的室内定位功能,给家庭智能业务提供了很大发展空间和新智能业务的可能性。Through the above-mentioned indoor positioning equipment, under the premise of not setting up the base station and not increasing the user cost, the existing intelligent home appliances are utilized for the home smart service and the home environment, and the indoor positioning function of the user is realized through software control and algorithms. It provides a lot of room for development and the possibility of new intelligent business for the home intelligence business.
第三方面,本申请实施例提供了一种室内定位的系统,包括第一设备和第二设备,该系统可用于执行第一方面的方法。In a third aspect, an embodiment of the present application provides a system for indoor positioning, including a first device and a second device, which can be used to perform the method of the first aspect.
第四方面,本申请实施例提供了一种计算机存储介质,存储有计算机指令,所述计算机指令用于执行第一方面的方法。In a fourth aspect, an embodiment of the present application provides a computer storage medium, where computer instructions are stored, where the computer instructions are used to execute the method of the first aspect.
通过上述方案,在不布设基站、不提高用户成本的前提下,针对家庭智能业务和家庭环境特点,利用已有智能家电设备,通过软件控制和算法,实现对用户的室内定位功能,给家庭智能业务提供了很大发展空间和新智能业务的可能性。Through the above scheme, under the premise of not setting up the base station and not increasing the user cost, using the existing smart home appliances for the characteristics of the home smart service and the home environment, the indoor positioning function for the user is realized through the software control and the algorithm, and the home intelligence is provided. The business offers a lot of room for development and the possibility of new smart services.
附图说明DRAWINGS
图1为本申请实施例提供的一种智能家庭系统架构示意图;FIG. 1 is a schematic structural diagram of an intelligent home system according to an embodiment of the present application;
图2为本申请实施例提供的另一种智能家庭系统架构示意图;2 is a schematic structural diagram of another smart home system according to an embodiment of the present application;
图3为本申请实施例提供的一种智能终端和智能家电的内部模块示意图;3 is a schematic diagram of internal modules of an intelligent terminal and a smart home appliance according to an embodiment of the present application;
图4为本申请实施例提供的一种智能家电分布示意图;4 is a schematic diagram of distribution of smart home appliances according to an embodiment of the present application;
图5为本申请实施例提供的一种手机APP和智能家电交互的流程示意图;FIG. 5 is a schematic flowchart of interaction between a mobile phone APP and a smart home appliance according to an embodiment of the present application;
图6为本申请实施例提供的一种根据信号强度进行定位计算的示意图;FIG. 6 is a schematic diagram of positioning calculation according to signal strength according to an embodiment of the present application;
图7为本申请实施例提供的另一种根据信号强度进行定位计算的示意图;FIG. 7 is a schematic diagram of another positioning calculation according to signal strength according to an embodiment of the present application; FIG.
图8为本申请实施例提供的又一种根据信号强度进行定位计算的示意图。FIG. 8 is a schematic diagram of another positioning calculation according to signal strength according to an embodiment of the present application.
具体实施方式detailed description
下面将结合实施例的附图,对本申请实施例的技术方案进行描述。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员可以在没有付出创造性劳动的前提下获得其他实施方式,这些都属于本发明保护的范围。The technical solutions of the embodiments of the present application will be described below with reference to the accompanying drawings. It is apparent that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. Based on the embodiments of the present invention, those skilled in the art can obtain other embodiments without any creative work, which are all within the scope of the present invention.
目前,室内定位技术大多是无线定位,主要包括以下几种:At present, indoor positioning technology is mostly wireless positioning, mainly including the following:
1)蓝牙定位——通过在室内分布一定数量的蓝牙基站,用户手持终端(如智能手机)通过三角定位的方法测量相对基站的位置,可达亚米级精度。1) Bluetooth positioning - By distributing a certain number of Bluetooth base stations indoors, the user's handheld terminal (such as a smart phone) measures the position of the relative base station by means of triangulation, and can achieve sub-meter accuracy.
2)超宽带(UWB)定位,也是通过室内分布基站,发射超宽带信号,对移动中的标签进行定位,精度可达亚米级。2) Ultra-wideband (UWB) positioning, also through the indoor distribution base station, transmitting ultra-wideband signals, positioning the moving tags, the accuracy can reach the sub-meter level.
3)WiFi、Zigbee等无线信号定位,虽然使用的信号不同,效果和成本也有差别,但原理上都是对室内多个信号源(基站)进行测量,通常需要根据定位的精度、范围分布放置基站。3) Wireless signal positioning such as WiFi and Zigbee, although the signals used are different, the effect and cost are different, but in principle, the measurement is performed on multiple indoor signal sources (base stations), and it is usually necessary to place the base station according to the positioning accuracy and range distribution. .
以上这三种定位技术普遍采用射频多基站组网技术形成无盲区的覆盖,通过接收机对周边信号的检测和信号强度测量,计算自身位置。但这类技术的缺点也是明显的:首先是成本高,需要布设大量基站,通常使用在比较开放的环境,如仓库、商场,需要在天花板、 墙壁、柱子上每隔几米到十几米设置基站,布线、安装、维护都很复杂;其次是无线信号需要开阔的传播环境,不适合家庭这种使用环境,即使基站非常多,也不能解决覆盖盲区,并且会形成有害干扰;要形成定位功能还需要专业建设,即首先要工程施工布设足够多的蓝牙发射机,再通过工程测量把每个发射机的信号覆盖转换成定位信息,最终开发出软件才能完成定位功能。因此这些方案只适合商业或工业应用,不适合家庭使用。The above three positioning technologies generally adopt the radio frequency multi-base station networking technology to form a coverage without a blind zone, and calculate the position of the surrounding signal by the receiver to detect the surrounding signal and measure the signal strength. However, the shortcomings of this type of technology are also obvious: first, the cost is high, and a large number of base stations need to be deployed, which are usually used in relatively open environments, such as warehouses and shopping malls, which need to be in the ceiling. Base stations are installed every few meters to ten meters on walls and pillars. The wiring, installation and maintenance are complicated. Secondly, the wireless signal needs an open communication environment. It is not suitable for the home environment. Even if there are many base stations, the coverage area cannot be solved. And harmful interference will be formed; professional positioning is required to form the positioning function, that is, first, enough Bluetooth transmitters should be laid in the engineering construction, and then the signal coverage of each transmitter is converted into positioning information through engineering measurement, and finally the software is developed. To complete the positioning function. Therefore these solutions are only suitable for commercial or industrial applications and are not suitable for home use.
另外,还有一类非电磁波无线定位技术,这些技术各有特点,同时缺点也非常明显,限制了实际应用,如:(1)超声波定位,移动终端通过对多个超声波发射器的测量定位自身位置。这种技术成本不高,但因为存在声波阻挡和反射,通常只能用于接近检测,如倒车雷达之类。(2)LED定位,通过灯具发射编码信号,移动终端检测出不同灯具发出的信号实现定位,只能用在需要开灯的环境,而且需要改造灯具,成本也非常高,而且需要特制的终端,不适合个人应用。In addition, there is a class of non-electromagnetic wave wireless positioning technology, each of which has its own characteristics, and its shortcomings are also very obvious, which limits the practical application, such as: (1) Ultrasonic positioning, the mobile terminal locates its position by measuring multiple ultrasonic transmitters. . This technology is not costly, but because of the presence of acoustic wave blocking and reflection, it can usually only be used for proximity detection, such as reversing radar. (2) LED positioning, transmitting coded signals through the lamps, the mobile terminal detects the signals emitted by different lamps to achieve positioning, can only be used in the environment where the lights need to be turned on, and the lamps need to be modified, the cost is also very high, and a special terminal is needed. Not suitable for personal applications.
此外,还可以不采用通过信号强度计算位置的方法,通常用于特定环境,并不是专用于定位功能,如:(1)门禁定位,通过在通道上放置标签检测装置,判断需要定位的人或物处于哪个房间内,不但精度低,还需要进行基础设置的建设;(2)视觉定位,通过摄像头对物体进行识别,判断所在的位置和距离,需要无盲区的视频监控和高性能图像处理,成本也很高。这两种定位技术定位能力差,很少单独作为定位技术应用。In addition, the method of calculating the position by signal strength may not be used, and is usually used for a specific environment, and is not dedicated to the positioning function, such as: (1) access control positioning, by placing a label detecting device on the channel, determining the person who needs to be positioned or In which room the object is located, not only the precision is low, but also the construction of the basic settings is required; (2) visual positioning, the object is identified by the camera, the position and distance are determined, and the video monitoring and high-performance image processing without dead zone are required. The cost is also high. These two positioning technologies have poor positioning capabilities and are rarely used alone as positioning technology applications.
家庭内的室内定位和公共场所的室内定位有一定的区别,主要表现在:成本要求严格,要求不增加或尽量少增加成本,不能通过大量布点的方式实现;精度要求低,通常定位到某个房间或接近某种设备就能满足要求;用户数量少,不需要考虑同时大量用户的情况,通常家里只有少数几个用户;空间分隔小,家中房间通常只有几到几十平米,现有的技术不适合应用在这些环境中;技术实现迫切,要求在近期就能进入实际使用.There are certain differences between the indoor positioning in the home and the indoor positioning of the public place. The main manifestations are: strict cost requirements, no increase in requirements or minimal increase in cost, and cannot be achieved by means of a large number of points; low precision requirements, usually located to somewhere The room or close to a certain equipment can meet the requirements; the number of users is small, there is no need to consider the situation of a large number of users at the same time, usually there are only a few users in the home; the space is small, the room in the home is usually only a few tens of square meters, the existing technology Not suitable for use in these environments; technology is urgently implemented and requires practical use in the near future.
本申请实施例在不布设基站、不提高用户成本的前提下,针对家庭智能业务和家庭环境特点,利用已有智能家电设备,通过软件控制和算法,实现对用户的室内定位功能,给家庭智能业务提供了很大发展空间和新智能业务的可能性,并且无硬件成本,避免当前各种室内定位技术的缺陷,非常利于推广。In the embodiment of the present application, under the premise of not setting up the base station and not increasing the user cost, the smart home appliance is used for the home smart service and the home environment, and the indoor positioning function of the user is realized through software control and algorithm, and the home intelligence is provided. The business provides a large space for development and the possibility of new intelligent services, and has no hardware cost, avoiding the defects of various indoor positioning technologies, and is very conducive to promotion.
当前智能家电主要通过无线方式联网,包括WiFi和蓝牙等,可以通过软件方式实现定位功能;用于控制智能家电的智能手机也支持WiFi和蓝牙,硬件平台统一;用户需要使用或控制设备时,通常需要使用手机,即定位手机和定位用户有相同的效果。智能手机上运行的客户端软件,通过设计信令控制和算法,既可以在短时间内形成房间定位能力、大致定位用户在家中的位置,很多与房间有关的业务就能实现,又能通过不断学习,提供精确定位能力,是实现家庭智能化服务的基础。Currently, smart home appliances are mainly connected by wireless means, including WiFi and Bluetooth, and can be positioned by software; smart phones used to control smart home appliances also support WiFi and Bluetooth, and the hardware platform is unified; when users need to use or control devices, usually The need to use a mobile phone, that is, positioning the phone and positioning the user have the same effect. The client software running on the smartphone can not only form the location capability of the user in a short time, but also locate the location of the user at home by designing the signaling control and algorithm. Many services related to the room can be realized, and Learning and providing accurate positioning ability are the basis for realizing intelligent home services.
本申请实施例的系统架构如图2所示,适用于家庭内部;可以理解的是,该系统中可以含有多台智能家电。如图3所示,通过在智能终端和智能家电设备内增加软件控制模块,以及两者间的控制命令,实现对设备的控制功能;智能终端软件还内置的定位算法模块,通过计算得到用户所在房间、与设备间距离,以及用户所在位置区域。The system architecture of the embodiment of the present application is as shown in FIG. 2, and is applicable to the interior of the home; it can be understood that the system can include multiple smart home appliances. As shown in FIG. 3, the control function of the device is implemented by adding a software control module and a control command between the smart terminal and the smart home appliance; the intelligent terminal software also has a built-in positioning algorithm module, and the user is located by calculation. The distance between the room, the device, and the location where the user is located.
实现定位功能过程使用原先智能终端控制家电设备的IoT云通信通道:The implementation of the positioning function process uses the original intelligent terminal to control the IoT cloud communication channel of the home appliance:
1)控制终端发送“信标发送命令”让家庭中所有设备都发送特定的无线信号供控制终端检测,家电设备不需要回复确认消息,以发送特殊编码的SSID作为应答 1) The control terminal sends a "beacon transmission command" to enable all devices in the home to send a specific wireless signal for detection by the control terminal, and the home appliance does not need to reply to the confirmation message, and sends a specially coded SSID as a response.
2)现有的家电设备使用的WiFi模块都支持在接收网络消息的同时发送SSID的功能。在控制完成对所有设备信号强度的测量时,发送“停止信标命令”,家电软件收到后即停止发送2) The WiFi modules used in existing home appliances support the function of transmitting SSIDs while receiving network messages. When the control completes the measurement of the signal strength of all devices, the “stop beacon command” is sent, and the home appliance software stops sending after receiving it.
3)终端控制软件随后对收到一系列强度值进行计算,得到自己所处位置信息3) The terminal control software then calculates a series of intensity values and obtains the location information of the terminal.
实施例一:Embodiment 1:
实施例一是通过智能家居设备对用户的智能终端完成室内定位的方法,这是一种通用方法,可用于各种与用户位置有关的业务,如自动识别用户希望控制的设备、灯光自动开关和音乐自动跟随等功能。Embodiment 1 is a method for performing indoor positioning on a user's smart terminal through a smart home device, which is a general method and can be used for various services related to a user's location, such as automatically identifying a device that the user desires to control, an automatic light switch, and Music automatically follows and other functions.
智能家庭中有大量的智能家电设备,目前以无线的WiFi、蓝牙或Zigbee为通信方式为主。图4为一个家庭的示意图,除绿色圆圈中的智能手机(智能用户终端)为移动的客户端,其它都是智能家电设备,使用环境以固定为主(除了智能扫地机器人)。这些家电可以在智能终端控制下,在要求的时候形成室内定位所需的分布式基站,通过控制发送必要的信号,手机就能计算出相对这些家电的位置,进而定位出自身在家庭中的位置。后文以WiFi进行描述,但是用蓝牙控制的家电同样可实现定位功能。There are a large number of smart home appliances in the smart home, and currently wireless WiFi, Bluetooth or Zigbee is the main communication method. Figure 4 is a schematic diagram of a family, except that the smart phone (smart user terminal) in the green circle is a mobile client, and the others are smart home appliances, and the use environment is fixed (except for the intelligent sweeping robot). These appliances can form distributed base stations required for indoor positioning under the control of intelligent terminals. By controlling the transmission of necessary signals, the mobile phone can calculate the position of these appliances and locate their position in the home. . The following description is described by WiFi, but the home appliance controlled by Bluetooth can also realize the positioning function.
定位功能(以下称为“定位计算过程”)需要通过以下步骤完成:The positioning function (hereinafter referred to as the "positioning calculation process") needs to be completed by the following steps:
1)首先,智能终端通过IoT云发送控制命令给家中所有的智能家电,智能家电收到后执行命令、进入无线信标发送状态,发送内容特殊的SSID(网络名),每个设备的SSID都不同,由设备厂家、型号、生产序列号计算得到,每个设备的SSID各不相同,作为设备特征值保存在设备属性中1) First, the intelligent terminal sends a control command to all smart home appliances in the home through the IoT cloud. After receiving the command, the smart home appliance executes the command, enters the wireless beacon transmission state, and sends a special SSID (network name), and the SSID of each device is Different, calculated by the equipment manufacturer, model, and production serial number. The SSID of each device is different, and the device feature value is saved in the device attribute.
2)终端中的定位软件(以下简称“定位软件”或“APP”)通过读取家庭中所有设备记录,得到全部设备发送的SSID值的列表,只测量自己家中设备的信号强度。方法是对WiFi网络进行扫描,测量并记录设备的发送上述全部SSID的信号强度。因为各设备SSID不同,定位软件可区分出不同的设备,又因为APP已知家中设备的SSID,当邻居家同时也在进行定位、且信号可以接收时,APP能筛选出自己家中的设备2) The positioning software in the terminal (hereinafter referred to as “positioning software” or “APP”) obtains a list of SSID values sent by all devices by reading all device records in the home, and only measures the signal strength of the devices in the home. The method is to scan the WiFi network, measure and record the signal strength of the device to send all the above SSIDs. Because the SSIDs of different devices are different, the positioning software can distinguish different devices, and because the APP knows the SSID of the devices in the home, when the neighbors are also performing positioning and the signals can be received, the APP can filter out the devices in the home.
3)测量完毕(根据WiFi信号环境不同,约1~10秒范围),终端向所有设备发送“停止SSID命令”到各设备,设备结束信标发送。测量过程完毕,下面步骤为位置计算过程3) After the measurement is completed (depending on the WiFi signal environment, about 1 to 10 seconds), the terminal sends a "stop SSID command" to each device to all devices, and the device ends the beacon transmission. After the measurement process is completed, the following steps are the position calculation process.
4)定位计算的过程和功能包括以下几种4) The process and functions of positioning calculation include the following
房间定位:定位软件计算家中所有SSID的信号强度,知道自己所处的房间以及在房间中的相对位置,当信号强度大于门限值(如-50dBm)则初步判断为同一房间设备。对于某些只需要定位到房间的业务,处理到这一步就可以完成了Room Positioning: The positioning software calculates the signal strength of all SSIDs in the home, knows the room in which it is located and the relative position in the room. When the signal strength is greater than the threshold (eg -50dBm), it is initially determined to be the same room equipment. For some businesses that only need to be located in the room, this step can be completed.
相对定位:定位软件把所有设备按信号强弱进行排序,作为距离判断的依据。当需要在同一房间内判断和设备距离,或者找出某类设备中距离最近的设备时,完成这一步计算可以达到目的Relative positioning: The positioning software sorts all devices according to the strength of the signal as the basis for distance judgment. When it is necessary to judge the distance between the device and the device in the same room, or find the closest device in a certain type of device, the calculation of this step can achieve the purpose.
精确定位:需要用到信号最强的几个设备的信号强度组合,并且需要与以前的记录进行比较,根据这些设备排列顺序和差值,标记为“XX设备附近”(信号最强的设备)、“XX和XX设备之间”(信号最强二个设备相差不大)、“XX、XX和XX设备之间”(信号最强三个设备相差不大)这三种情况。“相差不大”范围初始值取3dB,通过和用户确认当前位置后,调整位置范围。当有3个以上设备的信号强度值相差不大时,按3个设备处理 Precise positioning: The signal strength combination of several devices with the strongest signal is needed, and needs to be compared with the previous records. According to the order and difference of these devices, it is marked as “near XX device” (the device with the strongest signal) "Between the XX and XX devices" (the two signals with the strongest difference between the two devices) and the "between XX, XX and XX devices" (the three devices with the strongest signal are not much different). The initial value of the "not much difference" range is 3dB. After confirming the current position with the user, adjust the position range. When there are three or more devices whose signal strength values are not much different, they are processed by 3 devices.
精确定位的区域命名,用户可修改为自己认为合理的名字,如“餐桌位置”、“电脑旁边”等The location of the precisely positioned area, the user can modify the name that he thinks is reasonable, such as "table position", "beside the computer", etc.
定位测量过程为以上1~3步,涉及用户控制终端中的软件、智能家电设备中的控制软件,控制终端通过IoT云向家庭中所有智能家电设备发送控制命令,智能家电执行命令让自身的无线模块发送特定信号、即具有独立特征的SSID,终端无线模块扫描接收所有设备的SSID,并记录每个信号的强度。The positioning measurement process is the above steps 1 to 3, involving the software in the user control terminal, the control software in the smart home appliance, and the control terminal sends a control command to all the smart home appliances in the home through the IoT cloud, and the smart home appliance executes the command to make its own wireless. The module sends a specific signal, ie an SSID with independent characteristics, and the terminal wireless module scans the SSID of all devices and records the strength of each signal.
完成信号强度的测量后,控制终端再发命令让所有家电停止发送无线信号。则定位过程中智能家电的工作已经完成,下一步是控制终端的软件根据刚才记录的各设备的SSID,对应到各个设备的名称、在家庭中的位置,以及根据信号强度得到相对距离的远近,根据这些信息完成对自身的定位。上述过程如图5所示。After the measurement of the signal strength is completed, the control terminal re-issues the command to stop all the home appliances from transmitting the wireless signal. The work of the smart home appliance has been completed in the positioning process. The next step is to control the software of the terminal according to the SSID of each device just recorded, corresponding to the name of each device, the position in the home, and the relative distance according to the signal strength. Based on this information, the positioning of itself is completed. The above process is shown in Figure 5.
定位计算功能包括3种功能,即房间定位、相对定位和精确定位,根据业务对定位的精度和属性要求,每次可以实现其中一种或多种。The positioning calculation function includes three functions, namely, room positioning, relative positioning, and precise positioning. One or more of each can be realized each time according to the accuracy and attribute requirements of the positioning of the service.
房间定位:因为家电设备信息中已经包含它们在家庭中的房间,所以当终端把测量信号强度按房间分组后,就可以通过绝对门限或相对信号强度的方法判断出当前所处的房间。前者在某个房间内大部分设备(如2/3以上)信号信号强度都大于门限值,如-50dBm,而其它任一房间的设备大于-50dBm的比例都不超过1/3,则认为当前终端位于这个房间内;后者可根据房间内所有信号强度的平均值,以信号最强的一个房间作为自己所在的房间Room location: Because the home appliance information already contains their rooms in the home, when the terminal groups the measured signal strengths by room, the current room can be judged by the absolute threshold or relative signal strength. Most of the equipment in a room (such as 2/3 or more) signal signal strength is greater than the threshold, such as -50dBm, while the ratio of equipment in any other room greater than -50dBm is less than 1/3, then it is considered The current terminal is located in this room; the latter can be based on the average of all signal strengths in the room, with the most powerful room as the room in which it is located.
相对定位:有些业务要求找出离用户最近的设备,此时根据信号强度把设备进行排序,可以找到离终端最近的设备,当信号最强的设备和次强的设备相差大于某个值,如3dB,则认为离某个设备最近,如果两个或多个信号强度比例不满足这个要求,则可能处于两个设备中间、未找到最近的设备。如果指定某类设备,如空调,则需要把所有空调的信号进行排列、而不是家中所有的设备,同样可以找到最近的空调。Relative positioning: Some services require finding the device closest to the user. In this case, the device is sorted according to the signal strength, and the device closest to the terminal can be found. When the signal with the strongest device and the second strong device differ by more than a certain value, such as 3dB, which is considered to be closest to a device. If two or more signal strength ratios do not meet this requirement, it may be in the middle of the two devices and the nearest device is not found. If you specify a certain type of equipment, such as an air conditioner, you need to arrange all the air conditioner signals, not all the equipment in the home, you can also find the nearest air conditioner.
精确定位:这种方式用于对用户在家庭中准确位置的计算,需要对测量值最强的几个信号的联合计算,判断出在哪个设备附近或哪几个设备之间,通过划分区域、并对区域命名的方式,计算出终端所在位置。Precise positioning: This method is used to calculate the exact position of the user in the home. It is necessary to jointly calculate the signals with the strongest measured values, and determine which device or between several devices, by dividing the area, Calculate the location of the terminal by naming the area.
上述定位计算的示意图如图6、图7、图8所示,根据不同能家庭智能业务的需要,软件灵活选择使用三种定位方式之一。The schematic diagram of the above positioning calculation is shown in FIG. 6, FIG. 7, and FIG. 8. According to the needs of different energy home intelligent services, the software flexibly selects one of three positioning modes.
上述实施例一可带来以下效果:The first embodiment described above can bring the following effects:
低成本甚至无成本实现家庭中的室内定位功能,解决智能家庭业务对人员定位的迫切需求Realize indoor positioning function in the home at low cost or even no cost, and solve the urgent need for personnel positioning in smart home business
实现房间定位,可实现与房间有关的智能智能家庭业务Realize room positioning and realize smart home business related to the room
实现与到设备距离有关的家庭智能业务Realize home intelligence business related to distance to equipment
实现需要精确定位的家庭智能业务Realize home intelligence services that require precise positioning
与多种业务配合使用,实现家庭智能化Use with a variety of businesses to achieve home intelligence
硬件依赖少,能快速商用推广Less hardware dependencies, can be quickly commercialized
相对于现有技术,本实施例不需要设置大量定位基站,基本零成本;适合家庭多房间、小空间特点;位方式多,适合不同业务需要. Compared with the prior art, this embodiment does not need to set a large number of positioning base stations, and has basically zero cost; it is suitable for multi-room and small space characteristics of the home; and has many bit modes, which is suitable for different business needs.
实施例二:Embodiment 2:
实施例一的方法存在一个缺陷,定位测量过程需要通知所有的家庭设备,终端需要扫描这些设备发出的信号,时间需要几秒到十几秒,对于有些需要较快响应的业务等待时间较长。这种情况可以通过以下方法改进。The method of the first embodiment has a defect. The positioning measurement process needs to notify all the home devices. The terminal needs to scan the signals sent by the devices, and the time takes several seconds to ten seconds. For some services that need faster response, the service waits for a longer time. This situation can be improved by the following methods.
因为家庭定位功能只在家庭内部使用,此时使用家庭局域网,终端通过路由器的WiFi连接,在进行实施例一的定位时,终端同时记录此时家庭WiFi的网络名(SSID)和信号强度,并对信号值进行平均以取得较精确和稳定数值。当后续需要使用定位功能时,先判断网络是否改变(仍使用同一SSID连接)、路由器的信号强度未明显变化(变化小于5dB),则判断用户没有大幅度移动、仍在同一房间(移动到另一房间时,穿过墙壁数量的改变通常会造成信号强度10dB以上变化),则仍使用上次定位的结果,不再重新测量,可将延迟减小到1秒内。如果路由器的信号强度已经明显变化(大于5dB),就需要重新使用实施例一的过程重新定位。Because the home location function is only used inside the home, the home LAN is used at this time, and the terminal connects to the WiFi connection of the router. When performing the positioning of the first embodiment, the terminal simultaneously records the network name (SSID) and signal strength of the home WiFi at this time, and The signal values are averaged to obtain more accurate and stable values. When the positioning function needs to be used later, first determine whether the network changes (still using the same SSID connection), and the signal strength of the router does not change significantly (change is less than 5 dB), then it is judged that the user has not moved greatly, still in the same room (moving to another In a room, the change in the number of walls passing through usually results in a signal strength of more than 10 dB.) The result of the last positioning is still used, and the delay is reduced to 1 second without re-measurement. If the signal strength of the router has changed significantly (greater than 5 dB), it is necessary to re-use the process of Embodiment 1 to relocate.
在实施例一的基础上,实施例提供快速重复定位方法,改进性能。判断设备位置未大幅度移动时,可直接使用上次定位结果。Based on the first embodiment, the embodiment provides a fast repeat positioning method to improve performance. When judging that the device position has not moved greatly, the last positioning result can be used directly.
实施例三:Embodiment 3:
在智能家庭的各种业务中,语音控制有重要的地位。但是当前语音控制存在不智能、使用效果差的现象,其中一个原因是用户在使用语音命令控制时,通常以自身感知作为已知条件,例如在控制命令中,不指出使用哪个设备,而是以当前离自己最近或可见的设备作为命令的对象,简单用“开灯”之类的命令进行控制。这样对于智能家居控制系统,因为缺少必要的信息,无法生成控制命令,造成控制失败。这种情况可以通过本方法实现的室内定位技术解决:当终端发现用户的语音控制命令没有指明设备,家庭中有多个设备可以匹配时,判断出有没有同一房间的设备,如果有、则以最近的一个作为命令操作的对象(同一房间有多个符合命令中需要控制的设备时,如果同一房间只有一个命令中可以匹配的设备,则不需要判断)。否则还按原先的处理方法,通知用户命令执行失败,原因是“未指明设备”。Voice control has an important place in the various businesses of smart homes. However, the current voice control has the phenomenon of being unsmart and poorly used. One of the reasons is that when using voice command control, the user usually uses his own perception as a known condition. For example, in the control command, it does not indicate which device is used, but The device that is currently closest or visible to itself is the object of the command, and is simply controlled by commands such as "turning on the light". In this way, for the smart home control system, because the necessary information is lacking, the control command cannot be generated, and the control fails. This situation can be solved by the indoor positioning technology implemented by the method: when the terminal finds that the user's voice control command does not specify the device, and there are multiple devices in the home that can be matched, it is determined whether there is a device in the same room, and if so, The most recent object to be a command operation (when there are multiple devices in the same room that need to be controlled in the same command, if the same room has only one device that can match in the command, no judgment is needed). Otherwise, the original processing method is also used to notify the user that the command execution failed because the "device is not specified".
实施例三可以通过室内定位技术判断用户所处环境,实现语音控制的智能化。The third embodiment can determine the environment of the user through the indoor positioning technology, and realize the intelligentization of the voice control.
实施例四:Embodiment 4:
各种家电设备使用的无线模块发射功率不同、天线性能不同,会造成发送同样距离上接收信号强度不同,使控制终端接收信号强度不同,会影响对距离的判断。为减少这一因素的影响,可以在设备的属性中预置该设备的信号强度补偿值,终端在信号强度表中每个设备加上这个补偿值,使所有设备在同样距离上测得信号强度相同,可以提高距离测量的精确性。The wireless modules used by various household electrical appliances have different transmit powers and different antenna performances, which may cause different received signal strengths at the same distance of transmission, so that the control terminal receives different signal strengths, which may affect the judgment of the distance. In order to reduce the influence of this factor, the signal strength compensation value of the device can be preset in the attribute of the device, and the terminal adds the compensation value to each device in the signal strength table, so that all devices measure the signal strength at the same distance. The same, the accuracy of the distance measurement can be improved.
这个补偿值仅与某型号设备有关,只需要在最初引入设备的认证或开发调试过程中测量一次,记录到IoT云服务器中与设备有关的属性中。可以补偿设备间差异,提高定位精度;而现有技术需要使用同型号的基站提供测量参考,不支持不同型号设备作为基站的功能。This compensation value is only related to a certain type of device. It only needs to be measured once during the authentication or development and debugging of the device that was originally introduced, and recorded in the device-related attributes of the IoT cloud server. It can compensate for the difference between devices and improve the positioning accuracy. However, the prior art needs to provide measurement reference by using the same type of base station, and does not support different types of devices as the function of the base station.
本申请各实施例利用家庭现有智能家电设备,通过增加控制命令和控制协议,实现家庭中对用户定位的功能,在此基础上实现更多家庭智能业务。其改进点在于:The embodiments of the present application utilize the existing smart home appliances of the home, and realize the function of positioning users in the home by adding control commands and control protocols, thereby implementing more home smart services. The improvement is:
利用智能家电的无线通信电路提供手机或其它智能终端在家庭中的定位功能 Using wireless communication circuits of smart home appliances to provide positioning functions of mobile phones or other intelligent terminals in the home
功能由智能家电的无线硬件和控制软件,以及手机中的软件共同实现The function is realized by the wireless hardware and control software of the smart home appliance and the software in the mobile phone.
定位通过测量家电发射的信号强度实现Positioning is achieved by measuring the signal strength emitted by home appliances
家电具有房间属性并且手机可以获取Home appliances have room attributes and mobile phones can get
可以定位到用户所在房间、用户到设备距离的功能Ability to locate the user's room and user-to-device distance
通过向用户询问和确认的方式,可以获取更准确的位置Get more accurate locations by asking and confirming to users
记录的位置和信号强度,供后续定位使用Recorded position and signal strength for subsequent positioning
用户环境感知,实现语音控制的智能化User environment awareness, intelligent realization of voice control
另外,本申请实施例提供一种室内定位的方法如下:In addition, the embodiment of the present application provides a method for indoor positioning as follows:
一种室内定位方法,包括:An indoor positioning method includes:
第一设备向第一区域内的第二设备发送第一信号;所述第一信号用于触发第二设备发送信标信号,所述信标信号携带有所述第二设备的标识;The first device sends a first signal to the second device in the first area; the first signal is used to trigger the second device to send a beacon signal, where the beacon signal carries the identifier of the second device;
所述第一设备检测所述第二设备发送的信标信号的信号强度;The first device detects a signal strength of a beacon signal sent by the second device;
所述第一设备根据所述信标信号的信号强度以及所述信标信号携带的标识确定所述第一设备相对于所述第二设备的位置。The first device determines a location of the first device relative to the second device according to a signal strength of the beacon signal and an identifier carried by the beacon signal.
可选的,所述第一区域包括多个第二区域,多个所述第二设备处于所述多个第二区域中;Optionally, the first area includes a plurality of second areas, and the plurality of second devices are located in the multiple second areas;
所述第一设备根据所述信标信号的信号强度以及所述信标信号携带的标识确定所述第一设备相对于所述第二设备的位置,具体包括:Determining, by the first device, the location of the first device relative to the second device according to the signal strength of the beacon signal and the identifier carried by the beacon signal, specifically:
根据所述信号强度及所述标识确定和所述第一设备相距不超过第一距离的第二设备,所述第一设备与找到的第二设备处于相同的第二区域。Determining, according to the signal strength and the identifier, a second device that is not more than the first distance from the first device, where the first device and the found second device are in the same second region.
可选的,所述根据所述信号强度及所述标识确定和所述第一设备相距不超过第一距离的第二设备,具体包括:Optionally, the determining, by the identifier, the second device that is not more than the first distance from the first device according to the signal strength, and the
从所述多个第二设备分别发送的信标信号中,选择出信号强度大于第一阈值的信标信号;将所述信号强度大于第一阈值的信标信号携带的标识表征的第二设备确定为所述和所述第一设备相距不超过第一距离的第二设备。Selecting, from the beacon signals respectively sent by the plurality of second devices, a beacon signal having a signal strength greater than a first threshold; and identifying, by the beacon signal having the signal strength greater than the first threshold, a second device characterized by the identifier Determining to be the second device that is not more than the first distance from the first device.
可选的,所述第一设备根据所述第二设备发送的信标信号的信号强度确定所述第一设备相对于所述第二设备的位置,具体包括:Optionally, the determining, by the first device, the location of the first device relative to the second device according to the signal strength of the beacon signal sent by the second device, specifically:
根据所述信号强度及所述标识确定和所述第一设备距离最近的第二设备,所述第一设备处于所述第二设备的位置或附近。Determining, according to the signal strength and the identifier, a second device that is closest to the first device, the first device being at or near a location of the second device.
可选的,所述根据所述信号强度及所述标识确定和所述第一设备距离最近的第二设备,具体包括:Optionally, the determining, by the signal strength and the identifier, the second device that is closest to the first device, specifically includes:
从所述多个第二设备分别发送的信标信号中,选择出信号强度最大的信标信号;将所述信号强度最大的信标信号携带的标识表征的第二设备确定为所述和所述第一设备距离最近的第二设备。Selecting, from the beacon signals respectively sent by the plurality of second devices, a beacon signal having the highest signal strength; and determining, by the second device, the identifier represented by the beacon signal having the highest signal strength as the sum The first device is the closest second device.
可选的,所述第一设备根据所述第二设备发送的信标信号的信号强度确定所述第一设备相对于所述第二设备的位置,具体包括:Optionally, the determining, by the first device, the location of the first device relative to the second device according to the signal strength of the beacon signal sent by the second device, specifically:
根据所述信号强度及所述标识确定和所述第一设备距离最近的至少2个第二设备,所述第一设备处于所述至少2个第二设备之间。 Determining, according to the signal strength and the identifier, at least two second devices that are closest to the first device, the first device being between the at least two second devices.
可选的,所述根据所述信号强度及所述标识确定和所述第一设备距离最近的至少2个第二设备,具体包括:Optionally, the determining, by the signal strength and the identifier, the at least two second devices that are closest to the first device, specifically:
从所述多个第二设备分别发送的信标信号中,按照信号强度从高到低的顺序选择出(信号强度最大的)至少2个信标信号;所述至少2个信标信号之间的信号强度差值不超过第二阈值;将所述至少2个信标信号各自携带的标识表征的至少2个第二设备确定为所述和所述第一设备距离最近的至少2个第二设备。Selecting at least two beacon signals (the signal strength is the largest) from the highest to the lowest signal order in the beacon signals respectively transmitted by the plurality of second devices; between the at least two beacon signals The signal strength difference does not exceed the second threshold; the at least two second devices characterized by the identifiers carried by the at least two beacon signals are determined as the at least two second closest to the first device device.
可选的,上述方法还包括:判断所述第一设备连接到的网络以及所述第一设备检测到的网络信号的信号强度是否发生变化,如果没有变化,则确定第一设备的位置没有发生变化。Optionally, the method further includes: determining, by the network to which the first device is connected, and whether the signal strength of the network signal detected by the first device changes, if there is no change, determining that the location of the first device does not occur. Variety.
可选的,上述方法还包括:Optionally, the foregoing method further includes:
接收用户输入的语音控制指令;Receiving a voice control instruction input by a user;
确定所述语音控制指令匹配的第二设备;所述匹配的第二设备被配置有所述语音控制指令待控制的功能;Determining, by the second device that the voice control instruction matches; the matched second device is configured with a function to be controlled by the voice control instruction;
判断所述语音控制指令是否指示出待控制的第二设备,如果没有指示,则将所述语音控制指令匹配的第二设备中距离所述第一设备最近的第二设备确定为所述待控制的第二设备。Determining whether the voice control instruction indicates a second device to be controlled, and if not, determining, in the second device that is matched by the voice control command, a second device that is closest to the first device as the to-be-controlled The second device.
可选的,上述方法中,所述第一设备包括移动终端,所述第二设备包括智能家居设备。Optionally, in the foregoing method, the first device includes a mobile terminal, and the second device includes a smart home device.
另外,本申请实施例提供一种室内定位的系统,包括第一设备和第二设备,第二设备可以有多个,该系统可以执行上述室内定位的方法所述的步骤,此处不再赘述。In addition, the embodiment of the present application provides a system for indoor positioning, including a first device and a second device, and the second device may have multiple, and the system may perform the steps described in the method for indoor positioning, and details are not described herein. .
另外,本申请实施例提供一种室内定位的设备,该设备是上述室内定位的方法所述的第一设备,可以执行如上述方法所述的步骤;或者,该设备是上述室内定位的方法所述的第二设备,可以执行如上述方法所述的步骤。In addition, the embodiment of the present application provides an indoor positioning device, which is the first device described in the indoor positioning method, and may perform the steps as described in the foregoing method; or the device is the indoor positioning method. The second device described can perform the steps as described in the above method.
另外,本申请实施例提供一种存储介质,用于存储上述一种室内定位的方法的指令。In addition, the embodiment of the present application provides a storage medium for storing an instruction of the above method for indoor positioning.
另外,本申请实施例提供一种计算机程序产品,用于执行上述一种室内定位的方法。In addition, the embodiment of the present application provides a computer program product for performing the above method for indoor positioning.
本领域普通技术人员应当理解,结合本文中所公开的实施例描述的各示例的单元、规则及方法步骤,能够以计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements, rules, and method steps of the various examples described in connection with the embodiments disclosed herein can be implemented in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. The skilled person will use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
应当理解,本文中所使用的术语“和/或”是指并且涵盖相关联地列出的项目中一个或多个项目的任何和全部可能的组合。还将理解的是,术语“包括”和/或“包含”当在本说明书中使用时是指定存在所陈述的特征、整数、步骤、操作、元素和/或部件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元素、部件和/或其分组。It will be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will also be understood that the terms "comprise" and "comprises", "the"," One or more other features, integers, steps, operations, elements, components, and/or grouping thereof.
在本文中对本发明的描述中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本发明的限制。如本在发明的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。The terminology used in the description of the present invention is for the purpose of describing particular embodiments and is not intended to limit the invention. As used in the specification and the appended claims, the s Instructions.
所述作为分离部件说明的单元是或者也不是物理上分开的,作为单元显示的部件是或者也不是物理单元,即位于一个地方,或者也分布到多个网络单元上。根据实际的需要选 择其中的部分或者全部单元来实现本申请实施例方案的目的。在本发明各个实施例中的各功能单元集成在一个处理单元中,也是各个单元单独物理存在,也两个或两个以上单元集成在一个单元中。The units described as separate components are or are not physically separated, and the components displayed as units are or are not physical units, ie, located in one place, or distributed to multiple network units. According to actual needs Some or all of the units are selected to achieve the objectives of the embodiments of the present application. The functional units in the various embodiments of the present invention are integrated in one processing unit, and each unit is physically physically present, and two or more units are integrated in one unit.
本领域普通技术人员理解:实现上述方法实施例的全部或部分步骤通过程序指令相关的硬件来完成,前述的程序存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种存储程序代码的介质。It is understood by those skilled in the art that all or part of the steps of implementing the above method embodiments are performed by hardware related to the program instructions. The foregoing program is stored in a computer readable storage medium, and when executed, the program includes the above method. The steps of the embodiment; and the foregoing storage medium includes: a medium that stores program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (20)

  1. 一种室内定位方法,其特征在于,包括:An indoor positioning method, comprising:
    第一设备向第一区域内的第二设备发送第一信号;所述第一信号用于触发第二设备发送信标信号,所述信标信号携带有所述第二设备的标识;The first device sends a first signal to the second device in the first area; the first signal is used to trigger the second device to send a beacon signal, where the beacon signal carries the identifier of the second device;
    所述第一设备检测所述第二设备发送的信标信号的信号强度;The first device detects a signal strength of a beacon signal sent by the second device;
    所述第一设备根据所述信标信号的信号强度以及所述信标信号携带的标识确定所述第一设备相对于所述第二设备的位置。The first device determines a location of the first device relative to the second device according to a signal strength of the beacon signal and an identifier carried by the beacon signal.
  2. 如权利要求1所述的室内定位方法,其特征在于,所述第一区域包括多个第二区域,多个所述第二设备处于所述多个第二区域中;The indoor positioning method according to claim 1, wherein the first area comprises a plurality of second areas, and the plurality of second devices are located in the plurality of second areas;
    所述第一设备根据所述信标信号的信号强度以及所述信标信号携带的标识确定所述第一设备相对于所述第二设备的位置,具体包括:Determining, by the first device, the location of the first device relative to the second device according to the signal strength of the beacon signal and the identifier carried by the beacon signal, specifically:
    根据所述信号强度及所述标识确定和所述第一设备相距不超过第一距离的第二设备,所述第一设备与找到的第二设备处于相同的第二区域。Determining, according to the signal strength and the identifier, a second device that is not more than the first distance from the first device, where the first device and the found second device are in the same second region.
  3. 如权利要求2所述的室内定位方法,其特征在于,所述根据所述信号强度及所述标识确定和所述第一设备相距不超过第一距离的第二设备,具体包括:The indoor positioning method according to claim 2, wherein the determining, by the signal strength and the identifier, the second device that is not more than the first distance from the first device comprises:
    从所述多个第二设备分别发送的信标信号中,选择出信号强度大于第一阈值的信标信号;将所述信号强度大于第一阈值的信标信号携带的标识表征的第二设备确定为所述和所述第一设备相距不超过第一距离的第二设备。Selecting, from the beacon signals respectively sent by the plurality of second devices, a beacon signal having a signal strength greater than a first threshold; and identifying, by the beacon signal having the signal strength greater than the first threshold, a second device characterized by the identifier Determining to be the second device that is not more than the first distance from the first device.
  4. 如权利要求1-3中任一项所述的室内定位方法,其特征在于,所述第一设备根据所述第二设备发送的信标信号的信号强度确定所述第一设备相对于所述第二设备的位置,具体包括:The indoor positioning method according to any one of claims 1 to 3, wherein the first device determines, according to a signal strength of a beacon signal sent by the second device, the first device relative to the The location of the second device specifically includes:
    根据所述信号强度及所述标识确定和所述第一设备距离最近的第二设备,所述第一设备处于所述第二设备的位置或附近。Determining, according to the signal strength and the identifier, a second device that is closest to the first device, the first device being at or near a location of the second device.
  5. 如权利要求4所述的室内定位方法,其特征在于,所述根据所述信号强度及所述标识确定和所述第一设备距离最近的第二设备,具体包括:The indoor positioning method according to claim 4, wherein the determining, by the signal strength and the identifier, the second device that is closest to the first device, specifically includes:
    从所述多个第二设备分别发送的信标信号中,选择出信号强度最大的信标信号;将所述信号强度最大的信标信号携带的标识表征的第二设备确定为所述和所述第一设备距离最近的第二设备。Selecting, from the beacon signals respectively sent by the plurality of second devices, a beacon signal having the highest signal strength; and determining, by the second device, the identifier represented by the beacon signal having the highest signal strength as the sum The first device is the closest second device.
  6. 如权利要求1-3中任一项所述的室内定位方法,其特征在于,所述第一设备根据所述第二设备发送的信标信号的信号强度确定所述第一设备相对于所述第二设备的位置,具体包括:The indoor positioning method according to any one of claims 1 to 3, wherein the first device determines, according to a signal strength of a beacon signal sent by the second device, the first device relative to the The location of the second device specifically includes:
    根据所述信号强度及所述标识确定和所述第一设备距离最近的至少2个第二设备,所述第一设备处于所述至少2个第二设备之间。Determining, according to the signal strength and the identifier, at least two second devices that are closest to the first device, the first device being between the at least two second devices.
  7. 如权利要求6所述的室内定位方法,其特征在于,所述根据所述信号强度及所述标识确定和所述第一设备距离最近的至少2个第二设备,具体包括:The indoor positioning method according to claim 6, wherein the determining, according to the signal strength and the identifier, the at least two second devices that are closest to the first device, specifically:
    从所述多个第二设备分别发送的信标信号中,按照信号强度从高到低的顺序选择出(信号强度最大的)至少2个信标信号;所述至少2个信标信号之间的信号强度差值不超过第二阈值;将所述至少2个信标信号各自携带的标识表征的至少2个第二设备确定为所述和 所述第一设备距离最近的至少2个第二设备。Selecting at least two beacon signals (the signal strength is the largest) from the highest to the lowest signal order in the beacon signals respectively transmitted by the plurality of second devices; between the at least two beacon signals The difference in signal strength does not exceed the second threshold; determining at least two second devices characterized by the identifiers carried by the at least two beacon signals as the sum The first device is located at least 2 second devices that are closest to each other.
  8. 如权利要求1-7中任一项所述的室内定位方法,其特征在于,还包括:判断所述第一设备连接到的网络以及所述第一设备检测到的网络信号的信号强度是否发生变化,如果没有变化,则确定第一设备的位置没有发生变化。The indoor positioning method according to any one of claims 1 to 7, further comprising: determining whether a network connected to the first device and a signal strength of a network signal detected by the first device occur Change, if there is no change, it is determined that the position of the first device has not changed.
  9. 如权利要求1-8中任一项所述的室内定位方法,其特征在于,还包括:The indoor positioning method according to any one of claims 1 to 8, further comprising:
    接收用户输入的语音控制指令;Receiving a voice control instruction input by a user;
    确定所述语音控制指令匹配的第二设备;所述匹配的第二设备被配置有所述语音控制指令待控制的功能;Determining, by the second device that the voice control instruction matches; the matched second device is configured with a function to be controlled by the voice control instruction;
    判断所述语音控制指令是否指示出待控制的第二设备,如果没有指示,则将所述语音控制指令匹配的第二设备中距离所述第一设备最近的第二设备确定为所述待控制的第二设备。Determining whether the voice control instruction indicates a second device to be controlled, and if not, determining, in the second device that is matched by the voice control command, a second device that is closest to the first device as the to-be-controlled The second device.
  10. 如权利要求1-9中任一项所述的室内定位方法,其特征在于,所述第一设备是移动终端,所述第二设备是智能家居设备。The indoor positioning method according to any one of claims 1 to 9, wherein the first device is a mobile terminal, and the second device is a smart home device.
  11. 一种室内定位设备,其特征在于,包括:An indoor positioning device, comprising:
    所述室内定位设备向第一区域内的第二设备发送第一信号;所述第一信号用于触发第二设备发送信标信号,所述信标信号携带有所述第二设备的标识;The indoor positioning device sends a first signal to the second device in the first area; the first signal is used to trigger the second device to send a beacon signal, where the beacon signal carries the identifier of the second device;
    所述室内定位设备检测所述第二设备发送的信标信号的信号强度;The indoor positioning device detects a signal strength of a beacon signal sent by the second device;
    所述室内定位设备根据所述信标信号的信号强度以及所述信标信号携带的标识确定所述室内定位设备相对于所述第二设备的位置。The indoor positioning device determines a position of the indoor positioning device relative to the second device according to a signal strength of the beacon signal and an identifier carried by the beacon signal.
  12. 如权利要求11所述的室内定位设备,其特征在于,所述第一区域包括多个第二区域,多个所述第二设备处于所述多个第二区域中;The indoor positioning device according to claim 11, wherein the first area comprises a plurality of second areas, and the plurality of second devices are located in the plurality of second areas;
    所述室内定位设备根据所述信标信号的信号强度以及所述信标信号携带的标识确定所述室内定位设备相对于所述第二设备的位置,具体包括:Determining, by the indoor positioning device, the location of the indoor positioning device relative to the second device according to the signal strength of the beacon signal and the identifier carried by the beacon signal, specifically:
    根据所述信号强度及所述标识确定和所述室内定位设备相距不超过第一距离的第二设备,所述室内定位设备与找到的第二设备处于相同的第二区域。And determining, according to the signal strength and the identifier, a second device that is not more than the first distance from the indoor positioning device, where the indoor positioning device and the found second device are in the same second region.
  13. 如权利要求12所述的室内定位设备,其特征在于,所述根据所述信号强度及所述标识确定和所述室内定位设备相距不超过第一距离的第二设备,具体包括:The indoor positioning device according to claim 12, wherein the determining, by the signal strength and the identifier, the second device that is not more than the first distance from the indoor positioning device comprises:
    从所述多个第二设备分别发送的信标信号中,选择出信号强度大于第一阈值的信标信号;将所述信号强度大于第一阈值的信标信号携带的标识表征的第二设备确定为所述和所述室内定位设备相距不超过第一距离的第二设备。Selecting, from the beacon signals respectively sent by the plurality of second devices, a beacon signal having a signal strength greater than a first threshold; and identifying, by the beacon signal having the signal strength greater than the first threshold, a second device characterized by the identifier Determining to be the second device that is not more than the first distance from the indoor positioning device.
  14. 如权利要求11-13中任一项所述的室内定位设备,其特征在于,所述室内定位设备根据所述第二设备发送的信标信号的信号强度确定所述室内定位设备相对于所述第二设备的位置,具体包括:The indoor positioning device according to any one of claims 11 to 13, wherein the indoor positioning device determines, according to a signal strength of a beacon signal sent by the second device, the indoor positioning device relative to the The location of the second device specifically includes:
    根据所述信号强度及所述标识确定和所述室内定位设备距离最近的第二设备,所述室内定位设备处于所述第二设备的位置或附近。Determining, according to the signal strength and the identifier, a second device that is closest to the indoor positioning device, where the indoor positioning device is at or near the location of the second device.
  15. 如权利要求14所述的室内定位设备,其特征在于,所述根据所述信号强度及所述标识确定和所述室内定位设备距离最近的第二设备,具体包括:The indoor positioning device according to claim 14, wherein the determining, by the signal strength and the identifier, the second device that is closest to the indoor positioning device comprises:
    从所述多个第二设备分别发送的信标信号中,选择出信号强度最大的信标信号;将所 述信号强度最大的信标信号携带的标识表征的第二设备确定为所述和所述室内定位设备距离最近的第二设备。Selecting, from the beacon signals respectively sent by the plurality of second devices, a beacon signal having the highest signal strength; The second device characterized by the identifier carried by the beacon signal having the highest signal strength is determined as the second device that is closest to the indoor positioning device.
  16. 如权利要求11-13中任一项所述的室内定位设备,其特征在于,所述室内定位设备根据所述第二设备发送的信标信号的信号强度确定所述室内定位设备相对于所述第二设备的位置,具体包括:The indoor positioning device according to any one of claims 11 to 13, wherein the indoor positioning device determines, according to a signal strength of a beacon signal sent by the second device, the indoor positioning device relative to the The location of the second device specifically includes:
    根据所述信号强度及所述标识确定和所述室内定位设备距离最近的至少2个第二设备,所述室内定位设备处于所述至少2个第二设备之间。Determining, according to the signal strength and the identifier, at least two second devices that are closest to the indoor positioning device, the indoor positioning device being between the at least two second devices.
  17. 如权利要求16所述的室内定位设备,其特征在于,所述根据所述信号强度及所述标识确定和所述室内定位设备距离最近的至少2个第二设备,具体包括:The indoor positioning device according to claim 16, wherein the determining, according to the signal strength and the identifier, the at least two second devices that are closest to the indoor positioning device, specifically:
    从所述多个第二设备分别发送的信标信号中,按照信号强度从高到低的顺序选择出(信号强度最大的)至少2个信标信号;所述至少2个信标信号之间的信号强度差值不超过第二阈值;将所述至少2个信标信号各自携带的标识表征的至少2个第二设备确定为所述和所述室内定位设备距离最近的至少2个第二设备。Selecting at least two beacon signals (the signal strength is the largest) from the highest to the lowest signal order in the beacon signals respectively transmitted by the plurality of second devices; between the at least two beacon signals The signal strength difference does not exceed the second threshold; the at least two second devices that are characterized by the identifiers carried by the at least two beacon signals are determined to be at least two second closest to the indoor positioning device. device.
  18. 如权利要求11-17中任一项所述的室内定位设备,其特征在于,还包括:判断所述室内定位设备连接到的网络以及所述室内定位设备检测到的网络信号的信号强度是否发生变化,如果没有变化,则确定室内定位设备的位置没有发生变化。The indoor positioning device according to any one of claims 11-17, further comprising: determining whether a network connected to the indoor positioning device and a signal strength of a network signal detected by the indoor positioning device occur Change, if there is no change, then determine that the location of the indoor positioning device has not changed.
  19. 如权利要求11-18中任一项所述的室内定位设备,其特征在于,还包括:The indoor positioning device according to any one of claims 11 to 18, further comprising:
    接收用户输入的语音控制指令;Receiving a voice control instruction input by a user;
    确定所述语音控制指令匹配的第二设备;所述匹配的第二设备被配置有所述语音控制指令待控制的功能;Determining, by the second device that the voice control instruction matches; the matched second device is configured with a function to be controlled by the voice control instruction;
    判断所述语音控制指令是否指示出待控制的第二设备,如果没有指示,则将所述语音控制指令匹配的第二设备中距离所述室内定位设备最近的第二设备确定为所述待控制的第二设备。Determining whether the voice control instruction indicates a second device to be controlled, and if not, determining, in the second device that matches the voice control command, a second device that is closest to the indoor positioning device as the to-be-controlled The second device.
  20. 如权利要求11-19中任一项所述的室内定位设备,其特征在于,所述室内定位设备是移动终端,所述第二设备是智能家居设备。 The indoor positioning device according to any one of claims 11 to 19, wherein the indoor positioning device is a mobile terminal, and the second device is a smart home device.
PCT/CN2017/088259 2017-01-20 2017-06-14 Indoor positioning method and device WO2018133311A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710046272 2017-01-20
CN201710046272.9 2017-01-20

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201780003392.9A CN108370492A (en) 2017-01-20 2017-06-14 A kind of method and apparatus of indoor positioning

Publications (1)

Publication Number Publication Date
WO2018133311A1 true WO2018133311A1 (en) 2018-07-26

Family

ID=62907633

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/088259 WO2018133311A1 (en) 2017-01-20 2017-06-14 Indoor positioning method and device

Country Status (2)

Country Link
CN (1) CN108370492A (en)
WO (1) WO2018133311A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246387A (en) * 2019-01-22 2020-06-05 中国信息通信研究院 Method and system for acquiring position information by broadband network gateway

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109788429B (en) * 2019-01-28 2020-11-24 武汉慧联无限科技有限公司 Optimization method for improving Bluetooth positioning accuracy
CN110287744B (en) * 2019-06-17 2020-12-25 珠海格力电器股份有限公司 Method and device for identifying two-dimensional code

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110090081A1 (en) * 2009-10-21 2011-04-21 Qualcomm Incorporated Mapping wireless signals with motion sensors
CN104159294A (en) * 2014-08-01 2014-11-19 西南科技大学 Cloud positioning platform based on Bluetooth 4.0 technology
CN104954733A (en) * 2014-03-28 2015-09-30 友讯科技股份有限公司 Safety monitoring system capable of proactively detecting locations of terminal devices
CN105068046A (en) * 2015-08-26 2015-11-18 中国联合网络通信集团有限公司 Positioning method of intelligent equipment, and gateway
CN105700389A (en) * 2014-11-27 2016-06-22 青岛海尔智能技术研发有限公司 Smart home natural language control method
CN105911871A (en) * 2016-04-13 2016-08-31 杭州聪普智能科技有限公司 Intelligent household positioning control method based on bluetooth technology
US20160330580A1 (en) * 2015-05-07 2016-11-10 Art B Co, LLC Method and apparatus for interacting with potential purchasers of art

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103476169B (en) * 2013-07-18 2016-08-24 浙江生辉照明有限公司 A kind of indoor navigation control system based on LED light device and method
CN103500495B (en) * 2013-10-09 2017-01-11 广东索博智能科技有限公司 Intelligent household remote control system
CN104155938B (en) * 2014-07-21 2018-01-09 惠州Tcl移动通信有限公司 A kind of home equipment management method and system
CN104574899B (en) * 2014-12-15 2019-08-23 惠州Tcl移动通信有限公司 A kind of intelligent control method and its terminal
CN204681599U (en) * 2015-04-29 2015-09-30 辽宁工业大学 A kind of indoor fusion navigation system based on WiFi and bluetooth
CN106304324B (en) * 2015-05-26 2019-09-06 北京恒远创智信息技术有限公司 A kind of localization method, electrical equipment, positioning terminal and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110090081A1 (en) * 2009-10-21 2011-04-21 Qualcomm Incorporated Mapping wireless signals with motion sensors
CN104954733A (en) * 2014-03-28 2015-09-30 友讯科技股份有限公司 Safety monitoring system capable of proactively detecting locations of terminal devices
CN104159294A (en) * 2014-08-01 2014-11-19 西南科技大学 Cloud positioning platform based on Bluetooth 4.0 technology
CN105700389A (en) * 2014-11-27 2016-06-22 青岛海尔智能技术研发有限公司 Smart home natural language control method
US20160330580A1 (en) * 2015-05-07 2016-11-10 Art B Co, LLC Method and apparatus for interacting with potential purchasers of art
CN105068046A (en) * 2015-08-26 2015-11-18 中国联合网络通信集团有限公司 Positioning method of intelligent equipment, and gateway
CN105911871A (en) * 2016-04-13 2016-08-31 杭州聪普智能科技有限公司 Intelligent household positioning control method based on bluetooth technology

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246387A (en) * 2019-01-22 2020-06-05 中国信息通信研究院 Method and system for acquiring position information by broadband network gateway
CN111246387B (en) * 2019-01-22 2021-01-15 中国信息通信研究院 Method and system for acquiring position information by broadband network gateway

Also Published As

Publication number Publication date
CN108370492A (en) 2018-08-03

Similar Documents

Publication Publication Date Title
US10565841B2 (en) Controlling channel usage in a wireless network
US9949349B2 (en) Lighting control apparatus, lighting control method, and lighting control system
US9991956B2 (en) System and method for communication with a mobile device via a positioning system including RF communication devices and modulated beacon light sources
RU2699376C2 (en) Location detection
US9279686B2 (en) Systems and methods for indoor navigation control by LED lighting devices
US20180375919A1 (en) Method and apparatus for remotely controlling home device in home network system
CA2994708C (en) Commissioning and controlling load control devices
EP3237811B1 (en) Occupancy sensing and building control using mobile devices
US20170366368A1 (en) Adaptive home and commercial automation devices, methods and systems based on the proximity of controlling elements
US10705495B2 (en) Commissioning load control systems
US9571974B2 (en) Device searching method and electronic device supporting the same
US9313863B2 (en) Methods, devices, and systems for controlling smart lighting objects to establish a lighting condition
CN103899963B (en) Multifunctional all intelligent electric lamp
US20160373909A1 (en) Wireless audio, security communication and home automation
US10666367B2 (en) Method and apparatus for controlling operation based on distance between transmission device and reception device
US10386454B2 (en) Network centric localization for determining the location of mobile devices
EP3100593B1 (en) A method of controlling lighting devices
RU2639945C2 (en) Appointment of local device identifier when connecting from device to device carried out with network assistance
US20160165570A1 (en) Crowd sourced location determination
US8457656B2 (en) Wireless tracking system and method utilizing multiple location algorithms
US9585227B2 (en) Distributed light fixture beacon management
US20160073482A1 (en) Implementing a target lighting scene in an internet of things environment using a mobile light output device
US10685194B2 (en) Asset tracking using active wireless tags that report via a local network of connected beacons
Pandharipande et al. Sensor-driven wireless lighting control: System solutions and services for intelligent buildings
EP2662703B1 (en) Improving positioning accuracy of location tracking system

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17893198

Country of ref document: EP

Kind code of ref document: A1