Intelligent scene construction method, device, electronic device and storage medium
By confirming the matching degree between IoT devices and scenes in the smart home system, complex operation problems are solved, intuitive interface recommendations and device associations are realized, and user experience and operation convenience are improved.
Patent Information
- Application Number
- CN202111119710.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-24
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2041-09-24
AI Technical Summary
The existing smart home scene construction operation is complex, affecting the user experience, especially in the operation of a variety of home appliances.
By receiving scene creation instructions, confirm the matching degree between IoT devices and scenes, and associate or prompt information based on preset thresholds, providing intuitive interface recommendations and device association processes to ensure that the matching degree between devices and scenes is higher than the threshold. , send a prompt when it is below the threshold.
It improves user experience and operation convenience, improves the convenience and efficiency of smart home scene control, and is suitable for different types of home appliances.
Smart Images

Figure CN113986073B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to a method, device, electronic device and storage medium for building a smart scene. Background Art
[0002] With the continuous development of science and technology, there are more and more smart homes, and people have higher and higher requirements for intelligence. They are no longer just focused on the simple control of smart devices on mobile smart terminals. The concept of smart home scenes has been further proposed, so that smart devices involved in daily life can be grouped and managed in scenes. With the increasingly perfect application of Internet of Things technology, home scenes are becoming more and more common. At present, smart home products based on mobile terminals focus on building scene-controlled home appliances application software. When users operate, they need to enter the setting menu to make multiple settings. The hierarchical relationship is relatively deep, which makes the operation inconvenient and affects the user's interactive experience. Moreover, it is difficult to balance the operation of complex products and simple products of various home appliances on smart terminals. Summary of the invention
[0003] In response to the above problems, the present application provides a method, device, electronic device and storage medium for building a smart scene, which solves the technical problem in the prior art that the building operation of the smart scene is complicated and affects the user's interactive experience.
[0004] In a first aspect, the present application provides a method for building a smart scene, the method comprising:
[0005] Receiving a scene creation instruction, and creating a target scene according to the scene creation instruction;
[0006] When receiving an association request between a target IoT device in a target area and the target scene, confirming the matching degree between the target IoT device and the target scene, and comparing it with a preset threshold;
[0007] When the matching degree between the target IoT device and the target scene is greater than or equal to the preset threshold, associating the target IoT device with the target scene;
[0008] When the matching degree of the target IoT device is less than the preset threshold, a prompt message is issued.
[0009] According to an embodiment of the present application, optionally, in the above-mentioned smart scene building method, the matching degree includes at least one of the applicability, security level and historical usage frequency of the target IoT device in the target scene.
[0010] According to an embodiment of the present application, optionally, in the above-mentioned smart scene building method, when the matching degree of the target IoT device is less than the preset threshold, after the step of issuing a prompt message, the method further includes:
[0011] When receiving a cancel instruction corresponding to the association request, canceling the association request;
[0012] When a continue instruction corresponding to the association request is received, the target Internet of Things device is associated with the target scene.
[0013] According to an embodiment of the present application, optionally, in the above-mentioned smart scene building method, when a continuation instruction corresponding to the association request is received, after the step of associating the target IoT device with the target scene, the method further includes:
[0014] In the target scenario, keep the target IoT device in a closed state.
[0015] According to an embodiment of the present application, optionally, in the above-mentioned smart scene building method, after the step of creating a target scene according to the scene creation instruction, the method further includes:
[0016] Determine the matching degree between each IoT device in the target area and the target scene;
[0017] According to the order of the matching degree between each IoT device and the target scene from high to low, the corresponding IoT devices are recommended to the user in turn.
[0018] According to an embodiment of the present application, optionally, in the above-mentioned smart scene building method, creating a target scene according to the scene creation instruction includes the following steps:
[0019] An icon of the target scene is created according to the scene creation instruction.
[0020] According to an embodiment of the present application, optionally, in the above-mentioned smart scene building method, the corresponding IoT devices are recommended to the user in order from high to low according to the matching degree between each IoT device and the target scene, including the following steps:
[0021] Displaying the icons of the various IoT devices in a preset area in order of the matching degree between the IoT devices and the target scene from high to low, so as to recommend the corresponding IoT devices to the user in order;
[0022] Wherein, the icon of the target scene is located outside the preset area.
[0023] According to an embodiment of the present application, optionally, in the above-mentioned smart scene building method, the association request includes:
[0024] An operation of dragging the icon of the target IoT device to the icon of the target scene.
[0025] According to an embodiment of the present application, optionally, in the above-mentioned smart scene construction method, associating the target IoT device with the target scene comprises the following steps:
[0026] The icon of the target IoT device is displayed on the icon of the target scene; wherein the icon of the target IoT device is smaller than the icon of the target scene.
[0027] According to an embodiment of the present application, optionally, in the above-mentioned smart scene building method, when the matching degree between the target IoT device and the target scene is greater than or equal to the preset threshold, after the step of associating the target IoT device with the target scene, the method further includes:
[0028] Obtaining historical operating parameters or preset operating parameters of the target IoT device in the target scenario;
[0029] When an operation instruction for the target scenario is received, the operation of the target IoT device is controlled according to the historical operation parameters or preset operation parameters of the target IoT device in the target scenario.
[0030] In a second aspect, the present application provides a device for building a smart scene, the device comprising:
[0031] A creation module, used to receive a scene creation instruction and create a target scene according to the scene creation instruction;
[0032] A confirmation module, configured to, when receiving an association request between a target IoT device in a target area and the target scene, confirm the matching degree between the target IoT device and the target scene, and compare the matching degree with a preset threshold;
[0033] The judgment module is used to associate the target IoT device with the target scene when the matching degree between the target IoT device and the target scene is greater than or equal to a preset threshold; and to issue a prompt message when the matching degree between the target IoT device and the target scene is less than the preset threshold.
[0034] In a third aspect, the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the method for building a smart scene as described in any one of the first aspects is executed.
[0035] In a fourth aspect, the present application provides a storage medium, which stores a computer program that, when executed by one or more processors, implements the method for building a smart scene as described in any one of the first aspects.
[0036] Compared with the prior art, one or more embodiments of the above scheme may have the following advantages or beneficial effects:
[0037] The present application provides a method, device, electronic device and storage medium for building a smart scene, the method comprising: when receiving a request to associate a target IoT device with the target scene in a target area, confirming the matching degree between the target IoT device and the target scene, and comparing it with a preset threshold; when the matching degree between the target IoT device and the target scene is greater than or equal to the preset threshold, associating the target IoT device with the target scene; when the matching degree between the target IoT device and the target scene is less than the preset threshold, issuing a prompt message. By associating the properties of different scenes with the attributes of each IoT setting, and utilizing the characteristics of the matching degree between different scenes and device attributes, in a smart home system, it is applied to the operation of building scenes of smart terminals to control home appliances, so that the smart terminals that build scenes to control home appliances can better match various types of home appliances, making the scene building interface more intuitive and vivid, greatly improving the user experience, and improving the convenience and efficiency of controlling home appliances by application software that centrally builds scenes to control home appliances in smart homes. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The present application will be described in more detail below based on embodiments and with reference to the accompanying drawings:
[0039] Figure 1 A flowchart of a method for building a smart scene provided in an embodiment of the present application;
[0040] Figure 2 A first display schematic diagram of a process of setting up a scene of going to work or leaving home provided in an embodiment of the present application;
[0041] Figure 3 A second display schematic diagram of a process of setting up a scene of going to work or leaving home provided in an embodiment of the present application;
[0042] Figure 4 A third display schematic diagram of a process of building a scene of going to work or leaving home provided in an embodiment of the present application;
[0043] Figure 5 A fourth display schematic diagram of a process of building a scene of going to work or leaving home provided in an embodiment of the present application;
[0044] Figure 6A fifth display schematic diagram of a process of setting up a scene of going to work or leaving home provided in an embodiment of the present application;
[0045] Figure 7 A connection block diagram of a device for building a smart scene provided in an embodiment of the present application;
[0046] In the drawings, the same reference numerals are used for the same components, and the drawings are not drawn to scale. DETAILED DESCRIPTION
[0047] The following will describe the implementation methods of the present application in detail with reference to the accompanying drawings and embodiments, so that the implementation process of how the present application applies technical means to solve technical problems and achieve corresponding technical effects can be fully understood and implemented accordingly. The embodiments of the present application and the various features in the embodiments can be combined with each other without conflict, and the technical solutions formed are all within the scope of protection of the present application.
[0048] Embodiment 1
[0049] See also Figure 1 This embodiment provides a method for building a smart scene, including:
[0050] Step S110: receiving a scene creation instruction, and creating a target scene according to the scene creation instruction.
[0051] The creation instruction is issued by the user through operations such as clicking on the smart terminal or by voice or other means, and an icon of the target scene can be created on the smart terminal according to the scene creation instruction of the user.
[0052] The intelligent terminals include smart phones, tablet computers, touch screens on service robots, smart hardware products with touch screens, and home appliances with touch screens. The interaction process is manifested in operations such as clicking, dragging, sliding, and adsorption of human hands on the touch screen.
[0053] Smart scenes can be divided into four categories: leaving home scenes, sleeping scenes, home scenes and returning home scenes.
[0054] Exemplarily, the away-from-home scenario may include a away-from-home scenario for work, a short-term away-from-home scenario, or a long-term away-from-home scenario.
[0055] The sleeping scene may include a nap scene or a night sleeping scene.
[0056] The home scene may include a TV watching scene, a movie watching scene, a study scene or a cleaning scene.
[0057] The home-returning scenes may include a heating scene (air conditioners and other equipment delivering warm air), a cooling scene (air conditioners and other equipment delivering cold air), or a ventilation scene.
[0058] The target scene can be any one of the above scenes, and the user can create it according to actual needs.
[0059] After step S110, the method further includes the following steps:
[0060] S112: Determine the matching degree between each IoT device in the target area and the target scene;
[0061] S114: Recommending corresponding IoT devices to the user in order of the matching degree between each IoT device and the target scene from high to low, so that the user can select the corresponding IoT device to associate with the target scene as needed.
[0062] Each IoT device can be understood as a home appliance connected to the same local area network.
[0063] The matching degree includes at least one of the applicability, security level and historical usage frequency of the corresponding IoT device in the target scenario.
[0064] The higher the applicability of a certain IoT device in the target scenario, the higher the matching degree between the IoT device and the target scenario.
[0065] The higher the security level of a certain IoT device in the target scenario, the higher the matching degree between the IoT device and the target scenario.
[0066] The higher the historical usage frequency of a certain IoT device in the target scenario, the higher the matching degree between the IoT device and the target scenario.
[0067] Among them, the applicability of each IoT device in the target scenario can be assigned a corresponding weight to quantify the applicability of each IoT device in the target scenario.
[0068] In some cases, in the target scenario, the matching degree of each device can be determined first based on the applicability of each device (and whether the device is not suitable for use in the target scenario). For example, in the sleeping scenario: sleep monitors, air conditioners, etc. that improve or assist sleep and are helpful for sleep have a higher degree of applicability, while washing machines, etc. that affect the user's sleep and have an adverse effect on the user have a lower degree of applicability; in the away-from-home scenario: cameras, etc., which are devices that help with safety protection, have a higher degree of applicability.
[0069] When the applicability of each device is slightly different, the safety factor can be considered at the same time. For example, when away from home, air conditioners are safer than gas stoves and other devices.
[0070] After considering the applicability and safety factor, other factors such as historical usage frequency can be considered.
[0071] If the applicability, security level and historical usage frequency of the IoT device in the target scenario are considered simultaneously, the obtained matching degree can be the sum of the corresponding weights of the applicability, security level and historical usage frequency.
[0072] Through the above conditions, the matching degree between each IoT device in the target area and the target scene can be determined. For example, the matching degree between the gas stove and the scenes of going to work and leaving home is low, while the matching degree between the camera and the sweeper and the scenes of going to work and leaving home is high.
[0073] Among them, the methods of recommending corresponding IoT devices to users include: Figure 2 As shown, the icons of each IoT device are displayed in sequence in a preset area in order from high to low according to the matching degree between each IoT device and the target scene, so as to recommend the corresponding IoT devices to the user in sequence; wherein the icon of the target scene is located outside the preset area.
[0074] In addition, the recommendation method may also include: voice broadcasting each IoT device at a time in order of the matching degree between each IoT device and the target scene from high to low, so as to recommend the corresponding IoT devices to the user in turn.
[0075] Step S120: When an association request between a target IoT device in a target area and the target scene is received, a matching degree between the target IoT device and the target scene is confirmed and compared with a preset threshold.
[0076] The association request includes: dragging the icon of the target IoT device to the icon of the target scene, such as Figure 3 shown.
[0077] When it is recognized that the user drags the icon of an IoT device to the icon of the target scene, it can be determined that the user has selected the IoT device to be associated with the target scene, and the IoT device selected by the user is the target IoT device, and the target IoT device is any one of the IoT devices in the target area.
[0078] A request is sent to associate the target IoT device with the target scene, and then, based on the matching degree between each IoT device and the target scene confirmed above, the matching degree between the target IoT device selected by the user and the target scene is confirmed.
[0079] Step S130: When the matching degree between the target IoT device and the target scene is greater than or equal to a preset threshold, the target IoT device is associated with the target scene; when the matching degree between the target IoT device and the target scene is less than the preset threshold, a prompt message is issued.
[0080] After receiving the request to associate the device with the scene and confirming the matching degree of the target IoT device, the matching degree of the target IoT device and the target scene is judged. When the matching degree of the target IoT device and the target scene is greater than or equal to a preset threshold, the target IoT device is directly associated with the target scene; when the matching degree of the target IoT device is less than the preset threshold, a prompt message is issued.
[0081] On the display page, when a device with a matching degree greater than or equal to a preset threshold and a device with a matching degree less than the preset threshold are dragged, the icons of the corresponding target scenes are displayed differently. For example, if the user wants to drag a vacuum cleaner to the icon of the scene of leaving home for work, since the matching degree of the vacuum cleaner is higher, greater than the preset threshold, the edge of the icon of the scene of leaving home for work is blurred at this time, such as Figure 3 As shown, it means that the leaving home and going to work scene icon can directly receive the icon of the vacuum cleaner; if the user wants to drag the gas stove to the leaving home and going to work scene icon, since the matching degree of the gas stove is small, which is less than the preset threshold, the edge of the leaving home and going to work scene icon is in a solid line state at this time, such as Figure 4 As shown, the description indicates that the scene icons of going to work or leaving home cannot directly receive the icon of the suction sweeper, and further instructions from the user are required to complete.
[0082] Among them, the prompt information includes warning information. For example, if the user wants to associate the gas stove with the scene of leaving home for work, a warning message will be sent to the user: "When you are away from home and no one is at home, turning on the gas stove will pose a safety hazard."
[0083] In addition, the prompt information also includes a cancel control (not shown in the figure) and a continue association control (not shown in the figure) that can be selected by the user. Correspondingly, when the matching degree of the target IoT device is less than the preset threshold, after the step of issuing the prompt information, the method also includes:
[0084] S132: when receiving a cancel instruction corresponding to the association request, cancel the association request;
[0085] S134: When a continue instruction corresponding to the association request is received, the target IoT device is associated with the target scene.
[0086] That is to say, when the user clicks the cancel control in the prompt information, the association request is canceled; when the user clicks the continue association control, the target IoT device is associated with the target scene.
[0087] The above-mentioned associating the target IoT device with the target scene includes the following steps: displaying the icon of the target IoT device on the icon of the target scene; wherein the icon of the target IoT device is smaller than the icon of the target scene.
[0088] However, in order to avoid a low degree of matching between the target IoT device and the target scene, which may cause a security risk when the user forcibly associates the target IoT device with the target scene, in this embodiment, after step S134, the method may further include: keeping the target IoT device in a closed state in the target scene.
[0089] That is to say, in order to avoid potential safety hazards, in the target scenario, only the target IoT devices with a low matching degree can be turned off. For target IoT devices with a high matching degree, users can set the operating parameters of target IoT devices with a high matching degree according to actual needs. For example, in the scenario of leaving home after get off work, the sweeper can choose to perform the cleaning operation or turn off the cleaning operation; while the gas stove (or electric heater, etc., which poses a safety hazard if left unattended for a long time) can only be turned off in the scenario of leaving home.
[0090] Among them, for the target IoT device with a high matching degree, in order to facilitate setting of its operating parameters in the target scene, in this embodiment, when the matching degree between the target IoT device and the target scene is greater than or equal to a preset threshold, after the step of associating the target IoT device with the target scene, the method further includes:
[0091] Step S136: Acquire historical operating parameters or preset operating parameters of the target IoT device in the target scenario;
[0092] Step S138: When an operation instruction for the target scenario is received, the operation of the target IoT device is controlled according to the historical operation parameters or preset operation parameters of the target IoT device in the target scenario.
[0093] It can be understood that when the device dragged by the user meets the requirements of the scene, the device that meets the attributes will be accepted (automatically adsorbed) on the icon of the target scene, and the historical operating parameters or preset operating parameters will be automatically adapted, so that the scenes executed in different situations are adapted to the corresponding home appliances, generating scenes that meet life needs, and completing the control and management of smart home devices.
[0094] For example, when a robot vacuum cleaner performs cleaning work in the scenarios of going to work or leaving home, the default configuration parameters include the cleaning area, suction power, mopping humidity, and number of repetitions.
[0095] Of course, users can also set the operation adoption number of the target IoT device based on the recommended operation parameters (historical operation parameters or preset operation parameters) as needed. During the setting process, the recommended operation parameters (historical operation parameters or preset operation parameters) can be referred to. For example, if the recommended dragging water volume for the mopping machine is medium water volume, the user can adjust it to high water volume if he feels it is not enough.
[0096] The setting menu can be opened by clicking the icon of the target scene, such as Figure 5 and 6 shown.
[0097] After the scene is built, the user can run the target scene through the smart terminal and control the target scene to perform corresponding actions on each associated target IoT device.
[0098] In the method for building a smart scene provided by this implementation, the scene equipment control and management are quickly built through smart terminals such as mobile phones, and the device-related information such as the number of functions that can be operated on the mobile terminal, which functions are commonly used, and the number of devices used in the home room are obtained. According to the obtained device information, the nature of the scene is distinguished and the scene building is completed quickly. It solves the problem that users need to enter multiple settings when building scene operations, and the hierarchical relationship is relatively deep, which makes the operation inconvenient, and improves the user's interactive experience.
[0099] This embodiment provides a method for building a smart scene, the method comprising: when receiving a request to associate a target IoT device with the target scene in a target area, confirming the matching degree between the target IoT device and the target scene, and comparing it with a preset threshold; when the matching degree between the target IoT device and the target scene is greater than or equal to the preset threshold, associating the target IoT device with the target scene; when the matching degree between the target IoT device and the target scene is less than the preset threshold, issuing a prompt message. By associating the properties of different scenes with the attributes of each IoT setting, and utilizing the characteristics of the matching degree between different scenes and device attributes, in a smart home system, it is applied to the operation of building scenes for smart terminals to control home appliances, so that the smart terminals that build scenes for controlling home appliances can better match various types of home appliances, making the scene building interface more intuitive and vivid, greatly improving the user experience, and improving the convenience and efficiency of controlling home appliances by application software that centrally builds scenes to control home appliances in smart homes.
[0100] Embodiment 2
[0101] See also Figure 7 This embodiment provides a device for building a smart scene, including: a creation module 110, a confirmation module 120 and a judgment module 130.
[0102] The creation module 110 is used to receive a scene creation instruction and create a target scene according to the scene creation instruction;
[0103] The confirmation module 120 is used to confirm the matching degree between the target IoT device and the target scene when receiving the association request between the target IoT device and the target scene in the target area, and compare it with a preset threshold;
[0104] The judgment module 130 is used to associate the target IoT device with the target scene when the matching degree between the target IoT device and the target scene is greater than or equal to a preset threshold; and to issue a prompt message when the matching degree between the target IoT device and the target scene is less than the preset threshold.
[0105] The creation module 110 receives a scene creation instruction, and creates a target scene according to the scene creation instruction; when the confirmation module 120 receives a request to associate a target IoT device in a target area with the target scene, it confirms the matching degree between the target IoT device and the target scene, and compares it with a preset threshold; when the matching degree between the target IoT device and the target scene is greater than or equal to a preset threshold, the judgment module 130 associates the target IoT device with the target scene; when the matching degree of the target IoT device is less than the preset threshold, a prompt message is issued.
[0106] The specific implementation process of the above method steps can be found in Example 1, and this embodiment will not be repeated here.
[0107] Embodiment 3
[0108] This embodiment provides an electronic device, which may be a mobile phone, a computer or a tablet computer, etc., including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method for building a smart scene as described in Embodiment 1 is implemented. It is understood that the electronic device may also include an input / output (I / O) interface and a communication component.
[0109] The processor is used to execute all or part of the steps in the method for building a smart scene in Example 1. The memory is used to store various types of data, which may include instructions of any application or method in the electronic device, as well as data related to the application.
[0110] The processor can be an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, and is used to execute the method for building a smart scene in the above-mentioned embodiment 1.
[0111] The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0112] Embodiment 4
[0113] This embodiment provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored. When the computer program is executed by a processor, the following method steps can be implemented:
[0114] Step S110: receiving a scene creation instruction, and creating a target scene according to the scene creation instruction;
[0115] Step S120: when receiving an association request between a target IoT device in a target area and the target scene, confirming the matching degree between the target IoT device and the target scene, and comparing it with a preset threshold;
[0116] Step S130: When the matching degree between the target IoT device and the target scene is greater than or equal to the preset threshold, the target IoT device is associated with the target scene; when the matching degree between the target IoT device and the target scene is less than the preset threshold, a prompt message is issued.
[0117] In summary, the present application provides a method, device, electronic device and storage medium for building a smart scene, the method comprising: when receiving a request to associate a target IoT device with the target scene in a target area, confirming the matching degree between the target IoT device and the target scene, and comparing it with a preset threshold; when the matching degree between the target IoT device and the target scene is greater than or equal to the preset threshold, associating the target IoT device with the target scene; when the matching degree between the target IoT device and the target scene is less than the preset threshold, issuing a prompt message. By associating the properties of different scenes with the attributes of each IoT setting, and utilizing the characteristics of the matching degree between different scenes and device attributes, in a smart home system, it is applied to the operation of building scenes of smart terminals to control home appliances, so that the smart terminals that build scenes to control home appliances can better match various types of home appliances, making the scene building interface more intuitive and vivid, greatly improving the user experience, and improving the convenience and efficiency of controlling home appliances by application software that centrally builds scenes to control home appliances in smart homes.
[0118] In the several embodiments provided in the present application, it should be understood that the disclosed method can also be implemented in other ways. The method embodiments described above are merely illustrative.
[0119] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0120] Although the implementation methods disclosed in this application are as above, the contents described are only implementation methods adopted for facilitating the understanding of this application, and are not intended to limit this application. Any technician in the technical field to which this application belongs can make any modifications and changes in the form and details of implementation without departing from the spirit and scope disclosed in this application, but the scope of patent protection of this application shall still be based on the scope defined in the attached claims.
Claims
1. A method for building a smart scene. It is characterized in that The method comprises: Receiving a scene creation instruction, and creating a target scene according to the scene creation instruction; When receiving an association request between a target IoT device in a target area and the target scene, confirming the matching degree between the target IoT device and the target scene, and comparing it with a preset threshold; When the matching degree between the target IoT device and the target scene is greater than or equal to the preset threshold, associating the target IoT device with the target scene; When the matching degree of the target IoT device is less than the preset threshold, a prompt message is issued; When the matching degree of the target IoT device is less than the preset threshold, after the step of issuing a prompt message, the method further includes: When a continue instruction corresponding to the association request is received, the target IoT device is associated with the target scene; in the target scene, the target IoT device is kept in a closed state.
2. The method according to claim 1, It is characterized in that The matching degree includes at least one of the applicability, security level and historical usage frequency of the target IoT device in the target scenario.
3. The method according to claim 1, It is characterized in that When the matching degree of the target IoT device is less than the preset threshold, after the step of issuing a prompt message, the method further includes: When a cancel instruction corresponding to the association request is received, the association request is canceled.
4. The method according to claim 1, It is characterized in that After the step of creating the target scene according to the scene creation instruction, the method further includes: Determine the matching degree between each IoT device in the target area and the target scene; According to the order of the matching degree between each IoT device and the target scene from high to low, the corresponding IoT devices are recommended to the user in turn.
5. The method according to claim 4, It is characterized in that Creating a target scene according to the scene creation instruction includes the following steps: An icon of the target scene is created according to the scene creation instruction.
6. The method according to claim 5, It is characterized in that Recommending corresponding IoT devices to the user in order of the matching degree between each IoT device and the target scene from high to low, including the following steps: Displaying the icons of the various IoT devices in a preset area in order of the matching degree between the IoT devices and the target scene from high to low, so as to recommend the corresponding IoT devices to the user in order; Wherein, the icon of the target scene is located outside the preset area.
7. The method according to claim 6, It is characterized in that The association request includes: An operation of dragging the icon of the target IoT device to the icon of the target scene.
8. The method according to claim 6, It is characterized in that Associating the target IoT device with the target scenario comprises the following steps: The icon of the target IoT device is displayed on the icon of the target scene; wherein the icon of the target IoT device is smaller than the icon of the target scene.
9. The method according to claim 1, It is characterized in that When the matching degree between the target IoT device and the target scene is greater than or equal to the preset threshold, after the step of associating the target IoT device with the target scene, the method further includes: Obtaining historical operating parameters or preset operating parameters of the target IoT device in the target scenario; When an operation instruction for the target scenario is received, the operation of the target IoT device is controlled according to the historical operation parameters or preset operation parameters of the target IoT device in the target scenario.
10. A device for building a smart scene, It is characterized in that include: A creation module, used to receive a scene creation instruction and create a target scene according to the scene creation instruction; A confirmation module, configured to, when receiving an association request between a target IoT device in a target area and the target scene, confirm the matching degree between the target IoT device and the target scene, and compare the matching degree with a preset threshold; A judgment module, configured to associate the target IoT device with the target scene when the matching degree between the target IoT device and the target scene is greater than or equal to a preset threshold; When the matching degree of the target IoT device is less than the preset threshold, a prompt message is issued; The judgment module is specifically used for: When a continue instruction corresponding to the association request is received, the target IoT device is associated with the target scene; in the target scene, the target IoT device is kept in a closed state.
11. An electronic device, It is characterized in that It includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method for building a smart scene as described in any one of claims 1 to 9 is executed.
12. A storage medium, It is characterized in that The computer program stored in the storage medium, when executed by one or more processors, implements the method for building a smart scene as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Assisting a user in selecting a lighting device design
CN104756604A
