CN114967477A - Smart home control method and device and electronic equipment - Google Patents

Smart home control method and device and electronic equipment Download PDF

Info

Publication number
CN114967477A
CN114967477A CN202110219520.1A CN202110219520A CN114967477A CN 114967477 A CN114967477 A CN 114967477A CN 202110219520 A CN202110219520 A CN 202110219520A CN 114967477 A CN114967477 A CN 114967477A
Authority
CN
China
Prior art keywords
data
control
data set
determining
controlled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110219520.1A
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile IoT 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 China Mobile Communications Group Co Ltd, China Mobile IoT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110219520.1A priority Critical patent/CN114967477A/en
Publication of CN114967477A publication Critical patent/CN114967477A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • 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)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention provides an intelligent home control method, an intelligent home control device and electronic equipment, and relates to the technical field of intelligent home, wherein the method comprises the following steps: acquiring first data, wherein the first data comprises first environment data and first user state data of a terminal to be controlled; determining a first data set matched with the first data in a database according to the first data, wherein the first data set comprises second data, first control parameters and first control actions, and the second data is matched with the first data; and controlling the terminal to be controlled to execute the first control action based on the first control parameter. The invention can improve the control effect of the smart home.

Description

Smart home control method and device and electronic equipment
Technical Field
The invention relates to the technical field of intelligent home, in particular to an intelligent home control method, an intelligent home control device and electronic equipment.
Background
The intelligent home is characterized in that a home is used as a platform, facilities related to home life are integrated by utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology and an audio and video technology, and an efficient management system for home facilities and family schedule affairs is constructed, so that the home safety, convenience, comfortableness and artistry are improved, and a comfortable and intelligent living environment is provided.
With the development of the internet of things industry, an intelligent system of the smart home becomes mature day by day, and due to the increase of the complexity of a home scene, a smart home user also puts forward a new intelligent requirement on the smart home. In the prior art, the influence of the environment where the smart home is located on the control of the smart home is not considered in the control mode of the smart home, so that the intelligent degree and the satisfaction degree of user experience are low. Therefore, the control effect brought by the current intelligent home control is poor.
Disclosure of Invention
The embodiment of the invention provides an intelligent home control method, an intelligent home control device and electronic equipment, and aims to solve the problem of poor control effect caused by the existing intelligent home control.
In a first aspect, an embodiment of the present invention provides an intelligent home control method, including:
acquiring first data, wherein the first data comprises first environment data and first user state data of a terminal to be controlled;
determining a first data set matched with the first data in a database according to the first data, wherein the first data set comprises second data, first control parameters and first control actions, and the second data is matched with the first data;
and controlling the terminal to be controlled to execute the first control action based on the first control parameter.
In a second aspect, an embodiment of the present invention provides an intelligent home control device, including:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring first data, and the first data comprises first environment data and first user state data of a terminal to be controlled;
the first determining module is used for determining a first data set matched with the first data in a database according to the first data, wherein the first data set comprises second data, first control parameters and first control actions, and the second data is matched with the first data;
and the first control module is used for controlling the terminal to be controlled to execute the first control action based on the first control parameter.
In a third aspect, an embodiment of the present invention provides an electronic device, including: the smart home control method comprises a memory, a processor and a program or an instruction which is stored on the memory and can be run on the processor, wherein the program or the instruction realizes the steps of the smart home control method provided by the embodiment of the invention when being executed by the processor.
In a fourth aspect, an embodiment of the present invention provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the step of controlling the smart home provided in the embodiment of the present invention is implemented.
In the embodiment of the invention, the environment data and the user state data of the terminal to be controlled are collected, the first data set matched with the first data is determined in the database, and the terminal to be controlled is controlled to execute the first control action of the first data set based on the first control parameter of the first data set.
Drawings
Fig. 1 is a flowchart of an intelligent home control method according to an embodiment of the present invention;
fig. 2 is one of structural diagrams of an intelligent home control device according to an embodiment of the present invention;
fig. 3 is a second structural diagram of an intelligent home control device according to an embodiment of the present invention;
fig. 4 is a third structural diagram of an intelligent home control device according to an embodiment of the present invention;
fig. 5 is a fourth structural diagram of an intelligent home control device according to an embodiment of the present invention;
fig. 6 is a fifth structural diagram of an intelligent home control device according to an embodiment of the present invention;
fig. 7 is a sixth structural diagram of an intelligent home control device according to an embodiment of the present invention;
fig. 8 is a seventh structural diagram of an intelligent home control device according to an embodiment of the present invention;
fig. 9 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used are interchangeable under appropriate circumstances such that embodiments of the application can be practiced in sequences other than those illustrated or described herein, and the terms "first" and "second" used herein generally do not denote any order, nor do they denote any order, for example, the first object may be one or more.
Referring to fig. 1, fig. 1 is a flowchart of a smart home control method according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step 101, collecting first data, wherein the first data comprises first environment data and first user state data of a terminal to be controlled.
The first data comprises first environment data and first user state data of the terminal to be controlled, which are acquired in real time, and also comprises related data stored after the first environment data and the first user state data of the terminal to be controlled are acquired. Generally speaking, different types of smart homes may have differences in the first environment data that needs to be collected by the corresponding terminals to be controlled. The first environment data is data of an indoor environment where the smart home is located, and may include environmental parameters such as temperature, humidity, illumination intensity, sound, CO concentration, and the like, so the first environment data is generally a data set including a plurality of environmental parameters; the first user status data may include parameters such as an activity status in a user room, a status of whether the user is at home, and the like, and therefore, the first user status data is generally a data set and may include a plurality of user status parameters. The environment data and the user status data are generally collected in the same environment, for example, the first environment data of a certain control terminal is collected in a living room environment, and correspondingly, the first user status data is also collected in the living room environment. The data set formed by combining the first environment data and the first user state data is first data, the first environment data reflects the environment condition of the terminal to be controlled, the first user state data reflects the user state of the terminal to be controlled, the environment conditions of the terminals to be controlled can be integrally represented by the environment data, the user state conditions of the terminals to be controlled can be integrally represented by the user state data, and when the terminals to be controlled exist, the environment data acquired by the sensor and the user state data can be classified and combined, and an example of the formed set is as follows:
F 1 ={(x 1 ,x 2 ,x 3 ,......),(c 1 ,c 2 ,c 3 ,......)}
F 2 ={(y 1 ,y 2 ,y 3 ,......),(c 1 ,c 2 ,c 3 ,......)}
F 3 ={(z 1 ,z 2 ,z 3 ,......),(c 1 ,c 2 ,c 3 ,......)}
......
F n ={(n 1 ,n 2 ,n 3 ,......),(c 1 ,c 2 ,c 3 ,......)}
wherein, F 1 Set of environmental data required for the first terminal to be controlled, F 2 Set of environmental data required for the second terminal to be controlled, F 3 Set of environment data required for the third terminal to be controlled, … …, F n The set of environment data required by the nth terminal to be controlled. Therefore, different terminals to be controlled may correspond to different environment data sets. In addition, at least 1 terminal to be controlled is required according to the actual application scene; x, y, z, … … and n are environmental parameters of environmental data corresponding to different terminals to be controlled respectively, the type and quantity of the environmental data are determined by the characteristics of the terminals to be controlled, and the environmental data corresponding to different terminals to be controlled can be staggered or the same; and c is user state data, and parameters such as user activity state, whether the user is at home and the like can be included according to the characteristics of different terminals to be tested.
Meanwhile, the first environment data and the first user state data can be used as an intelligent home control basis corresponding to the terminal to be controlled. For example, humidity environment data is acquired through a humidity sensor, if the humidity environment data value is small, the indoor is dry, and at the moment, the intelligent household humidifier is controlled to be turned on; the intelligent home control system has the advantages that the user state data are collected through the temperature sensor or the video sensor, if the user state data indicate that the user is not at home, the intelligent home such as a humidifier, an intelligent sound box and an intelligent lamp can be controlled to be in a standby state, and after the user goes home, the collected user state data indicate that the user is at home, and the intelligent home can be controlled to start working.
Step 102, according to the first data, determining a first data set matched with the first data in a database, wherein the first data set comprises second data, a first control parameter and a first control action, and the second data is matched with the first data.
The database comprises a plurality of data sets, any one of the data sets can comprise second data, first control parameters and first control actions, wherein the second data can comprise second environment data and second user state data corresponding to the terminal to be controlled. The first data comprising the collected first environment data and the first user status data, the data set being determined to be a first data set among a plurality of data sets in the database, wherein a second data of one data set matches the collected first data, the first data set comprising the second data, the first control parameter and the first control action. That is to say, according to the collected first data, all data sets in the database may be compared, and the data set with the highest similarity between the second data and the first data is determined as the first data set, where the similarity is highest, the similarity may be that the similarity between the first environment data of the first data and the second environment data of the second data is highest, the similarity may also be that the similarity between the first user state data of the first data and the second user state data of the second data is highest, the collected first environment data and the collected first user state data may also be used as the first data, and the similarity between the whole of the first data and the second data of the first data set is highest.
In addition, the data set of the database comprises an initial data set initially set by the system and also comprises an updated data set acquired by the smart home in the using process. According to an actual application scenario, the data set is exemplified as follows:
Figure BDA0002954089150000051
wherein S is 1 The data set corresponding to the first terminal to be controlled is represented, and at least one S set is formed because at least one terminal to be controlled is provided; the second environmental data in the x second data are represented as environmental parameters acquired by a related sensor for controlling the terminal to be controlled, and the type of the environmental parameters is determined by the characteristics of the terminal to be controlled; c is second user state data in the second data, and parameters such as user activity state, whether the user is at home and the like can be included according to different terminals to be controlled; r is a first control parameter expressed as a setting parameter required by the control of the terminal to be controlled, and the number of the setting parameters can be set according to the characteristics of the terminal to be controlled0, and does not define an upper limit; the State is a first control action, is represented as an operation executed by the terminal to be controlled, and is at least two or more control operations; the UserCtrl is a user control mark parameter and is used for distinguishing whether the control setting is manual setting or automatic control.
And 103, controlling the terminal to be controlled to execute the first control action based on the first control parameter.
Generally, the first control parameter is a setting parameter for controlling the terminal to be controlled, the terminal to be controlled executes a certain operation according to the first control action, and the operation executed by the control action of the terminal to be controlled may include opening and closing of the terminal to be controlled. The setting of first control parameter can embody, there is hierarchical setting under the same operation of treating control terminal execution, use to treat control terminal and be intelligent stereo set as an example, treat that the required setting parameter of control terminal control can include volume of sound 1, volume of sound 2 and volume of sound 3, the control action of treating control terminal of intelligent stereo set can be for opening intelligent stereo set or close intelligent stereo set, when intelligent stereo set received intelligent sound volume 2's corresponding control command, can control intelligent stereo set and open with the mode of volume of sound 2.
In addition, the first data set includes the second data, the first control parameter and the first control action, and therefore, the first data set for controlling the terminal to be controlled to perform the first control action according to the first control parameter may be expressed as { (x) 11 ,x 12 ,x 13 ,......),(c 11 ,c 12 ,c 13 ,......),(r 11 ,r 12 ,r 13 ,......)(State 1 ) The first data set may be specifically understood as being { (x) in the second environment data and the second user status data, respectively 11 ,x 12 ,x 13 ,......)}、{(c 11 ,c 12 ,c 13 ,..) }, the terminal to be controlled according to the first control parameter { (r) } 11 ,r 12 ,r 13 ,..) }, executing a first control action { (State) of the terminal to be controlled 1 )}. Generally speaking, the more parameter sets of the data set, the more intelligent the control, and the control accuracyThe higher. In addition, in the data set corresponding to the same group of terminals to be controlled, the types and the quantities of the parameters of the sensors in each group of control data may be the same.
In the embodiment of the invention, the environment data and the user state data of the terminal to be controlled are collected, the first data set matched with the first data is determined in the database, and the terminal to be controlled is controlled to execute the first control action of the first data set based on the first control parameter of the first data set.
As an optional implementation manner, after the controlling, based on the first control parameter, the terminal to be controlled to execute the first control action, the method further includes:
determining a second set of data based on the first data, the first control parameter, and the first control action;
and updating the database according to the second data set.
The first data are acquired environment data and user state data of the terminal to be controlled, the first control parameter is a first control parameter of the first data set, and the first control action is a first control action of the first data set. And combining the first data, the first control parameters and the first control actions to form a new data set as a second data set, namely, the second data set comprises the acquired environment data and user state data of the terminal to be controlled, and the first control parameters and the first control actions of the first data set.
In addition, after the second data set is obtained, the second data set can be added to the database according to the second data set, so that the database is updated.
In the embodiment of the invention, the collected environment data and user state data of the terminal to be controlled are combined with the first control parameters and the first control actions of the first data set to form the second data set, and then the database is updated according to the second data set, so that control schemes of the terminal to be controlled in different environments and user states are provided for the control of the intelligent home, and the control scheme of the intelligent home is subdivided, so that the control effect of the intelligent home can be improved.
As an optional implementation, the determining a second data set based on the first data, the first control parameter, and the first control action includes:
determining a second set of data based on the first data, the first control parameter, and the first control action without receiving user-input control feedback information.
The condition that the control feedback information input by the user is not received means that the user does not adjust the working state of the terminal to be controlled after controlling the terminal to be controlled to execute the first control action. Under the condition that control feedback information input by a user is not received, the control system of the smart home can combine the collected environment data and user state data with the first control parameters and the first control actions of the first data set into a second data set.
In the embodiment of the invention, the condition for determining the second data set is the condition that the control feedback information input by the user is not received, the condition for determining the second data set is limited, and the obtained second data set is more accurate, so that the accuracy of intelligent home control can be improved.
As an optional implementation manner, after the controlling, based on the first control parameter, the terminal to be controlled to execute the first control action, the method further includes:
and under the condition that the control feedback information input by the user is received, controlling the terminal to be controlled to execute a second control action in the control feedback information based on a second control parameter in the control feedback information.
The condition that the control feedback information input by the user is received means that after the terminal to be controlled is controlled to execute the first control action, the user adjusts the working state of the terminal to be controlled according to the self preference, and can monitor the control feedback information input by the user, wherein the feedback information comprises a second control parameter and a second control action set by the user. When the control feedback information input by the user is received, the execution of the first control parameter and the first control action of the first data set may be stopped, and the execution of the second control parameter and the second control action set by the user may be adjusted. Meanwhile, if the system automatically controls the terminal to be controlled to exceed the preset time, the control feedback information input by the user is received, the corresponding acquired first data should be the environment data and the user state data acquired in real time, and the length of the preset time can be different according to different terminals to be controlled.
Generally speaking, the terminal to be controlled first executes a first control action in a first data set according to first control parameters according to collected first data, and in the case of user control intervention, adjusts the first control action to a second control parameter according to control feedback information input by a user, and executes a second control action. For example, after a user enters a room, the intelligent lamp is controlled to turn on at a second level of brightness according to the current off-lighting intensity in the room, that is, the intelligent lamp executes a first control action of turning on the lamp according to a first control parameter of 'second level of brightness', if the user feels that the brightness is too small, the brightness of the intelligent lamp is manually adjusted to be at three levels, and at the moment, the intelligent execution in front of the system is adjusted to execute a second control parameter of 'third level of brightness' and a second control action of turning on the lamp, which are set by the user.
In the embodiment of the invention, under the condition of receiving the control feedback information input by the user, the terminal to be controlled is controlled to execute the second control action in the control feedback information based on the second control parameter in the control feedback information, and the personal preference of the user is considered in the control of the smart home, so that the control effect of the smart home can be improved.
As an optional implementation manner, after the controlling, based on the second control parameter, the terminal to be controlled to execute the second control action, the method further includes:
determining a third set of data based on the first data, the second control parameter, and the second control action;
and updating the database according to the third data set.
The first data are collected environment data and user state data of the terminal to be controlled, the second control parameter is a second control parameter of control feedback information input by a user, and the first control action is a second control action of the control feedback information input by the user. And combining the first data, the second control parameters and the second control actions to form a new data set as a third data set, namely, the third data set comprises the acquired environment data and user state data of the terminal to be controlled, the second control parameters for controlling feedback information and the second control actions.
In addition, after the third data set is obtained, the third data set may be added to the database, and the update of the database is completed.
In the embodiment of the invention, the collected environment data and user state data of the terminal to be controlled and the second control parameters and the second control actions of the control feedback information input by the user are combined to form a third data set, and then the database is updated according to the third data set, so that a control scheme for controlling the terminal to be controlled by the user in different environments and user states is provided for intelligent home control, the personal preference of the user is considered, and the control effect of the intelligent home can be improved.
As an optional implementation, the determining, in the database, a first data set matching the first data according to the first data includes:
determining a similarity between the first data and each of a plurality of data sets in the database;
taking a control parameter of a target data set in a fourth data set as an initial clustering center, wherein the fourth data set is a data set with similarity in a preset similarity range in the multiple data sets, and the target data set is any one of the fourth data sets;
and acquiring a target clustering center according to the initial clustering center, wherein the target clustering center is the first control parameter, and the first data set is the data set with the maximum similarity with the first data in the fourth data set.
The database is provided with a plurality of data sets, and any one of the data sets comprises second data, a first control parameter and a first control action. According to the first data, comparing the second data of each data set in the database, and determining the similarity between the first data and each data set of a plurality of data sets in the database.
Further, a fourth data set with the similarity within a preset similarity range is selected from the multiple data sets of the database, and the fourth data set comprises the multiple data sets. And in the fourth data set, randomly selecting one data set as a target data set, wherein the control parameter of the target data set is the initial clustering center. In addition, all application scenes controlled by the intelligent home can be adapted by adjusting the preset similarity range, and subdivision design is not needed for different application scenes.
Further, the similarity between each data set in the fourth data set and the initial clustering center is determined, and in the calculation process of the similarity, the user control weight and the automatic control weight can be considered.
And finally, acquiring a target clustering center with the similarity close to zero with the initial clustering center, wherein the target clustering center is a first control parameter, the data set comprising the first control parameter is the first data set, and the similarity between the second data of the first data set and the acquired environment data and user state data is highest.
In a specific embodiment, the following operations are performed on the environment data parameter and the user state data parameter of the first data and each data set in the database to obtain a similarity coefficient:
Figure BDA0002954089150000101
wherein L is the similarity, (x) new1 x nwe2 ,x new3 ,...) is the first environmental data collected, (c) new1 ,c new2 ,c new3 ,...) is collected first user state data, jx represents a calculation weight of certain environment data, jc represents a calculation weight of certain user state data, and the calculation weight of the environment data and the calculation weight of the user state data can be preset values.
Taking FL (L < L) according to the obtained similarity 0 ) As a fourth data set, where F is the first data, and l is the number of data sets in the database 0 And the similarity confidence interval coefficient represents that the similarity is in a preset range. Then randomly selecting a first control parameter of a data set from a fourth data set as an initial clustering center and FL (L is less than L) 0 ) Each set of data in the fourth set of data is calculated as follows:
Figure BDA0002954089150000102
wherein, LR is the similarity of control parameters, ju is a user control weight coefficient, which may be preset by the system or set by the user, and what corresponds to the user control weight coefficient is the system automatic control weight.
Further, a K-models clustering algorithm is used for calculating the following steps to obtain a clustering center:
FK-modes(LR→0)={r 1 ,r 2 ,r 3 ......};
k-models is an extension of the simple and practical clustering algorithm k-means, applicable to datasets of discrete attributes. And (4) continuously deducing by using a K-models clustering algorithm, and when the similarity coefficient of the control parameter approaches zero, the similarity of the control parameter does not change any more, so as to obtain a corresponding target clustering center. The target cluster center is a first control parameter of the first data set. The similarity calculation considers the influence of the environment data and the influence of the user state data, and the similarity between the first data and the second data of the first data set is calculated by taking the collected environment data and the collected user state data as the first data.
In the embodiment, the similarity is calculated, the fourth data set with the similarity within the preset similarity range is selected, the fourth data set with the second data which is not much different from the first data can be screened, and the initial clustering center is selected from the fourth data set to determine the target clustering center, so that the accuracy of obtaining the target clustering center can be improved.
As an optional implementation, the determining a third data set based on the first data, the second control parameter, and the second control action includes:
adding a user control mark of the second control parameter and the second control action;
and determining the third data set according to the first data, the second control parameter, the second control action and the user control mark.
In the presence of user control, the second control parameter and the second control action of the control feedback information input by the user may be marked as user control, i.e., a user control mark may be added. For example, the control feedback information entered by the user may be labeled "UserCtrl" which may distinguish that the control setting is user set and then automatically controlled. Generally, the weight of the user control may be much higher than the weight of the system control, so that, according to the user control flag, the terminal to be controlled may preferentially select the user control mode, i.e. execute the second control action in the third data set, according to the collected first data.
The first data, the second control parameter, the second control action, and the user control flag parameter are combined to form a data set, which is a third data set.
In this embodiment, the third data set includes the first data, the second control parameter, the second control action, and the user control flag parameter, and the smart home control may preferentially select the user control mode, execute the second control action preferred by the user, and may satisfy the differentiated requirements of the user, thereby improving the control effect of the smart home.
According to an implementation mode, according to an actual application scenario, the intelligent home control method can be applied to an intelligent home control terminal, and the intelligent home control terminal can control a plurality of terminals to be controlled, or the intelligent home control terminal is a control integration of the plurality of terminals to be controlled. The intelligent household control terminal can comprise a communication module, a data acquisition module, a power management unit and a processor module. The communication module can be a wireless communication module, such as Wi-Fi, GPRS, 3G, 4G, 5G, Bluetooth and other wireless communication modes or a combination of multiple wireless communication modes, and can also be a wired communication module; the data acquisition module comprises a temperature module, a light illumination detection module, a humidity detection module, a biological detection module, a harmful gas detection module, a door and window switch detection module, a face recognition module, a voice recognition module and the like, the data acquisition function of the data acquisition module is generally realized by a sensor, in addition, the more the types of the detection modules are, the higher the intelligent degree of the intelligent home control terminal is, and the better the user experience is; the power management module is used for supplying power to the intelligent home control terminal; the processor module is used for executing an intelligent household control program.
The intelligent home control terminal receives the control command through the wireless communication module, sends the control command to each to-be-controlled terminal through the wireless communication module, and the to-be-controlled terminal can comprise a Bluetooth sound box, an air conditioner, an automatic window, an automatic curtain, a water purifier, a water heating kettle, a floor sweeping robot, a floor heating system, a lighting device and the like. Generally speaking, the smart home control terminal needs to acquire environmental data and user status data through the data acquisition module, and then sends a related control instruction to the terminal to be controlled according to a first data set in the database, and the terminal to be controlled executes a first control action of the first data set according to the control instruction.
Referring to fig. 2, fig. 2 is a structural diagram of an intelligent home control device according to an embodiment of the present invention, and as shown in fig. 2, the intelligent home control device includes:
the system comprises an acquisition module 201, a control module and a control module, wherein the acquisition module is used for acquiring first data, and the first data comprises first environment data and first user state data of a terminal to be controlled;
a first determining module 202, configured to determine, according to the first data, a first data set matching the first data in a database, where the first data set includes second data, a first control parameter, and a first control action, and the second data matches the first data;
and the first control module 203 is configured to control the terminal to be controlled to execute the first control action based on the first control parameter.
Optionally, as shown in fig. 3, the smart home control device further includes:
a second determining module 204, configured to determine a second data set based on the first data, the first control parameter, and the first control action;
an updating module 205, configured to update the database according to the second data set.
Optionally, as shown in fig. 4, the second determining module 204 includes:
the first determining sub-module 2041 is configured to determine a second data set based on the first data, the first control parameter, and the first control action, when control feedback information input by a user is not received.
Optionally, as shown in fig. 5, the smart home control device further includes:
and a second control module 206, configured to, when the control feedback information input by the user is received, control the terminal to be controlled to execute a second control action in the control feedback information based on a second control parameter in the control feedback information.
Optionally, as shown in fig. 6, the second control module 206 includes:
a second determining submodule 2061 configured to determine a third data set based on the first data, the second control parameter, and the second control action;
the first update submodule 2062 is configured to update the database according to the third data set.
Optionally, as shown in fig. 7, the first determining module 202 includes:
a third determining sub-module 2021, configured to determine similarity between the first data and each of a plurality of data sets in the database;
the fourth determining submodule 2022 is configured to use a control parameter of a target data set in a fourth data set as an initial clustering center, where the fourth data set is a data set with a similarity in a preset similarity range among the multiple data sets, and the target data set is any one of the fourth data sets;
the obtaining sub-module 2023 obtains a target cluster center according to the initial cluster center, where the target cluster center is the first control parameter, and the first data set is a data set with the largest similarity with the first data in the fourth data set.
Optionally, as shown in fig. 8, the second determining submodule 2061 includes:
the adding unit is used for adding the second control parameter and a user control mark of the second control action;
and the determining unit is used for determining the third data set according to the first data, the second control parameter, the second control action and the user control mark. The smart home control device provided by the embodiment of the present invention can implement each process in the method embodiment of fig. 1, and is not described herein again to avoid repetition.
It should be noted that, an intelligent home control device in the embodiment of the present invention may be a device, and may also be a component, an integrated circuit, or a chip in an electronic device.
Referring to fig. 9, fig. 9 is a structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 9, the electronic device includes: the smart home control system comprises a memory 901, a processor 902 and a program or instructions stored on the memory 901 and executable on the processor 902, wherein the program or instructions realize the steps of the smart home control method when executed by the processor 902.
The embodiment of the present invention further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing embodiment of the smart home control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (15)

1. The intelligent household control method is characterized by comprising the following steps:
acquiring first data, wherein the first data comprises first environment data and first user state data of a terminal to be controlled;
according to the first data, determining a first data set matched with the first data in a database, wherein the first data set comprises second data, first control parameters and first control actions, and the second data is matched with the first data;
and controlling the terminal to be controlled to execute the first control action based on the first control parameter.
2. The smart home control method according to claim 1, wherein after controlling the terminal to be controlled to execute the first control action based on the first control parameter, the method further comprises:
determining a second set of data based on the first data, the first control parameter, and the first control action;
and updating the database according to the second data set.
3. The smart home control method according to claim 2, wherein the determining a second data set based on the first data, the first control parameter, and the first control action comprises:
determining the second data set based on the first data, the first control parameter, and the first control action without receiving user-input control feedback information.
4. The smart home control method according to claim 1, wherein after controlling the terminal to be controlled to execute the first control action based on the first control parameter, the method further comprises:
and under the condition that the control feedback information input by the user is received, controlling the terminal to be controlled to execute a second control action in the control feedback information based on a second control parameter in the control feedback information.
5. The smart home control method according to claim 4, wherein after controlling the terminal to be controlled to execute the second control action based on the second control parameter, the method further comprises:
determining a third set of data based on the first data, the second control parameter, and the second control action;
and updating the database according to the third data set.
6. The smart home control method according to claim 1, wherein the determining, in a database, a first data set matching the first data according to the first data comprises:
determining a similarity between the first data and each of a plurality of data sets in the database;
taking a control parameter of a target data set in a fourth data set as an initial clustering center, wherein the fourth data set is a data set with similarity in a preset similarity range in the multiple data sets, and the target data set is any one of the fourth data sets;
and acquiring a target clustering center according to the initial clustering center, wherein the target clustering center is the first control parameter, and the first data set is a data set with the maximum similarity with the first data in the fourth data set.
7. The smart home control method of claim 5, wherein the determining a third set of data based on the first data, the second control parameter, and the second control action comprises:
adding a user control mark of the second control parameter and the second control action;
and determining the third data set according to the first data, the second control parameter, the second control action and the user control mark.
8. The utility model provides an intelligence house controlling means which characterized in that includes:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring first data, and the first data comprises first environment data and first user state data of a terminal to be controlled;
the first determining module is used for determining a first data set matched with the first data in a database according to the first data, wherein the first data set comprises second data, first control parameters and first control actions, and the second data is matched with the first data;
and the first control module is used for controlling the terminal to be controlled to execute the first control action based on the first control parameter.
9. The smart home control device of claim 8, further comprising:
a second determining module for determining a second data set based on the first data, the first control parameter, and the first control action;
and the updating module is used for updating the database according to the second data set.
10. The smart home control device of claim 9, wherein the second determination module comprises:
a first determining sub-module, configured to determine the second data set based on the first data, the first control parameter, and the first control action, when control feedback information input by a user is not received.
11. The smart home control device of claim 8, further comprising:
and the second control module is used for controlling the terminal to be controlled to execute a second control action in the control feedback information based on a second control parameter in the control feedback information under the condition that the control feedback information input by the user is received.
12. The smart home control device of claim 11, wherein the second control module comprises:
a second determining submodule, configured to determine a third data set based on the first data, the second control parameter, and the second control action;
and the first updating submodule is used for updating the database according to the third data set.
13. The smart home control device of claim 8, wherein the first determining module comprises:
a third determining submodule for determining a similarity between the first data and each of a plurality of data sets in the database;
a fourth determining submodule, configured to use a control parameter of a target data set in a fourth data set as an initial clustering center, where the fourth data set is a data set with a similarity in a preset similarity range among the multiple data sets, and the target data set is any one of the fourth data sets;
and the obtaining sub-module is used for obtaining a target clustering center according to the initial clustering center, wherein the target clustering center is the first control parameter, and the first data set is a data set with the maximum similarity with the first data in the fourth data set.
14. The smart home control device of claim 12, wherein the second determination submodule comprises:
the adding unit is used for adding the second control parameter and a user control mark of the second control action;
and the determining unit is used for determining the third data set according to the first data, the second control parameter, the second control action and the user control mark.
15. An electronic device, comprising: memory, a processor and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps in a smart home control method according to any one of claims 1 to 7.
CN202110219520.1A 2021-02-26 2021-02-26 Smart home control method and device and electronic equipment Pending CN114967477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110219520.1A CN114967477A (en) 2021-02-26 2021-02-26 Smart home control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110219520.1A CN114967477A (en) 2021-02-26 2021-02-26 Smart home control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114967477A true CN114967477A (en) 2022-08-30

Family

ID=82973844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110219520.1A Pending CN114967477A (en) 2021-02-26 2021-02-26 Smart home control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114967477A (en)

Similar Documents

Publication Publication Date Title
CN110578994B (en) Operation method and device
CN107367016B (en) A kind of air conditioner intelligent control method and its device, air-conditioning
CN112128936B (en) Intelligent control method and intelligent control equipment for air conditioner
CN110687808A (en) Indoor wisdom economizer system based on thing networking and machine learning
CN111720974A (en) Operation control method, control panel, air conditioning equipment and computer storage medium
CN104133427A (en) Intelligent household control method and system
CN105094093A (en) Intelligent household control method and control center
CN115826428B (en) Control method and device of household equipment, storage medium and electronic device
CN106919056A (en) Smart home autocontrol method and device
CN109269036B (en) Cloud control method of multi-split air conditioner and multi-split air conditioner system
CN111895625A (en) Indoor environment improvement method and system based on neural network algorithm and storage medium
CN104991537B (en) Control method of intelligent equipment
CN112308209A (en) Personalized air conditioner intelligent learning method based on deep learning
CN109357366B (en) Regulation control method and device, storage medium and air conditioning system
CN113777938A (en) Household appliance control method, device, equipment and storage medium
CN110471301A (en) A kind of smart home service recommendation system and method based on user behavior
CN111121239A (en) Intelligent control method and system for intelligent household appliance and intelligent household appliance
CN111414996A (en) Intelligent household control method, system, storage medium and computer equipment
CN114967477A (en) Smart home control method and device and electronic equipment
CN108459575B (en) Wisdom home control system
CN117762032B (en) Intelligent equipment control system and method based on scene adaptation and artificial intelligence
CN112255923A (en) Electric equipment control method, device, server and medium
CN106774783B (en) Energy-saving control method and server
Flessner et al. Perception based method for indoor air quality control
CN111459037A (en) Intelligent household system control method and device, electronic equipment and readable 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