CN108810800A - The localization method of smart machine, control device and smart machine in indoor environment - Google Patents
The localization method of smart machine, control device and smart machine in indoor environment Download PDFInfo
- Publication number
- CN108810800A CN108810800A CN201810531560.8A CN201810531560A CN108810800A CN 108810800 A CN108810800 A CN 108810800A CN 201810531560 A CN201810531560 A CN 201810531560A CN 108810800 A CN108810800 A CN 108810800A
- Authority
- CN
- China
- Prior art keywords
- distance information
- devices
- coordinate system
- relative
- dimensional coordinate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000004807 localization Effects 0.000 title 1
- 238000010586 diagram Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 238000004364 calculation method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000006855 networking Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/023—Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/33—Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Radar Systems Or Details Thereof (AREA)
Abstract
本发明提供给了一种室内环境中智能设备的定位方法、控制设备与智能设备,所述方法,包括:获取所述室内环境中的三个参考设备的相对距离信息;所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离;根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置;接收智能设备发送的目标距离信息,所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离;根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置。本发明通过三个参考设备实现了三角定位,可有效降低成本。
The present invention provides a positioning method, a control device, and an intelligent device for an intelligent device in an indoor environment. The method includes: obtaining relative distance information of three reference devices in the indoor environment; To characterize the distance of each of the reference devices relative to at least one other reference device; according to the relative distance information of the three reference devices, a two-dimensional coordinate system is determined, and the three reference devices are in the two The position in the three-dimensional coordinate system; receiving the target distance information sent by the smart device, the target distance information is used to characterize the distance of the smart device relative to each of the reference devices; according to the target distance information, and the three The position of a reference device in the two-dimensional coordinate system is used to determine the position of the smart device in the two-dimensional coordinate system. The invention realizes triangular positioning through three reference devices, which can effectively reduce the cost.
Description
技术领域technical field
本发明涉及智能设备领域,尤其涉及一种室内环境中智能设备的定位方法、控制设备与智能设备。The invention relates to the field of smart devices, in particular to a positioning method for smart devices in an indoor environment, a control device and the smart device.
背景技术Background technique
智能设备,可以理解为具有处理器与存储器,进而能够完成数据处理功能的设备,部分智能设备可还可具有通讯模块,进而能够与其他设备进行交互通讯。A smart device can be understood as a device that has a processor and a memory, and then can complete data processing functions. Some smart devices may also have a communication module, and then can interact with other devices.
现有的相关技术中,为了在室内环境中对智能设备进行定位,通常需利用智能设备在室内环境中运动,从而在运动中构建室内环境的地图,在需要实现智能设备的定位时,通过传感器判断智能设备在地图中的位置。In the existing related technologies, in order to locate the smart device in the indoor environment, it is usually necessary to use the smart device to move in the indoor environment, so as to build a map of the indoor environment during the movement. Determine the location of the smart device on the map.
然而,现有的定位过程需要安装传感器,成本较高。However, the existing positioning process requires the installation of sensors, which is costly.
发明内容Contents of the invention
本发明提供一种室内环境中智能设备的定位方法、控制设备与智能设备,以解决现有的定位过程需要安装传感器,成本较高的问题。The invention provides a positioning method for intelligent equipment in an indoor environment, control equipment and intelligent equipment to solve the problem that sensors need to be installed in the existing positioning process and the cost is high.
根据本发明的第一方面,提供了一种室内环境中智能设备的定位方法,包括:According to the first aspect of the present invention, a positioning method for smart devices in an indoor environment is provided, including:
获取所述室内环境中的三个参考设备的相对距离信息;所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离;Acquiring relative distance information of three reference devices in the indoor environment; the relative distance information is used to characterize the distance of each of the reference devices relative to at least one other reference device;
根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置;determining a two-dimensional coordinate system and positions of the three reference devices in the two-dimensional coordinate system according to the relative distance information of the three reference devices;
接收智能设备发送的目标距离信息,所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离;receiving target distance information sent by the smart device, where the target distance information is used to characterize the distance of the smart device relative to each of the reference devices;
根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置。Determine the position of the smart device in the two-dimensional coordinate system according to the target distance information and the positions of the three reference devices in the two-dimensional coordinate system.
可选的,所述目标距离信息是根据所述参考设备发送至所述智能设备的测距参考信号的发出时间、接收时间和接收强度确定的。Optionally, the target distance information is determined according to the sending time, receiving time and receiving strength of the ranging reference signal sent from the reference device to the smart device.
可选的,所述根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置,包括:Optionally, the determining a two-dimensional coordinate system according to the relative distance information of the three reference devices, and the positions of the three reference devices in the two-dimensional coordinate system include:
根据所述三个参考设备的所述相对距离信息,确定所述三个参考设备互相之间的相对位置;determining relative positions of the three reference devices to each other according to the relative distance information of the three reference devices;
根据所述三个参考设备互相之间的相对位置,确定所述二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置。The two-dimensional coordinate system and the positions of the three reference devices in the two-dimensional coordinate system are determined according to the relative positions of the three reference devices.
可选的,所述三个参考设备包括第一参考设备、第二参考设备和第三参考设备;所述相对距离信息包括表征所述第一参考设备与所述第二参考设备的第一距离的第一距离信息、表征所述第二参考设备与所述第三参考设备的第二距离的第二距离信息,以及表征所述第一参考设备与所述第三参考设备的第三距离的第三距离信息;Optionally, the three reference devices include a first reference device, a second reference device, and a third reference device; the relative distance information includes a first distance representing the first reference device and the second reference device the first distance information representing the second distance between the second reference device and the third reference device, and the second distance information representing the third distance between the first reference device and the third reference device third distance information;
所述获取所述室内环境中的三个参考设备的相对距离信息之前,还包括:Before the acquiring the relative distance information of the three reference devices in the indoor environment, it also includes:
控制所述第一参考设备向所述第二参考设备发送第一参考信号,以使得所述第二参考设备根据所述第一参考信号的发出时间、接收时间和接收强度,确定所述第一距离信息,并向所述控制设备发送所述第一距离信息;controlling the first reference device to send a first reference signal to the second reference device, so that the second reference device determines the first distance information, and send the first distance information to the control device;
控制所述第二参考设备向所述第三参考设备发送第二参考信号,以使得所述第三参考设备根据所述第二参考信号的发出时间、接收时间和接收强度,确定所述第二距离信息,并向所述控制设备发送所述第二距离信息;controlling the second reference device to send a second reference signal to the third reference device, so that the third reference device determines the second distance information, and send the second distance information to the control device;
控制所述第三参考设备向所述第一参考设备发送第三参考信号,以使得所述第一参考设备根据所述第三参考信号的发出时间、接收时间和接收强度,确定所述第三距离信息,并向所述控制设备发送所述第三距离信息。controlling the third reference device to send a third reference signal to the first reference device, so that the first reference device determines the third reference signal according to the sending time, receiving time and receiving strength of the third reference device distance information, and send the third distance information to the control device.
根据本发明的第二方面,提供了一种室内环境中智能设备的定位方法,应用于智能设备,包括:According to the second aspect of the present invention, a positioning method for smart devices in an indoor environment is provided, which is applied to smart devices, including:
向所述室内环境中的三个参考设备发送定位请求,或者向控制设备发送定位请求,以使得所述控制设备将所述定位请求发送至所述三个参考设备;sending a positioning request to three reference devices in the indoor environment, or sending a positioning request to a control device, so that the control device sends the positioning request to the three reference devices;
接收所述三个参考设备发送的测距参考信号;所述测距参考信号包括所述测距参考信号的发出时间的信息;receiving ranging reference signals sent by the three reference devices; the ranging reference signals include information on the sending time of the ranging reference signals;
根据所述发出时间的信息,所述测距参考信号的接收时间以及所述测距参考信号的接收强度,确定目标距离信息;所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离;According to the sending time information, the receiving time of the ranging reference signal and the receiving strength of the ranging reference signal, determine the target distance information; the target distance information is used to characterize the relative distance of the smart device to each the distance from the reference device;
向控制设备发送所述目标距离信息,以使得所述控制设备根据所述目标距离信息,以及所述三个参考设备在二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置;所述二维坐标系以及所述三个参考设备在所述二维坐标系中的位置是所述控制设备根据所述三个参考设备的相对距离信息确定的,所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离。sending the target distance information to the control device, so that the control device determines the position of the smart device in the two-dimensional coordinate system according to the target distance information and the positions of the three reference devices in the two-dimensional coordinate system. position in the two-dimensional coordinate system; the two-dimensional coordinate system and the positions of the three reference devices in the two-dimensional coordinate system are determined by the control device according to the relative distance information of the three reference devices, and the relative The distance information is used to characterize the distance of each reference device relative to at least one other reference device.
根据本发明的第三方面,提供了一种控制设备,包括:According to a third aspect of the present invention, a control device is provided, comprising:
相对距离信息获取模块,用于获取所述室内环境中的三个参考设备的相对距离信息;所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离;A relative distance information acquisition module, configured to acquire relative distance information of three reference devices in the indoor environment; the relative distance information is used to characterize the distance of each of the reference devices relative to at least one other reference device;
坐标系确定模块,用于根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置;A coordinate system determining module, configured to determine a two-dimensional coordinate system and the positions of the three reference devices in the two-dimensional coordinate system according to the relative distance information of the three reference devices;
目标距离信息接收模块,用于接收智能设备发送的目标距离信息,所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离;A target distance information receiving module, configured to receive target distance information sent by the smart device, where the target distance information is used to represent the distance of the smart device relative to each of the reference devices;
智能设备位置确定模块,用于根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置。The smart device position determination module is configured to determine the position of the smart device in the two-dimensional coordinate system according to the target distance information and the positions of the three reference devices in the two-dimensional coordinate system.
可选的,所述目标距离信息是根据所述参考设备发送至所述智能设备的测距参考信号的发出时间、接收时间和接收强度确定的。Optionally, the target distance information is determined according to the sending time, receiving time and receiving strength of the ranging reference signal sent by the reference device to the smart device.
可选的,所述坐标系确定模块,具体用于:Optionally, the coordinate system determining module is specifically used for:
根据所述三个参考设备的所述相对距离信息,确定所述三个参考设备互相之间的相对位置;determining relative positions of the three reference devices to each other according to the relative distance information of the three reference devices;
根据所述三个参考设备互相之间的相对位置,确定所述二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置。The two-dimensional coordinate system and the positions of the three reference devices in the two-dimensional coordinate system are determined according to the relative positions of the three reference devices.
可选的,所述三个参考设备包括第一参考设备、第二参考设备和第三参考设备;所述相对距离信息包括表征所述第一参考设备与所述第二参考设备的第一距离的第一距离信息、表征所述第二参考设备与所述第三参考设备的第二距离的第二距离信息,以及表征所述第一参考设备与所述第三参考设备的第三距离的第三距离信息;Optionally, the three reference devices include a first reference device, a second reference device, and a third reference device; the relative distance information includes a first distance representing the first reference device and the second reference device the first distance information representing the second distance between the second reference device and the third reference device, and the second distance information representing the third distance between the first reference device and the third reference device third distance information;
所述控制设备,还包括:The control device also includes:
第一控制模块,用于控制所述第一参考设备向所述第二参考设备发送第一参考信号,以使得所述第二参考设备根据所述第一参考信号的发出时间、接收时间和接收强度,确定所述第一距离信息,并向所述控制设备发送所述第一距离信息;A first control module, configured to control the first reference device to send a first reference signal to the second reference device, so that the second reference device transmits a first reference signal according to the sending time, receiving time and receiving time of the first reference signal Intensity, determining the first distance information, and sending the first distance information to the control device;
第二控制模块,用于控制所述第二参考设备向所述第三参考设备发送第二参考信号,以使得所述第三参考设备根据所述第二参考信号的发出时间、接收时间和接收强度,确定所述第二距离信息,并向所述控制设备发送所述第二距离信息;A second control module, configured to control the second reference device to send a second reference signal to the third reference device, so that the third reference device can transmit the second reference signal according to the sending time, receiving time and receiving time of the second reference signal Intensity, determining the second distance information, and sending the second distance information to the control device;
第三控制模块,用于控制所述第三参考设备向所述第一参考设备发送第三参考信号,以使得所述第一参考设备根据所述第三参考信号的发出时间、接收时间和接收强度,确定所述第一距离信息,并向所述控制设备发送所述第三距离信息。A third control module, configured to control the third reference device to send a third reference signal to the first reference device, so that the first reference device can transmit the third reference signal according to the sending time, receiving time and receiving time of the third reference device. intensity, determining the first distance information, and sending the third distance information to the control device.
根据本发明的第四方面,提供了一种智能设备,包括:According to a fourth aspect of the present invention, a smart device is provided, including:
定位请求发送模块,用于向所述室内环境中的三个参考设备发送定位请求,或者向控制设备发送定位请求,以使得所述控制设备将所述定位请求发送至所述三个参考设备;A positioning request sending module, configured to send a positioning request to three reference devices in the indoor environment, or send a positioning request to a control device, so that the control device sends the positioning request to the three reference devices;
测距参考信号接收模块,用于接收所述三个参考设备发送的测距参考信号;所述测距参考信号包括所述测距参考信号的发出时间的信息;The ranging reference signal receiving module is configured to receive the ranging reference signal sent by the three reference devices; the ranging reference signal includes information on the sending time of the ranging reference signal;
目标距离信息确定模块,用于根据所述发出时间的信息,所述测距参考信号的接收时间以及所述测距参考信号的接收强度,确定目标距离信息;所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离;A target distance information determining module, configured to determine target distance information according to the sending time information, the receiving time of the ranging reference signal and the receiving strength of the ranging reference signal; the target distance information is used to represent the the distance of the smart device relative to each of the reference devices;
目标距离信息发送模块,用于向控制设备发送所述目标距离信息,以使得所述控制设备根据所述目标距离信息,以及所述三个参考设备在二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置;所述二维坐标系以及所述三个参考设备在所述二维坐标系中的位置是所述控制设备根据所述三个参考设备的相对距离信息确定的,所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离。a target distance information sending module, configured to send the target distance information to a control device, so that the control device determines the The position of the smart device in the two-dimensional coordinate system; the two-dimensional coordinate system and the positions of the three reference devices in the two-dimensional coordinate system are the relative positions of the control device according to the three reference devices Determined by the distance information, the relative distance information is used to characterize the distance of each of the reference devices relative to at least one other reference device.
本发明提供的室内环境中智能设备的定位方法、控制设备与智能设备,通过获取所述室内环境中的三个参考设备的相对距离信息;所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离;根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置,为智能设备的定位描述提供了依据;本发明还通过接收智能设备发送的目标距离信息,所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离;以及根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置,实现了智能设备在二维坐标系中的定位。本发明利用距离与位置的关系,通过三个参考设备实现了三角定位,整个过程无需复杂的传感器的参与,可有效降低成本。The positioning method, control device and smart device in the indoor environment provided by the present invention obtain the relative distance information of three reference devices in the indoor environment; the relative distance information is used to characterize each of the reference devices The distance relative to at least one other reference device; according to the relative distance information of the three reference devices, a two-dimensional coordinate system is determined, and the positions of the three reference devices in the two-dimensional coordinate system are The positioning description of the smart device provides a basis; the present invention also receives the target distance information sent by the smart device, and the target distance information is used to characterize the distance of the smart device relative to each of the reference devices; and according to the target The distance information, and the positions of the three reference devices in the two-dimensional coordinate system determine the position of the smart device in the two-dimensional coordinate system, thereby realizing the positioning of the smart device in the two-dimensional coordinate system. The present invention utilizes the relationship between distance and position to realize triangular positioning through three reference devices, and the whole process does not require the participation of complex sensors, which can effectively reduce costs.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本发明一实施例中基于控制设备的室内环境中智能设备的定位方法的流程示意图;Fig. 1 is a schematic flowchart of a positioning method for a smart device in an indoor environment based on a control device in an embodiment of the present invention;
图2是本发明另一实施例中基于控制设备的室内环境中智能设备的定位方法的流程示意图;FIG. 2 is a schematic flow diagram of a method for positioning a smart device in an indoor environment based on a control device in another embodiment of the present invention;
图3是本发明一实施例中步骤S25的流程示意图;Fig. 3 is a schematic flow chart of step S25 in an embodiment of the present invention;
图4是本发明一实施例中基于智能设备的室内环境中智能设备的定位方法的流程示意图;4 is a schematic flowchart of a positioning method for a smart device in an indoor environment based on the smart device in an embodiment of the present invention;
图5是本发明一实施例中控制设备的结构示意图;Fig. 5 is a schematic structural diagram of a control device in an embodiment of the present invention;
图6是本发明另一实施例中控制设备的结构示意图;Fig. 6 is a schematic structural diagram of a control device in another embodiment of the present invention;
图7是本发明一实施例中智能设备的结构示意图;Fig. 7 is a schematic structural diagram of a smart device in an embodiment of the present invention;
图8是本发明一实施例中电子设备的结构示意图。Fig. 8 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily Describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solution of the present invention will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
图1是本发明一实施例中基于控制设备的室内环境中智能设备的定位方法的流程示意图。Fig. 1 is a schematic flowchart of a method for locating a smart device in an indoor environment based on a control device in an embodiment of the present invention.
请参考图1,基于控制设备的室内环境中智能设备的定位方法,包括:Please refer to Figure 1, the positioning method of smart devices in an indoor environment based on control devices, including:
S11:获取所述室内环境中的三个参考设备的相对距离信息。S11: Acquire relative distance information of three reference devices in the indoor environment.
相对距离信息,可理解为用于表征每个所述参考设备相对于其他至少一个参考设备的距离;可见,对于三个参考设备,至少可具有三个相对距离信息,任意能够表征距离的信息,均不脱离以上描述。The relative distance information can be understood as being used to characterize the distance of each of the reference devices relative to at least one other reference device; it can be seen that for three reference devices, there can be at least three relative distance information, any information that can characterize the distance, All without departing from the above description.
参考设备,可理解为室内环境中任意的三个设备,通过参考设备,可为智能设备的定位提供依据。The reference device can be understood as any three devices in the indoor environment, and the reference device can provide a basis for the positioning of the smart device.
控制设备与参考设备,可组网形成物联网。具体可利用Mesh组网技术将控制设备与参考设备连接在一起。进一步的,需要定位的智能设备也可连接于该网中。Control devices and reference devices can be networked to form the Internet of Things. Specifically, the Mesh networking technology can be used to connect the control device and the reference device together. Furthermore, smart devices that need positioning can also be connected to the network.
S12:根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置。S12: Determine a two-dimensional coordinate system and positions of the three reference devices in the two-dimensional coordinate system according to the relative distance information of the three reference devices.
二维坐标系,可以理解为任意的用于表征各设备位置的坐标系。具体的,以三个参考设备的位置,或以与参考设备位置相对固定的任意位置,均可作为二维坐标系的原点,确定一可用于对所述室内环境的二维位置进行描述的坐标系。The two-dimensional coordinate system can be understood as any coordinate system used to characterize the position of each device. Specifically, the positions of the three reference devices, or any position relatively fixed to the position of the reference devices, can be used as the origin of the two-dimensional coordinate system to determine a coordinate that can be used to describe the two-dimensional position of the indoor environment Tie.
S13:接收智能设备发送的目标距离信息。S13: Receive target distance information sent by the smart device.
目标距离信息,可理解为用于表征所述智能设备相对于每个所述参考设备的距离。可见,对于三个参考设备,至少可具有三个目标距离信息,任意能够表征距离的信息,均不脱离以上描述。The target distance information may be understood as being used to characterize the distance of the smart device relative to each of the reference devices. It can be seen that, for the three reference devices, there may be at least three target distance information, and any information that can represent the distance does not deviate from the above description.
S14:根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置。S14: Determine the position of the smart device in the two-dimensional coordinate system according to the target distance information and the positions of the three reference devices in the two-dimensional coordinate system.
同时,完成定位后的智能设备,也可作为参考设备用于对其他智能设备进行定位,进而通过重复以上步骤S11至步骤S14,可基于三个参考设备,最终完成多样的设备的定位。At the same time, the smart device after positioning can also be used as a reference device for positioning other smart devices, and by repeating the above steps S11 to S14, the positioning of various devices can be finally completed based on the three reference devices.
本实施例提供的基于控制设备的室内环境中智能设备的定位方法,通过获取所述室内环境中的三个参考设备的相对距离信息;所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离;根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置,为智能设备的定位描述提供了依据;本发明还通过接收智能设备发送的目标距离信息,所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离;以及根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置,实现了智能设备在二维坐标系中的定位。本发明利用距离与位置的关系,通过三个参考设备实现了三角定位,整个过程无需复杂的传感器的参与,可有效降低成本。The positioning method for smart devices in an indoor environment based on control devices provided in this embodiment obtains the relative distance information of three reference devices in the indoor environment; the relative distance information is used to represent the relative distance between each of the reference devices. The distance from at least one other reference device; according to the relative distance information of the three reference devices, determine a two-dimensional coordinate system and the positions of the three reference devices in the two-dimensional coordinate system, which is intelligent The positioning description of the device provides a basis; the present invention also receives the target distance information sent by the smart device, and the target distance information is used to characterize the distance of the smart device relative to each of the reference devices; and according to the target distance information, and the positions of the three reference devices in the two-dimensional coordinate system, determine the position of the smart device in the two-dimensional coordinate system, and realize the positioning of the smart device in the two-dimensional coordinate system. The present invention utilizes the relationship between distance and position to realize triangular positioning through three reference devices, and the whole process does not require the participation of complex sensors, which can effectively reduce costs.
图2是本发明另一实施例中基于控制设备的室内环境中智能设备的定位方法的流程示意图。Fig. 2 is a schematic flowchart of a method for locating a smart device in an indoor environment based on a control device in another embodiment of the present invention.
请参考图2,基于控制设备的室内环境中智能设备的定位方法,包括:Please refer to Figure 2, the positioning method of smart devices in an indoor environment based on control devices, including:
S24:获取所述室内环境中的三个参考设备的相对距离信息。S24: Acquire relative distance information of the three reference devices in the indoor environment.
相对距离信息,可理解为用于表征每个所述参考设备相对于其他至少一个参考设备的距离;可见,对于三个参考设备,至少可具有三个相对距离信息,任意能够表征距离的信息,均不脱离以上描述。The relative distance information can be understood as being used to characterize the distance of each of the reference devices relative to at least one other reference device; it can be seen that for three reference devices, there can be at least three relative distance information, any information that can characterize the distance, All without departing from the above description.
参考设备,可理解为室内环境中任意的三个设备,通过参考设备,可为智能设备的定位提供依据。The reference device can be understood as any three devices in the indoor environment, and the reference device can provide a basis for the positioning of the smart device.
控制设备与参考设备,可组网形成物联网。具体可利用Mesh组网技术将控制设备与参考设备连接在一起。进一步的,需要定位的智能设备也可连接于该网中。Control devices and reference devices can be networked to form the Internet of Things. Specifically, the Mesh networking technology can be used to connect the control device and the reference device together. Furthermore, smart devices that need positioning can also be connected to the network.
所述三个参考设备包括第一参考设备、第二参考设备和第三参考设备;所述相对距离信息包括表征所述第一参考设备与所述第二参考设备的第一距离的第一距离信息、表征所述第二参考设备与所述第三参考设备的第二距离的第二距离信息,以及表征所述第一参考设备与所述第三参考设备的第三距离的第三距离信息。The three reference devices include a first reference device, a second reference device, and a third reference device; the relative distance information includes a first distance representing a first distance between the first reference device and the second reference device information, second distance information representing a second distance between the second reference device and the third reference device, and third distance information representing a third distance between the first reference device and the third reference device .
步骤S24之前,可以包括:Before step S24, may include:
S21:控制所述第一参考设备向所述第二参考设备发送第一参考信号,以使得所述第二参考设备根据所述第一参考信号的发出时间、接收时间和接收强度,确定所述第一距离信息,并向所述控制设备发送所述第一距离信息。S21: Control the first reference device to send a first reference signal to the second reference device, so that the second reference device determines the first distance information, and send the first distance information to the control device.
第一参考信号,可理解为第一参考设备向第二参考设备发送的信号,其可包含描述发出第一参考信号的发出时间的信息,以及第一参考设备的标识的信息,进而,第二参考设备在接收到之后可根据第一参考信号的发出时间、接收时间和接收强度计算距离,得到第一距离信息,同时,根据第一参考设备的标识,确定该第一距离信息描述的是第一参考设备与第二参考设备的距离。The first reference signal can be understood as a signal sent by the first reference device to the second reference device, which may include information describing the sending time of the first reference signal and information about the identity of the first reference device, and further, the second After receiving it, the reference device can calculate the distance according to the sending time, receiving time and receiving intensity of the first reference signal to obtain the first distance information, and at the same time, according to the identification of the first reference device, determine that the first distance information describes the first The distance between a reference device and a second reference device.
S22:控制所述第二参考设备向所述第三参考设备发送第二参考信号,以使得所述第三参考设备根据所述第二参考信号的发出时间、接收时间和接收强度,确定所述第二距离信息,并向所述控制设备发送所述第二距离信息。S22: Control the second reference device to send a second reference signal to the third reference device, so that the third reference device determines the second distance information, and send the second distance information to the control device.
第二参考信号,其作用与内容可参照第一参考信号理解。The function and content of the second reference signal can be understood with reference to the first reference signal.
S23:控制所述第三参考设备向所述第一参考设备发送第三参考信号,以使得所述第一参考设备根据所述第三参考信号的发出时间、接收时间和接收强度,确定所述第三距离信息,并向所述控制设备发送所述第三距离信息。S23: Control the third reference device to send a third reference signal to the first reference device, so that the first reference device determines the third distance information, and send the third distance information to the control device.
第三参考信号,其作用与内容可参照第一参考信号理解。The function and content of the third reference signal can be understood with reference to the first reference signal.
此外,计算第一距离信息、第二距离信息和第三距离信息的过程也不限于以上的描述,例如:为计算第一距离信息,也可由第二参考设备向第一参考设备发送信号,进而根据信号计算第一距离信息,其逻辑与以上过程相类似。In addition, the process of calculating the first distance information, the second distance information and the third distance information is not limited to the above description, for example: in order to calculate the first distance information, the second reference device may also send a signal to the first reference device, and then The logic of calculating the first distance information according to the signal is similar to the above process.
同时,若表征同两个参考设备的相对距离信息有两个,例如对于第一参考设备与第二参考设备,第一参考设备根据第二参考设备发送的信号确定一第一距离信息,第二参考设备根据第一参考设备发送的信号确定一第一距离信息,则还可对两个第一距离信息进行统计计算,例如取平均值,进而以该平均值作为最终的第一距离信息。At the same time, if there are two relative distance information representing the same two reference devices, for example, for the first reference device and the second reference device, the first reference device determines a first distance information according to the signal sent by the second reference device, and the second The reference device determines the first distance information according to the signal sent by the first reference device, and may also perform statistical calculation on the two first distance information, for example, take an average value, and then use the average value as the final first distance information.
S25:根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置。S25: Determine a two-dimensional coordinate system and positions of the three reference devices in the two-dimensional coordinate system according to the relative distance information of the three reference devices.
二维坐标系,可以理解为任意的用于表征各设备位置的坐标系。具体的,以三个参考设备的位置,或以与参考设备位置相对固定的任意位置,均可作为二维坐标系的原点,确定一可用于对所述室内环境的二维位置进行描述的坐标系。The two-dimensional coordinate system can be understood as any coordinate system used to characterize the position of each device. Specifically, the positions of the three reference devices, or any position relatively fixed to the position of the reference devices, can be used as the origin of the two-dimensional coordinate system to determine a coordinate that can be used to describe the two-dimensional position of the indoor environment Tie.
图3是本发明一实施例中步骤S25的流程示意图。Fig. 3 is a schematic flowchart of step S25 in an embodiment of the present invention.
请参考图3,步骤S25,可以包括:Please refer to FIG. 3, step S25 may include:
S251:根据所述三个参考设备的所述相对距离信息,确定所述三个参考设备互相之间的相对位置。S251: Determine relative positions of the three reference devices according to the relative distance information of the three reference devices.
以上过程,可基于二维几何的自然规律实现,以距离与位置的关系为依据进行计算。The above process can be realized based on the natural law of two-dimensional geometry, and the calculation is based on the relationship between distance and position.
S252:根据所述三个参考设备互相之间的相对位置,确定所述二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置。S252: Determine the two-dimensional coordinate system and the positions of the three reference devices in the two-dimensional coordinate system according to the relative positions of the three reference devices.
S26:接收智能设备发送的目标距离信息。S26: Receive target distance information sent by the smart device.
目标距离信息,可理解为用于表征所述智能设备相对于每个所述参考设备的距离。可见,对于三个参考设备,至少可具有三个目标距离信息,任意能够表征距离的信息,均不脱离以上描述。The target distance information may be understood as being used to characterize the distance of the smart device relative to each of the reference devices. It can be seen that, for the three reference devices, there may be at least three target distance information, and any information that can represent the distance does not deviate from the above description.
其中一种实施方式中,所述目标距离信息是根据所述参考设备发送至所述智能设备的测距参考信号的发出时间、接收时间和接收强度确定的。目标距离信息的计算逻辑,可参照相对距离信息的计算逻辑理解。In one of the implementation manners, the target distance information is determined according to the sending time, receiving time and receiving strength of the ranging reference signal sent by the reference device to the smart device. The calculation logic of target distance information can be understood with reference to the calculation logic of relative distance information.
S27:根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置。S27: Determine the position of the smart device in the two-dimensional coordinate system according to the target distance information and the positions of the three reference devices in the two-dimensional coordinate system.
同时,完成定位后的智能设备,也可作为参考设备用于对其他智能设备进行定位,进而通过重复以上步骤S11至步骤S14,可基于三个参考设备,最终完成多样的设备的定位。At the same time, the smart device after positioning can also be used as a reference device for positioning other smart devices, and by repeating the above steps S11 to S14, the positioning of various devices can be finally completed based on the three reference devices.
本实施例提供的基于控制设备的室内环境中智能设备的定位方法,通过获取所述室内环境中的三个参考设备的相对距离信息;所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离;根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置,为智能设备的定位描述提供了依据;本发明还通过接收智能设备发送的目标距离信息,所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离;以及根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置,实现了智能设备在二维坐标系中的定位。本发明利用距离与位置的关系,通过三个参考设备实现了三角定位,整个过程无需复杂的传感器的参与,可有效降低成本。The positioning method for smart devices in an indoor environment based on control devices provided in this embodiment obtains the relative distance information of three reference devices in the indoor environment; the relative distance information is used to represent the relative distance between each of the reference devices. The distance from at least one other reference device; according to the relative distance information of the three reference devices, determine a two-dimensional coordinate system and the positions of the three reference devices in the two-dimensional coordinate system, which is intelligent The positioning description of the device provides a basis; the present invention also receives the target distance information sent by the smart device, and the target distance information is used to characterize the distance of the smart device relative to each of the reference devices; and according to the target distance information, and the positions of the three reference devices in the two-dimensional coordinate system, determine the position of the smart device in the two-dimensional coordinate system, and realize the positioning of the smart device in the two-dimensional coordinate system. The present invention utilizes the relationship between distance and position to realize triangular positioning through three reference devices, and the whole process does not require the participation of complex sensors, which can effectively reduce costs.
图4是本发明一实施例中基于智能设备的室内环境中智能设备的定位方法的流程示意图。Fig. 4 is a schematic flowchart of a method for locating a smart device in an indoor environment based on the smart device according to an embodiment of the present invention.
请参考图4,基于智能设备的室内环境中智能设备的定位方法,包括:Please refer to Figure 4, the positioning method of smart devices in an indoor environment based on smart devices, including:
S31:向所述室内环境中的三个参考设备发送定位请求,或者向控制设备发送定位请求,以使得所述控制设备将所述定位请求发送至所述三个参考设备。S31: Send a positioning request to three reference devices in the indoor environment, or send a positioning request to a control device, so that the control device sends the positioning request to the three reference devices.
定位请求,可理解为用于触发参考设备发送测距参考信号,并广播告知其需要进行定位的信息。具体可包含智能设备的标识信息,标识信息可例如名称、地址等。通过标识信息,参考设备可针对性地向智能设备发送测距参考信号。The positioning request can be understood as being used to trigger the reference device to send a ranging reference signal, and broadcast information to inform it that it needs to perform positioning. Specifically, it may include identification information of the smart device, and the identification information may be, for example, a name, an address, and the like. Through the identification information, the reference device can send a ranging reference signal to the smart device in a targeted manner.
S32:接收所述三个参考设备发送的测距参考信号。S32: Receive ranging reference signals sent by the three reference devices.
测距参考信号,可理解为用于实现参考设备与智能设备之间测距的信号,具体可以包括所述测距参考信号的发出时间的信息。The ranging reference signal may be understood as a signal used to implement ranging between the reference device and the smart device, and may specifically include information about the sending time of the ranging reference signal.
S33:根据所述发出时间的信息,所述测距参考信号的接收时间以及所述测距参考信号的接收强度,确定目标距离信息。S33: Determine target distance information according to the sending time information, the receiving time of the ranging reference signal, and the receiving strength of the ranging reference signal.
所述目标距离信息,可理解为用于表征所述智能设备相对于每个所述参考设备的距离。具体可参照前述实施例对目标距离信息的描述。The target distance information may be understood as being used to characterize the distance of the smart device relative to each of the reference devices. For details, reference may be made to the description of the target distance information in the foregoing embodiments.
S34:向控制设备发送所述目标距离信息,以使得所述控制设备根据所述目标距离信息,以及所述三个参考设备在二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置。S34: Send the target distance information to the control device, so that the control device determines the position of the smart device in the two-dimensional coordinate system according to the target distance information and the positions of the three reference devices in the two-dimensional coordinate system. position in the dimensional coordinate system.
所述二维坐标系以及所述三个参考设备在所述二维坐标系中的位置是所述控制设备根据所述三个参考设备的相对距离信息确定的。The two-dimensional coordinate system and the positions of the three reference devices in the two-dimensional coordinate system are determined by the control device according to relative distance information of the three reference devices.
所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离。The relative distance information is used to characterize the distance of each of the reference devices relative to at least one other reference device.
本实施例提供的基于智能设备的室内环境中智能设备的定位方法,通过获取所述室内环境中的三个参考设备的相对距离信息;所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离;根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置,为智能设备的定位描述提供了依据;本发明还通过接收智能设备发送的目标距离信息,所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离;以及根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置,实现了智能设备在二维坐标系中的定位。本发明利用距离与位置的关系,通过三个参考设备实现了三角定位,整个过程无需复杂的传感器的参与,可有效降低成本。The positioning method for smart devices in an indoor environment based on smart devices provided in this embodiment obtains the relative distance information of three reference devices in the indoor environment; the relative distance information is used to represent the relative distance between each of the reference devices. The distance from at least one other reference device; according to the relative distance information of the three reference devices, determine a two-dimensional coordinate system and the positions of the three reference devices in the two-dimensional coordinate system, which is intelligent The positioning description of the device provides a basis; the present invention also receives the target distance information sent by the smart device, and the target distance information is used to characterize the distance of the smart device relative to each of the reference devices; and according to the target distance information, and the positions of the three reference devices in the two-dimensional coordinate system, determine the position of the smart device in the two-dimensional coordinate system, and realize the positioning of the smart device in the two-dimensional coordinate system. The present invention utilizes the relationship between distance and position to realize triangular positioning through three reference devices, and the whole process does not require the participation of complex sensors, which can effectively reduce costs.
图5是本发明一实施例中控制设备的结构示意图。Fig. 5 is a schematic structural diagram of a control device in an embodiment of the present invention.
请参考图5,控制设备400,包括:Please refer to FIG. 5, the control device 400 includes:
相对距离信息获取模块401,用于获取所述室内环境中的三个参考设备的相对距离信息;所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离。The relative distance information obtaining module 401 is configured to obtain relative distance information of three reference devices in the indoor environment; the relative distance information is used to characterize the distance of each reference device relative to at least one other reference device.
坐标系确定模块402,用于根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置。The coordinate system determining module 402 is configured to determine a two-dimensional coordinate system and positions of the three reference devices in the two-dimensional coordinate system according to the relative distance information of the three reference devices.
目标距离信息接收模块403,用于接收智能设备发送的目标距离信息,所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离。The target distance information receiving module 403 is configured to receive target distance information sent by the smart device, and the target distance information is used to represent the distance of the smart device relative to each of the reference devices.
智能设备位置确定模块404,用于根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置。The smart device position determination module 404 is configured to determine the position of the smart device in the two-dimensional coordinate system according to the target distance information and the positions of the three reference devices in the two-dimensional coordinate system.
本实施例提供的控制设备,通过获取所述室内环境中的三个参考设备的相对距离信息;所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离;根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置,为智能设备的定位描述提供了依据;本发明还通过接收智能设备发送的目标距离信息,所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离;以及根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置,实现了智能设备在二维坐标系中的定位。本发明利用距离与位置的关系,通过三个参考设备实现了三角定位,整个过程无需复杂的传感器的参与,可有效降低成本。The control device provided in this embodiment obtains relative distance information of three reference devices in the indoor environment; the relative distance information is used to characterize the distance of each reference device relative to at least one other reference device; according to The relative distance information of the three reference devices determines a two-dimensional coordinate system, and the positions of the three reference devices in the two-dimensional coordinate system provide a basis for the positioning description of the smart device; the present invention Also by receiving the target distance information sent by the smart device, the target distance information is used to characterize the distance of the smart device relative to each of the reference devices; and according to the target distance information, and the three reference devices at The position in the two-dimensional coordinate system determines the position of the smart device in the two-dimensional coordinate system, realizing the positioning of the smart device in the two-dimensional coordinate system. The present invention utilizes the relationship between distance and position to realize triangular positioning through three reference devices, and the whole process does not require the participation of complex sensors, which can effectively reduce costs.
图6是本发明另一实施例中控制设备的结构示意图。Fig. 6 is a schematic structural diagram of a control device in another embodiment of the present invention.
请参考图6,控制设备500,包括:Please refer to FIG. 6, the control device 500 includes:
相对距离信息获取模块504,用于获取所述室内环境中的三个参考设备的相对距离信息;所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离。The relative distance information obtaining module 504 is configured to obtain relative distance information of three reference devices in the indoor environment; the relative distance information is used to characterize the distance of each reference device relative to at least one other reference device.
坐标系确定模块505,用于根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置。The coordinate system determining module 505 is configured to determine a two-dimensional coordinate system and the positions of the three reference devices in the two-dimensional coordinate system according to the relative distance information of the three reference devices.
目标距离信息接收模块506,用于接收智能设备发送的目标距离信息,所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离。The target distance information receiving module 506 is configured to receive target distance information sent by the smart device, and the target distance information is used to characterize the distance of the smart device relative to each of the reference devices.
智能设备位置确定模块507,用于根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置。The smart device position determination module 507 is configured to determine the position of the smart device in the two-dimensional coordinate system according to the target distance information and the positions of the three reference devices in the two-dimensional coordinate system.
可选的,所述目标距离信息是根据所述参考设备发送至所述智能设备的测距参考信号的发出时间、接收时间和接收强度确定的。Optionally, the target distance information is determined according to the sending time, receiving time and receiving strength of the ranging reference signal sent by the reference device to the smart device.
可选的,所述坐标系确定模块505,具体用于:Optionally, the coordinate system determining module 505 is specifically used for:
根据所述三个参考设备的所述相对距离信息,确定所述三个参考设备互相之间的相对位置;determining relative positions of the three reference devices to each other according to the relative distance information of the three reference devices;
根据所述三个参考设备互相之间的相对位置,确定所述二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置。The two-dimensional coordinate system and the positions of the three reference devices in the two-dimensional coordinate system are determined according to the relative positions of the three reference devices.
可选的,所述三个参考设备包括第一参考设备、第二参考设备和第三参考设备;所述相对距离信息包括表征所述第一参考设备与所述第二参考设备的第一距离的第一距离信息、表征所述第二参考设备与所述第三参考设备的第二距离的第二距离信息,以及表征所述第一参考设备与所述第三参考设备的第三距离的第三距离信息。Optionally, the three reference devices include a first reference device, a second reference device, and a third reference device; the relative distance information includes a first distance representing the first reference device and the second reference device the first distance information representing the second distance between the second reference device and the third reference device, and the second distance information representing the third distance between the first reference device and the third reference device Third distance information.
所述控制设备500,还包括:The control device 500 also includes:
第一控制模块501,用于控制所述第一参考设备向所述第二参考设备发送第一参考信号,以使得所述第二参考设备根据所述第一参考信号的发出时间、接收时间和接收强度,确定所述第一距离信息,并向所述控制设备发送所述第一距离信息。The first control module 501 is configured to control the first reference device to send a first reference signal to the second reference device, so that the second reference device transmits the first reference signal according to the sending time, receiving time and receiving strength, determining the first distance information, and sending the first distance information to the control device.
第二控制模块502,用于控制所述第二参考设备向所述第三参考设备发送第二参考信号,以使得所述第三参考设备根据所述第二参考信号的发出时间、接收时间和接收强度,确定所述第二距离信息,并向所述控制设备发送所述第二距离信息。The second control module 502 is configured to control the second reference device to send a second reference signal to the third reference device, so that the third reference device transmits the second reference signal according to the sending time, receiving time and receiving strength, determining the second distance information, and sending the second distance information to the control device.
第三控制模块503,用于控制所述第三参考设备向所述第一参考设备发送第三参考信号,以使得所述第一参考设备根据所述第三参考信号的发出时间、接收时间和接收强度,确定所述第一距离信息,并向所述控制设备发送所述第三距离信息。The third control module 503 is configured to control the third reference device to send a third reference signal to the first reference device, so that the first reference device transmits a third reference signal according to the sending time, receiving time and receiving strength, determining the first distance information, and sending the third distance information to the control device.
本实施例提供的控制设备,通过获取所述室内环境中的三个参考设备的相对距离信息;所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离;根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置,为智能设备的定位描述提供了依据;本发明还通过接收智能设备发送的目标距离信息,所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离;以及根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置,实现了智能设备在二维坐标系中的定位。本发明利用距离与位置的关系,通过三个参考设备实现了三角定位,整个过程无需复杂的传感器的参与,可有效降低成本。The control device provided in this embodiment obtains relative distance information of three reference devices in the indoor environment; the relative distance information is used to characterize the distance of each reference device relative to at least one other reference device; according to The relative distance information of the three reference devices determines a two-dimensional coordinate system, and the positions of the three reference devices in the two-dimensional coordinate system provide a basis for the positioning description of the smart device; the present invention Also by receiving the target distance information sent by the smart device, the target distance information is used to characterize the distance of the smart device relative to each of the reference devices; and according to the target distance information, and the three reference devices at The position in the two-dimensional coordinate system determines the position of the smart device in the two-dimensional coordinate system, realizing the positioning of the smart device in the two-dimensional coordinate system. The present invention utilizes the relationship between distance and position to realize triangular positioning through three reference devices, and the whole process does not require the participation of complex sensors, which can effectively reduce costs.
图7是本发明一实施例中智能设备的结构示意图。Fig. 7 is a schematic structural diagram of a smart device in an embodiment of the present invention.
请参考图7,智能设备600,包括:Please refer to FIG. 7, the smart device 600 includes:
定位请求发送模块601,用于向所述室内环境中的三个参考设备发送定位请求,或者向控制设备发送定位请求,以使得所述控制设备将所述定位请求发送至所述三个参考设备。A positioning request sending module 601, configured to send a positioning request to three reference devices in the indoor environment, or send a positioning request to a control device, so that the control device sends the positioning request to the three reference devices .
测距参考信号接收模块602,用于接收所述三个参考设备发送的测距参考信号;所述测距参考信号包括所述测距参考信号的发出时间的信息。The ranging reference signal receiving module 602 is configured to receive the ranging reference signal sent by the three reference devices; the ranging reference signal includes information about the sending time of the ranging reference signal.
目标距离信息确定模块603,用于根据所述发出时间的信息,所述测距参考信号的接收时间以及所述测距参考信号的接收强度,确定目标距离信息;所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离。The target distance information determining module 603 is configured to determine target distance information according to the sending time information, the receiving time of the ranging reference signal and the receiving strength of the ranging reference signal; the target distance information is used to represent The distance of the smart device relative to each of the reference devices.
目标距离信息发送模块604,用于向控制设备发送所述目标距离信息,以使得所述控制设备根据所述目标距离信息,以及所述三个参考设备在二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置;所述二维坐标系以及所述三个参考设备在所述二维坐标系中的位置是所述控制设备根据所述三个参考设备的相对距离信息确定的,所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离。A target distance information sending module 604, configured to send the target distance information to the control device, so that the control device determines the target distance information according to the target distance information and the positions of the three reference devices in the two-dimensional coordinate system. The position of the smart device in the two-dimensional coordinate system; the two-dimensional coordinate system and the positions of the three reference devices in the two-dimensional coordinate system are the positions of the control device according to the three reference devices Determined by relative distance information, where the relative distance information is used to characterize the distance of each of the reference devices relative to at least one other reference device.
本实施例提供的智能设备,通过获取所述室内环境中的三个参考设备的相对距离信息;所述相对距离信息用于表征每个所述参考设备相对于其他至少一个参考设备的距离;根据所述三个参考设备的所述相对距离信息,确定一二维坐标系,以及所述三个参考设备在所述二维坐标系中的位置,为智能设备的定位描述提供了依据;本发明还通过接收智能设备发送的目标距离信息,所述目标距离信息用于表征所述智能设备相对于每个所述参考设备的距离;以及根据所述目标距离信息,以及所述三个参考设备在所述二维坐标系中的位置,确定所述智能设备在所述二维坐标系中的位置,实现了智能设备在二维坐标系中的定位。本发明利用距离与位置的关系,通过三个参考设备实现了三角定位,整个过程无需复杂的传感器的参与,可有效降低成本。The smart device provided in this embodiment obtains relative distance information of three reference devices in the indoor environment; the relative distance information is used to characterize the distance of each reference device relative to at least one other reference device; according to The relative distance information of the three reference devices determines a two-dimensional coordinate system, and the positions of the three reference devices in the two-dimensional coordinate system provide a basis for the positioning description of the smart device; the present invention Also by receiving the target distance information sent by the smart device, the target distance information is used to characterize the distance of the smart device relative to each of the reference devices; and according to the target distance information, and the three reference devices at The position in the two-dimensional coordinate system determines the position of the smart device in the two-dimensional coordinate system, realizing the positioning of the smart device in the two-dimensional coordinate system. The present invention utilizes the relationship between distance and position to realize triangular positioning through three reference devices, and the whole process does not require the participation of complex sensors, which can effectively reduce costs.
图8是本发明一实施例中电子设备的结构示意图。Fig. 8 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
请参考图8,本实施例还提供了一种电子设备70包括:处理器71以及存储器72;其中:Please refer to FIG. 8 , this embodiment also provides an electronic device 70 including: a processor 71 and a memory 72; wherein:
存储器72,用于存储计算机程序,该存储器还可以是flash(闪存)。The memory 72 is used to store computer programs, and the memory can also be flash (flash memory).
处理器71,用于执行存储器存储的执行指令,以实现上述方法中的各个步骤。具体可以参见前面方法实施例中的相关描述。The processor 71 is configured to execute the execution instructions stored in the memory, so as to implement each step in the above method. For details, refer to the related descriptions in the foregoing method embodiments.
可选地,存储器72既可以是独立的,也可以跟处理器71集成在一起。Optionally, the memory 72 can be independent or integrated with the processor 71 .
当所述存储器72是独立于处理器71之外的器件时,所述电子设备70还可以包括:When the memory 72 is a device independent of the processor 71, the electronic device 70 may also include:
总线73,用于连接所述存储器72和处理器71。The bus 73 is used to connect the memory 72 and the processor 71 .
本实施例还提供一种可读存储介质,可读存储介质中存储有计算机程序,当电子设备的至少一个处理器执行该计算机程序时,电子执行执行上述的各种实施方式提供的方法。This embodiment also provides a readable storage medium, and a computer program is stored in the readable storage medium. When at least one processor of the electronic device executes the computer program, electronically executes the methods provided in the above various implementation manners.
本实施例还提供一种程序产品,该程序产品包括计算机程序,该计算机程序存储在可读存储介质中。电子设备的至少一个处理器可以从可读存储介质读取该计算机程序,至少一个处理器执行该计算机程序使得电子设备实施上述的各种实施方式提供的方法。This embodiment also provides a program product, where the program product includes a computer program, and the computer program is stored in a readable storage medium. At least one processor of the electronic device may read the computer program from a readable storage medium, and the at least one processor executes the computer program so that the electronic device implements the methods provided in the foregoing various implementations.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810531560.8A CN108810800A (en) | 2018-05-29 | 2018-05-29 | The localization method of smart machine, control device and smart machine in indoor environment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810531560.8A CN108810800A (en) | 2018-05-29 | 2018-05-29 | The localization method of smart machine, control device and smart machine in indoor environment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108810800A true CN108810800A (en) | 2018-11-13 |
Family
ID=64090721
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810531560.8A Pending CN108810800A (en) | 2018-05-29 | 2018-05-29 | The localization method of smart machine, control device and smart machine in indoor environment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108810800A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021223206A1 (en) * | 2020-05-08 | 2021-11-11 | Nokia Shanghai Bell Co., Ltd. | Methods and apparatuses for positioning |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080080441A1 (en) * | 2006-09-29 | 2008-04-03 | Electronics And Telecommunications Research Institute | Localization apparatus for recognizing location of node in sensor network and method thereof |
| CN101959129A (en) * | 2010-09-29 | 2011-01-26 | 李华民 | Indoor positioning system and method based on three communication vehicles |
| CN102231912A (en) * | 2011-07-29 | 2011-11-02 | 杭州电子科技大学 | RSSI ranging-based positioning method for indoor wireless sensor network |
| CN106226738A (en) * | 2016-07-08 | 2016-12-14 | 西安电子科技大学 | Mobile device near field based on acoustics distance-measuring and positioning method |
| CN107018525A (en) * | 2016-01-28 | 2017-08-04 | 华为技术有限公司 | Localization method, apparatus and system |
-
2018
- 2018-05-29 CN CN201810531560.8A patent/CN108810800A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080080441A1 (en) * | 2006-09-29 | 2008-04-03 | Electronics And Telecommunications Research Institute | Localization apparatus for recognizing location of node in sensor network and method thereof |
| CN101959129A (en) * | 2010-09-29 | 2011-01-26 | 李华民 | Indoor positioning system and method based on three communication vehicles |
| CN102231912A (en) * | 2011-07-29 | 2011-11-02 | 杭州电子科技大学 | RSSI ranging-based positioning method for indoor wireless sensor network |
| CN107018525A (en) * | 2016-01-28 | 2017-08-04 | 华为技术有限公司 | Localization method, apparatus and system |
| CN106226738A (en) * | 2016-07-08 | 2016-12-14 | 西安电子科技大学 | Mobile device near field based on acoustics distance-measuring and positioning method |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021223206A1 (en) * | 2020-05-08 | 2021-11-11 | Nokia Shanghai Bell Co., Ltd. | Methods and apparatuses for positioning |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI770544B (en) | Apparatus of vision and radio fusion based precise indoor localization and storage medium thereof | |
| CN112052959B (en) | Automatic driving training method, equipment and medium based on federated learning | |
| CN111638536B (en) | Method and apparatus for context aware crowdsourcing sparse high definition maps | |
| CN103649999B (en) | For determining the content-adaptive system of light stream, method and apparatus | |
| US20190202067A1 (en) | Method and device for localizing robot and robot | |
| US9613457B2 (en) | Multi-primitive fitting device and operation method thereof | |
| CN112883427A (en) | Method and device for detecting integrity of file | |
| CN114820749A (en) | Unmanned vehicle underground positioning method, system, equipment and medium | |
| CN113361618A (en) | Industrial data joint modeling method and system based on federal learning | |
| CN111401423B (en) | Data processing method and device for self-driving vehicles | |
| CN107861164A (en) | The method and device of the data processing of three-dimensional GPR, three-dimensional GPR | |
| CN117437288A (en) | Photogrammetry method, device, equipment and storage medium | |
| US9443312B2 (en) | Line parametric object estimation | |
| CN112950246B (en) | Commercial supercommodity positioning system and method | |
| CN108810800A (en) | The localization method of smart machine, control device and smart machine in indoor environment | |
| CN112686155A (en) | Image recognition method, image recognition device, computer-readable storage medium and processor | |
| CN115205386A (en) | Method for marking invisible wheel grounding point and method for predicting vehicle attitude | |
| CN107818537A (en) | Data processing method and device | |
| CN112001357B (en) | Target identification detection method and system | |
| CN104618324A (en) | Method and device for transmitting data and detecting data legality | |
| CN117173692A (en) | 3D target detection methods, electronic equipment, media and driving equipment | |
| CN107690799A (en) | The method, apparatus and server of a kind of data syn-chronization | |
| CN117804423A (en) | A relocation method and device | |
| CN113900976A (en) | DMA connection establishment method in federal learning | |
| US20250142365A1 (en) | Multimode network communication for pool automation system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181113 |