CN114466304B - 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
CN114466304B
CN114466304B CN202210100928.1A CN202210100928A CN114466304B CN 114466304 B CN114466304 B CN 114466304B CN 202210100928 A CN202210100928 A CN 202210100928A CN 114466304 B CN114466304 B CN 114466304B
Authority
CN
China
Prior art keywords
intelligent home
mobile terminal
home devices
position coordinates
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210100928.1A
Other languages
Chinese (zh)
Other versions
CN114466304A (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

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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

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 identifiers of the plurality of first intelligent household devices through a UWB technology, sending the distances to an intelligent household platform, receiving position coordinates of the mobile terminal and position coordinates of a plurality of second intelligent household devices in a target room, which are sent by the intelligent household platform, and controlling the target intelligent household devices based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent household devices. Since UWB technology is to transmit data using extremely narrow pulses on the order of nanoseconds to microseconds, UWB signals have a high spatial resolution. Therefore, the distance between the mobile terminal and the plurality of first intelligent home devices can be accurately determined through the UWB technology, and then the target intelligent home devices 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 household equipment, a mobile terminal and an intelligent household platform.
Background
With the development of the internet of things technology, the mobile terminal can send control signals to the smart home devices through modes such as NFC (Near Field Communication, short-range communication), RFID (Radio Frequency of Identification, radio frequency identification) communication, bluetooth communication and the like, so as to control the smart home devices. However, when the mobile terminal sends a control signal to the intelligent home equipment by adopting the method, the target intelligent home equipment cannot be accurately determined, so that the control precision of the mobile terminal on the target intelligent home equipment is reduced.
Disclosure of Invention
The application provides a control method of intelligent household equipment, a mobile terminal and an intelligent household platform, which can solve the problem that the control precision of a mobile terminal on target intelligent household equipment in the related technology is low. The technical scheme is as follows:
in one aspect, a control method of an intelligent home device is provided, which is applied to a mobile terminal with an ultrawide band (UWB) function, and the method includes:
determining distances between the mobile terminal and a plurality of first intelligent home devices in a house respectively and device identifiers of the plurality of first intelligent home devices through a UWB technology;
The distances between the mobile terminal and the plurality of first intelligent home devices and the device identifiers of the plurality of first intelligent home devices are sent to an intelligent home platform;
receiving position coordinates of the mobile terminal and position coordinates of a plurality of second intelligent home devices in a target room, wherein the position coordinates are sent by the intelligent home platform, and the target room is a room in which the mobile terminal is currently located 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 home equipment is provided, and is applied to an intelligent home platform, and the method comprises the following steps:
receiving distances between the mobile terminal with UWB function and a plurality of first intelligent home devices in a house respectively and device identifiers of the plurality of first intelligent home devices, wherein the distances between the mobile terminal and the plurality of first intelligent home devices are determined by the mobile terminal through UWB technology;
determining position coordinates of the mobile terminal based on distances between the mobile terminal and the plurality of first intelligent home devices and device identifiers of the plurality of first intelligent home devices respectively;
Determining position coordinates of a plurality of second intelligent home devices positioned in a target room based on the position coordinates of the mobile terminal, wherein the target room is a room in which the mobile terminal is positioned in the house at present;
and 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 instruct the mobile terminal to control target intelligent home devices in the plurality of second intelligent home devices.
On the other hand, a control device of an intelligent home device is provided, which is applied to a mobile terminal with UWB function, and the device comprises:
the determining module is used for determining the distances between the mobile terminal and a plurality of first intelligent home devices in the house and the device identifiers of the plurality of first intelligent home 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 identifiers of the plurality of first intelligent home devices to the intelligent home platform;
the first receiving module is used for receiving the position coordinates of the mobile terminal and the position coordinates of a plurality of second intelligent home devices in a target room, wherein the position coordinates are sent by the intelligent home platform, and the target room is a room in which the mobile terminal is positioned in the house at present;
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 control device of intelligent household equipment is provided, is applied to intelligent household platform, the device includes:
the receiving module is used for receiving distances between the mobile terminal and a plurality of first intelligent home devices in a house respectively and the device identifiers of the plurality of first intelligent home devices, wherein the distances between the mobile terminal and the plurality of first intelligent home devices are determined by the mobile terminal through a UWB technology;
the first determining module is used for determining position coordinates of the mobile terminal based on distances between the mobile terminal and the plurality of first intelligent home devices and device identifiers of the plurality of first intelligent home devices;
the second determining module is used for determining the position coordinates of a plurality of second intelligent home devices positioned in a target room based on the position coordinates of the mobile terminal, wherein the target room is a room in which the mobile terminal is positioned in the house at present;
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 instruct 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-bandwidth UWB functionality, the mobile terminal comprising a processor configured to:
determining distances between the mobile terminal and a plurality of first intelligent home devices in a house respectively and device identifiers of the plurality of first intelligent home devices through a UWB technology;
the distances between the mobile terminal and the plurality of first intelligent home devices and the device identifiers of the plurality of first intelligent home devices are sent to an intelligent home platform;
receiving position coordinates of the mobile terminal and position coordinates of a plurality of second intelligent home devices in a target room, wherein the position coordinates are sent by the intelligent home platform, and the target room is a room in which the mobile terminal is currently located 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.
In another aspect, an intelligent home platform is provided, the intelligent home platform including a processor configured to:
receiving distances between the mobile terminal and a plurality of first intelligent home devices in a house and device identifiers of the plurality of first intelligent home devices, wherein the distances between the mobile terminal and the plurality of first intelligent home devices are determined by the mobile terminal through a UWB technology, and the distances are sent by the mobile terminal with an ultra-bandwidth UWB function;
determining position coordinates of the mobile terminal based on distances between the mobile terminal and the plurality of first intelligent home devices and device identifiers of the plurality of first intelligent home devices respectively;
determining position coordinates of a plurality of second intelligent home devices positioned in a target room based on the position coordinates of the mobile terminal, wherein the target room is a room in which the mobile terminal is positioned in the house at present;
and 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 instruct the mobile terminal to control target intelligent home devices in the plurality of second intelligent home devices.
On the other hand, a control system of 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, and the computer program is executed by a processor to implement the steps of the control method of the smart home device.
In another aspect, a computer program product is provided comprising instructions which, when run on a computer, cause the computer to perform the steps of the method of controlling a smart home device as described above.
The technical scheme that this application provided can bring following beneficial effect at least:
in this application, since UWB technology is to transmit data using extremely narrow pulses in the order of nanoseconds to microseconds, UWB signals have a high spatial resolution. Therefore, the mobile terminal can accurately determine the distances between the mobile terminal and the plurality of first intelligent home devices in the house respectively through the UWB technology. Then, the intelligent home platform can accurately determine the position coordinates of the mobile terminal and the room where the mobile terminal is currently located in the house based on the distances between the mobile terminal and the plurality of first intelligent home devices respectively. And the target intelligent home equipment determined by the mobile terminal is more accurate, so that the control precision of the mobile terminal on the target intelligent home equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a system architecture provided in an embodiment of the present application;
fig. 2 is a flowchart of a control method of an intelligent home device provided in an embodiment of the present application;
fig. 3 is a schematic diagram of determining position coordinates of a mobile terminal according to an embodiment of the present application;
FIG. 4 is a schematic view of a spatial division diagram of a house provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of determining room identity provided by an embodiment of the present application;
fig. 6 is a schematic diagram of a control target smart home device provided in an embodiment of the present application;
fig. 7 is a schematic diagram of obtaining information through an intelligent home platform according to an embodiment of the present application;
fig. 8 is a schematic diagram of binding a third smart home device according to an embodiment of the present application;
Fig. 9 is a schematic structural diagram of a control device of an intelligent home device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a control device of another smart home device 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 according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Before explaining the control method of the smart home device provided by the embodiment of the present application in detail, the system architecture provided by the embodiment of the present application is first described.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating a system architecture 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 positioned in a house, wherein the mobile terminal 101 and the plurality of intelligent home devices 103 interact 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 or 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 UWB technology 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 location coordinates of the mobile terminal 101 based on 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 determine location coordinates of a room in which the mobile terminal 101 is currently located in the house, that is, a target room, and a plurality of smart home devices located in the target room, based on the location coordinates of the mobile terminal 101. 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 and the position coordinates of the plurality of smart home devices in the target room sent by the smart home platform 102, and control the target smart home device.
The mobile terminal 101 may be any electronic product that can perform man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, a voice interaction or a handwriting device, for example, a PC (Personal Computer ), a mobile phone, a smart phone, a PDA (Personal DigitalAssistant, a personal digital assistant), a palm computer PPC (Pocket PC), a tablet computer, etc.
The smart home platform 102 may be an independent server, a server cluster or a distributed system formed by a plurality of physical servers, a cloud server providing cloud services, a cloud database, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network ), basic cloud computing services such as big data and an 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, etc.
Those skilled in the art will appreciate that the above-mentioned mobile terminal 101, smart home platform 102 and smart home device 103 are only examples, and that other mobile terminals, smart home platforms or smart home devices that may be present in the present application or in the future are also included in the scope of the embodiments of the present application and are incorporated herein by reference.
It should be noted that, the system architecture described in the embodiments of the present application is for more clearly describing the technical solution of the embodiments of the present application, and does not constitute a limitation on the technical solution provided in the embodiments of the present application, and those skilled in the art can know that, with the evolution of the system architecture, the technical solution provided in the embodiments of the present application is equally applicable to similar technical problems.
Next, a control method of the smart home device provided by the embodiment of the present application is explained in detail.
Fig. 2 is a flowchart of a control method of an intelligent home device provided in an embodiment of the present application, please refer to fig. 2, and the method includes the following steps.
Step 201: the method comprises the steps that the distance between the mobile terminal and a plurality of first intelligent home devices in a house and the device identification of the plurality of first intelligent home devices are determined through a UWB technology, and the distance between the mobile terminal and the plurality of first intelligent home devices and the device identification of the plurality of first intelligent home devices are sent to an intelligent home 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 longer than a duration threshold, the mobile terminal determines the distances between the mobile terminal and a plurality of first intelligent home devices in the house and the device identifiers of the plurality of first intelligent home devices respectively through the UWB technology, and sends the distances between the mobile terminal and the plurality of first intelligent home devices and the device identifiers of the plurality of first intelligent home devices to the intelligent home platform.
The pointing operation of the user can be triggered by pointing the mobile terminal to any intelligent home device in the house, or can also be triggered by swinging the mobile terminal and pointing the mobile terminal to any intelligent home device in the house. Wherein the time duration threshold is set in advance. Moreover, the duration threshold may also 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 intelligent home device receives the UWB ranging signals sent by the mobile terminal, UWB response signals are sent to the mobile terminal, and the UWB response signals carry the device identifiers of the corresponding first intelligent home devices. The mobile terminal receives UWB response signals sent by the plurality of first intelligent home devices, and determines the distance between the mobile terminal and the plurality of first intelligent home devices respectively based on the sending time of UWB ranging signals and the receiving time of UWB response signals from the plurality of first intelligent home devices.
Because the plurality of first intelligent home devices are all internally provided with UWB components, the UWB components are used for receiving and transmitting UWB signals, after each first intelligent home device receives UWB ranging signals transmitted by the mobile terminal, UWB response signals can be transmitted to the mobile terminal through the built-in UWB components, and the UWB response signals carry device identifiers of the corresponding first intelligent home devices.
Because the distance between the mobile terminal and each first smart home device is determined in the same manner, the manner of determining the distance between the mobile terminal and one of the first smart home devices is described below by taking one of the first smart home devices as an example. For convenience of description, the first smart home device will be 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 based on the sending time of the UWB ranging signal and the receiving time of the UWB response signal from the first intelligent home device A, and further determines a distance between the mobile terminal and the first intelligent 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).
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, since UWB signals are electromagnetic wave signals and the propagation speed of electromagnetic wave signals is equal to the speed of light, c is fixed.
The device identifier is used for uniquely identifying the smart home device, and the device identifier can be the number, manufacturer, brand, model and the like of the smart home device or can be obtained by combining the 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 identifiers of the plurality of first intelligent home devices, and determines position coordinates of the mobile terminal based on the distances between the mobile terminal and the plurality of first intelligent home devices respectively and the device identifiers of the plurality of first intelligent home devices.
After receiving distances between the mobile terminal and a plurality of first intelligent home devices in the house and device identifiers of the plurality of first intelligent home devices, which are sent by the mobile terminal, the intelligent home platform acquires position coordinates of the plurality of first intelligent home devices based on the device identifiers of the plurality of first intelligent home devices. And then, determining the position coordinates of the mobile terminal based on the distances between the mobile terminal and the plurality of first intelligent home devices and the position coordinates of the plurality of first intelligent home devices.
The intelligent home platform stores the corresponding relation between the device identification and the position coordinates of the intelligent home device. Therefore, after receiving the device identifiers of the plurality of first intelligent home devices, the intelligent home platform acquires the position coordinates of the plurality of first intelligent home devices from the corresponding relation between the stored device identifiers and the position coordinates based on the device identifiers of the plurality of first intelligent 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 and the position coordinates of the plurality of first smart home devices, further determines a sum of squares of residuals corresponding to each candidate position coordinate based on distances between the mobile terminal and the plurality of first smart home devices 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 candidate location coordinates of the mobile terminal according to the following formula (2).
m=(A T A) -1 A T b(2)
Wherein in the above formula (2), m represents any one of the plurality of candidate position coordinates,
it should be noted that x represents the abscissa of any candidate position coordinate, y represents the ordinate of any candidate position coordinate, and x 1 Abscissa, y representing position coordinates of a first smart home device 1 Ordinate, d representing the position coordinates of the first smart home device 1 ' represents a distance between the mobile terminal and the first smart home device, and N represents a number of the plurality of first smart home devices.
That is, the smart home platform may input 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) respectively, so as to obtain a candidate position coordinate of the mobile terminal. The smart home platform can randomly combine 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, so as to input the distance 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, input distances between the mobile terminal and the selected first smart home devices, respectively, and 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 above formula (2) only include the elements corresponding to the selected first smart home device, and do not include the elements corresponding to the 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, so that 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, respectively, a system of equations 1 may be created, where the system of equations 1 includes a plurality of equations that are in one-to-one correspondence with the plurality of first smart home devices. Subtracting the i-th equation and the i+1-th equation included in the equation set 1 yields 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 using a least square method, and the expression of a plurality of candidate position coordinates of the mobile terminal is m= (A) T A) - 1 A T b。
Because the distance between the mobile terminal and each first intelligent home device may have an error, the matrix 1 can be solved by adopting a least square method, so that the influence caused by the error is reduced, and the accuracy of the determined position coordinates 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 the residual square sum corresponding to each candidate position coordinate. Since the sum of squares of residuals is used to characterize the degree of fitting between the candidate location coordinates of the mobile terminal and the location coordinates of the mobile terminal, i.e. if the sum of squares of residuals corresponding to a certain candidate location coordinate is smaller, it is indicated that the candidate location coordinate is closer to the location coordinate of the mobile terminal. Therefore, the candidate position coordinates having the smallest sum of squares of residuals corresponding to the plurality of candidate position coordinates are determined as the position coordinates of the mobile terminal.
As one example, the smart home platform may determine the sum of squares of residuals according to equation (3) below.
Wherein in the above formula (3), f represents the sum of squares of residuals corresponding to any one of the plurality of candidate position coordinates, d i ' represents a distance, d, between the mobile terminal and an ith first smart home device of the plurality of first smart home devices i Representing the distance between any candidate position coordinate and the position coordinate of the ith first intelligent home equipment, wherein x represents the abscissa of any candidate position coordinate, y represents the ordinate of any candidate position coordinate, and x is the coordinate of the first intelligent home equipment i Abscissa representing position coordinates of the ith first smart home device, y i And the ordinate representing the position coordinates of the ith first smart home device, and N representing the number of the plurality of first smart home devices.
The manner in which the smart home platform determines the location 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 ways. The smart home platform obtains 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 position coordinates of the plurality of first smart home devices from the correspondence between the stored device identifications and the position coordinates based on the device identifications of the plurality of first smart home devices. And then, drawing a plurality of circles corresponding to the first intelligent home devices one by taking the position coordinates of the first intelligent home devices as dots and the distance between the mobile terminal and the first intelligent home devices as a radius, and determining the position coordinates of the intersection points of the circles as the position coordinates of the mobile terminal.
For example, referring to fig. 3, fig. 3 is a schematic diagram of determining location coordinates of a mobile terminal according to an embodiment of the present application. 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 smart home platform uses the position coordinates (x 1 ,y 1 ) Circle 1 is drawn with a radius of 1 meter as a circle point, and the position coordinates (x 2 ,y 2 ) Is a round dot, a circle 2 is drawn with a radius of 3 meters, and the position coordinates (x 3 ,y 3 ) Circle 3 is drawn with a radius of 5 meters as a circle point. The position coordinates of the intersection point A of the circles 1, 2 and 3 are the position coordinates of the mobile terminal.
It should be noted that, 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 by taking a certain point of the house as an origin. 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 the position coordinates of a plurality of second intelligent home devices positioned 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 the room where the mobile terminal is currently positioned in the house.
In some embodiments, the smart home platform determines a room identification of a room in which the mobile terminal is currently located in the house based on the location coordinates of the mobile terminal, so as to obtain the room identification of the target room. Based on the room identification of the target room, the intelligent home platform acquires the equipment identifications of a plurality of second intelligent home equipment in the target room from the corresponding relation between the stored room identifications and the equipment identifications. Based on the above description, the smart home platform further stores a correspondence between device identifiers of the smart home devices and the position coordinates, 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 correspondence between the stored device identifiers and the position coordinates based on the device identifiers of the plurality of second smart home devices. And then, 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.
The intelligent home platform stores the position coordinate ranges of all rooms in the house, so the intelligent home platform can compare the position coordinates of the mobile terminal with the position coordinate ranges of all rooms in the house, and the room identification of the target room can be determined. That is, if the position coordinates of the mobile terminal fall within the position coordinate range of a certain room, the room identification of the room is determined as the room identification of the target room.
The location coordinate range of each room in the house is determined in advance by the smart home platform based on the floor size of each room in the house and the floor shape of the room. That is, the smart home platform stores a spatial division map (also referred to as a house pattern) of the house, establishes a coordinate system with a point in the spatial division map of the house as an origin, and, when the floor shape of the room is square or rectangular, determines a first minimum distance and a first maximum distance from the origin of the coordinate system in the horizontal axis direction of the room based on the floor size of the room, determines the first minimum distance as a minimum abscissa of the position coordinate range of the room, and determines the first maximum distance as a maximum abscissa of the position coordinate range of the room for any room. Similarly, a second minimum distance and a second maximum distance of the room from the origin of the coordinate system in the longitudinal axis direction are determined, the second minimum distance is determined as the minimum ordinate of the position coordinate range of the room, and the second maximum distance is determined as the maximum ordinate of the position coordinate range of the room, so that the position coordinate range of the room is obtained.
For example, referring to fig. 4, fig. 4 is a schematic diagram of a spatial 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 sleeper in the spatial division diagram of the house as the origin. Taking the main couch as an example, the first minimum distance of the main couch from the origin of the coordinate system in the horizontal axis direction is 0 and the first maximum distance is 3400mm. Therefore, the minimum abscissa of the position coordinate range of the main lying is 0, and the maximum abscissa is 3400. Similarly, a second minimum distance of 0 and a second maximum distance of 4000mm from the origin of the coordinate system in the direction of the longitudinal axis of the main sleeper is determined. Therefore, the minimum ordinate of the position coordinate range of the main lying is 0, and the maximum ordinate is 4000.
The above description is given taking the floor shape of the room as square and rectangle as an example. Of course, the floor shape of the room may be another shape, and in this case, there may be a plurality of coordinate ranges on the horizontal axis and a plurality of coordinate ranges on the vertical axis, and the floor shape of the room may be specifically determined.
In addition, the above determination of the position coordinate range of each room by the spatial division map of the house is an example. In other embodiments, the user may also determine and report the information 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 transmit 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 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 do not need to be sent to the mobile terminal. That is, the smart home platform may shield the mobile terminal from controlling other smart home devices in the non-target room. Therefore, the mobile terminal can be prevented from performing 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 home equipment is configured in the house, the position of the intelligent home equipment is basically unchanged, so that the corresponding relation between the equipment identification and the position coordinate of the intelligent home equipment can be stored. The corresponding relation between the equipment identifier and the position coordinates and the corresponding relation between the room identifier and the equipment identifier are determined in advance for the intelligent home platform. For example, the correspondence between the device identifier and the location coordinate, and the correspondence 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, where the binding process of the smart home device will be described below, and will not be described herein.
The room identifier is used to uniquely identify the room, and may be the number, name, floor space, type, etc. of the room, or may be obtained by a combination of these pieces of information.
For example, please refer to fig. 5, fig. 5 is a schematic diagram for determining a room identifier according to an embodiment of the present application. In fig. 5, a user selects an existing house or a newly-built house through a mobile terminal to determine a spatial division map of the house. If the user determines a spatial division map of the house through the mobile terminal, a room identification may be assigned to each room within the house based on the spatial division map of the house. If the user does not select an existing house or newly build a house through the mobile terminal, that is, the user does not determine a space division diagram of the house through the mobile terminal, room identifications of a plurality of 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 a plurality of second intelligent home devices in a 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 the deviation angles between the mobile terminal and 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, and further determines the target intelligent home device from the plurality of second intelligent home devices based on the deviation angles between the mobile terminal and the plurality of second intelligent home devices. Then, the target smart home device is controlled.
Because the plurality of second intelligent 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 intelligent home devices, the deviation angle between the mobile terminal and the second intelligent home devices is determined by taking the horizontal plane where the mobile terminal is located as a reference plane. That is, the offset angle between the mobile terminal and the second smart home device is an angle between a line connecting a center point of the mobile terminal and a center point of the second smart home device and a reference plane (horizontal plane).
The method for determining the deviation angle between the mobile terminal and each second smart home device is the same, so that the method for determining the deviation angle between the mobile terminal and one of the second smart home devices is described below by taking one of the second smart home devices as an example. For convenience of description, the second smart home device will be 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).
In the above formula (4), θ represents a deviation angle between the mobile terminal and the second smart home device B, and y p Representing the position of a second smart home device BOrdinate of the coordinates, y represents ordinate of the position coordinates of the mobile terminal, x p And x represents the abscissa of the position coordinate of the mobile terminal.
In some embodiments, the mobile terminal determines, based on the deviation angles between the mobile terminal and the plurality of second smart home devices, the implementation procedure of the target smart home device from the plurality of second smart home devices, including: and under the condition that at least one second intelligent home device with the deviation angle smaller than the angle threshold value exists between the plurality of second intelligent home devices and the mobile terminal, selecting the second intelligent home device with the smallest deviation angle between the plurality of second intelligent home devices and the mobile terminal from the at least one second intelligent home device, if the number of the selected second intelligent home devices is 1, determining the selected second intelligent home device as the target intelligent home device, and if the number of the selected second intelligent home devices is greater than 1, determining the distance between each selected second intelligent home device and the mobile terminal based on the position coordinates of the mobile terminal and the position coordinates of each selected second intelligent home device, and determining the second intelligent home device with the smallest distance between the selected second intelligent home device and the mobile terminal as the target intelligent home device.
After determining the deviation angles between the mobile terminal and the plurality of second intelligent home devices, the mobile terminal judges whether at least one second intelligent home device with the deviation angle smaller than an angle threshold value exists in the plurality of second intelligent home devices. And if at least one second intelligent home device with the deviation angle smaller than the angle threshold value between the mobile terminal and the second intelligent home devices does not exist in the plurality of second intelligent home devices, indicating that the target intelligent home device does not exist in the plurality of second intelligent home devices, and ending the operation. And if at least one second intelligent home device with the deviation angle smaller than the angle threshold value with the mobile terminal exists in the plurality of second intelligent home devices, indicating that a target intelligent home device exists in the plurality of second intelligent home devices. At this time, the mobile terminal selects a second smart home device having the smallest deviation angle from the mobile terminal from the at least one second smart home device. And if only one second intelligent home equipment is selected, determining the selected second intelligent home equipment as the target intelligent home equipment. And if at least two second intelligent home devices are selected, determining the second intelligent home device with the smallest distance between the second intelligent home device and the mobile terminal as the target intelligent home 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 indicated to be within the control range of the mobile terminal. At this time, the mobile terminal can control the smart home device, that is, the target smart home device exists. If the deviation angle between the intelligent home equipment and the mobile terminal is larger than the angle threshold, the position of the intelligent home equipment is not in the control range of the mobile terminal, and at the moment, the mobile terminal cannot control the intelligent home equipment, namely, the target intelligent home equipment does not exist.
The user triggers the mobile terminal to control the target intelligent home equipment by pointing the mobile terminal to the intelligent home equipment in the house, so that the target intelligent home equipment can be determined through the deviation angles between the mobile terminal and the second intelligent home equipment. And under the condition that the deviation angle between at least two second intelligent home devices and the mobile terminal is minimum, determining the second intelligent home device with the minimum distance between the at least two second intelligent home devices and the mobile terminal as the target intelligent home device in order to improve the control precision of the mobile terminal on the target intelligent home device. In this way, the target smart home device can be preferentially determined from the at least two second smart home devices.
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).
In the above formula (5), S represents a distance between the mobile terminal and any selected second smart home device, and x q And x represents the abscissa of the position coordinate of the mobile terminal, y q And representing the ordinate of the position coordinate of the second intelligent home equipment, and y represents the ordinate of the position coordinate of the mobile terminal.
It should be noted that, the above manner is that 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 position coordinates are sent to the mobile terminal. And the mobile terminal determines 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 determining the position coordinates of the mobile terminal and the position coordinates of the plurality of second smart home devices, the smart home platform may determine the target smart home device 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, the device identification of the target intelligent home device is sent to the mobile terminal. Thus, after the mobile terminal receives the device identifier of the target intelligent home device sent by the intelligent home platform, the target intelligent home device can be controlled.
The process of determining 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 by the smart home platform is similar to the process of determining the target smart home device by the mobile terminal, so the relevant content of the above steps can be referred to, and will not be repeated here.
After the mobile terminal determines the target intelligent home equipment, the target intelligent home equipment can be controlled according to different modes based on the type of the target intelligent home equipment. That is, in the case that the type of the target smart home device is included in the first type set, the mobile terminal transmits a UWB control signal to the target smart home device to control the target smart home device. And controlling the target intelligent home equipment by the mobile terminal through the intelligent home platform under the condition that the type of the target intelligent home equipment is contained in the second type set. Thus, richer application scenes can be satisfied.
For example, the first type of collection includes televisions, hangers, and door locks. The second type of collection includes air conditioners, ovens, refrigerators and microwave ovens. When the target smart home device is a door lock, the mobile terminal transmits a UWB control signal to the door lock, wherein the UWB control signal is used for indicating to close the door lock, because the type of the door lock is contained in the first type set. After the door lock receives the UWB control signal, the door lock is closed. When the target smart home device is an oven, the mobile terminal sends the device identifier of the oven to the smart home platform through network devices such as a WIFI (Wireless Fidelity ) router and the like because the type of the oven is contained in the second type set. After receiving the equipment identification of the oven, the intelligent home platform acquires a menu, a cooking mode and an oven state of the oven from the stored corresponding relation between the equipment identification and the equipment information of the intelligent home equipment, and sends the menu, the cooking mode and the oven state to the mobile terminal through network equipment such as a WIFI router. After receiving a menu, a cooking mode and an oven state of an 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 receiving the control instruction, the intelligent home platform sends the control instruction to the oven through network equipment such as a WIFI router and the like.
For example, referring to fig. 6, 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. And the mobile terminal sends the equipment identification of the oven to the intelligent home platform through network equipment such as a WIFI router and the like. After receiving the equipment identification of the oven, the intelligent home platform acquires a menu, a cooking mode and an oven state of the oven from the stored corresponding relation between the equipment identification and the equipment information of the intelligent home equipment, and sends the menu, the cooking mode and the oven state to the mobile terminal through network equipment such as a WIFI router. After receiving a menu, a cooking mode and an oven state of an 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 receiving the control instruction, the intelligent home platform sends the control instruction to the oven through network equipment such as a WIFI router and the like.
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 the clothes through the intelligent home platform. Or, the condition of food materials in the refrigerator is obtained through the intelligent home platform, so that a fresh-keeping scheme is set and the food materials are timely supplemented.
For example, please refer to fig. 7, fig. 7 is a schematic diagram of information acquisition through the smart home platform according to an embodiment of the present application. In fig. 7, the mobile terminal may acquire a recipe, 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 condition of food materials in the refrigerator is obtained through the intelligent home platform, so that a fresh-keeping scheme is set and the food materials are timely supplemented.
The first type set is a set formed by types of intelligent household equipment controlled by the mobile terminal through the UWB signal, and the second type set is a set formed by types of intelligent household equipment controlled by the mobile terminal through the intelligent household platform. The first type set and the second type set are obtained from the intelligent home platform by the mobile terminal in advance and stored locally. That is, after the first type set and the second type set are determined, the intelligent home platform directly sends the first type set and the second type set to the mobile terminal for storage.
Under the condition that the duration of pointing to the target intelligent household equipment by the mobile terminal is longer than the duration threshold, the mobile terminal can send UWB control signals to the target intelligent household equipment or control the target intelligent household equipment through the intelligent household platform. Therefore, the mobile terminal can determine whether to continue to control the target intelligent home equipment, and the current operation is avoided due to the fact that the user touches the mobile terminal by mistake.
Based on the above description, the intelligent home platform stores the corresponding relation between the device identifier and the position coordinate, and the corresponding relation between the room identifier and the device identifier, where the corresponding relation may be stored by the intelligent home platform in the process of binding the intelligent home device. Accordingly, the binding process of the third smart home device will be described below taking the third smart home device as an example.
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 coordinate, and the room identifier of the room in which the third smart home device is located to the smart home platform. After receiving the device identifier and the position coordinate of the third intelligent home device and the room identifier of the room in the house, which are sent by the mobile terminal, the intelligent home platform can store the device identifier and the position coordinate of the third intelligent home device into a corresponding relationship between the device identifier and the position coordinate. And simultaneously, storing the equipment identifier of the third intelligent home 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 where the third smart home device is located in a house, and sends the device identifier, the position coordinate, and the room identifier of the room where the third smart home device is located in the house 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 where 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, wherein the adding interface comprises two options of manual adding and automatic searching. Namely, the user can select to manually add the third smart home device to be bound, or can select to automatically search through the mobile terminal to add the third smart home device to be bound. If the user selects to manually add the third intelligent home equipment to be bound, the user inputs the name of the third intelligent home equipment to be bound in an input box, and when the mobile terminal detects the confirmation operation of the user, a UWB request binding signal is sent to the third intelligent home equipment to be bound. 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 a built-in UWB component, and the UWB device binding signal carries the device identifier of the third intelligent home device. If the user selects to add the third smart home device to be bound through automatic searching of the mobile terminal, the mobile terminal receives a UWB device binding signal sent by the third smart home device to be bound, wherein the UWB device binding signal carries a device identifier of the third smart home device.
The mobile terminal obtains the position coordinates of the third intelligent home equipment, and the implementation process of the room identification of the room where the third intelligent home equipment is located in the house comprises the following steps: the mobile terminal displays a first user interface, wherein the first user interface comprises a space division diagram of a house, the position coordinates of the first position are determined in response to the selection operation of the first position in the space division diagram, the room identification of the room where the first position is located, the position coordinates of the first position are determined to be the position coordinates of the third intelligent home equipment, and the room identification of the room where the first position is located is determined to be the room identification of the room where the third intelligent home equipment is located in the house. That is, the mobile terminal displays a first user interface including a spatial division map of the house. The user can select the position of the third intelligent home equipment in the space division diagram, when the mobile terminal detects the selection operation of the user, the position selected by the user is determined to be the first position, then the position coordinate of the first position is determined, the room identifier of the room where the first position is located is determined, the position coordinate of the first position is determined to be the position coordinate of the third intelligent home equipment, and the room identifier of the room where the first position is located is determined to be the room identifier of the room where the third intelligent home equipment is located in the house.
The manner in which the mobile terminal obtains the position 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 in the above manner 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 in other manners. When the mobile terminal detects the binding operation of the user, the mobile terminal displays a second user interface, wherein the second user interface comprises an input frame corresponding to the position coordinates of the third intelligent home equipment and room identifications of a plurality of rooms in the house. The user can input the position coordinate of the third smart home device in the input box, and can also select the room identifier of the room where 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 to be the position coordinate of the third intelligent household equipment, and the room identification selected by the user is determined to be the room identification of the room where the third intelligent household equipment is located in the house.
The binding operation of the user can be triggered by means of voice interaction, and also can be triggered by clicking operation of a binding button. For example, the user triggers the binding operation by entering "bind smart home device" through voice. The user's confirmation operation may be triggered by means of a voice interaction, and may also be triggered by a click operation of a submit button in the second user interface.
For example, please refer to fig. 8, fig. 8 is a schematic diagram of a binding third smart home device according to an embodiment of the present application. In fig. 8, the mobile terminal displays a first user interface, and a user adds a third smart home device in a plurality of rooms included in the house. The mobile terminal determines the position coordinates of the third intelligent home equipment and the room identification of the room in the house, and obtains the equipment identification of the third intelligent home equipment through the UWB equipment binding signal sent by the third intelligent home equipment. And then, transmitting the equipment identifier, the position coordinates and the room identifier of the room in which the third intelligent home equipment is located to the intelligent 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 are in one-to-one correspondence with a plurality of houses managed by the mobile terminal. 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 a switching operation of the user, the mobile terminal displays a third user interface, the third user interface includes house identifications of the plurality of houses, and the user can select one house identification from the plurality of house identifications. When the mobile terminal detects the confirmation operation of the user, the house corresponding to the house identification selected by the user is determined to be the house which is required to be controlled by the intelligent household equipment currently. Then, the mobile terminal controls the smart home devices in the house according to the processes of the steps 201 to 204.
The house identifier is used for uniquely identifying the house, and the house identifier may be the number, the floor area, the type, etc. of the house, or may be obtained by combining these information.
Optionally, in some embodiments, the mobile terminal may also install an Application (APP). 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, the UWB technology is used for transmitting data by utilizing extremely narrow pulses of nanosecond to microsecond levels, 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 home devices in the house respectively through the UWB technology. Then, the intelligent home platform can accurately determine the position coordinates of the mobile terminal and the room where the mobile terminal is currently located in the house based on the distances between the mobile terminal and the plurality of first intelligent home devices respectively. And the target intelligent home equipment determined by the mobile terminal is more accurate, so that the control precision of the mobile terminal on the target intelligent home equipment is improved. In addition, after the mobile terminal determines the target intelligent home equipment, the target intelligent home equipment can be controlled according to different modes based on the type of the target intelligent home 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, richer application scenes can be satisfied.
Fig. 9 is a schematic structural diagram of a control device of an intelligent home device according to an embodiment of the present application, where the control device of the intelligent home device may be implemented as part or all of a mobile terminal by software, hardware, or a combination of both. Referring to fig. 9, the apparatus includes: a determining module 901, a first transmitting module 902, a first receiving module 903 and a control module 904.
The determining module 901 is configured to determine 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 respectively through UWB technology. The detailed implementation process refers to the corresponding content in each embodiment, and will not be repeated here.
The first sending module 902 is configured to send distances between the mobile terminal and the plurality of first smart home devices and device identifiers of the plurality of first smart home devices, respectively, to the smart home platform. The detailed implementation process refers to the corresponding content in each embodiment, and will not be repeated here.
The first receiving module 903 is configured to receive the position coordinates of the mobile terminal and the position coordinates of a 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. The detailed implementation process refers to the corresponding content in each embodiment, and will not be repeated here.
The control module 904 is configured to control a target smart home device of 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. The detailed implementation process refers to the corresponding content in each embodiment, and will not be repeated here.
Optionally, the determining module 901 is specifically configured to:
transmitting UWB ranging signals to the plurality of first smart home devices;
receiving UWB response signals sent by the plurality of first intelligent home devices, wherein the UWB response signals carry device identifiers of the corresponding first intelligent home devices;
and determining the distances between the mobile terminal and the plurality of first intelligent home devices respectively based on the sending time of the UWB ranging signals and the receiving time of UWB response signals from the first intelligent home devices.
Optionally, the control module 904 includes:
the first determining unit is used for determining deviation angles between the mobile terminal and the plurality of second intelligent home devices respectively based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent home devices;
the second determining unit is used for determining target intelligent home equipment from the plurality of second intelligent home equipment based on deviation angles between the mobile terminal and the plurality of second intelligent home equipment respectively;
The sending unit is used for sending UWB control signals to the target intelligent home equipment to control the target intelligent home equipment under the condition that the types of the target intelligent home equipment are 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:
selecting a second smart home device with the smallest deviation angle with the mobile terminal from the at least one second smart home device under the condition that the at least one second smart home device with the deviation angle with the mobile terminal being smaller than an angle threshold exists in the plurality of second smart home devices;
if the number of the selected second intelligent home devices is 1, determining the selected second intelligent home devices as target intelligent home devices;
if the number of the selected second intelligent home devices is greater than 1, determining the distance between each selected second intelligent home device and the mobile terminal based on the position coordinates of the mobile terminal and the position coordinates of each selected second intelligent home device, and determining the second intelligent home device with the smallest distance between the selected second intelligent home device and the mobile terminal as the target intelligent home device.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving UWB equipment binding signals sent by third intelligent home equipment to be bound, wherein the UWB equipment binding signals carry equipment identifiers of the third intelligent home equipment;
the acquisition module is used for acquiring the position coordinates of the third intelligent household equipment and the room identification of the room where the third intelligent household equipment is located in the house;
the second sending module is used for sending the equipment identifier and the position coordinate of the third intelligent home equipment and the room identifier of the room in the house to the intelligent home platform so as to instruct the intelligent home platform to store the equipment identifier and the position coordinate of the third intelligent home equipment and the room identifier of the room in the house.
Optionally, the obtaining module is specifically configured to:
displaying a first user interface, wherein the first user interface comprises a space division diagram of a house;
determining position coordinates of a first position and a room identifier of a room in which the first position is located in response to a selection operation of the first position in the spatial division map;
and determining the position coordinates of the first position as the position coordinates of the third intelligent household equipment, and determining the room identification of the room where the first position is located as the room identification of the room where the third intelligent household equipment is located in the house.
In the embodiment of the application, the UWB technology is used for transmitting data by utilizing extremely narrow pulses from nanoseconds to microseconds, 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 home devices in the house respectively through the UWB technology. Then, the intelligent home platform can accurately determine the position coordinates of the mobile terminal and the room where the mobile terminal is currently located in the house based on the distances between the mobile terminal and the plurality of first intelligent home devices respectively. And the target intelligent home equipment determined by the mobile terminal is more accurate, so that the control precision of the mobile terminal on the target intelligent home equipment is improved. In addition, after the mobile terminal determines the target intelligent home equipment, the target intelligent home equipment can be controlled according to different modes based on the type of the target intelligent home 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, richer application scenes can be satisfied.
Fig. 10 is a schematic structural diagram of another control device for smart home devices according to an embodiment of the present application, where the control device for smart home devices may be implemented as part or all of a smart home platform by software, hardware, or a combination of both. Referring to fig. 10, the apparatus includes: a receiving module 1001, a first determining module 1002, a second determining module 1003, and a transmitting 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 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 UWB technology, and the distances are sent by the mobile terminal with an ultra-bandwidth UWB function. The detailed implementation process refers to the corresponding content in each embodiment, and will not be repeated here.
The first determining module 1002 is configured to determine location coordinates of the mobile terminal based on distances between the mobile terminal and the plurality of first smart home devices, and device identifiers of the plurality of first smart home devices, respectively. The detailed implementation process refers to the corresponding content in each embodiment, and will not be repeated here.
A second determining module 1003, configured to determine, based on the location coordinates of the mobile terminal, location coordinates of a plurality of second smart home devices located in a target room, where the target room is a room where the mobile terminal is currently located in a house. The detailed implementation process refers to the corresponding content in each embodiment, and will not be repeated here.
The sending module 1004 is configured to send the position coordinates of the mobile terminal and the position coordinates of the plurality of second smart home devices to the mobile terminal, so as to instruct the mobile terminal to control a target smart home device in the plurality of second smart home devices. The detailed implementation process refers to the corresponding content in each embodiment, and will not be repeated here.
Optionally, the first determining module 1002 is specifically configured to:
acquiring position coordinates of the plurality of first intelligent home devices based on the device identifiers of the plurality of first intelligent home devices;
determining a plurality of candidate position coordinates of the mobile terminal based on distances between the mobile terminal and the plurality of first intelligent home devices and the position coordinates of the plurality of first intelligent home devices respectively;
based on the distances between the mobile terminal and the plurality of first intelligent home devices and the plurality of candidate position coordinates, determining a residual square sum corresponding to each candidate position coordinate through the following formula, and determining the candidate position coordinate with the minimum corresponding residual square sum in the plurality of candidate position coordinates as the position coordinate of the mobile terminal;
wherein, in the above formula, f represents the sum of squares of residuals corresponding to any candidate position coordinate in the plurality of candidate position coordinates, d i ' represents a distance, d, between the mobile terminal and an ith first smart home device of the plurality of first smart home devices i Representing the sitting position of any candidate positionThe distance between the mark and the position coordinate of the ith first intelligent home equipment, x represents the abscissa of any candidate position coordinate, y represents the ordinate of any candidate position coordinate, and x i Abscissa representing position coordinates of the ith first smart home device, y i And the ordinate representing the position coordinates of the ith first smart home device, and N representing the number of the plurality of first smart home devices.
In the embodiment of the application, the UWB technology is used for transmitting data by utilizing extremely narrow pulses from nanoseconds to microseconds, 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 home devices in the house respectively through the UWB technology. Then, the intelligent home platform can accurately determine the position coordinates of the mobile terminal and the room where the mobile terminal is currently located in the house based on the distances between the mobile terminal and the plurality of first intelligent home devices respectively. And the target intelligent home equipment determined by the mobile terminal is more accurate, so that the control precision of the mobile terminal on the target intelligent home equipment is improved. In addition, after the mobile terminal determines the target intelligent home equipment, the target intelligent home equipment can be controlled according to different modes based on the type of the target intelligent home 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, richer application scenes can be satisfied.
Fig. 11 is a block diagram of a mobile terminal 1100 according to an embodiment of the present application. 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 picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. The mobile terminal 1100 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, and the like.
Generally, the mobile terminal 1100 includes: a processor 1101 and a memory 1102.
The processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1101 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 1101 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1101 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 1101 may also 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 may 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, a non-transitory computer readable storage medium in memory 1102 is used to store at least one instruction for execution by processor 1101 to implement the control method of the smart home device provided by the method embodiments in the present application.
In some embodiments, the mobile terminal 1100 may further 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. The individual peripheral devices may be connected to the peripheral device interface 1103 by buses, signal lines or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1104, touch display 1105, camera 1106, audio circuitry 1107, positioning component 1108, and power supply 1109.
A peripheral interface 1103 may be used to connect I/O (Input/Output) related at least one peripheral device to the processor 1101 and 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 both of the processor 1101, memory 1102, and peripheral interface 1103 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1104 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 1104 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1104 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 1104 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 1104 may also include NFC (Near Field Communication, short-range wireless communication) related circuitry, which is not limited by the embodiments of the present 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 1105 is a touch display, the display 1105 also has the ability to collect touch signals at or above the surface of the display 1105. The touch signal may be input to the processor 1101 as a control signal for processing. At this time, the display screen 1105 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 1105 may be one, providing a front panel of the mobile terminal 1100; in other embodiments, the display 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, the display 1105 may be a flexible display disposed on a curved surface or a folded surface of the mobile terminal 1100. Even more, the display 1105 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The display 1105 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 1106 is used to capture images or video. Optionally, the camera assembly 1106 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1106 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuit 1107 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, 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 for voice communication. For purposes of stereo acquisition or noise reduction, a plurality of microphones may be respectively disposed at different portions of the mobile terminal 1100. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 1101 or the radio frequency circuit 1104 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuit 1107 may also include a headphone jack.
The location component 1108 is used to locate the current geographic location of the terminal 1100 to enable navigation or LBS (Location Based Service, location based services). The positioning component 1108 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, or the Galileo system of Russia.
A power supply 1109 is used to power the various components in the mobile terminal 1100. The power source 1109 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power source 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 architecture shown in fig. 11 is not limiting and that mobile terminal 1100 may include more or fewer components than shown, 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 according to 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. Smart home platform 1200 also includes a basic input/output system (I/O system) 1206, which facilitates the transfer of information between various 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 both the display 1208 and the input device 1209 are coupled to the central processing unit 1201 via an input-output controller 1210 coupled to a system bus 1205. The basic input/output system 1206 can 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, the 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, mass storage device 1207 may include a computer readable medium (not shown), such as a hard disk or CD-ROM drive.
Computer readable media may include computer storage media and communication media without loss of generality. 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 recognize that computer storage media are not limited to the ones described above. 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, intelligent home platform 1200 may also operate with a remote computer connected to the network through a network, such as the internet. I.e., smart home platform 1200, may be connected to network 1212 through a network interface unit 1211 coupled to system bus 1205, or other types of networks or remote computer systems (not shown) may also be coupled using network interface unit 1211.
The memory also includes one or more programs, one or more programs stored in the memory and configured to be executed by the CPU.
In some embodiments, there is also provided a computer readable storage medium having stored therein a computer program which, when executed by a processor, implements the steps of the control method of the smart home device in the above embodiments. For example, the computer readable storage medium may be ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
It is noted that the computer readable storage medium mentioned in the embodiments of the present application may be a non-volatile storage medium, in other words, may be a non-transitory storage medium.
It should be understood that all or part of the steps to implement the above-described 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 that, when run on a computer, cause the computer to perform the steps of the method of controlling a smart home device described above.
It should be understood that references herein to "at least one" mean one or more, and "a plurality" means two or more. In the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", and the like are used to distinguish the same item or similar items having substantially the same function and effect. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
The above embodiments are provided for the purpose of not limiting the present application, but rather, any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application are intended to be included within the scope of the present application.

Claims (9)

1. The control method of the intelligent home equipment is characterized by being applied to a mobile terminal with an ultra-bandwidth UWB function, and comprises the following steps:
determining distances between the mobile terminal and a plurality of first intelligent home devices in a house respectively and device identifiers of the plurality of first intelligent home devices through a UWB technology;
the distances between the mobile terminal and the plurality of first intelligent home devices and the device identifiers of the plurality of first intelligent home devices are sent to an intelligent home platform;
receiving position coordinates of the mobile terminal and position coordinates of a plurality of second intelligent home devices in a target room, wherein the position coordinates are sent by the intelligent home platform, and the target room is a room in which the mobile terminal is currently located in the house;
determining deviation angles between the mobile terminal and the plurality of second intelligent home devices respectively based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent home devices;
Determining target intelligent home equipment from the plurality of second intelligent home equipment based on deviation angles between the mobile terminal and the plurality of second intelligent home equipment respectively;
transmitting a UWB control signal to the target intelligent home device to control the target intelligent home device when the type of the target intelligent home device is contained in the first type set;
and controlling the target intelligent home equipment through the intelligent home platform under the condition that the type of the target intelligent home equipment is contained in the second type set.
2. The method of claim 1, wherein the determining, by UWB technology, the distances between the mobile terminal and the plurality of first smart home devices in the house, respectively, and the device identifications of the plurality of first smart home devices comprises:
transmitting UWB ranging signals to the plurality of first smart home devices;
receiving UWB response signals sent by the plurality of first intelligent home devices, wherein the UWB response signals carry device identifiers of the corresponding first intelligent home devices;
and determining the distances between the mobile terminal and the plurality of first intelligent home devices respectively based on the sending time of the UWB ranging signals and the receiving time of UWB response signals from the first intelligent home devices.
3. The method of claim 1, wherein the determining the target smart home device from the plurality of second smart home devices based on the angle of departure between the mobile terminal and the plurality of second smart home devices, respectively, comprises:
selecting a second intelligent home device with the smallest deviation angle with the mobile terminal from the at least one second intelligent home device under the condition that the at least one second intelligent home device with the deviation angle with the mobile terminal being smaller than an angle threshold exists in the plurality of second intelligent home devices;
if the number of the selected second intelligent home devices is 1, determining the selected second intelligent home devices as the target intelligent home devices;
if the number of the selected second intelligent home devices is greater than 1, determining the distance between each selected second intelligent home device and the mobile terminal based on the position coordinates of the mobile terminal and the position coordinates of each selected second intelligent home device, and determining the second intelligent home device with the smallest distance between the selected second intelligent home device and the mobile terminal as the target intelligent home device.
4. The method of claim 1, wherein the method further comprises:
receiving a UWB device binding signal sent by a third intelligent home device to be bound, wherein the UWB device binding signal carries a device identifier of the third intelligent home device;
acquiring the position coordinates of the third intelligent home equipment and the room identification of the room where the third intelligent home equipment is located in the house;
and sending the equipment identifier and the position coordinate of the third intelligent household equipment and the room identifier of the room in the house to the intelligent household platform so as to instruct the intelligent household platform to store the equipment identifier and the position coordinate of the third intelligent household equipment and the room identifier of the room in the house.
5. The method of claim 4, wherein the obtaining location coordinates of the third smart home device and room identification of a room in which the third smart home device is located within the house comprises:
displaying a first user interface, wherein the first user interface comprises a space division diagram of the house;
determining position coordinates of a first position in the space division diagram and a room identifier of a room in which the first position is located in response to a selection operation of the first position;
And determining the position coordinate of the first position as the position coordinate of the third intelligent household equipment, and determining the room identification of the room where the first position is located as the room identification of the room where the third intelligent household equipment is located in the house.
6. The control method of the intelligent home equipment is characterized by being applied to an intelligent home platform, and comprises the following steps:
receiving distances between the mobile terminal and a plurality of first intelligent home devices in a house and device identifiers of the plurality of first intelligent home devices, wherein the distances between the mobile terminal and the plurality of first intelligent home devices are determined by the mobile terminal through a UWB technology, and the distances are sent by the mobile terminal with an ultra-bandwidth UWB function;
determining position coordinates of the mobile terminal based on distances between the mobile terminal and the plurality of first intelligent home devices and device identifiers of the plurality of first intelligent home devices respectively;
determining position coordinates of a plurality of second intelligent home devices positioned in a target room based on the position coordinates of the mobile terminal, wherein the target room is a room in which the mobile terminal is positioned in the house at present;
Transmitting 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 that the mobile terminal transmits UWB control signals to the target intelligent home devices to control the target intelligent home devices when the types of the target intelligent home devices are contained in a first type set, and controlling the target intelligent home devices through the intelligent home platform when the types of the target intelligent home devices are contained in a second type set, wherein the target intelligent home devices are determined from the plurality of second intelligent home devices based on the deviation angles between the mobile terminal and the plurality of second intelligent home devices, and the deviation angles between the mobile terminal and the plurality of second intelligent home devices are determined based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent home devices.
7. The method of claim 6, wherein the determining location coordinates of the mobile terminal based on the distances between the mobile terminal and the plurality of first smart home devices, respectively, and the device identifications of the plurality of first smart home devices comprises:
Acquiring position coordinates of the plurality of first intelligent home devices based on the device identifiers of the plurality of first intelligent home devices;
determining a plurality of candidate position coordinates of the mobile terminal based on distances between the mobile terminal and the plurality of first intelligent home devices and the position coordinates of the plurality of first intelligent home devices respectively;
determining a residual square sum corresponding to each candidate position coordinate based on the distances between the mobile terminal and the plurality of first intelligent home devices and the plurality of candidate position coordinates, respectively, and determining the candidate position coordinate with the minimum corresponding residual square sum in the plurality of candidate position coordinates as the position coordinate of the mobile terminal by the following formula;
wherein, in the above formula, f represents the sum of squares of residuals corresponding to any candidate position coordinate in the plurality of candidate position coordinates, d i ' represents a distance, d, between the mobile terminal and an ith first smart home device of the plurality of first smart home devices i Representing the distance between any candidate position coordinate and the position coordinate of the ith first intelligent home equipment, wherein x represents the abscissa of any candidate position coordinate, y represents the ordinate of any candidate position coordinate, and x is i And (2) representing the abscissa, y of the position coordinate of the ith first intelligent home equipment i And the ordinate representing the position coordinates of the ith first intelligent home equipment, and N represents the number of the plurality of first intelligent home equipment.
8. A mobile terminal, wherein the mobile terminal has an ultra-bandwidth UWB function, the mobile terminal comprising a processor configured to:
determining distances between the mobile terminal and a plurality of first intelligent home devices in a house respectively and device identifiers of the plurality of first intelligent home devices through a UWB technology;
the distances between the mobile terminal and the plurality of first intelligent home devices and the device identifiers of the plurality of first intelligent home devices are sent to an intelligent home platform;
receiving position coordinates of the mobile terminal and position coordinates of a plurality of second intelligent home devices in a target room, wherein the position coordinates are sent by the intelligent home platform, and the target room is a room in which the mobile terminal is currently located in the house;
determining deviation angles between the mobile terminal and the plurality of second intelligent home devices respectively based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent home devices; determining target intelligent home equipment from the plurality of second intelligent home equipment based on deviation angles between the mobile terminal and the plurality of second intelligent home equipment respectively;
Transmitting a UWB control signal to the target intelligent home device to control the target intelligent home device when the type of the target intelligent home device is contained in the first type set;
and controlling the target intelligent home equipment through the intelligent home platform under the condition that the type of the target intelligent home equipment is contained in the second type set.
9. An intelligent home platform, characterized in that, the intelligent home platform includes a processor for:
receiving distances between the mobile terminal and a plurality of first intelligent home devices in a house and device identifiers of the plurality of first intelligent home devices, wherein the distances between the mobile terminal and the plurality of first intelligent home devices are determined by the mobile terminal through a UWB technology, and the distances are sent by the mobile terminal with an ultra-bandwidth UWB function;
determining position coordinates of the mobile terminal based on distances between the mobile terminal and the plurality of first intelligent home devices and device identifiers of the plurality of first intelligent home devices respectively;
determining position coordinates of a plurality of second intelligent home devices positioned in a target room based on the position coordinates of the mobile terminal, wherein the target room is a room in which the mobile terminal is positioned in the house at present;
Transmitting 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 that the mobile terminal transmits UWB control signals to the target intelligent home devices to control the target intelligent home devices when the types of the target intelligent home devices are contained in a first type set, and controlling the target intelligent home devices through the intelligent home platform when the types of the target intelligent home devices are contained in a second type set, wherein the target intelligent home devices are determined from the plurality of second intelligent home devices based on the deviation angles between the mobile terminal and the plurality of second intelligent home devices, and the deviation angles between the mobile terminal and the plurality of second intelligent home devices are determined based on the position coordinates of the mobile terminal and the position coordinates of the plurality of second intelligent home 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 CN114466304A (en) 2022-05-10
CN114466304B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117692265A (en) * 2022-09-02 2024-03-12 华为技术有限公司 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
Research on Precise Positioning of Home Service Robots;Shiyi Geng等;2013 5th International Conference on Intelligent Human-Machine Systems and Cybernetics;全文 *
基于蓝牙的物联网智能家居***设计;刘硕;赵彦博;杜佳林;肖玉婷;岳梦歌;;通信与信息技术(第02期);全文 *

Also Published As

Publication number Publication date
CN114466304A (en) 2022-05-10

Similar Documents

Publication Publication Date Title
CN107229231B (en) Household equipment management method and device
US20220020339A1 (en) Display method and apparatus
CN105100390B (en) A method of control mobile terminal
JP5916261B2 (en) File transmission method, system, and control apparatus
CN103826007A (en) Method and device for remotely controlling terminal, and terminal device
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
CN111343714B (en) Terminal positioning method and device, electronic equipment and storage medium
CN114745589B (en) Screen throwing method of household equipment, target household equipment and intelligent equipment
CN114466304B (en) Control method of intelligent household equipment, mobile terminal and intelligent household platform
EP4030790A1 (en) Method and apparatus for generating semantic map, and readable storage medium
KR101632220B1 (en) A mobile device, a method for controlling the mobile device, and a control system having the mobile device
KR20120026899A (en) Mobile twrminal and screen configuration controlling method thereof
US9756475B2 (en) Mobile terminal and method for controlling place recognition
KR102401641B1 (en) Mobile device and method for controlling the mobile device
CN110095792B (en) Method and device for positioning terminal
KR101549027B1 (en) Mobile device and method for controlling the mobile device
KR101185097B1 (en) Method for using contents with mobile terminal by using localization and system thereof
US20210159716A1 (en) Information processing method, mobile device and storage medium
CN115174299B (en) Binding method of household equipment and electronic equipment
KR20160080842A (en) Mobile terminal and method for controlling the same
KR101556179B1 (en) Mobile device and method for controlling the mobile device
CN116804854A (en) Intelligent device control method and electronic device
CN117156207A (en) Play control method, device, computer 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