CN117092926A - Equipment control method and electronic equipment - Google Patents
Equipment control method and electronic equipment Download PDFInfo
- Publication number
- CN117092926A CN117092926A CN202311336633.5A CN202311336633A CN117092926A CN 117092926 A CN117092926 A CN 117092926A CN 202311336633 A CN202311336633 A CN 202311336633A CN 117092926 A CN117092926 A CN 117092926A
- Authority
- CN
- China
- Prior art keywords
- control
- equipment
- user
- scene
- intelligent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 98
- 230000006870 function Effects 0.000 claims description 177
- 230000009471 action Effects 0.000 claims description 35
- 238000000605 extraction Methods 0.000 claims description 19
- 230000004048 modification Effects 0.000 claims description 11
- 238000012986 modification Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012545 processing Methods 0.000 description 25
- 230000006399 behavior Effects 0.000 description 20
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 20
- 238000010586 diagram Methods 0.000 description 13
- 230000008859 change Effects 0.000 description 11
- 235000012054 meals Nutrition 0.000 description 11
- 238000004891 communication Methods 0.000 description 9
- 238000013507 mapping Methods 0.000 description 9
- 238000013441 quality evaluation Methods 0.000 description 8
- 239000004984 smart glass Substances 0.000 description 8
- 230000004044 response Effects 0.000 description 6
- 230000007613 environmental effect Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 239000003086 colorant Substances 0.000 description 3
- 238000010276 construction Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 235000019800 disodium phosphate Nutrition 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000010801 machine learning Methods 0.000 description 3
- 238000003058 natural language processing Methods 0.000 description 3
- 101100365746 Caenorhabditis elegans sid-5 gene Proteins 0.000 description 2
- 241001465382 Physalis alkekengi Species 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000003203 everyday effect Effects 0.000 description 2
- 230000004927 fusion Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000010408 sweeping Methods 0.000 description 2
- 101100256918 Caenorhabditis elegans sid-2 gene Proteins 0.000 description 1
- 101100366400 Schizosaccharomyces pombe (strain 972 / ATCC 24843) spg1 gene Proteins 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total 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 embodiment of the application discloses a device control method and electronic equipment, relates to the field of electronic equipment, and can avoid the type and function of intelligent household equipment corresponding to a preset use scene, and the type and function of the intelligent household equipment corresponding to the actual use of a user are inconsistent, so that the use experience of the user is improved. The specific scheme is as follows: acquiring control information sent by at least one intelligent home device; determining at least one equipment control scene according to the control information of at least one intelligent home equipment; transmitting at least one first device control scene to the electronic device, so that the electronic device determines a target device control scene based on the at least one first device control scene; the first device control scene is a device control scene in the at least one device control scene; receiving a control instruction corresponding to a target equipment control scene sent by electronic equipment; and based on the control instruction, controlling the intelligent household equipment corresponding to the control scene of the target equipment to execute corresponding control operation.
Description
Technical Field
The present application relates to the field of electronic devices, and in particular, to a device control method and an electronic device.
Background
With the development of intelligent home equipment, the intelligent home equipment is increasingly applied in the life of people. A user may have multiple smart home devices that the user may need to control under different usage scenarios. For example, when a user needs to read a scene, the user needs to turn off the intelligent window curtain, turn on the intelligent lamp, and so on.
In order to facilitate the control of different intelligent household devices by users under different use scenes, different use scenes can be preset, so that the linkage control of different intelligent household devices under different use scenes is realized. For example, when a user sets and selects a reading scene through a mobile phone, the mobile phone can control the intelligent curtain to be closed, control the intelligent lamp to be opened and the like through the cloud server.
The scene function of the current intelligent home equipment is usually set in advance by a user through a mobile phone or configured in advance by an operator. However, the type and function of the smart home device corresponding to the use scenario set in advance often do not match the type and function of the smart home device corresponding to the actual use of the user. The user is required to change the type and the function of the intelligent household equipment corresponding to the use scene, or the user is required to manually control certain intelligent household equipment, so that the operation of the user is complicated, and the use experience of the user is reduced.
Disclosure of Invention
The embodiment of the application provides a device control method and electronic equipment, which can avoid the types and functions of intelligent household devices corresponding to use scenes set in advance from being inconsistent with the types and functions of the intelligent household devices corresponding to actual use of users, so that the operation of the users is reduced, and the use experience of the users is improved.
In order to achieve the above purpose, the embodiment of the application adopts the following technical scheme:
in a first aspect, an embodiment of the present application provides an apparatus control method, applied to a server, where the server is connected to an electronic apparatus and at least one smart home apparatus, respectively, where the apparatus control method may include: acquiring control information sent by at least one intelligent home device; determining at least one equipment control scene according to the control information of at least one intelligent home equipment; the equipment control scene comprises time information, position information and control actions for controlling the functions of the intelligent home equipment by a user; transmitting at least one first device control scene to the electronic device, so that the electronic device determines a target device control scene based on the at least one first device control scene; the first device control scene is a device control scene in the at least one device control scene; receiving a control instruction corresponding to a target equipment control scene sent by electronic equipment; and based on the control instruction, controlling the intelligent household equipment corresponding to the control scene of the target equipment to execute corresponding control operation.
Based on the method of the first aspect, the server can acquire the control information of the smart home device, so that the server can determine the use habit of the user on the smart home device, namely, the device control scene according to the control information of the smart home device. The server may then send the device control scenario to the user's electronic device, so that the user may select a desired device control scenario via the electronic device. After a user selects a required equipment control scene through the electronic equipment, the electronic equipment can control a plurality of intelligent home equipment corresponding to the equipment control scene through a server to respectively start corresponding functions. Because the control information of the intelligent household equipment is the control information corresponding to the user when using the function of the intelligent household equipment, the server can determine the use scene (namely the equipment control scene) according to the use habit of the user on the intelligent household equipment, and the actual use condition of the user is consistent, so that the user is not required to change the scene function of the intelligent household equipment or control the required intelligent household equipment, the operation of the user is prevented from being complicated, and the use experience of the user is improved.
With reference to the first aspect, in another possible implementation manner, the determining at least one device control scenario according to control information of at least one smart home device may include: performing entity extraction on control information of the intelligent home equipment to obtain a user entity, an equipment entity and an environment entity corresponding to the intelligent home equipment; the user entity comprises a user identifier for controlling the intelligent home equipment; the equipment entity comprises a function identifier for controlling the intelligent home equipment and/or linkage control information for controlling the intelligent home equipment and other intelligent home equipment in a linkage manner; the environment entity comprises control time for controlling the intelligent home equipment and/or a position identifier of the intelligent home equipment; and determining at least one equipment control scene according to the user entity, the equipment entity and the environment entity corresponding to the at least one intelligent home equipment.
Based on the possible implementation manner, the server can perform entity extraction on the control information sent by the intelligent household equipment, and can obtain the user entity, the equipment entity and the environment entity corresponding to the intelligent household equipment, so that the server can determine the using habit of the user on the intelligent household equipment, namely the equipment control scene, according to the user entity, the equipment entity and the environment entity corresponding to the intelligent household equipment.
With reference to the first aspect, in another possible implementation manner, determining at least one device control scenario according to the user entity, the device entity, and the environment entity corresponding to the at least one smart home device may include: dividing equipment entities and environment entities of at least one intelligent household device corresponding to the user entities according to the user entities to obtain control data sets of the same user for controlling the at least one intelligent household device in a plurality of time periods; determining at least one equipment control scene according to a control data set corresponding to each user in each time period; the device control scene corresponds to the user one by one and the time.
Based on the possible implementation manner, the server can obtain the control data set for controlling at least one intelligent household device by the same user in a plurality of time periods according to the user entity, the device entity and the environment entity of the intelligent household device, so that the device control scene corresponding to the user one by one in time periods can be determined according to the control data set corresponding to each user in each time period.
With reference to the first aspect, in another possible implementation manner, before the sending at least one first device control scenario to the electronic device, the device control method may further include: determining frequency information of at least one equipment control scene according to control information of at least one intelligent home equipment; and determining a first device control scene from the at least one device control scene according to at least one of the time information, the position information of the electronic device and the frequency information of the at least one device control scene.
Based on the possible implementation manner, the server can screen the determined equipment control scene according to the time information, the position information of the electronic equipment and the frequency information of the equipment control scene, so that the equipment control scene meeting the time information, the position information of the electronic equipment or the frequency is larger can be sent to the electronic equipment of the user.
With reference to the first aspect, in another possible implementation manner, the target device control scenario includes a first smart home device, a second smart home device, and linkage control information between the first smart home device and the second smart home device; the controlling, based on the control instruction, the smart home device corresponding to the control scenario of the target device to execute the corresponding control operation may include: based on the control instruction and the linkage control information, controlling the first intelligent household equipment to execute a first control operation; receiving a control completion instruction sent by first intelligent home equipment; and controlling the second intelligent household equipment to execute a second control operation according to the control completion instruction and the linkage control information.
Based on the possible implementation manner, the target equipment control scene can comprise linkage control information among different intelligent home equipment, so that when the server receives a control instruction corresponding to the target equipment control scene, the server can carry out linkage control on the different intelligent home equipment according to the linkage control information.
In a second aspect, an embodiment of the present application provides an apparatus control method, applied to an electronic apparatus, where the electronic apparatus is connected to a server, where the apparatus control method may include: receiving at least one first equipment control scene sent by a server, and displaying prompt information corresponding to the at least one first equipment control scene; the first equipment control scene comprises time information, position information and control actions for controlling functions of the intelligent home equipment by a user; the first equipment control scene is determined by the server according to control information sent by the intelligent home equipment; receiving a selection operation of a user on a control scene of target equipment; the target device control scene is a device control scene in the at least one first device control scene; and sending a control instruction corresponding to the target equipment control scene to the server, so that the server controls the intelligent household equipment corresponding to the target equipment control scene to execute corresponding control operation based on the control instruction.
Based on the method of the second aspect, since the electronic device of the user can receive the device control scene sent by the server, the device control scene is the usage habit of the user on the smart home device, that is, the device control scene, determined by the server according to the control information sent by the smart home device. Therefore, the user selects the equipment control scene to be used through the electronic equipment, is the equipment control scene conforming to the actual use condition of the user, does not need to change the scene function of the intelligent household equipment or control the needed intelligent household equipment, avoids the complex operation of the user and improves the use experience of the user.
With reference to the second aspect, in another possible implementation manner, the displaying prompt information corresponding to at least one first device control scenario may include: determining at least one second equipment control scene from the at least one first equipment control scene according to the time information and/or the position information of the electronic equipment; and displaying prompt information corresponding to at least one second equipment control scene.
Based on the possible implementation manner, the electronic device can determine and display the second device control scene which accords with the current moment or corresponds to the position information of the electronic device from at least one first device control scene according to the time information and/or the position information of the electronic device, so that the accuracy of device control scene recommendation can be improved.
With reference to the second aspect, in another possible implementation manner, the device control method may further include: receiving a user modification operation of a control scene of target equipment; and in response to the modification operation, modifying at least one of a user, an intelligent home device, time information, position information and control actions corresponding to the target device control scene for controlling the intelligent home device.
Based on the possible implementation manner, the electronic device can receive the modification operation of the user, so that the corresponding user of the device control scene, the intelligent home device, the time information, the position information and the control action for controlling the intelligent home device can be modified, and the device control scene can meet the use requirement of the user.
In a third aspect, an embodiment of the present application provides an apparatus control device, where the apparatus control device may be applied to a server, for implementing the method in the first aspect. The function of the device control apparatus may be realized by hardware, or may be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions, for example, an acquisition module, a determination module, a transmission module, a control module, and the like.
The acquisition module can be used for acquiring control information sent by at least one intelligent home device.
The determining module can be used for determining at least one equipment control scene according to the control information of at least one intelligent home equipment; the equipment control scene comprises time information, position information and control actions for controlling functions of the intelligent home equipment by a user.
The sending module can be used for sending at least one first equipment control scene to the electronic equipment so that the electronic equipment can determine a target equipment control scene based on the at least one first equipment control scene; the first device control scene is a device control scene of the at least one device control scene.
The acquisition module is also used for receiving a control instruction corresponding to a target equipment control scene sent by the electronic equipment.
The control module can be used for controlling the intelligent home equipment corresponding to the control scene of the target equipment to execute corresponding control operation based on the control instruction.
In a fourth aspect, an embodiment of the present application provides an apparatus control device, where the apparatus control device may be applied to an electronic apparatus, for implementing the method in the second aspect. The function of the device control apparatus may be realized by hardware, or may be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions, for example, an acquisition module, a determination module, a transmission module, a control module, and the like.
The receiving module may be configured to receive at least one first device control scenario sent by the server.
The display module can be used for displaying prompt information corresponding to at least one first equipment control scene; the first equipment control scene comprises time information, position information and control actions for controlling functions of the intelligent home equipment by a user; the first equipment control scene is determined by the server according to control information sent by the intelligent home equipment.
The receiving module is also used for receiving the selection operation of a user on the control scene of the target equipment; the target device control scene is a device control scene of the at least one first device control scene.
The sending module can be used for sending a control instruction corresponding to the control scene of the target equipment to the server, so that the server controls the intelligent home equipment corresponding to the control scene of the target equipment to execute corresponding control operation based on the control instruction.
In a fifth aspect, there is provided an apparatus control apparatus having a function of implementing the method described in the first aspect, or having a function of implementing the method described in the second aspect. The functions can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
In a sixth aspect, there is provided an apparatus control apparatus including: a processor and a memory; the memory is configured to store computer-executable instructions that, when the device control device is operating, cause the device control device to perform the device control method according to any one of the first aspects, or cause the device control device to perform the device control method according to any one of the second aspects.
In a seventh aspect, there is provided an apparatus control apparatus including: a processor; the processor is configured to, after being coupled to the memory and reading the instruction in the memory, execute the device control method according to any one of the first aspect described above according to the instruction, or execute the device control method according to any one of the second aspect described above according to the instruction.
In an eighth aspect, embodiments of the present application provide a computer readable storage medium having computer program instructions stored thereon. When executed by an electronic device, the computer program instructions cause the electronic device to implement the device control method as claimed in any one of the possible implementations of the first aspect or the first aspect, or cause the electronic device to implement the device control method as claimed in any one of the possible implementations of the second aspect or the first aspect.
In a ninth aspect, embodiments of the present application provide a computer program product comprising computer readable code which, when run in an electronic device, causes the electronic device to implement the device control method as in the first aspect or any of the possible implementations of the first aspect, or causes the electronic device to implement the device control method as in the second aspect or any of the possible implementations of the first aspect.
In a tenth aspect, there is provided an apparatus (e.g. the apparatus may be a system-on-a-chip) comprising a processor for supporting an electronic device to implement the functions as referred to in the first aspect above. In one possible design, the apparatus further includes a memory for storing program instructions and data necessary for the electronic device. When the device is a chip system, the device can be formed by a chip, and can also comprise the chip and other discrete devices.
In an eleventh aspect, an embodiment of the present application provides an apparatus control system, which may include: the intelligent household system comprises a server, electronic equipment connected with the server and at least one intelligent household device; the server may be adapted to perform the device control method as set forth in the first aspect or any of the possible implementations of the first aspect, and the electronic device may be adapted to perform the device control method as set forth in the second aspect or any of the possible implementations of the second aspect.
It should be appreciated that the advantages of the third aspect to the eleventh aspect may be found in the relevant description of the first aspect or the second aspect, and are not described here again.
Drawings
Fig. 1 is a schematic diagram of a setting interface of a use scenario of an intelligent home device in the related art;
fig. 2 is a schematic view of a usage scenario of an intelligent home device according to an embodiment of the present application;
fig. 3 is a schematic diagram of a device control method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a device control method according to a second embodiment of the present application;
fig. 5 is a schematic hardware structure of a server according to an embodiment of the present application;
fig. 6 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic flow chart of a device control method according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a device control method according to an embodiment of the present application;
fig. 9 is a schematic diagram of identification corresponding to functions of an intelligent home device according to an embodiment of the present application;
fig. 10 is a schematic diagram of functional identifier conversion of an intelligent home device according to an embodiment of the present application;
fig. 11 is a schematic diagram of a device control scenario provided in an embodiment of the present application;
Fig. 12 is a second schematic diagram of a device control scenario provided in an embodiment of the present application;
fig. 13 is a schematic diagram III of a device control scenario provided in an embodiment of the present application;
fig. 14 is a second schematic flow chart of a device control method according to an embodiment of the present application;
fig. 15 is a flowchart of a device control method according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a device control apparatus according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a device control apparatus according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
The terminology used in the following embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates to the contrary. It should also be understood that "/" means or, e.g., A/B may represent A or B; the text "and/or" is merely an association relationship describing the associated person, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone.
With the development of intelligent home equipment, the intelligent home equipment is increasingly applied in the life of people. A user may have multiple smart home devices at the same time. For example, the smart home devices owned by the user may include smart door locks, smart curtains, smart lights, smart stereo, smart water heaters, sweeping robots, and the like.
Under different usage scenarios, a user may need to control different smart home devices of the plurality of smart home devices, as well as different functions of the smart home devices. For example, in a scenario where a user needs to read a book, the user needs to turn the intelligent window covering off and the intelligent light fixture on, or the user needs to turn the intelligent window covering off and the light of the intelligent light fixture to a soft mode, etc.
In order to facilitate the use and control of different intelligent household devices under different use scenes, different use scenes can be preset, so that the linkage control of different intelligent household devices under different use scenes is realized. For example, when a user sets and selects a reading scene through a mobile phone, the mobile phone can control the intelligent curtain to be closed and the intelligent lamp to be opened and adjusted to a soft mode through the cloud server.
The current use scenario of the smart home device is usually set in advance by a user through a mobile phone or configured in advance by an operator. Operators can configure the scene functions of the intelligent home equipment in advance through IFTTT (if this then that). IFTTT is a cloud computing-based network condition trigger that is capable of concatenating various information and then presenting it centrally to a user. Through IFTTT, a user may automatically perform a particular task when certain conditions are met, such as posting a message on social media, opening an application, or backing up information in cloud storage.
For example, in connection with fig. 1, taking an example that a user sets a usage scenario of an intelligent home device in advance through a mobile phone, a setting procedure of the usage scenario of the intelligent home device is illustrated. As shown in fig. 1, the mobile phone may display a setting interface of a usage scenario of the smart home device. The user can set the name corresponding to the usage scene through the setting interface of the usage scene, such as a home-returning meal scene. The user can also set the triggering condition corresponding to the usage scene through the setting interface of the usage scene, for example, the user can set and click the card corresponding to the usage scene to trigger the usage scene, so that when the user clicks the card corresponding to the usage scene, the mobile phone can control the intelligent home equipment corresponding to the usage scene to be started through the cloud server, and the like, and the user can also select different time points to trigger the usage scene, so that when the selected time points arrive, the mobile phone can control the intelligent home equipment corresponding to the usage scene to be started through the cloud server, and the like.
As shown in fig. 1, the setup interface of the usage scenario may also include an add execution task option. The user can select the intelligent home equipment to be controlled and the corresponding functions of the intelligent home equipment under the use scene through the task adding and executing options. When the triggering condition corresponding to the use scene is reached, the mobile phone can control the intelligent home equipment corresponding to the use scene to be started, the intelligent home equipment to be adjusted to the corresponding function and the like through the cloud server.
However, the type and function of the smart home device corresponding to the use scenario set in advance often do not match the type and function of the smart home device corresponding to the actual use of the user. The user is required to change the type and the function of the intelligent household equipment corresponding to the use scene, or the user is required to manually control certain intelligent household equipment, so that the operation of the user is complicated, and the use experience of the user is reduced.
For example, the use scene that the user set up on the cell-phone is taken as the scene of taking a meal of coming home, and the triggering condition that this use scene corresponds is that the user clicks the card that this use scene corresponds, and the intelligent home equipment that this scene of taking a meal corresponds is intelligent lock, intelligent (window) curtain, intelligent lamps and lanterns, intelligent stereo set and intelligent water heater, can realize through this scene of taking a meal of coming home that the cell-phone can pass through the mobile phone to intelligent lock, intelligent (window) curtain, intelligent lamps and lanterns, intelligent stereo set and intelligent water heater's linkage control.
As shown in fig. 2, when the user goes home from work, the mobile phone displays a card (which may be also referred to as a presentation window) corresponding to the home-to-eat scene. The card corresponding to the home-returning meal scene can comprise words such as a home-returning meal scene, an intelligent door lock, an intelligent serial intelligent lamp, an intelligent sound device, an intelligent water heater linkage control and the like, so that a user can be prompted to select the home-returning meal scene, and intelligent household equipment corresponding to the home-returning meal scene.
The card corresponding to the home meal scene can also comprise two options, namely a yes option and a no option. When the mobile phone receives the triggering operation of the user on the yes option, the mobile phone can control the intelligent door lock to open, the intelligent curtain to close, the intelligent lamp to open, the intelligent sound to open and the intelligent water heater to open through the cloud server.
The types and functions of the intelligent household devices corresponding to the home-returning dining scenes set in advance by the user are often inconsistent with the types and functions of the intelligent household devices corresponding to the user in actual use. For example, the smart home equipment corresponding to the home-returning meal scene set by the user is an intelligent door lock, an intelligent curtain, an intelligent lamp, an intelligent sound box and an intelligent water heater, and when the mobile phone receives the triggering operation of the user on the yes option in the card corresponding to the home-returning meal scene, the mobile phone controls the intelligent door lock to open, the intelligent curtain to close, the intelligent lamp to open, the intelligent sound box to open and the intelligent water heater to open through the cloud server. However, in good weather conditions, the user may not need to turn off the smart window covering and turn on the smart light fixture when he goes home to eat. At this time, the intelligent curtain is closed and the intelligent lamp is opened, and the user needs to manually control the intelligent curtain to be opened and the intelligent lamp to be closed, or the user needs to change the intelligent household equipment corresponding to the dining scene through the mobile phone. The intelligent household equipment is characterized in that the intelligent household equipment is provided with a plurality of intelligent household equipment types and functions, wherein the intelligent household equipment types and functions correspond to the preset use scenes, and the intelligent household equipment types and functions correspond to the actual use of the user are different.
In view of the above problems, an embodiment of the present application provides an apparatus control method, which is applied to an intelligent home apparatus control system (may also be referred to as an apparatus control system in the embodiment of the present application), where the intelligent home apparatus control system may include a server, at least one intelligent home apparatus, and an electronic apparatus (such as a mobile phone of a user).
The server may acquire control data (may also be referred to as control information in the embodiment of the present application) sent by the smart home device, where the control data is corresponding to control data when the user uses a function of the second electronic device. Then, the server may determine a usage scenario (may also be referred to as a device control scenario in the embodiment of the present application) corresponding to the user according to the control data of the plurality of smart home devices. The server can send the usage scenario corresponding to the user to the electronic equipment, namely the mobile phone of the user, so that the user can select the needed usage scenario. After a user selects a required use scene, the electronic equipment can control a plurality of intelligent home equipment corresponding to the use scene to respectively start corresponding functions through the server.
According to the scheme of the application, the server can determine the use scene corresponding to the user according to the control data of the plurality of intelligent home devices. Because the control data corresponds to the control data when the user uses the functions of the intelligent household equipment, the server can determine that the use scene accords with the actual use condition of the user according to the use habit of the user to the intelligent household equipment, the user is not required to change the scene functions of the intelligent household equipment or control the required intelligent household equipment, the operation of the user is prevented from being complicated, and the use experience of the user is improved.
The principle of the device control method provided in the embodiment of the present application is schematically described below with reference to fig. 3. As shown in fig. 3, the device control method provided in the embodiment of the present application may include the following procedures:
the server can control the intelligent curtain and the intelligent lamp in a linkage mode according to the selection of a user, namely, the intelligent curtain is controlled to be closed and the intelligent lamp is controlled to be opened, namely, S1 in FIG. 3. After the intelligent curtain is turned off and the intelligent light fixture is turned on, the intelligent curtain may send operation report data to the server, and the intelligent light fixture may send operation report data to the server, i.e. S2 in fig. 3. That is, the intelligent curtains and the intelligent lamps can respectively send corresponding control data when the users use to the server.
After the server receives the control data corresponding to the intelligent curtain and the intelligent lamp when the user uses, the server can store the control data corresponding to the intelligent curtain and the intelligent lamp when the user uses into big data. The server can determine the control data of the intelligent curtain and the intelligent lamp when in linkage, namely the data synchronization in fig. 3, according to the control data corresponding to the intelligent curtain and the intelligent lamp when the intelligent curtain and the intelligent lamp are used by the user. And then, the server can determine the increment of the day base table corresponding to the intelligent curtain and the intelligent lamp according to the control data when the intelligent curtain and the intelligent lamp are linked, namely, the corresponding linked control data when the intelligent curtain and the intelligent lamp are used by a user every day is counted. And then, the server can determine the historical behavior habit table (namely the use scene) of the user according to the corresponding linkage control data when the user uses the intelligent curtain and the intelligent lamp every day. That is, the server can determine the usage habit of the user for the linkage control of the intelligent curtain and the intelligent lamp, that is, what time the user is used to perform the linkage control on the intelligent curtain and the intelligent lamp (that is, control the intelligent curtain to be closed and the intelligent lamp to be opened), that is, S4 in the figure, and data feedback.
And then, the server can recommend the determined use scene to the mobile phone, so that the mobile phone can display the use scene. When the mobile phone receives the selection operation of the user on the use scene, the mobile phone can perform linkage control on the intelligent curtain and the intelligent lamp through the server (namely, control the intelligent curtain to be closed and the intelligent lamp to be opened).
The following describes an example of a process of the server obtaining control data of the smart home devices and determining a usage scenario corresponding to a user according to the control data of the plurality of smart home devices in the embodiment of the present application with reference to fig. 4.
As shown in fig. 4, the server may obtain device metadata, device control data, and other structured and semi-structured data sent by the smart home device. The device metadata may be data of device attributes and characteristics of the smart home device. The device metadata may include basic information of the device, such as a device model number, manufacturer, serial number, etc., and may also include detailed descriptions of hardware configuration, software information, firmware version, etc. of the device. The metadata may be used for tracking and recording of the device for subsequent analysis and decision making. The device control data may include control data corresponding to when the user uses the smart home device, that is, time, location, function of the smart home device, and linkage control device of the smart home device. The device control data may include control data for controlling the smart home device by the user through an application program on the mobile phone, or may include control data for directly controlling the smart home device by the user. Other structured and semi-structured data may include dimensional data of the device, such as the name, attributes, etc. of the smart home device.
The server may then perform knowledge extraction, such as device entity extraction, user entity extraction, and environmental entity extraction, on the device metadata, device control data, and other structured and semi-structured data sent by the smart home device. Device entity extraction refers to extracting entity information related to a device from text data. The device entity may be the name, model, brand, characteristics, functions, etc. of the device. The purpose of the device entity extraction is to identify the device information involved in the text to facilitate subsequent data analysis, device management or related business processes. The type of the intelligent household equipment controlled by the user is extracted, and the functions of the intelligent household equipment are extracted. The device entity extraction may use techniques such as natural language processing and machine learning.
User entity extraction refers to extracting entity information related to a user from text or voice input provided by the user. The user entity may be the name, place, date, time, product, event, etc. The purpose of the user entity extraction is to identify the user information involved in the text for personalized processing, customized services or related business logic. The user entity extraction may use techniques such as natural language processing and machine learning. Namely, different users for controlling the types of the intelligent household equipment and the functions of the intelligent household equipment are extracted.
The extraction of the environment entity refers to extracting entity information related to the environment from text or voice input. The environmental entity may be content such as geographic location, time information, weather conditions, and the like. The purpose of the environmental entity extraction is to identify the environmental information described in the text for environmental monitoring, pre-warning, analysis or related business processes. The extraction of the environment entity can utilize natural language processing, machine learning and other technologies. Namely, the time, the place and the like when the type of the intelligent household equipment and the functions of the intelligent household equipment are controlled are extracted.
And then, the server can perform data fusion on the equipment entity, the user entity and the environment entity, so that fused data can be obtained. The fused data is the information such as the time, place and the like of different intelligent household devices and the functions of the intelligent household devices controlled by different users.
And then, the server can perform entity alignment on the data after data fusion, so that ontology construction is performed, namely, usage scenes corresponding to a plurality of users are determined. When entity alignment and ontology construction are performed, knowledge reasoning can be combined to perform entity alignment and ontology construction. The knowledge reasoning can be used for setting a use scene with larger use probability for operators.
After the usage scenarios corresponding to the multiple users are determined, quality evaluation can be performed on the usage scenarios corresponding to the multiple users, so that the usage scenarios with good quality evaluation results (such as usage scenarios with larger user usage probability) can be obtained. The quality evaluation can be a blacklist of abnormal use scenes, namely abnormal use scenes such as use scenes with excessively high temperature settings of the microwave oven can be removed through the quality evaluation. When the use scene with good quality evaluation result is determined through quality evaluation, the quality evaluation can be updated through knowledge updating.
And then, the server can construct a map of the usage scenario with good quality evaluation results, and perform recommendation application, namely, send the recommendation application to the mobile phone, so that a user can select different usage scenarios.
The following describes a device control method provided by an embodiment of the present application.
In some embodiments, the device control method provided by the embodiment of the present application may be applied to the above-mentioned server, and may also be referred to as a cloud server. The cloud server is a remote server stored in the cloud computing center and is connected with the data center infrastructure of the provider through the Internet to provide computing, storage, network and other services for users. The cloud server is used for realizing sharing and elastic expansion of resources, and a user can adjust the scale and configuration of the computing resources at any time according to actual demands. The cloud server can be used for various purposes such as hosting websites, storing data, running application programs and the like, and has the advantages of high availability, reliability and flexibility.
Fig. 5 illustrates a schematic structural diagram of a server according to an embodiment of the present application.
As shown in fig. 5, the first electronic device 500 may include: at least one processor 501, communication lines 502, memory 503, and communication interface 504.
The processor 501 may execute the device control method provided by the embodiment of the present application by executing or executing a software program stored in the memory 503 and invoking data stored in the memory 503.
In a specific implementation, as an embodiment, the first electronic device 500 may include one processor or multiple processors. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The Memory 503 may be, but is not limited to, read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, random access Memory (Random Access Memory, RAM) or other type of dynamic storage device that can store information and instructions, but may also be electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 503 may be stand alone and may be coupled to the processor 501 via a communication line 502. Memory 503 may also be integrated with processor 501.
The memory 503 is used to store a software program for executing the scheme of the present application, and is controlled by the processor 501 to execute.
The communication interface 504 may be a device, such as any transceiver, for communicating with other devices or communication networks.
Communication lines 502 may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one line is shown in fig. 5, but not only one bus or one type of bus.
The device structure shown in fig. 5 does not constitute a limitation of the first electronic device 500, and the first electronic device 500 may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components.
In other embodiments, the device control method provided in the embodiments of the present application may also be applied to the electronic device described above. The electronic device may be a mobile phone, tablet computer, handheld computer, personal computer (personal computer, PC), cellular phone, personal digital assistant (personal digital assistant, PDA), or the like. The embodiment of the application does not limit the specific form of the electronic equipment. In the embodiment of the application, the second electronic equipment is taken as a mobile phone for illustration.
By way of example, taking an electronic device as a mobile phone, fig. 6 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
As shown in fig. 6, the electronic device may include a processor 610, an external memory interface 620, an internal memory 621, a usb interface 630, a charge management module 640, a power management module 641, a battery 642, an antenna 1, an antenna 2, a mobile communication module 650, a wireless communication module 660, an audio module 670, a speaker 670A, a receiver 670B, a microphone 670C, an earphone interface 670D, a sensor module 680, keys 690, a motor 691, an indicator 692, a camera 693, a display 694, a SIM card interface 695, and the like. Among other things, the sensor module 680 may include a pressure sensor 680A, a gyroscope sensor 680B, a barometric pressure sensor 680C, a magnetic sensor 680D, an acceleration sensor 680E, a distance sensor 680F, a proximity light sensor 680G, a fingerprint sensor 680H, a temperature sensor 680J, a touch sensor 680K, an ambient light sensor 680L, a bone conduction sensor 680M, and the like.
It is to be understood that the configuration illustrated in this embodiment does not constitute a specific limitation on the electronic apparatus. In other embodiments, the electronic device may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 610 may include one or more processing units, such as: the processor 610 may include an application processor AP, a modem processor, a graphics processor GPU, an image signal processor ISP, a controller, a memory, a video codec, a digital signal processor DSP, a baseband processor, and/or a neural network processor NPU, etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and command center of the electronic device. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 610 for storing instructions and data. In some embodiments, the memory in the processor 610 is a cache memory. The memory may hold instructions or data that the processor 610 has just used or recycled. If the processor 610 needs to reuse the instruction or data, it may be called directly from memory. Repeated accesses are avoided, reducing the latency of the processor 610 and thus improving the efficiency of the system.
In some embodiments, the processor 610 may include one or more interfaces. The interfaces may include an integrated circuit I2C interface, an integrated circuit built-in audio I2S interface, a pulse code modulation PCM interface, a universal asynchronous receiver transmitter UART interface, a mobile industry processor interface MIPI, a general purpose input output GPIO interface, a subscriber identity module SIM interface, and/or a universal serial bus USB interface, etc.
The electronic device implements display functions through a GPU, a display screen 694, and an application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display 694 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 610 may include one or more GPUs that execute program instructions to generate or change display information.
In embodiments of the present application, the display 694 may be used to display an interface of an electronic device.
It will be understood, of course, that the above illustration of fig. 6 is merely exemplary of the electronic device in the form of a cell phone. If the electronic device is a tablet computer, a handheld computer, a PC, a PDA, a wearable device (e.g., a smart watch, a smart bracelet), etc., the electronic device may include fewer structures than those shown in fig. 6, or may include more structures than those shown in fig. 6, which is not limited herein.
The following describes in detail the device control method provided in the embodiment of the present application, taking an electronic device as an example of a mobile phone, with reference to fig. 7. As shown in fig. 7, the device control method may include the following S701-S715.
S701, the server establishes connection with the mobile phone and the intelligent home equipment.
The server establishes connection with the mobile phone, so that the server can acquire an intelligent home equipment starting instruction sent by the mobile phone, and the server can also send a use scene of a user to the mobile phone.
The server establishes connection with the intelligent home equipment, so that the server can acquire metadata and control data sent by the intelligent home equipment, and the server can also send an intelligent home equipment starting instruction (also called as a control instruction in the embodiment of the application) to the intelligent home equipment.
The intelligent home equipment can be one intelligent home equipment or a plurality of intelligent home equipment, and the specific number of the intelligent home equipment is not limited in the embodiment of the application. The intelligent household equipment can comprise an intelligent door lock, an intelligent curtain, an intelligent lamp, an intelligent sound box, an intelligent water heater, a sweeping robot, an intelligent refrigerator, an intelligent air conditioner and the like. The specific type of the intelligent home equipment in the embodiment of the application is not limited.
The connection established between the server and the mobile phone as well as between the server and the smart home device can be limited connection or can be wireless connection (such as Wi-Fi, bluetooth, etc.), and the specific mode of establishing the connection between the server and the mobile phone as well as between the server and the smart home device is not limited in the embodiment of the application.
S702, the mobile phone receives the starting operation of the user on the intelligent home equipment.
After the connection between the server and the mobile phone is established, the mobile phone can receive the starting operation of the user on the intelligent home equipment. The starting operation may include starting the smart home device, and may also include starting an operation of a corresponding function of the smart home device.
In some examples, the mobile phone receiving the operation of the user for starting the smart home device may include an operation that the user triggers the smart home device to start through an application program corresponding to the smart home device on the mobile phone. For example, when the smart home device is a smart light, the user can start the smart light through an application program corresponding to the smart light on the mobile phone, and the user can also start a soft mode of the smart light through the application program corresponding to the smart light on the mobile phone.
The mobile phone receives the starting operation of the user on the intelligent home equipment, which can be the starting operation of the user on one intelligent home equipment or the starting operation of the user on a plurality of intelligent home equipment. The specific number of the intelligent home devices corresponding to the starting operation in the embodiment of the application is not limited.
In other examples, the mobile phone receives a start operation of the smart home device by the user, and may also include a start operation triggered by the user through an application program corresponding to a usage scenario of the smart home device on the mobile phone. For example, when the smart home device is a smart lamp and a smart curtain, a user may select a use scenario corresponding to the smart lamp and the smart curtain through an application program corresponding to a use scenario of the smart home device on the mobile phone. Therefore, the mobile phone can receive the starting operation of the intelligent lamp and the intelligent curtain from the user.
S703, responding to the starting operation of the user, and sending a starting instruction of the intelligent household equipment to the server by the mobile phone.
After the mobile phone receives the starting operation of the user on the smart home device, the mobile phone can send a smart home device starting instruction (also referred to as a control instruction in the embodiment of the application) to the server as a response, so that the server can control the smart home device to start.
The intelligent home equipment starting instruction can be used for instructing the server to start one intelligent home equipment and also can be used for instructing the server to start a plurality of intelligent home equipment. In the embodiment of the application, the specific number of the intelligent household devices which are indicated to be started by the intelligent household device starting instruction is not limited.
For example, when the smart home device is a smart lamp, after a user opens the smart lamp through an application program corresponding to the smart lamp on the mobile phone, the mobile phone may send a smart home device start instruction to the server, and the smart home device start instruction may be used to instruct the server to start the smart lamp. For another example, when the smart home device is the smart lamp and the smart curtain, the user selects the application program corresponding to the use scene of the smart home device on the mobile phone, and then the mobile phone can send the smart home device starting instruction to the server, and the smart home device starting instruction can be used for indicating the server to start the smart lamp and close the smart curtain.
In some examples, the smart home device activation instruction may include an identification of the smart home device that needs to be activated, so that the server may activate the corresponding smart home device according to the smart home device activation instruction.
For example, when the smart home device is a smart lamp and a smart curtain, a user selects a use scenario corresponding to the smart lamp and the smart curtain through an application program corresponding to a use scenario of the smart home device on the mobile phone, and the use scenario can be used for starting the smart lamp and closing the smart curtain. After that, the mobile phone can send an intelligent household device starting instruction to the server, the intelligent household device starting instruction can be used for indicating the server to start the intelligent lamp and close the intelligent curtain, and the intelligent household device starting instruction can comprise the identification of the intelligent lamp and the identification of the intelligent curtain. Therefore, the server can start the intelligent lamp according to the identification of the intelligent lamp, and close the intelligent curtain according to the identification of the intelligent curtain.
In other examples, the smart home device starting instruction may include an identifier of a smart home device to be started and an identifier of a function to be started of the smart home device, so that the server may start a corresponding smart home device according to the smart home device starting instruction and start a corresponding function of the smart home device according to the identifier of the function to be started of the smart home device.
For example, when the smart home device is a smart light and a smart curtain, a user selects a use scenario corresponding to the smart light and the smart curtain through an application program corresponding to a use scenario of the smart home device on the mobile phone, and the use scenario can be used for starting the smart light and closing the smart curtain, and adjusting the smart light to a soft mode. After that, the mobile phone can send an intelligent home equipment starting instruction to the server, and the intelligent home equipment starting instruction can be used for instructing the server to start the intelligent lamp and close the intelligent curtain, and adjust the intelligent lamp to a soft mode. The intelligent home equipment starting instruction can comprise an identification of an intelligent lamp, an identification of a soft mode of the intelligent lamp and an identification of an intelligent curtain. Therefore, the server can start the intelligent lamp according to the identification of the intelligent lamp, adjust the intelligent lamp to a soft mode according to the identification of the soft mode of the intelligent lamp, and close the intelligent curtain according to the identification of the intelligent curtain.
In some examples, the mobile phone sends the startup instruction of the smart home device to the server, the startup instruction of the smart home device can be sent to the server by the mobile phone through the application program corresponding to the smart home, the startup instruction of the smart home device can be sent to the server by the mobile phone through the usage scenario created by the application program corresponding to the smart home,
For example, as shown in fig. 8, when the smart home device is a smart lamp, the user may control the smart lamp to be turned on through an application program corresponding to the smart lamp on the mobile phone, so that the application program corresponding to the smart lamp on the mobile phone may send a start instruction of the smart lamp to the server. The user can also establish the use scene corresponding to the intelligent lamp through the application program corresponding to the intelligent lamp on the mobile phone (namely, establish a scene center), so that when the user selects the use scene corresponding to the intelligent lamp, the application program corresponding to the intelligent lamp on the mobile phone can send a starting instruction of the intelligent lamp to the server through the use scene corresponding to the intelligent lamp.
S704, the server receives an intelligent home equipment starting instruction sent by the mobile phone.
And S705, the server sends an intelligent household device starting instruction to the intelligent household device.
After the server receives the intelligent household equipment starting instruction sent by the mobile phone, the server can send the intelligent household equipment starting instruction to the intelligent household equipment, so that the intelligent household equipment can be started according to the intelligent household equipment starting instruction.
In some examples, when the smart home device start instruction instructs the server to start a plurality of smart home devices, the server may send smart home device start instructions to the plurality of smart home devices, respectively, so that the plurality of smart home devices may be started according to the smart home device start instructions, respectively.
In other examples, the smart home device startup instruction may include an identification of the plurality of smart home devices when the smart home device startup instruction instructs the server to startup the plurality of smart home devices. After receiving the intelligent home equipment starting instruction sent by the mobile phone, the server can respectively send the intelligent home equipment starting instruction to the plurality of intelligent home equipment according to the identifiers of the plurality of intelligent home equipment, so that the plurality of intelligent home equipment can be respectively started according to the intelligent home equipment starting instruction.
In other examples, when the smart home device start instruction instructs the server to start a plurality of smart home devices, the smart home device start instruction may include an identification of the plurality of smart home devices and an identification of a function corresponding to the smart home device. After receiving the intelligent home equipment starting instruction sent by the mobile phone, the server can respectively send the intelligent home equipment starting instruction to the plurality of intelligent home equipment according to the identifiers of the plurality of intelligent home equipment, so that the plurality of intelligent home equipment can be respectively started according to the intelligent home equipment starting instruction and corresponding functions can be started according to the identifiers of the functions corresponding to the intelligent home equipment.
S706, the intelligent home equipment receives an intelligent home equipment starting instruction sent by the server, and starts corresponding functions according to the intelligent home equipment starting instruction.
After the smart home device receives the smart home device starting instruction sent by the server, the smart home device can start corresponding functions according to the smart home device starting instruction, such as starting the smart home device or adjusting the smart home device to the corresponding function.
And S707, the intelligent household equipment sends metadata and control data of the intelligent household equipment to the server.
After the intelligent home equipment starts corresponding functions according to the intelligent home equipment starting instruction, the intelligent home equipment can send metadata and control data of the intelligent home equipment to the server, so that the server can determine the use scene of a user according to the metadata and the control data of the intelligent home equipment sent by the intelligent home equipment. In the embodiment of the application, the metadata and the control data of the intelligent home equipment can also be called as control information of the intelligent home equipment.
In some examples, the metadata of the smart home device may include an identification of the smart home device, an identification of different functions of the smart home device.
It should be noted that, the metadata of the smart home device may further include basic information of the smart home device, such as a device model number, a manufacturer, a serial number, and the like, and may further include detailed descriptions of hardware configuration, software information, firmware version, and the like of the device. The embodiment of the application does not limit the specific type of the metadata of the intelligent home equipment. In the embodiment of the application, metadata of the intelligent home equipment is taken as an example to carry out schematic description, wherein the metadata comprises identification of the intelligent home equipment and identification of different functions of the intelligent home equipment.
For example, the identification of the smart home device may be represented by a product label (i.e., product ID). The product id is a number used to identify or identify a product, typically consisting of numbers and/or letters, and the specific form and naming convention may vary from manufacturer to manufacturer or product type. The identification of the different functions of the smart home device may be represented by a device identification (security identifier, SID). SID is an identifier that uniquely identifies objects such as users, groups, and computers.
The following describes the identification of the smart home device included in the metadata of the smart home device with reference to fig. 9. As shown in (a) of fig. 9, when the smart home device is a smart curtain, the identifier of the smart curtain may be a001, that is, the product id of the smart curtain is a001. The smart window covering may include two functions, namely, opening the window covering and closing the window covering. The identification corresponding to the curtain opening can be sil 1, and the identification corresponding to Guan Chuanglian can be sil 2.
As shown in (b) of fig. 9, when the smart home device is a smart water heater, the identifier of the smart water heater may be a002, that is, the product id of the smart water heater is a002. The intelligent water heater may include two functions, namely, switching on the water heater and presetting the temperature. The identification corresponding to the water heater can be sild 1, and the identification corresponding to the preset temperature can be sild 2. It should be noted that the marks corresponding to different preset temperatures may be different.
As shown in (c) of fig. 9, when the smart home device is a smart lamp, the identifier of the smart lamp may be a003, that is, the product id of the smart lamp is a003. The intelligent light fixture may include six functions, namely turning on, turning off, rotating, increasing brightness, decreasing brightness, and color. The identification corresponding to the turning-on lamp can be sil 1, the identification corresponding to the turning-off lamp can be sil 2, the identification corresponding to the rotation can be sil 3, the identification corresponding to the brightness increase can be sil 4, the identification corresponding to the brightness decrease can be sil 5, and the identification corresponding to the color can be sil 6. It should be noted that the colors corresponding to the intelligent lamps may be a plurality of colors, and the marks corresponding to different colors may be different. The intelligent light fixture can further comprise different modes, such as a soft mode and the like, and identifiers corresponding to the different modes can be different.
As shown in (d) of fig. 9, when the smart home device is a smart sound, the identifier of the smart sound may be a004, that is, the product id of the smart sound is a004. The smart sound may include six functions, namely power on, power off, volume up, volume down, sound effects, and audio streams (i.e., music tracks). The identification corresponding to startup may be sil 1, the identification corresponding to shutdown may be sil 2, the identification corresponding to volume increase may be sil 3, the identification corresponding to volume decrease may be sil 4, the identification corresponding to sound effect may be sil 5, and the audio stream (i.e., the identification corresponding to music track may be sil 6. It is necessary to explain that the music track corresponding to the audio stream may be different tracks, and the identification corresponding to different tracks may be different.
Before the smart home device sends metadata of the smart home device to the server, the server may store in advance different identifiers of the smart home device and mapping rules between identifiers of different functions of the smart home device and identifiers that can be identified by the server. Therefore, after the server receives the metadata of the intelligent household equipment (namely the identification of the intelligent household equipment and the identification of different functions of the intelligent household equipment), the server can determine the identification which can be identified by the server from the metadata sent by the intelligent household equipment according to the stored mapping rule.
For example, when the smart home device includes a smart curtain, a smart water heater, a smart lamp, and a smart sound, the mapping rule pre-stored by the server may include an identifier a001 of the smart curtain, that is, a product id of the smart curtain is a001, identifiers of two functions corresponding to the smart curtain are sil 1 and sil 2, identifiers corresponding to the window curtain are sil 1 and identifiers corresponding to Guan Chuanglian are sil 2; the identification of the intelligent water heater is A002, namely the product ID of the intelligent water heater is A002, the identification of two functions included in the intelligent water heater is sil 1 and sil 2, namely the identification corresponding to the water heater can be sil 1, and the identification corresponding to the preset temperature can be sil 2; the identification of the intelligent lamp is A003, namely the product ID of the intelligent lamp is A003, the identification of six functions included in the intelligent lamp is respectively identified as a corresponding identification of on lamp, a corresponding identification of off lamp is identified as a corresponding identification of sid2, a corresponding identification of rotation is identified as a corresponding identification of sid3, a corresponding identification of brightness improvement is identified as a corresponding identification of sid4, a corresponding identification of brightness reduction is identified as a corresponding identification of sid5, and a corresponding identification of color is identified as a corresponding identification of sid6; the identification of the intelligent sound equipment is A004, namely the product ID of the intelligent sound equipment is A004, the identification of six functions included in the intelligent sound equipment is sil 1 corresponding to startup, sil 2 corresponding to shutdown, sil 3 corresponding to volume increase, sil 4 corresponding to volume decrease, sil 5 corresponding to sound effect, and audio stream (namely, the identification corresponding to music track is sil 6. After the server acquires metadata sent by the intelligent household equipment, the server can determine the metadata sent by the intelligent household equipment and the identifications of different functions of the intelligent household equipment according to the metadata sent by the intelligent household equipment and the prestored mapping rule.
When a new intelligent home device is accessed to the server, if a user needs to register the new intelligent home device to the server, the server can update the mapping rule according to the identification of the new intelligent home device and the identifications corresponding to the functions of the new intelligent home device. For example, as shown in fig. 10, when a new smart home device accesses the server, the server may perform capability mapping conversion on the identifier of the new smart home device and the identifiers corresponding to the functions of the new smart home device, that is, convert the identifier of the new smart home device and the identifiers corresponding to the functions of the new smart home device into identifiers of the smart home device that can be identified by the server and identifiers corresponding to the functions of the smart home device, so as to obtain a standard capability set. That is, the standard capability set may include an identifier corresponding to a function of the smart home device that can be identified by the server, for example, the function of the smart lamp is on, the identifier corresponding to the on function that can be identified by the server is sil 1, the function of the smart lamp is off, the identifier corresponding to the off function that can be identified by the server is sil 2, the function of the smart lamp is light dimming, and the identifier corresponding to the light dimming function that can be identified by the server is sil 3. The server may then update the mapping rules based on the standard set of capabilities.
It should be noted that, after the smart home device receives the smart home device start instruction sent by the server and starts the corresponding function according to the smart home device start instruction, the smart home device may send metadata of the smart home device to the server, and the smart home device may also send metadata of the smart home device to the server after connection is established with the server (i.e. the user registers the smart home device to the server). In the embodiment of the application, the specific time and the specific mode for sending the metadata of the intelligent household equipment to the server by the intelligent household equipment are not limited, and the server can acquire the metadata of the intelligent household equipment before the server determines the use scene of the user. In the embodiment of the application, the smart home device receives the smart home device starting instruction sent by the server, and after corresponding functions are started according to the smart home device starting instruction, the smart home device can send metadata of the smart home device to the server for schematic description.
In some examples, the control data of the smart home device may be control data corresponding to when the user uses the function of the smart home device. The control data of the smart home device may include an identification of a user controlling the smart home device, an identification controlling a function of the smart home device, location information controlling the smart home device, time information controlling the smart home device, linkage control data of the smart home device, and identifications of other smart home devices for linkage control of the smart home device.
It should be noted that, the control data of the smart home device may also include other control data of the smart device, such as security verification data of the smart home device. The specific type of the control data of the intelligent home equipment in the embodiment of the application is not limited. In the embodiment of the application, the control data of the intelligent home equipment comprises the identification of a user controlling the intelligent home equipment, the identification of controlling the function of the intelligent home equipment, the position information controlling the intelligent home equipment, the time information controlling the intelligent home equipment and the identification of other intelligent home equipment for linkage control of the intelligent home equipment, which are taken as examples for schematic illustration.
The user controlling the smart home device may be a user (i.e., owner) who owns ownership of the smart home device, or may authorize a user (i.e., user) who can control the smart home device for the owner of the smart home device. The identification of the user who controls the smart home device can be the identification of the electronic device of the owner of the smart home device (such as the identification of the mobile phone of the owner, etc.), or the identification of the electronic device of the user of the smart home device (such as the identification of the mobile phone of the owner, etc.). That is, when an owner of the smart home device controls the smart home device through its electronic device, the control data of the smart home device may include an identification of the electronic device of the owner, and when a user of the smart home device controls the smart home device through its electronic device, the control data of the smart home device may include an identification of the electronic device of the user.
The identification for controlling the functions of the intelligent home equipment can be used for selecting the identification for the user to use certain functions of the intelligent home equipment. For example, when the smart home device is a smart window covering, the control data of the smart home device may include an identification of the window covering function of the smart window covering when the user selects to use the window covering function of the smart window covering.
The location information for controlling the smart home device may be location information of the smart home device selected for use by the user, such as an identifier of a house of the user where the smart home device selected for use by the user is located, and an identifier of a room of the smart home device in the house. The identification of a house of a user where the smart home device is located and the identification of a room of the smart home device in the house can be the identification of the house where the smart home device is located and the identification of the house where the smart home device is located when the user registers the smart home device (for example, registers to a server, so that the server can control the smart home device, etc.), which are set by the user. For example, when the smart home device is a smart curtain, a user sets the position of the smart curtain to be room B in house a when registering the smart curtain to the server, and when the user selects to use the curtain closing function of the smart curtain, the control data of the smart home device may include the position information of the smart curtain, that is, the identification of house a and the identification of room B.
For example, in connection with fig. 11, taking a mobile phone a as an owner, the owner has two houses, home a and home B, that is, the mobile phone a has ownership and control rights to smart home devices in home a and home B. The mobile phone B is a mobile phone of a user, which is authorized by an owner and can control the intelligent household equipment in the family A, namely the mobile phone B has control right on the intelligent household equipment in the family B. The smart home devices may include a device a, a device B, a device C, the device a may be located in a room a in a home, the device B may be located in a room B in a home, and the device C may be located in a room C in a home. When an owner registers a device a, a device B and a device C to a server through a mobile phone a, the user can set a home in which the device a is located as a home a through the mobile phone a, set a home in which the device B is located as a home a, set a home in which the device C is located as a home B in the home a, and set a home in which the device C is located as a home C in the home a.
After the user controls the device a and the device B through the mobile phone a, the device a may send metadata and control data of the device a to the server, where the control data of the device a may include location information that the mobile phone a controls the smart home device, that is, an identifier of the home a, and an identifier of the room a, and the control data may also include an identifier of the user that controls the smart home device, that is, an identifier of the mobile phone a. The device B may send metadata and control data of the device B to the server, where the control data of the device B may include location information of controlling the smart home device by the mobile phone a, that is, an identifier of the home a and an identifier of the room B, and the control data may also include an identifier of a user controlling the smart home device, that is, an identifier of the mobile phone a. Then, the server can determine the usage scenario of the mobile phone a, i.e. the usage scenario of the owner user, according to the metadata and control data of the device a and the metadata and control data of the device B.
It should be noted that, the user may also create a usage scenario of the user through the mobile phone a, where the usage scenario may include controlling the device a in the room a in the home a and the device B in the room B in the home a.
That is, the server may use the home of the user as a center, the mobile phone of the user may control the smart home device, and the mobile phone of the user may also control the smart home device by using the scene, so that after the server obtains the metadata and the control data sent by the smart home device, the identification of the user controlling the smart home device, the identification of the function controlling the smart home device, the location information controlling the smart home device, the time information controlling the smart home device, the linkage control data of the smart home device, and the identification of other smart home devices that are controlled by the linkage of the smart home device may be determined according to the metadata and the control data sent by the smart home device. The server can determine a control link for controlling the intelligent home equipment and data corresponding to the control link according to the metadata and the control data sent by the intelligent home equipment. Therefore, the server can determine the behavior habit of the user, namely the use scene of the user, according to the control link for controlling the intelligent household equipment and the data corresponding to the control link.
The control link may indicate the time and location of the user controlling the functions of the smart home device, etc. The data corresponding to the control link may include family member information, family room information, family device information, device metadata information, device control information, device data report information, device status information, device scene information, and scene execution information of the user's information user.
Information of the user, namely the identity (id) of the user's mobile phone. The family member information of the user, i.e., the user's family identification (home id), is the same, but the identification of the role to be played is different, such as owner (owner), user (family).
Family room class information, i.e., room information in the family of the user, may be represented by a user id (user identification) -homeid (family identification) -roomid (room identification).
The home device class information, i.e., smart home device information in a room in a user's home, may be represented by user id (user identification) -home id (home identification) -roomid (room identification) -device.
The device metadata type information, that is, metadata information of the smart home device, may include device (device identification), process (product number, commodity number, or code of product of the device), ip (internet protocol address of the device), device firmware, hardware, software version number, and the like.
The device control class information, i.e. the information at what time the user controls which functions of which devices, can be represented by a user id (user identification) -time (device identification) -sed (identification of the functions of the devices).
The device data report type information, that is, information that the smart home device transmits metadata and control data to the server, may be represented by a device identification (device id) -time (time) -datareport (data report).
The device status class information, i.e. the status information of the smart home device, may be represented by device (device identification) -status (up-down status of the device) -ip (internet protocol address of the device).
Device scene class information, i.e. information whether a user creates or modifies or deletes a smart home device usage scene, may be represented by a user id (user identification) -create/modify/delete-rule (user's modification rule for usage scene).
The scene execution information, namely linkage control information when the intelligent home equipment is in linkage control, can be expressed by trigger linkage action.
The time information for controlling the smart home device may be the time for the user to select certain functions of the smart home device. For example, when the smart home device is a smart window covering, the control data of the smart home device may include a time of the window covering function of the smart window covering, that is, six pm, when the user selects to use the window covering function of the smart window covering at six pm.
In some examples, the coordinated control data of the smart home devices refers to data that connects a plurality of smart home devices through specific rules or conditions to achieve collaborative or interaction. Through coordinated control data, the user can realize the automatic coordination among a plurality of intelligent devices, and more intelligent, convenient and personalized home experience is provided for the user. The linkage control data of the intelligent home equipment can comprise linkage triggering conditions, execution actions, association among the equipment, parameter setting, storage, management and the like.
The linkage triggering condition is a condition or event for triggering linkage of different intelligent home devices, such as time, date, device state change, data detected by a sensor and the like. The execution action, that is, the action to be executed when the linkage trigger condition is satisfied may be opening, closing, adjusting, notifying, or the like. The association between the devices is the intelligent home devices participating in the linkage, and the control relationship and sequence between the intelligent home devices. Parameter settings, i.e. parameters of the relevant linkage, such as delay execution, duration, brightness, volume, temperature, etc. may be set according to specific requirements. The stored and managed, i.e., coordinated control data, is typically stored in the smart home system or platform and managed and executed by associated control software or smart assistants.
The identification of other intelligent household devices controlled by the intelligent household device in a linkage way can be used for the user to select certain functions of a certain intelligent household device and simultaneously use the identification of other intelligent household devices, or can be used for the user to select certain functions of a certain intelligent household device, and when the intelligent household device meets the linkage triggering condition, the identification of other intelligent household devices is controlled to trigger certain functions.
It should be noted that, the smart home device may send the intelligent control data to the server, which may include the control data that the user controls the smart home device through an application program on the mobile phone, or may include the control data that the user directly controls the smart home device. The control data of the intelligent household equipment can be controlled by a user through an application program on the mobile phone, and can also be controlled by the user through an application program of a use scene corresponding to the intelligent household equipment (namely, an application scene capable of setting the use scene of the intelligent household equipment). In the embodiment of the application, the specific mode of the control data sent by the intelligent home equipment to the server is not limited.
When the smart home device sends metadata and control data of the smart home device to the server, the smart home device may also send other data of the smart home device, such as data of attributes of the smart home device, to the server. This is not limiting in the embodiments of the present application.
In some examples, the smart home device may send control data of the smart home device to the server, where the smart home device may send the control data of the smart home device to the server after receiving an instruction to start the smart home device sent by the server, and according to the instruction to start the smart home device, start a corresponding function. The intelligent home equipment sends control data of the intelligent home equipment to the server, or can send the control data of the intelligent home equipment to the server according to a preset time period after receiving an intelligent home equipment starting instruction sent by the server and according to the intelligent home equipment starting instruction, starting a corresponding function. The specific duration of the preset time period may be set according to the actual situation, which is not limited in the embodiment of the present application. For example, the preset time period may be one day, i.e. the smart home device may send control data in one day to the server at a time. In the embodiment of the application, the specific mode of sending the control data of the intelligent home equipment to the server by the intelligent home equipment is not limited.
S708, the server receives metadata and control data of the intelligent home equipment sent by the intelligent home equipment, and determines a use scene of the user according to the metadata and control data of the intelligent home equipment.
After the server receives the metadata and the control data of the smart home device sent by the smart home device, the server may determine a usage scenario (may also be referred to as a device control scenario in the embodiment of the present application) of the user according to the metadata and the control data of the smart home device. The usage scenario of the user may be used to indicate the time and location and control actions of the user controlling the functions of the smart home device.
The usage scenario of the user may include an identification of the user corresponding to the usage scenario, an identification of each smart home device corresponding to the usage scenario, an identification of a function of each smart home device corresponding to the usage scenario, a time of each smart home device corresponding to the usage scenario, and a location of each smart home device corresponding to the usage scenario.
The use scene of the user can also comprise linkage control information among a plurality of intelligent home devices corresponding to the use scene. The linkage control information may include linkage trigger conditions between the plurality of smart home devices, linkage execution actions between the plurality of smart home devices, linkage parameter settings between the plurality of smart home devices, and the like.
It should be noted that the usage scenario of the user determined by the server may be one or a plurality of usage scenarios, which is not limited in the embodiment of the present application. The usage scenario of the user determined by the server may be a usage scenario of one user, or may be a usage scenario of a different user, which is not limited in the embodiment of the present application.
In some examples, the server may determine, according to metadata and control data of the smart home device, scene information of a usage scene of the user, and may determine the usage scene of the user through the scene information.
The scene information may include an identification of a user corresponding to the usage scene, an identification of each smart home device corresponding to the usage scene, an identification of a function of each smart home device corresponding to the usage scene, a time of each smart home device corresponding to the usage scene, and a location of each smart home device corresponding to the usage scene.
In some examples, the context information may also include coordinated control information between the plurality of smart home devices corresponding to the usage context. The linkage control information may include the identification of a plurality of intelligent home devices requiring linkage control, a linkage trigger condition between the plurality of intelligent home devices, a linkage execution action between the plurality of intelligent home devices, a linkage parameter setting between the plurality of intelligent home devices, and the like.
In some examples, the server and according to metadata and control data of the smart home device, determining a usage scenario of the user may include: the server may perform entity extraction on metadata and control data of the smart home devices, so as to determine an identifier of a user using each smart home device, an identifier of a function of the user using each smart home device, a time of the user using each smart home device, a location of each smart home device used by the user, and coordinated control information corresponding to each smart home device. After that, the server can determine the use scene of the user according to the identification of the user using each intelligent home device, the identification of the function of each intelligent home device used by the user, the time of using each intelligent home device by the user, the position of each intelligent home device used by the user and the linkage control information corresponding to each intelligent home device, and can determine the intelligent home device used by the same user at the same place and the function of the intelligent home device used at the same time.
For example, a process of determining a usage scenario of a user by a server according to metadata and control data of an intelligent home device is schematically described with reference to fig. 12. The server can determine, based on the metadata and control data sent by the device 1, the time 1 when the device 1 is used by the user, the environment 1 in which the device 1 is used by the user (i.e. the location where the device 1 is located), and the identity (i.e. the sed 1) of the function 1 of the device 1 used by the user. The server may determine the behavior habit 1 of the user, that is, determine the use scenario 1 of the user, according to the time 1 of using the device 1 by the user, the environment 1 (i.e., the location where the device 1 is located) where the device 1 is used by the user, and the identity (i.e., the sed 1) of the function 1 of the device 1 used by the user, where the use scenario 1 may be used to indicate the time (i.e., the time 1) and the location (i.e., the environment 1) where the user controls the function (i.e., the function corresponding to the sed 1) of the smart home device (i.e., the device 1).
The server may also determine, based on the metadata and control data sent by the device 1, the time 1 when the device 1 is used by the user, the environment 1 in which the device 1 is used by the user (i.e. the location where the device 1 is located), and the identity (i.e. the sed 2) of the function 2 of the device 1 used by the user. The server may determine the behavior habit 1 of the user, that is, may determine the use scenario 2 of the user, according to the time 1 when the user uses the device 1, the environment 1 (i.e., the location where the device 1 is located) when the user uses the device 1, and the identity (i.e., the sed 2) of the function 1 of the device 1 used by the user, where the use scenario 2 may be used to indicate the time (i.e., the time 1) and the location (i.e., the environment 1) when the user controls the function (i.e., the function corresponding to the sed 2) of the smart home device (i.e., the device 1).
The server may also determine, based on the metadata and control data sent by the device 2, the time 2 when the device 2 is used by the user, the environment 2 in which the device 2 is used by the user (i.e., the location where the device 2 is located), and the identity (i.e., the sed 3) of the function 1 of the device 2 used by the user. The server may determine the behavior habit 3 of the user, that is, determine the use scenario 3 of the user, according to the time 2 when the user uses the device 2, the environment 2 when the user uses the device 2 (i.e., the location where the device 2 is located), and the identity (i.e., the sed 3) of the function 1 of the device 2 used by the user, where the use scenario 3 may be used to indicate the time (i.e., the time 2) and the location (i.e., the environment 2) when the user controls the function (i.e., the function corresponding to the sed 3) of the smart home device (i.e., the device 2).
The server may also determine, based on the metadata and control data sent by the device 2, the time 2 when the device 2 is used by the user, the environment 2 in which the device 2 is used by the user (i.e., the location where the device 2 is located), and the identity (i.e., the sed 4) of the function 2 of the device 2 used by the user. The server may determine the behavior habit 4 of the user, that is, determine the use scenario 4 of the user, according to the time 2 when the user uses the device 2, the environment 2 (i.e., the location of the device 2) when the user uses the device 2, and the identity (i.e., the sed 4) of the function 2 of the device 2 used by the user, where the use scenario 4 may be used to indicate the time (i.e., the time 2) and the location (i.e., the environment 2) when the user controls the function (i.e., the function corresponding to the sed 4) of the smart home device (i.e., the device 2).
The server may also determine, based on the metadata and control data sent by the device 2, the time 2 when the device 2 was used by the user, the environment 2 in which the device 2 was used by the user (i.e., where the device 2 was located), and the identity (i.e., sid 5) of the function 3 of the device 2 that was used by the user. The server may determine the behavior habit 5 of the user, that is, determine the use scenario 5 of the user, according to the time 2 when the user uses the device 2, the environment 2 when the user uses the device 2 (i.e., the location where the device 2 is located), and the identity (i.e., the sed 5) of the function 3 of the device 2 used by the user, where the use scenario 5 may be used to indicate the time (i.e., the time 2) and the location (i.e., the environment 2) when the user controls the function (i.e., the function corresponding to the sed 5) of the smart home device (i.e., the device 2).
It should be noted that, according to the metadata and the control data sent by the device 1 and the metadata and the control data sent by the device 2, the server may also determine that the behavior habit 1 and the behavior habit 2 are linked behavior habits, and the server may also determine the usage scenario 6 of the user, where the usage scenario 6 may be used to indicate the time (i.e. the time 1) and the location (i.e. the environment 1) when the user controls the function (i.e. the function corresponding to the sild 1) of the smart home device (i.e. the device 1), and the time (i.e. the environment 2) when the user controls the function (i.e. the function corresponding to the sild 3) of the smart home device (i.e. the device 2).
In some examples, when the server determines the usage scenario of the user according to the metadata and the control data of the smart home device, the usage scenario of the user may also be determined in combination with the usage scenario of other users. When the server determines multiple usage scenarios for the user, the server may also determine a probability for each usage scenario. The probability of each usage scenario may be the number of times the usage scenario was used by the user. Therefore, the server can push the usage scene with higher probability to the mobile phone of the user according to the probability of each usage scene.
For example, in connection with fig. 13, taking the example that the user owns the device 1, the device 2 and the device 3, after the server obtains the metadata and the control data (i.e. the device control table and the device running report sent by the smart home device) of the smart home device (i.e. the device 1, the device 2 and the device 3), the server may determine the device running habit table according to the metadata and the control data of the smart home device (i.e. the device control table and the device running report sent by the smart home device). Then, the server may use the device operation habit table as input to extract the probability of the used behavior of the time sequence mapping table device (i.e. the number of times the user uses the device at different times), extract the active control behavior 1 of the user (i.e. the behavior that the user actively controls the device), and extract the conditional triggering control behavior (i.e. the control behavior of the linkage control device). Then, the server can determine the active control action 2 of the user (namely, the action of the user actively controlling the device at different times) according to the probability of the active control action 1 of the user and the action of the time sequence mapping table device used. Then, the server can determine the passive condition triggering control behavior 3 (namely, the behavior that the user actively controls the equipment at different times and the equipment linkage control behavior) according to the active control behavior 2 of the user and the condition triggering control behavior. The server may then trigger the control action 3 and the usage scenario of other users (i.e. the usage scenario of the user 1, user 2 and user 3 who own the device 1, device 2 and device 3) according to the passive condition, and determine the device tandem usage result, i.e. the usage scenario of the user, so that the server may recommend the usage scenario of the user.
S709, the server sends the use scene of the user to the mobile phone.
After the server determines the usage scenario of the user, the server may send the usage scenario of the user to the user's mobile phone, so that the user may select the corresponding usage scenario Jing Jin for use through the mobile phone.
In some examples, when the usage scenario of the user determined by the server is multiple, the server may send the usage scenario Jing Fa of the multiple users to the mobile phone of the user after determining the usage scenario of the multiple users, or may send the usage scenario Jing Fa to the mobile phone of the user when the time in the usage scenario arrives according to the time information in the usage scenario of the user. In the embodiment of the application, the specific time for the server to send the usage scenario of the user to the mobile phone is not limited.
In some examples, the server sends the usage scenario of the user to the mobile phone, and may send the usage scenario of the user to the mobile phone according to the identifier of the user corresponding to the usage scenario and the time of each smart home device corresponding to the usage scenario. For example, when the usage scenario of the user determined by the server indicates time 1 and location 1 when the user a controls the function 1 of the smart home device B, the usage scenario may include an identification of the user a (i.e., an identification of a mobile phone of the user a), time 1, and when the time 1 arrives, the server may send the usage scenario to the mobile phone of the user a.
S710, the mobile phone receives the use scene of the user sent by the server and displays the use scene of the user.
After the mobile phone receives the usage scenario of the user sent by the server, the mobile phone can display the usage scenario of the user, so that the user can select whether to use the usage scenario.
In some examples, when the usage scenario of the user is multiple, the mobile phone may display the multiple usage scenarios simultaneously, so that the user may select a desired usage scenario among the multiple usage scenarios. The mobile phone may also display a usage scenario with the highest probability (i.e., a scenario with the largest number of uses by the user) among the plurality of usage scenarios, so that the user may select the usage scenario with the highest probability. This is not limiting in the embodiments of the present application.
In some examples, the mobile phone displays the usage scenario of the user, and the usage scenario may be displayed for the mobile phone according to the time of each smart home device corresponding to the usage scenario and the position of each smart home device corresponding to the usage scenario. For example, when the usage scenario of the user sent by the server indicates time 1 and location 1 when the user a controls the function 1 of the smart home device B, the usage scenario may include an identification of the user a (i.e., an identification of a mobile phone of the user a), time 1, and location 1, and when the mobile phone arrives at time 1 and is located at location 1, the usage scenario may be displayed.
In some examples, the mobile phone displays the usage scenario of the user, which may be a card corresponding to the usage scenario for the mobile phone, or a prompt window corresponding to the usage scenario for the mobile phone. When the mobile phone displays a prompt window corresponding to the use scene, the prompt window can comprise a name corresponding to the use scene, and also can comprise information such as a name of intelligent home equipment corresponding to the use scene. The prompt window may also include two options, namely a "yes" option and a "no" option. When the mobile phone receives the triggering operation of the user on the yes option, the mobile phone can control the intelligent home equipment corresponding to the use scene to start or control the intelligent home equipment corresponding to the use scene to adjust to the function corresponding to the use scene through the cloud server.
S711, the mobile phone receives the selection operation of the user on the use scene.
After the mobile phone displays the use scene of the user, the mobile phone can receive the selection operation of the user on the use scene, so that the mobile phone can control the intelligent home equipment corresponding to the use scene to start or control the intelligent home equipment corresponding to the use scene to adjust to the function corresponding to the use scene through the cloud server.
And S712, responding to the selection operation of the user, and sending an intelligent home equipment starting instruction corresponding to the use scene to the server by the mobile phone.
After the mobile phone receives the selection operation of the user on the usage scenario, the mobile phone can send an intelligent home device starting instruction (which can also be called as a control instruction in the embodiment of the application) corresponding to the usage scenario to the server as a response.
The intelligent home equipment starting instruction corresponding to the use scene can comprise an identifier of the intelligent home equipment corresponding to the use scene, an identifier of a function of the intelligent home equipment corresponding to the use scene, linkage control information of the intelligent home equipment corresponding to the use scene and the like.
It should be noted that, the identifier of the smart home device corresponding to the usage scenario may include an identifier of one smart home device, or may include identifiers of a plurality of smart home devices. The linkage control information of the intelligent home devices corresponding to the usage scenario may include the identifiers of the plurality of intelligent home devices which need to be controlled in a linkage manner and corresponding to the usage scenario, the linkage triggering condition among the plurality of intelligent home devices, the linkage execution action among the plurality of intelligent home devices, the linkage parameter setting among the plurality of intelligent home devices, and the like. And the linkage parameter is set, namely parameters which need to be set by each intelligent household device in a plurality of intelligent household devices needing linkage control, such as the temperature which needs to be set by an intelligent water heater, the temperature which needs to be set by an intelligent air conditioner and the like.
S713, the server receives an intelligent home equipment starting instruction corresponding to the use scene sent by the mobile phone.
S714, the server sends an intelligent home equipment starting instruction corresponding to the use scene to the intelligent home equipment.
After receiving the intelligent home equipment starting instruction corresponding to the use scene sent by the mobile phone, the server can send the intelligent home equipment starting instruction corresponding to the use scene to the intelligent home equipment, namely, the server can send the intelligent home equipment starting instruction to the intelligent home equipment corresponding to the use scene.
In some examples, when the smart home device start instruction instructs the server to start a plurality of smart home devices, the server may send smart home device start instructions to the plurality of smart home devices, respectively, so that the plurality of smart home devices may be started according to the smart home device start instructions, respectively.
In other examples, the smart home device startup instruction may include an identification of the plurality of smart home devices when the smart home device startup instruction instructs the server to startup the plurality of smart home devices. After receiving the intelligent home equipment starting instruction sent by the mobile phone, the server can respectively send the intelligent home equipment starting instruction to the plurality of intelligent home equipment according to the identifiers of the plurality of intelligent home equipment, so that the plurality of intelligent home equipment can be respectively started according to the intelligent home equipment starting instruction.
In other examples, when the smart home device start instruction instructs the server to start a plurality of smart home devices, the smart home device start instruction may include an identification of the plurality of smart home devices and an identification of a function corresponding to the smart home device. After receiving the intelligent home equipment starting instruction sent by the mobile phone, the server can respectively send the intelligent home equipment starting instruction to the plurality of intelligent home equipment according to the identifiers of the plurality of intelligent home equipment, so that the plurality of intelligent home equipment can be respectively started according to the intelligent home equipment starting instruction and corresponding functions can be started according to the identifiers of the functions corresponding to the intelligent home equipment.
S715, the intelligent home equipment receives an intelligent home equipment starting instruction corresponding to the use scene sent by the server, and starts corresponding functions according to the intelligent home equipment starting instruction corresponding to the use scene.
After the smart home device receives the smart home device starting instruction corresponding to the use scene sent by the server, the smart home device can start corresponding functions according to the smart home device starting instruction, such as starting the smart home device or adjusting the smart home device to the corresponding function.
The scheme server can acquire the control data of the intelligent household equipment, wherein the control data is corresponding to the control data when a user uses the functions of the intelligent household equipment. And then, the server can determine the use scene corresponding to the user according to the control data of the plurality of intelligent home devices. The server can send the usage scene corresponding to the user to the mobile phone of the user, so that the user can select the needed usage scene. After a user selects a required use scene, the mobile phone can control a plurality of intelligent home devices corresponding to the use scene to respectively start corresponding functions through the server.
Because the control data of the intelligent household equipment is the control data corresponding to the user when using the function of the intelligent household equipment, the server can determine that the use scene accords with the actual use condition of the user according to the use habit of the user on the intelligent household equipment, the user is not required to change the scene function of the intelligent household equipment or control the required intelligent household equipment, the operation of the user is prevented from being complicated, and the use experience of the user is improved.
For easy understanding, a device control method according to an embodiment of the present application will be described with reference to fig. 14. The device control method can be applied to the above-described server. As shown in fig. 14, the sound device control method may include the following S1401 to S1405.
S1401, a server acquires control information sent by at least one intelligent home device.
The server can be respectively connected with the electronic equipment and at least one intelligent household equipment. The server can send the equipment control scene to the electronic equipment and can also receive the selection operation of the electronic equipment on the equipment control scene, so that the server can control the intelligent household equipment corresponding to the equipment control scene to execute the corresponding control operation.
In some examples, the control information may include metadata and control data for the smart home device. The metadata of the smart home device may include an identification of the smart home device, an identification of different functions of the smart home device. The control data of the intelligent household equipment can comprise user identification for controlling the intelligent household equipment, function identification for controlling the intelligent household equipment, linkage control information for controlling the intelligent household equipment and other intelligent household equipment in a linkage mode, and environment entities comprising control time for controlling the intelligent household equipment, position identification of the intelligent household equipment and the like. The linkage control information for performing linkage control on the intelligent home equipment and other intelligent home equipment can comprise linkage triggering conditions for performing linkage control on the intelligent home equipment and other intelligent home equipment, linkage execution actions and the like.
Specifically, the specific implementation manner of the server in the embodiment of the present application to obtain the control information sent by at least one smart home device may refer to the specific implementation manner in S707, which is not described in detail in the embodiment of the present application.
S1402, the server determines at least one device control scene according to control information of at least one intelligent home device; the equipment control scene comprises time information, position information and control actions for controlling functions of the intelligent home equipment by a user.
After the server obtains the control information of the at least one smart home device, the server may determine at least one device control scenario according to the control information of the at least one smart home device. The device control scene may include time information, location information, and control actions for a user to control functions of the smart home device. Time information, position information and control actions for controlling functions of the smart home device by the user, namely time and position for controlling functions of the smart home device and actions (such as linkage control actions and the like) executed by the smart home device.
In some examples, the server determining at least one device control scenario according to control information of at least one smart home device may include: and the server performs entity extraction on the control information of the intelligent home equipment to obtain a user entity, an equipment entity and an environment entity corresponding to the intelligent home equipment. The user entity comprises a user identifier for controlling the intelligent home equipment. The equipment entity comprises a function identifier for controlling the intelligent household equipment and/or linkage control information for controlling the intelligent household equipment and other intelligent household equipment in a linkage mode. The environment entity comprises control time for controlling the intelligent home equipment and/or position identification of the intelligent home equipment. And then, the server can determine at least one equipment control scene according to the user entity, the equipment entity and the environment entity corresponding to the at least one intelligent home equipment.
In some examples, the determining, by the server, the at least one device control scenario according to the user entity, the device entity, and the environment entity corresponding to the at least one smart home device may include: the server divides equipment entities and environment entities of at least one intelligent household device corresponding to the user entities according to the user entities to obtain control data sets for controlling the at least one intelligent household device by the same user in a plurality of time periods. Then, the server may determine at least one device control scenario according to the control data set corresponding to each user in each time period. I.e. the device control scene corresponds one-to-one to the user and the time period.
Specifically, in the embodiment of the present application, the server determines the specific implementation manner of the at least one device control scenario according to the control information of the at least one smart home device, and reference may be made to the specific implementation manner in S708, which is not described in detail in the embodiment of the present application.
S1403, the server sends at least one first device control scene to the electronic device, so that the electronic device determines a target device control scene based on the at least one first device control scene; the first device control scene is a device control scene of the at least one device control scene.
After the server determines the at least one device control scenario, the server may send the at least one first device control scenario to the electronic device to cause the electronic device to determine a target device control scenario based on the at least one first device control scenario. The first device control scene may be a device control scene of the at least one device control scene.
In some examples, before the server sends the at least one first device control scenario to the electronic device, the server may determine frequency information of the at least one device control scenario, i.e., a frequency at which the user uses the device control scenario, according to the control information of the at least one smart home device. Then, the server may determine the first device control scene from the at least one device control scene according to at least one of time information, location information of the electronic device, and frequency information of the at least one device control scene. That is, the server may send the device control scene corresponding to the current time to the electronic device when the time information corresponding to the device control scene at the current time is the same. The server may also send the device control scene corresponding to the current location to the electronic device when the current location of the electronic device is the same as the location of the electronic device corresponding to the device control scene. The server may also send a device control scenario to the electronic device where the frequency of the user usage control scenario is greater than a preset frequency.
Specifically, in the embodiment of the present application, the specific implementation manner of sending, by the server, at least one first device control scenario to the electronic device may refer to the specific implementation manner in S709, which is not described in detail in the embodiment of the present application.
S1404, the server receives a control instruction corresponding to a target device control scene sent by the electronic device.
After the server sends at least one first device control scene to the electronic device, the server may receive a control instruction corresponding to the target device control scene sent by the electronic device. The target device control scene may be a device control scene of the at least one first device control scene, i.e. the user may select a device control scene to be used among the at least one first device control scene.
Specifically, for a specific implementation manner of the server receiving the control instruction corresponding to the target device control scene sent by the electronic device in the embodiment of the present application, reference may be made to the specific implementation manner in S712, which is not described in detail in the embodiment of the present application.
S1405, the server controls the intelligent home equipment corresponding to the control scene of the target equipment to execute corresponding control operation based on the control instruction.
After the server receives the control instruction corresponding to the target equipment control scene of the electronic equipment, the server can control the intelligent home equipment corresponding to the target equipment control scene to execute corresponding control operation based on the control instruction.
Specifically, the specific implementation manner of the server in the embodiment of the present application for controlling the intelligent home device corresponding to the target device control scene to execute the corresponding control operation based on the control instruction may refer to the specific implementation manner in S714, which is not described in detail in the embodiment of the present application.
According to the scheme, the server can acquire the control information of the intelligent household equipment, so that the server can determine the use habit of the user on the intelligent household equipment, namely the equipment control scene, according to the control information of the intelligent household equipment. The server may then send the device control scenario to the user's electronic device, so that the user may select a desired device control scenario via the electronic device. After a user selects a required equipment control scene through the electronic equipment, the electronic equipment can control a plurality of intelligent home equipment corresponding to the equipment control scene through a server to respectively start corresponding functions. Because the control information of the intelligent household equipment is the control information corresponding to the user when using the function of the intelligent household equipment, the server can determine the use scene (namely the equipment control scene) according to the use habit of the user on the intelligent household equipment, and the actual use condition of the user is consistent, so that the user is not required to change the scene function of the intelligent household equipment or control the required intelligent household equipment, the operation of the user is prevented from being complicated, and the use experience of the user is improved.
For ease of understanding, another device control method provided in the embodiment of the present application will be described with reference to fig. 15. The device control method can be applied to the electronic device. As shown in fig. 15, the sound device control method may include the following S1501 to S1504.
S1501, the electronic device receives at least one first device control scene sent by a server; the first equipment control scene comprises time information, position information and control actions for controlling functions of the intelligent home equipment by a user; the first equipment control scene is determined by the server according to control information sent by the intelligent home equipment.
The electronic equipment and the server are connected firstly, so that the electronic equipment can receive at least one first equipment control scene sent by the server, and the electronic equipment can send a control instruction of a target equipment control scene to the server.
The first equipment control scene is determined by the server according to control information sent by the intelligent home equipment. The first device control scenario may include time information, location information, and control actions for controlling functions of the smart home device by the user.
Specifically, for a specific implementation manner of the electronic device receiving at least one first device control scenario sent by the server in the embodiment of the present application, reference may be made to the specific implementation manner in S709-S710, which is not described in detail in the embodiment of the present application.
S1502, the electronic device displays prompt information corresponding to at least one first device control scene.
After the electronic device receives at least one first device control scene sent by the server, the electronic device can display prompt information corresponding to the at least one first device control scene, so that a user can select a target device control scene from the at least one first device control scene.
In some examples, the electronic device displaying the prompt information corresponding to the at least one first device control scene may include: the electronic device determines at least one second device control scene from the at least one first device control scene according to the time information and/or the position information of the electronic device. And then, the electronic equipment can display prompt information corresponding to at least one second equipment control scene. The second device control scene is a device control scene of the at least one first device control scene.
That is, the electronic device may display the device control scene corresponding to the current time when the time information corresponding to the device control scene at the current time is the same. The electronic device may also display the device control scene corresponding to the current location when the current location of the electronic device is the same as the location of the electronic device corresponding to the device control scene. Thereby improving the accuracy of the control scene of the display device.
Specifically, in the embodiment of the present application, the specific implementation manner of displaying the prompt information corresponding to the at least one first device control scene by the electronic device may refer to the specific implementation manner in S710, which is not described in detail in the embodiment of the present application.
S1503, the electronic equipment receives the selection operation of a user on a control scene of the target equipment; the target device control scene is a device control scene of the at least one first device control scene.
After the electronic device displays the prompt information corresponding to the at least one first device control scene, the electronic device can receive the selection operation of the user on the target device control scene, so that the electronic device can control the intelligent home device corresponding to the target device control scene to execute the corresponding control operation through the server. The target device control scene is a device control scene of the at least one first device control scene.
Specifically, the specific implementation manner of the electronic device receiving the selection operation of the user on the control scene of the target device in the embodiment of the present application may refer to the specific implementation manner in S711, which is not described in detail in the embodiment of the present application.
S1504, the electronic device sends a control instruction corresponding to the target device control scene to the server, so that the server controls the intelligent home device corresponding to the target device control scene to execute corresponding control operation based on the control instruction.
After the electronic device receives the selection operation of the user on the target device control scene, the electronic device can send a control instruction corresponding to the target device control scene to the server, so that the server controls the intelligent home device corresponding to the target device control scene to execute the corresponding control operation based on the control instruction.
In some examples, the electronic device may further receive a modification operation of the target device control scenario by the user, and in response to the modification operation, the electronic device may modify at least one of the user, the smart home device, time information, location information, and a control action corresponding to the target device control scenario for controlling the smart home device.
In some examples, the electronic device may further receive a modification operation of any one of the at least one first device control scenario by the user, and in response to the modification operation, the electronic device may modify at least one of the user, the smart home device, time information, location information, and a control action for controlling the smart home device corresponding to the device control scenario.
According to the scheme of the application, the electronic equipment of the user can receive the equipment control scene sent by the server, and the equipment control scene is the usage habit of the user on the intelligent household equipment, namely the equipment control scene, determined by the server according to the control information sent by the intelligent household equipment. Therefore, the user selects the equipment control scene to be used through the electronic equipment, is the equipment control scene conforming to the actual use condition of the user, does not need to change the scene function of the intelligent household equipment or control the needed intelligent household equipment, avoids the complex operation of the user and improves the use experience of the user.
Corresponding to the method in the foregoing embodiment, the embodiment of the present application further provides an apparatus control device. The device control apparatus may be applied to a server for implementing the method performed by the server in the foregoing embodiment. The function of the device control method can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
For example, fig. 16 shows a schematic structural view of a device control apparatus 16, and as shown in fig. 16, the device control apparatus 16 may include: an acquisition module 1601, a determination module 1602, a transmission module 1603, a control module 1604, and the like.
The acquiring module 1601 may be configured to acquire control information sent by at least one smart home device.
The determining module 1602 may be configured to determine at least one device control scenario according to control information of at least one smart home device; the equipment control scene comprises time information, position information and control actions for controlling functions of the intelligent home equipment by a user.
A transmitting module 1603, which may be used to transmit at least one first device control scenario to the electronic device, so that the electronic device determines a target device control scenario based on the at least one first device control scenario; the first device control scene is a device control scene of the at least one device control scene.
The obtaining module 1601 may be further configured to receive a control instruction corresponding to a target device control scenario sent by the electronic device.
The control module 1604 may be configured to control, based on the control instruction, the smart home device corresponding to the control scenario of the target device to perform a corresponding control operation.
In another possible implementation manner, the determining module 1602 may be configured to perform entity extraction on control information of the smart home device to obtain a user entity, a device entity, and an environment entity corresponding to the smart home device; the user entity comprises a user identifier for controlling the intelligent home equipment; the equipment entity comprises a function identifier for controlling the intelligent home equipment and/or linkage control information for controlling the intelligent home equipment and other intelligent home equipment in a linkage manner; the environment entity comprises control time for controlling the intelligent home equipment and/or position identification of the intelligent home equipment.
The determining module 1602 may be further configured to determine at least one device control scenario according to a user entity, a device entity, and an environment entity corresponding to at least one smart home device.
In another possible implementation manner, the determining module 1602 may be further configured to divide, according to a user entity, a device entity of at least one smart home device corresponding to the user entity and an environment entity, to obtain a control data set for controlling the at least one smart home device by the same user in a plurality of time periods.
The determining module 1602 is further configured to determine at least one device control scenario according to a control data set corresponding to each user in each time period; the device control scene corresponds to the user one by one and the time.
In another possible implementation manner, the determining module 1602 may be further configured to determine the frequency information of the at least one device control scenario according to the control information of the at least one smart home device.
The determining module 1602 may be further configured to determine a first device control scenario from the at least one device control scenario according to at least one of time information, location information of the electronic device, and frequency information of the at least one device control scenario.
In another possible implementation manner, the control module 1704 may be further configured to control the first smart home device to perform the first control operation based on the control instruction and the coordinated control information.
The obtaining module 1601 may be further configured to receive a control completion instruction sent by the first smart home device.
The control module 1604 may be further configured to control the second smart home device to perform a second control operation according to the control completion instruction and the coordinated control information.
The embodiment of the application also provides a device control device. The device control apparatus may be applied to an electronic device, for implementing the method performed by the electronic device in the foregoing embodiment. The function of the device control method can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
For example, fig. 17 shows a schematic structural view of a device control apparatus 17, and as shown in fig. 17, the device control apparatus 17 may include: a receiving module 1701, a display module 1702, a transmitting module 1703, and the like.
The receiving module 1701 may be configured to receive at least one first device control scenario sent by the server, where the first device control scenario includes time information, location information, and a control action for controlling a function of the smart home device by a user; the first equipment control scene is determined by the server according to control information sent by the intelligent home equipment.
The display module 1702 may be configured to display a prompt message corresponding to at least one first device control scene.
The receiving module 1701 may be further configured to receive a selection operation of a control scenario of the target device by a user; the target device control scene is a device control scene of the at least one first device control scene.
The sending module 1703 may be configured to send a control instruction corresponding to the target device control scenario to the server, so that the server controls the smart home device corresponding to the target device control scenario to execute a corresponding control operation based on the control instruction.
In another possible implementation, as shown in fig. 17, the device control apparatus 17 may further include: a determination module 1704. The determining module 1704 may be configured to determine, from the at least one first device control scenario, at least one second device control scenario according to the time information and/or the location information of the electronic device.
The display module 1702 may be further configured to display a prompt message corresponding to at least one second device control scene.
In another possible implementation, the receiving module 1701 may also be configured to receive a modification operation of the control scenario of the target device by the user.
As shown in fig. 17, the device control apparatus 17 may further include: the module 1705 is modified. The determining module 1705 may be configured to modify at least one of a user, an intelligent home device, time information, location information, and a control action corresponding to a control scenario of the target device in response to the modifying operation.
It should be understood that the division of units or modules (hereinafter referred to as units) in the above apparatus is merely a division of logic functions, and may be fully or partially integrated into one physical entity or may be physically separated. And the units in the device can be all realized in the form of software calls through the processing element; or can be realized in hardware; it is also possible that part of the units are implemented in the form of software, which is called by the processing element, and part of the units are implemented in the form of hardware.
For example, each unit may be a processing element that is set up separately, may be implemented as integrated in a certain chip of the apparatus, or may be stored in a memory in the form of a program, and the functions of the unit may be called and executed by a certain processing element of the apparatus. Furthermore, all or part of these units may be integrated together or may be implemented independently. The processing element described herein, which may also be referred to as a processor, may be an integrated circuit with signal processing capabilities. In implementation, each step of the above method or each unit above may be implemented by an integrated logic circuit of hardware in a processor element or in the form of software called by a processing element.
In one example, the units in the above apparatus may be one or more integrated circuits configured to implement the above method, for example: one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of at least two of these integrated circuit forms.
For another example, when the units in the apparatus may be implemented in the form of a scheduler of processing elements, the processing elements may be general-purpose processors, such as CPUs or other processors that may invoke programs. For another example, the units may be integrated together and implemented in the form of a system on chip SOC.
In one implementation, the above means for implementing each corresponding step in the above method may be implemented in the form of a processing element scheduler. For example, the apparatus may comprise a processing element and a storage element, the processing element invoking a program stored in the storage element to perform the method described in the above method embodiments. The memory element may be a memory element on the same chip as the processing element, i.e. an on-chip memory element.
In another implementation, the program for performing the above method may be on a memory element on a different chip than the processing element, i.e. an off-chip memory element. At this point, the processing element invokes or displays a program on the on-chip storage element from the off-chip storage element to invoke and execute the method described in the method embodiments above.
For example, embodiments of the present application may also provide an apparatus, such as: an electronic device may include: a processor, a memory for storing instructions executable by the processor. The processor is configured to execute the above-described instructions, so that the electronic device implements the device control method described in the foregoing embodiment. The memory may be located within the electronic device or may be located external to the electronic device. And the processor includes one or more.
In yet another implementation, the unit implementing each step in the above method may be configured as one or more processing elements, where the processing elements may be disposed on the electronic device corresponding to the above, and the processing elements may be integrated circuits, for example: one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of these types of integrated circuits. These integrated circuits may be integrated together to form a chip.
For example, the embodiment of the application also provides a chip, which can be applied to the electronic equipment. The chip includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a circuit; the processor receives and executes computer instructions from the memory of the electronic device through the interface circuit to implement the methods described in the method embodiments above.
The embodiment of the application also provides a computer program product, which comprises the computer instructions for the electronic equipment to operate.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or partly contributing to the related art or all or part of the technical solution may be embodied in the form of a software product, for example: and (5) program. The software product is stored in a program product, such as a computer readable storage medium, comprising instructions for causing a device (which may be a single-chip microcomputer, chip or the like) or processor (processor) to perform all or part of the steps of the methods described in the various embodiments of the application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
For example, embodiments of the present application may also provide a computer readable storage medium having computer program instructions stored thereon. The computer program instructions, when executed by an electronic device, cause the electronic device to implement the device control method as described in the foregoing method embodiments.
The foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (11)
1. A device control method, applied to a server, where the server is connected to an electronic device and at least one smart home device, respectively, the method comprising:
acquiring control information sent by the at least one intelligent home device;
determining at least one device control scene according to the control information of the at least one intelligent home device; the equipment control scene comprises time information, position information and control actions for controlling the functions of the intelligent home equipment by a user;
transmitting the at least one first device control scene to the electronic device to cause the electronic device to determine a target device control scene based on the at least one first device control scene; the first device control scene is a device control scene in the at least one device control scene;
receiving a control instruction corresponding to the control scene of the target equipment, which is sent by the electronic equipment;
and controlling the intelligent home equipment corresponding to the target equipment control scene to execute corresponding control operation based on the control instruction.
2. The method of claim 1, wherein said determining at least one device control scenario from said control information of said at least one smart home device comprises:
Performing entity extraction on the control information of the intelligent home equipment to obtain a user entity, an equipment entity and an environment entity corresponding to the intelligent home equipment; the user entity comprises a user identifier for controlling the intelligent home equipment; the equipment entity comprises a function identifier for controlling the intelligent household equipment and/or linkage control information for controlling the intelligent household equipment and other intelligent household equipment in a linkage manner; the environment entity comprises control time for controlling the intelligent home equipment and/or a position identifier of the intelligent home equipment;
and determining at least one equipment control scene according to the user entity, the equipment entity and the environment entity corresponding to the at least one intelligent home equipment.
3. The method according to claim 2, wherein the determining at least one device control scenario according to the user entity, the device entity, and the environment entity corresponding to the at least one smart home device comprises:
dividing the equipment entity and the environment entity of at least one intelligent household equipment corresponding to the user entity according to the user entity to obtain a control data set for controlling the at least one intelligent household equipment by the same user in a plurality of time periods;
Determining the at least one equipment control scene according to the control data set corresponding to each user in each time period; the device control scenes correspond to the users one by one and the time.
4. The method of any of claims 1-3, wherein prior to the sending the at least one first device control scene to the electronic device, the method further comprises:
determining frequency information of at least one device control scene according to the control information of the at least one intelligent home device;
and determining the first equipment control scene from the at least one equipment control scene according to at least one item of time information, the position information of the electronic equipment and the frequency information of the at least one equipment control scene.
5. The method of any of claims 1-3, wherein the target device control scenario comprises a first smart home device, a second smart home device, and coordinated control information between the first smart home device and the second smart home device;
based on the control instruction, the intelligent home equipment corresponding to the target equipment control scene is controlled to execute corresponding control operation, and the method comprises the following steps:
Based on the control instruction and the linkage control information, controlling the first intelligent home equipment to execute a first control operation;
receiving a control completion instruction sent by the first intelligent home equipment;
and controlling the second intelligent home equipment to execute a second control operation according to the control completion instruction and the linkage control information.
6. A device control method, applied to an electronic device, the electronic device being connected to a server, the method comprising:
receiving at least one first equipment control scene sent by the server, and displaying prompt information corresponding to the at least one first equipment control scene; the first equipment control scene comprises time information, position information and control actions for controlling functions of the intelligent home equipment by a user; the first equipment control scene is determined by the server according to the control information sent by the intelligent home equipment;
receiving a selection operation of a user on a control scene of target equipment; the target device control scene is a device control scene in the at least one first device control scene;
and sending a control instruction corresponding to the target equipment control scene to the server, so that the server controls the intelligent home equipment corresponding to the target equipment control scene to execute corresponding control operation based on the control instruction.
7. The method of claim 6, wherein displaying the hint information corresponding to the at least one first device control scene comprises:
determining at least one second equipment control scene from the at least one first equipment control scene according to the time information and/or the position information of the electronic equipment;
and displaying prompt information corresponding to the at least one second equipment control scene.
8. The method according to claim 6 or 7, characterized in that the method further comprises:
receiving the modification operation of a user on the control scene of the target equipment;
and responding to the modification operation, and modifying at least one of a user corresponding to the target equipment control scene, the intelligent household equipment, time information, position information and control actions for controlling the intelligent household equipment.
9. The equipment control system is characterized by comprising a server, electronic equipment connected with the server and at least one intelligent household equipment; the server is adapted to perform the method of any of claims 1 to 5, and the electronic device is adapted to perform the method of any of claims 6 to 8.
10. An electronic device comprising a processor, a memory for storing instructions executable by the processor; the processor being configured to, when executing the instructions, cause the electronic device to implement the method of any one of claims 1 to 5; alternatively, the processor is configured to, when executing the instructions, cause the electronic device to implement the method of any one of claims 6 to 8.
11. A computer readable storage medium having stored thereon computer program instructions; it is characterized in that the method comprises the steps of,
when executed by an electronic device, cause the electronic device to implement the method of any one of claims 1 to 5; or, when executed by an electronic device, cause the electronic device to implement the method of any one of claims 6 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311336633.5A CN117092926B (en) | 2023-10-17 | 2023-10-17 | Equipment control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311336633.5A CN117092926B (en) | 2023-10-17 | 2023-10-17 | Equipment control method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117092926A true CN117092926A (en) | 2023-11-21 |
CN117092926B CN117092926B (en) | 2024-03-29 |
Family
ID=88773791
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311336633.5A Active CN117092926B (en) | 2023-10-17 | 2023-10-17 | Equipment control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117092926B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117708680A (en) * | 2024-02-06 | 2024-03-15 | 青岛海尔科技有限公司 | Method and device for improving accuracy of classification model, storage medium and electronic device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108873730A (en) * | 2018-08-31 | 2018-11-23 | 珠海格力电器股份有限公司 | Control method and device for household equipment |
CN110488887A (en) * | 2019-08-30 | 2019-11-22 | 百度在线网络技术(北京)有限公司 | Temprature control method, device, electronic equipment and the storage medium of smart home |
CN110618627A (en) * | 2019-09-02 | 2019-12-27 | 深圳绿米联创科技有限公司 | Household equipment control method and device, electronic equipment and storage medium |
CN114265325A (en) * | 2021-12-23 | 2022-04-01 | 深圳康佳电子科技有限公司 | Self-learning intelligent household control method, terminal and computer readable storage medium |
CN114740748A (en) * | 2022-04-29 | 2022-07-12 | 青岛海尔科技有限公司 | Smart home scene creation method and device, storage medium and electronic device |
CN115826428A (en) * | 2023-02-23 | 2023-03-21 | 海尔优家智能科技(北京)有限公司 | Control method and device of household equipment, storage medium and electronic device |
CN116430740A (en) * | 2023-02-22 | 2023-07-14 | 深圳绿米联创科技有限公司 | Device control method, device control system, electronic device and storage medium |
-
2023
- 2023-10-17 CN CN202311336633.5A patent/CN117092926B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108873730A (en) * | 2018-08-31 | 2018-11-23 | 珠海格力电器股份有限公司 | Control method and device for household equipment |
CN110488887A (en) * | 2019-08-30 | 2019-11-22 | 百度在线网络技术(北京)有限公司 | Temprature control method, device, electronic equipment and the storage medium of smart home |
CN110618627A (en) * | 2019-09-02 | 2019-12-27 | 深圳绿米联创科技有限公司 | Household equipment control method and device, electronic equipment and storage medium |
CN114265325A (en) * | 2021-12-23 | 2022-04-01 | 深圳康佳电子科技有限公司 | Self-learning intelligent household control method, terminal and computer readable storage medium |
CN114740748A (en) * | 2022-04-29 | 2022-07-12 | 青岛海尔科技有限公司 | Smart home scene creation method and device, storage medium and electronic device |
CN116430740A (en) * | 2023-02-22 | 2023-07-14 | 深圳绿米联创科技有限公司 | Device control method, device control system, electronic device and storage medium |
CN115826428A (en) * | 2023-02-23 | 2023-03-21 | 海尔优家智能科技(北京)有限公司 | Control method and device of household equipment, storage medium and electronic device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117708680A (en) * | 2024-02-06 | 2024-03-15 | 青岛海尔科技有限公司 | Method and device for improving accuracy of classification model, storage medium and electronic device |
CN117708680B (en) * | 2024-02-06 | 2024-06-21 | 青岛海尔科技有限公司 | Method and device for improving accuracy of classification model, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN117092926B (en) | 2024-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220131969A1 (en) | Messaging application sticker extensions | |
CN105634881B (en) | Application scene recommendation method and device | |
US9916864B2 (en) | Method and apparatus for managing images using a voice tag | |
US10469646B2 (en) | Method and apparatus for providing communication-related information | |
CN106209964B (en) | Electronic device and method for controlling execution of application in electronic device | |
US11770351B2 (en) | Multiple application list prioritization | |
WO2018010533A1 (en) | Device control system, method and apparatus, and gateway | |
CN110795179B (en) | Display method and electronic equipment | |
CN111752443A (en) | Method, related device and system for controlling page by display equipment | |
US9967744B2 (en) | Method for providing personal assistant service and electronic device thereof | |
TW201826869A (en) | Method, system and device for connecting devices | |
CN117092926B (en) | Equipment control method and electronic equipment | |
CN111420399B (en) | Virtual character reloading method, device, terminal and storage medium | |
CN111282268B (en) | Plot showing method, plot showing device, plot showing terminal and storage medium in virtual environment | |
CN107637028B (en) | Electronic device, gateway, and control method for the same | |
KR102628856B1 (en) | System for sharing contents between electronic devices and method for sharing contents in an electronic device | |
CN111367188B (en) | Control method and device for intelligent home, electronic equipment and computer storage medium | |
US20170329865A1 (en) | Electronic device and method for providing content | |
US11822874B2 (en) | User-specified replacement of terms in messaging | |
CN105656988A (en) | Electronic device and method of providing service in electronic device | |
CN108303902B (en) | Equipment control method, medium, equipment and device | |
US20240111595A1 (en) | Application deployment method, distributed operating system, electronic device, and storage medium | |
KR20150128482A (en) | Apparatus and Method for operating communication service between electronic devices | |
KR102419187B1 (en) | Electronic device and method of operating the same | |
US20160173679A1 (en) | Electronic device connected to another electronic device and method of controlling same |
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 |