Intelligent scene updating method and device
By detecting the change information of smart scenes in the smart home system and automatically update them according to the rules, the problem of cumbersome users' manual modification of smart scene mode is solved, improving the user experience.
Patent Information
- Application Number
- CN202111109035.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-22
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-09-22
AI Technical Summary
In smart home systems, users need to manually modify the smart scene mode, resulting in cumbersome control processes and increasing the user's operational burden.
After detecting that the intelligent scene is triggered, the scene change information is obtained within the first preset time. If the acquisition pattern meets the conditions within the second preset time, the intelligent scene is automatically updated to reduce user operations.
It realizes automatic update of intelligent scenarios based on user behavior habits, reduces user operation burden, and simplifies the modification process of intelligent scenarios.
Smart Images

Figure CN113703334B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to a method and device for updating a smart scene. Background Art
[0002] With the continuous development of science and technology and the continuous improvement of people's living standards, modern people are increasingly dissatisfied with the existing living conditions. Instead, they are eager to pursue a more comfortable and high-quality living environment. For this reason, smart home (smart home, home automation) has also emerged. The so-called smart home is based on the residential platform, using integrated wiring technology, network communication technology, security technology, automatic control technology, audio and video technology to integrate facilities related to home life, build an efficient management system for residential facilities and family schedule affairs, improve home safety, convenience, comfort, artistry, and achieve an environmentally friendly and energy-saving living environment.
[0003] In a smart home system, users can automatically control a series of smart devices by setting smart scene modes. Currently, the modification of smart scene modes requires manual operation by users, such as manually deleting or adding smart devices in the smart scene modes. The control process is cumbersome and increases the operation burden of users. Summary of the invention
[0004] In view of the above problems, the embodiments of the present application provide a smart scene update method, device and smart control device to solve the above technical problems.
[0005] The embodiment of the present application is implemented by adopting the following technical solutions:
[0006] In a first aspect, some embodiments of the present application provide a method for updating a smart scene, the method comprising, after detecting that the smart scene is triggered, if the scene state of the smart scene changes within a first preset time, obtaining scene change information of the smart scene; and if the acquisition rule of the scene change information within a second preset time meets preset conditions, updating the smart scene according to the scene change information.
[0007] In a second aspect, some embodiments of the present application provide an updating device for a smart scene, the device comprising an information acquisition module and a scene update module; the information acquisition module is used to obtain scene change information of the smart scene if the scene state of the smart scene changes within a first preset time after detecting that the smart scene is triggered; the scene update module is used to update the smart scene according to the scene change information if the acquisition rule of the scene change information within a second preset time meets preset conditions.
[0008] In a third aspect, an embodiment of the present application further provides an intelligent control device, including a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are called by the processor, the above-mentioned intelligent scene update method is executed.
[0009] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a program code, wherein the above-mentioned smart scene update method is executed when the program code is executed by a processor.
[0010] The embodiments of the present application provide a smart scene updating method, apparatus, smart control device and storage medium. The smart device control method obtains scene change information of the smart scene if the scene state of the smart scene changes within a first preset time after detecting that the smart scene is triggered, and updates the smart scene according to the scene change if the acquisition rule of the scene change information within a second preset time meets preset conditions. The smart scene can then be automatically updated according to the user's behavioral habits, thereby reducing the user's operating burden.
[0011] These and other aspects of the present application will become more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0013] Figure 1 A schematic diagram of a smart home system provided in an embodiment of the present application is shown.
[0014] Figure 2 A schematic flow chart of a method for updating a smart scene provided in an embodiment of the present application is shown.
[0015] Figure 3 A flow chart of another smart scene updating method provided in an embodiment of the present application is shown.
[0016] Figure 4 A flow chart of steps S281 to S282 provided in an embodiment of the present application is shown.
[0017] Figure 5 A flow chart of steps S290 to S293 provided in an embodiment of the present application is shown.
[0018] Figure 6A module block diagram of a smart scene updating device provided in an embodiment of the present application is shown.
[0019] Figure 7 A module block diagram of an intelligent control device provided in an embodiment of the present application is shown.
[0020] Figure 8 A module block diagram of a computer storage medium provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0021] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0022] Glossary
[0023] Knowledge graph: It is called knowledge domain visualization or knowledge domain mapping map in the library and information industry. It is a series of different graphics that show the development process and structural relationship of knowledge. It uses visualization technology to describe knowledge resources and their carriers, and to mine, analyze, construct, draw and display knowledge and their interrelationships.
[0024] Confidence: The confidence interval of a probability sample is an interval estimate of a population parameter of the sample. The confidence interval shows the degree to which the true value of the parameter has a certain probability of falling around the measurement result. The confidence interval gives the range of the credibility of the measured value of the measured parameter, that is, the "certain probability" required above, and this probability is called the confidence level.
[0025] With the continuous development of science and technology and the continuous improvement of people's living standards, modern people are increasingly dissatisfied with the existing living conditions. Instead, they are eager to pursue a more comfortable and high-quality living environment. For this reason, smart home (smart home, home automation) has also emerged. The so-called smart home is based on the residential platform, using integrated wiring technology, network communication technology, security technology, automatic control technology, audio and video technology to integrate facilities related to home life, build an efficient management system for residential facilities and family schedule affairs, improve home safety, convenience, comfort, artistry, and achieve an environmentally friendly and energy-saving living environment.
[0026] In a smart home system, users can automatically control a series of smart devices by setting smart scene modes. For example, multiple lighting devices can be automatically controlled by setting a sleep mode. Currently, the modification of smart scene modes requires manual operation by users, such as manually deleting or adding smart devices in the smart scene modes. The control process is cumbersome and increases the user's operating burden.
[0027] After long-term research, the inventors have proposed the smart scene updating method, device, smart control device and storage medium provided in the embodiments of the present application. The smart device control method obtains scene change information of the smart scene after detecting that the smart scene is triggered if the scene state of the smart scene changes within a first preset time, and updates the smart scene according to the scene change if the acquisition rule of the scene change information meets the preset conditions within a second preset time. The smart scene can then be automatically updated according to the user's behavioral habits, thereby reducing the user's operating burden.
[0028] like Figure 1 As shown, Figure 1 A smart home system 10 is provided in an embodiment of the present application, and the smart home system 10 includes a mobile terminal 11, a server 12, an intelligent control device 13 and a plurality of intelligent devices 14. Among them, the mobile terminal 11 can be any device with communication and storage functions, for example, a smart phone, a desktop computer, a laptop computer, a tablet computer or other intelligent communication device with a network connection function, and the mobile terminal 11 stores a client for managing sub-devices (which can be an application client, such as a mobile phone APP; it can also be a web client) and a user account that can be logged in to the client. The server 12 can be a network access server, a database server, a cloud server, etc. The mobile terminal 11 and the server 12 can be connected through a network.
[0029] The smart control device 13 may be a smart home control panel. In the smart home system 10, the smart control device 13 may control and manage the smart device 14. Further, the smart control device 13 may be built based on but not limited to at least one of Bluetooth, ZigBee, and Wi-Fi protocols. Multiple smart devices 14 may establish a network connection with the smart control device 13 based on the Bluetooth protocol, the ZigBee protocol, or the Wi-Fi protocol.
[0030] like Figure 2 As shown, Figure 2A flow chart of a smart scene update method 100 provided in an embodiment of the present application. The smart scene update method 100 can be applied to the server 12 or the smart control device 13 in the above-mentioned smart home system 10. In the embodiment of the present application, the control method 100 of the smart device is explained with the smart control device as the execution subject. It can be understood that improvements that are not substantial relative to the present application belong to the scope of protection of the present application. In this embodiment, the smart scene update method 100 may include the following steps S110 to S120.
[0031] Step S110: after detecting that the smart scene is triggered, if the scene state of the smart scene changes within a first preset time, scene change information of the smart scene is obtained.
[0032] Smart scenes are the linkage control of multiple smart devices. For example, in sleep mode, all lighting devices in the smart home system can be turned off.
[0033] In this embodiment, the smart scene can be triggered in a variety of ways. As a way, the smart scene can be actively triggered by the user. Specifically, it is identified whether the user's voice information contains scene triggering information. If so, the corresponding smart scene is triggered. For example, in the user's voice message "Help me turn on sleep mode", the scene triggering information of "turn on sleep mode" is identified, and the sleep mode can be triggered to turn on; for another example, in the user's voice message "I want to rest", the scene triggering information of "I want to rest" is identified, and the sleep mode can also be triggered.
[0034] As another way, the smart scene can also be triggered automatically instead of actively by the user. Specifically, when a certain information is triggered, the smart scene associated with the specific information is automatically triggered. The specific information includes but is not limited to time, the action of the smart device, and another smart scene. For example, when the time reaches 22:00, the "sleep mode" is automatically triggered; or when the door lock is closed, the "away mode" is automatically triggered; or when the "away mode" is triggered, the "security mode" is automatically triggered.
[0035] Further, after the smart scene is triggered, it is detected within a first preset time whether the scene state of the smart scene has changed. Specifically, after the smart device in the smart scene is in a predetermined working state, it is detected within a first preset time whether the scene state of the smart scene has changed, wherein the scene state is the working state of the smart device in the smart scene. It is worth noting that the scene change information within the first preset time can be considered to be associated with the smart scene.
[0036] As an implementation manner, after a smart device in a smart scene is in a predetermined working state, it is detected within a first preset time whether the working state of the smart device in the smart scene is changed from the predetermined working state to another working state.
[0037] For example, the smart scene is: in sleep mode, turn off lighting device A, turn off lighting device B, and set the temperature of air conditioner C to 25°C, that is, the predetermined working state of lighting device A is off, the predetermined working state of lighting device B is off, and the predetermined working state of air conditioner C is set to 25°C. After the sleep mode is triggered, control lighting device A to turn off, lighting device B to turn off, and the temperature of air conditioner C to be set to 25°C, and within the first preset time thereafter, detect whether any of lighting device A, lighting device B, and air conditioner C changes from the predetermined working state to other states, such as detecting whether the temperature of air conditioner C changes from 25°C to other temperatures.
[0038] As another implementation, after the smart device in the smart scene is in a predetermined working state, it is detected within a first preset time whether the working state of the smart device in the smart scene changes from the predetermined working state to the original working state. If the working state of the smart device in the smart scene changes from the predetermined working state to the original working state, it can be considered that the user has deleted the smart device in the smart scene.
[0039] For example, the smart scene is: in sleep mode, turn off lighting device A, turn off lighting device B, and set the temperature of air conditioner C to 25°C, that is, the predetermined working state of lighting device A is off, the predetermined working state of lighting device B is off, and the predetermined working state of air conditioner C is set to 25°C. After the sleep mode is triggered, control lighting device A to be off, lighting device B to be off, and the temperature of air conditioner C to be set to 25°C, and detect whether any of lighting device A, lighting device B, and air conditioner C has changed from the predetermined working state to the original working state within the first preset time. For example, if it is detected that air conditioner C changes from 25°C to off, it means that the user does not need to turn on air conditioner C after the sleep mode is triggered, and it can be considered as the deletion of smart devices in sleep mode.
[0040] As another implementation, after the smart device in the smart scene is in a predetermined working state, it is detected whether the working state of other smart devices is changed by the user within a first preset time. Among them, the change of the working state of other smart devices within the first preset time can be considered to be associated with the current smart scene, that is, it can be considered to be a change in the scene state of the current smart scene. If the working state of other smart devices is changed by the user within the first preset time, it can be considered that the user has added smart devices to the smart scene.
[0041] For example, the smart scene is: in sleep mode, turn off lighting device A, turn off lighting device B, and set the temperature of air conditioner C to 25°C, that is, the predetermined working state of lighting device A is off, the predetermined working state of lighting device B is off, and the predetermined working state of air conditioner C is set to 25°C. After the sleep mode is triggered, control lighting device A to be off, lighting device B to be off, and the temperature of air conditioner C to be set to 25°C, and then detect whether the working state of any other device in the smart home system except lighting device A, lighting device B, and air conditioner C is changed by the user within the first preset time. For example, if it is detected that the music player D is turned from off to on, it can be considered that the user has added the music player D in the sleep mode.
[0042] Furthermore, the other smart devices referred to in this embodiment may include at least the following two meanings:
[0043] First, the other smart devices may be other smart devices in the smart home system except the smart devices in the smart scene. For example, the smart scene is: in sleep mode, turn off lighting device A, turn off lighting device B, and set the temperature of air conditioner C to 25°C, that is, the sleep scene includes lighting device A, lighting device B, and air conditioner C. The other smart devices are other smart devices in the smart home system except lighting device A, lighting device B, and air conditioner C in the sleep scene, such as music player D.
[0044] Secondly, the other smart device can also be a device that has not been set with a predetermined working state in the smart scene. For example, the user actively adds lighting device A, lighting device B, air conditioner C, and music player D in the sleep mode, but only lighting device A, lighting device B, and air conditioner C are set with a predetermined working state, while the music player is not set with a predetermined working state. In this case, the smart scene can be: in the sleep mode, turn off lighting device A, turn off lighting device B, and set the temperature of air conditioner C to 25°C. The other smart device is the music player D that has not been set with a predetermined working state in the sleep mode.
[0045] Furthermore, if it is detected that the scene state of the smart scene changes within the first preset time, the scene change information of the smart scene is obtained.
[0046] As an implementation, the scene change information is correction information for the predetermined working state of the smart device in the smart scene. For example, in the sleep mode, lighting device A is turned off, lighting device B is turned off, and the temperature of air conditioner C is set to 25°C. After the sleep mode is triggered, if it is detected that the temperature of air conditioner C changes from 25°C to 26°C within the first preset time, the scene change information of the sleep mode is obtained, for example, the scene change information may be "the temperature of the air conditioner changes from 25°C to 26°C".
[0047] As another implementation, the scene change information is deletion / addition information of the predetermined working state of the smart device in the smart scene. For example, in the sleep mode, the lighting device A is turned off, the lighting device B is turned off, and the temperature of the air conditioner C is set to 25°C. After the sleep mode is triggered, if the air conditioner C is detected to be turned off within the first preset time, the scene change information of the sleep mode is obtained, for example, the scene change information may be "delete air conditioner C". For another example, after the sleep mode is triggered, if the music player D is detected to be turned on within the first preset time, the scene change information of the sleep mode is obtained, for example, the scene change information may be "add music player device".
[0048] In this embodiment, the first preset time can be a fixed value or can be set by the user, without limitation. Specifically, the first preset time can be 2 minutes.
[0049] Step S120: If the acquisition rule of the scene change information within the second preset time meets the preset condition, the smart scene is updated according to the scene change information.
[0050] In this embodiment, the acquisition rule of scene change information can be used to indicate the frequency of the user's modification / deletion / addition of the predetermined working state of the smart device in the smart scene. The preset condition is used to indicate the threshold of the acquisition rule of scene change information. If the acquisition rule of scene change information within the second preset time is greater than the threshold, it means that the acquisition rule of scene change information meets the preset condition. For example, assuming that the threshold is 3 times and the second preset time is one week, if the scene change information of the smart scene is obtained at least 3 times or for 3 consecutive days within a week, it means that the acquisition rule of the smart scene meets the preset condition.
[0051] If the regularity of acquiring scene change information within the second preset time meets the preset conditions, the scene change information can be considered as a regular event, that is, the scene change information meets the user's actual expected control of the smart devices in the smart scene; if the regularity of acquiring scene change information within the second preset time does not meet the preset conditions, the scene change information can be considered as an accidental event, that is, the scene change information does not necessarily meet the user's actual expected control of the smart devices in the smart scene.
[0052] Furthermore, if the scene change information meets the user's actual desired control of the smart devices in the smart scene, the smart scene is updated according to the scene change information. For example, in sleep mode, lighting device A is turned off, lighting device B is turned off, and the temperature of air conditioner C is set to 25°C; if the scene change information is "change the temperature of the air conditioner from 25°C to 26°C", and the acquisition rule of the scene change information meets the preset conditions, the sleep mode can be modified to "turn off lighting device A, turn off lighting device B, and set the temperature of the air conditioner to 26°C".
[0053] It can be seen that the present application obtains the user's modification / deletion / addition information of the predetermined working state of the smart device in the smart scene. If the modification / deletion / addition information forms a certain regularity, it can be considered that the modification / deletion / addition information is the user's actual expected control of the smart device in the smart scene. Therefore, according to the modification information, the predetermined working state of the smart device in the smart scene can be directly modified, thereby eliminating the need for the user to manually modify the predetermined working state of the smart device in the smart scene, reducing the operation process, and thus reducing the user's operation burden.
[0054] The updating method of the smart scene provided in the embodiment of the present application obtains scene change information of the smart scene if the scene state of the smart scene changes within a first preset time after detecting that the smart scene is triggered, and updates the smart scene according to the scene change if the acquisition rule of the scene change information within a second preset time meets the preset conditions. The smart scene can then be automatically updated according to the user's behavioral habits, thereby reducing the user's operating burden.
[0055] like Figure 3 As shown, the embodiment of the present application also provides a flow chart of a smart scene update method 200. The smart scene update method 200 can also be applied to the server 12 or the smart control device 13 in the above-mentioned smart home system 10. Taking the application to the smart control device 13 as an example, the smart scene update method 200 can include the following steps S210 to S280.
[0056] Step S210: after detecting that the smart scene is triggered, if execution control information for at least one smart device in the smart scene is acquired within a first preset time, it is determined that the scene state of the smart scene is changed within the first preset time.
[0057] In this embodiment, after detecting that the smart scene is triggered, it is detected within the first preset time whether the user controls at least one smart device in the smart scene, and if so, the execution control information of the at least one smart device in the smart scene is obtained. The execution control information is used to indicate the user's control over the working state of the smart device; and the execution control information obtained within the first preset time after the smart scene is triggered is used to indicate the user's further control over the smart device associated with the smart scene to be in a predetermined working state.
[0058] Furthermore, the smart scene is associated with multiple smart devices, and multiple execution control information of the multiple smart devices associated with the smart scene are respectively obtained within the first preset time. For example, in the sleep mode, lighting device A is turned off, lighting device B is turned off, and the temperature of air conditioner C is set to 25°C. After the sleep mode is triggered, the execution control information corresponding to lighting device A can be obtained within the first preset time, such as "lighting device A is turned on"; the execution control information corresponding to lighting device B can also be obtained within the first preset time, such as "lighting device B is turned on"; the execution control information corresponding to air conditioner C can also be obtained within the first preset time, such as "the temperature of air conditioner C is set to 26°C".
[0059] If the execution control information of any one of the multiple smart devices is acquired within the first preset time, it can be determined that the scene state of the smart scene within the first preset time has changed.
[0060] Step S220: Save the execution control information, and use the execution control information as the scene change information of the smart scene.
[0061] In this embodiment, if it is determined that the scene state of the smart scene changes within the first preset time, the execution control information of the smart device associated with the smart scene is saved locally. In some implementations, the execution control information can also be uploaded to the server for storage.
[0062] Furthermore, the execution control information of the smart device is used as the scene change information of the smart scene, wherein the scene change information of the smart scene may include the execution control information of one or more smart devices. Specifically, the scene change information is determined according to the pre-execution information and post-execution information corresponding to the execution control information of the smart device. For example, in sleep mode, lighting device A is turned off, lighting device B is turned off, and the temperature of air conditioner C is set to 25°C. If the execution control information of air conditioner C within the first preset time is "set the temperature of air conditioner C to 26°C", the scene change information can be determined as "change the temperature of air conditioner C from 25°C to 26°C" according to the pre-execution information "the temperature of air conditioner C is 25°C" and the post-execution information "the temperature of air conditioner C is 26°C" corresponding to the execution control information. It can be seen that the scene change information can indicate the user's modification of the preset working state of the smart device in the smart scene.
[0063] Step S230: Determine whether the regularity of acquiring scene change information within the second preset time meets the preset condition.
[0064] In this embodiment, a scene knowledge graph can be constructed based on the scene change information of the smart scene. Specifically, the scene knowledge graph of the smart scene is constructed based on the historical data of the scene change information of the user on the smart scene.
[0065] The acquisition rule of the scene change information of the smart scene within the second preset time is obtained according to the scene knowledge graph. The acquisition rule of the scene change information is used to indicate the frequency of the user's modification of the predetermined working state of the smart device associated with the smart scene. For example, if the scene change information of the smart scene is obtained 4 times a week, the acquisition rule of the scene change information of the smart scene indicates that the user modifies the predetermined working state of the smart device associated with the smart scene 4 times a week.
[0066] If the scene change information includes multiple execution control information, the acquisition rules corresponding to each execution control information are acquired respectively. For example, in the sleep mode, lighting device A is turned off, lighting device B is turned off, and the temperature of air conditioner C is set to 25°C. If the scene change information of the sleep mode includes the first execution control information corresponding to lighting device A and the second execution control information corresponding to air conditioner C, the first acquisition rule of the first execution control information and the second acquisition rule of the second execution control information can be acquired.
[0067] Furthermore, the preset condition is used to indicate the threshold of the acquisition rule. If the acquisition rule of the execution control information meets the condition, it means that the user's modification of the predetermined working state of the smart device has a certain regularity, that is, the execution control information meets the user's actual desired control of the smart device; if the acquisition rule of the execution control information does not meet the condition, it means that the user's modification of the predetermined working state of the smart device has not yet formed a regularity, that is, the execution control information does not meet the user's actual desired control of the smart device. Therefore, if the acquisition rule of any execution control information among multiple execution control information within the second preset time meets the preset condition, it can be determined that the acquisition rule of the scene change information within the second preset time meets the preset condition, that is, it means that the user actually expects to modify the predetermined working state of at least one smart device associated with the smart scene.
[0068] For example, in sleep mode, lighting device A is turned off, lighting device B is turned off, and the temperature of air conditioner C is set to 25°C. Assuming the preset condition is 3 times a week, if the regularity of obtaining the first execution control information corresponding to lighting device A is 4 times a week, and the regularity of obtaining the second execution control information corresponding to air conditioner C is 4 times a week, it can be determined that the regularity of obtaining the scene change information of the sleep mode meets the preset condition. If the regularity of obtaining the first execution control information corresponding to lighting device A is 2 times a week, and the regularity of obtaining the second execution control information corresponding to air conditioner C is 4 times a week, it can also be determined that the regularity of obtaining the scene change information of the sleep mode meets the preset condition.
[0069] In this embodiment, if the pattern of acquiring scene change information of the smart scene within the second preset time meets the preset conditions, step S240 can be continued to determine that the smart scene needs to be updated; if the pattern of acquiring scene change information of the smart scene within the second preset time does not meet the preset conditions, the pattern of acquiring scene change information of the smart scene can continue to be acquired.
[0070] Step S240: Determine whether the smart scene needs to be updated.
[0071] In this embodiment, if the acquisition rule of the scene change information of the smart scene within the second preset time meets the preset rule, it can be determined that the smart scene needs to be updated.
[0072] Specifically, if the regularity of acquiring scene change information within the second preset time meets the preset conditions, the scene change information can be considered as a regular event, that is, the scene change information meets the user's actual expected control of the smart device in the smart scene. At this time, it can be determined that the user actually needs to correct the predetermined working state of the smart device associated with the smart scene. Therefore, it can be determined that the predetermined working state of the smart device associated with the smart scene needs to be updated.
[0073] Step S250: Determine the confidence level that needs to be updated for the smart scene.
[0074] In this embodiment, after determining that the smart scene needs to be updated, the confidence that the smart scene needs to be updated can be further determined. Specifically, the confidence of the execution control information corresponding to each smart device in the scene change information of the smart scene is determined. For example, if the scene change information of the smart scene includes the execution control information corresponding to smart device A and the execution control information corresponding to smart device B, the confidence of the execution control information corresponding to smart device A and the confidence of the execution control information corresponding to smart device B can be obtained respectively.
[0075] Furthermore, the confidence level of each execution control information is determined according to the acquisition rule of each execution control information. For example, the confidence level of the smart scene that needs to be updated can be determined according to the number of times each execution control information is acquired within the second preset time, that is, the confidence level of the execution control information corresponding to each smart device is determined according to the number of times the user modifies the predetermined working state of each smart device within the second preset time. In a specific example, if the execution control information of smart device A is acquired 7 times within a week, the confidence level of the execution control information corresponding to smart device A can be determined to be 100%; if the execution control information of smart device B is acquired 5 times within a week, the confidence level of the execution control information corresponding to smart device B can be determined to be 85%.
[0076] Furthermore, the higher the degree of conformity between the acquisition rule of the execution control information and the preset conditions, the higher the confidence. As a way, the longer the continuous time of the acquisition of the execution control information within the second preset time, the higher the degree of conformity between the acquisition rule and the preset conditions, that is, the longer the continuous time of the user's correction of the predetermined working state of the smart device associated with the smart scene within the second preset time, the higher the degree of conformity between the acquisition rule and the preset conditions. For example, assuming that the preset condition is to acquire the execution control information for 3 consecutive days in a week, the conformity of the acquisition rule corresponding to 7 consecutive days in a week is higher than the conformity of the acquisition rule corresponding to 5 consecutive days in a week, and at the same time, the confidence of the acquisition rule corresponding to 7 consecutive days in a week is higher than the confidence of the acquisition rule corresponding to 5 consecutive days in a week.
[0077] As another way, the more times the execution control information is acquired within the second preset time, the higher the degree of conformity between the acquisition rule and the preset condition, that is, the more times the user repeatedly modifies the predetermined working state of the smart device associated with the smart scene within the second preset time, the higher the degree of conformity between the acquisition rule and the preset condition. For example, assuming that the preset condition is to acquire the execution control information 3 times within a week, the degree of conformity of the acquisition rule corresponding to 7 times within a week is higher than the degree of conformity of the acquisition rule corresponding to 5 times within a week, and at the same time, the confidence of the acquisition rule corresponding to 7 times within a week is higher than the confidence of the acquisition rule corresponding to 5 times within a week.
[0078] Furthermore, the confidence level may be divided into a plurality of preset intervals. The confidence level within the plurality of preset intervals indicates that the regularity of the user's correction of the predetermined working state of the smart device associated with the smart scene reaches the regularity threshold, that is, the user's correction of the predetermined working state of the smart device associated with the smart scene has regularity; and the confidence level below the minimum value of the plurality of preset intervals indicates that the regularity of the user's correction of the predetermined working state of the smart device associated with the smart scene does not reach the regularity threshold, that is, the user's correction of the predetermined working state of the smart device associated with the smart scene does not have regularity.
[0079] In this embodiment, the plurality of preset intervals include a first preset interval and a second preset interval, wherein the confidence corresponding to the first preset interval is higher than the confidence corresponding to the second preset interval. For example, the first preset interval may be 95% to 100%, and the second preset interval may be 80% to 95%.
[0080] After determining the confidence of the execution control information corresponding to each smart device in the scene change information of the smart scene, when it is detected that the smart scene is triggered again, step S260 or step S270 to step S280 can be selectively executed according to the confidence. When it is detected that the smart scene is triggered again, if the confidence is in the first preset interval, the smart scene is automatically updated according to the scene change information, that is, step S260 is executed; if the confidence is in the second preset interval, when it is detected that the smart scene is triggered again, if the confidence is in the second preset interval, the scene update prompt information is sent, and in response to the scene update instruction, the smart scene is updated according to the scene change information.
[0081] Step S260: When it is detected that the smart scene is triggered again, if the confidence level is within the first preset interval, the smart scene is updated according to the scene change information.
[0082] In this embodiment, when it is detected that the smart scene is triggered again, if the confidence of the execution control information in the scene change information of the smart scene is within the first preset interval, the smart scene is updated according to the execution control information in the scene change information. For example, in the sleep mode, lighting device A is turned off, lighting device B is turned off, and the temperature of air conditioner C is set to 25°C. When it is detected that the sleep mode is triggered, if the confidence of the execution control information of air conditioner C is within the first preset interval, the sleep mode is updated according to the execution control information of air conditioner C.
[0083] Step S270: When it is detected that the smart scene is triggered again, if the confidence level is within the second preset interval, a scene update prompt message is sent.
[0084] In this embodiment, when it is detected that the smart scene is triggered again, if the confidence of the execution control information in the scene change information of the smart scene is within the second preset interval, a scene update prompt message is sent. The scene update prompt message is used to prompt the user whether the smart scene needs to be updated according to the scene change information. And the scene update prompt message may include but is not limited to voice information and display information. For example, in sleep mode, turn off lighting device A, turn off lighting device B, and set the temperature of air conditioner C to 25°C. When it is detected that the sleep mode is triggered, if the confidence of the execution control information of air conditioner C is within the second preset interval, a voice message "Do you want to update the sleep scene according to the execution control information" may be sent to the user to prompt the user.
[0085] Step S280: respond to the scene update instruction and update the smart scene according to the scene change information.
[0086] The scene update instruction is a confirmation update instruction fed back by the user according to the scene update prompt information. In this embodiment, the scene update instruction may be, but is not limited to, a voice instruction and a touch screen instruction. For example, the user may confirm to update the sleep scene according to the execution control information through a voice instruction. When the user's voice instruction is received, the smart scene is updated according to the execution control information in the scene change information.
[0087] Furthermore, if the scene change information of the smart scene includes both execution control information with a confidence level in the first preset interval and execution control information with a confidence level in the second preset interval, the execution control information with a confidence level in the first preset interval is automatically updated, and before the execution control information with a confidence level in the second preset interval is updated, the user is asked whether to update. For example, in sleep mode, lighting device A is turned off, lighting device B is turned off, and the temperature of air conditioner C is set to 25°C. If the confidence level of the first execution control information corresponding to lighting device A is in the first preset interval, and the confidence level of the second execution control information corresponding to air conditioner C is in the second preset interval, the sleep mode can be directly updated according to the first execution control information, and before the sleep mode is updated according to the second execution control information, a scene update prompt message is sent to the user to ask the user whether to update, and if the user returns a "confirm" scene update instruction, the sleep mode is updated according to the second execution control information.
[0088] Furthermore, if Figure 4 As shown, in step S260 and step S280, updating the smart scene according to the scene change information can be implemented by the following steps S281 to S282.
[0089] Step S281: Determine the corresponding target smart device according to the saved execution control information.
[0090] In this embodiment, the smart scene is updated according to the scene change information, that is, the predetermined working state of the smart device is updated according to the execution control information of the smart device associated with the smart scene in the scene change information.
[0091] Furthermore, the target smart device whose predetermined working state needs to be updated is determined according to the saved execution control information of the smart device associated with the smart scene.
[0092] Step S282: Replace the preset execution control information of the target smart device in the smart scene with the saved execution control information.
[0093] In this embodiment, the preset execution control information is the original predetermined working state of the smart device associated with the smart scene. The saved execution control information replaces the original predetermined working state of the target smart device in the smart scene. For example, in sleep mode, lighting device A is turned off, lighting device B is turned off, and the temperature of air conditioner C is set to 25°C. Among them, "the temperature of air conditioner C is set to 25°C" is the preset execution control information of air conditioner C, that is, the original predetermined working state. If the execution control information of air conditioner C is "set the temperature of air conditioner C to 26°C", then "set the temperature of air conditioner C to 26°C" replaces "set the temperature of air conditioner C to 25°C", and the sleep mode is updated to turn off lighting device A, turn off lighting device B, and set the temperature of air conditioner C to 26°C.
[0094] It can be understood that if the confidence of the execution control information is in the first preset interval, the replacement can be made directly without prompting the user; if the confidence of the execution control information is in the second preset interval, the user needs to be prompted before the replacement, and when the user agrees to the replacement, the execution control information will be replaced to the original predetermined working state.
[0095] In some embodiments, a smart device associated with a smart scene may correspond to multiple execution control information, and the execution control information with the highest confidence among the multiple execution control information replaces the preset execution control information of the smart device in the smart scene. For example, in sleep mode, lighting device A is turned off, lighting device B is turned off, and the temperature of air conditioner C is set to 25°C. Air conditioner C corresponds to the first execution control information "set the temperature of air conditioner C to 26°C" and the second execution control information "set the temperature of air conditioner C to 27°C", and the confidence of the second execution control information is higher than the confidence of the first execution control information. Then the second execution control information replaces the original predetermined working state of air conditioner C in sleep mode, so that the sleep mode is updated to: turn off lighting device A, turn off lighting device B, and set the temperature of air conditioner C to 27°C.
[0096] It can also be understood that if the confidence level of the execution control information with the highest confidence level among the multiple execution control information is within the first preset interval, it can be directly replaced without prompting the user; if the confidence level of the execution control information with the highest confidence level among the multiple execution control information is within the second preset interval, it is necessary to prompt the user before the replacement, and when the user agrees to the replacement, the execution control information will be replaced to the original predetermined working state.
[0097] In this embodiment, if the confidence of the execution control information is in the first preset interval, it means that the execution control information has a high probability of meeting the user's actual control requirements for the predetermined working state of the smart device; if the confidence of the execution control information is in the second preset interval, it means that the execution control information basically meets the user's actual control requirements for the predetermined working state of the smart device. In this embodiment, when the confidence is in the first preset interval, the predetermined working state of the smart device in the smart scene is directly updated, and when the confidence is in the second preset interval, the user is prompted for the subsequent update action. After the user confirms the update, the predetermined working state of the smart device in the smart scene is updated, thereby eliminating the need for the user to manually update the predetermined working state of the smart device in the smart scene, reducing the user's operation process, and thus reducing the user's operation burden.
[0098] In some implementations, the smart scene update method can also update the smart scene according to the user's instructions, so that the user can actively update the smart scene according to his own will. Specifically, before determining that the smart scene needs to be updated, the user can actively update the smart scene, such as Figure 5 As shown, it can be specifically implemented by the following steps S290 to S293.
[0099] Step S290: Receive user update instructions.
[0100] In this embodiment, the user update instruction may include but is not limited to a voice instruction and a touch screen instruction.
[0101] As a way to receive the user's voice information.
[0102] As another way, the touch screen information of the user is received.
[0103] Step S291: Identify target scene information and target update information according to the user update instruction.
[0104] In this embodiment, the target scene information and the target update information can be identified in the user's voice information. For example, in the user's voice information "set the air conditioner to 26°C in sleep mode", the target scene information can be determined to be "sleep mode" and the target update information can be determined to be "set the air conditioner to 26°C".
[0105] Step S292: Determine the target smart scene that needs to be updated according to the target scene information.
[0106] In this embodiment, the target smart scene to be updated is searched in the smart scene list of the current smart home system according to the target scene information. For example, the current smart home system includes multiple smart scenes such as movie watching mode, security mode, sleep mode, waking up mode and reading mode. The smart scene corresponding to the target scene information "sleep mode" is searched in the list of the multiple smart scenes, and it can be determined that the target smart scene to be updated is the sleep mode.
[0107] Step S293: Update the target smart scene according to the target update information.
[0108] In this embodiment, the smart device to be updated is determined in the target smart scene according to the target update information, and then the preset execution control information of the smart device in the smart scene is updated according to the target update information. For example, in the sleep scene, lighting device A is turned off, lighting device B is turned off, and the temperature of air conditioner C is set to 25°C. According to the target update information "air conditioner is set to 26°C", it can be determined that the smart device currently required to be updated is air conditioner C, and then according to the target update information "air conditioner is set to 26°C", "26°C" can replace the preset execution control information of air conditioner C in the sleep mode, so that the sleep mode is updated to "lighting device A is turned off, lighting device B is turned off, and the temperature of air conditioner C is set to 26°C".
[0109] The updating method of the smart scene provided in the embodiment of the present application obtains scene change information of the smart scene if the scene state of the smart scene changes within a first preset time after detecting that the smart scene is triggered, and updates the smart scene according to the scene change if the acquisition rule of the scene change information within a second preset time meets the preset conditions. The smart scene can then be automatically updated according to the user's behavioral habits, thereby reducing the user's operating burden.
[0110] like Figure 6 As shown, Figure 6 An updating device 300 for a smart scene provided by an embodiment of the present application is shown. The updating device 300 for a smart scene includes an information acquisition module 310 and a scene update module 320. The information acquisition module 310 is used to acquire scene change information of the smart scene if the scene state of the smart scene changes within a first preset time after detecting that the smart scene is triggered; the scene update module 320 is used to update the smart scene according to the scene change information if the acquisition rule of the scene change information meets the preset conditions within a second preset time.
[0111] In some embodiments, the information acquisition module 310 includes a state determination unit 311 and a storage unit 312. The state determination unit 311 is used to determine that the scene state of the smart scene has changed within the first preset time if the execution control information of at least one smart device in the smart scene is acquired within the first preset time after the smart scene is detected to be triggered; the storage unit 312 is used to save the execution control information and use the execution control information as the scene change information of the smart scene.
[0112] In some implementations, the scene update module 320 includes a judgment unit 321 , a first determination unit 322 , a second determination unit 323 , a first update unit 324 , an information determination unit 325 , a second update unit 326 , a target determination unit 327 , and a replacement unit 328 . Among them, the judgment unit 321 is used to judge whether the acquisition rule of scene change information within the second preset time meets the preset conditions; the first determination unit 322 is used to determine that the smart scene needs to be updated; the second determination unit 323 is used to determine the confidence that the smart scene needs to be updated; the first update unit 324 is used to update the smart scene according to the scene change information when it is detected that the smart scene is triggered again, if the confidence is in the first preset interval; the information determination unit 325 is used to send scene update prompt information when it is detected that the smart scene is triggered again, if the confidence is in the second preset interval; the second update unit 326 is used to respond to the scene update instruction and update the smart scene according to the scene change information; the target determination unit 327 is used to determine the corresponding target smart device according to the saved execution control information; the replacement unit 328 is used to replace the preset execution control information of the target smart device in the smart scene with the saved execution control information.
[0113] In some embodiments, the updating device 300 of the smart scene further includes a receiving module 330, an information identification module 340, a determination module 350, and an updating module 360. The receiving module 330 is used to receive a user update instruction; the information identification module 340 is used to identify the target scene information and the target update information according to the user update instruction; the determination module 350 is used to determine the target smart scene to be updated according to the target scene information; and the updating module 360 is used to update the target smart scene according to the target update information.
[0114] The updating device for the smart scene provided in the embodiment of the present application obtains scene change information of the smart scene after detecting that the smart scene is triggered if the scene state of the smart scene changes within a first preset time, and updates the smart scene according to the scene change if the acquisition rule of the scene change information within a second preset time meets preset conditions. The smart scene can then be automatically updated according to the user's behavioral habits, thereby reducing the user's operating burden.
[0115] like Figure 7 As shown, Figure 7 A module block diagram of an intelligent control device 400 provided in an embodiment of the present application is shown. The intelligent control device 400 includes a processor 410 and a memory 420. The memory 420 stores program instructions. When the program instructions are executed by the processor 410, the above-mentioned intelligent scene update method is implemented.
[0116] The processor 410 may include one or more processing cores. The processor 410 uses various interfaces and lines to connect the various parts of the entire battery management system, and executes various functions and processes data of the battery management system by running or executing instructions, programs, code sets or instruction sets stored in the memory 420, and calling data stored in the memory 420. Optionally, the processor 410 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 410 can integrate one or a combination of a central processing unit 410 (CPU), a graphics processing unit 410 (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 410, but may be implemented separately through a communication chip.
[0117] The memory 420 may include a random access memory 420 (Random Access Memory, RAM), and may also include a read-only memory 420 (Read-Only Memory). The memory 420 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 420 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data created by the electronic device during use (such as a phone book, audio and video data, chat record data), etc.
[0118] like Figure 8As shown, an embodiment of the present application further provides a computer-readable storage medium 500, in which computer program instructions 510 are stored. The computer program instructions 510 can be called by a processor to execute the method described in the above embodiment.
[0119] The computer readable storage medium can be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium includes a non-transitory computer-readable storage medium. The computer readable storage medium 600 has storage space for program codes that execute any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code can be compressed, for example, in an appropriate form.
[0120] The above are only preferred embodiments of the present application, and are not intended to limit the present application in any form. Although the present application has been disclosed as above with preferred embodiments, it is not intended to limit the present application. Any technical personnel in the field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present application. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.
Claims
1. A method for updating a smart scene, characterized in that: The method comprises: After detecting that the smart scene is triggered, if the scene state of the smart scene changes within a first preset time, acquiring scene change information of the smart scene; If the acquisition rule of the scene change information within the second preset time meets the preset condition, determining the confidence level that the smart scene needs to be updated includes: If the number of acquisitions of the scene change information within the second preset time is greater than a preset number, it is determined that the smart scene needs to be updated, wherein the scene change information includes execution control information of at least one smart device associated with the smart scene; and Determining the confidence level that the smart scene needs to be updated, wherein the longer the continuous time for acquiring the execution control information within the second preset time is, the higher the degree of conformity between the acquisition rule and the preset condition is, and the higher the confidence level is; when detecting that the smart scene is triggered again, updating the smart scene according to the confidence level and the scene change information; The execution control information of the at least one smart device includes first execution control information and second execution control information, and when detecting that the smart scene is triggered again, updating the smart scene according to the confidence and the scene change information includes: If the confidence of the first execution control information is less than the confidence of the second execution control information, the preset execution control information of the at least one smart device in the smart scene is replaced by the second execution control information.
2. The method for updating a smart scene according to claim 1, characterized in that: When detecting that the smart scene is triggered again, updating the smart scene according to the confidence level and the scene change information, further includes: When it is detected that the smart scene is triggered again, if the confidence of the second execution control information is within a first preset interval, the smart scene is updated according to the scene change information.
3. The method for updating a smart scene according to claim 2, characterized in that: When detecting that the smart scene is triggered again, updating the smart scene according to the confidence level and the scene change information, further includes: When it is detected that the smart scene is triggered again, if the confidence of the second execution control information is within a second preset interval, sending scene update prompt information, where the scene update prompt information is used to prompt the user whether the smart scene needs to be updated according to the scene change information; and In response to the scene update instruction, the smart scene is updated according to the scene change information.
4. The method for updating a smart scene according to claim 2 or 3, characterized in that: The replacing the preset execution control information of the at least one smart device in the smart scene with the second execution control information includes: Determine a corresponding target smart device according to the second execution control information; and The second execution control information replaces the preset execution control information of the target smart device in the smart scene.
5. The method for updating a smart scene according to claim 1, characterized in that: The updating method of the smart scene also includes: Receive user update instructions; Determining scene update information of the smart scene according to the user update instruction; and The smart scene is updated according to the scene update information.
6. The method for updating a smart scene according to claim 5, characterized in that: The scene update information includes target scene information and target update information; the scene update information of the smart scene determined according to the user update instruction includes: Identify the target scene information and the target update information according to the user update instruction; The updating of the smart scene according to the scene update information includes: Determining a target smart scene to be updated according to the target scene information; and The target smart scene is updated according to the target update information.
7. A smart scene updating device, characterized in that: The device comprises: an information acquisition module, configured to acquire scene change information of the smart scene if the scene state of the smart scene changes within a first preset time after detecting that the smart scene is triggered; and A scene update module is used to determine the confidence level that the smart scene needs to be updated if the acquisition rule of the scene change information meets the preset conditions within the second preset time. The scene update module is specifically used to: If the number of acquisitions of the scene change information within the second preset time is greater than a preset number, it is determined that the smart scene needs to be updated, wherein the scene change information includes execution control information of at least one smart device associated with the smart scene; and Determine the confidence that the smart scene needs to be updated, wherein the longer the continuous time for acquiring the execution control information within the second preset time, the higher the degree of conformity between the acquisition rule and the preset condition, and the higher the confidence; the scene update module is further used to update the smart scene according to the confidence and the scene change information when detecting that the smart scene is triggered again; The execution control information of the at least one smart device includes first execution control information and second execution control information, and the scene update module is further used to: If the confidence of the first execution control information is less than the confidence of the second execution control information, the preset execution control information of the at least one smart device in the smart scene is replaced by the second execution control information.
