Intelligent device control method, device, electronic device and storage medium

By obtaining the status and identity information of the object, the control strategy of the smart home device is automatically determined, which solves the problem of inconvenience of manual operation, realizes efficient smart device control, and improves the user experience.

CN115061408BActive Publication Date: 2025-09-12GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210775501.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-01
Publication Date
2025-09-12
Estimated Expiration
2042-07-01

AI Technical Summary

Technical Problem

In the prior art, smart home devices require manual operation, which causes inconvenience to the user and affects the user experience.

Method used

By obtaining the state and identity information of the object, the target scenario and control strategy are automatically determined, control instructions are generated and executed, avoiding manual operations.

Benefits of technology

It improves the control efficiency of smart devices, reduces the need for manual operation, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115061408B_ABST
    Figure CN115061408B_ABST
Patent Text Reader

Abstract

The present application relates to a method, apparatus, electronic device and storage medium for controlling an intelligent device, wherein the method first determines a target scene in which a first object is located, and then determines a first target control strategy corresponding to the first object in the target scene to obtain a control instruction that best matches the first object in the target scene, and operates the intelligent device according to the control instruction, thereby automatically and quickly controlling the intelligent device for the first object in the current scene, thereby improving the control efficiency of the intelligent device and avoiding the need to manually control the intelligent device using the object, which causes inconvenience in operation and affects the user experience of the object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology, and in particular to a method, device, electronic device, and storage medium for recommending an exercise mode. Background Art

[0002] With the continuous advancement of science and technology and the growing economy, more and more smart homes are entering people's lives. To better serve people, smart homes not only have traditional residential functions, but also combine construction, network communications, information appliances, equipment automation, provide a full range of information interaction functions, and even save money on various energy costs.

[0003] In traditional methods, triggering smart home operations often requires the user to enter the smart home APP application to perform manual operations, manually set the operation scene of the smart device, or manually control the smart device by the user, which makes the operation inconvenient and greatly reduces the first-party experience. Summary of the Invention

[0004] The present application provides a smart device control method, apparatus, electronic device and storage medium to solve the problem in related technologies that smart devices need to be manually controlled by an object, resulting in inconvenient operation and affecting the user experience.

[0005] In a first aspect, the present application provides a method for controlling an intelligent device, which includes: obtaining status information of a first object, and determining a target scene in which the first object is currently located based on the status information; performing identity identification on the first object to obtain identity information of the first object; determining a first target control strategy corresponding to the first object in the target scene based on the target scene and the identity information of the first object, the first target control strategy including at least one control instruction, and the control instruction being used to control at least one intelligent device; and controlling the intelligent device according to an operation sequence and operation time contained in the control instruction in the first target control strategy.

[0006] Optionally, after controlling the smart device according to the first target control strategy, the method further includes: identifying the second object and obtaining the identity information of the second object; determining the second target control strategy corresponding to the identity information of the second object based on the target scene and the identity information of the second object; when there is a conflict between the second target control strategy and the first target control strategy, obtaining the priority of the control instructions that conflict between the second target control strategy and the first target control strategy; and executing the control instructions with higher priority to control the smart device.

[0007] Optionally, after controlling the smart device according to the first target control strategy, the method further includes: receiving a target control instruction of the first object, and controlling the corresponding smart device according to the target control instruction; when the number of executions of the target control instruction exceeds a target threshold, modifying the correspondence between the identity information and the control strategy according to the target control instruction to modify the first target control strategy corresponding to the identity information of the first object in the target scenario.

[0008] Optionally, the status information includes: at least one of: current location, outing time, outing distance, and current time; obtaining the status information of the first object, and determining the target scene where the first object is currently located based on the status information, including: obtaining at least one of the current location information, outing time information, outing distance information, and current time information of the first object as the status information, and determining the target scene where the first object is located based on the status information.

[0009] Optionally, performing identity identification on the first object and obtaining the identity information of the first object includes: collecting the voiceprint of the first object, matching the voiceprint of the first object with a voiceprint information database, and obtaining the identity information of the first object, wherein the voiceprint information database includes a correspondence between the voiceprint and the identity information.

[0010] Optionally, before determining the first target control strategy corresponding to the first object in the target scenario based on the target scenario and the identity information of the first object, the method further includes: obtaining the historical control record of the first object on each smart device; when the historical control record meets the preset rules, generating the first target control strategy corresponding to the identity information of the first object based on the historical control record.

[0011] In the second aspect, the present application provides an intelligent device control device, which includes: a determination module for obtaining status information of a first object and determining the target scene in which the first object is currently located based on the status information; an identification module for identifying the first object and obtaining the identity information of the first object; a strategy module for determining, based on the target scene and the identity information of the first object, a first target control strategy corresponding to the identity information of the first object in the target scene, wherein the target control strategy includes at least one control instruction, and the control instruction is used to control at least one intelligent device; a control module for controlling the intelligent device according to the operation sequence and operation time contained in the control instruction in the first target control strategy.

[0012] Optionally, the identification module is also used to identify the second object and obtain the identity information of the second object; the policy module is also used to determine the second target control strategy corresponding to the identity information of the second object based on the target scene and the identity information of the second object; when there is a conflict between the second target control strategy and the first target control strategy, obtain the priority of the control instructions that conflict between the second target control strategy and the first target control strategy; the control module is also used to execute control instructions with high priority to control the smart device.

[0013] In a third aspect, an electronic device is provided, comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0014] Memory for storing computer programs;

[0015] The processor is used to implement the steps of the intelligent device control method described in any embodiment of the first aspect when executing the program stored in the memory.

[0016] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the smart device control method as described in any embodiment of the first aspect are implemented.

[0017] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:

[0018] The smart device control method provided in an embodiment of the present application includes: obtaining status information of a first object, and determining a target scene in which the first object is currently located based on the status information; performing identity identification on the first object to obtain identity information of the first object; determining a first target control strategy corresponding to the first object in the target scene based on the target scene and the identity information of the first object, the first target control strategy including at least one control instruction, and the control instruction being used to control at least one smart device; controlling the smart device according to the first target control strategy, by first determining the target scene in which the first object is located, and then determining the first target control strategy corresponding to the first object in the target scene, so as to obtain a control instruction that best matches the first object in the target scene, and operating the smart device according to the control instruction, thereby being able to automatically and quickly control the smart device for the first object in the current scene, thereby improving the control efficiency of the smart device and avoiding the need to use an object to manually control the smart device, which causes inconvenience in operation and affects the user experience of the object. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0021] Figure 1 A flowchart of a smart device control method provided in an embodiment of the present application;

[0022] Figure 2 A flowchart of another smart device control method provided in an embodiment of the present application;

[0023] Figure 3 A schematic diagram of the basic structure of an exercise pattern recommendation device provided in an embodiment of the present application;

[0024] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0026] In order to solve the problem in the related art that an object needs to be used to manually control an intelligent device, which results in unchanged operation and affects the user experience of the object, this embodiment provides a method for controlling an intelligent device, such as Figure 1 As shown, Figure 1 A basic flow chart of a smart device control method provided in an embodiment of the present application, the method comprising:

[0027] S101, obtaining state information of a first object, and determining a target scene where the first object is currently located according to the state information;

[0028] S102: Perform identity recognition on the first object to obtain identity information of the first object;

[0029] S103: Determine, based on the target scenario and the identity information of the first object, a first target control policy corresponding to the first object in the target scenario, where the first target control policy includes at least one control instruction, and the control instruction is used to control at least one smart device;

[0030] S104: Control the smart device according to the operation sequence and operation time included in the control instruction in the first target control strategy.

[0031] It should be understood that the control instruction includes the operation sequence and operation time for operating the smart device.

[0032] It can be understood that the above-mentioned smart device control method can be applied to terminals and / or servers, that is, the above-mentioned exercise mode recommendation method can be executed solely by the terminal or by the server; some steps can also be executed by the terminal and some steps can be executed by the server, where the terminals include but are not limited to: mobile terminals such as mobile phones, tablet computers, laptops, PDAs, portable media players (PMPs), navigation devices, and fixed terminals such as digital TVs and desktop computers; terminals also include: gateways, routers and other devices. The following is an example of the application of the smart device control method to the gateway.

[0033] Continuing with the above example, the gateway is connected to multiple smart devices, and can then control the smart devices according to the first target control strategy; the connection method includes but is not limited to: one of wired and wireless, and the above-mentioned wired connection method includes but is not limited to: at least one of data cable, network cable, optical fiber, etc.; the wireless connection method includes but is not limited to: at least one of WIFI, infrared, near-field communication, Bluetooth, etc.

[0034] In some examples of this embodiment, the method of obtaining the status information of the first object includes collecting the status information of the first object through a collector, wherein the collector is but not limited to: at least one of a camera, a position sensor, a timer, a smart watch, a voiceprint collector, etc., and each collector is connected to the above-mentioned gateway, so that the gateway can obtain the status information based on the information of the first object collected by the collector; it can be understood that when the smart device control method is applied to a server and / or other terminals, the collector is connected to the server and / or other terminals, so that the server and / or other terminals can obtain the status information collected by the collector.

[0035] Continuing with the above example, identity recognition is performed on the first object to obtain the identity information of the first object, including: collecting the voiceprint of the first object, matching the voiceprint of the first object with a voiceprint information database, and obtaining the identity information of the first object, wherein the voiceprint information database includes a correspondence between the voiceprint and the identity information.

[0036] In some examples of this embodiment, the status information includes: at least one of the current position, outgoing time, outgoing distance, and current time; obtaining the status information of the first object, and determining the target scene where the first object is currently located based on the status information, includes: obtaining at least one of the current position information, outgoing time information, outgoing distance information, and current time information of the first object as the status information, and determining the target scene where the first object is located based on the status information. The target scenes include but are not limited to: early morning scenes, lunch break scenes, evening scenes, night rest scenes, home scenes, office scenes, etc. The target scene where the first object is currently located can be determined based on different status information, and different first target control strategies correspond to the first object in different target scenes, wherein the current position is the position of the first object, the current time is the current time of the first object, the outgoing time is the time the first object is away from home, and the outgoing distance is the farthest distance the first object is away from home;

[0037] Continuing with the above example, for example, if the first subject is currently at home and has been at home for 9 hours, the time spent away from home is 0, and the current time is early morning, then it can be determined that the current scene is early morning; for another example, if the first subject is currently at home and has been away for the target time, then it can be determined that the first subject has triggered the homecoming scene. If the time spent away from home does not reach the target time, then it is determined that the first subject has not triggered the homecoming scene (for example, if the first subject only goes downstairs to throw away the trash or pick up a package and goes out for a short time, the homecoming scene will not be triggered, thereby avoiding arbitrary switching of the target scene currently in which the first subject is located);

[0038] In some examples of this embodiment, before determining the first target control policy corresponding to the first object in the target scenario based on the target scenario and the identity information of the first object, the method further includes: obtaining a historical control record of the first object on each smart device; and when the historical control record meets a preset rule, generating the first target control policy corresponding to the identity information of the first object based on the historical control record. The preset rule may be that the number of historical control records reaches a target number. Specifically, the historical control records of the first object on each smart device are collected multiple times in each target scenario. If the number of historical control records reaches the target number in any target scenario, it is determined that the historical control record meets the preset rule in the target scenario, and the first target control policy corresponding to the identity information of the first object is directly generated based on the historical control record.

[0039] Continuing with the above example, for example, in a home scenario, the historical control records all show that the first object turns on the TV first, and then turns on the air conditioner in the bedroom after 2 hours, and the number of historical control records reaches three times. In the home scenario, the first target control strategy of the first object is set to turn on the TV first, and then turn on the air conditioner in the bedroom two hours later. That is, the control instructions included in the first target control strategy of the first object in the home scenario include: turn on the TV first, and then turn on the air conditioner in the bedroom two hours later. For another example, in the home scenario, the historical control records all show that the second object turns on the air conditioner in the bedroom first, and then turns on the TV after 1 hour, and the number of historical control records reaches three times. In the home scenario, the second target control strategy of the second object is set to turn on the air conditioner in the bedroom first, and then turn on the TV after 1 hour. That is, the control instructions included in the second target control strategy of the second object in the home scenario include: turn on the air conditioner in the bedroom first, and then turn on the TV after 1 hour.

[0040] Continuing with the previous example, the historical control record can also include the weight of each smart device. For example, in the homecoming scenario, the first object turns on the TV first, and then turns on the bedroom air conditioner after 2 hours. In this path, the path weight to the TV is set to 3, and the weight to the air conditioner is set to 5. According to the shortest path, the path to the TV first is the shortest. For user A, the overall shortest path is the TV and the bedroom air conditioner. The first target control strategy of the first object is set to turn on the TV first, and then turn on the bedroom air conditioner two hours later. When the second object triggers the homecoming scenario, it turns on the bedroom air conditioner first, and then turns on the TV after 1 hour. The weight to the bedroom air conditioner is 1, and the weight to the TV is 4. The shortest path generated for user B is the bedroom air conditioner and the TV. The second target control strategy of the second object is set to turn on the bedroom air conditioner first, and then turn on the TV after 1 hour.

[0041] In some examples of this embodiment, based on the target scene and the identity information of the first object, a first target control strategy corresponding to the first object in the target scene is determined, the first target control strategy includes at least one control instruction, and the control instruction is used to control at least one smart device. It should be understood that the first object corresponds to different first target control strategies in different scenarios. For example, when the smart devices include: air conditioning, curtains, and water heaters, in the early morning scene, the air conditioning needs to be turned off for the first object first, then the curtains are opened, and finally the water heater is turned on after a certain delay, so that the first object can wash up; in the lunch break scene, the air conditioning needs to be turned on, the curtains closed, and the water heater turned on for the first object first, so that the first object can take a lunch break; therefore, the first object corresponds to different first target control strategies in different target scenes.

[0042] In some examples of this embodiment, after controlling the smart device according to the first target control strategy, the method also includes: identifying a second object and obtaining identity information of the second object; determining a second target control strategy corresponding to the identity information of the second object based on the target scene and the identity information of the second object; when there is a conflict between the second target control strategy and the first target control strategy, obtaining the priority of the control instructions that conflict between the second target control strategy and the first target control strategy; and executing the control instructions with higher priority to control the smart device. It should be understood that the priority can be determined based on the identity information of the first object and the second object (for example, the priority of the elderly is higher than that of the young, and the priority of parents is higher than that of children). For example, if the identity priority of the first object is higher than that of the second object, the priority of the control instructions in the first target control strategy is always higher than the priority of the control instructions in the second target control strategy, and vice versa. For another example, the priority is determined according to the time of each control instruction, and the control instruction with an earlier time has a higher priority than the control instruction with a later time. For example, the first target control strategy corresponding to the first object includes an instruction to turn on the air conditioner at 3:10 pm, and the second target control strategy corresponding to the second object includes an instruction to turn on the air conditioner at 3:20 pm. Since 3:10 is before 3:20, the priority of the control instruction to turn on the air conditioner in the first target control strategy corresponding to the first object is higher than the priority of the control instruction to turn on the air conditioner in the second target control strategy corresponding to the second object, and vice versa. The specific method of obtaining the priority of the control instructions that conflict between the second target control strategy and the first target control strategy can be flexibly set by relevant personnel.

[0043] Among them, for example, in the home scene, the control instructions included in the first target control strategy of the first object include: turn on the TV first, and turn on the air conditioner in the bedroom two hours later; the control instructions included in the second target control strategy of the second object in the home scene include: turn on the air conditioner in the bedroom first, and turn on the TV two hours later. When the first object triggers the home scene, the startup status and timing of the smart device are announced by voice. For example, for the first object, the content of the announcement should be "The TV is turned on, and the bedroom air conditioner will start in 2 hours." Of course, when the first object and the second object trigger a conflict in the home scene, for example, the first object goes home first and the air conditioner is already started, then when the second object goes home, the announcement will be "The TV is turned on, and the bedroom air conditioner is started.

[0044] In some examples of this embodiment, after controlling the smart device according to the first target control strategy, the method also includes: receiving a target control instruction of the first object, and controlling the corresponding smart device according to the target control instruction; when the number of executions of the target control instruction exceeds a target threshold, modifying the correspondence between the identity information and the control strategy according to the target control instruction to modify the first target control strategy corresponding to the identity information of the first object in the target scenario. Among them, after controlling the smart device according to the first target control strategy, the first object can also provide feedback based on its own situation and issue a target control instruction to modify the control of the smart device. For example: it is rainy today and the first object is wet or caught a cold. Then when the home scene is triggered, the first object wants to start the water heater as soon as possible. At this time, a target control instruction (voice, manual, APP control, etc.) is issued to control the water heater to start. When the first target control instruction is received, it is checked whether the number of executions of the target control instruction exceeds the target threshold when the home scene is triggered (for example, the number of executions of the target control instruction exceeds three times, or the number of executions of the target control instruction exceeds three times within a week). If the target threshold is exceeded, it is considered that the first object's habit in the target scene has changed. At this time, starting the water heater first is added to the first target control strategy of the first object in the home scene to modify the first target control strategy of the first object in the home scene. It should be understood that if the target threshold is not exceeded, the first target control strategy of the first object in the home scene will not be modified.

[0045] The present embodiment provides a smart device control method, which includes: obtaining status information of a first object, and determining a target scene in which the first object is currently located based on the status information; performing identity identification on the first object to obtain identity information of the first object; determining a first target control strategy corresponding to the first object in the target scene based on the target scene and the identity information of the first object, wherein the first target control strategy includes at least one control instruction, and the control instruction is used to control at least one smart device; controlling the smart device according to the first target control strategy, by first determining the target scene in which the first object is located, and then determining the first target control strategy corresponding to the first object in the target scene to obtain a control instruction that best matches the first object in the target scene, and operating the smart device according to the control instruction, thereby being able to automatically and quickly control the smart device for the first object in the current scene, thereby improving the control efficiency of the smart device and avoiding the need to use the object to manually control the smart device, which causes inconvenience in operation and affects the user experience of the object.

[0046] In order to better understand the present invention, this embodiment provides a more specific example to illustrate the intelligent device control method provided by the present invention;

[0047] Specifically, such as Figure 2 As shown, when the user (first subject) returns home and sets off for the Homecoming scene, the method for triggering the Homecoming scene is fixed: voice control. This is because the user's voice is collected / acquired, analyzed and identified to confirm the person returning home. For ease of explanation, assume that the current household consists of two people, A and B. The voice identification is designed using the TensorFlow framework, and many existing systems already have this technology that can be directly used.

[0048] After determining the current user, the weight of the user's habitual operation of electrical appliances is obtained from the shortest path weight library for operating electrical appliances. For example: After returning home and triggering the home scene, user A turns on the TV first, and then turns on the air conditioner in the bedroom after 2 hours. In this path, the weight of the path to the TV is set to 3, and the weight to the air conditioner is set to 5. Then, according to the shortest path, the path to the TV first is the shortest. For user A, the overall shortest path is the TV and the bedroom air conditioner. When user B triggers the home scene, he turns on the bedroom air conditioner first, and then turns on the TV after 1 hour. The weight to the bedroom air conditioner is 1, and the weight to the TV is 4. The shortest path generated for user B is the bedroom air conditioner and the TV.

[0049] After determining the user's shortest path, the system uses voice to announce the appliance startup status and timing. For example, for user A, the announcement should be "The TV is on, and the bedroom air conditioner will start in 2 hours." Of course, if a conflicting scenario arises when a user triggers home, for example, if user B arrives home first and the air conditioner is already on, the response would be "The TV is on, and the bedroom air conditioner is already on."

[0050] When the scene-controlled home appliance action is completed, the user can also provide feedback based on their own situation. The user can choose to modify the start-up time of the home appliance. For example, it may rain today and the user gets wet, so he wants to start the water heater first. At this time, he can control the appliance by voice. When receiving feedback, check whether the feedback on operating this home appliance is more than three days. If it exceeds, it is considered that the user's control habits have changed, and the weight of the shortest path for operating the water heater will be modified. Otherwise, it is considered that this is a temporary change in control; if there is no feedback, it will be executed normally.

[0051] The present embodiment provides a method for controlling a smart device, comprising: obtaining status information of a first object, determining a target scene in which the first object is currently located based on the status information; identifying the first object and obtaining the identity information of the first object; determining a first target control strategy corresponding to the first object in the target scene based on the target scene and the identity information of the first object, wherein the first target control strategy includes at least one control instruction for controlling at least one smart device; and controlling the smart device based on the first target control strategy, by first determining the target scene in which the first object is located, then determining the first target control strategy corresponding to the first object in the target scene, so as to obtain a control instruction that best matches the first object in the target scene, and operating the smart device based on the control instruction, thereby automatically and quickly controlling the smart device for the first object in the current scene, thereby improving the control efficiency of the smart device and avoiding the need to manually control the smart device using the object, which causes inconvenience in operation and affects the user experience of the object. Specifically, in the case of a homecoming scene, different homecoming scene experiences are provided according to different first objects, eliminating the need for the first object to operate the machine when returning home, thereby improving the user experience of the first object.

[0052] Based on the same concept, this embodiment provides a smart device control device, such as Figure 3 As shown, the intelligent device control device includes:

[0053] Determination module 1, configured to obtain state information of a first object and determine a target scene where the first object is currently located based on the state information;

[0054] Identification module 2, used to identify the first object and obtain the identity information of the first object;

[0055] a policy module 3, configured to determine, based on the target scenario and the identity information of the first object, a first target control policy corresponding to the identity information of the first object in the target scenario, wherein the target control policy includes at least one control instruction, and the control instruction is used to control at least one smart device;

[0056] A control module 4, configured to control the smart device according to the first target control strategy;

[0057] In some examples of this embodiment, the identification module 2 is further used to identify the second object and obtain the identity information of the second object; the policy module 3 is further used to determine the second target control policy corresponding to the identity information of the second object according to the target scene and the identity information of the second object; when the second target control policy conflicts with the first target control policy, the priority of the control instruction that conflicts between the second target control policy and the first target control policy is obtained; the control module is further used to execute the control instruction with higher priority to control the smart device

[0058] It should be understood that the combination of the various modules of the intelligent device control apparatus provided in this embodiment can implement the various steps of the above-mentioned intelligent device control method and achieve the same technical effects as the various steps of the above-mentioned intelligent device control method, which will not be repeated here.

[0059] like Figure 4 As shown, an embodiment of the present application provides an electronic device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.

[0060] Memory 113, for storing computer programs;

[0061] In one embodiment of the present application, the processor 111 is configured to implement the steps of the smart device control method provided by any one of the aforementioned method embodiments when executing the program stored in the memory 113 .

[0062] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the smart device control method provided in any of the aforementioned method embodiments are implemented.

[0063] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0064] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for controlling an intelligent device, characterized in that: The smart device control method includes: Acquiring status information of a first object, and determining a target scene in which the first object is currently located according to the status information, including: determining whether to trigger a home scene according to the outing time of the first object; Performing identity recognition on the first object to obtain identity information of the first object; Determining, based on the target scenario and the identity information of the first object, a first target control strategy corresponding to the first object in the target scenario, where the first target control strategy includes at least one control instruction, the control instruction being used to control at least one smart device, the first target control strategy being generated based on a shortest path for the first object to control each smart device, the shortest path being generated based on a path weight for each smart device generated during a historical process of the first object controlling each smart device; The smart device is controlled according to the operation sequence and operation time included in the control instruction in the first target control strategy.

2. The method according to claim 1, characterized in that After controlling the smart device according to the first target control strategy, the method further includes: Performing identity recognition on the second object to obtain identity information of the second object; determining, according to the target scene and the identity information of the second object, a second target control strategy corresponding to the identity information of the second object; When the second target control strategy conflicts with the first target control strategy, obtaining the priority of the conflicting control instructions between the second target control strategy and the first target control strategy; Execute high-priority control instructions to control smart devices.

3. The method according to claim 1 or 2, characterized in that After controlling the smart device according to the first target control strategy, the method further includes: receiving a target control instruction of the first object, and controlling a corresponding smart device according to the target control instruction; When the number of executions of the target control instruction exceeds a target threshold, the correspondence between identity information and control strategy is modified according to the target control instruction to modify the first target control strategy corresponding to the identity information of the first object in the target scenario.

4. The method according to claim 3, characterized in that The state information includes: at least one of: current location, outgoing time, outgoing distance, and current time; obtaining the state information of the first object, and determining the target scene where the first object is currently located according to the state information, including: At least one of the current position information, outgoing time information, outgoing distance information, and current time information of the first object is acquired as the state information, and the target scene where the first object is located is determined according to the state information.

5. The method according to any one of claim 4, characterized in that Performing identity recognition on a first object to obtain identity information of the first object includes: The voiceprint of the first subject is collected, and the voiceprint of the first subject is matched with a voiceprint information database to obtain the identity information of the first subject, wherein the voiceprint information database includes a correspondence between the voiceprint and the identity information.

6. The method according to claim 3, characterized in that Before determining, based on the target scene and the identity information of the first object, a first target control strategy corresponding to the first object in the target scene, the method further includes: Obtaining historical control records of each smart device by the first object; When the historical control record complies with a preset rule, the first target control policy corresponding to the identity information of the first object is generated according to the historical control record.

7. A smart device control device, characterized in that: The intelligent device control device includes: a determination module, configured to obtain status information of a first subject, and determine a target scene in which the first subject is currently located according to the status information, including: determining whether to trigger a home scene according to the outing time of the first subject; an identification module, configured to identify the first object and obtain identity information of the first object; a policy module, configured to determine, based on the target scenario and the identity information of the first object, a first target control policy corresponding to the identity information of the first object in the target scenario, the target control policy including at least one control instruction used to control at least one smart device, the first target control policy being generated based on a shortest path for the first object to control each smart device, the shortest path being generated based on a path weight for each smart device generated during a historical process of the first object controlling each smart device; A control module is used to control the smart device according to the operation sequence and operation time included in the control instruction in the first target control strategy.

8. The device according to claim 7, characterized in that The identification module is further configured to identify the second object and obtain identity information of the second object; The strategy module is further configured to determine a second target control strategy corresponding to the identity information of the second object based on the target scene and the identity information of the second object; When the second target control strategy conflicts with the first target control strategy, obtaining the priority of the conflicting control instructions between the second target control strategy and the first target control strategy; The control module is further configured to execute control instructions with high priority to control the smart device.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory for storing computer programs; The processor is configured to implement the steps of the intelligent device control method according to any one of claims 1 to 6 when executing the program stored in the memory.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the smart device control method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Smart home equipment control method and device

    CN111766798A

  • Instruction processing method and apparatus, electronic device and storage medium

    WO2020228031A1