Mode control method and device of intelligent equipment, equipment, storage medium and product

By collecting lighting effect parameters in real time in smart devices and adjusting equipment output, the problem of low light effect restoration in different application environments is solved, and efficient mode control is achieved to ensure that the lighting effect is consistent with the preset mode.

CN119620629APending Publication Date: 2025-03-14GUANGDONG MURORA INTELLIGENT LIGHTING CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411662229.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

Due to the differences in spatial structure, ambient light, number of lamps and power of different application environments, the lighting effect restore degree based on the scene mode preset by the manufacturer is low, and the lighting mode control efficiency is low.

Method used

By collecting effect parameters in the controlled area in real time, adjusting the device output in the corresponding mode, and adjusting the device parameters of the controlled device group in real time until the scene requirements of the preset scene mode are met.

Benefits of technology

It realizes that the intelligent device gets rid of the influence of application environmental factors, accurately restores the preset control effect in the preset scenario mode, and improves the mode control performance and efficiency of the intelligent device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119620629A_ABST
    Figure CN119620629A_ABST
Patent Text Reader

Abstract

The invention discloses a mode control method and device of intelligent equipment, equipment, a storage medium and a product, and relates to the technical field of intelligent control. The method comprises the steps that first control operation for a controlled scene is received, the first control operation is used for controlling a first controlled device group of a first area in the controlled scene in a first scene mode, the first area corresponds to a first collection device, and the first scene mode is used for indicating that the first area is in a first control effect; based on the first control operation, controlling the first controlled device group to work in a first area according to a reference device parameter preset in the first scene mode; collecting an area effect parameter of the first area through the first collection device, wherein the area effect parameter is used for indicating an actual control effect of the first area; and on the basis of the difference between the regional effect parameter and the reference effect parameter corresponding to the first control effect, adjusting the equipment parameter of the first controlled equipment group in real time until the scene requirement of the first scene mode is met, thereby improving the intelligent control efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent control technology, and in particular to a mode control method, device, equipment, storage medium and product for an intelligent device. Background Art

[0002] The design without main lights is favored by more and more people for its diverse light source selection, flexible layout, energy-saving and environmental protection characteristics, and a wide range of application scenarios. However, the design without main lights requires professional lighting designers to plan and layout, considering factors such as the location, quantity, brightness, color temperature of the light source, and the design is quite difficult.

[0003] In the related technology, intelligent control methods for some classic scene modes are designed according to the indoor space, such as the movie-watching mode, meeting mode and leisure mode in the living room. The manufacturer's engineering debugging personnel set the scene mode parameters and deliver them to the user, so that the user can control the lighting effects of the area corresponding to the scene mode.

[0004] However, due to differences in spatial structure, ambient light, number of lamps and power in different application environments, the lighting effect restoration achieved based on the manufacturer's preset scene mode is low and the lighting mode control efficiency is low. Summary of the invention

[0005] The embodiments of the present application provide a method, apparatus, device, storage medium and product for controlling a mode of a smart device, which can improve the efficiency of controlling a mode of the smart device. The technical solution is as follows.

[0006] In one aspect, a mode control method of a smart device is provided, the method comprising:

[0007] Receiving a first control operation for a controlled scene, the first control operation is used to control a first controlled device group in a first area of ​​the controlled scene in a first scene mode, the first area corresponds to a first acquisition device, and the first scene mode is used to indicate that the first area is in a first control effect;

[0008] controlling the first controlled device group to operate in the first area according to reference device parameters based on the first control operation, wherein the reference device parameters are device parameters preset based on the first scene mode, and the device parameters are used to indicate an operating state of the first controlled device group;

[0009] collecting, by the first collecting device, a regional effect parameter of the first area, where the regional effect parameter is used to indicate an actual control effect on the first area;

[0010] Based on the difference between the area effect parameter and the reference effect parameter corresponding to the first control effect, the device parameters of the first controlled device group are adjusted in real time until they meet the scene requirements of the first scene mode.

[0011] In another aspect, a mode control device for a smart device is provided, the device comprising:

[0012] a processing module, configured to receive a first control operation for a controlled scene, wherein the first control operation is used to control a first controlled device group in a first area of ​​the controlled scene in a first scene mode, the first area corresponds to a first acquisition device, and the first scene mode is used to indicate that the first area is in a first control effect;

[0013] a control module, configured to control the first controlled device group to operate in the first area according to a reference device parameter based on the first control operation, wherein the reference device parameter is a device parameter preset based on the first scene mode, and the device parameter is used to indicate an operating state of the first controlled device group;

[0014] a collection module, configured to collect a regional effect parameter of the first area through the first collection device, wherein the regional effect parameter is used to indicate an actual control effect on the first area;

[0015] The control module is further configured to adjust device parameters of the first controlled device group in real time based on a difference between the regional effect parameter and a reference effect parameter corresponding to the first control effect until the device parameters meet the scene requirements of the first scene mode.

[0016] In some embodiments, the first controlled device group includes a plurality of first controlled devices;

[0017] The control module is also used for:

[0018] Based on the difference between the regional effect parameter and the reference effect parameter, adjusting the device parameters of the plurality of first controlled devices in equal proportion until the scene requirements of the first scene mode are met; or,

[0019] Based on the difference between the regional effect parameter and the reference effect parameter, the device parameters of the multiple first controlled devices are adjusted respectively based on the device weight until the scene requirements of the first scene mode are met. The multiple first controlled devices respectively correspond to the device weight, and the device weight is used to indicate the degree of influence of the first controlled device on the first scene mode in the first controlled device group.

[0020] In some embodiments, the control module is further used to:

[0021] determining a difference between the regional effect parameter and the reference effect parameter;

[0022] Determine an adjustment parameter based on a ratio between the difference and the regional effect parameter, the adjustment parameter being used to indicate an adjustment ratio of device parameters of the plurality of first controlled devices, and there being a corresponding relationship between the adjustment parameter and the ratio;

[0023] The device parameters of the plurality of first controlled devices are uniformly adjusted based on the adjustment parameters until the scene requirements of the first scene mode are met.

[0024] In some embodiments, the acquisition module is further used to:

[0025] Construct a data window with a width of N, where the data window is used to store k effect parameters acquired for the most recent k times before the current moment, where N and k are positive integers and N≥k;

[0026] In response to the first acquisition device acquiring the i-th effect parameter of the first area, storing the i-th effect parameter in the data window, where i is a positive integer;

[0027] An i-th area effect parameter of the first area is determined based on comprehensive values ​​of a plurality of effect parameters in the data window.

[0028] In some embodiments, the processing module is further configured to:

[0029] In response to receiving an area selection operation for the first area, displaying at least one of a plurality of candidate scene modes and a plurality of candidate controlled devices corresponding to the first area in a control interface, the plurality of candidate scene modes being scene modes preset for the first area, the plurality of candidate controlled devices including a controlled device for participating in controlling the first area, the plurality of candidate scene modes including the first scene mode, and the plurality of candidate controlled devices including a first controlled device;

[0030] In response to receiving a selection operation for the first scene mode, automatically determining the first controlled device group for participating in the first scene mode; or, in response to receiving a selection operation for the first controlled device, automatically determining the first scene mode matching the first controlled device and the first controlled device group including the first controlled device.

[0031] In some embodiments, the processing module is further configured to:

[0032] In response to receiving a selection operation for the first scene mode, acquiring a plurality of first candidate device groups associated with the first scene mode, wherein the plurality of first candidate device groups include the first controlled device group;

[0033] Acquire regional device data of the first region, where the regional device data is used to indicate distribution and device status of the plurality of candidate controlled devices in the first region;

[0034] The first controlled device group that meets the matching requirement with the regional device data is determined from the multiple first candidate device groups.

[0035] In some embodiments, the processing module is further configured to:

[0036] In response to receiving a selection operation for the first scene mode, acquiring the first controlled device group pre-associated with the first scene mode, the first controlled device group including a plurality of first controlled devices;

[0037] In response to receiving a selection operation for the first scene mode, acquiring the first controlled device group pre-associated with the first scene mode, the first controlled device group including a plurality of first controlled devices;

[0038] Acquire regional device data of the first region, where the regional device data is used to indicate distribution and device status of the plurality of candidate controlled devices in the first region;

[0039] When the regional device data indicates that at least one first controlled device corresponding to the first scene mode is not included in the plurality of candidate controlled devices in the first area, obtaining a device weight of the at least one first controlled device for the first scene mode; or, when the regional device data indicates that at least one first controlled device in the first area is damaged, obtaining a device weight of the at least one damaged first controlled device for the first scene mode; wherein the device weight is used to indicate the degree of influence of the at least one first controlled device on the first scene mode;

[0040] When the device weight reaches a preset weight threshold, a prompt message is displayed, where the prompt message is used to prompt that the first scene mode is unavailable.

[0041] In some embodiments, the processing module is further configured to:

[0042] In response to receiving a selection operation for the first controlled device, acquiring a plurality of first candidate scene modes associated with the first controlled device;

[0043] Acquire device weights respectively corresponding to the first controlled device in the plurality of first candidate scene modes, the device weights being used to indicate the degree of influence of the first controlled device on the scene mode;

[0044] Determine, from the multiple first candidate scene modes, the first scene mode corresponding to the first controlled device and having the highest device weight;

[0045] The first controlled device group including the first controlled device is determined based on the first scene mode.

[0046] In some embodiments, the processing module is further configured to:

[0047] within a preset time period after the first controlled device group is controlled to work on the first area according to the first scene mode, recording a received device adjustment operation and a first effect parameter acquired by the first acquisition device after adjustment based on the device adjustment operation, wherein the device adjustment operation is used to adjust a device parameter of the first controlled device group to a first device parameter;

[0048] When the number of records of the device adjustment operation reaches a preset number threshold and the difference between the first effect parameter and the reference effect parameter reaches a preset difference threshold, the reference device parameter corresponding to the first scene mode is updated to the first device parameter, and the reference effect parameter is updated to the first effect parameter.

[0049] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement a mode control method for an intelligent device as described in any of the above-mentioned embodiments of the present application.

[0050] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, a code set or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement a mode control method for an intelligent device as described in any of the above-mentioned embodiments of the present application.

[0051] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the mode control method of the smart device described in any of the above embodiments.

[0052] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0053] The effect parameters are collected in real time through the collection equipment corresponding to the controlled area, and the device output in the corresponding mode is adjusted, so that the device output can be adjusted in time according to the difference between the actual control effect and the preset control effect, so that the actual control effect approaches the preset control effect. In this way, the smart device is freed from the influence of environmental factors such as the spatial structure, number of devices and power in the application environment, and the preset control effect under the preset scene mode is accurately restored, thereby improving the mode control performance and efficiency of the smart device. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] 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 ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0055] Figure 1 is a schematic diagram of an intelligent control system provided by an exemplary embodiment of the present application;

[0056] Figure 2 is a flow chart of a mode control method of a smart device provided by an exemplary embodiment of the present application;

[0057] Figure 3 is a flow chart of a mode control method of a smart device provided by an exemplary embodiment of the present application;

[0058] Figure 4 is a schematic diagram of a scene mode configuration of a control interface provided by an exemplary embodiment of the present application;

[0059] Figure 5 is a schematic flow chart of a method for dynamically adjusting scene modes provided by an exemplary embodiment of the present application;

[0060] Figure 6 is a structural block diagram of a mode control device for a smart device provided by an exemplary embodiment of the present application;

[0061] Figure 7 It is a structural block diagram of a terminal provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0062] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0063] It should be understood that although the terms first, second, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first parameter may also be referred to as the second parameter, and similarly, the second parameter may also be referred to as the first parameter. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0064] The design without main lights is favored by more and more people for its diverse light source selection, flexible layout, energy-saving and environmental protection characteristics, and a wide range of application scenarios. However, the design without main lights requires professional lighting designers to plan and layout, considering factors such as the location, quantity, brightness, and color temperature of the light source, and the design is difficult. In the related technology, intelligent control methods for some classic scene modes are designed according to the indoor space, such as the movie viewing mode, guest reception mode, and leisure mode in the living room. The factory engineering debugging personnel set the scene mode parameters and deliver them to the user, so that the user can control the lighting effect corresponding to the scene mode in the area. However, due to differences in spatial structure, ambient light, number of lamps and power in different application environments, the lighting effect restoration achieved based on the scene mode preset by the manufacturer is low, and the lighting mode control efficiency is low.

[0065] The mode control method of the smart device provided in the embodiment of the present application collects effect parameters in real time through the collection device corresponding to the controlled area, and participates in adjusting the device output in the corresponding mode, so that the device output can be adjusted in time according to the difference between the actual control effect and the preset control effect, so that the actual control effect approaches the preset control effect, thereby freeing the smart device from the influence of environmental factors such as the spatial structure, number of devices and power in the application environment, accurately restoring the preset control effect under the preset scene mode, and improving the mode control performance and efficiency of the smart device.

[0066] First, the intelligent control system of this application is introduced. Please refer to Figure 1 , which shows a schematic diagram of an intelligent control system provided by an exemplary embodiment of the present application, wherein the intelligent control system includes: a control device 10 and a controlled device 20, and the control device 10 and the controlled device 20 are connected via a communication network.

[0067] The control device 10 is used to control the scene mode of the controlled scene, and the controlled device 20 is used to operate on the controlled scene based on the scene mode set by the control device 10, so that the controlled scene is in a control effect corresponding to the scene mode.

[0068] The above-mentioned controlled scenes include but are not limited to any type of scenes such as lighting control scenes, gas control scenes, temperature control scenes, sound effect control scenes, etc. Correspondingly, the controlled devices 20 include but are not limited to any type of smart devices such as lamps, gas release equipment, air conditioners, and audio.

[0069] The control device 10 may be a terminal or server with a control function, or may be any device capable of controlling a scene mode, such as a control panel corresponding to the controlled device 20, which is not limited in the embodiment of the present application.

[0070] The above-mentioned terminal is optional. The terminal can be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a smart TV, a smart car, and other forms of terminal devices, which are not limited to the embodiments of the present application.

[0071] It is worth noting that the above-mentioned servers can be independent physical servers, or they can be server clusters or distributed systems composed of multiple physical servers. They can also be cloud servers that provide basic cloud computing services such as cloud services, cloud security, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.

[0072] Illustratively, the control device includes a terminal 101 , a gateway 102 , and a scene control panel 103 .

[0073] Among them, the control device is used for distributed control of the scene mode of the controlled scene, and the controlled scene includes multiple spatial areas, for example, spatial area 105 and spatial area 106, and each spatial area corresponds to multiple controlled devices and at least one acquisition device.

[0074] The communication network can be implemented as any form of network connection such as a Bluetooth Mesh (BLE mesh) network, a Wireless Fidelity (WI-FI) network, a Zigbee network, an Ethernet (Ethernet), etc., and the embodiments of the present application are not limited to this. In the embodiments of the present application, the communication network includes a BLE mesh network 104 as an example for explanation. The BLE mesh network 104 is used to provide a communication link between the terminal 101, the gateway 102, the scene control panel 103, the space area 105 and the space area 106.

[0075] Illustratively, when the terminal 101 or the scene control panel 103 receives a first control operation for a controlled scene, it is assumed that the first control operation is used to control a first controlled device group in a first area of ​​the controlled scene in a first scene mode, the first area corresponds to a first acquisition device, and the first scene mode is used to indicate that the first area is in a first control effect; the gateway 102 distributes reference device parameters corresponding to the first scene mode to the first controlled device group, controls the first controlled device group to operate in the first area according to the reference device parameters, the reference device parameters are device parameters preset based on the first scene mode, and the device parameters are used to indicate the working status of the first controlled device group; the area effect parameters of the first area are collected by the first acquisition device and transmitted back to the gateway 102, the area effect parameters are used to indicate the actual control effect received by the first area; the gateway 102 adjusts the device parameters of the first controlled device group in real time based on the difference between the area effect parameters and the reference effect parameters corresponding to the first control effect until the scene requirements of the first scene mode are met.

[0076] A closed-loop feedback system is formed through repeated collection and correction processes to ensure the consistency of control effects with scene requirements and improve mode control efficiency.

[0077] It is worth noting that the above-mentioned interaction mode of the intelligent control system is only an illustrative example and is not limited to this in the embodiments of the present application.

[0078] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant regions. For example, the operation data and device data involved in this application are all obtained with full authorization.

[0079] To further illustrate, before collecting relevant user data (for example, historical operation data, real-time operation data, device data, scene collection data, etc. involved in this application) and during the process of collecting relevant user data, this application can display a prompt interface, pop-up window or output voice prompt information, and the prompt interface, pop-up window or voice prompt information is used to prompt the user that its relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining user-related data after obtaining the user's confirmation operation on the prompt interface or pop-up window, otherwise (that is, when the user's confirmation operation on the prompt interface or pop-up window is not obtained), the relevant steps of obtaining user-related data are terminated, that is, the user's relevant data is not obtained. In other words, all user data collected by this application are collected with the user's consent and authorization, and the collection, use and processing of relevant user data need to comply with relevant laws, regulations and standards in the relevant regions.

[0080] For illustration, please refer to Figure 2 , which shows a flowchart of a mode control method for a smart device provided by an exemplary embodiment of the present application. The method can be executed by a terminal, or by a server, or by both the terminal and the server. The present application embodiment takes the method executed by a terminal as an example for explanation. Figure 2 As shown, the method comprises the following steps:

[0081] Step 210: receiving a first control operation for a controlled scene.

[0082] The first control operation is used to control a first controlled device group in a first area of ​​a controlled scene in a first scene mode, the first area corresponds to a first acquisition device, and the first scene mode is used to indicate that the first area is in a first control effect.

[0083] The controlled scene is a pre-arranged scene space controlled by at least one controlled device. The controlled scene includes at least one scene area. The at least one scene area in the controlled scene can be distributedly controlled by the controlled device.

[0084] The first control operation may be used to independently control the scene mode of a part of the area in the controlled scene, or may be used to one-touch control the scene mode of the entire area of ​​the controlled scene.

[0085] The controlled scene may include one or more first areas. Taking the controlled scene including one first area as an example, the first control operation is used to independently control the scene mode of the first area; taking the controlled scene including multiple first areas as an example, the first control operation is used to control the scene modes of multiple first areas with one click, wherein the first control effects corresponding to the multiple first areas may be the same or different, and the embodiments of the present application are not limited to this.

[0086] The first acquisition device is used to acquire the actual control effect on the first area.

[0087] Optionally, the controlled scene includes but is not limited to at least one of a lighting control scene, a temperature control scene, a gas control scene, a sound control scene, and a humidity control scene, which is not limited in the embodiments of the present application.

[0088] Correspondingly, the controlled devices include but are not limited to lighting equipment (such as lamps, etc.), temperature control equipment (such as air conditioners, etc.), gas equipment (such as oxygen suppliers, etc.), sound equipment (such as speakers, etc.), humidity equipment (such as humidifiers, etc.), and any other types of equipment.

[0089] Taking the controlled scene including the lighting control scene as an example, the first control operation is used to control the first lighting group in the first area of ​​the controlled scene with a first lighting mode. The first area corresponds to a first light effect collection device. The first lighting mode is used to indicate that the first area is in a first lighting effect, for example, the first area is in a lighting effect in a movie viewing mode.

[0090] Taking the controlled scene including the temperature control scene as an example, the first control operation is used to control the first temperature control device group in the first area of ​​the controlled scene with the first temperature mode. The first area corresponds to a first temperature acquisition device. The first temperature mode is used to indicate that the first area is in a first temperature effect. For example, the first area is in a constant temperature ventilation effect of 25 degrees.

[0091] Taking the controlled scene including a gas control scene as an example, the first control operation is used to control the first controlled device group in the first area of ​​the controlled scene with a first gas mode. The first area corresponds to a first gas collection device. The first gas mode is used to indicate that the first area is in a first gas effect, for example, controlling the oxygen concentration in the first area to reach 95%.

[0092] Taking the controlled scene including the sound effect control scene as an example, the first control operation is used to control the first sound effect device group in the first area of ​​the controlled scene with a first sound effect mode. The first area corresponds to a first sound effect collection device, and the first sound effect mode is used to indicate that the first area is in a first sound effect, for example, the first area is in a noise reduction effect.

[0093] It is worth noting that the above-mentioned controlled scene types are only illustrative examples, and the controlled scene can also be a combination of at least two types of scenes, for example, a lighting + temperature control scene, etc., which is not limited in the embodiments of the present application.

[0094] Step 220: Control the first controlled device group to operate in the first area according to the reference device parameters based on the first control operation.

[0095] The reference device parameters are device parameters preset based on the first scenario mode, and the device parameters are used to indicate the working status of the controlled device group.

[0096] The working status includes but is not limited to at least one of the switch status, working power, and device orientation of the controlled device.

[0097] Taking the lighting control scene as an example, the device parameters include lighting parameters. The first controlled device group includes a first lighting group. The first lighting group includes at least one first lamp. The lighting parameters are used to indicate the switching status, power consumption, lamp brightness and color temperature value of the lamps in the first lighting group.

[0098] Taking the gas control scenario as an example, the device parameters include gas supply parameters, the first controlled device group includes a first gas supply device group, the first gas supply device group includes at least one first gas supply device, and the gas supply parameters are used to indicate the switching status of the first gas supply device, device power, output gas type, gas concentration, gas output direction, output speed, etc.

[0099] It is worth noting that the above equipment parameters are only illustrative examples and are not limited to the embodiments of the present application.

[0100] In some embodiments, the control device generates a first control instruction in response to receiving a first control operation, and sends the first control instruction to a first controlled device group, and the first controlled device group operates on the first area according to reference device parameters based on the received first control instruction, and the first control instruction includes reference device parameters.

[0101] The first controlled device group includes multiple first controlled devices, and the reference device parameters corresponding to the multiple first controlled devices may be the same or different, which is not limited in the embodiment of the present application.

[0102] Optionally, the control device may send corresponding control instructions to multiple first controlled devices respectively, each control instruction including reference device parameters corresponding to the first controlled device; the control device may also send a control instruction to multiple first controlled devices uniformly, the control instruction including the correspondence between the multiple first controlled devices and the multiple reference device parameters, and the first controlled device identifies the corresponding reference device parameters from the control instruction based on the correspondence.

[0103] The method provided in the embodiment of the present application distributes control instructions to multiple controlled devices, respectively indicates corresponding reference device parameters, and controls the controlled devices to operate according to the first scene mode, thereby accurately controlling the output of each controlled device and improving the mode control efficiency; by uniformly sending control instructions to multiple controlled devices, the controlled devices identify the corresponding reference device parameters and operate, thereby reducing the data processing pressure on nodes such as control devices or gateways.

[0104] Step 230: Collect the regional effect parameters of the first area through the first collecting device.

[0105] The regional effect parameter is used to indicate the actual control effect received by the first region.

[0106] Illustratively, taking the lighting control scene as an example, the first acquisition device can be implemented as a light effect acquisition device such as a light sensor, which is used to collect regional lighting parameters of the first area, and the regional lighting parameters are used to indicate the actual lighting effects received by the first area, for example, collecting parameters such as the actual brightness and color temperature values ​​of the first area.

[0107] In some embodiments, the first acquisition device processes the data using a median average filtering algorithm to filter data fluctuations during the process of continuously acquiring regional effect parameters.

[0108] Schematically, a data window with a width of N is constructed for the first acquisition device, and the data window is used to store k effect parameters obtained from the most recent k acquisitions before the current moment, where N and k are positive integers and N≥k; in response to the i-th effect parameter of the first area acquired by the first acquisition device, the i-th effect parameter is stored in the data window, where i is a positive integer; and the i-th area effect parameter of the first area is determined based on the comprehensive values ​​of multiple effect parameters in the data window.

[0109] Wherein, N is used to indicate a threshold value of the amount of data that can be stored in a data window, and the data window is constructed for the first region.

[0110] Optionally, when the first acquisition device is used to collect regional effect parameters of multiple areas, multiple data windows can be constructed for the multiple areas, wherein the widths of the multiple data windows can be the same or different; or an m×N two-dimensional data window can be uniformly constructed for the m areas, wherein the j-th row is used to store multiple effect parameters collected for the j-th area, and j is a positive integer ≤m.

[0111] It is worth noting that the above data window construction method is only an illustrative example and is not limited to this in the embodiments of the present application.

[0112] Taking constructing a data window for the first region as an example, in the process of determining the i-th region effect parameter of the first region based on the comprehensive value of multiple effect parameters in the data window, the maximum value and the minimum value in the data window can be removed, and the average value of the remaining multiple data in the data window can be calculated as the i-th region effect parameter.

[0113] The above-mentioned comprehensive value can also be a weighted average of multiple effect parameters in the data window, wherein the weighting coefficients corresponding to the multiple effect parameters can be dynamically determined based on the time when the effect parameters enter the data window. For example, the earlier the effect parameters enter the data window, the lower the weighting coefficients corresponding to the effect parameters.

[0114] Schematically, N weighting coefficients are preset for a data window with a width of N, and the values ​​of the N weighting coefficients are arranged in order from low to high. According to the order in which the effect parameters enter the data window from early to late, the N weighting coefficients are assigned to the corresponding effect parameters in order from low to high.

[0115] Optionally, the width of the data window may be determined according to response speed requirements and the fluctuation amplitude of the data collected by the first collection device in a steady state, etc., and this embodiment of the present application does not limit this.

[0116] In schematic form, if the system needs to respond quickly to external changes (such as temperature, pressure, illumination, etc.), a narrower data window may be required so that the system can detect data changes more quickly and make adjustments quickly. A narrower data window can improve system sensitivity. Under steady-state conditions, if the data collected by the first acquisition device fluctuates greatly, a wider data window may be required to smooth out these fluctuations and reduce the impact of noise on system decisions. A wider data window is beneficial to system stability.

[0117] It is worth noting that the above-mentioned method for determining the width of the data window is only an illustrative example and is not limited to this in the embodiments of the present application.

[0118] The method provided in the embodiment of the present application, by constructing a data window for the acquisition device, determines the regional effect parameters corresponding to the current moment based on the comprehensive values ​​of multiple parameters most recently acquired before the current moment, can filter the data fluctuations acquired, make the regional effect parameters stable and reliable, and can accurately reflect the actual control effect of the first area, thereby improving the mode control accuracy and stability.

[0119] Step 240: Based on the difference between the regional effect parameter and the reference effect parameter corresponding to the first control effect, adjust the device parameters of the first controlled device group in real time until the scene requirements of the first scene mode are met.

[0120] The scene requirement of the first scene mode includes at least one of the following: the regional effect parameter is consistent with the reference effect parameter, or the difference between the regional effect parameter and the reference effect parameter is less than a preset difference threshold.

[0121] In some embodiments, the first controlled device group includes multiple first controlled devices. When adjusting device parameters in real time, the device parameters of the multiple first controlled devices may be adjusted uniformly or separately.

[0122] Taking uniformly adjusting the device parameters of multiple first controlled devices as an example, based on the difference between the regional effect parameter and the reference effect parameter, the device parameters of the multiple first controlled devices are adjusted in proportion until the scene requirements of the first scene mode are met.

[0123] The proportional adjustment process includes determining the difference between the regional effect parameter and the reference effect parameter; determining an adjustment parameter based on the ratio between the difference and the regional effect parameter, wherein the adjustment parameter is used to indicate the adjustment ratio of the device parameters of multiple first controlled devices, and there is a corresponding relationship between the adjustment parameter and the ratio; and uniformly adjusting the device parameters of multiple first controlled devices based on the adjustment parameter until the scene requirements of the first scene mode are met.

[0124] For illustration, please refer to the following adjustment formula 1:

[0125] Y=Y0×(1±δ)Formula 1,

[0126] Among them, Y is the actual equipment parameter after adjustment, Y0 is the reference equipment parameter, and δ is the adjustment parameter.

[0127] For example, the reference device parameters corresponding to the first scene mode indicate that the light intensity received by the first area in the first scene mode needs to reach 200, and the regional effect parameters collected by the light sensor indicate that when the first lamp group illuminates the first area according to the preset brightness, the current light intensity received by the first area is 150. The preset brightness is a reference device parameter preset based on the first scene mode. It is necessary to increase the brightness of the lamps to increase the light intensity received by the first area. The brightness of multiple lamps in the first lamp group can be increased proportionally, for example, uniformly increased by 20%. The actual device parameter Y=Y0*120%.

[0128] Optionally, the above-mentioned adjustment parameters can be calculated by a proportional-integral-derivative (PID) algorithm, so that the actual device parameters affect the regional effect parameters, and the difference between the regional effect parameters and the reference effect parameters promotes the update of the actual device parameters, so that the regional effect parameters approach the reference effect parameters until they meet the scene requirements, forming a negative feedback system, so that the device parameters of the controlled device gradually approach the expected values ​​(making the regional effect parameters meet the device parameters required by the scene), ensuring that the adjustment process of the device parameters is fast and smooth, and ensuring user experience.

[0129] The method provided in the embodiment of the present application can ensure that the degree of influence of multiple devices on the first scene mode remains unchanged when adjusting the device output, by proportionally adjusting the device parameters of multiple first controlled devices until the scene requirements of the first scene mode are met, thereby accurately restoring the first control effect, avoiding the reduction in the degree of restoration of the scene mode due to the adjustment process of the device parameters, and improving the mode control efficiency.

[0130] Taking adjusting the device parameters of the plurality of first controlled devices respectively as an example, based on the difference between the regional effect parameter and the reference effect parameter, the device parameters of the plurality of first controlled devices are respectively adjusted based on the device weights until the scene requirements of the first scene mode are met.

[0131] The plurality of first controlled devices are respectively associated with device weights, and the device weights are used to indicate the degree of influence of the first controlled device on the first scene mode in the first controlled device group.

[0132] The device weight is preset for a plurality of first controlled devices in the first controlled device group when configuring a scene mode according to the influence of the first controlled devices on the first scene mode.

[0133] When the first controlled device has a smaller influence on the first scene mode, even if the device parameters of the controlled device are adjusted, the regional effect parameters may not be affected. Therefore, the controlled device with a greater influence on the first scene mode may be adjusted according to the device weight.

[0134] Optionally, device parameter adjustment ratios of multiple first controlled devices are determined based on device weights, and device parameters of the multiple first controlled devices are adjusted according to the adjustment ratios; or, at least one first controlled device whose device weight meets preset weight requirements is determined from multiple first controlled devices, and device parameters of the at least one first controlled device are adjusted based on the difference between the regional effect parameters and the reference effect parameters.

[0135] Schematically, taking the lighting control scene as an example, among the multiple lamps corresponding to the first scene mode, the weight of lamp A is 90%, and the weights of lamp B and lamp C are 10% respectively. After calculating the adjustment parameters of the lamp group, the adjustment parameters can be multiplied by the device weights corresponding to each lamp as the adjustment parameters corresponding to the lamps, and the device parameters of the lamps can be adjusted according to the adjustment parameters corresponding to the lamps. For example, assuming that δ is the adjustment parameter, the adjustment parameter corresponding to lamp A is 90% δ, and the adjustment parameters corresponding to lamps B and lamps C are 10% δ respectively; or only the device parameters of lamp A can be adjusted.

[0136] The method provided in the embodiment of the present application can focus on adjusting the device parameters of important devices according to the degree of influence of the controlled devices on the scene mode by adjusting the device parameters of multiple first controlled devices based on the device weights until the scene requirements of the first scene mode are met, so that the actual control effect indicated by the regional effect parameter can quickly reach the first control effect corresponding to the first scene mode, thereby improving the equipment adjustment efficiency, avoiding minor adjustments to non-essential equipment, reducing the number of interventions on the equipment, and increasing the service life of the equipment.

[0137] It is worth noting that the above-mentioned adjustment method of the device parameters is only an illustrative example and is not limited to this in the embodiments of the present application.

[0138] To sum up, the method provided in the embodiment of the present application collects effect parameters in real time through the collection device corresponding to the controlled area, and participates in adjusting the device output in the corresponding mode, so that the device output can be adjusted in time according to the difference between the actual control effect and the preset control effect, so that the actual control effect approaches the preset control effect, thereby freeing the smart device from the influence of environmental factors such as the spatial structure, number of devices and power in the application environment, accurately restoring the preset control effect in the preset scene mode, and improving the mode control performance and efficiency of the smart device.

[0139] In some embodiments, a first scene mode and a first controlled device group for participating in the first scene mode are determined based on the first control operation. Figure 3 , which shows a flowchart of a mode control method for a smart device provided by an exemplary embodiment of the present application. The method can be executed by a terminal, or by a server, or by both the terminal and the server. The present application embodiment takes the method executed by a terminal as an example for explanation. Figure 3 As shown, the method comprises the following steps:

[0140] Step 310: In response to receiving an area selection operation for a first area, displaying at least one of a plurality of candidate scene modes and a plurality of candidate controlled devices corresponding to the first area in a control interface.

[0141] The multiple candidate scene modes are scene modes preset for the first area, the multiple candidate controlled devices include controlled devices for participating in controlling the first area, the multiple candidate scene modes include the first scene mode, and the multiple candidate controlled devices include the first controlled device.

[0142] A control program of the intelligent control system is installed in the terminal, and the control program is associated with the controlled scene. By running the control program, a control interface is displayed. When the user performs scene mode control on the controlled scene, the user can first filter the first area in the controlled scene, and based on the area selection operation for the first area, display at least one of the multiple candidate scene modes and multiple candidate controlled devices corresponding to the first area in the control interface.

[0143] Optionally, in response to receiving an area selection operation for the first area, at least one of a scene configuration option, a device configuration option, and a comprehensive configuration option is displayed in the control interface.

[0144] Among them, the scene configuration option is used to trigger the scene configuration, and the scene configuration is used to select the first scene mode from multiple preset candidate scene modes, or to configure a custom scene mode; the device configuration option is used to trigger the display device configuration, and the device configuration is used to select the first controlled device group participating in the scene mode from multiple candidate controlled devices, or to customize the device parameters of the controlled devices, etc.; the comprehensive configuration option is used to trigger the comprehensive configuration, and the comprehensive configuration is used to select the first scene mode and the first controlled device group based on multiple candidate scene modes and multiple candidate controlled devices associated with the display.

[0145] Illustratively, in response to receiving a selection operation for a scene configuration option, multiple candidate scene modes corresponding to the first area are displayed in the control interface; or, in response to receiving a selection operation for a device configuration option, multiple candidate controlled devices corresponding to the first area are displayed in the control interface; or, in response to receiving a selection operation for a comprehensive configuration option, multiple candidate scene modes and multiple candidate controlled devices corresponding to the first area are associated and displayed in the control interface.

[0146] For example, to display multiple candidate scene modes and multiple candidate controlled devices, please refer to Figure 4 , Figure 4 is a schematic diagram of a scene mode configuration of a control interface provided by an exemplary embodiment of the present application, such as Figure 4 As shown, the control interface 400 includes a plurality of candidate scene modes 410 to 430 corresponding to the first area, and a plurality of candidate controlled devices 401 to 405 corresponding to the first area. Among them, the candidate scene mode 410 is displayed in association with the first candidate device group A for participating in the candidate scene mode 410, and the first candidate device group A includes candidate controlled devices 401 to 403; the candidate scene mode 420 is displayed in association with the second candidate device group B for participating in the candidate scene mode 420, and the second candidate device group B includes the candidate controlled device 404; the candidate scene mode 430 is displayed in association with the third candidate device group C for participating in the candidate scene mode 430, and the third candidate device group C includes the candidate controlled device 402 and the candidate controlled device 405.

[0147] Step 321: In response to receiving a selection operation for a first scene mode, automatically determining a first controlled device group for participating in the first scene mode.

[0148] In some embodiments, a preset candidate scene mode corresponds to at least one candidate device group for participating in the candidate scene mode. When a user selects a specified scene mode, the first controlled device group for participating in the scene mode can be automatically determined based on the actual situation of the controlled devices in the first area.

[0149] The automatic determination process of the first controlled device group includes, in response to receiving a selection operation for a first scene mode, obtaining multiple first candidate device groups associated with the first scene mode, the multiple first candidate device groups including the first controlled device group; obtaining regional device data of the first area, the regional device data is used to indicate the distribution and device status of multiple candidate controlled devices in the first area; and determining a first controlled device group that meets the matching requirements with the regional device data from the multiple first candidate device groups.

[0150] Optionally, the regional device data may be pre-set for the controlled devices in the first area, or may be acquired in real time, which is not limited in the embodiment of the present application.

[0151] In some embodiments, the device state of the controlled device may be detected based on the area effect parameters collected by the first collecting device.

[0152] Schematically, taking the lighting control scenario as an example, when the aging of the equipment causes light decay or equipment damage, the real-time illumination data and historical illumination data collected by the light sensor are combined. For example, at the same time point and with the same output power, the difference between the current collected real-time illumination data and the historical illumination data reaches a preset difference. Then, it is determined that the device status of the device is abnormal. Furthermore, based on the abnormal status, an alarm can be issued to the user, prompting the user to replace the device, etc.

[0153] The matching requirements include, but are not limited to, at least one of the following: the distribution of multiple candidate controlled devices indicated by the regional device data is consistent with the device distribution corresponding to the candidate device group, or the device status of the candidate controlled devices in the candidate device group whose device weights reach a preset weight threshold is consistent with the device status indicated by the regional device data.

[0154] Optionally, multiple first candidate device groups correspond to preset recommendation scores. When the regional device data matches multiple first candidate device groups, the first candidate device group with the highest recommendation score is automatically determined as the first controlled device group. The recommendation score is determined based on the control effect on the first area when the first candidate device group outputs to the first area according to the first scene mode.

[0155] In some embodiments, when determining the first controlled device group with the highest matching degree with the regional device data from multiple first candidate device groups, the multiple candidate controlled devices corresponding to the first area can be combined according to the multiple first candidate device groups, and the first candidate device group that can be covered by the multiple candidate controlled devices in the first area is preferentially selected as the first controlled device group. For example, the first area corresponds to device A, device B and device C, the first candidate device group 1 includes device A and device B, the second candidate device group 2 includes device A and device D, and the third candidate device group 3 includes device A, device B and device C. The actual device situation in the first area can cover the first candidate device group 1 and the third candidate device group 3, wherein the recommendation score of the third candidate device group 3 is higher than that of the first candidate device group 1, and the third candidate device group 3 is determined as the first controlled device group.

[0156] Indicatively, for the lighting control scene, the TV playback scene mode corresponds to the following three groups of candidate equipment groups: the first group: 3 lamp slots, of which 1 track light corresponds to 95% of the equipment weight; the second group: 4 lamp slots, of which 2 downlights correspond to 60% of the equipment weight; the third group: 5 lamp slots. From the perspective of energy saving, the first group of candidate equipment groups is recommended first. When the lamps used by the user do not contain the specified track lights, the second group of candidate equipment groups can be recommended first.

[0157] The method provided in the embodiment of the present application improves the automation and control efficiency of mode control by determining a first controlled device group that meets the matching requirements with regional device data from multiple first candidate device groups based on the distribution and device status of multiple candidate controlled devices in the first area, while ensuring that the first controlled device group can realize the first scene mode, thereby improving the restoration degree of the scene mode.

[0158] Optionally, in response to receiving a selection operation for the first scene mode, it is displayed that the first scene mode is unavailable.

[0159] In some embodiments, multiple candidate scene modes are preset by developers. Regardless of whether the first area in the current controlled scene corresponds to the controlled device required by the mode, the control program may display the candidate scene mode. Therefore, it is necessary to filter and display the available candidate scene modes according to the device status of the actual controlled device in the current controlled scene, or prompt the user of unavailable candidate scene modes.

[0160] Taking the prompting of the user of the unavailable candidate scene mode as an example, the prompting process of the unavailable scene mode includes: in response to receiving a selection operation for the first scene mode, obtaining a first controlled device group pre-associated with the first scene mode, wherein the first controlled device group includes a plurality of first controlled devices. Obtaining the regional device data of the first area, the regional device data is used to indicate the distribution and device status of the plurality of candidate controlled devices in the first area. In the case where the regional device data indicates that the plurality of candidate controlled devices in the first area do not include at least one first controlled device corresponding to the first scene mode, obtaining the device weight of at least one first controlled device; or, in the case where the regional device data indicates that at least one first controlled device in the first area is damaged, obtaining the device weight of at least one damaged first controlled device for the first scene mode; wherein the device weight is used to indicate the degree of influence of at least one first controlled device on the first scene mode. In the case where the device weight reaches the preset weight threshold, displaying a prompt message, the prompt message is used to indicate that the first scene mode is unavailable.

[0161] Illustratively, assuming that the user selects scene mode A for the first area, scene mode A requires the use of the first controlled device group, the first controlled device group includes devices 1 to 3, corresponding to weights 10%, 10%, and 90%, respectively, and the regional device data of the first area is obtained. The regional device data indicates that the first area corresponds to devices 1, 2, and 4, and device 3 is missing. Since the device weight corresponding to device 3 is 90%, which exceeds the preset weight threshold, device 3 is an important device in scene mode A. The lack of device 3 will make scene mode A impossible to implement, and a prompt message is displayed to indicate that scene mode A is unavailable.

[0162] The method provided in the embodiment of the present application can help users screen available scene modes and avoid poor mode control effects due to the lack of important devices by determining the availability of scene modes based on corresponding device weights and providing prompts when the regional device data indicates that at least one first controlled device is not included in multiple candidate controlled devices in the first area, or when at least one first controlled device is damaged.

[0163] Step 322: In response to receiving a selection operation for the first controlled device, automatically determining a first scene mode matching the first controlled device and a first controlled device group including the first controlled device.

[0164] In some embodiments, the user can select all or part of the controlled devices to participate in the scene mode, and the control program automatically recommends the associated scene mode to the user.

[0165] The automatic determination process of scene modes and controlled device groups includes: in response to receiving a selection operation for a first controlled device, obtaining multiple first candidate scene modes associated with the first controlled device; obtaining device weights corresponding to the first controlled device in the multiple first candidate scene modes, the device weights being used to indicate the degree of influence of the first controlled device on the scene mode; determining the first scene mode with the highest device weight corresponding to the first controlled device from the multiple first candidate scene modes; and determining a first controlled device group including the first controlled device based on the first scene mode.

[0166] Illustratively, when the user selects track light A, multiple candidate scene modes using track light A are obtained, wherein candidate scene mode 1 uses track light A (weight 90%) + downlight B (weight 10%) + downlight C (weight 10%), candidate scene mode 2 uses track light A (weight 60%) + track light D (60%), and candidate scene mode 3 uses track light A (weight 50%) + ceiling light E (50%). From the multiple candidate scene modes, candidate scene mode 1 with the highest device weight corresponding to track light A is determined as the first scene mode, and track light A + downlight B + downlight C are determined as the first controlled device group.

[0167] The method provided in the embodiment of the present application obtains multiple first candidate scene modes associated with the first controlled device, determines the first scene mode with the highest device weight corresponding to the first controlled device from the multiple first candidate scene modes, and determines the first controlled device group including the first controlled device based on the first scene mode. This can improve the matching degree between the first scene mode and the user's preference while improving the automation of mode control, improve the efficiency of scene mode recommendation, and improve the efficiency of mode control.

[0168] To summarize, the method provided in the embodiment of the present application provides a distributed mode control method for a controlled scene, first screening the first area in the controlled scene, and selecting a scene mode or at least one of the controlled devices according to the first area for mode control, thereby improving the accuracy and efficiency of mode control.

[0169] In some embodiments, at least one of the reference device parameter and the reference effect parameter may also be dynamically updated to dynamically adjust the preset scene mode. Figure 5 , Figure 5 1 is a flow chart of a scene mode dynamic adjustment method provided by an exemplary embodiment of the present application. The method can be executed by a terminal, or by a server, or by both the terminal and the server. The present application embodiment takes the method executed by a terminal as an example for explanation. Figure 5 As shown, the method includes:

[0170] Step 510 , within a preset time period after the first controlled device group is controlled to work on the first area according to the first scene mode, record the received device adjustment operation and the first effect parameter collected by the first collection device after adjustment based on the device adjustment operation.

[0171] The device adjustment operation is used to adjust the device parameters of the first controlled device group to the first device parameters.

[0172] Schematically, taking the lighting control scene as an example, due to different user body sensations or ambient light affecting the user experience, after controlling the lamps to illuminate the first area according to the scene mode selected by the user, the first control effect may not meet the user's expectations, causing the user to fine-tune the brightness and color temperature of the lamps. The terminal can record the adjustment data in order to make adjustments to the preset scene mode to adapt to user habits.

[0173] The device adjustment operation is an adjustment operation received within a preset time period after the first controlled device group is controlled to work on the first area according to the first scene mode.

[0174] The preset time period may be preset according to different scene modes.

[0175] Illustratively, for the movie viewing mode, due to pre-content such as movie openings or advertisements, users may usually make actual feedback on the scene mode about 2 minutes after selecting the scene mode. Therefore, the preset time period for the movie viewing mode can be set to within 3 minutes after the first controlled device group is controlled to work on the first area according to the first scene mode.

[0176] It is worth noting that the above-mentioned method of determining the preset time period is only an illustrative example and is not limited to this in the embodiments of the present application.

[0177] Step 520, when the number of records of the device adjustment operation reaches a preset number threshold, and the difference between the first effect parameter and the reference effect parameter reaches a preset difference threshold, the reference device parameter corresponding to the first scene mode is updated to the first device parameter, and the reference effect parameter is updated to the first effect parameter.

[0178] Illustratively, for the movie viewing mode in the lighting control scene, the user brightens the lamps used in the movie viewing mode three times after turning on the movie viewing mode. The terminal uses the lamp brightness adjusted by the user as the reference brightness of the lamp in the movie viewing mode, and uses the lighting parameters currently collected by the light sensor as reference effect parameters, thereby updating the settings of the movie viewing mode according to user habits. When the user enables the movie viewing mode next time, the lamps will be controlled to illuminate the viewing area according to the brightness adjusted by the user, so that the viewing area meets the lighting effect adjusted by the user.

[0179] In some embodiments, artificial intelligence (AI) can also be used to automatically adjust the reference device parameters and reference effect parameters corresponding to the preset scene mode in combination with factors such as season, climate, geographical location, and cultural characteristics. For example, in the winter lighting control scene, the reference color temperature value can be lowered to allow the user to feel a warm atmosphere based on the lighting control; in the summer lighting control scene, the reference color temperature value can be increased.

[0180] Optionally, when the regional effect parameters are collected by the first collection device, if the output of the controlled device to the region has little impact on the region, the output power of the controlled device can be dynamically reduced to achieve energy saving effect.

[0181] For example, taking the lighting control scenario as an example, when the light sensor detects that the ambient light is strong, it can actively reduce the output power of the lamp to reduce resource waste; taking the gas control scenario as an example, when the oxygen concentration sensor detects that the oxygen concentration in the area is sufficient, it can reduce the output power of the oxygen supply device to save energy.

[0182] It is worth noting that the above-mentioned intelligent adjustment method is only an illustrative example and is not limited to this in the embodiments of the present application.

[0183] To sum up, the method provided in the embodiment of the present application records device adjustment operations and updates the reference device parameters and reference effect parameters corresponding to the scene mode based on the number of records, so that the preset scene mode can adapt to the user's usage habits, and enables the user to obtain the best control effect based on the preset scene mode adjustment, thereby improving the flexibility of mode control. The scene mode can still be adjusted without the user having to perform professional scene mode configuration, thereby improving the user experience.

[0184] In combination with the above embodiments, the application scenarios of the mode control method of the smart device provided in the embodiments of the present application are explained. Optionally, the method can be applied to any scenario that needs to control the scene mode of the smart device, such as smart home, smart medical care, experimental control, etc. The scene mode provided in the embodiments of the present application includes but is not limited to the control of lighting, temperature, gas, sound effects and other types, and the embodiments of the present application are not limited to this.

[0185] 1. Take the lighting control scene in a smart home as an example.

[0186] Taking the controlled scene including the home scene in the smart home as an example, the mode control method of the smart device provided in the embodiment of the present application is applied to the smart home system, which includes a control device and a controlled device. The controlled device includes a smart lamp. The control device is used to receive control operations and use the corresponding scene mode to control the lighting effect of the home scene.

[0187] Illustratively, a first control operation for a controlled scene is received, the first control operation is used to control a first light group in a first area in the controlled scene in a first scene mode, the first area corresponds to a first sensor, and the first scene mode is used to indicate that the first area is in a first lighting effect; based on the first control operation, the first light group is controlled to illuminate the first area according to reference lighting parameters, the reference lighting parameters are lighting parameters preset based on the first scene mode, and the lighting parameters are used to indicate a working state of the light group; regional lighting parameters of the first area are collected by the first sensor, and the regional lighting parameters are used to indicate an actual lighting effect received by the first area; based on the difference between the regional lighting parameters and the reference lighting parameters corresponding to the first lighting effect, the lighting parameters of the first light group are adjusted in real time until they meet the scene requirements of the first scene mode.

[0188] In some embodiments, the first lamp group includes a plurality of first lamps. When adjusting the lighting parameters in real time, the lighting parameters of the plurality of first lamps may be adjusted uniformly or individually.

[0189] Illustratively, based on the difference between the area lighting parameters and the reference lighting parameters, the lighting parameters of multiple first lamps are proportionally adjusted until the scene requirements of the first scene mode are met; or, based on the difference between the area lighting parameters and the reference lighting parameters, the lighting parameters of multiple first lamps are respectively adjusted based on the lamp weights until the scene requirements of the first scene mode are met, wherein the lamp weight is used to indicate the degree of influence of the first lamp in the first lamp group on the first scene mode.

[0190] Taking the example of uniformly adjusting the lighting parameters of multiple first lamps in equal proportion, the difference between the regional lighting parameter and the reference lighting parameter can be determined; an adjustment parameter is determined based on the ratio between the difference and the regional lighting parameter, the adjustment parameter is used to indicate the adjustment ratio of the lighting parameters of the multiple first lamps, and there is a corresponding relationship between the adjustment parameter and the ratio; the lighting parameters of the multiple first lamps are uniformly adjusted based on the adjustment parameter until the scene requirements of the first scene mode are met.

[0191] Optionally, the first sensor may be implemented as a lighting parameter acquisition device such as a light sensor.

[0192] For the regional lighting parameters collected by the first sensor, a data window with a width of N is constructed, and the data window is used to store the k lighting parameters collected most recently before the current moment, N and k are positive integers and N≥k; in response to the i-th lighting parameter of the first area collected by the first sensor, the i-th lighting parameter is stored in the data window, where i is a positive integer; the i-th regional lighting parameter is determined based on the comprehensive values ​​of multiple lighting parameters in the data window.

[0193] In some embodiments, the lighting control of the controlled scene may be performed in a distributed manner, which is described by taking distributed control according to area divisions in the controlled scene as an example.

[0194] Illustratively, in response to receiving an area selection operation for a first area, at least one of a plurality of candidate scene modes and a plurality of candidate lamps corresponding to the first area is displayed on the control interface, the plurality of candidate scene modes are lighting scene modes preset for the first area, the plurality of candidate lamps are lamps used to participate in controlling the first area, the plurality of candidate scene modes include the first scene mode, and the plurality of candidate lamps include the first lamp. In response to receiving a selection operation for the first scene mode, a first lamp group for participating in the first scene mode is automatically determined; or, in response to receiving a selection operation for the first scene mode, it is displayed that the first scene mode is unavailable; or, in response to receiving a selection operation for the first lamp, a first scene mode matching the first lamp and a first lamp group including the first lamp are automatically determined.

[0195] In some embodiments, in response to receiving a selection operation for a first scene mode, a plurality of first candidate light groups associated with the first scene mode are obtained, the plurality of first candidate light groups including the first light group; regional equipment data of the first area is obtained, the regional equipment data being used to indicate the distribution and equipment status of a plurality of candidate lamps in the first area; and a first light group that meets the matching requirements with the regional equipment data is determined from the plurality of first candidate light groups.

[0196] In some embodiments, in response to receiving a selection operation for a first scene mode, a first light group pre-associated with the first scene mode is obtained, wherein the first light group includes a plurality of first lamps. Regional device data for the first area is obtained, and the regional device data is used to indicate the distribution and device status of a plurality of candidate lamps in the first area. When the regional device data indicates that the plurality of candidate lamps in the first area do not include at least one first lamp corresponding to the first scene mode, the device weight of the at least one first lamp for the first scene mode is obtained; or, when the regional device data indicates that at least one first lamp in the first area is damaged, the lamp weight of the at least one damaged first lamp for the first scene mode is obtained, and the lamp weight is used to indicate the degree of influence of the first lamp on the first scene mode. When the lamp weight reaches a preset weight threshold, a prompt message is displayed, and the prompt message is used to indicate that the first scene mode is unavailable.

[0197] In some embodiments, in response to receiving a selection operation for a first lamp, a plurality of first candidate scene modes associated with the first lamp are obtained; the lamp weights corresponding to the first lamp in the plurality of first candidate scene modes are obtained, and the lamp weights are used to indicate the degree of influence of the first lamp on the scene mode; the first scene mode having the highest lamp weight corresponding to the first lamp is determined from the plurality of first candidate scene modes; and a first lamp group including the first lamp is determined based on the first scene mode.

[0198] In some embodiments, within a preset time period after the first light group is controlled to acutely output to the first area according to the first scene mode, the received lamp adjustment operation and the first lighting parameter acquired by the first sensor after the adjustment based on the lamp adjustment operation are recorded, and the lamp adjustment operation is used to adjust the lighting parameter of the first lamp group to the first lighting parameter; when the number of recorded lamp adjustment operations reaches a preset number threshold, and the difference between the first lighting parameter and the reference lighting parameter reaches a preset difference threshold, the reference lighting parameter corresponding to the first scene mode is updated to the first lighting parameter, and the reference lighting parameter is updated to the first lighting parameter.

[0199] The method provided in the embodiment of the present application can configure the lighting data once based on the preset scene mode, and use it permanently, thereby improving the efficiency of scene mode configuration and saving labor costs; it realizes scene mode templating, so that the dimming parameters are automatically transferred to the local area according to the lighting situation, and professional lighting effects can be experienced with one click; it adopts a distributed light sensor system, which can dynamically adjust the brightness and color temperature, automatically correct the scene mode lighting effect, improve the user experience, and is beneficial to energy conservation and environmental protection, optimizes the lighting environment, and can also assist in equipment status detection and abnormal alarm.

[0200] 2. Take the gas control scenario in smart medical care as an example.

[0201] Taking the controlled scene including the gas control scene in smart medical care as an example, the mode control method of the smart device provided in the embodiment of the present application is applied to the smart medical system, which includes a control device and a controlled device. The controlled device includes an intelligent oxygen supply device. The control device is used to receive control operations and use the corresponding scene mode to control the oxygen supply of the medical scene.

[0202] Illustratively, a first control operation for a controlled scene is received, the first control operation is used to control a first oxygen supply equipment group in a first area in the controlled scene in a first scene mode, the first area corresponds to a first sensor, and the first scene mode is used to indicate that the first area is in a first gas effect; based on the first control operation, the first oxygen supply equipment group is controlled to supply oxygen to the first area according to a reference oxygen supply parameter, the reference oxygen supply parameter is an oxygen supply parameter preset based on the first scene mode, and the oxygen supply parameter is used to indicate a working state of the oxygen supply equipment; regional gas parameters of the first area are collected by the first sensor, and the regional gas parameters are used to indicate an actual oxygen concentration and a gas circulation effect received by the first area; based on a difference between the regional gas parameters and the reference gas parameters corresponding to the first gas effect, the oxygen supply parameters of the first oxygen supply equipment group are adjusted in real time until they meet the scene requirements of the first scene mode.

[0203] 3. Take the temperature control scenario in scientific research experiments as an example.

[0204] Taking the controlled scene including the temperature control scene in scientific research experiments as an example, the mode control method of the smart device provided in the embodiment of the present application is applied to the smart experiment system, which includes a control device and a controlled device. The controlled device includes an intelligent temperature control device. The control device is used to receive control operations and use the corresponding scene mode to control the temperature effect of the experimental scene.

[0205] Schematically, a first control operation for a controlled scene is received, the first control operation is used to control a first temperature control device in a first area of ​​the controlled scene in a first scene mode, the first area corresponds to a first sensor, and the first scene mode is used to indicate that the first area is in a first temperature control effect; based on the first control operation, the first temperature control device is controlled to heat the first area according to a reference temperature parameter, the reference temperature parameter is a temperature parameter preset based on the first scene mode, and the temperature parameter is used to indicate the working status of the temperature control device; a regional effect parameter of the first area is collected by the first sensor, and the regional effect parameter is used to indicate an actual temperature control effect on the first area; based on the difference between the regional effect parameter and the reference effect parameter corresponding to the first temperature control effect, the temperature parameter of the first temperature control device is adjusted in real time until it meets the scene requirements of the first scene mode.

[0206] It is worth noting that the above application scenarios are only illustrative examples and are not limited to the embodiments of the present application.

[0207] Figure 6 is a structural block diagram of a mode control device for a smart device provided by an exemplary embodiment of the present application, such as Figure 6 As shown, the device includes the following parts:

[0208] A processing module 610 is configured to receive a first control operation for a controlled scene, wherein the first control operation is used to control a first controlled device group in a first area of ​​the controlled scene in a first scene mode, the first area corresponds to a first acquisition device, and the first scene mode is used to indicate that the first area is in a first control effect;

[0209] A control module 620, configured to control the first controlled device group to operate on the first area according to a reference device parameter based on the first control operation, wherein the reference device parameter is a device parameter preset based on the first scene mode, and the device parameter is used to indicate an operating state of the first controlled device group;

[0210] A collection module 630, configured to collect a regional effect parameter of the first area through the first collection device, where the regional effect parameter is used to indicate an actual control effect on the first area;

[0211] The control module 620 is further configured to adjust device parameters of the first controlled device group in real time based on a difference between the regional effect parameter and a reference effect parameter corresponding to the first control effect until the device parameters meet the scene requirements of the first scene mode.

[0212] In some embodiments, the first controlled device group includes a plurality of first controlled devices;

[0213] The control module 620 is further used for:

[0214] Based on the difference between the regional effect parameter and the reference effect parameter, adjusting the device parameters of the plurality of first controlled devices in equal proportion until the scene requirements of the first scene mode are met; or,

[0215] Based on the difference between the regional effect parameter and the reference effect parameter, the device parameters of the multiple first controlled devices are adjusted respectively based on the device weight until the scene requirements of the first scene mode are met. The multiple first controlled devices respectively correspond to the device weight, and the device weight is used to indicate the degree of influence of the first controlled device on the first scene mode in the first controlled device group.

[0216] In some embodiments, the control module 620 is further configured to:

[0217] determining a difference between the regional effect parameter and the reference effect parameter;

[0218] Determine an adjustment parameter based on a ratio between the difference and the regional effect parameter, the adjustment parameter being used to indicate an adjustment ratio of device parameters of the plurality of first controlled devices, and there being a corresponding relationship between the adjustment parameter and the ratio;

[0219] The device parameters of the plurality of first controlled devices are uniformly adjusted based on the adjustment parameters until the scene requirements of the first scene mode are met.

[0220] In some embodiments, the acquisition module 630 is further used to:

[0221] Construct a data window with a width of N, where the data window is used to store k effect parameters acquired for the most recent k times before the current moment, where k is a positive integer and N≥k;

[0222] In response to the first acquisition device acquiring the i-th effect parameter of the first area, storing the i-th effect parameter in the data window, where i is a positive integer;

[0223] An i-th region effect parameter of the first region is determined based on comprehensive values ​​of the plurality of effect parameters in the data window.

[0224] In some embodiments, the processing module 610 is further configured to:

[0225] In response to receiving an area selection operation for the first area, displaying at least one of a plurality of candidate scene modes and a plurality of candidate controlled devices corresponding to the first area in a control interface, the plurality of candidate scene modes being scene modes preset for the first area, the plurality of candidate controlled devices including a controlled device for participating in controlling the first area, the plurality of candidate scene modes including the first scene mode, and the plurality of candidate controlled devices including a first controlled device;

[0226] In response to receiving a selection operation for the first scene mode, automatically determining the first controlled device group for participating in the first scene mode; or, in response to receiving a selection operation for the first controlled device, automatically determining the first scene mode matching the first controlled device and the first controlled device group including the first controlled device.

[0227] In some embodiments, the processing module 610 is further configured to:

[0228] In response to receiving a selection operation for the first scene mode, acquiring a plurality of first candidate device groups associated with the first scene mode, wherein the plurality of first candidate device groups include the first controlled device group;

[0229] Acquire regional device data of the first region, where the regional device data is used to indicate distribution and device status of the plurality of candidate controlled devices in the first region;

[0230] The first controlled device group that meets the matching requirement with the regional device data is determined from the multiple first candidate device groups.

[0231] In some embodiments, the processing module 610 is further configured to:

[0232] In response to receiving a selection operation for the first scene mode, acquiring the first controlled device group pre-associated with the first scene mode, the first controlled device group including a plurality of first controlled devices;

[0233] Acquire regional device data of the first region, where the regional device data is used to indicate distribution and device status of the plurality of candidate controlled devices in the first region;

[0234] When the regional device data indicates that at least one first controlled device corresponding to the first scene mode is not included in the plurality of candidate controlled devices in the first area, obtaining a device weight of the at least one first controlled device for the first scene mode; or, when the regional device data indicates that at least one first controlled device in the first area is damaged, obtaining a device weight of the at least one damaged first controlled device for the first scene mode; wherein the device weight is used to indicate the degree of influence of the at least one first controlled device on the first scene mode;

[0235] When the device weight reaches a preset weight threshold, a prompt message is displayed, where the prompt message is used to prompt that the first scene mode is unavailable.

[0236] In some embodiments, the processing module 610 is further configured to:

[0237] In response to receiving a selection operation for the first controlled device, acquiring a plurality of first candidate scene modes associated with the first controlled device;

[0238] Acquire device weights respectively corresponding to the first controlled device in the plurality of first candidate scene modes, the device weights being used to indicate the degree of influence of the first controlled device on the scene mode;

[0239] Determine, from the multiple first candidate scene modes, the first scene mode corresponding to the first controlled device and having the highest device weight;

[0240] The first controlled device group including the first controlled device is determined based on the first scene mode.

[0241] In some embodiments, the processing module 610 is further configured to:

[0242] within a preset time period after the first controlled device group is controlled to work on the first area according to the first scene mode, recording a received device adjustment operation and a first effect parameter acquired by the first acquisition device after adjustment based on the device adjustment operation, wherein the device adjustment operation is used to adjust a device parameter of the first controlled device group to a first device parameter;

[0243] When the number of records of the device adjustment operation reaches a preset number threshold and the difference between the first effect parameter and the reference effect parameter reaches a preset difference threshold, the reference device parameter corresponding to the first scene mode is updated to the first device parameter, and the reference effect parameter is updated to the first effect parameter.

[0244] To sum up, the device provided in the embodiment of the present application collects effect parameters in real time through the collection device corresponding to the controlled area, and participates in adjusting the device output in the corresponding mode, so that the device output can be adjusted in time according to the difference between the actual control effect and the preset control effect, so that the actual control effect approaches the preset control effect, thereby freeing the smart device from the influence of environmental factors such as the spatial structure, number of devices and power in the application environment, accurately restoring the preset control effect in the preset scene mode, and improving the mode control performance and efficiency of the smart device.

[0245] It should be noted that the mode control device of the smart device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0246] Figure 7 The structure block diagram of a terminal 700 provided by an exemplary embodiment of the present application is shown. The terminal 700 may be: a smart phone, a tablet computer, an MP3 player, an MP4 player, a notebook computer or a desktop computer. The terminal 700 may also be called a user equipment, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0247] Typically, the terminal 700 includes a processor 701 and a memory 702 .

[0248] The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 701 may 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 701 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 701 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 701 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0249] The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 702 is used to store at least one instruction, which is used to be executed by the processor 701 to implement the mode control method of the smart device provided in the method embodiment of the present application.

[0250] In some embodiments, the terminal 700 further includes some other components 703, and the type and quantity of the other components 703 can be selected based on the functional requirements of the terminal 700. Those skilled in the art will appreciate that Figure 7 The structure shown in the figure does not constitute a limitation on the terminal 700, and the terminal 700 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0251] The embodiment of the present application also provides a computer device, which can be implemented as follows: Figure 1The computer device includes a processor and a memory, wherein at least one instruction, at least one program, code set or instruction set is stored in the memory, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the mode control method of the smart device provided by the above-mentioned method embodiments.

[0252] An embodiment of the present application also provides a computer-readable storage medium, on which is stored at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the mode control method of the smart device provided in the above-mentioned method embodiments.

[0253] The embodiments of the present application also provide a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the mode control method of the smart device provided by the above-mentioned method embodiments.

[0254] Optionally, the computer readable storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), Solid State Drives (SSD) or optical disks, etc. Among them, the random access memory may include resistance random access memory (ReRAM) and dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0255] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0256] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A mode control method for a smart device, characterized in that: The method comprises: Receiving a first control operation for a controlled scene, the first control operation being used to control a first controlled device group in a first area of ​​the controlled scene in a first scene mode, the first area corresponding to a first acquisition device, and the first scene mode being used to indicate that the first area is in a first control effect; controlling the first controlled device group to operate in the first area according to reference device parameters based on the first control operation, wherein the reference device parameters are device parameters preset based on the first scene mode, and the device parameters are used to indicate an operating state of the first controlled device group; collecting, by the first collecting device, a regional effect parameter of the first area, where the regional effect parameter is used to indicate an actual control effect on the first area; Based on the difference between the area effect parameter and the reference effect parameter corresponding to the first control effect, the device parameters of the first controlled device group are adjusted in real time until they meet the scene requirements of the first scene mode.

2. The method according to claim 1, characterized in that The first controlled device group includes a plurality of first controlled devices; The adjusting, based on the difference between the regional effect parameter and the reference effect parameter corresponding to the first control effect, the device parameters of the first controlled device group in real time until the scene requirements of the first scene mode are met, includes: Based on the difference between the regional effect parameter and the reference effect parameter, adjusting the device parameters of the plurality of first controlled devices in equal proportion until the scene requirements of the first scene mode are met; or, Based on the difference between the regional effect parameter and the reference effect parameter, the device parameters of the multiple first controlled devices are adjusted respectively based on the device weight until the scene requirements of the first scene mode are met. The multiple first controlled devices respectively correspond to the device weight, and the device weight is used to indicate the degree of influence of the first controlled device on the first scene mode in the first controlled device group.

3. The method according to claim 2, characterized in that The adjusting the device parameters of the plurality of first controlled devices in equal proportions based on the difference between the regional effect parameter and the reference effect parameter until the scene requirements of the first scene mode are met includes: determining a difference between the regional effect parameter and the reference effect parameter; Determine an adjustment parameter based on a ratio between the difference and the regional effect parameter, the adjustment parameter being used to indicate an adjustment ratio of device parameters of the plurality of first controlled devices, and there being a corresponding relationship between the adjustment parameter and the ratio; The device parameters of the plurality of first controlled devices are uniformly adjusted based on the adjustment parameters until the scene requirements of the first scene mode are met.

4. The method according to any one of claims 1 to 3, characterized in that: The collecting the area effect parameter of the first area by the first collecting device includes: Construct a data window with a width of N, where the data window is used to store k effect parameters acquired for the most recent k times before the current moment, where N and k are positive integers and N≥k; In response to the first acquisition device acquiring the i-th effect parameter of the first area, storing the i-th effect parameter in the data window, where i is a positive integer; An i-th area effect parameter of the first area is determined based on comprehensive values ​​of a plurality of effect parameters in the data window.

5. The method according to any one of claims 1 to 3, characterized in that: The receiving a first control operation for a controlled scene includes: In response to receiving an area selection operation for the first area, displaying at least one of a plurality of candidate scene modes and a plurality of candidate controlled devices corresponding to the first area in a control interface, the plurality of candidate scene modes being scene modes preset for the first area, the plurality of candidate controlled devices including a controlled device for participating in controlling the first area, the plurality of candidate scene modes including the first scene mode, and the plurality of candidate controlled devices including a first controlled device; In response to receiving a selection operation for the first scene mode, automatically determining the first controlled device group for participating in the first scene mode; or, in response to receiving a selection operation for the first controlled device, automatically determining the first scene mode matching the first controlled device and the first controlled device group including the first controlled device.

6. The method according to claim 5, characterized in that In response to receiving a selection operation for the first scene mode, automatically determining the first controlled device group for participating in the first scene mode includes: In response to receiving a selection operation for the first scene mode, acquiring a plurality of first candidate device groups associated with the first scene mode, wherein the plurality of first candidate device groups include the first controlled device group; Acquire regional device data of the first region, where the regional device data is used to indicate distribution and device status of the plurality of candidate controlled devices in the first region; The first controlled device group that meets the matching requirement with the regional device data is determined from the multiple first candidate device groups.

7. The method according to claim 5, characterized in that In response to receiving a selection operation for the first controlled device, automatically determining the first scene mode matching the first controlled device and the first controlled device group including the first controlled device, comprises: In response to receiving a selection operation for the first controlled device, acquiring a plurality of first candidate scene modes associated with the first controlled device; Acquire device weights respectively corresponding to the first controlled device in the plurality of first candidate scene modes, the device weights being used to indicate the degree of influence of the first controlled device on the scene mode; Determine, from the multiple first candidate scene modes, the first scene mode corresponding to the first controlled device and having the highest device weight; The first controlled device group including the first controlled device is determined based on the first scene mode.

8. The method according to claim 5, characterized in that The method further comprises: In response to receiving a selection operation for the first scene mode, acquiring the first controlled device group pre-associated with the first scene mode, the first controlled device group including a plurality of first controlled devices; Acquire regional device data of the first region, where the regional device data is used to indicate distribution and device status of the plurality of candidate controlled devices in the first region; When the regional device data indicates that at least one first controlled device corresponding to the first scene mode is not included in the plurality of candidate controlled devices in the first area, obtaining a device weight of the at least one first controlled device for the first scene mode; or, when the regional device data indicates that at least one first controlled device in the first area is damaged, obtaining a device weight of the at least one damaged first controlled device for the first scene mode; wherein the device weight is used to indicate the degree of influence of the at least one first controlled device on the first scene mode; When the device weight reaches a preset weight threshold, a prompt message is displayed, where the prompt message is used to prompt that the first scene mode is unavailable.

9. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: within a preset time period after the first controlled device group is controlled to work on the first area according to the first scene mode, recording a received device adjustment operation and a first effect parameter acquired by the first acquisition device after adjustment based on the device adjustment operation, wherein the device adjustment operation is used to adjust a device parameter of the first controlled device group to a first device parameter; When the number of records of the device adjustment operation reaches a preset number threshold and the difference between the first effect parameter and the reference effect parameter reaches a preset difference threshold, the reference device parameter corresponding to the first scene mode is updated to the first device parameter, and the reference effect parameter is updated to the first effect parameter.

10. A mode control device for a smart device, characterized in that: The device comprises: a processing module, configured to receive a first control operation for a controlled scene, wherein the first control operation is used to control a first controlled device group in a first area of ​​the controlled scene in a first scene mode, the first area corresponds to a first acquisition device, and the first scene mode is used to indicate that the first area is in a first control effect; a control module, configured to control the first controlled device group to operate in the first area according to a reference device parameter based on the first control operation, wherein the reference device parameter is a device parameter preset based on the first scene mode, and the device parameter is used to indicate an operating state of the first controlled device group; a collection module, configured to collect a regional effect parameter of the first area through the first collection device, wherein the regional effect parameter is used to indicate an actual control effect on the first area; The control module is further configured to adjust device parameters of the first controlled device group in real time based on a difference between the regional effect parameter and a reference effect parameter corresponding to the first control effect until the device parameters meet the scene requirements of the first scene mode.

11. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the mode control method of the smart device as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The storage medium stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the mode control method of the smart device as described in any one of claims 1 to 9.

13. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the mode control method of the smart device according to any one of claims 1 to 9.

Citation Information

Patent Citations

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

    CN110780598A

  • Equipment control method and device, storage medium and electronic device

    CN116184848A

  • Equipment control method, storage medium and electronic device

    CN116400608A

  • Intelligent equipment control method and device, server and storage medium

    CN118034076A