Method and device for preventing kitchen fire and storage medium
By dynamically adjusting the operation of smart devices in the kitchen based on user cooking behavior and environmental information, the problems of waste of resources and reduced detection accuracy in the existing technology are solved, and more accurate and efficient fire prevention is achieved.
Patent Information
- Application Number
- CN202310588917.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-23
- Publication Date
- 2024-11-26
AI Technical Summary
The existing kitchen fire prevention technology is wasted resources during the cooking process and the detection accuracy decreases, affecting the prevention effect.
By determining the startup time of the environmental sensor after the user enters the kitchen, obtaining environmental information in the kitchen, determining adjustment strategies based on the information, and controlling the intelligent device to implement fire prevention strategies, such as turning off the gas stove or starting the air conditioner fresh air mode.
Accurately determine the start time and adjustment strategy of environmental sensors, reduce resource waste, improve the reliability and accuracy of fire prevention, and ensure user safety.
Smart Images

Figure CN119028070A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of fire prevention, for example, to a method, device and storage medium for preventing kitchen fires. Background Art
[0002] At present, with the continuous improvement of people's living standards, smart devices are gradually entering the lives of users. At this stage, users can cook with smart devices installed in the kitchen, but how to effectively prevent fires during the cooking process has also become the focus of public attention.
[0003] At present, users generally install smoke detection devices in the kitchen environment to control the opening of smart windows in the kitchen or increase the wind speed of the range hood when the smoke detection device detects a high smoke concentration, so as to quickly reduce the smoke concentration in the kitchen and reduce the probability of fire. However, this control method not only requires the smoke detection device to be activated at the beginning of cooking, which wastes the processing resources of the detection device to a certain extent, but also when the smoke detection device is always on, the detection accuracy will also decrease, thereby affecting the prevention effect of kitchen fires. Therefore, how to prevent kitchen fires more energy-efficiently and effectively has become a technical problem that needs to be solved urgently.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0006] The embodiments of the present disclosure provide a method, device, and storage medium for preventing kitchen fires, which can save energy and effectively prevent kitchen fires.
[0007] In some embodiments, the method for preventing kitchen fires includes: determining a target start-up time for an environmental sensor when a user enters a kitchen to cook and leaves for a target length of time; acquiring environmental information collected by the environmental sensor in the kitchen at the target start-up time; determining an adjustment strategy for preventing kitchen fires based on the environmental information; and controlling a target smart device to execute the adjustment strategy for preventing kitchen fires.
[0008] In some embodiments, the method for preventing kitchen fires includes: when the odor information indicates that there is a burnt smell in the kitchen and the image information indicates that there is water vapor in the kitchen, determining that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove; when the odor information indicates that there is a burnt smell in the kitchen and the smoke information indicates that there is a first concentration of smoke in the kitchen, determining that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove and start the fresh air mode of the kitchen air conditioner at a low wind gear; when the odor information indicates that there is a burnt smell in the kitchen and the smoke information indicates that there is a second concentration of smoke in the kitchen, determining that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove and start the fresh air mode of the kitchen air conditioner at a high wind gear; wherein the first concentration is lower than the second concentration.
[0009] In some embodiments, the method for preventing kitchen fires includes: determining the target duration by: 目标 =T 1 -T 2 / K; where T 目标 is the target duration, T 1 is the total cooking time, K is the adjustment factor, T 2 The cooking time.
[0010] In some embodiments, the method for preventing kitchen fires includes: obtaining user type information and information about dishes cooked by the user; and determining the total time required for cooking based on the user type information and information about dishes cooked by the user.
[0011] In some embodiments, the method for preventing kitchen fires includes: obtaining a cooking information library, which stores the relationship between category information, dish information and cooking time of different users; matching the cooking time associated with the user's type information and the dish information cooked by the user in the cooking information library, and determining it as the total time required for cooking.
[0012] In some embodiments, the method for preventing kitchen fires includes: obtaining relevant information about a pot that is being cooked; and determining a target activation time of an environmental sensor based on the relevant information about the pot.
[0013] In some embodiments, the method for preventing kitchen fires includes: reacquiring environmental information collected by the environmental sensor in the kitchen; when the environmental information indicates that there is no fire risk in the kitchen, controlling the target smart device to stop executing the adjustment strategy for preventing kitchen fires.
[0014] In some embodiments, the device for preventing kitchen fires includes: a first determination module, configured to determine a target start-up time of the environmental sensor when a user enters the kitchen to cook and leaves for a target length of time; an acquisition module, configured to acquire environmental information collected by the environmental sensor in the kitchen at the target start-up time; a second determination module, configured to determine an adjustment strategy for preventing kitchen fires based on the environmental information; and a control module, configured to control the target smart device to execute the adjustment strategy for preventing kitchen fires.
[0015] In some embodiments, the apparatus for preventing kitchen fires includes: a processor and a memory storing program instructions, and the processor is configured to execute the aforementioned method for preventing kitchen fires when running the program instructions.
[0016] In some embodiments, the storage medium stores program instructions, and when the program instructions are run, the aforementioned method for preventing kitchen fires is executed.
[0017] The method, device and storage medium for preventing kitchen fires provided by the embodiments of the present disclosure can achieve the following technical effects: by determining the target start-up time of the environmental sensor when the user enters the kitchen to cook and leaves for the target length of time; obtaining environmental information collected by the environmental sensor in the kitchen at the target start-up time; determining the adjustment strategy for preventing kitchen fires based on the environmental information; and controlling the target smart device to execute the adjustment strategy for preventing kitchen fires. In this way, the target start-up time of the environmental sensor can be determined more accurately, and the adjustment strategy for preventing kitchen fires can be accurately determined in combination with the environmental information obtained at the target start-up time, so as to more effectively prevent the occurrence of fires when the target smart device is controlled to execute the adjustment strategy for preventing kitchen fires. In this way, there is no need to keep the environmental detection equipment on all the time, which reduces the waste of processing resources of the environmental detection equipment to a certain extent, and also improves the reliability and accuracy of kitchen fire prevention, thereby protecting the life and property of users.
[0018] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:
[0020] Figure 1 is a schematic diagram of a method for preventing kitchen fires provided by an embodiment of the present disclosure;
[0021] Figure 2is a schematic diagram of a method for determining the total time required for cooking provided by an embodiment of the present disclosure;
[0022] Figure 3 is a schematic diagram of a method for determining a target start time provided by an embodiment of the present disclosure;
[0023] Figure 4 is a schematic diagram of another method for preventing kitchen fires provided by an embodiment of the present disclosure;
[0024] Figure 5 is a schematic diagram of a device for preventing kitchen fires provided by an embodiment of the present disclosure;
[0025] Figure 6 Schematic diagram of another device for preventing kitchen fires provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0027] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0028] Unless otherwise stated, the term "plurality" means two or more.
[0029] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.
[0030] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.
[0031] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
[0032] In the embodiments of the present disclosure, smart home appliances refer to home appliances that are formed by introducing microprocessors, sensor technology, and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent perception, and intelligent application. The operation process of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet, and electronic chips. For example, smart home appliances can be connected to electronic devices to enable users to remotely control and manage the smart home appliances.
[0033] In the embodiments of the present disclosure, the terminal device refers to an electronic device with a wireless connection function. The terminal device can communicate with the above-mentioned smart home appliances by connecting to the Internet, or can directly communicate with the above-mentioned smart home appliances through Bluetooth, WiFi, etc. In some embodiments, the terminal device is, for example, a mobile device, a computer, or a vehicle-mounted device built into a hover car, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, etc., or any combination thereof, wherein wearable devices include, for example: smart watches, smart bracelets, pedometers, etc.
[0034] Figure 1 is a schematic diagram of a method for preventing kitchen fires provided by an embodiment of the present disclosure; Figure 1 As shown, the embodiment of the present disclosure provides a method for preventing kitchen fires, comprising:
[0035] S11, the server determines a target start time of the environmental sensor when the user enters the kitchen to cook and leaves for a target time.
[0036] S12, the server obtains environmental information collected by the environmental sensor in the kitchen at the target startup time.
[0037] S13, the server determines an adjustment strategy for preventing kitchen fires based on the environmental information.
[0038] S14, the server controls the target smart device to execute a regulation strategy for preventing kitchen fires.
[0039] In this solution, the server can be a cloud server, or the server can be arranged on a smart device. Specifically, the server can determine whether the user has left the kitchen for a target time after entering the kitchen to cook. Here, the target time to leave refers to the time the user has been away from the kitchen for a target time. Among them, the server can determine whether the user has left the kitchen for a target time after entering the kitchen to cook through its associated image sensor. Here, in order to more accurately determine the user's entry and exit from the kitchen, the image sensor can be set on the side of the kitchen door. Thereby, the target start-up time of the environmental sensor can be determined when it is determined that the user has left the kitchen for cooking for a target time. In this way, the start-up timing of the environmental sensor is accurately determined, providing an accurate data basis for the acquisition of environmental information.
[0040] Furthermore, the server can obtain environmental information collected by the environment sensor in the kitchen at the target startup time. The environment sensor in the kitchen includes an image sensor, an odor sensor, and a smoke sensor. The environmental information includes image information, odor information, and smoke information. In this way, it is possible to combine multiple types of environmental sensors to achieve accurate acquisition of environmental information.
[0041] Further, after the service end obtains the environmental information, it can determine the adjustment strategy for preventing kitchen fires in combination with the environmental information. Specifically, the service end determines the adjustment strategy for preventing kitchen fires according to the environmental information, including: when the odor information indicates that there is a burnt smell in the kitchen and the image information indicates that there is water vapor in the kitchen, the service end determines that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove. When the odor information indicates that there is a burnt smell in the kitchen and the smoke information indicates that there is a first concentration of smoke in the kitchen, the service end determines that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove and start the fresh air mode of the kitchen air conditioner at a low wind gear. When the odor information indicates that there is a burnt smell in the kitchen and the smoke information indicates that there is a second concentration of smoke in the kitchen, the service end determines that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove and start the fresh air mode of the kitchen air conditioner at a high wind gear. In this way, the adjustment strategy can be accurately determined in combination with the odor information, image information and smoke information.
[0042] Furthermore, after determining the adjustment strategy for preventing kitchen fires, the target smart device can be controlled to execute the adjustment strategy for preventing kitchen fires. The target smart device can be a smart air conditioner, a smart gas stove, and the like.
[0043] The method for preventing kitchen fires provided by the embodiment of the present disclosure is adopted. When the user enters the kitchen to cook and leaves for the target length of time, the target start-up time of the environmental sensor is determined; the environmental information collected by the environmental sensor in the kitchen is obtained at the target start-up time; the adjustment strategy for preventing kitchen fires is determined based on the environmental information; and the target smart device is controlled to execute the adjustment strategy for preventing kitchen fires. In this way, the target start-up time of the environmental sensor can be determined more accurately, and the adjustment strategy for preventing kitchen fires can be accurately determined in combination with the environmental information obtained at the target start-up time, so as to more effectively prevent the occurrence of fires when the target smart device is controlled to execute the adjustment strategy for preventing kitchen fires. In this way, there is no need to keep the environmental detection equipment on all the time, which reduces the waste of processing resources of the environmental detection equipment to a certain extent, and also improves the reliability and accuracy of kitchen fire prevention, thereby protecting the life and property of users.
[0044] Optionally, in S13, the server determines an adjustment strategy for preventing kitchen fires according to the environmental information, including:
[0045] When the odor information indicates that there is a burning smell in the kitchen and the image information indicates that there is water vapor in the kitchen, the server determines that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove.
[0046] When the odor information indicates that there is a burnt smell in the kitchen and the smoke information indicates that there is a first concentration of smoke in the kitchen, the server determines that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove and start the fresh air mode of the kitchen air conditioner at a low wind speed.
[0047] When the odor information indicates that there is a burnt smell in the kitchen and the smoke information indicates that there is a second concentration of smoke in the kitchen, the server determines that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove and start the fresh air mode of the kitchen air conditioner at a high wind speed.
[0048] In one case, after the odor sensor obtains the odor information and the image sensor obtains the image information, if the odor information indicates that there is a burnt smell in the kitchen and the image information indicates that there is water vapor in the kitchen, it is determined that the dishes being cooked are at risk of burning, and the service end can determine that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove. In this way, the adjustment strategy can be accurately determined in this case. As an optimization scheme, in order to more accurately determine whether the dishes being cooked in the kitchen are at risk of burning, the service end can determine that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove when the odor information indicates that there is a burnt smell in the kitchen and the image information indicates that there is water vapor in the kitchen that is higher than the preset content. Here, the preset content can be pre-set by the user in combination with the size of the kitchen. In this way, the risk of burning dishes can be reduced by turning off the fire source, effectively reducing the probability of kitchen fires caused by burning dishes.
[0049] In one case, after the odor sensor obtains the odor information and the smoke sensor obtains the smoke information, if the odor information indicates that there is a burnt smell in the kitchen and the smoke information indicates that there is a first concentration of smoke in the kitchen, it is judged that the dishes being cooked may have been burnt, and the adjustment strategy for preventing kitchen fires is determined to be to turn off the ignition device of the kitchen gas stove and start the fresh air mode of the kitchen air conditioner at a low wind gear. Among them, the presence of a first concentration of smoke in the kitchen means that the current smoke concentration in the kitchen is greater than or equal to the first concentration. The first concentration can be pre-set by the user in combination with the size of the kitchen. In this way, it is possible to prevent the burnt dishes from being further aggravated by turning off the fire source, and when the fresh air mode of the kitchen air conditioner is started at a low wind gear, the bad gases generated by the burnt dishes can be efficiently discharged to the outside as soon as possible, effectively reducing the probability of kitchen fires caused by burnt dishes.
[0050] In one case, after the odor sensor obtains the odor information and the smoke sensor obtains the smoke information, if the odor information indicates that there is a burnt smell in the kitchen and the smoke information indicates that there is a second concentration of smoke in the kitchen, it is determined that the dishes being cooked have been burnt, and then the adjustment strategy for preventing kitchen fires is determined to be to turn off the ignition device of the kitchen gas stove and start the fresh air mode of the kitchen air conditioner at a high wind gear. Among them, the second concentration of smoke in the kitchen means that the current smoke concentration in the kitchen is greater than or equal to the second concentration. The first concentration is lower than the second concentration. The second concentration can be pre-set by the user in combination with the size of the kitchen. In this way, it is possible to avoid further aggravation of the burnt dishes by turning off the fire source, and when the fresh air mode of the kitchen air conditioner is started at a high wind gear, the bad gas generated by the burnt dishes can be efficiently discharged to the outside as soon as possible, effectively reducing the probability of kitchen fires caused by burnt dishes.
[0051] In an optimized solution, if the odor information indicates that there is a burnt smell in the kitchen and the smoke information indicates that there is a second concentration of smoke in the kitchen, the adjustment strategy for preventing kitchen fires is determined to be to turn off the ignition device of the kitchen gas stove, start the fresh air mode of the kitchen air conditioner at a high wind gear, and send an alarm message. In this way, home users or firefighters can be warned to deal with the kitchen fire risk in a timely manner to protect the lives and property of users.
[0052] Optionally, determine the target duration by:
[0053] T 目标 =T 1 -T 2 / K
[0054] Among them, T 目标 is the target duration, T 1 is the total cooking time, K is the adjustment factor, T 2 The cooking time.
[0055] In this solution, the total cooking time, adjustment factor and cooking time can be obtained, and after obtaining the total cooking time, adjustment factor and cooking time, the target time is calculated in combination with a specific algorithm. Experiments show that the adjustment factor K is preferably 0.7. In this way, the target time can be calculated by T 1 -T 2 As an example, if the total cooking time required is 12 minutes and the cooking time is 4 minutes, the target time T is determined as 目标 =12-4 / 0.7=6.3 minutes. In this way, the target duration can be accurately calculated by combining the above algorithm.
[0056] Figure 2 is a schematic diagram of a method for determining the total cooking time required according to an embodiment of the present disclosure; Figure 2 As shown, optionally, the total cooking time required is determined by:
[0057] S21, the server obtains the user's type information and the information of the dishes cooked by the user.
[0058] S22, the server determines the total cooking time required according to the user's type information and the information of the dish cooked by the user.
[0059] In this solution, the total time required for cooking can be determined in a variety of ways. In one example, the server can obtain the cooking time required for the dishes being cooked in the kitchen in the diet APP of the associated mobile device, and use the cooking time required as the total cooking time required. In another example, the server can obtain the user's type information and the dish information cooked by the user. Among them, the user's type information can be an elderly person, an adult man, an adult woman, a child, etc. The dish information cooked by the user can be the name of the dish cooked by the user. Specifically, the user's type information and the dish information cooked by the user can be obtained through an image sensor in the kitchen. In this way, the user's type information and the dish information cooked by the user can be accurately obtained. It can be understood that different types of users have different cooking preferences. Therefore, the total time required for cooking can be determined in combination with the user's type information and the dish information cooked by the user. In this way, the total time required for cooking can be accurately determined in combination with the actual cooking conditions of different types of users.
[0060] Optionally, at S22, the server determines the total cooking time required according to the user type information and the dish information to be cooked by the user, including:
[0061] The server obtains a cooking information database, which stores the association between category information, dish information and cooking time of different users.
[0062] The server matches the cooking time associated with the user's type information and the dish information cooked by the user in the cooking information database, and determines it as the total time required for cooking.
[0063] In this solution, the server can obtain a cooking information library, which stores the association between the category information, dish information and cooking time of different users. Here, the association between the category information, dish information and cooking time of different users is derived from the historical cooking behavior of multiple users in the home environment to which the kitchen belongs. In this way, the server can match the cooking time associated with the user's category information and the dish information cooked by the user in the cooking information library, and determine it as the total time required for cooking. In this way, the total time required for cooking can be determined more accurately in combination with the user's category information and the dish information cooked by the user, so that the total time required for cooking determined in this way is more in line with the cooking habits of different users in the home environment.
[0064] Figure 3 is a schematic diagram of a method for determining a target start time provided by an embodiment of the present disclosure; Figure 3 As shown, optionally, S11, the server determines a target start time of the environmental sensor, including:
[0065] S31, the server obtains relevant information of the pot being cooked.
[0066] S32, the server determines the target start time of the environmental sensor according to the relevant information of the cookware.
[0067] In this solution, the server can also obtain relevant information about the pot being cooked through its associated image sensor. The relevant information about the pot includes the liquid height in the pot, the heat value of the pot, and the state of the pot cover that matches the pot. In this way, accurate determination of the relevant information about the pot can be achieved.
[0068] It can be understood that the lower the liquid height in the pot, the greater the heat value of the pot, and when the state of the pot cover matching the pot is the state of covering the pot, the greater the possibility of the dish being cooked being burnt. Therefore, the server can pre-store the relationship between the liquid height in the pot, the heat value of the pot, the state of the pot cover matching the pot, and the waiting time in combination with the material and size of the pot in the kitchen. Further, the server determines the target start time of the environmental sensor according to the relevant information of the pot, including: the server can match the waiting time in the server according to the acquired relevant information of the pot, and then determine the target start time according to the current time and the waiting time. Specifically, the target start time = current time + waiting time. For example, if the server matches the waiting time in the server as 5 minutes, and the current time is 8 o'clock, the target start time is 8:05. In this way, the target start time can be accurately determined, providing an accurate data basis for the acquisition of environmental information.
[0069] Figure 4 is another schematic diagram of a method for preventing kitchen fires provided by an embodiment of the present disclosure; Figure 4 As shown, the embodiment of the present disclosure provides another method for preventing kitchen fires, comprising:
[0070] S41, the server again obtains the environmental information collected by the environmental sensor in the kitchen.
[0071] S41, when the environmental information indicates that there is no fire risk in the kitchen, the server controls the target smart device to stop executing the adjustment strategy for preventing kitchen fires.
[0072] In this solution, the server can obtain the environmental information collected by the environmental sensor in the kitchen again. And when the environmental information indicates that there is no fire risk in the kitchen, the server controls the target smart device to stop executing the adjustment strategy for preventing kitchen fires. Specifically, the server can pre-set the fire risk standards of odor information, image information and smoke information in combination with the kitchen situation, and determine that there is no fire risk in the kitchen when the environmental information does not reach / is lower than the preset fire risk standard. In this way, the timing for the smart device to stop executing the adjustment strategy for preventing kitchen fires is accurately determined, meeting the user's energy-saving control needs for smart devices.
[0073] Figure 5 is a schematic diagram of a device for preventing kitchen fires provided by an embodiment of the present disclosure; Figure 5 As shown, the embodiment of the present disclosure provides a device for preventing kitchen fires, including a first determination module 51, an acquisition module 52, a second determination module 53 and a control module 54. The first determination module 51 is configured to determine the target start time of the environmental sensor when the user enters the kitchen to cook and leaves for the target time; the acquisition module 52 is configured to obtain environmental information collected by the environmental sensor in the kitchen at the target start time; the second determination module 53 is configured to determine the adjustment strategy for preventing kitchen fires according to the environmental information; and the control module 54 is configured to control the target smart device to execute the adjustment strategy for preventing kitchen fires.
[0074] The device for preventing kitchen fires provided by the embodiment of the present disclosure is used to determine the target start-up time of the environmental sensor when the user enters the kitchen to cook and leaves for the target length of time; obtain environmental information collected by the environmental sensor in the kitchen at the target start-up time; determine the adjustment strategy for preventing kitchen fires based on the environmental information; and control the target smart device to execute the adjustment strategy for preventing kitchen fires. In this way, the target start-up time of the environmental sensor can be determined more accurately, and the adjustment strategy for preventing kitchen fires can be accurately determined in combination with the environmental information obtained at the target start-up time, so as to more effectively prevent the occurrence of fires while controlling the target smart device to execute the adjustment strategy for preventing kitchen fires. In this way, there is no need to keep the environmental detection equipment on all the time, which reduces the waste of processing resources of the environmental detection equipment to a certain extent, and also improves the reliability and accuracy of kitchen fire prevention, thereby protecting the life and property of users.
[0075] Figure 6 is another schematic diagram of a device for preventing kitchen fires provided by an embodiment of the present disclosure; Figure 6As shown, an embodiment of the present disclosure provides a device for preventing kitchen fires, including a processor 100 and a memory 101. Optionally, the device may also include a communication interface 102 and a bus 103. The processor 100, the communication interface 102, and the memory 101 may communicate with each other through the bus 103. The communication interface 102 may be used for information transmission. The processor 100 may call the logic instructions in the memory 101 to execute the method for preventing kitchen fires in the above embodiment.
[0076] In addition, the logic instructions in the memory 101 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.
[0077] The memory 101 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 100 executes the function application and data processing by running the program instructions / modules stored in the memory 101, that is, implements the method for preventing kitchen fires in the above embodiment.
[0078] The memory 101 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 101 may include a high-speed random access memory and may also include a non-volatile memory.
[0079] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned method for preventing kitchen fires.
[0080] An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the above-mentioned method for preventing kitchen fires.
[0081] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0082] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.
[0083] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0084] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0085] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0086] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for preventing kitchen fires, characterized in that: include: Determine the target activation time of the environmental sensor when the user enters the kitchen to cook and leaves for the target time; Acquiring environmental information collected by an environmental sensor in the kitchen at the target start time; determining a regulatory strategy for preventing kitchen fires based on the environmental information; The target smart device is controlled to execute the adjustment strategy for preventing kitchen fires.
2. The method according to claim 1, characterized in that The environmental information includes odor information, image information, and smoke information. The determining of the adjustment strategy for preventing kitchen fires according to the environmental information includes: When the odor information indicates that there is a burning smell in the kitchen and the image information indicates that there is water vapor in the kitchen, determining that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove; When the odor information indicates that there is a burnt smell in the kitchen and the smoke information indicates that there is a first concentration of smoke in the kitchen, determining that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove and start the fresh air mode of the kitchen air conditioner at a low wind gear; When the odor information indicates that there is a burnt smell in the kitchen and the smoke information indicates that there is smoke of a second concentration in the kitchen, determining that the adjustment strategy for preventing kitchen fires is to turn off the ignition device of the kitchen gas stove and start the fresh air mode of the kitchen air conditioner at a high wind gear; Wherein, the first concentration is lower than the second concentration.
3. The method according to claim 1, characterized in that The target duration is determined by: T 目标 =T1-T2 / K Among them, T 目标 is the target time, T1 is the total cooking time, K is the adjustment factor, and T2 is the cooking time.
4. The method according to claim 3, characterized in that Determine the total cooking time by: Obtaining user type information and information about dishes cooked by the user; The total cooking time is determined based on the user type information and the dish information to be cooked by the user.
5. The method according to claim 4, characterized in that The determining the total cooking time required according to the user type information and the dish information cooked by the user includes: Obtaining a cooking information database, wherein the cooking information database stores associations between category information, dish information, and cooking time of different users; The cooking time associated with the type information of the user and the information of the dish cooked by the user is matched in the cooking information library, and is determined as the total time required for cooking.
6. The method according to claim 1, characterized in that The step of determining a target activation time of the environmental sensor includes: Get information about the pot being cooked; A target activation time of the environmental sensor is determined according to the relevant information of the cookware.
7. The method according to claim 1, characterized in that After controlling the target smart device to execute the adjustment strategy for preventing kitchen fires, the method further includes: Obtain the environmental information collected by the environmental sensor in the kitchen again; When the environmental information indicates that there is no fire risk in the kitchen, the target smart device is controlled to stop executing the adjustment strategy for preventing kitchen fires.
8. A device for preventing kitchen fires, characterized in that: include: A first determination module is configured to determine a target activation time of the environmental sensor when the user enters the kitchen to cook and leaves for a target time; An acquisition module is configured to acquire environmental information collected by an environmental sensor in the kitchen at the target start time; A second determination module is configured to determine an adjustment strategy for preventing kitchen fires according to the environmental information; The control module is configured to control the target smart device to execute the adjustment strategy for preventing kitchen fires.
9. A device for preventing kitchen fires, comprising a processor and a memory storing program instructions, characterized in that:The processor is configured to execute the method for preventing kitchen fires according to any one of claims 1 to 7 when running the program instructions.
10. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the method for preventing kitchen fires according to any one of claims 1 to 7 is executed.
