A control method and device of a range hood, an electronic device, and a storage medium

By acquiring data on stove gas flow and cooking sound, the system identifies the cooking type and automatically adjusts the range hood fan speed, solving the problem of inaccurate range hood control and achieving a match between suction power and cooking type, as well as improved fume purification capabilities.

CN115839513BActive Publication Date: 2025-12-19GUANGDONG LANSHUIHUA INTELLIGENT ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211608945.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-14
Publication Date
2025-12-19
Estimated Expiration
2042-12-14

AI Technical Summary

Technical Problem

The current control method of range hoods relies on human judgment of the amount of oil fumes, which leads to inaccurate control of the range hood, failure to remove oil fumes in time, or noise caused by excessive rotation speed.

Method used

By acquiring gas flow data and cooking sound data from the stove, a gas flow curve and a cooking sound spectrum curve are generated. Similarity matching is used to identify the cooking type, and the range hood fan speed is automatically adjusted according to the cooking type.

Benefits of technology

It achieves precise matching between the range hood's suction power and the type of cooking, promptly removes fumes, reduces noise interference, and delays operation after the stove is turned off to process the fumes and improves the fume purification capability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115839513B_ABST
    Figure CN115839513B_ABST
Patent Text Reader

Abstract

The application discloses a control method and device of an extractor hood, electronic equipment and a storage medium. The application can identify the current cooking type of a stove according to the gas flow data of the stove in the previous use time period and the cooking sound data of a cooking utensil in the previous use time period during the cooking process, so as to adjust the fan rotating speed of the extractor hood in the next use time period based on the identified cooking type until the stove is turned off. Thus, the suction force of the extractor hood can be matched with the cooking type of food, so that the suction force of the extractor hood is accurately controlled, the oil in the kitchen can be discharged in time, and unnecessary noise caused by the high fan rotating speed of the extractor hood is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of smart home, and particularly relates to a control method and device of an extractor hood, an electronic device and a storage medium. BACKGROUND

[0002] At present, the extractor hood has become one of the essential household appliances in the life of users. The extractor hood is installed above the kitchen stove and can quickly extract the waste generated by the combustion of the stove and the oil fume generated in the cooking process and discharge it outdoors, thereby reducing indoor pollution and purifying indoor air. The existing extractor hood mainly relies on artificial judgment of the size of the oil fume and then manually adjusts the fan gear. The degree of intelligence is low, which leads to the fact that the control of the extractor hood does not match the concentration of the oil fume in the kitchen during the use of the extractor hood, thereby resulting in inaccurate control of the extractor hood. Sometimes, the oil fume cannot be discharged in time, and sometimes, the user cannot tolerate the problem of large noise caused by the large speed of the extractor hood. Therefore, how to automatically adjust the suction power of the extractor hood according to the cooking method of the food on the stove has become a problem to be solved. SUMMARY

[0003] The purpose of the present application is to provide a control method and device of an extractor hood, an electronic device and a storage medium, so as to solve the problem that the fan gear of the extractor hood is manually adjusted by artificial judgment of the size of the oil fume, thereby causing inaccurate control of the extractor hood.

[0004] In order to achieve the above-mentioned purpose, the present application adopts the following technical scheme:

[0005] In a first aspect, a control method of an extractor hood is provided, comprising:

[0006] obtaining gas flow data of a stove in an i-th use time period and cooking sound data of a cooking appliance on the stove in the i-th use time period, wherein i starts from 1 and is a positive integer, and the starting moment of the first use time period is the ignition moment of the stove;

[0007] generating a use gas flow curve of the stove in the i-th use time period according to the gas flow data, and generating a cooking sound spectrum curve of the cooking appliance in the i-th use time period according to the cooking sound data;

[0008] obtaining a cooking database, wherein the cooking database comprises gas flow standard curves and cooking sound spectrum standard curves corresponding to various cooking time periods for a plurality of cooking types;

[0009] based on the i th use time period, match a cooking time period containing the i th use time period in the cooking database, and obtain a gas flow standard curve containing the i th use time period, and cut out a curve corresponding to the i th use time period from each gas flow standard curve containing the i th use time period as a gas flow comparison curve; and

[0010] In the cooking database, match a cooking time period containing the i th use time period, and obtain a cooking sound spectrum standard curve containing the i th use time period, and cut out a curve corresponding to the i th use time period from each cooking sound spectrum standard curve containing the i th use time period as a cooking sound spectrum comparison curve;

[0011] Calculate the similarity between the use gas flow curve and each gas flow comparison curve, and take the gas flow comparison curve with the highest similarity as the first matching curve, and calculate the similarity between the cooking sound spectrum curve and each cooking sound spectrum comparison curve, and take the cooking sound spectrum comparison curve with the highest similarity as the second matching curve;

[0012] Based on the first matching curve and the second matching curve, the cooking type of the stove in the i th use time period is obtained;

[0013] According to the target cooking type, match the corresponding exhaust fan speed of the exhaust fan to the target cooking type as a standard speed, wherein the target cooking type is the cooking type of the stove in the i th use time period;

[0014] According to the standard speed, adjust the fan speed of the exhaust fan in the target time period, wherein the starting time of the target time period is the end time of the i th use time period, the end time of the target time period is the end time of the i+1 th use time period, and the starting time of the i+1 th use time period is different from the end time of the i th use time period by a preset time length;

[0015] Increase i by 1 until the gas flow data in the i th use time period is 0, stop adjusting the fan speed of the exhaust fan.

[0016] Based on the above disclosure, the present application is constructed with a plurality of cooking type corresponding gas flow standard curve and cooking sound spectrum standard curve in each cooking time period (such as stir-frying type, steaming type, frying type and other cooking types, 0-3 minutes, 3-5 minutes, 5-8 minutes gas flow standard curve and cooking sound spectrum standard curve); Therefore, when in use, first collect the gas flow data of the stove in a use time period, and the cooking sound data of the cooking utensils on the stove in a use time period, then based on the aforementioned collected data, generate the use gas flow curve of the stove in the use time period and the cooking sound spectrum curve of the cooking utensils in the use time period; Then, in the cooking database, match the two curves, that is, match the gas flow standard curve and the cooking sound spectrum standard curve containing the use time period (such as the aforementioned use time period is one minute after ignition, then select the 0-3 minute curve segment in the aforementioned each cooking time period as the matching result); At the same time, for the identification of cooking type based on the curve, the present application needs to intercept the curve segment containing only the use time period (such as the curve segment of 1 minute after ignition) in the matched standard curve as the comparison curve, so as to calculate the similarity between the two generated curves and the intercepted comparison curve, the process is:

[0017] Calculate the similarity of the use gas flow curve and each gas flow comparison curve, and calculate the similarity between the cooking sound spectrum curve and each cooking sound spectrum comparison curve, so as to take the gas flow comparison curve and the cooking sound spectrum comparison curve with the highest similarity as the matching curve; Then, based on the cooking type corresponding to the two matching curves with the highest similarity, the cooking type of the stove in the use time period can be obtained, so as to obtain the exhaust fan speed corresponding to the matched cooking type based on the matched exhaust fan speed, so as to adjust the actual speed of the exhaust hood based on the matched fan speed; Then, obtain the gas flow data and cooking sound data of the next use time period, and repeat the above process to identify the cooking type of the next use time period, so as to adjust the fan speed of the exhaust hood based on the identified cooking type after the next use time period, and repeatedly repeat the above process until the stove is turned off (i.e. the gas flow data is 0).

[0018] Through the above design, the cooking type of the stove at present can be recognized according to the gas flow data of the stove in the previous use time period and the cooking sound data of the cooking utensil in the previous use time period in the cooking process, so that the fan rotating speed of the range hood in the next use time period is adjusted based on the recognized cooking type until the stove is turned off, thereby ensuring that the suction force of the range hood matches the cooking type of the food on the stove, and the suction force of the range hood is accurately controlled to ensure that the oil in the kitchen can be discharged in time while avoiding unnecessary noise caused by the high fan rotating speed of the range hood as much as possible.

[0019] In one possible design, the similarity between the use gas flow curve and each gas flow comparison curve is calculated, including:

[0020] For any gas flow comparison curve, the any gas flow comparison curve and the use gas flow curve are mapped into a same rectangular coordinate system, wherein the horizontal axis of the rectangular coordinate system represents time, and the vertical axis represents gas flow;

[0021] n points are selected on the curve part of the use gas flow curve excluding the start point and the end point, and a first cutting point set is formed by the selected n points, wherein n is a positive integer;

[0022] A first line segment is generated based on the start point of the any gas flow comparison curve and the start point of the use gas flow curve, and a second line segment is generated based on the end point of the any gas flow comparison curve and the end point of the use gas flow curve;

[0023] An included angle between the extension line of the first line segment and the extension line of the second line segment is determined, and the included angle is divided into p cutting angles different from each other, wherein each cutting angle corresponds to a first cutting point in the first cutting point set, and p is equal to n;

[0024] Based on the p cutting angles, the any gas flow comparison curve is divided into p curve segments, and h points are selected in each curve segment, so as to form a second cutting point set of each curve segment by the h points in each curve segment, wherein the second cutting point set of any curve segment matches the first cutting point corresponding to the cutting angle of the any curve segment, and h is a positive integer;

[0025] The distance between each first cutting point in the first cutting point set and a target point is calculated as a first intersection distance of each first cutting point, wherein the target point is the intersection point between the extension line of the first line segment and the extension line of the second line segment;

[0026] For any second cut point set, a distance between each second cut point in the second cut point set and the target point is calculated, and a mean of each distance is taken as a second intersection point distance of the second cut point set, so as to obtain the second intersection point distance of each second cut point set after calculating the distance between each second cut point in all second cut point sets and the target point;

[0027] Based on the first intersection point distance of each first cut point and the second intersection point distance of each second cut point set, a similarity between any gas flow comparison curve and the use gas flow curve is calculated.

[0028] In a possible design, based on the first intersection point distance of each first cut point and the second intersection point distance of each second cut point set, a similarity between any gas flow comparison curve and the use gas flow curve is calculated, including:

[0029] For the tth second cut point set, a ratio between the second intersection point distance of the tth second cut point set and a target distance is calculated as a first ratio, where the target distance is the first intersection point distance of the first cut point corresponding to the tth second cut point set;

[0030] When t cycles from 1 to p, p first ratios are obtained;

[0031] A distance between the target point and a starting point of the any gas flow comparison curve is calculated as a first distance, and a distance between the target point and a starting point of the use gas flow curve is calculated as a second distance;

[0032] A distance between the target point and an ending point of the any gas flow comparison curve is calculated as a third distance, and a distance between the target point and an ending point of the use gas flow curve is calculated as a fourth distance;

[0033] A ratio between the first distance and the second distance is calculated to obtain a second ratio, and a ratio between the third distance and the fourth distance is calculated to obtain a third ratio;

[0034] The second ratio, the third ratio and the p first ratios are used to form a curve similarity data sequence;

[0035] A mean square error and a mean value of the curve similarity data sequence are calculated, so as to calculate a similarity between any gas flow comparison curve and the use gas flow curve based on the mean square error and the mean value.

[0036] In a possible design, based on the mean square error and the mean value, a similarity between any gas flow comparison curve and the use gas flow curve is calculated, including:

[0037] obtaining a normal distribution probability parameter, and calculating a curve similarity confidence interval based on the normal distribution probability parameter, the mean square deviation and the mean value;

[0038] counting a number of data in the curve similarity data sequence falling into the curve similarity confidence interval;

[0039] taking a ratio between the number of data and a total number of data in the curve similarity data sequence as the similarity between the any gas flow versus curve and the usage gas flow curve.

[0040] In one possible design, based on the first matching curve and the second matching curve, the cooking type of the stove in the i th usage time period is obtained, including:

[0041] determining whether the cooking type corresponding to the first matching curve is same as the cooking type corresponding to the second matching curve;

[0042] if yes, taking the cooking type corresponding to the first matching curve or the cooking type corresponding to the second matching curve as the cooking type of the stove in the i th usage time period, otherwise, selecting the cooking type corresponding to the matching curve with the highest similarity from the first matching curve and the second matching curve as the cooking type of the stove in the i th usage time period.

[0043] In one possible design, after adjusting the fan rotating speed of the range hood, the method further includes:

[0044] obtaining an oil fume image of the stove, and performing image recognition on the oil fume image to obtain an oil fume region in the oil fume image;

[0045] performing image processing on the oil fume region to obtain a dark channel image of the oil fume region;

[0046] based on the dark channel image, identifying pixel points in the oil fume region for representing oil fume particles;

[0047] obtaining a maximum rotating speed of a fan of the range hood, and calculating a fan working rotating speed value corresponding to the oil fume image based on the maximum rotating speed of the fan and pixel values of the pixel points in the oil fume region for representing oil fume particles;

[0048] determining whether the fan working rotating speed value is greater than the standard rotating speed, and whether a difference between the fan working rotating speed value and the standard rotating speed is less than a preset threshold;

[0049] if yes, adjusting the fan rotating speed of the range hood to the fan working rotating speed value.

[0050] Based on the above disclosure, after adjusting the rotation speed of the range hood according to the identified cooking type, the oil fume concentration can be identified according to the oil fume image of the range during use, and the fan rotation speed corresponding to the identified oil fume concentration is obtained as the working rotation speed value of the fan, and finally, the obtained working rotation speed value of the fan is compared with the adjusted fan rotation speed of the range hood, so as to adjust the fan rotation speed of the range hood again according to the comparison result; thereby, the accuracy of the rotation speed control of the range hood is further improved.

[0051] In one possible design, after stopping adjusting the fan rotation speed of the range hood, the method further includes:

[0052] According to the cooking type of the target use time period, the oil fume tail gas suction time corresponding to the cooking type of the target use time period is matched, wherein the target use time period is the last use time period of the use time period corresponding to the gas flow data of 0;

[0053] The working time of the range hood is adjusted to the oil fume tail gas suction time, so that the range hood continues to work when the gas flow of the range stops.

[0054] Based on the above disclosure, the cooking type of the last use time period before the range is closed can be matched to obtain the delay working time (i.e. the oil fume tail gas suction time) of the range hood, so that the oil fume can be discharged after the range is closed; thereby, the cooking oil fume tail gas is processed, and the oil fume purification capacity is improved.

[0055] In a second aspect, a control device of a range hood is provided, including:

[0056] The data acquisition unit is configured to acquire gas flow data of the range in an i-th use time period and cooking sound data of a cooking appliance on the range in the i-th use time period, wherein i is a positive integer starting from 1, and the starting moment of the first use time period is the ignition moment of the range;

[0057] The cooking curve generation unit is configured to generate a use gas flow curve of the range in the i-th use time period according to the gas flow data, and generate a cooking sound spectrum curve of the cooking appliance in the i-th use time period according to the cooking sound data;

[0058] The data acquisition unit is configured to acquire a cooking database, wherein the cooking database includes gas flow standard curves and cooking sound spectrum standard curves corresponding to respective cooking time periods of a plurality of cooking types;

[0059] The matching unit is configured to match, based on the i-th use time period, a gas flow standard curve of a cooking time period containing the i-th use time period in the cooking database, and intercept a curve corresponding to the i-th use time period from each gas flow standard curve containing the i-th use time period as a gas flow comparison curve;

[0060] The matching unit is further configured to match, in the cooking database, a cooking sound spectrum standard curve of a cooking time period containing the i-th use time period, and intercept a curve corresponding to the i-th use time period from each cooking sound spectrum standard curve containing the i-th use time period as a cooking sound spectrum comparison curve;

[0061] The cooking type identifying unit is configured to calculate similarities between the use gas flow curve and each gas flow comparison curve, and take a gas flow comparison curve with the highest similarity as a first matching curve, and calculate similarities between the cooking sound spectrum curve and each cooking sound spectrum comparison curve, and take a cooking sound spectrum comparison curve with the highest similarity as a second matching curve;

[0062] The cooking type identifying unit is configured to obtain a cooking type of the stove in the i-th use time period based on the first matching curve and the second matching curve.

[0063] The range hood adjusting unit is configured to match, according to a target cooking type, a range hood fan speed corresponding to the target cooking type as a standard speed, where the target cooking type is the cooking type of the stove in the i-th use time period.

[0064] The range hood adjusting unit is configured to adjust, according to the standard speed, a fan speed of the range hood in a target time period, where a start time of the target time period is an end time of the i-th use time period, an end time of the target time period is an end time of an i+1-th use time period, and a start time of the i+1-th use time period is different from the end time of the i-th use time period by a preset time length.

[0065] The range hood adjusting unit is configured to increase i by 1 until the gas flow data in the i-th use time period is 0, and stop adjusting the fan speed of the range hood.

[0066] In a third aspect, another control device of a range hood is provided. The device is an electronic device, which includes a memory, a processor and a transceiver connected in sequence and in communication. The memory is configured to store a computer program. The transceiver is configured to receive and send messages. The processor is configured to read the computer program and execute the control method of the range hood according to the first aspect or any possible design of the first aspect.

[0067] In a fourth aspect, a storage medium is provided, and the storage medium has stored thereon instructions which, when executed on a computer, perform the control method of the range hood as claimed in any one of the possible designs of the first aspect.

[0068] In a fifth aspect, a computer program product is provided, and the computer program product has instructions which, when executed on a computer, cause the computer to perform the control method of the range hood as claimed in any one of the possible designs of the first aspect.

[0069] Advantages:

[0070] (1) The present application can continuously identify the current cooking type of the stove during the cooking process according to the gas flow data of the stove in the previous use time period and the cooking sound data of the cooking utensil in the previous use time period, so as to adjust the fan speed of the range hood in the next use time period based on the identified cooking type until the stove is turned off. Thus, the suction power of the range hood can be matched with the cooking type of the food, and the suction power of the range hood can be accurately controlled to ensure that the oil fume in the kitchen can be discharged in time while avoiding unnecessary noise caused by the high fan speed of the range hood.

[0071] (2) The present application can match the delay working time of the range hood according to the cooking type of the last use time period before the stove is turned off, so that the discharge of oil fume can be continued after the stove is turned off. Thus, the treatment of cooking oil fume tail gas is realized, and the oil fume purification capacity is improved. BRIEF DESCRIPTION OF DRAWINGS

[0072] Figure 1 A step flowchart of the control method of the range hood provided by the embodiment of the present application is shown in the figure.

[0073] Figure 2 A structural diagram of the control device of the range hood provided by the embodiment of the present application is shown in the figure.

[0074] Figure 3 A structural diagram of the electronic device provided by the embodiment of the present application is shown in the figure. DETAILED DESCRIPTION

[0075] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the present application will be briefly introduced below in combination with the drawings and the descriptions of the embodiments or the prior art. Obviously, the following description of the drawings structure is only some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor. It should be noted that the description of these embodiments is used to help understand the present application, but does not constitute a limitation on the present application.

[0076] It should be understood that, although the terms first, second, etc. can be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments of the present application.

[0077] It should be understood that, for the term "and / or" possibly occurring herein, it merely describes an association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent three cases of existence of A alone, existence of B alone, and existence of A and B simultaneously; for the term " / " and possibly occurring herein, it is to describe another association relationship of associated objects, indicating that there can be two relationships, for example, A / and B, which can represent two cases of existence of A alone and existence of A and B; in addition, for the character " / " possibly occurring herein, it generally represents an "or" relationship between the associated objects before and after it.

[0078] Embodiment:

[0079] Referring to Figure 1 As shown in the drawings, the control method of the range hood provided by the embodiment can identify the current cooking type of the stove during the cooking process according to the gas flow data of the stove in the previous use time period and the cooking sound data of the cooking utensil in the previous use time period, so as to adjust the fan speed of the range hood in the next use time period based on the identified cooking type until the stove is detected to be turned off; thus, the method can realize the matching of the suction power of the range hood and the cooking type of food, thereby achieving the function of accurately controlling the suction power of the range hood; optionally, the method provided by the embodiment can be but is not limited to running on the central processor side of the range hood; it can be understood that the foregoing execution subject does not constitute a limitation on the embodiments of the present application, and correspondingly, the running steps of the method can be but are not limited to the steps S1-S10 shown below.

[0080] S1. Obtain the gas flow data of the stove in the i-th use time period and the cooking sound data of the cooking utensil on the stove in the i-th use time period, wherein i starts from 1 and is a positive integer, and the starting moment of the first use time period is the ignition moment of the stove; in a specific application, a flow sensor can be used to detect the gas flow of the stove to obtain the gas flow data; at the same time, a microphone can be used to collect the cooking sound data of the cooking utensil; and the foregoing flow sensor and microphone are connected to the central processor of the range hood to realize the uploading of the collected data.

[0081] Optionally, one use time period can be but is not limited to 1 minute or 2 minutes, which is mainly divided according to different cooking time periods of each cooking type in the cooking database, for example, if the cooking type is stir-frying type, it is mainly divided into 0-3 minutes, 3-5 minutes, 5-8 minutes, etc., so in this embodiment, one use time period can be 1 / 3 or 1 / 2 of the cooking time period of any cooking type.

[0082] Therefore, the control principle of the range hood in this embodiment is to use the gas flow data and the cooking sound data of the current use time period to identify the cooking type in the current use time period, and then adjust the fan speed of the range hood in the next use time period based on the identified cooking type, so as to realize the matching of the suction power of the range hood and the cooking type of the food; wherein the process of identifying the cooking type based on the gas flow data and the cooking sound data can refer to the following steps S2-S7.

[0083] S2. According to the gas flow data, a use gas flow curve of the stove in the ith use time period is generated, and according to the cooking sound data, a cooking sound spectrum curve of the cooking appliance in the ith use time period is generated; in specific implementation, the change curve of the gas flow with time can be drawn according to the gas flow data collected over time, so as to serve as the use gas flow curve in the ith use time period; and for the cooking sound data, before generating the spectrum curve, GCC-PHAT (a sound source positioning algorithm based on microphone array) can be used to position the sound source, so as to accurately extract the sound data corresponding to the cooking appliance, to ensure the accuracy of the subsequent curve generation; in this embodiment, the cooking sound spectrum curve can be drawn according to the frequency of the cooking sound data corresponding to different time in the ith use time period.

[0084] After the use gas flow curve and the cooking sound spectrum curve in the ith use time period are drawn, the gas flow standard curve and the cooking sound spectrum standard curve of each cooking type corresponding to the above two curves can be matched in the cooking database, so as to obtain the cooking type of the food on the stove in the ith use time period according to the similarity of the curves, wherein the similarity calculation process is shown in the following steps S3-S6.

[0085] S3. Obtain a cooking database, wherein the cooking database comprises gas flow standard curves corresponding to various cooking time periods of several cooking types and cooking sound spectrum standard curves; in specific applications, the cooking database can be pre-stored in a memory in communication connection with the central processor, and the cooking types can include but are not limited to stir-frying type, frying type, pasting type, steaming and boiling type, stewing type and / or stewing type, etc., and the cooking time periods corresponding to various cooking types can include but are not limited to 0-3 minutes, 3-5 minutes, 5-8 minutes, etc., from the beginning of cooking; of course, the cooking time periods corresponding to different cooking types are different, which will not be described one by one here.

[0086] After obtaining the gas flow standard curves and the cooking sound spectrum standard curves of various cooking time periods of various cooking types in the cooking database, curve matching can be performed, as shown in the following steps S4 and S5.

[0087] S4. Based on the ith use time period, match the gas flow standard curve of the cooking time period containing the ith use time period in the cooking database, and intercept the curve corresponding to the ith use time period from each gas flow standard curve containing the ith use time period as the gas flow comparison curve.

[0088] S5. Match the cooking sound spectrum standard curve of the cooking time period containing the ith use time period in the cooking database, and intercept the curve corresponding to the ith use time period from each cooking sound spectrum standard curve containing the ith use time period as the cooking sound spectrum comparison curve.

[0089] In a specific application, that is, in the cooking database, the gas flow standard curve and the cooking sound spectrum standard curve containing the i th use time period are first screened out, and then the curve segment corresponding to the i th use time period is intercepted from the screened standard curve to serve as the comparison curve; for example, the first use time period is assumed to be 2 minutes after the stove is ignited, then the gas flow standard curve and the cooking sound spectrum standard curve containing 0-2 minutes for each cooking type are first screened out (for example, the explosive stir-frying type has a gas flow standard curve and a cooking sound spectrum standard curve of 0-3 minutes, so the standard curve of 0-3 minutes is screened out); then, the curve segment corresponding to 0-2 minutes can be intercepted from the screened standard curve to serve as the comparison curve, and on the basis of the foregoing example, the curve segment of 0-2 minutes is intercepted from the standard curve of 0-3 minutes of the explosive stir-frying type to serve as the comparison curve; for another example, the second use time period is assumed to be 3-4 minutes, then the standard curve containing 3-4 minutes for each cooking type is screened out (for example, the explosive stir-frying type has a gas flow standard curve and a cooking sound spectrum standard curve of 3-5 minutes, so the standard curve of 3-5 minutes is screened out), and then the curve segment of 3-4 minutes is intercepted from the screened standard curve to serve as the comparison curve (that is, the curve segment of 3-4 minutes is intercepted from the standard curve of 3-5 minutes); of course, the acquisition method of the comparison curve of the remaining different use time periods is the same as the foregoing example process, and will not be described here.

[0090] After obtaining the gas flow comparison curve corresponding to the gas flow curve and the cooking sound spectrum comparison curve corresponding to the cooking sound spectrum curve, the curve similarity can be calculated, as shown in the following step S6.

[0091] S6. Calculate the similarity between the use gas flow curve and each gas flow comparison curve, and take the gas flow comparison curve with the highest similarity as the first matching curve, and calculate the similarity between the cooking sound spectrum curve and each cooking sound spectrum comparison curve to take the cooking sound spectrum comparison curve with the highest similarity as the second matching curve; in this embodiment, the principle of similarity calculation of the curve is: the two curves for similarity comparison are divided into a plurality of points, so that the point set is used to represent the curve, then based on the intersection of the extension lines of the two curves for similarity comparison, the distance between each point in the aforementioned point set and the intersection point is determined, then based on the distance of each point on the two curves to the intersection point, a distance set is generated; finally, the similarity of the two curves can be calculated by using statistical method; since the similarity calculation process of the use gas flow curve and the gas flow comparison curve is the same as the similarity calculation process of the cooking sound spectrum curve and the cooking sound comparison curve, the similarity calculation of the use gas flow curve and any gas flow comparison curve is taken as an example for specific description, and the specific calculation process is shown in the following steps S61-S68.

[0092] S61. For any gas flow comparison curve, map the any gas flow comparison curve and the use gas flow curve into the same rectangular coordinate system, wherein the horizontal axis of the rectangular coordinate system represents time and the vertical axis represents gas flow; in specific application, it is equivalent to redraw the curve in a rectangular coordinate system according to the coordinates of each point on the any gas flow comparison curve and the use gas flow curve, and then map the any gas flow comparison curve and the use gas flow curve into the same rectangular coordinate system.

[0093] After placing the any gas flow comparison curve and the use gas flow curve in the same rectangular coordinate system, the curve can be divided, that is, a plurality of points are selected on the curve to represent the curve with a point set, as shown in the following steps S62-S65.

[0094] S62. Select n points on the curve part of the use gas flow curve excluding the starting point and the ending point, and use the selected n points to form a first cutting point set, wherein n is a positive integer; in specific application, the n points can be selected on the curve part of the use gas flow curve excluding the starting point and the ending point in the direction from the starting point to the ending point, but the application is not limited to this; of course, the more points selected, the higher the accuracy, and in this embodiment, the value of n can be but not limited to 50.

[0095] After completing the point selection of the use gas flow curve, the point selection of the any gas flow comparison curve can be performed, and the point selection process is shown in the following steps S63-S65.

[0096] S63. Based on the starting point of the any gas flow rate contrast curve and the starting point of the use gas flow rate curve, a first line segment is generated, and based on the ending point of the any gas flow rate contrast curve and the ending point of the use gas flow rate curve, a second line segment is generated; in a specific application, it is equivalent to connecting the starting point of the any gas flow rate contrast curve and the starting point of the use gas flow rate curve as the first line segment, and connecting the ending point of the any gas flow rate contrast curve and the ending point of the use gas flow rate curve as the second line segment; after obtaining the line segment between the starting points of the aforementioned curves and the line segment between the ending points, the angle between the extensions of the two line segments can be determined based on the extensions of the two line segments, so as to divide the any gas flow rate contrast curve based on the angle between the extensions of the two line segments, as shown in the following step S64.

[0097] S64. The angle between the extensions of the first line segment and the second line segment is determined, and the angle is divided into p different cutting angles, wherein each cutting angle corresponds to a first cutting point in the first cutting point set, and p is equal to n; in a specific application, assuming that the angle between the extensions of the first line segment and the second line segment is G point, the first line segment is A1A2, and the second line segment is B1B2, wherein A1 is the starting point of the use gas flow rate curve, A2 is the starting point of the any gas flow rate contrast curve, B1 is the ending point of the use gas flow rate curve, and B2 is the ending point of the any gas flow rate contrast curve; then, the angle between the first extension and the second extension is ∠A2GB2, so that the angle ∠A2GB2 is divided into p different cutting angles, and the cutting angle division order is optional, which is in the clockwise direction, that is, from the A2 point to the B2 point; therefore, each cutting angle can correspond to a first cutting point, and the first cutting angle in the clockwise direction corresponds to the first cutting point in the first cutting point set, and so on, and the last cutting angle corresponds to the last cutting point in the first cutting point set.

[0098] After completing the division of the angle between the extensions of the two line segments, the any gas flow rate contrast curve can be divided into p curve segments based on the p cutting angles, so as to extract points on each curve segment subsequently, as shown in the following step S65.

[0099] S65. Based on the p cutting angles, the any gas flow rate comparison curve is divided into p curve segments, and h points are selected in each curve segment, so as to use the h points in each curve segment to form a second cutting point set of each curve segment, wherein the second cutting point set of any curve segment matches the first cutting point corresponding to the cutting angle of the any curve segment, and h is a positive integer; in a specific application, the division process is as follows: if the first cutting angle is 10°, then the line segment GA1 is taken as the starting line segment, and the G point is rotated clockwise until the included angle between the rotated line segment (assuming GU) and the line segment GA1 before the first cutting angle is 10°, at which time the any gas flow rate comparison curve is located between the rotated line segment and the line segment GA1, and then the curve segment corresponding to the first cutting angle is obtained; similarly, the line segment GU is taken as the starting line segment, and then the G point is continuously rotated clockwise until the rotated angle is equal to the angle of the second cutting angle, at which time the line segment GE is obtained, and then the curve segment corresponding to the second cutting angle is obtained, wherein the any gas flow rate comparison curve is located between the line segment GU and the line segment GE; according to the foregoing principle, the division of the any gas flow rate comparison curve can be completed according to the angle of each cutting angle, and p curve segments are obtained; after obtaining the p curve segments, h points can be selected on each curve segment as the second cutting points of each curve segment, so as to form the second cutting point set of each curve segment.

[0100] After obtaining the second cutting point set corresponding to each curve segment, the distance calculation of each first cutting point in the first cutting point set and the G point, and the distance calculation of each second cutting point in the second cutting point set and the G point can be performed, so as to obtain the similarity between the any gas flow rate comparison curve and the use gas flow rate comparison curve based on the calculated distances, wherein the distance calculation process is shown in the following step S66.

[0101] S66. The distance between each first cutting point in the first cutting point set and the target point is calculated as the first intersection distance of each first cutting point, wherein the target point is the intersection point between the extension line of the first line segment and the extension line of the second line segment; in a specific application, since the use gas flow rate curve is in the rectangular coordinate system, the coordinates of each first cutting point and the coordinates of the target point are known, and thus the distance between each first cutting point and the target point can be calculated by using the coordinate distance formula; similarly, the distance calculation of each second cutting point in the second cutting point set and the target point also adopts the same principle, as shown in the following step S67.

[0102] S67. For any second cut point set, the distance between each second cut point in any second cut point set and the target point is calculated, and the mean of each distance is taken as the second intersection distance of any second cut point set, so as to obtain the second intersection distance of each second cut point set after the distance between each second cut point in all second cut point sets and the target point is calculated; in a specific application, there are h distances in each second cut point set, therefore, the mean of the h distances in each second cut point set is taken as the second intersection distance of each second cut point set.

[0103] After the first intersection distance of the first cut point and the second intersection distance of the second cut point set are calculated, the similarity between any gas flow contrast curve and the use gas flow curve can be calculated based on the first intersection distance and the second intersection distance, and the calculation process is shown in the following step S68.

[0104] S68. The similarity between any gas flow contrast curve and the use gas flow curve is calculated based on the first intersection distance of each first cut point and the second intersection distance of each second cut point set; in a specific application, the ratio of the second intersection distance of the second cut point set to the first intersection distance of the first cut point corresponding to the second cut point set is calculated first; then, a data sequence is composed of the ratio of the distance, and finally, the similarity is calculated through the mean and mean square deviation of the data sequence, and the specific process is shown in the following steps S68a-S68g.

[0105] S68a. For the tthsecond cut point set, the ratio between the second intersection distance of the tthsecond cut point set and the target distance is calculated as the first ratio, wherein the target distance is the first intersection distance of the first cut point corresponding to the tthsecond cut point set.

[0106] S68b. When t cycles from 1 to p, p first ratios are obtained.

[0107] The following describes the foregoing steps S68a and S68b with an example:

[0108] Since the first cutting point selection is from the start point to the end point of the gas flow curve, and the division direction of the cutting angle is clockwise, the p curve segments on any gas flow comparison curve are also from the start point to the end point. On this basis, it is assumed that the first cutting point set is {A11, A12, A13, A14, A15}; the p second cutting point sets are: p1={B11, B12, B13, B14, B15, B16}, p2={C11, C12, C13, C14, C15, B16}, p3={D11, D12, D13, D14, D15, D16}, p4={E11, E12, E13, E14, E15, E16}, p5={F11, F12, F13, F14, F15, F16}, therefore, the first cutting point A11 corresponds to the second cutting point set p1, the first cutting point A12 corresponds to the second cutting point set p2, the first cutting point A13 corresponds to the second cutting point set p3, the first cutting point A14 corresponds to the second cutting point set p4, and the first cutting point A15 corresponds to the second cutting point set p5. Of course, when calculating the first intersection distance, it is the distance between A11 and G, the distance between A12 and G,..., and the distance between A15 and G. Similarly, for the second cutting point set p1, the distance between B11 and G, the distance between B12 and G, the distance between B13 and G, the distance between B14 and G, the distance between B15 and G, and the distance between B16 and G are calculated, and then the average of the above six distances is taken as the second intersection distance of the second cutting point set p1. In this way, the second intersection distances of the remaining second cutting point sets can be calculated.

[0109] When calculating the ratio of the distances, the second intersection distance of the second cutting point set p1 is divided by the first intersection distance of the first cutting point A11 to obtain the first ratio p11, the second intersection distance of the second cutting point set p2 is divided by the first intersection distance of the first cutting point A12 to obtain the first ratio p12,..., and the second intersection distance of the second cutting point set p5 is divided by the first intersection distance of the first cutting point A15 to obtain the first ratio p15. Thus, the p first ratios can be obtained.

[0110] After calculating the ratio between the second intersection distance of each second cutting point set and the first intersection distance of the corresponding first cutting point, the distance between the start point of the gas flow curve and the target point, the distance between the start point of any gas flow comparison curve and the target point, and the distance between the end point of the gas flow curve and the target point and the distance between the end point of any gas flow comparison curve and the target point are calculated, so as to subsequently calculate the ratio between the distances of the two curve end points, as shown in the following steps S68c-S68f.

[0111] S68c. Calculate the distance between the target point and the starting point of the any-gas-flow-contrast curve as a first distance, and the distance between the target point and the starting point of the used-gas-flow curve as a second distance.

[0112] S68d. Calculate the distance between the target point and the ending point of the any-gas-flow-contrast curve as a third distance, and the distance between the target point and the ending point of the used-gas-flow curve as a fourth distance.

[0113] S68e. Calculate the ratio of the first distance and the second distance to obtain a second ratio, and the ratio of the third distance and the fourth distance to obtain a third ratio; in specific applications, on the basis of the aforementioned distances, it is equivalent to calculating the ratio between line segment GA2 and line segment GA1, and the ratio between line segment GB2 and line segment GB1, after the calculation is completed, a data sequence can be composed by combining the aforementioned p first ratios, so as to obtain the similarity between the any-gas-flow-contrast curve and the used-gas-flow curve based on the mean square deviation and the mean value of the data sequence, wherein the calculation process is shown in the following steps S68f and S68g.

[0114] S68f. Use the second ratio, the third ratio, and the p first ratios to compose a curve similarity data sequence; on the basis of the aforementioned examples, the data sequence has 5 first ratios, one second ratio, and one third ratio, a total of 7 data, and after calculating the mean square deviation and the mean value of the 7 data, the similarity between the any-gas-flow-contrast curve and the used-gas-flow curve can be obtained based on the mean square deviation and the mean value, as shown in the following step S68g.

[0115] S68g. Calculate the mean square deviation and the mean value of the curve similarity data sequence, so as to calculate the similarity between the any-gas-flow-contrast curve and the used-gas-flow curve based on the mean square deviation and the mean value; in specific applications, a similarity confidence interval is calculated according to the mean square deviation and the mean value, then the number of data in the curve similarity data sequence falling into the similarity confidence interval is counted, and finally, the number of data falling into the similarity confidence interval is divided by the total number of data in the sequence, which can be used as the similarity, wherein the specific process is shown in the following steps:

[0116] First step: obtaining normal distribution probability parameters, and calculating a curve similarity confidence interval based on the normal distribution probability parameters, the mean square deviation and the mean value; in specific applications, the normal distribution probability parameters can be but are not limited to preset in a central processing unit, and the values are 1, 1.65, 1.96, 2, 2.58 or 3, and in this embodiment, the value is preferably 1, while the similarity confidence interval can be but is not limited to [μ-rw, μ+rw], wherein μ is the mean value of the curve similarity data sequence, r is the normal distribution probability parameter, and w is the mean square deviation of the curve similarity data sequence.

[0117] Second step: counting the number of data in the curve similarity data sequence falling within the curve similarity confidence interval.

[0118] Third step: taking the ratio between the number of data and the total number of data in the curve similarity data sequence as the similarity between the any gas flow comparison curve and the use gas flow curve.

[0119] Based on the foregoing examples, it is assumed that the number of data falling within the curve similarity confidence interval is 5, and then the similarity between the any gas flow comparison curve and the use gas flow curve = 5 / 7 = 71.4%.

[0120] Similarly, for the similarity calculation process between the cooking sound spectrum curve and the any cooking sound spectrum comparison curve, reference can be made to the foregoing steps S61-S68 and each step in S68, and the principle will not be described again.

[0121] Thus, based on the foregoing step S6 and each sub-step thereof, the similarity between the use gas flow curve and each gas flow comparison curve, and the similarity between the cooking sound spectrum curve and each cooking sound spectrum comparison curve can be calculated, and finally, the cooking type of the stove in the i th use time period can be obtained according to the gas flow comparison curve and the cooking sound spectrum comparison curve with the highest similarity, as shown in the following step S7.

[0122] S7. Obtaining the cooking type of the stove in the i th use time period based on the first matching curve and the second matching curve; in specific applications, the identification of the cooking type is as shown in the following steps S71 and S72.

[0123] S71. Judging whether the cooking type corresponding to the first matching curve is the same as the cooking type corresponding to the second matching curve.

[0124] S72. If yes, the cooking type corresponding to the first matching curve or the cooking type corresponding to the second matching curve is taken as the cooking type of the stove in the i-th time period, otherwise, the cooking type corresponding to the matching curve with the highest similarity is selected from the first matching curve and the second matching curve as the cooking type of the stove in the i-th time period; in a specific application, if the cooking types corresponding to the first matching curve and the second matching curve are the same, then the cooking type corresponding to any one of the two is taken as the cooking type of the stove in the i-th time period, otherwise, the cooking type corresponding to the matching curve with the highest similarity is taken as the cooking type of the stove, that is, the cooking type corresponding to the matching curve with the highest similarity is taken as the cooking type of the stove.

[0125] After obtaining the cooking type of the stove in the i-th time period, the fan speed of the range hood can be adjusted based on the identified cooking type, as shown in the following steps S8 and S9.

[0126] S8. According to the target cooking type, the fan speed of the range hood corresponding to the target cooking type is matched as the standard speed, wherein the target cooking type is the cooking type of the stove in the i-th time period; in a specific application, the corresponding fan speed of the range hood of each cooking type is stored in the central processing unit, so that the speed matching can be performed based on the identified cooking type in use.

[0127] S9. According to the standard speed, the fan speed of the range hood in the target time period is adjusted, wherein the starting time of the target time period is the end time of the i-th time period, the end time of the target time period is the end time of the i+1-th time period, and the starting time of the i+1-th time period is different from the end time of the i-th time period by a preset time length; in a specific application, the fan speed of the range hood in the next time period can be adjusted based on the cooking type identified in the current time period, so as to achieve accurate control of the suction power of the range hood; in this embodiment, the interval time between the two time periods can be but not limited to 2 minutes, 3 minutes or 5 minutes.

[0128] Similarly, when the stove is used to the i+1-th time period, the gas flow data and the cooking sound data of the i+1-th time period can be reacquired, and the steps S1-S9 are used to identify the cooking type in the i+1-th time period, so as to adjust the suction power of the range hood in the i+2-th time period based on the cooking type identified in the i+1-th time period, and the above process is repeatedly performed until the stove is turned off, wherein the cycle process is shown in the following step S10.

[0129] S10. Increase i by 1 until the gas flow data in the i th usage time period is 0, stop adjusting the fan speed of the range hood; thus, in the process of using the stove, the present embodiment can continuously adjust the fan speed of the range hood according to the cooking type identified by different usage time periods, so as to achieve precise control of the suction power of the range hood.

[0130] In addition, in the present embodiment, after stopping adjusting the fan speed of the range hood, the present embodiment can also derive the delay working time of the range hood based on the cooking type of the usage time period before the stove is turned off, so as to process the exhaust gas of the oil fume, and the processing process is shown in the following steps S11 and S12.

[0131] S11. According to the cooking type of the target usage time period, match the oil fume exhaust gas suction time corresponding to the cooking type of the target usage time period, wherein the target usage time period is the last usage time period corresponding to the gas flow data of 0.

[0132] S12. Adjust the working time of the range hood to the oil fume exhaust gas suction time, so that the range hood continues to work when the gas flow of the stove stops; in a specific application, assuming that the gas flow data is 0 in the 5 th usage time period, then the cooking type of the 4 th usage time period is obtained to derive the oil fume exhaust gas suction time, and finally, the oil fume exhaust gas suction time is used as the delay working time of the range hood, so that the range hood continues to work and realizes continuous purification of the oil fume exhaust gas; of course, the oil fume exhaust gas suction time corresponding to different cooking types is also preset in the central processor; through the above design, the continuous discharge of the oil fume can be realized after the stove is turned off, thereby improving the purification ability of the oil fume.

[0133] Thus, through the control method of the range hood described in detail in the foregoing steps S1-S10, the present application can continuously identify the cooking type of the stove in the cooking process according to the gas flow data of the stove in the previous usage time period and the cooking sound data of the cooking appliance in the previous usage time period, so as to adjust the fan speed of the range hood in the next usage time period based on the identified cooking type until the stove is turned off; thus, the present method can realize the matching of the suction power of the range hood and the cooking type of the food, thereby achieving the function of precisely controlling the suction power of the range hood.

[0134] In one possible design, the second aspect of the present embodiment is further optimized based on the first aspect of the embodiment to accurately adjust the fan speed of the range hood through the oil fume image after adjusting the fan speed of the range hood, and the adjustment process is shown in the following steps S91-S96.

[0135] S91. Obtain an image of the oil fume of the stove, and perform image recognition on the image of the oil fume to obtain an oil fume region in the image of the oil fume; in specific applications, a trained target detection model (such as a faster-rcnn, yolov3, ssd, etc. model) can be used to recognize the image of the oil fume to obtain the oil fume region; wherein the training process of the target detection model is as follows: collect the images of the oil fume generated in the cooking process; use a commonly used labeling software (such as labelImg) to label the images of the oil fume; divide the images of the oil fume into an oil fume part and a smoke-free part, and make an oil fume detection data set; input the oil fume detection data set into the target detection model, and take the oil fume region as the output, train the target detection model, and after the training is completed, the trained target detection model is obtained.

[0136] S92. Perform image processing on the oil fume region to obtain a dark channel image of the oil fume region; in specific applications, a dark channel defogging algorithm can be used to process the oil fume region to obtain a dark channel image.

[0137] After obtaining the dark channel image, the oil fume particles can be identified based on the pixel values of each pixel point in the dark channel, as shown in the following step S93.

[0138] S93. Identify the pixel points for representing the oil fume particles in the oil fume region based on the dark channel image; in specific applications, the pixel points with pixel values between [50, 220] are taken as the oil fume particles; and after identifying the pixel points for representing the oil fume particles, the fan speed can be calculated based on the pixel values of the pixel points for representing the oil fume particles, as shown in the following step S94.

[0139] S94. Obtain the maximum fan speed of the oil fume extractor, and calculate the fan working speed value corresponding to the image of the oil fume based on the maximum fan speed and the pixel values of the pixel points for representing the oil fume particles in the oil fume region; in specific applications, the fan working speed value = max(VF1, VF3), wherein:

[0140]

[0141] In the above formula, M is the total number of pixel points for representing the oil fume particles, R m is the pixel value of the mth pixel point for representing the oil fume particles, VF3 is the maximum fan speed, and VF1 is the current speed of the fan of the oil fume extractor.

[0142] After the working speed value of the fan corresponding to the oil fume image is calculated, the working speed value of the fan is compared with the adjusted speed of the fan in step S9 (since the speed of the fan is adjusted to the standard speed in step S9, the working speed value of the fan is compared with the standard speed), so as to adjust the speed of the fan of the range hood based on the comparison result, wherein the adjustment process is shown in the following steps S95 and S96.

[0143] S95. Determine whether the working speed value of the fan is greater than the standard speed, and whether the difference between the working speed value of the fan and the standard speed is less than a preset threshold.

[0144] S96. If yes, the speed of the fan of the range hood is adjusted to the working speed value of the fan.

[0145] Therefore, through the foregoing design, after the speed of the range hood is adjusted according to the recognized cooking type, the oil fume concentration can be recognized according to the oil fume image of the stove during use, and the speed of the fan corresponding to the recognized oil fume concentration is obtained as the working speed value of the fan, and finally, the obtained working speed value of the fan is compared with the adjusted speed of the fan of the range hood, so as to adjust the speed of the fan of the range hood again according to the comparison result; thereby, the accuracy of the speed control of the range hood is further improved.

[0146] As shown in Figure 2 The third aspect of the embodiment provides a hardware device for implementing the control method of the range hood in the first aspect and the second aspect of the embodiment, comprising:

[0147] A data acquisition unit is configured to acquire gas flow data of a stove in an i-th use time period and cooking sound data of a cooking appliance on the stove in the i-th use time period, wherein i is a positive integer starting from 1, and the starting moment of the first use time period is the ignition moment of the stove.

[0148] A cooking curve generation unit is configured to generate a use gas flow curve of the stove in the i-th use time period according to the gas flow data, and generate a cooking sound spectrum curve of the cooking appliance in the i-th use time period according to the cooking sound data.

[0149] A data acquisition unit is configured to acquire a cooking database, wherein the cooking database comprises gas flow standard curves and cooking sound spectrum standard curves corresponding to a plurality of cooking types in respective cooking time periods.

[0150] The matching unit is configured to, based on the i th usage time period, match, in the cooking database, a gas flow standard curve of a cooking time period containing the i th usage time period, and intercept a curve corresponding to the i th usage time period from each gas flow standard curve containing the i th usage time period as a gas flow comparison curve.

[0151] The matching unit is further configured to, in the cooking database, match a cooking sound spectrum standard curve of a cooking time period containing the i th usage time period, and intercept a curve corresponding to the i th usage time period from each cooking sound spectrum standard curve containing the i th usage time period as a cooking sound spectrum comparison curve.

[0152] The cooking type identifying unit is configured to calculate similarities between the usage gas flow curve and each gas flow comparison curve, and take a gas flow comparison curve with the highest similarity as a first matching curve, and calculate similarities between the cooking sound spectrum curve and each cooking sound spectrum comparison curve, and take a cooking sound spectrum comparison curve with the highest similarity as a second matching curve.

[0153] The cooking type identifying unit is configured to determine a cooking type of the stove in the i th usage time period based on the first matching curve and the second matching curve.

[0154] The range hood adjusting unit is configured to, according to a target cooking type, match a fan rotating speed of the range hood corresponding to the target cooking type as a standard rotating speed, where the target cooking type is the cooking type of the stove in the i th usage time period.

[0155] The range hood adjusting unit is configured to, according to the standard rotating speed, adjust a fan rotating speed of the range hood in a target time period, where a starting time point of the target time period is an ending time point of the i th usage time period, an ending time point of the target time period is an ending time point of an i+1 th usage time period, and a starting time point of the i+1 th usage time period is different from the ending time point of the i th usage time period by a preset time length.

[0156] The range hood adjusting unit is configured to increase i by 1 until the gas flow data in the i th usage time period is 0, and stop adjusting the fan rotating speed of the range hood.

[0157] The working process, working details and technical effects of the device provided in the embodiment can be referred to the first aspect and the second aspect of the embodiment, and will not be repeated here.

[0158] As Figure 3As shown, the fourth aspect of the embodiment provides another control device of the extractor hood, taking the device as an electronic device for example, comprising: a memory, a processor and a transceiver connected in sequence in communication, wherein the memory is used to store a computer program, the transceiver is used to transceive messages, and the processor is used to read the computer program and execute the control method of the extractor hood as described in the first aspect and / or the second aspect of the embodiment.

[0159] For example, the memory can include, but is not limited to, random access memory (RAM), read only memory (ROM), flash memory, first in first out memory (FIFO) and / or first in last out memory (FILO) and the like; specifically, the processor can include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor can be implemented in at least one of the hardware forms of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), PLA (Programmable Logic Array), and the processor can also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake-up state, also known as CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state.

[0160] In some embodiments, the processor can be integrated with a GPU (Graphics Processing Unit) which is responsible for rendering and drawing the content required to be displayed on the display screen, for example, the processor can not be limited to a microprocessor of STM32F105 series, a RISC (reduced instruction set computer) microprocessor, an X86 architecture processor or an integrated embedded NPU (neural-network processing units) processor; the transceiver can be but not limited to a WIFI wireless transceiver, a Bluetooth wireless transceiver, a GPRS (General Packet Radio Service) wireless transceiver, a ZigBee wireless transceiver, a 3G transceiver, a 4G transceiver and / or a 5G transceiver, etc. In addition, the device can also include but not limited to a power module, a display screen and other necessary components.

[0161] The working process, working details and technical effects of the electronic device provided in the embodiments can be referred to the first aspect and the second aspect of the embodiments, and will not be repeated here.

[0162] The fifth aspect of the embodiments provides a storage medium storing instructions of the control method of the range hood according to the first aspect of the embodiments, that is, the storage medium stores instructions, and when the instructions run on a computer, the control method of the range hood according to the first aspect and / or the second aspect is executed.

[0163] The storage medium refers to a carrier for storing data, which can include but is not limited to a floppy disk, an optical disk, a hard disk, a flash memory, a USB flash disk and / or a memory stick, etc., and the computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices.

[0164] The working process, working details and technical effects of the storage medium provided in the embodiments can be referred to the first aspect and the second aspect of the embodiments, and will not be repeated here.

[0165] The sixth aspect of the embodiments provides a computer program product containing instructions, which, when running on a computer, causes the computer to execute the control method of the range hood according to the first aspect and / or the second aspect of the embodiments, wherein the computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices.

[0166] Finally, it should be noted that the above description is only the preferred embodiment of the present application, and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A control method of a range hood, characterized by, The method comprises the following steps: acquiring gas flow data of a stove in an i-th use time period and cooking sound data of a cooking appliance on the stove in the i-th use time period, wherein i starts from 1 and is a positive integer, and the starting time of the first use time period is the ignition time of the stove; generating a use gas flow curve of the stove in the i-th use time period according to the gas flow data and generating a cooking sound spectrum curve of the cooking appliance in the i-th use time period according to the cooking sound data; acquiring a cooking database, wherein the cooking database comprises gas flow standard curves and cooking sound spectrum standard curves corresponding to various cooking time periods of several cooking types; based on the i-th use time period, matching out the gas flow standard curves of the cooking time periods containing the i-th use time period in the cooking database, and intercepting the curve corresponding to the i-th use time period from each gas flow standard curve containing the i-th use time period as a gas flow comparison curve; and matching out the cooking sound spectrum standard curves of the cooking time periods containing the i-th use time period in the cooking database, and intercepting the curve corresponding to the i-th use time period from each cooking sound spectrum standard curve containing the i-th use time period as a cooking sound spectrum comparison curve; calculating the similarity between the use gas flow curve and each gas flow comparison curve, and taking the gas flow comparison curve with the highest similarity as a first matching curve, and calculating the similarity between the cooking sound spectrum curve and each cooking sound spectrum comparison curve to take the cooking sound spectrum comparison curve with the highest similarity as a second matching curve; based on the first matching curve and the second matching curve, obtaining the cooking type of the stove in the i-th use time period; according to a target cooking type, matching out the fan speed of an extractor hood corresponding to the target cooking type as a standard speed, wherein the target cooking type is the cooking type of the stove in the i-th use time period; adjusting the fan speed of the extractor hood in a target time period according to the standard speed, wherein the starting time of the target time period is the ending time of the i-th use time period, the ending time of the target time period is the ending time of the i+1-th use time period, and the starting time of the i+1-th use time period is different from the ending time of the i-th use time period by a preset time length; increasing i by 1 until the gas flow data in the i-th use time period is 0, and stopping adjusting the fan speed of the extractor hood; calculating the similarity between the use gas flow curve and each gas flow comparison curve comprises: for any gas flow comparison curve, mapping the any gas flow comparison curve and the use gas flow curve into the same rectangular coordinate system, wherein the horizontal axis of the rectangular coordinate system represents time and the vertical axis represents gas flow; and calculating the similarity between the use gas flow curve and each gas flow comparison curve comprises: for any gas flow comparison curve, mapping the any gas flow comparison curve and the use gas flow curve into the same rectangular coordinate system, wherein the horizontal axis of the rectangular coordinate system represents time and the vertical axis represents gas flow. n points are selected on the curve part of the use gas flow curve from which the start point and the end point are removed, and a first cutting point set is formed by the n selected points, wherein n is a positive integer; a first line segment is generated based on the start point of the any gas flow comparison curve and the start point of the use gas flow curve, and a second line segment is generated based on the end point of the any gas flow comparison curve and the end point of the use gas flow curve; an angle between the extension line of the first line segment and the extension line of the second line segment is determined, and the angle is divided into p cutting angles with different angles, wherein each cutting angle corresponds to a first cutting point in the first cutting point set, and p is equal to n; based on the p cutting angles, the any gas flow comparison curve is divided into p curve segments, and h points are selected in each curve segment, so that the h points in each curve segment form a second cutting point set of the curve segment, wherein the second cutting point set of any curve segment matches the first cutting point corresponding to the cutting angle of the any curve segment, and h is a positive integer; the distance between each first cutting point in the first cutting point set and the target point is calculated as the first intersection distance of the first cutting point, wherein the target point is the intersection point between the extension line of the first line segment and the extension line of the second line segment; for any second cutting point set, the distance between each second cutting point in the second cutting point set and the target point is calculated, and the average of the distances is taken as the second intersection distance of the second cutting point set, so that the second intersection distance of each second cutting point set is obtained after the distance between each second cutting point in all second cutting point sets and the target point is calculated; based on the first intersection distance of each first cutting point and the second intersection distance of each second cutting point set, the similarity between the any gas flow comparison curve and the use gas flow curve is calculated.

2. The method of claim 1, wherein, based on the first intersection distance of each first cutting point and the second intersection distance of each second cutting point set, the similarity between the any gas flow comparison curve and the use gas flow curve is calculated, including: for the tth second cutting point set, the ratio between the second intersection distance of the tth second cutting point set and the target distance is calculated as the first ratio, wherein the target distance is the first intersection distance of the first cutting point corresponding to the tth second cutting point set; when t cycles from 1 to p, p first ratios are obtained; the distance between the target point and the start point of the any gas flow comparison curve is calculated as a first distance, and the distance between the target point and the start point of the use gas flow curve is calculated as a second distance; the distance between the target point and the end point of the any gas flow comparison curve is calculated as a third distance, and the distance between the target point and the end point of the use gas flow curve is calculated as a fourth distance; the ratio of the first distance to the second distance is calculated to obtain a second ratio, and the ratio of the third distance to the fourth distance is calculated to obtain a third ratio; The second ratio, the third ratio, and the p first ratios are used to form a curve similarity data sequence; The mean square error and the mean value of the curve similarity data sequence are calculated, and the similarity between any gas flow curve and the use gas flow curve is calculated based on the mean square error and the mean value.

3. The method of claim 2, wherein, The similarity between any gas flow curve and the use gas flow curve is calculated based on the mean square error and the mean value, including: Normal distribution probability parameters are obtained, and a curve similarity confidence interval is calculated based on the normal distribution probability parameters, the mean square error, and the mean value; The number of data in the curve similarity data sequence that falls within the curve similarity confidence interval is counted; The ratio between the number of data and the total number of data in the curve similarity data sequence is taken as the similarity between any gas flow curve and the use gas flow curve.

4. The method of claim 1, wherein, Based on the first matching curve and the second matching curve, the cooking type of the stove in the i-th use time period is obtained, including: Determine whether the cooking type corresponding to the first matching curve is the same as the cooking type corresponding to the second matching curve; If yes, the cooking type corresponding to the first matching curve or the cooking type corresponding to the second matching curve is taken as the cooking type of the stove in the i-th use time period, otherwise, the cooking type corresponding to the matching curve with the highest similarity is selected from the first matching curve and the second matching curve as the cooking type of the stove in the i-th use time period.

5. The method of claim 1, wherein, After adjusting the fan speed of the extractor hood, the method further includes: Obtain the oil smoke image of the stove, and perform image recognition on the oil smoke image to obtain the oil smoke region in the oil smoke image; Perform image processing on the oil smoke region to obtain a dark channel image of the oil smoke region; Based on the dark channel image, identify the pixel points in the oil smoke region that represent oil smoke particles; Obtain the maximum fan speed of the extractor hood, and based on the maximum fan speed and the pixel value of the pixel points in the oil smoke region that represent oil smoke particles, calculate the fan working speed value corresponding to the oil smoke image; Determine whether the fan working speed value is greater than the standard speed, and whether the difference between the fan working speed value and the standard speed is less than a preset threshold; If yes, adjust the fan speed of the extractor hood to the fan working speed value.

6. The method of claim 1, wherein, After stopping adjusting the fan speed of the extractor hood, the method further includes: According to the cooking type of the target use time period, match the oil smoke tail gas suction time corresponding to the cooking type of the target use time period, wherein the target use time period is the last use time period corresponding to the use time period when the gas flow data is 0; Adjust the working time of the extractor hood to the oil smoke tail gas suction time, so that the extractor hood continues to work when the gas flow of the stove stops.

7. A control device for a range hood, characterized by The control method of the extractor hood for executing any one of claims 1-6, wherein the device comprises: The data acquisition unit is configured to acquire gas flow data of the stove in an i-th use time period and cooking sound data of a cooking appliance on the stove in the i-th use time period, where i is a positive integer starting from 1, and the starting moment of the first use time period is the ignition moment of the stove; The cooking curve generation unit is configured to generate a use gas flow curve of the stove in the i-th use time period according to the gas flow data, and generate a cooking sound spectrum curve of the cooking appliance in the i-th use time period according to the cooking sound data; The data acquisition unit is configured to acquire a cooking database, where the cooking database includes gas flow standard curves and cooking sound spectrum standard curves corresponding to various cooking time periods for a plurality of cooking types; The matching unit is configured to match, in the cooking database, a gas flow standard curve whose cooking time period contains the i-th use time period based on the i-th use time period, and intercept a curve corresponding to the i-th use time period from each gas flow standard curve containing the i-th use time period as a gas flow comparison curve; The matching unit is further configured to match, in the cooking database, a cooking sound spectrum standard curve whose cooking time period contains the i-th use time period, and intercept a curve corresponding to the i-th use time period from each cooking sound spectrum standard curve containing the i-th use time period as a cooking sound spectrum comparison curve; The cooking type identification unit is configured to calculate similarities between the use gas flow curve and each gas flow comparison curve, and take the gas flow comparison curve with the highest similarity as a first matching curve, and calculate similarities between the cooking sound spectrum curve and each cooking sound spectrum comparison curve to take the cooking sound spectrum comparison curve with the highest similarity as a second matching curve; The cooking type identification unit is configured to obtain a cooking type of the stove in the i-th use time period based on the first matching curve and the second matching curve; The exhaust hood adjustment unit is configured to match an exhaust hood fan speed corresponding to the target cooking type as a standard speed according to the target cooking type, where the target cooking type is the cooking type of the stove in the i-th use time period; The exhaust hood adjustment unit is configured to adjust a fan speed of the exhaust hood in a target time period according to the standard speed, where the starting moment of the target time period is the ending moment of the i-th use time period, the ending moment of the target time period is the ending moment of an (i+1)-th use time period, and the starting moment of the (i+1)-th use time period is different from the ending moment of the i-th use time period by a preset time length; The exhaust hood adjustment unit is configured to increase i by 1 until the gas flow data in the i-th use time period is 0, and stop adjusting the fan speed of the exhaust hood.

8. An electronic device, comprising: The cooking type identification unit is configured to calculate similarities between the use gas flow curve and each gas flow comparison curve, and take the gas flow comparison curve with the highest similarity as a first matching curve, and calculate similarities between the cooking sound spectrum curve and each cooking sound spectrum comparison curve to take the cooking sound spectrum comparison curve with the highest similarity as a second matching curve; The cooking type identification unit is configured to obtain a cooking type of the stove in the i-th use time period based on the first matching curve and the second matching curve; The exhaust hood adjustment unit is configured to match an exhaust hood fan speed corresponding to the target cooking type as a standard speed according to the target cooking type, where the target cooking type is the cooking type of the stove in the i-th use time period; The exhaust hood adjustment unit is configured to adjust a fan speed of the exhaust hood in a target time period according to the standard speed, where the starting moment of the target time period is the ending moment of the i-th use time period, the ending moment of the target time period is the ending moment of an (i+1)-th use time period, and the starting moment of the (i+1)-th use time period is different from the ending moment of the i-th use time period by a preset time length; The exhaust hood adjustment unit is configured to increase i by 1 until the gas flow data in the i-th use time period is 0, and stop adjusting the fan speed of the exhaust hood. The memory, the processor and the transceiver are connected in sequence, the memory is used for storing a computer program, the transceiver is used for transmitting and receiving messages, and the processor is used for reading the computer program and executing the control method of the range hood according to any one of claims 1-6.

9. A storage medium, characterized by The storage medium stores instructions, and when the instructions run on the computer, the control method of the range hood according to any one of claims 1-6 is executed.

Citation Information

Patent Citations

  • Cooking mode identification method for cooking utensil, system, cooking utensil and kitchen ventilator

    CN110262322A

  • Cooking fume recognition method

    CN111931658A