Control method, storage medium and electronic device for range hood fan speed settings
By acquiring and analyzing historical data on the fan speed settings of the range hood, the system can predict the current fan speed setting and automatically adjust it, thus solving the problem of needing to manually adjust the fan speed after the range hood is turned on and improving the user experience.
Patent Information
- Application Number
- CN202211177380.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-26
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2042-09-26
AI Technical Summary
Existing range hoods require users to manually adjust the fan speed after turning them on, which is inconvenient during use.
By acquiring historical usage data of multiple fan speed settings of the range hood, including fan speed setting, usage date, and usage duration, the system predicts the fan speed setting for the current time and automatically adjusts the range hood to the predicted fan speed setting after it is turned on.
The range hood automatically adjusts the fan speed after being turned on, improving ease of use and enhancing the user experience.
Smart Images

Figure CN115540005B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart home / intelligent home technology, and more specifically, to a method for controlling the fan speed of a range hood, a storage medium, and an electronic device. Background Technology
[0002] A range hood is a kitchen appliance that purifies the kitchen environment. It can quickly remove harmful fumes produced during cooking, thus protecting the user's health.
[0003] Existing range hoods require users to manually adjust the fan speed to the desired level after turning them on. If the user is stir-frying or cooking, they still need to manually adjust the fan speed, which makes it difficult to monitor the cooking process and causes many inconveniences during use.
[0004] Accordingly, there is a need in the field for a new method to control the fan speed of a range hood to solve the above problems. Summary of the Invention
[0005] This application aims to solve the aforementioned technical problem, namely, to resolve the issue that existing range hoods require users to manually adjust the fan speed after being turned on, which causes many inconveniences during use.
[0006] To achieve the above objectives, in a first aspect, this application provides a method for controlling the fan speed settings of a range hood, wherein the range hood includes multiple fan speed settings, and the method includes the following steps:
[0007] Obtain multiple sets of historical usage data for the range hood's fan speed settings within a first set time period prior to the current time. Each set of historical usage data for the fan speed settings includes at least the fan speed setting, the date of use of the fan speed setting, and the duration of use.
[0008] Based on the acquired historical usage data of the multiple sets of wind speed settings, the wind speed setting for the current time is predicted.
[0009] After detecting that the range hood is turned on, control the range hood to operate according to the predicted wind speed setting.
[0010] In the optional technical solutions of the above-mentioned method for controlling the fan speed of the range hood, the step of obtaining multiple sets of historical usage data of the fan speed of the range hood within a first set time period before the current time includes:
[0011] Divide the length of a day into multiple time periods;
[0012] The system acquires multiple sets of historical usage data for the range hood's fan speed settings within a first set time period prior to the current time. Each set of historical usage data for the fan speed settings also includes the start-up time corresponding to the fan speed setting and the time period corresponding to the start-up time.
[0013] In the optional technical solutions of the above-mentioned method for controlling the fan speed of a range hood, the step of predicting the fan speed at the current time based on the acquired historical usage data of the multiple sets of fan speed settings includes:
[0014] Based on historical usage data of multiple wind speed settings from different usage dates and time periods, the wind speed settings for each time period within the second set time period in the future are predicted.
[0015] In the optional technical solutions of the above-mentioned method for controlling the fan speed of a range hood, the step of predicting the fan speed for each time period within a future second set time period based on multiple sets of historical usage data of different usage dates and time periods includes:
[0016] Obtain the first score of different wind speed settings for each time period within the first set time period. The first score is used to represent the usage of different wind speed settings for each time period within the first set time period.
[0017] Based on the first score of different wind speed levels in each time period within the first set time period, the wind speed levels in each time period within the future second set time period are predicted.
[0018] In the optional technical solutions of the above-mentioned method for controlling the fan speed of a range hood, obtaining the first score of different fan speed levels for each time period within the first set time period includes:
[0019] Determine the date weight score and behavior weight score of the wind speed setting in each group of historical usage data within the first set time period;
[0020] Based on the date weight score and the behavior weight score, calculate the first score for different wind speed levels in each time period within the first set duration.
[0021] In the optional technical solutions of the above-mentioned control method for the fan speed of the range hood, the step of calculating the first score for different fan speed levels in each time period within the first set time period based on the date weight score and the behavior weight score includes:
[0022] Based on the date weight score and the behavior weight score, calculate the second score of the wind speed level in each group of historical usage data; accumulate the second scores of multiple groups of historical usage data with the same time period and wind speed level within the first set time period, and use the accumulated score as the first score of different wind speed levels in each time period within the first set time period.
[0023] And / or, determining the date weight score and behavior weight score of the wind speed setting in each group of historical usage data within the first set time period includes:
[0024] The date weight score is determined based on the interval between the usage date corresponding to the wind speed setting in each set of historical usage data and the current time, wherein the longer the interval, the smaller the date weight score; the behavior weight score is determined based on the usage duration corresponding to the wind speed setting in each set of historical usage data, wherein the longer the usage duration, the larger the behavior weight score.
[0025] In the optional technical solutions of the above-mentioned method for controlling the fan speed of a range hood, the step of predicting the fan speed level for each time period within the future second set time period based on the first score of different fan speed levels for each time period within the first set time period includes:
[0026] For time periods without historical usage data, the predicted wind speed level of the time period with the highest first rating among the time periods with historical usage data is used as the predicted wind speed level for the time periods without historical usage data.
[0027] In a second aspect, this application provides a control device for the fan speed setting of a range hood, the device comprising:
[0028] The parameter acquisition module is configured to acquire multiple sets of historical usage data of the range hood's wind speed settings within a first set time period before the current time. Each set of historical usage data of the wind speed settings includes at least the wind speed setting, the date of use of the wind speed setting, and the duration of use.
[0029] The prediction module is configured to predict the wind speed at the current time based on the acquired historical usage data of the multiple sets of wind speed settings.
[0030] The control module is configured to control the range hood to operate at the predicted wind speed setting after detecting that the range hood is turned on.
[0031] In a third aspect, this application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method for controlling the fan speed setting of a range hood as described in any of the above descriptions.
[0032] In a fourth aspect, this application provides a readable storage medium storing a plurality of program codes adapted to be loaded and run by a processor to perform the control method for the fan speed setting of a range hood as described above.
[0033] Those skilled in the art will understand that the range hood in this application includes multiple fan speed settings. It acquires historical usage data for multiple sets of fan speed settings over a first set time period prior to the current time. Each set of historical usage data includes at least the fan speed setting, the date of use, and the duration of use. Based on the acquired historical usage data, it predicts the fan speed setting for the current time. After detecting that the range hood is turned on, it controls the range hood to operate at the predicted fan speed setting. This setup enables the range hood to automatically operate at the fan speed setting predicted based on historical usage data after being turned on, improving the convenience of using the range hood and enhancing the user experience.
[0034] Furthermore, acquiring historical usage data for multiple fan speed settings of the range hood within a first set time period prior to the current time includes: dividing the day into multiple time periods; acquiring historical usage data for multiple fan speed settings of the range hood within the first set time period prior to the current time, with each set of historical usage data including the start-up time corresponding to the fan speed setting and the time period corresponding to the start-up time. Based on the acquired historical usage data for multiple fan speed settings, predicting the fan speed setting at the current time includes: based on the acquired historical usage data for multiple fan speed settings from different usage dates and time periods, predicting the fan speed setting for each time period within a second set time period in the future. This setting allows for in-depth learning of the user's range hood fan speed setting usage habits, thereby predicting the range hood fan speed setting for each time period based on the user's usage habits at different times of the day (morning, noon, and evening), simplifying user actions, saving user time, and improving the user experience. Attached Figure Description
[0035] The disclosure of this application will become more readily understood with reference to the accompanying drawings. It will be readily understood by those skilled in the art that these drawings are for illustrative purposes only and are not intended to limit the scope of protection of this application. Wherein:
[0036] Figure 1 This is a schematic diagram of the hardware environment for an interaction method of a smart device according to an embodiment of this application;
[0037] Figure 2 This is a flowchart of the main steps of the method for controlling the fan speed setting of a range hood according to an embodiment of this application;
[0038] Figure 3 This is a flowchart of the main steps for obtaining historical usage data of multiple fan speed settings of a range hood within a first set time period before the current time, according to an embodiment of this application.
[0039] Figure 4 This is a flowchart of the main steps for predicting the wind speed level for each time period within a second predetermined time period according to an embodiment of this application.
[0040] Figure 5This is a main structural block diagram of the control device for the fan speed setting of a range hood according to an embodiment of this application;
[0041] Figure 6 This is a main structural block diagram of an electronic device used to execute the control method for the fan speed setting of a range hood according to embodiments of this application;
[0042] Figure 7 This is a schematic diagram of the module structure of a range hood using the range hood fan speed control method according to an embodiment of this application. Detailed Implementation
[0043] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0044] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0045] In the description of this application, "module" and "processor" can include hardware, software, or a combination of both. A module can include hardware circuitry, various suitable sensors, communication ports, memory, and may also include software components, such as program code, or a combination of software and hardware. A processor can be a central processing unit, a microprocessor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing capabilities. The processor can be implemented in software, in hardware, or a combination of both. Non-transitory computer-readable storage media includes any suitable medium capable of storing program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The singular terms "a" and "this" can also include plural forms.
[0046] According to one aspect of the embodiments of this application, a method for controlling the fan speed of a range hood is provided. This method for controlling the fan speed of a range hood is widely used in whole-house intelligent digital control application scenarios such as smart homes, smart home ecosystems, and smart house ecosystems. Optionally, in this embodiment, the above-mentioned method for controlling the fan speed of a range hood can be applied to, for example... Figure 1 The hardware environment shown consists of terminal device 102 and server 104. For example... Figure 1 As shown, server 104 is connected to terminal device 102 via a network and can be used to provide services (such as application services) to the terminal or clients installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services for server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data processing services for server 104.
[0047] The aforementioned network may include, but is not limited to, at least one of the following: wired network, wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: wide area network, metropolitan area network, local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity), Bluetooth. The terminal device 102 may be a smart range hood or a PC, mobile phone, tablet computer, etc., that interacts with the smart range hood.
[0048] As described in the background section, existing range hoods require users to manually adjust the fan speed after startup, which causes many inconveniences during use. This application provides a method for controlling the fan speed of a range hood.
[0049] See appendix Figure 2 , Figure 2 This is a flowchart illustrating the main steps of a method for controlling the fan speed setting of a range hood according to an embodiment of this application. Figure 2 As shown, the range hood of this application includes multiple fan speed settings, and the method includes the following steps:
[0050] Step S201: Obtain multiple sets of historical usage data of the range hood's fan speed settings within a first set time period before the current time. Each set of historical usage data of the fan speed settings shall include at least the fan speed setting, the date of use of the fan speed setting, and the duration of use.
[0051] In some embodiments, the range hood can be set to three fan speed settings: a first fan speed setting, a second fan speed setting, and a third fan speed setting. The first set duration can be 8 days, meaning that historical usage data of multiple fan speed settings of the range hood are collected within the 8 days prior to the current time. The settings of the range hood fan speed settings and the value of the first set duration described above are only illustrative examples, and can be selected according to actual needs in practical applications.
[0052] Step S202: Based on the acquired historical usage data of multiple sets of wind speed settings, predict the wind speed setting for the current time.
[0053] In some embodiments, after a user binds the range hood device, the device's base plate uploads multiple sets of historical fan speed settings to the cloud via a Wi-Fi module. The cloud then analyzes this historical data to predict the current fan speed setting. The method for predicting the current fan speed setting described above is merely an example; in practical applications, it can be selected according to actual needs.
[0054] Step S203: After detecting that the range hood is turned on, control the range hood to run at the predicted wind speed setting.
[0055] In some embodiments, when the range hood is detected to be turned on, the predicted wind speed setting is sent to the range hood, thereby enabling the predicted wind speed setting to be automatically activated after the user turns on the range hood.
[0056] Based on the aforementioned steps S201 to S203, this application acquires multiple sets of historical usage data for the range hood's fan speed settings within a first set time period prior to the current time. Each set of historical usage data includes at least the fan speed setting, the date of use, and the duration of use. Based on the acquired historical usage data, the application predicts the fan speed setting for the current time. Upon detecting that the range hood is turned on, the application controls the range hood to operate at the predicted fan speed setting. This setting enables the range hood to automatically operate at the fan speed setting predicted based on historical usage data after being turned on, improving the convenience of using the range hood and enhancing the user experience.
[0057] See appendix Figure 3 , Figure 3 This is a flowchart illustrating the main steps of obtaining historical usage data of multiple fan speed settings of a range hood within a first set time period prior to the current time, according to an embodiment of this application. Figure 3 As shown, in some embodiments, obtaining historical usage data of multiple fan speed settings of the range hood within a first set time period prior to the current time includes the following steps:
[0058] Step S301: Divide the length of a day into multiple time periods.
[0059] Step S302: Obtain historical usage data of multiple fan speed settings of the range hood within a first set time period before the current time. Each set of historical usage data of fan speed settings also includes the start-up time corresponding to the fan speed setting and the time period corresponding to the start-up time.
[0060] For example, the length of a day can be divided into three time periods: from 3:00 AM (inclusive) to 10:00 AM (exclusive) is the morning period; from 10:00 AM (inclusive) to 4:00 PM (exclusive) is the middle period; and from 4:00 PM (inclusive) to 3:00 AM the next day (exclusive) is the evening period. The historical usage data for each wind speed setting also includes the startup time corresponding to the wind speed setting and the time period corresponding to the startup time. For example, if the startup time for a wind speed setting is 8:00 AM and the usage duration for that wind speed setting is 40 minutes, then the time period corresponding to the startup time in the historical usage data for that wind speed setting is the morning period. The time period settings, startup time values, usage duration values, and time period selections described above are only illustrative examples; in practical applications, they can be selected according to actual needs.
[0061] In some embodiments, historical usage data further includes the shutdown interval duration, and the method further includes: determining whether historical usage data with the same time period, usage date, and wind speed setting needs to be merged based on the shutdown interval duration; and after merging, determining whether the merged historical usage data needs to be removed based on the usage duration. For example, the shutdown interval duration is compared with a shutdown interval threshold, such as a 5-minute threshold, to determine whether historical usage data with the same time period, usage date, and wind speed setting needs to be merged based on the comparison result. When the shutdown interval duration is greater than or equal to the shutdown interval threshold, no merging is required; when the shutdown interval duration is less than the shutdown interval threshold, merging is required, that is, merging two power-on / off cycles into one power-on / off cycle, and adding the two usage durations to obtain the merged usage duration. After the merging process is complete, the usage duration is compared with a duration threshold, such as 1 minute. Based on the comparison result, it is determined whether the merged historical usage data needs to be removed. If the usage duration is greater than or equal to the duration threshold, no removal is required. If the usage duration is less than the duration threshold, removal is required, meaning that each group of historical usage data containing usage durations less than the duration threshold is removed after merging. The methods for determining whether merging or removal is needed, the values for the shutdown interval threshold, and the duration threshold described above are only illustrative examples. In actual applications, the appropriate methods can be selected based on specific needs.
[0062] In some embodiments, predicting the current wind speed setting based on acquired historical usage data of multiple sets of wind speed settings includes: predicting the wind speed setting for each time period within a future second set time period based on acquired historical usage data of multiple sets of wind speed settings for different usage dates and time periods. For example, the second set time period can be 24 hours, meaning predicting the wind speed setting for each time period within the next 24 hours. This setting allows for in-depth learning of the user's range hood wind speed setting usage habits, enabling the prediction of the range hood wind speed setting for each time period based on the user's usage habits in the morning, noon, and evening. This simplifies user actions, saves user time, and improves the user experience. The value of the second set time period described above is only an example and can be selected according to actual needs in practical applications.
[0063] See appendix Figure 4 , Figure 4 This is a flowchart illustrating the main steps of predicting the wind speed level for each time period within a second predetermined time frame, according to an embodiment of this application. Figure 4 As shown, in some embodiments, predicting the wind speed setting for each time period within a future second predetermined time period based on multiple sets of historical usage data for different usage dates and time periods includes the following steps:
[0064] Step S401: Obtain the first score of different wind speed settings for each time period within the first set time period. The first score is used to represent the usage of different wind speed settings for each time period within the first set time period.
[0065] Step S402: Based on the first score of different wind speed levels in each time period within the first set time period, predict the wind speed level in each time period within the second set time period in the future.
[0066] Specifically, the wind speed level with the highest score in each time period within the first set time period is used as the predicted wind speed level for the corresponding time period within the second set time period in the future.
[0067] In some embodiments, obtaining the first score of different wind speed levels for each time period within a first set time period includes: determining the date weight score and behavior weight score of the wind speed level in each group of historical usage data within the first set time period; and calculating the first score of different wind speed levels for each time period within the first set time period based on the date weight score and behavior weight score.
[0068] In some embodiments, determining the date weight score and behavior weight score of wind speed settings in each group of historical usage data within a first set time period includes: determining the date weight score based on the interval between the usage date corresponding to the wind speed setting in each group of historical usage data and the current time, wherein the longer the interval, the smaller the date weight score; and determining the behavior weight score based on the duration of usage corresponding to the wind speed setting in each group of historical usage data, wherein the longer the usage duration, the larger the behavior weight score. For example, the first set time period can be 8 days. The interval between the usage date corresponding to the wind speed setting in each group of historical usage data and the current time, along with the corresponding date weight score, are shown in Table 1, wherein the longer the interval, the smaller the date weight score.
[0069] Table 1
[0070] Interval duration Date weighting 8 days 0.23 7 days 0.44 6 days 0.61 5 days 0.75 4 days 0.86 3 days 0.94 2 days 0.98 1 day 1.00
[0071] The usage duration t (in seconds) corresponding to the wind speed setting in each set of historical usage data can be substituted into the formula below to calculate the corresponding behavior weight score g(t). The longer the usage duration, the higher the behavior weight score.
[0072]
[0073] The above-described values for date weighting for different intervals, the method for calculating behavior weighting based on usage duration, and the values of each coefficient in the formula for calculating behavior weighting based on usage duration are all just illustrative examples. In actual applications, these can be selected according to actual needs.
[0074] In some embodiments, calculating the first score for different wind speed levels in each time period within a first set duration, based on date weighting and behavior weighting, includes: calculating a second score for the wind speed level in each group of historical usage data based on date weighting and behavior weighting; accumulating the second scores of multiple groups of historical usage data with the same time period and wind speed level within the first set duration, and using the accumulated score as the first score for different wind speed levels in each time period within the first set duration. For example, the date weighting and behavior weighting in each group of historical usage data can be multiplied, and the product can be used as the second score for the wind speed level in each group of historical usage data. For instance, if the date weighting score for a group of historical usage data for a wind speed level is 0.94 and the behavior weighting score is 0.7641, then the second score for that group of historical usage data for a wind speed level is 0.7183. The time period can be set to early, middle and late periods, and the wind speed setting can be set to the first, second and third wind speed settings. The second score of the wind speed setting in multiple sets of historical usage data within the first set time period can be, for example, as shown in Table 2.
[0075] Table 2
[0076]
[0077]
[0078] The second scores of multiple sets of historical usage data with the same time period and wind speed level in Table 2 are accumulated. The first scores of different wind speed levels in each time period within the first set time period after accumulation are shown in Table 3.
[0079] Table 3
[0080] Time period Wind speed settings First rating middle First wind speed setting 0.7183 middle Second wind speed setting 0.2652 middle Third wind speed setting 1.3703 Night First wind speed setting 0.1077 Night Second wind speed setting 0.6186
[0081] The above-described calculation method for the second score, the date weight score and behavior weight score of a set of historical usage data for wind speed settings, the setting of time periods, the setting of wind speed settings, and the value of the second score for wind speed settings in multiple sets of historical usage data are all just examples. In actual applications, they can be selected according to actual needs.
[0082] In some embodiments, predicting the wind speed level for each time period within a future second predetermined time period based on the first score of different wind speed levels for each time period within a first predetermined time period includes: for time periods without historical usage data, using the predicted wind speed level of the time period with the highest first score among the time periods with historical usage data as the predicted wind speed level for the time periods without historical usage data. For example, the time periods may include early, middle, and late time periods. For instance, when there is no historical usage data for the early time period, it is determined which time period (middle or late) with historical usage data has the highest first score. If the first score of the late time period is the highest, then the predicted wind speed level for the late time period is used as the predicted wind speed level for the early time period; otherwise, the predicted wind speed level for the middle time period is used as the predicted wind speed level for the early time period. The above-described settings for time periods and the number of time periods without historical usage data are merely illustrative examples and can be selected according to actual needs in practical applications.
[0083] In some embodiments, predicting the wind speed level for each time period within a future second predetermined time period based on multiple sets of historical usage data for different usage dates and time periods includes: obtaining a first score for different wind speed levels for each time period within a first predetermined time period; and predicting the wind speed level for each time period within a future second predetermined time period based on the first scores for different wind speed levels for each time period within the first predetermined time period. Specifically, a date weight score is determined based on the interval between the usage date corresponding to the wind speed level in each set of historical usage data and the current time, where a larger interval results in a smaller date weight score; a behavior weight score is determined based on the usage duration corresponding to the wind speed level in each set of historical usage data, where a larger usage duration results in a larger behavior weight score; a second score for the wind speed level in each set of historical usage data is calculated based on the date weight score and the behavior weight score; and the second scores of multiple sets of historical usage data with the same time period and wind speed level within the first predetermined time period are accumulated, and the accumulated score is used as the first score for different wind speed levels for each time period within the first predetermined time period.
[0084] For example, the wind speed setting can be set to a first wind speed setting, a second wind speed setting, and a third wind speed setting; the time period can be set to an early time period, a middle time period, and an evening time period; and the first set duration can be set to 8 days. Then, multiple sets of historical usage data, including the wind speed setting, the usage date of the wind speed setting, the usage duration of the wind speed setting, the power-on time corresponding to the wind speed setting, and the corresponding time period, can be shown in Table 4. In Table 4, the date Tx represents the date x days ago from the current time, the usage duration is in seconds, and the wind speed settings one, two, and three represent the first wind speed setting, the second wind speed setting, and the third wind speed setting, respectively.
[0085] Table 4
[0086]
[0087]
[0088] The date weight score is assigned based on the interval between the usage date and the current time, and the behavior weight score is assigned based on the usage duration. After the assignment is completed, the date weight score and behavior weight score of each group of historical usage data are multiplied together, and the product is used as the second score of the wind speed level in each group of historical usage data. The date weight score, behavior weight score and the corresponding second score of the wind speed level for each group of historical usage data in Table 4 are shown in Table 5.
[0089] Table 5
[0090]
[0091] The second scores of multiple sets of historical usage data with the same time period and wind speed level in Table 5 are accumulated, and the accumulated score is used as the first score of different wind speed levels in each time period within the first set time period. The wind speed level with the highest first score in the same time period is selected as the predicted wind speed level. The accumulated first score and predicted wind speed level are shown in Table 6.
[0092] Table 6
[0093]
[0094]
[0095] The settings for wind speed settings, time periods, the first set duration, the historical usage data for each group, the date weighting and behavior weighting for each group of historical usage data, and the method for obtaining the second score described above are all just examples. In actual applications, these settings can be selected according to actual needs.
[0096] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.
[0097] This application also provides a control device for the fan speed setting of a range hood, such as... Figure 5 As shown, the control device for the fan speed setting of the range hood includes:
[0098] The parameter acquisition module 501 is configured to acquire multiple sets of historical usage data of the range hood's fan speed settings within a first set time period before the current time. Each set of historical usage data of the fan speed settings includes at least the fan speed setting, the date of use of the fan speed setting, and the duration of use.
[0099] The prediction module 502 is configured to predict the wind speed level at the current time based on the acquired historical usage data of multiple sets of wind speed levels.
[0100] The control module 503 is configured to control the range hood to operate at the predicted wind speed setting after detecting that the range hood is turned on.
[0101] In some embodiments, the length of a day is divided into multiple time periods; the parameter acquisition module 501 acquires multiple sets of historical usage data of the range hood's fan speed settings within a first set time period before the current time, and each set of historical usage data of the fan speed settings also includes the start-up time corresponding to the fan speed setting and the time period corresponding to the start-up time.
[0102] In some embodiments, the prediction module 502 predicts the wind speed level for each time period within a second set time period based on the historical usage data of multiple sets of wind speed levels acquired on different usage dates and at different time periods.
[0103] In some embodiments, the prediction module 502 obtains the first score of different wind speed levels in each time period within a first set time period. The first score is used to represent the usage of different wind speed levels in each time period within the first set time period. Based on the first score of different wind speed levels in each time period within the first set time period, the prediction module 502 predicts the wind speed levels in each time period within a future second set time period.
[0104] In some embodiments, the prediction module 502 determines the date weight score and behavior weight score of the wind speed level in each group of historical usage data within a first set time period; based on the date weight score and behavior weight score, the prediction module 502 calculates the first score of different wind speed levels in each time period within the first set time period.
[0105] In some embodiments, the prediction module 502 calculates a second score for the wind speed level in each group of historical usage data based on a date weight score and a behavior weight score; it accumulates the second scores of multiple groups of historical usage data with the same time period and wind speed level within a first set time period, and uses the accumulated score as the first score for different wind speed levels in each time period within the first set time period; the prediction module 502 determines the date weight score based on the interval between the usage date corresponding to the wind speed level in each group of historical usage data and the current time, wherein the longer the interval, the smaller the date weight score; and it determines the behavior weight score based on the usage duration corresponding to the wind speed level in each group of historical usage data, wherein the longer the usage duration, the larger the behavior weight score.
[0106] In some embodiments, for time periods without historical usage data, the prediction module 502 uses the predicted wind speed level of the time period with the highest first score among the time periods with historical usage data as the predicted wind speed level for the time periods without historical usage data.
[0107] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0108] See appendix Figure 6 , Figure 6 This is a main structural block diagram of an electronic device used to execute the control method for the fan speed setting of a range hood according to embodiments of this application. Figure 6 As shown, this application also provides an electronic device for executing the method for controlling the fan speed of a range hood according to this application. The electronic device 600 includes a processor 601, a memory 602, and a computer program 603 stored in the memory 602 and executable on the processor 601. When the processor 601 executes the computer program 603, it implements the steps in the various method embodiments described above. Alternatively, when the processor 601 executes the computer program 603, it implements the functions of each module / unit in the device embodiments described above.
[0109] For example, computer program 603 may be divided into one or more modules / units, which are stored in memory 602 and executed by processor 601 to complete this application. The one or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of computer program 603 in electronic device 600.
[0110] Electronic device 600 may be a desktop computer, laptop, handheld computer, cloud server, or other electronic device. Electronic device 600 may include, but is not limited to, processor 601 and memory 602. Those skilled in the art will understand that... Figure 6 This is merely an example of electronic device 600 and does not constitute a limitation on electronic device 600. It may include more or fewer components than shown, or combine certain components, or different components. For example, electronic device may also include input / output devices, network access devices, buses, etc.
[0111] See appendix Figure 7 , Figure 7 This is a schematic diagram of the module structure of a range hood using the range hood fan speed control method according to an embodiment of this application. Figure 7 As shown, this application also provides a range hood, the range hood 700 including a range hood body, a memory 701 and a processor 702. The memory 701 stores machine-executable instructions. When the machine-executable instructions are executed by the processor 702, the range hood can implement the range hood fan speed control method described in any of the above method embodiments.
[0112] In some embodiments, the range hood of this application may also include the range hood body and the electronic device in the foregoing embodiments.
[0113] Processors 601 and 702 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0114] Memory 602 and memory 701 can be internal storage units of electronic device 600 and range hood 700, respectively, for example, hard disks or RAM of electronic device 600 and range hood 700. Memory 602 and memory 701 can also be external storage devices of electronic device 600 and range hood 700, for example, plug-in hard disks, smart media cards (SMC), secure digital (SD) cards, flash cards, etc., respectively equipped on electronic device 600 and range hood 700. Furthermore, memory 602 can include both internal and external storage units of electronic device 600, and memory 701 can also include both internal and external storage units of range hood 700. Memory 602 is used to store computer programs and other programs and data required by electronic device 600, and memory 701 is used to store computer programs and other programs and data required by range hood 700. Memory 602 and memory 701 can also be used to temporarily store data that has been output or will be output.
[0115] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0116] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments claimed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0117] In the embodiments provided in this application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. Multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0118] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0119] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0120] If an integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program may include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0121] The technical solutions of this application have been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of this application is obviously not limited to these specific embodiments. Without departing from the principles of this application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of this application.
Claims
1. A method for controlling the fan speed setting of a range hood, characterized in that, The range hood includes multiple fan speed settings, and the method includes the following steps: Divide the length of a day into multiple time periods; Obtain multiple sets of historical usage data of the range hood's fan speed settings within a first set time period before the current time. Each set of historical usage data of the fan speed settings includes at least the fan speed setting, the date of use of the fan speed setting, and the duration of use, as well as the start-up time corresponding to the fan speed setting and the time period corresponding to the start-up time. Based on the historical usage data of multiple wind speed settings for different usage dates and time periods, the wind speed settings for each time period within the second set time period in the future are predicted. After detecting that the range hood is turned on, control the range hood to operate according to the predicted wind speed setting; The prediction of wind speed settings for various time periods within the second predetermined time frame, based on historical usage data of multiple sets of wind speed settings from different usage dates and time periods, includes: Determine the date weight score and behavior weight score of the wind speed setting in each group of historical usage data within the first set time period; based on the date weight score and the behavior weight score, calculate the first score for different wind speed settings in each time period within the first set time period, whereby the first score represents the usage of different wind speed settings in each time period within the first set time period; obtain the behavior weight score g(t) according to the usage duration t corresponding to the wind speed setting in each group of historical usage data and the following formula: Based on the first score of different wind speed levels in each time period within the first set time period, the wind speed levels in each time period within the future second set time period are predicted. The calculation of the first score for different wind speed levels in each time period within the first set duration, based on the date weight score and the behavior weight score, includes: Based on the date weight score and the behavior weight score, a second score for the wind speed level in each group of historical usage data is calculated; the second scores of multiple groups of historical usage data with the same time period and wind speed level within the first set time period are accumulated, and the accumulated score is used as the first score for different wind speed levels in each time period within the first set time period.
2. The method for controlling the fan speed setting of a range hood according to claim 1, characterized in that, The determination of the date weight score and behavior weight score of the wind speed setting in each group of historical usage data within the first set time period includes: The date weight score is determined based on the interval between the usage date corresponding to the wind speed setting in each set of historical usage data and the current time, wherein the longer the interval, the smaller the date weight score; the behavior weight score is determined based on the usage duration corresponding to the wind speed setting in each set of historical usage data, wherein the longer the usage duration, the larger the behavior weight score.
3. The method for controlling the fan speed setting of a range hood according to claim 1, characterized in that, The prediction of wind speed levels for different time periods within the future second set time period based on the first score for each time period within the first set time period includes: For time periods without historical usage data, the predicted wind speed level of the time period with the highest first rating among the time periods with historical usage data is used as the predicted wind speed level for the time periods without historical usage data.
4. A control device for the fan speed setting of a range hood, characterized in that, The device includes: The parameter acquisition module is configured to divide the length of a day into multiple time periods; acquire multiple sets of historical usage data of the range hood's fan speed settings within a first set time period before the current time, each set of historical usage data of the fan speed settings includes at least the fan speed setting, the date of use of the fan speed setting and the duration of use, as well as the start-up time corresponding to the fan speed setting and the time period corresponding to the start-up time; The prediction module is configured to predict the wind speed level for each time period within a second set time period in the future, based on multiple sets of historical usage data for different usage dates and time periods. The control module is configured to control the range hood to operate at the predicted wind speed setting after detecting that the range hood is turned on; The prediction module is further configured to: determine the date weight score and behavior weight score of the wind speed setting in each group of historical usage data within the first set time period; calculate the first score of different wind speed settings in each time period within the first set time period based on the date weight score and the behavior weight score, wherein the first score is used to represent the usage of different wind speed settings in each time period within the first set time period; and obtain the behavior weight score g(t) according to the usage duration t corresponding to the wind speed setting in each group of historical usage data and the following formula: Based on the first score of different wind speed levels in each time period within the first set time period, the wind speed levels in each time period within the future second set time period are predicted. The calculation of the first score for different wind speed levels in each time period within the first set duration, based on the date weight score and the behavior weight score, includes: Based on the date weight score and the behavior weight score, a second score for the wind speed level in each group of historical usage data is calculated; the second scores of multiple groups of historical usage data with the same time period and wind speed level within the first set time period are accumulated, and the accumulated score is used as the first score for different wind speed levels in each time period within the first set time period.
5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method for controlling the fan speed of the range hood as described in any one of claims 1 to 3.
6. A readable storage medium storing a plurality of program codes, characterized in that, The program code is adapted to be loaded and run by a processor to perform the control method for the fan speed setting of the range hood as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Range hood, method and device of self-adaptive control thereof, and storage medium
CN109297058A
Method and device for controlling operation of household electrical appliance, and household electrical appliance
CN113515053A