CN114466304A - Control method of intelligent household equipment, mobile terminal and intelligent household platform - Google Patents

Control method of intelligent household equipment, mobile terminal and intelligent household platform Download PDF

Info

Publication number
CN114466304A
CN114466304A CN202210100928.1A CN202210100928A CN114466304A CN 114466304 A CN114466304 A CN 114466304A CN 202210100928 A CN202210100928 A CN 202210100928A CN 114466304 A CN114466304 A CN 114466304A
Authority
CN
China
Prior art keywords
mobile terminal
intelligent household
devices
smart home
position coordinates
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.)
Granted
Application number
CN202210100928.1A
Other languages
Chinese (zh)
Other versions
CN114466304B (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 CN202210100928.1A priority Critical patent/CN114466304B/en
Publication of CN114466304A publication Critical patent/CN114466304A/en
Application granted granted Critical
Publication of CN114466304B publication Critical patent/CN114466304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • 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]

Abstract

The application discloses a control method of intelligent household equipment, a mobile terminal and an intelligent household platform, and belongs to the technical field of communication. The method comprises the following steps: the method comprises the steps of determining distances between a mobile terminal and a plurality of first intelligent household devices in a house and device identifications of the first intelligent household devices through a UWB technology, sending the distances to an intelligent household platform, receiving position coordinates of the mobile terminal sent by the intelligent household platform and position coordinates of a plurality of second intelligent household devices in a target room, and controlling the target intelligent household devices based on the position coordinates of the mobile terminal and the position coordinates of the second intelligent household devices. Because the UWB technology utilizes extremely narrow pulses on the order of nanoseconds to microseconds to transmit data, and UWB signals have higher spatial resolution. Therefore, the distance between the mobile terminal and each of the plurality of first intelligent household devices can be accurately determined through the UWB technology, and then the target intelligent household device can be accurately determined.

Description

Control method of intelligent household equipment, mobile terminal and intelligent household platform
Technical Field
The application relates to the technical field of communication, in particular to a control method of intelligent home equipment, a mobile terminal and an intelligent home platform.
Background
With the development of the internet of things technology, the mobile terminal can send a control signal to the smart home device through NFC (Near Field Communication), RFID (Radio Frequency Identification) Communication, bluetooth Communication, and the like, so as to control the smart home device. However, when the mobile terminal sends the control signal to the smart home device by using the method, the target smart home device cannot be accurately determined, so that the control accuracy of the mobile terminal on the target smart home device is reduced.
Disclosure of Invention
The application provides a control method of intelligent home equipment, a mobile terminal and an intelligent home platform, and can solve the problem that the mobile terminal in the related art has low control precision on target intelligent home equipment. The technical scheme is as follows:
on one hand, the control method of the smart home device is provided, and is applied to a mobile terminal with a UWB (ultra wide band) function, and the method includes:
determining distances between the mobile terminal and a plurality of first intelligent household devices in a house and device identifications of the first intelligent household devices through a UWB technology;
sending the distances between the mobile terminal and the plurality of first intelligent household devices and the device identifications of the plurality of first intelligent household devices to an intelligent household platform;
receiving the position coordinates of the mobile terminal sent by the intelligent home platform and the position coordinates of a plurality of second intelligent home devices in a target room, wherein the target room is a room where the mobile terminal is located currently in the house;
and controlling target intelligent household equipment in the plurality of second intelligent household equipment based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household equipment.
On the other hand, a control method of the intelligent household equipment is provided, and is applied to an intelligent household platform, and the method comprises the following steps:
receiving distances between a mobile terminal with a UWB function and a plurality of first intelligent household devices in a house and device identifications of the first intelligent household devices, wherein the distances between the mobile terminal and the first intelligent household devices are determined by the mobile terminal through a UWB technology;
determining the position coordinates of the mobile terminal based on the distances between the mobile terminal and the plurality of first intelligent household devices and the device identifications of the plurality of first intelligent household devices;
determining the position coordinates of a plurality of second smart home devices located in a target room based on the position coordinates of the mobile terminal, wherein the target room is a room where the mobile terminal is located currently in the house;
and sending the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household devices to the mobile terminal to indicate the mobile terminal to control target intelligent household devices in the plurality of second intelligent household devices.
On the other hand, a control device of smart home devices is provided, which is applied to a mobile terminal with UWB function, the device includes:
the determining module is used for determining distances between the mobile terminal and a plurality of first intelligent household devices in a house and device identifications of the first intelligent household devices through a UWB technology;
the first sending module is used for sending the distances between the mobile terminal and the plurality of first intelligent home devices and the device identifications of the plurality of first intelligent home devices to an intelligent home platform;
the first receiving module is used for receiving the position coordinates of the mobile terminal sent by the intelligent home platform and the position coordinates of the plurality of second intelligent home devices in a target room, wherein the target room is a room where the mobile terminal is located currently in the house;
and the control module is used for controlling target intelligent household equipment in the plurality of second intelligent household equipment based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household equipment.
On the other hand, a controlling means of intelligent house equipment is provided, is applied to intelligent house platform, the device includes:
the mobile terminal comprises a receiving module and a processing module, wherein the receiving module is used for receiving distances between the mobile terminal and a plurality of first intelligent household devices in a house and device identifications of the first intelligent household devices, which are sent by the mobile terminal with the UWB function, and the distances between the mobile terminal and the first intelligent household devices are determined by the mobile terminal through the UWB technology;
the first determining module is used for determining the position coordinates of the mobile terminal based on the distances between the mobile terminal and the plurality of first intelligent household devices and the device identifications of the plurality of first intelligent household devices;
the second determining module is used for determining the position coordinates of a plurality of second smart home devices located in a target room based on the position coordinates of the mobile terminal, wherein the target room is a room where the mobile terminal is located currently in the house;
the sending module is used for sending the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent home devices to the mobile terminal so as to indicate the mobile terminal to control target intelligent home devices in the plurality of second intelligent home devices.
In another aspect, a mobile terminal is provided, the mobile terminal having ultra-wideband UWB functionality, the mobile terminal comprising a processor configured to:
determining distances between the mobile terminal and a plurality of first intelligent household devices in a house and device identifications of the first intelligent household devices through a UWB technology;
sending the distances between the mobile terminal and the plurality of first intelligent household devices and the device identifications of the plurality of first intelligent household devices to an intelligent household platform;
receiving the position coordinates of the mobile terminal sent by the intelligent home platform and the position coordinates of a plurality of second intelligent home devices in a target room, wherein the target room is a room where the mobile terminal is located currently in the house;
and controlling target intelligent household equipment in the plurality of second intelligent household equipment based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household equipment.
On the other hand, an intelligent home platform is provided, the intelligent home platform includes a processor, and the processor is used for:
receiving distances between a mobile terminal with an ultra-wideband UWB function and a plurality of first intelligent household devices in a house and sent by the mobile terminal, and device identifications of the first intelligent household devices, wherein the distances between the mobile terminal and the first intelligent household devices are determined by the mobile terminal through a UWB technology;
determining the position coordinates of the mobile terminal based on the distances between the mobile terminal and the plurality of first intelligent household devices and the device identifications of the plurality of first intelligent household devices;
determining the position coordinates of a plurality of second smart home devices located in a target room based on the position coordinates of the mobile terminal, wherein the target room is a room where the mobile terminal is located currently in the house;
and sending the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household devices to the mobile terminal to indicate the mobile terminal to control target intelligent household devices in the plurality of second intelligent household devices.
On the other hand, a control system of the intelligent household equipment is provided, and the system comprises a mobile terminal and an intelligent household platform;
the mobile terminal and the intelligent home platform are used for executing the steps of the control method of the intelligent home equipment.
In another aspect, a computer-readable storage medium is provided, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of the control method for smart home devices are implemented.
In another aspect, a computer program product containing instructions is provided, and when the instructions are run on a computer, the instructions cause the computer to execute the steps of the control method for the smart home devices.
The technical scheme provided by the application can at least bring the following beneficial effects:
in the application, because the UWB technology utilizes extremely narrow pulses in the nanosecond to microsecond range to transmit data, the UWB signal has high spatial resolution. Therefore, the mobile terminal can accurately determine the distances between the mobile terminal and the plurality of first intelligent household devices in the house through the UWB technology. Then, the intelligent home platform can accurately determine the position coordinates of the mobile terminal and the current room of the mobile terminal in the house based on the distances between the mobile terminal and the plurality of first intelligent home devices. And then the target intelligent household equipment determined by the mobile terminal is accurate, so that the control precision of the mobile terminal on the target intelligent household equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a diagram of a system architecture provided by an embodiment of the present application;
fig. 2 is a flowchart of a control method for smart home devices according to an embodiment of the present application;
fig. 3 is a schematic diagram for determining location coordinates of a mobile terminal according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a space division diagram of a house provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of determining a room identifier according to an embodiment of the present application;
fig. 6 is a schematic diagram of a control target smart home device according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating that information is acquired through an intelligent home platform according to an embodiment of the present application;
fig. 8 is a schematic diagram of a third smart home device bound according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a control device of smart home equipment according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another control device of smart home equipment according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an intelligent home platform provided in an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application will be further described in detail with reference to the accompanying drawings.
Before explaining the control method of the smart home device provided in the embodiment of the present application in detail, a system architecture provided in the embodiment of the present application is introduced.
Referring to fig. 1, fig. 1 is a block diagram illustrating an architecture of a system according to an exemplary embodiment. The system comprises a mobile terminal 101, an intelligent home platform 102 and a plurality of intelligent home devices 103 located in a house, wherein the mobile terminal 101 and the plurality of intelligent home devices 103 interact with each other in a UWB technology mode. The mobile terminal 101 is in communication connection with the smart home platform 102. The communication connection may be a wired connection or a wireless connection, which is not limited in this embodiment of the present application.
The mobile terminal 101 is configured to interact with the plurality of smart home devices 103 through a UWB technology, so as to determine distances between the mobile terminal 101 and the plurality of smart home devices 103, and device identifiers of the plurality of smart home devices 103, and send the distances to the smart home platform 102.
The smart home platform 102 is configured to determine, based on distances between the mobile terminal 101 and the plurality of smart home devices 103 and the device identifiers of the plurality of smart home devices 103, position coordinates of the mobile terminal 101, and determine, based on the position coordinates of the mobile terminal 101, a room in which the mobile terminal 101 is currently located in the house, that is, a target room, and position coordinates of the plurality of smart home devices located in the target room. Then, the position coordinates of the mobile terminal 101 and the position coordinates of the plurality of smart home devices in the target room are transmitted to the mobile terminal 101.
The mobile terminal 101 is further configured to determine a target smart home device from the smart home devices in the target room based on the position coordinates of the mobile terminal 101 sent by the smart home platform 102 and the position coordinates of the multiple smart home devices in the target room, and control the target smart home device.
The mobile terminal 101 may be any electronic product capable of performing human-Computer interaction with a user through one or more modes such as a keyboard, a touch pad, a touch screen, a remote controller, voice interaction, or handwriting equipment, for example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal digital assistant), a pocket PC (pocket PC), a tablet Computer, and the like.
The smart home platform 102 may be an independent server, a server cluster or a distributed system composed of a plurality of physical servers, a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, or a cloud computing service center.
The smart home device 103 may be any electronic product that can interact with the mobile terminal 101 through UWB technology, such as an oven, a washing machine, a door lock, a refrigerator, and the like.
Those skilled in the art should understand that the mobile terminal 101, the smart home platform 102 and the smart home device 103 are only examples, and other existing or future mobile terminals, smart home platforms or smart home devices may be applicable to the embodiments of the present application, and should be included in the scope of the embodiments of the present application, and are included herein by reference.
It should be noted that the system architecture described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation to the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows, along with the evolution of the system architecture, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
The following explains the control method of the smart home device in detail according to the embodiment of the present application.
Fig. 2 is a flowchart of a method for controlling smart home devices according to an embodiment of the present application, please refer to fig. 2, where the method includes the following steps.
Step 201: the mobile terminal determines distances between the mobile terminal and a plurality of first intelligent household devices in a house and device identifications of the first intelligent household devices through a UWB technology, and sends the distances between the mobile terminal and the first intelligent household devices and the device identifications of the first intelligent household devices to an intelligent household platform.
When the mobile terminal detects the pointing operation of the user, the duration of the pointing operation of the user is determined. Under the condition that the duration of the pointing operation of the user is greater than a duration threshold value, the mobile terminal determines the distances between the mobile terminal and the plurality of first intelligent household devices in the house and the device identifications of the plurality of first intelligent household devices through a UWB technology, and sends the distances between the mobile terminal and the plurality of first intelligent household devices and the device identifications of the plurality of first intelligent household devices to the intelligent household platform.
The pointing operation of the user can be triggered in a mode that the mobile terminal points to any intelligent household device in the house, or can be triggered in a mode that the mobile terminal is swung and points to any intelligent household device in the house. Wherein the duration threshold is set in advance. Moreover, the duration threshold value can be adjusted according to different requirements.
In some embodiments, the mobile terminal transmits UWB ranging signals to the plurality of first smart home devices. After each first smart home device receives the UWB ranging signal sent by the mobile terminal, a UWB response signal is sent to the mobile terminal, and the UWB response signal carries the device identifier of the corresponding first smart home device. The mobile terminal receives UWB response signals sent by the first intelligent household devices, and determines distances between the mobile terminal and the first intelligent household devices respectively based on the sending time of the UWB ranging signals and the receiving time of the UWB response signals from the first intelligent household devices.
Because each of the plurality of first smart home devices is internally provided with a UWB component, and the UWB components are used for receiving and sending UWB signals, after each first smart home device receives a UWB ranging signal sent by the mobile terminal, a UWB response signal can be sent to the mobile terminal through the respective built-in UWB component, and the UWB response signal carries the device identifier of the corresponding first smart home device.
Since the determination methods of the distance between the mobile terminal and each of the first smart home devices are the same, the determination method of the distance between the mobile terminal and each of the first smart home devices will be described by taking one of the first smart home devices as an example. For convenience of description, the first smart home device is referred to as a first smart home device a.
The mobile terminal determines a time difference between the sending time of the UWB ranging signal and the receiving time of the UWB response signal from the first smart home device a based on the sending time of the UWB ranging signal and the receiving time of the UWB response signal from the first smart home device a, and further determines a distance between the mobile terminal and the first smart home device a based on the time difference.
As an example, the mobile terminal may determine the distance between the mobile terminal and the first smart home device a according to the following formula (1).
Figure BDA0003492426780000081
Wherein, in the above formula (1), R represents a distance between the mobile terminal and the first smart home device a, c represents a propagation speed of the UWB signal, and T represents a time difference between a transmission time of the UWB ranging signal and a reception time of the UWB response signal from the first smart home device a. In general, UWB signals are electromagnetic wave signals, and the propagation speed of electromagnetic wave signals is equal to the speed of light, so c is fixed.
The device identifier is used for uniquely identifying the smart home device, and may be a serial number, a manufacturer, a brand, a model number, and the like of the smart home device, or may be obtained by combining these pieces of information.
Step 202: the intelligent home platform receives distances between the mobile terminal and a plurality of first intelligent home devices in a house respectively and device identifications of the first intelligent home devices, and determines position coordinates of the mobile terminal based on the distances between the mobile terminal and the first intelligent home devices and the device identifications of the first intelligent home devices.
After receiving the distances between the mobile terminal and the plurality of first intelligent home devices in the house and the device identifications of the plurality of first intelligent home devices, which are sent by the mobile terminal, the intelligent home platform acquires the position coordinates of the plurality of first intelligent home devices based on the device identifications of the plurality of first intelligent home devices. Then, the position coordinates of the mobile terminal are determined based on the distances between the mobile terminal and the plurality of first smart home devices respectively and the position coordinates of the plurality of first smart home devices.
The intelligent home platform stores the corresponding relation between the equipment identification and the position coordinate of the intelligent home equipment. Therefore, after receiving the device identifiers of the first smart home devices, the smart home platform acquires the position coordinates of the first smart home devices from the stored correspondence between the device identifiers and the position coordinates based on the device identifiers of the first smart home devices.
In some embodiments, the smart home platform determines a plurality of candidate position coordinates of the mobile terminal based on distances between the mobile terminal and the plurality of first smart home devices, respectively, and the position coordinates of the plurality of first smart home devices, further determines a sum of squares of residuals corresponding to each of the candidate position coordinates based on the distances between the mobile terminal and the plurality of first smart home devices, respectively, and the plurality of candidate position coordinates, and then determines a candidate position coordinate with the smallest sum of squares of residuals corresponding to the plurality of candidate position coordinates as the position coordinate of the mobile terminal.
As an example, the smart home platform may determine a plurality of candidate position coordinates of the mobile terminal according to the following formula (2).
m=(ATA)-1ATb(2)
Wherein in the above formula (2), m represents any one of the candidate position coordinates,
Figure BDA0003492426780000091
it should be noted that x represents the abscissa of the position coordinate of the candidate, y represents the ordinate of the position coordinate of the candidate, and x1Abscissa, y, representing position coordinates of a first smart home device1Ordinate representing the position coordinate of the first smart home device, d1' represents a distance between the mobile terminal and the first smart home device, and N represents the number of the plurality of first smart home devices.
That is, the smart home platform may input the distances between the mobile terminal and the plurality of first smart home devices, and the position coordinates of the plurality of first smart home devices into the above formula (2), so as to obtain a candidate position coordinate of the mobile terminal. The distance between the mobile terminal and the plurality of first intelligent household devices and the position coordinates of the plurality of first intelligent household devices can be randomly combined by the intelligent household platform, so that the distance is input into the formula (2). That is, the smart home platform may select some first smart home devices from the plurality of first smart home devices, and input the distance between the mobile terminal and the selected first smart home devices, and the position coordinates of the selected first smart home devices into the above formula (2). At this time, the matrix a and the matrix b in the formula (2) only include elements corresponding to the selected first smart home devices, and do not include elements corresponding to unselected first smart home devices in the plurality of first smart home devices, so as to obtain a candidate position coordinate of the mobile terminal. When the intelligent home platform selects different first intelligent home devices, different candidate position coordinates of the mobile terminal can be obtained, and therefore a plurality of candidate position coordinates of the mobile terminal are obtained.
In some embodiments, based on the distances between the mobile terminal and the plurality of first smart home devices, and the position coordinates of the plurality of first smart home devices, an equation set 1 as shown below may be created, where the equation set 1 includes a plurality of equations in one-to-one correspondence with the plurality of first smart home devices. The i-th equation included in the equation set 1 is subtracted from the i + 1-th equation to obtain an equation set 2 shown below. Then, the equation set 2 is converted into a matrix form, the obtained matrix 1 is Am ═ b, the matrix 1 is solved by a least square method, and the expression of the candidate position coordinates of the mobile terminal is obtained as m ═ a (a)TA)- 1ATb。
Figure BDA0003492426780000101
Figure BDA0003492426780000102
Because there may be an error in the distance between the mobile terminal and each first smart home device, the matrix 1 may be solved by using a least square method, so that the influence caused by the error is reduced, and the accuracy of the determined position coordinate of the mobile terminal is improved.
According to the method, a plurality of candidate position coordinates of the mobile terminal can be determined, and in order to ensure that the position coordinates of the mobile terminal are accurately determined, the intelligent home platform determines a residual square sum corresponding to each candidate position coordinate. Since the sum of squares of the residuals is used to characterize the degree of fit between the candidate position coordinates of the mobile terminal and the position coordinates of the mobile terminal, that is, if the sum of squares of the residuals corresponding to a certain candidate position coordinate is smaller, it indicates that the candidate position coordinate is closer to the position coordinates of the mobile terminal. Therefore, the candidate position coordinate with the smallest sum of squared residuals among the plurality of candidate position coordinates is determined as the position coordinate of the mobile terminal.
As an example, the smart home platform may determine the sum of the squares of the residuals according to equation (3) below.
Figure BDA0003492426780000103
Wherein, in the above formula (3), f represents the sum of squares of residuals corresponding to any one of the candidate position coordinates, and di' represents a distance between the mobile terminal and the ith intelligent household device in the plurality of first intelligent household devices, diRepresenting the distance between the position coordinate of any candidate position coordinate and the position coordinate of the ith first smart home device, x representing the abscissa of any candidate position coordinate, y representing the ordinate of any candidate position coordinate, and xiAn abscissa, y, representing the position coordinate of the ith first smart home deviceiAnd the vertical coordinate represents the position coordinate of the ith first intelligent household equipment, and N represents the number of the plurality of first intelligent household equipment.
The manner in which the smart home platform determines the position coordinates of the mobile terminal in the above manner is an example. In other embodiments, the smart home platform may also determine the location coordinates of the mobile terminal in other manners. Exemplarily, the smart home platform acquires the position coordinates of the plurality of first smart home devices based on the device identifiers of the plurality of first smart home devices, and directly determines the position coordinates of the mobile terminal based on the distances between the mobile terminal and the plurality of first smart home devices, and the position coordinates of the plurality of first smart home devices. That is, the smart home platform obtains the location coordinates of the plurality of first smart home devices from the stored correspondence between the device identifiers and the location coordinates based on the device identifiers of the plurality of first smart home devices. Then, the position coordinates of each first smart home device are used as round points, the distance between the mobile terminal and each first smart home device is used as a radius, a plurality of circles corresponding to the plurality of first smart home devices one to one are drawn, and the position coordinates of the intersection points of the plurality of circles are determined as the position coordinates of the mobile terminal.
For example, please refer to fig. 3, fig. 3 is a schematic diagram illustrating a method for determining location coordinates of a mobile terminal according to an embodiment of the present disclosure. In fig. 3, the distances between the mobile terminal and the refrigerator, the oven, and the washing machine are 1 meter, 3 meters, and 5 meters, respectively. At this time, the intelligent home platform uses the position coordinate (x) of the refrigerator1,y1) As a dot, drawing a circle 1 with a radius of 1 meter, and a position coordinate (x) of the oven2,y2) As a dot, drawing a circle 2 with a radius of 3 m and a position coordinate (x) of the washing machine3,y3) The circle 3 is drawn as a dot with a radius of 5 m. The position coordinates of the intersection point a of the circle 1, the circle 2, and the circle 3 are the position coordinates of the mobile terminal.
The position coordinates of the plurality of first smart home devices and the position coordinates of the mobile terminal belong to the same coordinate system, and the coordinate system is established with a certain point of the house as an origin. Moreover, in the following, the position coordinate range of each room in the house also belongs to the coordinate system.
Step 203: the intelligent home platform determines position coordinates of a plurality of second intelligent home devices located in a target room based on the position coordinates of the mobile terminal, and sends the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent home devices to the mobile terminal, wherein the target room is a room where the mobile terminal is located currently in a house.
In some embodiments, the smart home platform determines a room identifier of a room in which the mobile terminal is currently located in the house based on the location coordinates of the mobile terminal to obtain a room identifier of the target room. The intelligent home platform acquires the equipment identifications of the plurality of second intelligent home equipment in the target room from the stored corresponding relation between the room identifications and the equipment identifications based on the room identifications of the target room. Based on the above description, the smart home platform further stores the correspondence between the device identifiers and the position coordinates of the smart home devices, and at this time, the smart home platform determines the position coordinates of the plurality of second smart home devices located in the target room from the stored correspondence between the device identifiers and the position coordinates based on the device identifiers of the plurality of second smart home devices. And then, sending the position coordinates of the mobile terminal and the position coordinates of the plurality of second smart home devices to the mobile terminal.
The intelligent home platform stores the position coordinate ranges of all rooms in the house, so that the intelligent home platform can compare the position coordinate of the mobile terminal with the position coordinate ranges of all rooms in the house to determine the room identification of the target room. That is, if the location coordinate of the mobile terminal falls within the location coordinate range of a certain room, the room identification of the room is determined as the room identification of the target room.
It should be noted that the position coordinate range of each room in the house is determined in advance by the smart home platform based on the ground size of each room in the house and the ground shape of the room. That is, the smart home platform stores a space division map (also referred to as a house map) of the house, establishes a coordinate system with a certain point in the space division map of the house as an origin, determines a first minimum distance and a first maximum distance of the room from the origin of the coordinate system in the horizontal axis direction based on the floor size of the room when the floor shape of the room is a square or a rectangle, determines the first minimum distance as a minimum abscissa of a position coordinate range of the room, and determines the first maximum distance as a maximum abscissa of the position coordinate range of the room. Similarly, a second minimum distance and a second maximum distance from the origin of the coordinate system in the direction of the longitudinal axis of the room are determined, the second minimum distance is determined as the minimum longitudinal coordinate of the position coordinate range of the room, and the second maximum distance is determined as the maximum longitudinal coordinate of the position coordinate range of the room, so that the position coordinate range of the room is obtained.
For example, please refer to fig. 4, fig. 4 is a schematic diagram of a space division diagram of a house according to an embodiment of the present application. In fig. 4, a coordinate system is established with the lower left corner of the main bed in the space division diagram of the house as the origin. Taking the main-lying as an example, the first minimum distance of the main-lying from the origin of the coordinate system in the horizontal axis direction is 0, and the first maximum distance is 3400 mm. Therefore, the minimum abscissa of the main-lying position coordinate range is 0, and the maximum abscissa is 3400. Similarly, the second minimum distance from the origin of the coordinate system in the direction of the longitudinal axis of the main bed is determined to be 0, and the second maximum distance is 4000 mm. Therefore, the minimum ordinate of the position coordinate range of the main bed is 0, and the maximum ordinate is 4000.
The above is described by taking as an example the shape of the floor of the room as square or rectangular. Of course, the floor shape of the room may be other shapes, in which case, the room may have a plurality of coordinate ranges on the horizontal axis and a plurality of coordinate ranges on the vertical axis, which may be determined according to the floor shape of the room.
In addition, the above-described determination of the position coordinate range of each room by the space division diagram of the house is an example. In other embodiments, the information can be determined by the user and reported to the smart home platform through the mobile terminal. That is, the user may input the position coordinate range of each room in the mobile terminal, and send the position coordinate range of each room to the smart home platform.
After the intelligent home platform determines the position coordinates of the plurality of second intelligent home devices located in the target room, the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent home devices are sent to the mobile terminal, and the position coordinates of the intelligent home devices in other rooms are not needed to be sent to the mobile terminal. That is, the smart home platform can shield the mobile terminal from controlling other smart home devices in the non-target room. Therefore, the mobile terminal can be prevented from carrying out error control on other intelligent household equipment in a non-target room, and the control precision of the mobile terminal on the target intelligent household equipment is further improved.
After the intelligent household equipment is configured in the house, the position of the intelligent household equipment is basically unchanged, so that the corresponding relation between the equipment identification and the position coordinate of the intelligent household equipment can be stored. The corresponding relation between the equipment identification and the position coordinate and the corresponding relation between the room identification and the equipment identification are determined in advance by the intelligent home platform. For example, the corresponding relationship between the device identifier and the position coordinate and the corresponding relationship between the room identifier and the device identifier may be determined by the smart home platform in the process of binding the smart home device, which will be described below and will not be set forth herein.
The room identifier is used to uniquely identify a room, and may be the number, name, floor area, type, etc. of the room, or may be obtained by combining these pieces of information.
For example, please refer to fig. 5, fig. 5 is a schematic diagram of determining a room identifier according to an embodiment of the present application. In fig. 5, the user selects an existing house or a newly-built house through the mobile terminal to determine a space division diagram of the house. If the user determines the space division map of the house via the mobile terminal, each room in the house may be assigned a room identification based on the space division map of the house. If the user does not select the existing house or build a new house through the mobile terminal, that is, the user does not determine the space division diagram of the house through the mobile terminal, the room identifiers of the rooms in the house can be customized. That is, the user may enter a room identification for each room within the house in the mobile terminal.
Step 204: the mobile terminal receives the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent home devices in the target room, which are sent by the intelligent home platform, and controls the target intelligent home devices in the plurality of second intelligent home devices based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent home devices.
The mobile terminal determines deviation angles between the mobile terminal and the plurality of second intelligent household devices respectively based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household devices, and further determines target intelligent household devices from the plurality of second intelligent household devices based on the deviation angles between the mobile terminal and the plurality of second intelligent household devices respectively. And then, controlling the target intelligent household equipment.
Because the plurality of second smart home devices may be located at different heights, in order to uniformly compare the deviation angles between the mobile terminal and the plurality of second smart home devices, the deviation angle between the mobile terminal and the second smart home devices is determined by using a horizontal plane where the mobile terminal is located as a reference plane. That is, the deviation angle between the mobile terminal and the second smart home device is an included angle between a connection line between a center point of the mobile terminal and a center point of the second smart home device and a reference plane (horizontal plane).
Since the determining manner of the deviation angle between the mobile terminal and each second smart home device is the same, next, taking one of the second smart home devices as an example, the determining manner of the deviation angle between the mobile terminal and the second smart home device is introduced. For convenience of description, the second smart home device is referred to as a second smart home device B.
As an example, the mobile terminal may determine the deviation angle between the mobile terminal and the second smart home device B according to the following formula (4).
Figure BDA0003492426780000141
Wherein, in the above formula (4), θ represents a deviation angle between the mobile terminal and the second smart home device B, and ypRepresents the ordinate of the position coordinate of the second smart home device B, y represents the ordinate of the position coordinate of the mobile terminal, xpAnd x represents the abscissa of the position coordinate of the mobile terminal.
In some embodiments, the implementation process of the mobile terminal determining the target smart home device from the plurality of second smart home devices based on the deviation angles between the mobile terminal and the plurality of second smart home devices respectively includes: in the case that there is at least one second smart home device among the plurality of second smart home devices having a deviation angle from the mobile terminal smaller than the angle threshold value, selecting second intelligent household equipment with the smallest deviation angle with the mobile terminal from the at least one second intelligent household equipment, if the number of the selected second intelligent household equipment is 1, determining the selected second smart home devices as target smart home devices, if the number of the selected second smart home devices is greater than 1, determining the distance between each selected second smart home device and the mobile terminal based on the position coordinates of the mobile terminal and the position coordinates of each selected second smart home device, and determining the second smart home device with the smallest distance between the selected second smart home device and the mobile terminal as the target smart home device.
After the mobile terminal determines the deviation angles between the mobile terminal and the plurality of second intelligent household devices respectively, whether at least one second intelligent household device with the deviation angle between the mobile terminal and the second intelligent household devices being smaller than an angle threshold exists in the plurality of second intelligent household devices is judged. If at least one second intelligent household device with the deviation angle smaller than the angle threshold value does not exist in the plurality of second intelligent household devices, it is indicated that the target intelligent household device does not exist in the plurality of second intelligent household devices, and the operation is finished. If at least one second intelligent household device with the deviation angle smaller than the angle threshold exists in the plurality of second intelligent household devices, it is indicated that the target intelligent household device exists in the plurality of second intelligent household devices. At this time, the mobile terminal selects the second smart home device with the smallest deviation angle with the mobile terminal from the at least one second smart home device. And if only one selected second intelligent household device is available, determining the selected second intelligent household device as the target intelligent household device. And if at least two selected second intelligent household devices exist, determining the second intelligent household device with the minimum distance between the second intelligent household device and the mobile terminal as the target intelligent household device.
The angle threshold is the maximum angle at which the mobile terminal can control the intelligent household equipment, and if the deviation angle between the intelligent household equipment and the mobile terminal is smaller than the angle threshold, the position of the intelligent household equipment is within the control range of the mobile terminal. At this time, the mobile terminal may control the smart home device, that is, there is a target smart home device. If the deviation angle between the intelligent household equipment and the mobile terminal is larger than the angle threshold value, it is indicated that the position of the intelligent household equipment does not belong to the control range of the mobile terminal, at the moment, the mobile terminal cannot control the intelligent household equipment, and therefore target intelligent household equipment does not exist.
The user triggers the mobile terminal to control the target intelligent household equipment in a mode that the mobile terminal points to the intelligent household equipment in the house, so that the target intelligent household equipment can be determined through deviation angles between the mobile terminal and the plurality of second intelligent household equipment. Under the condition that the deviation angle between at least two second intelligent household devices and the mobile terminal is minimum, in order to improve the control precision of the mobile terminal on the target intelligent household device, the second intelligent household device with the minimum distance between the at least two second intelligent household devices and the mobile terminal is determined as the target intelligent household device. Therefore, the target intelligent household equipment can be preferentially determined from the at least two second intelligent household equipment.
Wherein the angle threshold is set in advance. Moreover, the angle threshold can be adjusted according to different requirements.
As an example, the mobile terminal may determine the distance between each selected second smart home device and the mobile terminal according to the following formula (5).
Figure BDA0003492426780000161
Wherein, in the above formula (5), S represents a distance between the mobile terminal and any selected second smart home device, xqAn abscissa representing a position coordinate of the second smart home device, x represents an abscissa of a position coordinate of the mobile terminal, and y represents an abscissa of a position coordinate of the mobile terminalqAnd y represents the ordinate of the position coordinate of the mobile terminal.
It should be noted that, in the above manner, after the intelligent home platform determines the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent home devices, the position coordinates are sent to the mobile terminal. The mobile terminal determines the target intelligent household equipment from the plurality of second intelligent household equipment based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household equipment. Of course, in other embodiments, after the smart home platform determines the position coordinates of the mobile terminal and the position coordinates of the plurality of second smart home devices, the target smart home device may be determined from the plurality of second smart home devices directly based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second smart home devices. And then, sending the device identification of the target intelligent household device to the mobile terminal. In this way, after the mobile terminal receives the device identifier of the target smart home device sent by the smart home platform, the mobile terminal can control the target smart home device.
The smart home platform determines the target smart home device from the plurality of second smart home devices based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second smart home devices, and the process of determining the target smart home device from the plurality of second smart home devices is similar to the process of determining the target smart home device by the mobile terminal.
After the mobile terminal determines the target intelligent household equipment, the target intelligent household equipment can be controlled in different modes based on the type of the target intelligent household equipment. That is, under the condition that the type of the target smart home device is included in the first type set, the mobile terminal sends a UWB control signal to the target smart home device to control the target smart home device. And under the condition that the type of the target intelligent household equipment is contained in the second type set, the mobile terminal controls the target intelligent household equipment through the intelligent household platform. Thus, more abundant application scenes can be met.
For example, the first type set includes televisions, clothes hangers, and door locks. The second group of types includes air conditioners, ovens, refrigerators, and microwave ovens. When the target smart home device is a door lock, the mobile terminal sends a UWB control signal to the door lock, wherein the type of the door lock is included in the first type set, and the UWB control signal is used for indicating to close the door lock. And after the door lock receives the UWB control signal, the door lock is closed. When the target smart home device is an oven, since the type of the oven is included in the second type set, the mobile terminal sends the device identifier of the oven to the smart home platform through a network device such as a WIFI (Wireless Fidelity) router. After the intelligent home platform receives the equipment identification of the oven, the menu, the cooking mode and the oven state of the oven are obtained from the stored corresponding relation between the equipment identification of the intelligent home equipment and the equipment information, and the menu, the cooking mode and the oven state are sent to the mobile terminal through network equipment such as a WIFI router. After receiving the menu, the cooking mode and the oven state of the oven sent by the intelligent home platform, the mobile terminal generates a control instruction and sends the control instruction to the intelligent home platform. After the intelligent home platform receives the control instruction, the control instruction is sent to the oven through network equipment such as a WIFI router.
For example, please refer to fig. 6, where fig. 6 is a schematic diagram of a control target smart home device according to an embodiment of the present application. In fig. 6, the target smart home device determined by the mobile terminal from the three second smart home devices, namely, the oven, the refrigerator and the microwave oven, is the oven. The mobile terminal sends the equipment identification of the oven to the intelligent home platform through network equipment such as a WIFI router. After the intelligent home platform receives the equipment identification of the oven, the menu, the cooking mode and the oven state of the oven are obtained from the stored corresponding relation between the equipment identification of the intelligent home equipment and the equipment information, and the menu, the cooking mode and the oven state are sent to the mobile terminal through network equipment such as a WIFI router. After receiving the menu, the cooking mode and the oven state of the oven sent by the intelligent home platform, the mobile terminal generates a control instruction and sends the control instruction to the intelligent home platform. After the intelligent home platform receives the control instruction, the control instruction is sent to the oven through network equipment such as a WIFI router.
The mobile terminal obtains the menu, the cooking mode and the oven state of the oven through the intelligent home platform as an example. The mobile terminal can also acquire the exclusive washing scheme of the washing machine based on the material, the type and the season of clothes through the intelligent home platform. Or the situation of food materials in the refrigerator is acquired through the intelligent home platform, so that a preservation scheme is set and the food materials are supplemented in time.
For example, please refer to fig. 7, where fig. 7 is a schematic diagram of obtaining information through an intelligent home platform according to an embodiment of the present application. In fig. 7, the mobile terminal may obtain a menu, a cooking mode, and an oven state of the oven through the smart home platform. The mobile terminal can also acquire the exclusive washing scheme of the washing machine through the intelligent home platform. Or the situation of food materials in the refrigerator is acquired through the intelligent home platform, so that a preservation scheme is set and the food materials are supplemented in time.
The first type set is a set formed by types of intelligent household equipment directly controlled by the mobile terminal through a UWB signal, and the second type set is a set formed by types of intelligent household equipment controlled by the mobile terminal through an intelligent household platform. The first type set and the second type set are obtained by the mobile terminal from the intelligent home platform in advance and are stored locally. Namely, after determining the first type set and the second type set, the intelligent home platform directly sends the first type set and the second type set to the mobile terminal for storage.
It should be noted that, when the duration of the time period that the mobile terminal points to the target smart home device is longer than the duration threshold, the mobile terminal may send the UWB control signal to the target smart home device, or control the target smart home device through the smart home platform. Therefore, the mobile terminal can determine whether to continue to control the target intelligent household equipment, and the current operation is avoided being caused by the fact that the user touches the mobile terminal by mistake.
Based on the above description, the smart home platform stores the correspondence between the device identifier and the position coordinate and the correspondence between the room identifier and the device identifier, which may be stored in the process of binding the smart home device by the smart home platform. Therefore, taking the third smart home device as an example, a binding process of the third smart home device will be described next.
In some embodiments, after the third smart home device is added to the house, the mobile terminal further needs to send the device identifier, the location coordinates, and the room identifier of the room in which the third smart home device is located to the smart home platform. After the intelligent home platform receives the device identifier, the position coordinate and the room identifier of the room in which the third intelligent home device is located, which are sent by the mobile terminal, the device identifier and the position coordinate of the third intelligent home device can be stored in the corresponding relationship between the device identifier and the position coordinate. And simultaneously, storing the equipment identifier of the third intelligent household equipment and the room identifier of the room in the house into the corresponding relation between the room identifier and the equipment identifier.
That is, the mobile terminal receives a UWB device binding signal sent by a third smart home device to be bound, where the UWB device binding signal carries a device identifier of the third smart home device, obtains a position coordinate of the third smart home device, and a room identifier of a room in which the third smart home device is located in the house, and sends the device identifier, the position coordinate, and the room identifier of the room in which the third smart home device is located to the smart home platform, so as to instruct the smart home platform to store the device identifier, the position coordinate, and the room identifier of the room in which the third smart home device is located in the house.
When the mobile terminal detects the adding operation of the intelligent household equipment of the user, the mobile terminal displays an adding interface, and the adding interface comprises two options of manual adding and automatic searching. Namely, the user may select to add the third smart home device to be bound manually, or may select to add the third smart home device to be bound through automatic search of the mobile terminal. And if the user selects to manually add the third intelligent household equipment to be bound, the user inputs the name of the third intelligent household equipment to be bound in the input box, and sends a UWB request binding signal to the third intelligent household equipment to be bound when the mobile terminal detects the confirmation operation of the user. After receiving the UWB request binding signal sent by the mobile terminal, the third intelligent home device sends a UWB device binding signal to the mobile terminal through the built-in UWB component, and the UWB device binding signal carries the device identifier of the third intelligent home device. And if the user selects to add the third intelligent household equipment to be bound through automatic search of the mobile terminal, the mobile terminal receives a UWB equipment binding signal sent by the third intelligent household equipment to be bound, and the UWB equipment binding signal carries the equipment identifier of the third intelligent household equipment.
The mobile terminal obtains the position coordinates of the third intelligent household device, and the implementation process of the room identifier of the room where the third intelligent household device is located in the house comprises the following steps: the mobile terminal displays a first user interface, the first user interface comprises a space division diagram of a house, and in response to the selection operation of a first position in the space division diagram, position coordinates of the first position and a room identifier of a room where the first position is located are determined, the position coordinates of the first position are determined as the position coordinates of third intelligent household equipment, and the room identifier of the room where the first position is located is determined as the room identifier of the room where the third intelligent household equipment is located in the house. That is, the mobile terminal displays a first user interface including a space division diagram of a house. The user may select a location where the third smart home device is located in the space division diagram, and when the mobile terminal detects a selection operation of the user, the location selected by the user is determined as a first location, and then a location coordinate of the first location and a room identifier of a room where the first location is located are determined, the location coordinate of the first location is determined as a location coordinate of the third smart home device, and the room identifier of the room where the first location is located is determined as a room identifier of a room where the third smart home device is located in the room.
The manner in which the mobile terminal obtains the position coordinates of the third smart home device in the above manner, and the room identifier of the room in which the third smart home device is located in the house is an example. In other embodiments, the mobile terminal may further obtain the location coordinates of the third smart home device and the room identifier of the room in which the third smart home device is located in the house according to other manners. Illustratively, when the mobile terminal detects a binding operation of a user, the mobile terminal displays a second user interface, where the second user interface includes an input box corresponding to the position coordinates of the third smart home device and room identifiers of multiple rooms in a house. The user may input the position coordinates of the third smart home device in the input box, and may further select a room identifier of a room in which the third smart home device is located from the plurality of room identifiers. When the mobile terminal detects the confirmation operation of the user, the position coordinate input by the user is determined as the position coordinate of the third intelligent home device, and the room identifier selected by the user is determined as the room identifier of the room where the third intelligent home device is located in the house.
The binding operation of the user can be triggered by voice interaction or by clicking a binding button. For example, the user inputs "bind smart home device" by voice to trigger the binding operation. The confirmation operation of the user can be triggered by voice interaction or by clicking a submit button in the second user interface.
For example, please refer to fig. 8, where fig. 8 is a schematic diagram of binding a third smart home device according to an embodiment of the present application. In fig. 8, the mobile terminal displays a first user interface, and the user adds a third smart home device to a plurality of rooms included in the house. And the mobile terminal determines the position coordinates of the third intelligent household equipment and the room identifier of the room in the house, and acquires the equipment identifier of the third intelligent household equipment through the UWB equipment binding signal sent by the third intelligent household equipment. And then, sending the device identifier, the position coordinates and the room identifier of the room in which the third smart home device is located to the smart home platform.
Optionally, the smart home platform may further store house identifiers of a plurality of houses, where the house identifiers of the plurality of houses correspond to the plurality of houses managed by the mobile terminal one to one. That is, the mobile terminal may manage only one house or may manage a plurality of houses at the same time. If the mobile terminal manages a plurality of houses simultaneously, when the mobile terminal detects the switching operation of the user, the mobile terminal displays a third user interface, the third user interface comprises house identifications of the plurality of houses, and the user can select one house identification from the plurality of house identifications. And when the mobile terminal detects the confirmation operation of the user, determining the house corresponding to the house identifier selected by the user as the house which needs to be controlled by the intelligent household equipment currently. Then, the mobile terminal controls the smart home devices in the house according to the process of the step 201 and the step 204.
The house identifier is used to uniquely identify the house, and may be the serial number, floor area, type, etc. of the house, or may be obtained by combining these information.
Optionally, in some embodiments, the mobile terminal may further install a smart home APP (Application). At this time, the mobile terminal may implement the processes of step 201 and step 204 through the smart home APP.
In the embodiment of the application, because the UWB technology utilizes the extremely narrow pulse of nanosecond to microsecond level to transmit data, and the UWB signal has higher spatial resolution. Therefore, the mobile terminal can accurately determine the distances between the mobile terminal and the plurality of first intelligent household devices in the house through the UWB technology. Then, the intelligent home platform can accurately determine the position coordinates of the mobile terminal and the current room of the mobile terminal in the house based on the distances between the mobile terminal and the plurality of first intelligent home devices. And then the target intelligent household equipment determined by the mobile terminal is accurate, so that the control precision of the mobile terminal on the target intelligent household equipment is improved. In addition, after the mobile terminal determines the target intelligent household equipment, the target intelligent household equipment can be controlled according to different modes based on the type of the target intelligent household equipment. Namely, the mobile terminal can directly control the target intelligent household equipment and can also control the target intelligent household equipment through the intelligent household platform. Thus, more abundant application scenes can be met.
Fig. 9 is a schematic structural diagram of a control apparatus of an intelligent home device according to an embodiment of the present application, where the control apparatus of the intelligent home device may be implemented by software, hardware, or a combination of the software and the hardware to be part or all of a mobile terminal. Referring to fig. 9, the apparatus includes: a determination module 901, a first sending module 902, a first receiving module 903 and a control module 904.
A determining module 901, configured to determine, through UWB technology, distances between the mobile terminal and a plurality of first smart home devices in a house, and device identifiers of the plurality of first smart home devices. For the detailed implementation process, reference is made to corresponding contents in the above embodiments, and details are not repeated here.
The first sending module 902 is configured to send, to the smart home platform, the distances between the mobile terminal and the plurality of first smart home devices, and the device identifiers of the plurality of first smart home devices. For the detailed implementation process, reference is made to corresponding contents in the foregoing embodiments, and details are not repeated here.
A first receiving module 903, configured to receive the position coordinate of the mobile terminal and the position coordinates of the plurality of second smart home devices in a target room, where the target room is a room where the mobile terminal is currently located in a house, sent by the smart home platform. For the detailed implementation process, reference is made to corresponding contents in the above embodiments, and details are not repeated here.
And a control module 904, configured to control a target smart home device of the plurality of second smart home devices based on the position coordinate of the mobile terminal and the position coordinates of the plurality of second smart home devices. For the detailed implementation process, reference is made to corresponding contents in the above embodiments, and details are not repeated here.
Optionally, the determining module 901 is specifically configured to:
sending UWB ranging signals to the plurality of first intelligent household devices;
receiving UWB response signals sent by the first intelligent household equipment, wherein the UWB response signals carry equipment identifications of the corresponding first intelligent household equipment;
and determining the distances between the mobile terminal and the plurality of first intelligent household devices respectively based on the sending time of the UWB ranging signals and the receiving time of the UWB response signals from the first intelligent household devices.
Optionally, the control module 904 comprises:
the first determining unit is used for determining deviation angles between the mobile terminal and the plurality of second intelligent household devices respectively based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household devices;
the second determining unit is used for determining target intelligent household equipment from the plurality of second intelligent household equipment based on the deviation angles between the mobile terminal and the plurality of second intelligent household equipment respectively;
the transmitting unit is used for transmitting a UWB control signal to the target intelligent household equipment to control the target intelligent household equipment under the condition that the type of the target intelligent household equipment is contained in the first type set;
and the control unit is used for controlling the target intelligent household equipment through the intelligent household platform under the condition that the type of the target intelligent household equipment is contained in the second type set.
Optionally, the second determining unit is specifically configured to:
under the condition that at least one second intelligent household device with a deviation angle smaller than an angle threshold exists in the plurality of second intelligent household devices, selecting a second intelligent household device with the smallest deviation angle with the mobile terminal from the at least one second intelligent household device;
if the number of the selected second intelligent household devices is 1, determining the selected second intelligent household devices as target intelligent household devices;
if the number of the selected second smart home devices is larger than 1, determining the distance between each selected second smart home device and the mobile terminal based on the position coordinates of the mobile terminal and the position coordinates of each selected second smart home device, and determining the second smart home device with the smallest distance between the selected second smart home devices and the mobile terminal as the target smart home device.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving a UWB equipment binding signal sent by third intelligent household equipment to be bound, and the UWB equipment binding signal carries an equipment identifier of the third intelligent household equipment;
the acquisition module is used for acquiring the position coordinates of the third intelligent household equipment and the room identifier of the room where the third intelligent household equipment is located in the house;
and the second sending module is used for sending the device identification and the position coordinate of the third intelligent household device and the room identification of the room in the house to the intelligent household platform so as to instruct the intelligent household platform to store the device identification and the position coordinate of the third intelligent household device and the room identification of the room in the house.
Optionally, the obtaining module is specifically configured to:
displaying a first user interface, the first user interface including a space division diagram of a house;
in response to a selection operation of a first position in the space division map, determining position coordinates of the first position and room identification of a room in which the first position is located;
and determining the position coordinates of the first position as the position coordinates of the third intelligent household equipment, and determining the room identifier of the room where the first position is located as the room identifier of the room where the third intelligent household equipment is located in the house.
In the embodiment of the application, because the UWB technology utilizes extremely narrow pulses in the nanosecond-microsecond range to transmit data, the UWB signal has high spatial resolution. Therefore, the mobile terminal can accurately determine the distances between the mobile terminal and the plurality of first intelligent household devices in the house through the UWB technology. Then, the intelligent home platform can accurately determine the position coordinates of the mobile terminal and the current room of the mobile terminal in the house based on the distances between the mobile terminal and the plurality of first intelligent home devices. And then the target intelligent household equipment determined by the mobile terminal is accurate, so that the control precision of the mobile terminal on the target intelligent household equipment is improved. In addition, after the mobile terminal determines the target intelligent household equipment, the target intelligent household equipment can be controlled according to different modes based on the type of the target intelligent household equipment. Namely, the mobile terminal can directly control the target intelligent household equipment and can also control the target intelligent household equipment through the intelligent household platform. Thus, more abundant application scenes can be met.
Fig. 10 is a schematic structural diagram of another control apparatus of an intelligent home device according to an embodiment of the present application, where the control apparatus of the intelligent home device may be implemented by software, hardware, or a combination of the software and the hardware as part or all of an intelligent home platform. Referring to fig. 10, the apparatus includes: a receiving module 1001, a first determining module 1002, a second determining module 1003 and a sending module 1004.
The receiving module 1001 is configured to receive distances between the mobile terminal and the plurality of first smart home devices in the house and the device identifiers of the plurality of first smart home devices, where the distances between the mobile terminal and the plurality of first smart home devices are determined by the mobile terminal through a UWB technology, and the distances are sent by the mobile terminal having the ultra-wideband UWB function. For the detailed implementation process, reference is made to corresponding contents in the above embodiments, and details are not repeated here.
The first determining module 1002 is configured to determine the position coordinate of the mobile terminal based on distances between the mobile terminal and the plurality of first smart home devices, and the device identifiers of the plurality of first smart home devices. For the detailed implementation process, reference is made to corresponding contents in the above embodiments, and details are not repeated here.
A second determining module 1003, configured to determine, based on the location coordinate of the mobile terminal, location coordinates of a plurality of second smart home devices located in a target room, where the mobile terminal is currently located in a house. For the detailed implementation process, reference is made to corresponding contents in the above embodiments, and details are not repeated here.
The sending module 1004 is configured to send the position coordinate of the mobile terminal and the position coordinates of the multiple second smart home devices to the mobile terminal, so as to instruct the mobile terminal to control a target smart home device in the multiple second smart home devices. For the detailed implementation process, reference is made to corresponding contents in the above embodiments, and details are not repeated here.
Optionally, the first determining module 1002 is specifically configured to:
acquiring the position coordinates of the plurality of first intelligent household devices based on the device identifications of the plurality of first intelligent household devices;
determining a plurality of candidate position coordinates of the mobile terminal based on the distances between the mobile terminal and the plurality of first smart home devices respectively and the position coordinates of the plurality of first smart home devices;
determining a residual square sum corresponding to each candidate position coordinate through a following formula based on the distances between the mobile terminal and the plurality of first intelligent household devices and the plurality of candidate position coordinates, and determining the candidate position coordinate with the minimum residual square sum in the plurality of candidate position coordinates as the position coordinate of the mobile terminal;
Figure BDA0003492426780000241
wherein, in the above formula, f represents the sum of squares of residuals corresponding to any one of the candidate position coordinates, and di' represents a distance between the mobile terminal and the ith intelligent household device in the plurality of first intelligent household devices, diRepresenting the distance between the position coordinate of any candidate position coordinate and the position coordinate of the ith first smart home device, x representing the abscissa of any candidate position coordinate, y representing the ordinate of any candidate position coordinate, and xiAn abscissa, y, representing the position coordinate of the ith first smart home deviceiAnd the vertical coordinate represents the position coordinate of the ith first intelligent household equipment, and N represents the number of the plurality of first intelligent household equipment.
In the embodiment of the application, because the UWB technology utilizes extremely narrow pulses in the nanosecond-microsecond range to transmit data, the UWB signal has high spatial resolution. Therefore, the mobile terminal can accurately determine the distances between the mobile terminal and the plurality of first intelligent household devices in the house through the UWB technology. Then, the intelligent home platform can accurately determine the position coordinates of the mobile terminal and the current room of the mobile terminal in the house based on the distances between the mobile terminal and the plurality of first intelligent home devices. And then the target intelligent household equipment determined by the mobile terminal is accurate, so that the control precision of the mobile terminal on the target intelligent household equipment is improved. In addition, after the mobile terminal determines the target intelligent household equipment, the target intelligent household equipment can be controlled according to different modes based on the type of the target intelligent household equipment. Namely, the mobile terminal can directly control the target intelligent household equipment and can also control the target intelligent household equipment through the intelligent household platform. Thus, more abundant application scenes can be met.
Fig. 11 is a block diagram of a mobile terminal 1100 according to an embodiment of the present disclosure. The mobile terminal 1100 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. The mobile terminal 1100 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like.
Generally, mobile terminal 1100 includes: a processor 1101 and a memory 1102.
Processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1101 may be implemented in at least one of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1101 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, the processor 1101 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1102 may include one or more computer-readable storage media, which may be non-transitory. Memory 1102 can also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer readable storage medium in the memory 1102 is configured to store at least one instruction, which is configured to be executed by the processor 1101 to implement the method for controlling the smart home device provided in the method embodiment of the present application.
In some embodiments, mobile terminal 1100 may also optionally include: a peripheral interface 1103 and at least one peripheral. The processor 1101, memory 1102 and peripheral interface 1103 may be connected by a bus or signal lines. Various peripheral devices may be connected to the peripheral interface 1103 by buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1104, touch display screen 1105, camera 1106, audio circuitry 1107, positioning component 1108, and power supply 1109.
The peripheral interface 1103 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1101 and the memory 1102. In some embodiments, the processor 1101, memory 1102, and peripheral interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1101, the memory 1102 and the peripheral device interface 1103 may be implemented on separate chips or circuit boards, which is not limited by this embodiment.
The Radio Frequency circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1104 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1104 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1104 may further include a circuit related to NFC (Near Field Communication), which is not limited in this application.
The display screen 1105 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1105 is a touch display screen, the display screen 1105 also has the ability to capture touch signals on or over the surface of the display screen 1105. The touch signal may be input to the processor 1101 as a control signal for processing. At this point, the display screen 1105 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, display 1105 may be one, providing the front panel of mobile terminal 1100; in other embodiments, the display screens 1105 may be at least two, respectively disposed on different surfaces of the mobile terminal 1100 or in a folded design; in still other embodiments, display 1105 may be a flexible display disposed on a curved surface or on a folded surface of mobile terminal 1100. Even further, the display screen 1105 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display screen 1105 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
Camera assembly 1106 is used to capture images or video. Optionally, camera assembly 1106 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1106 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1107 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1101 for processing or inputting the electric signals to the radio frequency circuit 1104 to achieve voice communication. The plurality of microphones may be disposed at different portions of the mobile terminal 1100 for stereo sound collection or noise reduction purposes. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1101 or the radio frequency circuit 1104 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1107 may also include a headphone jack.
Positioning component 1108 is used to locate the current geographic position of terminal 1100 for purposes of navigation or LBS (Location Based Service). The Positioning component 1108 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
Power supply 1109 is used to supply power to the various components of mobile terminal 1100. The power supply 1109 may be alternating current, direct current, disposable or rechargeable. When the power supply 1109 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration illustrated in fig. 11 does not constitute a limitation of mobile terminal 1100, and may include more or fewer components than those illustrated, or may combine certain components, or may employ a different arrangement of components.
Fig. 12 is a schematic structural diagram of an intelligent home platform provided in an embodiment of the present application. The smart home platform 1200 includes a Central Processing Unit (CPU)1201, a system memory 1204 including a Random Access Memory (RAM)1202 and a Read Only Memory (ROM)1203, and a system bus 1205 connecting the system memory 1204 and the central processing unit 1201. The smart home platform 1200 also includes a basic input/output system (I/O system) 1206, which facilitates transfer of information between devices within the computer, and a mass storage device 1207 for storing an operating system 1213, application programs 1214, and other program modules 1215.
The basic input/output system 1206 includes a display 1208 for displaying information and an input device 1209, such as a mouse, keyboard, etc., for user input of information. Wherein a display 1208 and an input device 1209 are connected to the central processing unit 1201 through an input-output controller 1210 coupled to the system bus 1205. The basic input/output system 1206 may also include an input/output controller 1210 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, an input-output controller 1210 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1207 is connected to the central processing unit 1201 through a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1207 and its associated computer-readable media provide non-volatile storage for the smart home platform 1200. That is, the mass storage device 1207 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. The system memory 1204 and mass storage device 1207 described above may be collectively referred to as memory.
According to various embodiments of the present application, smart home platform 1200 may also operate with remote computers connected to a network through a network, such as the internet. That is, intelligent home platform 1200 may connect to network 1212 through network interface unit 1211, which is coupled to system bus 1205, or may use network interface unit 1211 to connect to another type of network or remote computer system (not shown).
The memory further includes one or more programs, and the one or more programs are stored in the memory and configured to be executed by the CPU.
In some embodiments, a computer-readable storage medium is further provided, where a computer program is stored in the storage medium, and when executed by a processor, the computer program implements the steps of the control method for smart home devices in the foregoing embodiments. For example, the computer readable storage medium may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is noted that the computer-readable storage medium referred to in the embodiments of the present application may be a non-volatile storage medium, in other words, a non-transitory storage medium.
It should be understood that all or part of the steps for implementing the above embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The computer instructions may be stored in the computer-readable storage medium described above.
That is, in some embodiments, there is also provided a computer program product containing instructions, which when run on a computer, causes the computer to execute the steps of the control method of the smart home device described above.
It is to be understood that reference herein to "at least one" means one or more and "a plurality" means two or more. In the description of the embodiments of the present application, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in order to facilitate clear description of technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items having substantially the same functions and actions. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
The above-mentioned embodiments are provided not to limit the present application, and any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A control method of intelligent household equipment is characterized by being applied to a mobile terminal with an ultra-wideband UWB function, and the method comprises the following steps:
determining distances between the mobile terminal and a plurality of first intelligent household devices in a house and device identifications of the first intelligent household devices through a UWB technology;
sending the distances between the mobile terminal and the plurality of first intelligent household devices and the device identifications of the plurality of first intelligent household devices to an intelligent household platform;
receiving the position coordinates of the mobile terminal sent by the intelligent home platform and the position coordinates of a plurality of second intelligent home devices in a target room, wherein the target room is a room where the mobile terminal is located currently in the house;
and controlling target intelligent household equipment in the plurality of second intelligent household equipment based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household equipment.
2. The method according to claim 1, wherein the determining, by UWB technology, distances between the mobile terminal and a plurality of first smart home devices in a house and device identifications of the plurality of first smart home devices respectively comprises:
sending UWB ranging signals to the plurality of first smart home devices;
receiving UWB response signals sent by the plurality of first intelligent household devices, wherein the UWB response signals carry device identifications of the corresponding first intelligent household devices;
and determining the distances between the mobile terminal and the plurality of first intelligent household devices respectively based on the sending time of the UWB ranging signals and the receiving time of the UWB response signals from the first intelligent household devices.
3. The method according to claim 1 or 2, wherein the controlling a target smart home device of the plurality of second smart home devices based on the location coordinates of the mobile terminal and the location coordinates of the plurality of second smart home devices comprises:
determining deviation angles between the mobile terminal and the plurality of second intelligent household devices respectively based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household devices;
determining the target intelligent household equipment from the plurality of second intelligent household equipment based on the deviation angles between the mobile terminal and the plurality of second intelligent household equipment respectively;
sending a UWB control signal to the target intelligent household equipment to control the target intelligent household equipment under the condition that the type of the target intelligent household equipment is contained in the first type set;
and under the condition that the type of the target intelligent household equipment is contained in the second type set, controlling the target intelligent household equipment through the intelligent household platform.
4. The method according to claim 3, wherein the determining the target smart home device from the plurality of second smart home devices based on the deviation angles between the mobile terminal and the plurality of second smart home devices respectively comprises:
under the condition that at least one second intelligent household device with a deviation angle smaller than an angle threshold exists in the plurality of second intelligent household devices, selecting a second intelligent household device with the smallest deviation angle with the mobile terminal from the at least one second intelligent household device;
if the number of the selected second intelligent household devices is 1, determining the selected second intelligent household devices as the target intelligent household devices;
if the number of the selected second smart home devices is larger than 1, determining the distance between each selected second smart home device and the mobile terminal based on the position coordinates of the mobile terminal and the position coordinates of each selected second smart home device, and determining the second smart home device with the smallest distance between the selected second smart home devices and the mobile terminal as the target smart home device.
5. The method of claim 1, wherein the method further comprises:
receiving a UWB equipment binding signal sent by third intelligent household equipment to be bound, wherein the UWB equipment binding signal carries an equipment identifier of the third intelligent household equipment;
acquiring the position coordinates of the third intelligent household equipment and room identifiers of rooms in which the third intelligent household equipment is located in the house;
and sending the device identification and the position coordinate of the third smart home device and the room identification of the room in the house to the smart home platform to instruct the smart home platform to store the device identification and the position coordinate of the third smart home device and the room identification of the room in the house.
6. The method of claim 5, wherein the obtaining the location coordinates of the third smart home device and the room identification of the room in which the third smart home device is located in the house comprises:
displaying a first user interface comprising a space division map of the house;
in response to a selection operation of a first position in the space division map, determining position coordinates of the first position and room identification of a room in which the first position is located;
and determining the position coordinates of the first position as the position coordinates of the third intelligent household equipment, and determining the room identifier of the room where the first position is located as the room identifier of the room where the third intelligent household equipment is located in the room.
7. A control method of intelligent household equipment is applied to an intelligent household platform, and the method comprises the following steps:
receiving distances between a mobile terminal with an ultra-wideband UWB function and a plurality of first intelligent household devices in a house and sent by the mobile terminal, and device identifications of the first intelligent household devices, wherein the distances between the mobile terminal and the first intelligent household devices are determined by the mobile terminal through a UWB technology;
determining the position coordinates of the mobile terminal based on the distances between the mobile terminal and the plurality of first intelligent household devices and the device identifications of the plurality of first intelligent household devices;
determining the position coordinates of a plurality of second smart home devices located in a target room based on the position coordinates of the mobile terminal, wherein the target room is a room where the mobile terminal is located currently in the house;
and sending the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household devices to the mobile terminal to indicate the mobile terminal to control target intelligent household devices in the plurality of second intelligent household devices.
8. The method according to claim 7, wherein the determining the position coordinates of the mobile terminal based on the distances between the mobile terminal and the first smart home devices and the device identifications of the first smart home devices comprises:
acquiring the position coordinates of the plurality of first intelligent household devices based on the device identifications of the plurality of first intelligent household devices;
determining a plurality of candidate position coordinates of the mobile terminal based on the distances between the mobile terminal and the plurality of first smart home devices respectively and the position coordinates of the plurality of first smart home devices;
determining a residual square sum corresponding to each candidate position coordinate through a following formula based on the distances between the mobile terminal and the plurality of first smart home devices and the plurality of candidate position coordinates, and determining the candidate position coordinate with the minimum residual square sum in the plurality of candidate position coordinates as the position coordinate of the mobile terminal;
Figure FDA0003492426770000041
wherein, in the formula, f represents the sum of squares of residuals, d ', corresponding to any candidate position coordinate in the candidate position coordinates'iRepresenting a distance between the mobile terminal and an ith one of the plurality of first smart home devices, diRepresenting the distance between any candidate position coordinate and the position coordinate of the ith first smart home device, x representing the abscissa of any candidate position coordinate, y representing the ordinate of any candidate position coordinate, and xiAn abscissa, y, representing the position coordinate of the ith first smart home deviceiAnd the vertical coordinate represents the position coordinate of the ith first intelligent household equipment, and N represents the number of the first intelligent household equipment.
9. A mobile terminal, characterized in that the mobile terminal is ultra-wideband UWB enabled, the mobile terminal comprising a processor configured to:
determining distances between the mobile terminal and a plurality of first intelligent household devices in a house and device identifications of the first intelligent household devices through a UWB technology;
sending the distances between the mobile terminal and the plurality of first intelligent household devices and the device identifications of the plurality of first intelligent household devices to an intelligent household platform;
receiving the position coordinates of the mobile terminal sent by the intelligent home platform and the position coordinates of a plurality of second intelligent home devices in a target room, wherein the target room is a room where the mobile terminal is located currently in the house;
and controlling target intelligent household equipment in the plurality of second intelligent household equipment based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household equipment.
10. The utility model provides an intelligent home platform, its characterized in that, intelligent home platform includes the treater, the treater is used for:
receiving distances between a mobile terminal with an ultra-wideband UWB function and a plurality of first intelligent household devices in a house and sent by the mobile terminal, and device identifications of the first intelligent household devices, wherein the distances between the mobile terminal and the first intelligent household devices are determined by the mobile terminal through a UWB technology;
determining the position coordinates of the mobile terminal based on the distances between the mobile terminal and the plurality of first intelligent household devices and the device identifications of the plurality of first intelligent household devices;
determining the position coordinates of a plurality of second smart home devices located in a target room based on the position coordinates of the mobile terminal, wherein the target room is a room where the mobile terminal is located currently in the house;
and sending the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household devices to the mobile terminal to indicate the mobile terminal to control target intelligent household devices in the plurality of second intelligent household devices.
CN202210100928.1A 2022-01-27 2022-01-27 Control method of intelligent household equipment, mobile terminal and intelligent household platform Active CN114466304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210100928.1A CN114466304B (en) 2022-01-27 2022-01-27 Control method of intelligent household equipment, mobile terminal and intelligent household platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210100928.1A CN114466304B (en) 2022-01-27 2022-01-27 Control method of intelligent household equipment, mobile terminal and intelligent household platform

Publications (2)

Publication Number Publication Date
CN114466304A true CN114466304A (en) 2022-05-10
CN114466304B CN114466304B (en) 2024-03-26

Family

ID=81412473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210100928.1A Active CN114466304B (en) 2022-01-27 2022-01-27 Control method of intelligent household equipment, mobile terminal and intelligent household platform

Country Status (1)

Country Link
CN (1) CN114466304B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024046171A1 (en) * 2022-09-02 2024-03-07 华为技术有限公司 Information processing method, host device, and mobile device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634903A (en) * 2013-11-22 2014-03-12 中国人民解放军理工大学 Noise canceling and positioning method of low-power-consumption small-scale equipment
CN104155938A (en) * 2014-07-21 2014-11-19 惠州Tcl移动通信有限公司 Management method and system for household devices
CN106772249A (en) * 2016-12-28 2017-05-31 上海百芝龙网络科技有限公司 A kind of intelligent home control system based on acoustic location
CN108600059A (en) * 2018-04-24 2018-09-28 Oppo广东移动通信有限公司 Apparatus control method and Related product
CN109407541A (en) * 2019-01-08 2019-03-01 京东方科技集团股份有限公司 The control method and device of smart home device
CN110262274A (en) * 2019-07-22 2019-09-20 青岛海尔科技有限公司 Smart home device control display methods and system based on Internet of Things operating system
CN110442030A (en) * 2018-05-02 2019-11-12 王宁 Method for controlling home equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634903A (en) * 2013-11-22 2014-03-12 中国人民解放军理工大学 Noise canceling and positioning method of low-power-consumption small-scale equipment
CN104155938A (en) * 2014-07-21 2014-11-19 惠州Tcl移动通信有限公司 Management method and system for household devices
CN106772249A (en) * 2016-12-28 2017-05-31 上海百芝龙网络科技有限公司 A kind of intelligent home control system based on acoustic location
CN108600059A (en) * 2018-04-24 2018-09-28 Oppo广东移动通信有限公司 Apparatus control method and Related product
CN110442030A (en) * 2018-05-02 2019-11-12 王宁 Method for controlling home equipment
CN109407541A (en) * 2019-01-08 2019-03-01 京东方科技集团股份有限公司 The control method and device of smart home device
CN110262274A (en) * 2019-07-22 2019-09-20 青岛海尔科技有限公司 Smart home device control display methods and system based on Internet of Things operating system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SHIYI GENG等: "Research on Precise Positioning of Home Service Robots", 2013 5TH INTERNATIONAL CONFERENCE ON INTELLIGENT HUMAN-MACHINE SYSTEMS AND CYBERNETICS *
刘硕;赵彦博;杜佳林;肖玉婷;岳梦歌;: "基于蓝牙的物联网智能家居系统设计", 通信与信息技术, no. 02 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024046171A1 (en) * 2022-09-02 2024-03-07 华为技术有限公司 Information processing method, host device, and mobile device

Also Published As

Publication number Publication date
CN114466304B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
US20220020339A1 (en) Display method and apparatus
CN105100390B (en) A method of control mobile terminal
CN111602344B (en) Bluetooth communication method and dual-mode Bluetooth terminal
CN110495819B (en) Robot control method, robot, terminal, server and control system
US8665840B2 (en) User interface based on magnetic induction
JP5916261B2 (en) File transmission method, system, and control apparatus
US11954200B2 (en) Control information processing method and apparatus, electronic device, and storage medium
CN106713598B (en) Instruction transmission method and device based on indication direction and intelligent equipment
KR101680667B1 (en) Mobile device and method for controlling the mobile device
CN106465327B (en) Control method, device and system of mobile terminal
CN105242666B (en) A kind of method and apparatus that control equipment is mobile
CN114466304B (en) Control method of intelligent household equipment, mobile terminal and intelligent household platform
KR101632220B1 (en) A mobile device, a method for controlling the mobile device, and a control system having the mobile device
KR101549027B1 (en) Mobile device and method for controlling the mobile device
CN110095792B (en) Method and device for positioning terminal
KR20170083328A (en) Mobile device and method for controlling the mobile device
EP4030790A1 (en) Method and apparatus for generating semantic map, and readable storage medium
CN108614263A (en) Mobile terminal, method for detecting position and Related product
CN111030202B (en) Wireless charging method and device, electronic equipment and storage medium
CN109451295A (en) A kind of method and system obtaining virtual information
KR20120084164A (en) Method for using contents with mobile terminal by using localization and system thereof
KR101556179B1 (en) Mobile device and method for controlling the mobile device
CN115174299B (en) Binding method of household equipment and electronic equipment
WO2023174429A1 (en) Intelligent-device control method and electronic device
CN114844977B (en) Position marking method of household equipment, electronic equipment and storage medium

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