CN115695063B - Method and device for controlling intelligent equipment - Google Patents

Method and device for controlling intelligent equipment Download PDF

Info

Publication number
CN115695063B
CN115695063B CN202110858183.0A CN202110858183A CN115695063B CN 115695063 B CN115695063 B CN 115695063B CN 202110858183 A CN202110858183 A CN 202110858183A CN 115695063 B CN115695063 B CN 115695063B
Authority
CN
China
Prior art keywords
intelligent
intelligent device
uwb
determining
smart
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.)
Active
Application number
CN202110858183.0A
Other languages
Chinese (zh)
Other versions
CN115695063A (en
Inventor
赵玉峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Group Holding Co Ltd
Original Assignee
Hisense Group Holding Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Group Holding Co Ltd filed Critical Hisense Group Holding Co Ltd
Priority to CN202110858183.0A priority Critical patent/CN115695063B/en
Publication of CN115695063A publication Critical patent/CN115695063A/en
Application granted granted Critical
Publication of CN115695063B publication Critical patent/CN115695063B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a method and a device for controlling intelligent equipment, wherein the method comprises the steps that when a first intelligent equipment detects an ultra-wideband communication UWB signal of a second intelligent equipment, position information of the second intelligent equipment is determined through a set position measurement algorithm, whether the position information of the second intelligent equipment is located in a trusted position range is determined, and if yes, a wireless account number and a wireless password are sent to the second intelligent equipment. So, this scheme can make the second smart machine can connect the wireless network at first smart machine place automatically and accurately, and need not to rely on manual operation to accomplish the authentication to the second smart machine, has improved the convenience of smart machine control effectively. Meanwhile, the authentication is carried out through the position information of the second intelligent device, so that the situation that a user outside the home where the second intelligent device is located is connected with a wireless network of the home to control the second intelligent device can be avoided, and the safety of intelligent device control is effectively improved.

Description

Method and device for controlling intelligent equipment
Technical Field
The application relates to the technical field of intelligent home, in particular to a method and a device for controlling intelligent equipment.
Background
Along with the rapid development of intelligent home technology, a plurality of intelligent devices are applied to the daily life of people, in particular to intelligent home devices, and a plurality of convenience is brought to the daily life of people. When a new smart home device is used, network connection between the new smart home device and the smart home control system is generally required to be established, and after the network connection between the new smart home device and the smart home control system is successfully established, the control of the smart home control system on the new smart home device can be realized.
At present, a user is usually required to manually input an account number and a password to connect the new intelligent home equipment with the intelligent home network, and after the new intelligent home equipment is connected with the intelligent home network, the new intelligent home equipment can be loaded into the intelligent home control system after code scanning authentication is passed, so that the control authority of the new intelligent home equipment is managed by the intelligent home system. However, the processing mode depends on manual operation, so that the control of the intelligent household equipment is not fast and convenient, and great inconvenience is brought to a user; on the other hand, the processing mode has the condition that the user outside the family where the intelligent household equipment is located can control the intelligent household equipment through the wireless network of the family connected with the mobile terminal, so that the control of the intelligent household equipment has safety risks.
In view of the foregoing, there is a need for a method for controlling an intelligent device, so as to effectively improve the convenience and safety of controlling the intelligent device.
Disclosure of Invention
The embodiment of the application provides a method and a device for controlling intelligent equipment, which are used for effectively improving the convenience and safety of intelligent equipment control.
In a first aspect, in an exemplary embodiment of the present application, there is provided a method for controlling a smart device, which is applied to a first smart device, where the method includes:
when the ultra-wideband communication UWB signal of the second intelligent equipment is detected, determining the position information of the second intelligent equipment through a set position measurement algorithm; the first intelligent device is a device with an operation function and a UWB function; the second intelligent device is a device with UWB function;
determining whether the location information of the second intelligent device is within a trusted location range;
if yes, the wireless account number and the wireless password are sent to the second intelligent device; the wireless account number and the wireless password are used for indicating the wireless network where the second intelligent device is connected with the first intelligent device.
Among the above-mentioned technical scheme, because prior art scheme relies on manual operation to accomplish the authentication to intelligent house equipment, lead to intelligent house equipment's authentication process to consume longer time, realize not swift convenient to intelligent house equipment's control, and because prior art scheme probably has the condition that the user outside the family where intelligent equipment is located can be through the wireless network of mobile terminal connection this family to control intelligent equipment, lead to intelligent equipment's control to have the security risk. Based on the method, the technical scheme of the invention provides more convenient service for indoor space object positioning in the intelligent home scene by introducing the ultra wideband communication UWB technology, thereby providing support for improving the control convenience and safety of the intelligent equipment. Specifically, when the ultra wide band communication UWB signal of the second intelligent device is detected, the first intelligent device can efficiently and accurately determine the position information of the second intelligent device through a set position measurement algorithm, and based on the position information of the second intelligent device, whether the position information of the second intelligent device is located in a trusted position range can be timely and effectively determined, so that authentication of the second intelligent device can be timely completed, after the second intelligent device is confirmed to have authority to connect with a wireless network where the first intelligent device is located, a wireless account number and a wireless password are sent to the second intelligent device, and therefore the second intelligent device can be automatically and accurately connected with the wireless network where the first intelligent device is located without relying on manual operation to complete authentication of the second intelligent device. In addition, the authentication of the second intelligent device is completed based on the position information of the second intelligent device, so that the situation that a user outside the family where the second intelligent device is located can control the second intelligent device through the mobile terminal connected with the wireless network of the family can be avoided, the safety risk of the control of the second intelligent device can be eliminated, and the safety of the control of the intelligent device can be effectively improved.
In some exemplary embodiments, one UWB antenna is deployed at each of the m location points of the first smart device at a set angle; deploying two UWB antennas at the (m+1) th position point of the first intelligent device; the straight line formed by connecting the two UWB antennas is perpendicular to the plane where the first intelligent equipment is located; the distance between the two UWB antennas is not greater than half a wavelength of the UWB signal; m is an integer greater than or equal to 3;
the determining the location information of the second intelligent device through the set location measurement algorithm comprises the following steps:
determining at least one piece of position information of the second intelligent device through UWB antennas of the m position points;
determining the position direction of the second intelligent device relative to the first intelligent device through the two UWB antennas;
and determining the position information matched with the position direction from the at least one piece of position information, and determining the position information matched with the position direction as the position information of the second intelligent device.
In the technical scheme, the UWB technology has the characteristics of strong anti-interference performance, high transmission rate, low power consumption and the like, so that the UWB technology plays an important role in the field of space positioning, and can realize the accurate positioning of a certain space object with UWB function. According to the scheme, one UWB antenna is deployed at each of m position points of the first intelligent device according to the set angle, and at least one position information of the second intelligent device can be timely and accurately determined according to the basic principle of UWB ranging. Meanwhile, through the two UWB antennas deployed on the (m+1) th position point of the first intelligent device, the position direction of the second intelligent device relative to the first intelligent device can be accurately determined, so that the position information of the second intelligent device can be accurately determined by combining at least one position information and the position direction of the second intelligent device, and the accurate spatial positioning of a UWB signal transmitting source (such as the second intelligent device) is realized.
In some exemplary embodiments, the determining, by the UWB antenna of the m location points, at least one location information of the second smart device includes:
determining m distance information between the second intelligent device and the m position points through a set ranging algorithm;
according to a spherical three-dimensional coordinate formula, constructing spherical equations corresponding to the m position points based on the m distance information and the position coordinates of the m position points; the position coordinates of each position point are obtained through measurement;
and solving spherical equations corresponding to the m position points respectively, and determining at least one position information of the second intelligent device.
According to the technical scheme, according to the basic principle of UWB ranging, namely according to a set ranging algorithm (such as a time-of-flight ranging method and the like), m distance information between m position points and the second intelligent device is determined based on respective flight time of UWB signals transmitted by UWB antennas of the m position points of the first intelligent device and the UWB signals transmitted by UWB antennas of the second intelligent device, and spherical equations corresponding to the m position points can be built according to a spherical three-dimensional coordinate formula, so that at least one position information of the second intelligent device can be accurately determined.
In some exemplary embodiments, the determining, by the two UWB antennas, a location direction of the second smart device relative to the first smart device includes:
determining the incident angles of the second intelligent device relative to the two UWB antennas through a set positioning algorithm;
and determining the position direction of the second intelligent device relative to the first intelligent device based on the incidence angle.
According to the technical scheme, the first intelligent device can timely and accurately determine the incident angle of the second intelligent device relative to the two UWB antennas through the phase difference of the UWB signals transmitted by the UWB antennas of the second intelligent device, so that the position direction of the second intelligent device relative to the first intelligent device can be accurately determined according to the incident angle of the second intelligent device relative to the two UWB antennas, and the support is provided for accurately determining the position information of the second intelligent device.
In some exemplary embodiments, the first smart device is a smart home device in a fixed location, and the trusted location range is a three-dimensional space region in which the first smart device is located; the three-dimensional space region is used for determining whether the second intelligent device is allowed to be connected with a wireless network where the first intelligent device is located.
In the above technical scheme, if the first intelligent device is an intelligent home device at a fixed position, the trusted position range is a three-dimensional space region where the first intelligent device is located, and authentication for the intelligent device entering the three-dimensional space region can be completed through the three-dimensional space region, so that when the second intelligent device is located in the three-dimensional space region, the second intelligent device can be considered as trusted device, and the second intelligent device is allowed to be connected with a wireless network where the first intelligent device is located. If the second intelligent device is determined to be outside the three-dimensional space region, the second intelligent device is considered to be an untrusted device, and the second intelligent device is not allowed to connect to the wireless network where the first intelligent device is located.
In some exemplary embodiments, the three-dimensional spatial region in which the first smart device is located is determined by:
determining the position information of a plurality of mobile position points of a third intelligent device in the space range of the first intelligent device through a set position measurement algorithm; the third intelligent device is a movable device with UWB (ultra Wide band) function;
and constructing a three-dimensional space region where the first intelligent device is located based on the position information of the plurality of mobile position points.
According to the technical scheme, according to the plurality of mobile position points of the movable equipment with the UWB function in the space range where the first intelligent equipment is located, the position information of the plurality of mobile position points can be accurately determined through the set position measurement algorithm. Then, a three-dimensional space region for determining whether to allow the second smart device to connect to the wireless network where the first smart device is located can be constructed according to the position information of the plurality of mobile position points.
In some exemplary embodiments, the first smart device is a mobile terminal that is mobile, and the trusted location range is a range that is no greater than a distance threshold from the mobile terminal; the distance threshold is used for determining whether the second intelligent device is allowed to connect to a wireless network where the first intelligent device is located.
In the above technical solution, if the first intelligent device is a mobile terminal, the trusted location range is a range where the distance between the first intelligent device and the mobile terminal is not greater than a distance threshold, and authentication for a certain intelligent device can be completed through the distance threshold, so that when the distance between the second intelligent device and the mobile terminal is not greater than the distance threshold, the second intelligent device can be considered as a trusted device, and the second intelligent device is allowed to be connected with a wireless network where the first intelligent device is located. And if the distance between the second intelligent device and the mobile terminal is determined to be greater than the distance threshold, the second intelligent device is considered to be an untrusted device, and the second intelligent device is not allowed to be connected with the wireless network where the first intelligent device is located.
In some exemplary embodiments, after the wireless account number and the wireless password are sent to the second smart device, the method further includes:
transmitting a message for determining that the position information of the second intelligent device is located in a trusted position range to an intelligent home control system; the intelligent home control system is used for adding the control right of the second intelligent device to the intelligent home control system.
According to the technical scheme, after the authentication of the second intelligent device is determined to pass, the message that the authentication of the second intelligent device passes is sent to the intelligent home control system, so that the intelligent home control system can timely add the control right of the second intelligent device into the intelligent home control system, management control of the intelligent home control system on the second intelligent device can be achieved, and support can be provided for a user to intelligently control the second intelligent device.
In a second aspect, in an exemplary embodiment of the present application, there is provided an apparatus for controlling a smart device, which is applied to a first smart device, and the apparatus includes:
the determining unit is used for determining the position information of the second intelligent equipment through a set position measurement algorithm when the ultra-wideband communication UWB signal of the second intelligent equipment is detected; the first intelligent device is a device with an operation function and a UWB function; the second intelligent device is a device with UWB function;
The processing unit is used for determining whether the position information of the second intelligent device is located in a trusted position range; if yes, the wireless account number and the wireless password are sent to the second intelligent device; the wireless account number and the wireless password are used for indicating the wireless network where the second intelligent device is connected with the first intelligent device.
In some exemplary embodiments, one UWB antenna is deployed at each of the m location points of the first smart device at a set angle; deploying two UWB antennas at the (m+1) th position point of the first intelligent device; the straight line formed by connecting the two UWB antennas is perpendicular to the plane where the first intelligent equipment is located; the distance between the two UWB antennas is not greater than half a wavelength of the UWB signal; m is an integer greater than or equal to 3;
the determining unit is specifically configured to:
determining at least one piece of position information of the second intelligent device through UWB antennas of the m position points;
determining the position direction of the second intelligent device relative to the first intelligent device through the two UWB antennas;
and determining the position information matched with the position direction from the at least one piece of position information, and determining the position information matched with the position direction as the position information of the second intelligent device.
In some exemplary embodiments, the determining unit is specifically configured to:
determining m distance information between the second intelligent device and the m position points through a set ranging algorithm;
according to a spherical three-dimensional coordinate formula, constructing spherical equations corresponding to the m position points based on the m distance information and the position coordinates of the m position points; the position coordinates of each position point are obtained through measurement;
and solving spherical equations corresponding to the m position points respectively, and determining at least one position information of the second intelligent device.
In some exemplary embodiments, the determining unit is specifically configured to:
determining the incident angles of the second intelligent device relative to the two UWB antennas through a set positioning algorithm;
and determining the position direction of the second intelligent device relative to the first intelligent device based on the incidence angle.
In some exemplary embodiments, the first smart device is a smart home device in a fixed location, and the trusted location range is a three-dimensional space region in which the first smart device is located; the three-dimensional space region is used for determining whether the second intelligent device is allowed to be connected with a wireless network where the first intelligent device is located.
In some exemplary embodiments, the processing unit is specifically configured to:
determining the position information of a plurality of mobile position points of a third intelligent device in the space range of the first intelligent device through a set position measurement algorithm; the third intelligent device is a movable device with UWB (ultra Wide band) function;
and constructing a three-dimensional space region where the first intelligent device is located based on the position information of the plurality of mobile position points.
In some exemplary embodiments, the first smart device is a mobile terminal that is mobile, and the trusted location range is a range that is no greater than a distance threshold from the mobile terminal; the distance threshold is used for determining whether the second intelligent device is allowed to connect to a wireless network where the first intelligent device is located.
In some exemplary embodiments, the processing unit is further configured to:
after the wireless account number and the wireless password are sent to the second intelligent device, sending a message for determining that the position information of the second intelligent device is located in a trusted position range to an intelligent home control system; the intelligent home control system is used for adding the control right of the second intelligent device to the intelligent home control system.
In a third aspect, embodiments of the present application provide a computer program product comprising a computer program or instructions which, when executed by an apparatus for controlling a smart device, implement a method for controlling a smart device as described in any of the first aspects above.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of one possible system architecture provided in some embodiments of the present application;
fig. 2 is a flow chart of a method for controlling a smart device according to some embodiments of the present application;
fig. 3 is a schematic structural diagram of an intelligent dressing mirror according to some embodiments of the present application;
FIG. 4 is a schematic diagram of location information m1 and location information m2 according to some embodiments of the present application;
fig. 5 is a schematic diagram of a three-dimensional space region where an intelligent dressing mirror according to some embodiments of the present application is located;
FIG. 6 is a schematic diagram of a transmitted signal phase angle provided by some embodiments of the present application;
fig. 7 is a schematic structural diagram of an apparatus for controlling a smart device according to some embodiments of the present application;
fig. 8 is a schematic structural diagram of a computing device according to some embodiments of the present application.
Detailed Description
For the purpose of promoting an understanding of the principles and advantages of this application, reference will now be made in detail to the drawings, in which it is apparent that the embodiments described are only some, but not all embodiments of the application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
To facilitate an understanding of the embodiments of the present application, one possible system architecture suitable for use with the embodiments of the present application is first described with reference to the system architecture shown in fig. 1. The possible system architecture may be applied to control of intelligent devices in a home or may also be applied to control of intelligent devices in an office area, which is not limited in this embodiment of the present application. As shown in fig. 1, the system architecture may include a first smart device 100 and a second smart device 200.
The first smart device 100 is a device with data processing capability and UWB (Ultra wide band communication technology) function, for example, may be a housekeeping server, an intelligent dressing mirror, an intelligent television, etc.; the second smart device 200 is a device with built-in UWB functions, for example, may be a smart air conditioner, a smart fan, etc. Wherein the first smart device 100 and the second smart device 200 are different devices, respectively. Illustratively, taking the first intelligent device 100 as an intelligent dressing mirror and the second intelligent device as a new intelligent fan as an example, the home application scenario of the embodiment of the present application will be described. When detecting a UWB signal emitted by a new intelligent fan through a UWB antenna, the intelligent dressing mirror in a household can measure the position information of the intelligent fan through a set position measurement algorithm, determine whether the position information of the intelligent fan is located in a trusted position range, and if the position information of the intelligent fan is located in the trusted position range, send a wireless account number and a wireless password to the intelligent fan so that the intelligent fan can be timely connected with a wireless network where the intelligent dressing mirror is located, and inform the intelligent home control system of the position information of the intelligent fan so that the intelligent home control system adds the control right of the intelligent fan into the intelligent home control system, thereby realizing management control of the intelligent home control system on second intelligent equipment.
It should be noted that the structure shown in fig. 1 is merely an example, and the embodiment of the present application is not limited thereto.
Based on the above description, fig. 2 illustrates an exemplary flow of a method for controlling a smart device according to an embodiment of the present application, where the flow may be executed by an apparatus for controlling a smart device. The method for controlling the smart device may be performed by the first smart device, or may be performed by a chip or a circuit provided in the first smart device. The following describes an example of a method for controlling the smart device performed by the first smart device.
As shown in fig. 2, the process specifically includes:
in step 201, when the first intelligent device detects an ultra wideband communication UWB signal of the second intelligent device, the first intelligent device determines the position information of the second intelligent device through a set position measurement algorithm.
In this embodiment of the present application, the first intelligent device is a device having an operation function and a UWB function, and the second intelligent device is a device having a UWB function. Illustratively, the first intelligent device may be a smart phone, a tablet computer, a smart television, a smart refrigerator, a smart air conditioner, a smart dressing mirror or other devices with certain operation capability (or data processing capability) and supporting UWB functions; the second intelligent device can be a device supporting UWB functions, such as an intelligent television, an intelligent refrigerator, an intelligent air conditioner, an intelligent curtain, an intelligent fan, an intelligent sound box, an intelligent dressing mirror, an intelligent mobile phone, a tablet personal computer or an intelligent bracelet. When the first intelligent device detects a UWB signal transmitted by the second intelligent device through the UWB antenna, the position information of the second intelligent device can be determined through a set position measurement algorithm. Specifically, the UWB technology is an ultra wide band communication technology, and uses non-sinusoidal narrow pulses of nanosecond to microsecond order to transmit data, which has the characteristics of strong anti-interference performance, high transmission rate, low power consumption, and the like, so that the UWB technology can play an important role in the field of spatial positioning, and can accurately position a certain spatial object with UWB function, so that based on the characteristics of the UWB technology, the UWB technology is gradually applied to spatial positioning of smart home scenes, so as to provide more convenient service for indoor spatial object positioning of smart home scenes (such as positioning of smart home devices).
If the first intelligent device is an intelligent home device at a fixed position, the trusted position range is a three-dimensional space region where the first intelligent device is located. The intelligent household equipment at the fixed position can comprise equipment such as an intelligent television, an intelligent refrigerator, an intelligent air conditioner or an intelligent dressing mirror; the three-dimensional space region is used for determining whether to allow the second intelligent device to connect to the wireless network where the first intelligent device is located. Thus, authentication of the intelligent device entering the three-dimensional space region can be completed through the three-dimensional space region, and when the second intelligent device is located in the three-dimensional space region, the second intelligent device can be considered as a trusted device, and the second intelligent device is allowed to be connected with a wireless network where the first intelligent device is located. If the second intelligent device is determined to be outside the three-dimensional space region, the second intelligent device is considered to be an untrusted device, and the second intelligent device is not allowed to connect to the wireless network where the first intelligent device is located. When the first intelligent device is an intelligent home device, firstly, one UWB antenna is respectively deployed at m position points of the first intelligent device according to a set angle, and two UWB antennas are deployed at the (m+1) th position point of the first intelligent device. Wherein the distance between the two UWB antennas is no greater than half a wavelength of the UWB signal. Then, through UWB antennas of m position points, and according to UWB ranging basic principles, at least one position information of the second intelligent device can be accurately determined. Meanwhile, through two UWB antennas deployed on the (m+1) th position point of the first intelligent device, a straight line formed by connecting the two UWB antennas is perpendicular to a plane where the first intelligent device is located, for example, the first intelligent device is taken as an intelligent television, two UWB antennas are deployed on the (m+1) th position point on the intelligent television, the straight line formed by connecting the two UWB antennas is perpendicular to the plane where the intelligent television is located (namely, the screen surface of the intelligent television), and the like, based on an AOA (Angle of Arrival) positioning algorithm and the like, the position direction of the second intelligent device relative to the first intelligent device can be accurately determined through the two UWB antennas, so that the position information matched with the position direction can be determined from at least one position information of the second intelligent device, and the position information matched with the position direction is determined as the position information of the second intelligent device, and therefore accurate space positioning of the second intelligent device is achieved. Wherein m is an integer of 3 or more.
The basic principle Of UWB ranging is divided into TOF (Time Of Flight)Ranging) or TW-TOF (Two-Way Time Of Flight) or the like. The TOF ranging algorithm mainly uses the time of flight of signals between two asynchronous transceivers (transceivers) to measure the distance between nodes. For example, the time interval between the data packet sent by the sending end and the response received by the receiving end is denoted as TTOT, and the time interval between the data packet received by the receiving end and the response sent by the receiving end is denoted as TTAT, so that the data packet unidirectionally flies in the airThen, according to the time of unidirectional flight TTOF and the propagation speed of electromagnetic waves, the distance d=c×ttof between the two points can be calculated. Wherein, C is the speed of light. Each module in the TW-TOF ranging algorithm generates an independent time stamp from start-up. The transmitter of the module a transmits a pulse signal of a request property at Ta1 on its timestamp, which is received by the module B at its own timestamp Tb1, after which the module B waits for a response moment, transmits a signal of a response property to the module a at Tb2, which is received by the module a at its own timestamp Ta 2. Thus, the flight time of the pulse signal between the two modules can be calculated to determine the flight distance S between the two modules, i.e. S=C× [ (Ta 2-Ta 1) - (Tb 2-Tb 1) ]. Wherein, C is the speed of light.
An example, taking a first intelligent device as an intelligent dressing mirror as an example, as shown in fig. 3, is a schematic structural diagram of the intelligent dressing mirror provided in the embodiment of the present application. According to a certain angle, each of 3 position points on the intelligent dressing mirror is provided with one UWB antenna, meanwhile, the 4 th position point is provided with two UWB antennas, a straight line formed by connecting the two UWB antennas is perpendicular to the mirror surface of the intelligent dressing mirror, the distance between the two UWB antennas is not more than half wavelength of UWB signals, for example, each of three position points A, B, C is provided with one UWB antenna, the two UWB antennas are arranged at the position point D based on the thickness of the intelligent dressing mirror, the straight line formed by connecting the two UWB antennas is perpendicular to the mirror surface of the intelligent dressing mirror, and the distance between the two UWB antennas is not more than half wavelength of UWB signals. Then, UWB days through A, B, C three-position pointsLine and determining at least one location information of a second smart device (such as a smart air conditioner) such as location information m1 (x) as shown in fig. 4 based on the basic principle of UWB ranging 1 ,y 1 ,z 1 )、m2(x 2 ,y 2 ,z 2 ). The position information m1 and the position information m2 are two position coordinate points with opposite vector directions, and the vector direction of the position information m1 and the vector direction of the position information m2 are parallel to the z coordinate direction, that is, the two position information are respectively located at mirror positions on two sides of the intelligent dressing mirror. Meanwhile, the position direction of the second intelligent device relative to the intelligent dressing mirror can be determined through the two UWB antennas arranged at the position point D, and if the position direction of the second intelligent device relative to the intelligent dressing mirror is the direction opposite to the mirror surface of the intelligent dressing mirror, the position information m1 matched with the position direction (the direction opposite to the mirror surface of the intelligent dressing mirror) can be determined from the two position information m1 and m2, and the position information m1 is determined as the position information of the second intelligent device.
When determining at least one piece of position information of the second intelligent device, the first intelligent device can determine m pieces of distance information between the second intelligent device and m position points through a set ranging algorithm, and can construct spherical equations corresponding to the m position points according to a spherical three-dimensional coordinate formula based on the m pieces of distance information and respective position coordinates of the m position points. Wherein the position coordinates of each position point are also obtained by measurement. And then solving spherical equations corresponding to the m position points respectively, so that at least one position information of the second intelligent device can be accurately determined.
For example, taking the first intelligent device as an intelligent dressing mirror, for example, disposing one UWB antenna at each of the A, B, C three position points of the intelligent dressing mirror, taking the lower left corner of the intelligent dressing mirror as the origin of three-dimensional coordinates, setting the coordinates of the mirror surface perpendicular to the intelligent dressing mirror as the z-coordinate, taking the left and right of the mirror surface of the intelligent dressing mirror as the x-coordinate, and taking the vertical direction of the mirror surface of the intelligent dressing mirror as the y-coordinate, so that the coordinates of the position point a can be obtained by measurement as (x A ,y A 0), the coordinates of the position point B are (x) B ,y B 0), the coordinates of the position point C are (x C ,y C ,0). For example, as shown in fig. 5, in a schematic diagram of a three-dimensional space region where an intelligent dressing mirror provided in an embodiment of the present application is located, when a second intelligent device (such as a smart phone supporting UWB functions) is located at a certain position in the three-dimensional space region, when the intelligent dressing mirror detects a UWB signal emitted by the smart phone through a UWB antenna, distance information of three A, B, C position points of the smart phone and the intelligent dressing mirror, that is, r, can be determined through a ranging algorithm such as TOF or TW-TOF A 、r B And r C . Then, according to the spherical three-dimensional coordinate formula (x-a) 2 +(y-b) 2 +(z-c) 2 =r 2 A spherical equation corresponding to each of the three A, B, C position points, namely, (x-x) A ) 2 +(y-y A ) 2 +(z-0) 2 =r A 2 、(x-x B ) 2 +(y-y B ) 2 +(z-0) 2 =r B 2 And (x-x) C ) 2 +(y-y C ) 2 +(z-0) 2 =r C 2 . Then, the three spherical equations are solved in a joint manner, so that at least one coordinate position of the smart phone can be solved, and the smart phone is assumed to be represented by M, such as M1 (x M1 ,y M1 ,z M1 ) And M2 (x) M2 ,y M2 ,z M2 ). The coordinate position M1 and the coordinate position M2 are two position coordinate points with opposite vector directions, namely, mirror positions of the two coordinate positions on two sides of the intelligent dressing mirror respectively.
It should be noted that, the positions of the two UWB antennas of the above position point D are variable, only the straight line formed by connecting the two UWB antennas needs to be guaranteed to be parallel to the z coordinate direction, and the three position points A, B, C are also variable, only a certain distance between the three position points needs to be guaranteed, and the calculation of the position of the coordinate point with a larger distance is more accurate, so that the coordinate position of the second intelligent device can be accurately measured. Of course, it is also possible to calculate by adding other position points than the m position points to compose a plurality of equation sets And each piece of position information in the at least one piece of position information of the second intelligent device is averaged to determine the at least one piece of position information of the second intelligent device, so that the measured at least one piece of position information of the second intelligent device can be more accurate. For example, taking the second smart device as a smart phone as an example, measuring a plurality of coordinate positions M1 and a plurality of coordinate positions M2 of the smart phone based on a plurality of equation sets, and then performing average calculation on the plurality of coordinate positions M1 to determine an average coordinate position M 1 ' simultaneously, the average calculation is carried out on a plurality of coordinate positions M2, and an average coordinate position M is determined 2 '. Finally, the coordinate position M 1 ' and coordinate position M 2 ' as two location information for a smart phone.
When the position direction of the second intelligent device relative to the first intelligent device is determined, the first intelligent device can determine the incident angle of the second intelligent device relative to the two UWB antennas through a set positioning algorithm, namely, the incident angle of the second intelligent device relative to the two UWB antennas can be timely and accurately determined through the phase difference of UWB signals emitted by the UWB antennas of the second intelligent device, and based on the incident angle, the position direction of the second intelligent device relative to the first intelligent device can be accurately determined, so that support is provided for accurately determining the position information of the second intelligent device.
For example, the first smart device is taken as an example of a smart dressing mirror, for example, two UWB antennas are deployed at a position point D of the smart dressing mirror, a straight line formed by connecting the two UWB antennas is parallel to the z coordinate direction, and a distance between the two UWB antennas is not greater than half a wavelength of the UWB signal, and the second smart device is taken as an example of a smart phone located at a certain position in the three-dimensional space region. The incident angles of the smart phone relative to the two UWB antennas can be measured through an AOA positioning algorithm and the like, and the position direction of the smart phone relative to the smart dressing mirror can be accurately determined according to the incident angles, for example, the smart phone is positioned in the right direction of the smart dressing mirror.
The AOA positioning algorithm is to measure an incident angle through a phase difference of UWB signals sent by UWB signal sending sources (such as smart phones) received by two antennas. For example, as shown in fig. 6, a schematic diagram of a phase angle of a transmission signal is provided in an embodiment of the present application. The UWB signals sent by the same signal transmitting source are received through the UWB antenna 1 and the UWB antenna 2, and the UWB signals received by the UWB antenna 1 and the UWB antenna 2 are asynchronous, so that the phase difference of the signals reaching the UWB antenna 1 and the UWB antenna 2 can be determined through mathematical operation, and the incident angle alpha of the signal transmitting source relative to the UWB antenna 1 and the UWB antenna 2 can be calculated by combining the distance between the UWB antenna 1 and the UWB antenna 2. Then, according to the incident angle alpha, the position direction of the signal emitting source relative to the UWB antenna 1 and the UWB antenna 2 can be determined. Wherein, the distance between UWB antenna 1 and UWB antenna 2 is less than or equal to half wavelength of UWB signal.
In addition, the three-dimensional space region where the first smart device is located may be determined by: the first intelligent device determines the position information of a plurality of mobile position points of the third intelligent device in the space range of the first intelligent device through a set position measurement algorithm; the third smart device is a UWB enabled mobile device. And then, based on the position information of the plurality of mobile position points, a three-dimensional space region where the first intelligent device is located can be constructed.
By way of example, continuing taking the three-dimensional space region where the intelligent dressing mirror shown in fig. 5 is located as an example, and assuming that the first intelligent device is the intelligent dressing mirror, and the third intelligent device is a smart phone with UWB function, when the three-dimensional space region where the intelligent dressing mirror is located is constructed, the smart phone can be respectively placed in eight corners of the three-dimensional space region, and for each corner, the intelligent dressing mirror determines the position information of the smart phone in the corner through a set position measurement algorithm, so that the position information of the smart phone in the eight corners can be measured, and the three-dimensional space region where the intelligent dressing mirror is located can be constructed according to the position information of the smart phone in the eight corners. Or, the smart phone may be placed at four corners of the three-dimensional space region with symmetrical oblique angles, or may be placed at four different spatial position points of the three-dimensional space region, which are not in the same plane, so that a three-dimensional space region where the smart dressing mirror is located may be constructed, which is not limited in this embodiment of the present application.
If the first smart device is a mobile terminal that is mobile, the trusted location range is a range that is no greater than a distance threshold from the mobile terminal. The mobile terminal can comprise a mobile terminal such as a smart phone, a smart bracelet or a tablet personal computer; the distance threshold is used to determine whether to allow the second smart device to connect to the wireless network in which the first smart device is located. Thus, authentication for a certain intelligent device can be completed through the distance threshold, and when the distance between the second intelligent device and the mobile terminal is not greater than the distance threshold, the second intelligent device can be considered as a trusted device, and the second intelligent device is allowed to be connected with a wireless network where the first intelligent device is located. And if the distance between the second intelligent device and the mobile terminal is determined to be greater than the distance threshold, the second intelligent device is considered to be an untrusted device, and the second intelligent device is not allowed to be connected with the wireless network where the first intelligent device is located. When the first intelligent device is a movable mobile terminal, the movable mobile terminal is close to a second intelligent device with a built-in UWB function by utilizing the safety and accuracy characteristics of UWB measurement distance, the distance information between the movable mobile terminal and the second intelligent device can be accurately determined according to the basic principle of UWB ranging, and then the movable mobile terminal determines whether the distance information between the movable mobile terminal and the second intelligent device is positioned in a trusted position range or not, namely, the movable mobile terminal judges whether the distance between the movable mobile terminal and the second intelligent device is smaller than or equal to a distance threshold. If the distance between the movable mobile terminal and the second intelligent device is smaller than or equal to the distance threshold, the movable mobile terminal confirms that the second intelligent device is a trusted device and sends the wireless account number and the wireless password to the second intelligent device, so that the second intelligent device can be connected with a wireless network where the first intelligent device is located in time. If the distance between the movable mobile terminal and the second intelligent device is greater than the distance threshold, the movable mobile terminal confirms that the second intelligent device is not a trusted device, and the wireless account number and the wireless password are not sent to the second intelligent device. The distance threshold may be set according to an experience value of a person skilled in the art, or according to an experimental result obtained by multiple experiments, or according to an actual application scenario, which is not limited in the embodiment of the present application.
The mobile terminal is taken as a smart phone, the second smart device is taken as a smart phone as an example for description, the smart phone is close to the smart television under the assumption that the distance threshold is 20cm, the smart phone measures the distance between the smart phone and the smart television through a ranging algorithm such as TOF or TW-TOF, for example, the measured distance between the smart phone and the smart television is 15cm, and therefore, the distance between the smart phone and the smart television can be determined to be smaller than the distance threshold, the smart television can be confirmed to be a trusted device, and a WIreless Fidelity (WiFi) network name and a WIreless WiFi password can be sent to the smart television, so that the smart television can be timely connected with a WIreless WiFi network where the smart phone is located. Or, for example, the measured distance between the smart phone and the smart television is 25cm, so that the distance between the smart phone and the smart television can be determined to be larger than the distance threshold, and therefore the smart television can be confirmed to be an untrustworthy device, and the wireless WiFi name and the wireless WiFi password cannot be sent to the smart television.
In step 202, the first smart device determines whether the location information of the second smart device is within a trusted location range.
In this embodiment of the present application, if the first smart device is a smart home device located at a fixed position, the trusted location range is a three-dimensional space area where the first smart device is located. Therefore, after the intelligent home equipment at the fixed position measures the position information of the second intelligent equipment through the set position measurement algorithm, whether the position information of the second intelligent equipment is positioned in a trusted position range or not can be determined, namely whether the position information of the second intelligent equipment is positioned in a three-dimensional space area where the first intelligent equipment is positioned or not is judged. For example, continuing to take the first intelligent device as an intelligent dressing mirror for an example, assuming that the second intelligent device is an intelligent air conditioner, when the intelligent dressing mirror detects a UWB signal emitted by the intelligent air conditioner through a UWB antenna, distance information of three position points A, B, C of the intelligent air conditioner and the intelligent dressing mirror can be determined through ranging algorithms such as TOF or TW-TOF, and at least one position information of the intelligent air conditioner is determined according to a spherical three-dimensional coordinate formula. And determining the position direction of the intelligent air conditioner relative to the intelligent dressing mirror through two UWB antennas of the position point D of the intelligent dressing mirror. Then, location information matching the location direction may be determined from at least one location information of the intelligent air conditioner. And finally, judging whether the position information of the intelligent air conditioner is positioned in the three-dimensional space area where the intelligent dressing mirror is positioned. Or, if a user needs to connect to a home wireless network when visiting a home where the smart dressing mirror is located, the smart dressing mirror can measure the position information of the smart phone with UWB function carried by the user through a set position measurement algorithm, and confirm that the smart phone of the user is a trusted device when determining that the position information of the smart phone is located in a three-dimensional space area where the smart dressing mirror is located, and send a wireless WiFi name and a wireless WiFi password of the home wireless network to the smart phone, so that the smart phone is connected to the home wireless network where the smart dressing mirror is located. Then, after the user leaves the home where the intelligent dressing mirror is located, the control authority of the user on the intelligent home equipment in the home where the intelligent dressing mirror is located is cancelled immediately.
If the first smart device is a mobile terminal that is mobile, the trusted location range is a range that is no greater than a distance threshold from the mobile terminal. Therefore, after the movable mobile terminal measures the position information of the second intelligent device through the set position measurement algorithm, whether the position information of the second intelligent device is located in a trusted position range or not can be determined, namely whether the distance between the second intelligent device and the movable mobile terminal is smaller than or equal to a distance threshold value is judged. In the exemplary embodiment, the mobile terminal is taken as an example of a smart phone, and the second smart device is assumed to be a smart refrigerator, and when the smart phone detects a UWB signal transmitted by the smart refrigerator through a UWB antenna, a distance between the smart refrigerator and the smart phone can be determined through a ranging algorithm such as a TOF or TW-TOF. And then judging whether the distance between the intelligent refrigerator and the intelligent mobile phone is smaller than or equal to a distance threshold value.
It should be noted that, the technical scheme in this application can also realize carrying out the accurate positioning to the little smart machine (such as intelligent bracelet, intelligent remote controller, smart mobile phone etc.) of built-in UWB function in the family, namely, can measure the three-dimensional coordinate position of these little smart machine accurately, for example, when the user forgets little smart machine such as smart mobile phone or intelligent remote controller and puts where, the user can inquire out the concrete position that a certain little smart machine is located through intelligent dressing mirror etc. first smart machine. Or, the intelligent mobile phone carried by the user can also be used for realizing accurate tracking of the position of the human body, and the intelligent lamp, the intelligent air conditioner, the air outlet degree, the intelligent television, the intelligent sound box and the like in the household can be controlled individually through the accurate tracking of the position of the human body.
And 203, if the first intelligent device determines that the position information of the second intelligent device is located in the trusted position range, transmitting a wireless account number and a wireless password to the second intelligent device.
In this embodiment of the present application, if the first smart device is a smart home device located at a fixed position, the trusted location range is a three-dimensional space area where the first smart device is located. If the intelligent home equipment at the fixed position determines that the position information of the second intelligent equipment is located in the three-dimensional space area where the first intelligent equipment is located, the second intelligent equipment is confirmed to be trusted equipment, and the wireless account number and the wireless password are sent to the second intelligent equipment, so that the second intelligent equipment can be timely connected with a wireless network where the intelligent home equipment at the fixed position is located, meanwhile, the intelligent home equipment at the fixed position can also send a message that the position information of the second intelligent equipment is located in the three-dimensional space area where the first intelligent equipment is located to the intelligent home control system, so that the intelligent home control system can timely add the control right of the second intelligent equipment into the intelligent home control system, and therefore management control of the second intelligent equipment by the intelligent home control system can be achieved, and support can be provided for users to intelligently control the second intelligent equipment. If the intelligent home equipment at the fixed position determines that the position information of the second intelligent equipment is not located in the three-dimensional space area where the first intelligent equipment is located, the second intelligent equipment is confirmed to be an untrusted equipment, and the wireless account number and the wireless password are not sent to the second intelligent equipment.
Illustratively, the description will be continued taking the first intelligent device as an example of the intelligent dressing mirror, assuming that the second intelligent device is an intelligent air conditioner. If the intelligent dressing mirror judges that the position information of the intelligent air conditioner is located in the three-dimensional space area where the intelligent dressing mirror is located, the intelligent air conditioner can be confirmed to be trusted equipment, and the wireless WiFi name and the wireless WiFi password are sent to the intelligent air conditioner, so that the intelligent air conditioner can be timely connected with the wireless WiFi network where the intelligent dressing mirror is located, and meanwhile, the intelligent dressing mirror can send the information of the trusted equipment of the intelligent air conditioner to the intelligent home control system, so that the intelligent home control system can timely add the control right of the intelligent air conditioner to the intelligent home control system. If the intelligent dressing mirror judges that the position information of the intelligent air conditioner is not located in the three-dimensional space area where the intelligent dressing mirror is located, the intelligent air conditioner can be confirmed to be an untrusted device, and the wireless WiFi name and the wireless WiFi password are not sent to the intelligent air conditioner.
If the first smart device is a mobile terminal that is mobile, the trusted location range is a range that is no greater than a distance threshold from the mobile terminal. If the movable mobile terminal determines that the distance between the second intelligent device and the movable mobile terminal is smaller than or equal to the distance threshold, the second intelligent device is confirmed to be a trusted device, and the wireless account number and the wireless password are sent to the second intelligent device, so that the second intelligent device can be timely connected with a wireless network where the intelligent home device located at the fixed position is located, meanwhile, the movable mobile terminal can also send a message that the distance between the second intelligent device and the movable mobile terminal is smaller than or equal to the distance threshold to the intelligent home control system, so that the intelligent home control system can timely add the control right of the second intelligent device into the intelligent home control system, management control of the second intelligent device by the intelligent home control system can be achieved, and support can be provided for a user to intelligently control the second intelligent device. If the movable mobile terminal determines that the distance between the second intelligent device and the movable mobile terminal is greater than the distance threshold, the second intelligent device is confirmed to be an untrusted device, and the wireless account number and the wireless password are not sent to the second intelligent device.
Illustratively, the description will be continued taking the mobile terminal as an example of a smart phone, assuming that the second smart device is a smart refrigerator. If the smart phone judges that the distance between the smart refrigerator and the smart phone is smaller than or equal to the distance threshold, the smart refrigerator is confirmed to be a trusted device, the wireless WiFi name and the wireless WiFi password are sent to the smart refrigerator, so that the smart refrigerator can be timely connected with a wireless WiFi network where the smart dressing mirror is located, and meanwhile, the smart phone can send a message of the trusted device of the smart refrigerator to the smart home control system, so that the smart home control system can timely add the control right of the smart refrigerator to the smart home control system. If the smart phone judges that the distance between the smart refrigerator and the smart phone is greater than the distance threshold, the smart refrigerator is confirmed to be an untrustworthy device, and the wireless WiFi name and the wireless WiFi password are not sent to the smart refrigerator.
The above embodiment shows that, because the authentication of the smart home device is completed by means of manual operation in the prior art, the authentication process of the smart home device needs to consume a long time, the control of the smart home device is not fast and convenient, and because the prior art may have the condition that a user outside the home where the smart device is located can control the smart device through the wireless network of the home connected by the mobile terminal, the control of the smart device has a security risk. Based on the method, the technical scheme of the invention provides more convenient service for indoor space object positioning in the intelligent home scene by introducing the ultra wideband communication UWB technology, thereby providing support for improving the control convenience and safety of the intelligent equipment. Specifically, when the ultra wide band communication UWB signal of the second intelligent device is detected, the first intelligent device can efficiently and accurately determine the position information of the second intelligent device through a set position measurement algorithm, and based on the position information of the second intelligent device, whether the position information of the second intelligent device is located in a trusted position range can be timely and effectively determined, so that authentication of the second intelligent device can be timely completed, after the second intelligent device is confirmed to have authority to connect with a wireless network where the first intelligent device is located, a wireless account number and a wireless password are sent to the second intelligent device, and therefore the second intelligent device can be automatically and accurately connected with the wireless network where the first intelligent device is located without relying on manual operation to complete authentication of the second intelligent device. In addition, the authentication of the second intelligent device is completed based on the position information of the second intelligent device, so that the situation that a user outside the family where the second intelligent device is located can control the second intelligent device through the mobile terminal connected with the wireless network of the family can be avoided, the safety risk of the control of the second intelligent device can be eliminated, and the safety of the control of the intelligent device can be effectively improved.
Based on the same technical concept, fig. 7 illustrates an apparatus for controlling a smart device, which may perform a flow of a method for controlling a smart device. The device for controlling the intelligent device may be a first intelligent device, or may be a chip or a circuit disposed in the first intelligent device.
As shown in fig. 7, the apparatus includes:
a determining unit 701, configured to determine, when an ultra wideband communication UWB signal of a second intelligent device is detected, location information of the second intelligent device through a set location measurement algorithm; the first intelligent device is a device with an operation function and a UWB function; the second intelligent device is a device with UWB function;
a processing unit 702, configured to determine whether the location information of the second smart device is within a trusted location range; if yes, the wireless account number and the wireless password are sent to the second intelligent device; the wireless account number and the wireless password are used for indicating the wireless network where the second intelligent device is connected with the first intelligent device.
In some exemplary embodiments, one UWB antenna is deployed at each of the m location points of the first smart device at a set angle; deploying two UWB antennas at the (m+1) th position point of the first intelligent device; the straight line formed by connecting the two UWB antennas is perpendicular to the plane where the first intelligent equipment is located; the distance between the two UWB antennas is not greater than half a wavelength of the UWB signal; m is an integer greater than or equal to 3;
The determining unit 701 is specifically configured to:
determining at least one piece of position information of the second intelligent device through UWB antennas of the m position points;
determining the position direction of the second intelligent device relative to the first intelligent device through the two UWB antennas;
and determining the position information matched with the position direction from the at least one piece of position information, and determining the position information matched with the position direction as the position information of the second intelligent device.
In some exemplary embodiments, the determining unit 701 is specifically configured to:
determining m distance information between the second intelligent device and the m position points through a set ranging algorithm;
according to a spherical three-dimensional coordinate formula, constructing spherical equations corresponding to the m position points based on the m distance information and the position coordinates of the m position points; the position coordinates of each position point are obtained through measurement;
and solving spherical equations corresponding to the m position points respectively, and determining at least one position information of the second intelligent device.
In some exemplary embodiments, the determining unit 701 is specifically configured to:
Determining the incident angles of the second intelligent device relative to the two UWB antennas through a set positioning algorithm;
and determining the position direction of the second intelligent device relative to the first intelligent device based on the incidence angle.
In some exemplary embodiments, the first smart device is a smart home device in a fixed location, and the trusted location range is a three-dimensional space region in which the first smart device is located; the three-dimensional space region is used for determining whether the second intelligent device is allowed to be connected with a wireless network where the first intelligent device is located.
In some exemplary embodiments, the processing unit 702 is specifically configured to:
determining the position information of a plurality of mobile position points of a third intelligent device in the space range of the first intelligent device through a set position measurement algorithm; the third intelligent device is a movable device with UWB (ultra Wide band) function;
and constructing a three-dimensional space region where the first intelligent device is located based on the position information of the plurality of mobile position points.
In some exemplary embodiments, the first smart device is a mobile terminal that is mobile, and the trusted location range is a range that is no greater than a distance threshold from the mobile terminal; the distance threshold is used for determining whether the second intelligent device is allowed to connect to a wireless network where the first intelligent device is located.
In some exemplary embodiments, the processing unit 702 is further configured to:
after the wireless account number and the wireless password are sent to the second intelligent device, sending a message for determining that the position information of the second intelligent device is located in a trusted position range to an intelligent home control system; the intelligent home control system is used for adding the control right of the second intelligent device to the intelligent home control system.
Based on the same technical concept, the embodiment of the present application further provides a computing device, as shown in fig. 8, including at least one processor 801 and a memory 802 connected to the at least one processor, where a specific connection medium between the processor 801 and the memory 802 is not limited in the embodiment of the present application, and in fig. 8, the processor 801 and the memory 802 are connected by a bus, for example. The buses may be divided into address buses, data buses, control buses, etc.
In the embodiment of the present application, the memory 802 stores instructions executable by the at least one processor 801, and the at least one processor 801 may perform the steps included in the foregoing method for controlling a smart device by executing the instructions stored in the memory 802.
Where the processor 801 is a control center of a computing device, various interfaces and lines may be used to connect various portions of the computing device, through execution or execution of instructions stored in the memory 802, and invocation of data stored in the memory 802, to effect data processing. Alternatively, the processor 801 may include one or more processing units, and the processor 801 may integrate an application processor and a modem processor, wherein the application processor primarily processes operating systems, user interfaces, application programs, etc., and the modem processor primarily processes issuing instructions. It will be appreciated that the modem processor described above may not be integrated into the processor 801. In some embodiments, processor 801 and memory 802 may be implemented on the same chip, or they may be implemented separately on separate chips in some embodiments.
The processor 801 may be a general purpose processor such as a Central Processing Unit (CPU), digital signal processor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, and may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with controlling a method embodiment of a smart device may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor.
Memory 802, as a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 802 may include at least one type of storage medium, which may include, for example, flash Memory, hard disk, multimedia card, card Memory, random access Memory (Random Access Memory, RAM), static random access Memory (Static Random Access Memory, SRAM), programmable Read-Only Memory (Programmable Read Only Memory, PROM), read-Only Memory (ROM), charged erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory), magnetic Memory, magnetic disk, optical disk, and the like. Memory 802 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 802 in the embodiments of the present application may also be circuitry or any other device capable of implementing a memory function for storing program instructions and/or data.
Based on the same technical idea, the embodiments of the present application further provide a computer readable storage medium storing a computer program executable by a computing device, which when run on the computing device, causes the computing device to perform the steps of the above-described method of controlling a smart device.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (9)

1. A method of controlling a smart device, applied to a first smart device, the method comprising:
when the ultra-wideband communication UWB signal of the second intelligent equipment is detected, determining the position information of the second intelligent equipment through a set position measurement algorithm; the first intelligent device is a device with an operation function and a UWB function; the second intelligent device is a device with UWB function;
determining whether the location information of the second intelligent device is within a trusted location range;
if yes, the wireless account number and the wireless password are sent to the second intelligent device; the wireless account number and the wireless password are used for indicating a wireless network where the second intelligent device is connected with the first intelligent device;
respectively deploying UWB antennas at m position points of the first intelligent equipment according to the set angle; deploying two UWB antennas at the (m+1) th position point of the first intelligent device; the straight line formed by connecting the two UWB antennas is perpendicular to the plane where the first intelligent equipment is located, and the plane is the plane where the m position points are located; the distance between the two UWB antennas is not greater than half a wavelength of the UWB signal; m is an integer greater than or equal to 3;
The determining the location information of the second intelligent device through the set location measurement algorithm comprises the following steps:
determining at least one piece of position information of the second intelligent device through UWB antennas of the m position points;
determining the position direction of the second intelligent device relative to the first intelligent device through the two UWB antennas;
and determining the position information matched with the position direction from the at least one piece of position information, and determining the position information matched with the position direction as the position information of the second intelligent device.
2. The method of claim 1, wherein said determining at least one location information of said second smart device by UWB antennas of said m location points comprises:
determining m distance information between the second intelligent device and the m position points through a set ranging algorithm;
according to a spherical three-dimensional coordinate formula, constructing spherical equations corresponding to the m position points based on the m distance information and the position coordinates of the m position points; the position coordinates of each position point are obtained through measurement;
and solving spherical equations corresponding to the m position points respectively, and determining at least one position information of the second intelligent device.
3. The method of claim 1, wherein said determining, by said two UWB antennas, a location direction in which said second smart device is located relative to said first smart device comprises:
determining the incident angles of the second intelligent device relative to the two UWB antennas through a set positioning algorithm;
and determining the position direction of the second intelligent device relative to the first intelligent device based on the incidence angle.
4. The method of claim 1, wherein the first smart device is a smart home device in a fixed location, and the trusted location range is a three-dimensional spatial region in which the first smart device is located; the three-dimensional space region is used for determining whether the second intelligent device is allowed to be connected with a wireless network where the first intelligent device is located.
5. The method of claim 4, wherein the three-dimensional spatial region in which the first smart device is located is determined by:
determining the position information of a plurality of mobile position points of a third intelligent device in the space range of the first intelligent device through a set position measurement algorithm; the third intelligent device is a movable device with UWB (ultra Wide band) function;
And constructing a three-dimensional space region where the first intelligent device is located based on the position information of the plurality of mobile position points.
6. The method of claim 1, wherein the first smart device is a mobile terminal that is mobile, and the trusted location range is a range that is no greater than a distance threshold from the mobile terminal; the distance threshold is used for determining whether the second intelligent device is allowed to connect to a wireless network where the first intelligent device is located.
7. The method of any of claims 1 to 6, further comprising, after transmitting the wireless account number and the wireless password to the second smart device:
transmitting a message for determining that the position information of the second intelligent device is located in a trusted position range to an intelligent home control system; the intelligent home control system is used for adding the control right of the second intelligent device to the intelligent home control system.
8. An apparatus for controlling a smart device, applied to a first smart device, the apparatus comprising:
the determining unit is used for determining the position information of the second intelligent equipment through a set position measurement algorithm when the ultra-wideband communication UWB signal of the second intelligent equipment is detected; the first intelligent device is a device with an operation function and a UWB function; the second intelligent device is a device with UWB function;
The processing unit is used for determining whether the position information of the second intelligent device is located in a trusted position range; if yes, the wireless account number and the wireless password are sent to the second intelligent device; the wireless account number and the wireless password are used for indicating a wireless network where the second intelligent device is connected with the first intelligent device;
respectively deploying UWB antennas at m position points of the first intelligent equipment according to the set angle; deploying two UWB antennas at the (m+1) th position point of the first intelligent device; the straight line formed by connecting the two UWB antennas is perpendicular to the plane where the first intelligent equipment is located, and the plane is the plane where the m position points are located; the distance between the two UWB antennas is not greater than half a wavelength of the UWB signal; m is an integer greater than or equal to 3;
the determining unit is specifically configured to:
determining at least one piece of position information of the second intelligent device through UWB antennas of the m position points;
determining the position direction of the second intelligent device relative to the first intelligent device through the two UWB antennas;
and determining the position information matched with the position direction from the at least one piece of position information, and determining the position information matched with the position direction as the position information of the second intelligent device.
9. A computer program product comprising a computer program or instructions which, when executed by means controlling a smart device, implement the method of any one of claims 1 to 7.
CN202110858183.0A 2021-07-28 2021-07-28 Method and device for controlling intelligent equipment Active CN115695063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110858183.0A CN115695063B (en) 2021-07-28 2021-07-28 Method and device for controlling intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110858183.0A CN115695063B (en) 2021-07-28 2021-07-28 Method and device for controlling intelligent equipment

Publications (2)

Publication Number Publication Date
CN115695063A CN115695063A (en) 2023-02-03
CN115695063B true CN115695063B (en) 2024-04-02

Family

ID=85058265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110858183.0A Active CN115695063B (en) 2021-07-28 2021-07-28 Method and device for controlling intelligent equipment

Country Status (1)

Country Link
CN (1) CN115695063B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131846A (en) * 2016-08-30 2016-11-16 广东美的制冷设备有限公司 Distribution method, system, smart machine and the handheld terminal of smart machine
CN110033497A (en) * 2018-01-11 2019-07-19 灵动科技(北京)有限公司 Region labeling method, apparatus, electronic equipment and computer readable storage medium
CN209460647U (en) * 2019-04-28 2019-10-01 成都永奉科技有限公司 A kind of unmanned aerial vehicle control system
CN111586665A (en) * 2020-07-17 2020-08-25 支付宝(杭州)信息技术有限公司 Method and device for accessing wireless network
CN112291708A (en) * 2020-11-27 2021-01-29 歌尔科技有限公司 Data transmission method, device, equipment and computer readable storage medium
CN112637951A (en) * 2020-12-31 2021-04-09 Oppo广东移动通信有限公司 Positioning method and device, electronic equipment and computer readable storage medium
CN112738041A (en) * 2020-12-18 2021-04-30 南安昌晟消防科技有限公司 Networking method for intelligent household equipment
CN112968860A (en) * 2020-12-16 2021-06-15 三星电子(中国)研发中心 Method and device for managing electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131846A (en) * 2016-08-30 2016-11-16 广东美的制冷设备有限公司 Distribution method, system, smart machine and the handheld terminal of smart machine
CN110033497A (en) * 2018-01-11 2019-07-19 灵动科技(北京)有限公司 Region labeling method, apparatus, electronic equipment and computer readable storage medium
CN209460647U (en) * 2019-04-28 2019-10-01 成都永奉科技有限公司 A kind of unmanned aerial vehicle control system
CN111586665A (en) * 2020-07-17 2020-08-25 支付宝(杭州)信息技术有限公司 Method and device for accessing wireless network
CN112291708A (en) * 2020-11-27 2021-01-29 歌尔科技有限公司 Data transmission method, device, equipment and computer readable storage medium
CN112968860A (en) * 2020-12-16 2021-06-15 三星电子(中国)研发中心 Method and device for managing electronic device
CN112738041A (en) * 2020-12-18 2021-04-30 南安昌晟消防科技有限公司 Networking method for intelligent household equipment
CN112637951A (en) * 2020-12-31 2021-04-09 Oppo广东移动通信有限公司 Positioning method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN115695063A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
US9907008B2 (en) Cloud-coordinated location system using ultrasonic pulses and radio signals
US11445468B2 (en) Electronic device and method for position determination using UWB signal
KR20160049759A (en) Method for scanning neighboring devices and electronic apparatus thereof
US20180372832A1 (en) Communication device and electronic device having same
US10401178B2 (en) Causing a transition between positioning modes
US10009733B2 (en) Method and system for determining a position of a mobile device by an access point
US11991594B2 (en) Terminal interaction method and terminal
EP4047570A1 (en) Electronic device for controlling entry or exit by using wireless communication, and method therefor
WO2022160978A1 (en) Method for acquiring pose information and electronic device
KR20160118923A (en) Apparatus and method for positioning using electronic device
KR20210020616A (en) Electronic device and method for calculating position
CN117397309A (en) Electronic device for receiving arrival time difference message and operation method of the electronic device
CN115695063B (en) Method and device for controlling intelligent equipment
EP3706082B1 (en) Electronic device for performing positioning and control method of electronic device
CN109672465B (en) Method, equipment and system for adjusting antenna gain
KR20220148700A (en) Method and apparatus for controlling non-uwb (ultra wide band) device using uwb
WO2022086515A1 (en) Content sharing based on location
EP3837566A1 (en) Motion detection for passive indoor positioning system
WO2023197842A1 (en) Atomization device control method, devices, and atomization control system
Folea et al. Indoor localization based on Wi-Fi parameters influence
CN116761254B (en) Indoor positioning method, device, communication equipment and storage medium
CN115460619B (en) Signal control method and electronic equipment
CN115314073B (en) Antenna selection device and method and wearable equipment
WO2022048123A1 (en) Internet of things communication method and apparatus, device, and computer storage medium
Balakrishnan Indoor positioning system survey using BLE beacons

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
GR01 Patent grant
GR01 Patent grant