CN118119067A - Light source control method and device, electronic equipment, storage medium and cooking utensil - Google Patents

Light source control method and device, electronic equipment, storage medium and cooking utensil Download PDF

Info

Publication number
CN118119067A
CN118119067A CN202410265411.7A CN202410265411A CN118119067A CN 118119067 A CN118119067 A CN 118119067A CN 202410265411 A CN202410265411 A CN 202410265411A CN 118119067 A CN118119067 A CN 118119067A
Authority
CN
China
Prior art keywords
light source
cooking appliance
illumination light
color
functional mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410265411.7A
Other languages
Chinese (zh)
Inventor
张飘尹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Fotile Kitchen Ware Co Ltd
Original Assignee
Ningbo Fotile Kitchen Ware Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Fotile Kitchen Ware Co Ltd filed Critical Ningbo Fotile Kitchen Ware Co Ltd
Priority to CN202410265411.7A priority Critical patent/CN118119067A/en
Publication of CN118119067A publication Critical patent/CN118119067A/en
Pending legal-status Critical Current

Links

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application discloses a light source control method, a device, electronic equipment, a storage medium and a cooking appliance, wherein the light source control method can be applied to the cooking appliance, the cooking appliance provides a plurality of functional modes, an illumination light source is arranged on the cooking appliance, the illumination light source provides a plurality of color lights, and the plurality of color lights are matched with the plurality of functional modes one by one; the method comprises the following steps: controlling the illumination light source to emit light with various colors according to a first preset mode in response to a starting instruction of the cooking utensil; controlling the illumination source to be turned off and enabling any one of the plurality of functional modes in response to an enabling instruction of the functional mode; responding to a control instruction of an illumination light source, and determining color light matched with the current functional mode of the cooking utensil as target color light in multiple color lights; the illumination source is controlled to emit a target color light. The application is helpful for displaying the original color of the food so as to facilitate the user to observe the food during the cooking process.

Description

Light source control method and device, electronic equipment, storage medium and cooking utensil
Technical Field
The application relates to the technical field of kitchen equipment, in particular to a light source control method, a light source control device, electronic equipment, a storage medium and a cooking utensil.
Background
Cooking appliances are common household appliances, and in order to facilitate users to observe food, the cooking appliances (such as a steam box, an oven, a steaming and baking integrated machine, and the like) are generally provided with an illumination light source.
In the prior art, the control of the illumination light source of the cooking utensil is mainly aimed at whether the cooking utensil works or not, the illumination light source is controlled to be on or off, the illumination light source only plays a role in illumination, and sometimes the color of the illumination light source can also distort food color to influence user experience.
Disclosure of Invention
In order to solve the problems in the prior art, the embodiment of the application provides a light source control method, a light source control device, electronic equipment, a storage medium and a cooking appliance. The technical scheme is as follows:
In one aspect, a light source control method is provided, the method is applied to a cooking appliance, the cooking appliance provides multiple functional modes, an illumination light source is arranged on the cooking appliance, the illumination light source provides multiple color lights, and the multiple color lights are matched with the multiple functional modes one by one; the method comprises the following steps:
Controlling the illumination light source to emit the multiple colors of light according to a first preset mode in response to a starting instruction of the cooking appliance;
controlling the illumination source to be turned off and enabling any one of the plurality of functional modes in response to an enabling instruction of the functional mode;
responding to a control instruction of the illumination light source, and determining color light matched with the current functional mode of the cooking appliance as target color light in the multiple color lights;
controlling the illumination light source to emit the target color light.
On the other hand, a light source control device is provided, the device is applied to a cooking appliance, the cooking appliance provides a plurality of functional modes, an illumination light source is arranged on the cooking appliance, the illumination light source provides a plurality of color lights, and the plurality of color lights are matched with the plurality of functional modes one by one; the device comprises:
The device starting module is used for responding to a starting instruction of the cooking device and controlling the illumination light source to emit the multiple colors of light according to a first preset mode;
A function starting module, which is used for responding to the starting instruction of any one of the plurality of function modes, controlling the illumination light source to be turned off and starting the function mode;
The target determining module is used for responding to the control instruction of the illumination light source and determining color light matched with the current functional mode of the cooking appliance as target color light in the multiple color light;
And the color control module is used for controlling the illumination light source to emit the target color light.
In an exemplary embodiment, the targeting module includes:
the preset acquisition module is used for responding to the control instruction of the illumination light source to acquire preset working time length;
the current determining module is used for determining the working time of the cooking appliance in the functional mode to obtain the current working time;
The residual determination module is used for determining residual working time based on the preset working time and the current working time;
And the first color determining module is used for determining that the color light matched with the current functional mode of the cooking appliance is the target color light in the multiple color lights under the condition that the remaining working time is longer than a preset threshold value.
In an exemplary embodiment, the apparatus further includes a mode control module for prompting a user by controlling a lighting mode of the illumination light source in case that a remaining time period of cooking reaches a preset threshold, the mode control module including:
A mode control module, configured to update the current working duration, update the remaining working duration based on the updated current working duration, and control the illumination light source to emit the multiple colors of light according to a second preset mode until the updated remaining working duration is less than or equal to the preset threshold, where in an exemplary embodiment, the first color determining module includes:
the light source judging module is used for judging whether the illumination light source is turned off or not;
And the second color determining module is used for determining that the color light matched with the current functional mode of the cooking utensil is the target color light in the multiple color lights when the judgment result is yes.
In an exemplary embodiment, the apparatus further includes a light source turning-off module for turning off the illumination light source in response to a control instruction of the illumination light source in a case where the illumination light source is turned on, the light source turning-off module including:
And the light source closing module is used for closing the illumination light source under the condition that the judgment result is negative.
In an exemplary embodiment, the plurality of functional modes include a preset class functional mode, and the plurality of color lights are matched with the preset class functional modes in the plurality of functional modes one by one; the target determination module comprises:
the function judging module is used for judging whether the current function mode of the cooking appliance belongs to the preset function mode;
And the third color determining module is used for determining that the color light matched with the current functional mode of the cooking appliance is the target color light in the multiple color lights under the condition that the current functional mode of the cooking appliance belongs to the preset functional mode.
In another aspect, there is provided an electronic device including a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the light source control method of any of the above aspects.
In another aspect, there is provided a computer readable storage medium having stored therein at least one instruction or at least one program loaded and executed by a processor to implement a light source control method as any one of the above aspects.
In another aspect, a cooking appliance is provided, comprising an illumination source and at least one processor, and a memory communicatively coupled to the at least one processor, the memory storing instructions executable by the at least one processor for controlling the illumination source, the at least one processor implementing the light source control method of any of the above aspects by executing the instructions stored by the memory.
According to the embodiment of the application, the state of the cooking utensil is distinguished by controlling the lighting mode of the lighting source, so that a prompting effect is played for a user; the illumination light source is provided with different color lights, different functional modes of the cooking appliance are matched, the illumination light source is controlled to emit color lights matched with the current functional mode of the cooking appliance, a prompting effect is achieved on a user, and the color lights matched with the current functional mode are beneficial to displaying the original colors of food so that the user can observe the food in the cooking process.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a first light source control method according to an embodiment of the present application;
FIG. 2 is a flow chart of a second method for controlling a light source according to an embodiment of the present application;
Fig. 3 is a flow chart of a third light source control method according to an embodiment of the present application;
fig. 4 is a flowchart of a fourth light source control method according to an embodiment of the present application;
Fig. 5 is a flowchart of a fifth light source control method according to an embodiment of the present application;
fig. 6 is a block diagram of a light source control device according to an embodiment of the present application;
Fig. 7 is a block diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be appreciated that in the specific embodiments of the present application, related data such as user information is involved, and when the above embodiments of the present application are applied to specific products or technologies, user permissions or consents need to be obtained, and the collection, use and processing of related data need to comply with related laws and regulations and standards of related countries and regions.
Fig. 1 is a flowchart illustrating a first light source control method according to an embodiment of the application. It is noted that the present specification provides method operational steps as an example or a flowchart, but may include more or fewer operational steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. In actual system or product execution, the methods illustrated in the embodiments or figures may be performed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment). As shown in fig. 1, the method is applied to a cooking appliance, and the method may include:
s101, responding to a starting instruction of the cooking utensil, and controlling the illumination light source to emit multiple colors of light according to a first preset mode.
Wherein, the cooking utensil provides multiple functional modes, is provided with the illumination source on the cooking utensil. Specifically, the multiple functional modes may include steaming, baking, and the like, and the illumination light source is a furnace lamp disposed in a cavity of the cooking appliance.
Wherein, the start instruction of the cooking appliance is triggered by a user. In a specific implementation, the start command of the cooking appliance is triggered based on the cavity of the cooking appliance being opened.
The illumination light source provides multiple colors of light, and the multiple colors of light are matched with multiple functional modes one by one. Illustratively, the plurality of colors of light may include yellow light, white light, etc., and the yellow light may be set to match the roast functional mode, and the white light may be set to match the steaming functional mode.
In a specific implementation, the first preset manner may be set to enable multiple colors of light of the illumination light source to be turned on at the same time, so as to prompt a user that the cooking appliance is started.
S103, controlling the illumination light source to be turned off and starting the functional mode in response to a starting instruction of any one of the functional modes.
Wherein, the start instruction of the functional mode is triggered by a user based on a control panel of the cooking appliance. Specifically, the control panel is provided with keys or touch keys corresponding to each functional mode, and the user triggers a starting instruction of the corresponding functional mode based on the corresponding keys or touch keys.
Specifically, when any functional mode is started, the illumination light source is turned off to prompt a user to switch the working state of the cooking appliance.
In an exemplary implementation manner, as shown in fig. 2, a flowchart of a second light source control method according to an embodiment of the present application may include, after the step S103:
S201, responding to a control instruction of the illumination light source, and acquiring a preset working time length.
The illumination light source provides multiple colors of light, and the multiple colors of light are matched with multiple functional modes of the cooking utensil one by one.
Wherein the control instruction of the illumination light source is triggered by the user based on a control panel of the cooking appliance. Specifically, a control case or a touch key of the illumination light source is arranged on the control panel, and the user turns on or off the illumination light source based on the key or the touch key.
The preset working time is set by a user according to the needs. Specifically, when a user triggers a start instruction of any functional mode of the cooking appliance, the working time of the cooking appliance in the functional mode is set. Illustratively, the steaming function mode is activated and the duration of steaming the food is set.
S203, determining the working time of the cooking utensil in the functional mode, and obtaining the current working time.
The current working time is the working time of the cooking utensil after the functional mode is started. Specifically, if the pause operation of the cooking appliance is controlled after the functional mode is started, the time period of the pause operation is not counted into the current working time period.
S205, determining the residual working time based on the preset working time and the current working time.
The remaining working time is the time that the cooking utensil still needs to work in the functional mode. Specifically, the remaining working time period is determined based on a difference between the preset working time period and the current working time period.
S207, judging whether the residual working time is greater than a preset threshold value.
Specifically, if the result of the determination is yes, step S105 may be executed; otherwise, if the result of the determination is negative, step S209 may be executed.
Wherein the preset threshold value indicates that the operation of the cooking appliance in the functional mode is about to be finished. In a specific implementation, the preset threshold may be set for no 5 minutes.
Specifically, if the remaining working time is longer than a preset threshold, and the working distance of the cooking utensil in the functional mode is finished earlier, executing corresponding control actions according to the control instruction of the illumination light source; if the remaining working time is less than or equal to the preset threshold, the working of the cooking utensil in the functional mode is about to be completed, and the user is prompted to complete cooking by controlling the illumination light source.
In an exemplary implementation manner, as shown in fig. 3, a flowchart of a third light source control method according to an embodiment of the present application may include, after the step S207:
S301, judging whether the illumination light source is turned off.
Specifically, if the result of the determination is yes, step S105 may be executed; otherwise, if the result of the determination is negative, step S303 may be executed.
The illumination light source provides multiple colors of light, and the multiple colors of light are matched with multiple functional modes of the cooking utensil one by one.
Specifically, the control instruction of the illumination light source is triggered by the user based on the control panel of the cooking appliance. Specifically, a control case or a touch key of the illumination light source is arranged on the control panel, and the user turns on or off the illumination light source based on the key or the touch key.
Specifically, if the illumination light source is turned off, and at this time, the control instruction of the illumination light source is used for turning on the illumination light source, so as to control the illumination light source to emit color light matched with the current functional mode of the cooking utensil; if the illumination light source is turned on, at the moment, the control instruction of the illumination light source is used for turning off the illumination light source, and the illumination light source is turned off.
S303, turning off the illumination light source.
Specifically, when the illumination light source is turned on, if a user triggers a control instruction of the illumination light source, the illumination light source is turned off.
According to the technical scheme, the function of turning on or off the illumination light source is provided for a user to select in the cooking process, so that different requirements of the user can be adapted, and the use experience of the user is improved.
S209, controlling the illumination light source to emit a plurality of colors according to a second preset mode.
In an implementation manner, the second preset manner may be set to alternately flash a plurality of colors of lights of the illumination light source, so as to prompt the user that cooking is completed.
As can be seen from the above technical solutions of the embodiments of the present application, in the embodiments of the present application, the illumination light source is controlled to emit color light matched with a current functional mode of the cooking appliance according to a control instruction of the illumination light source during cooking, so that the color light matched with the current functional mode is helpful for displaying the original color of food, so that a user can observe the food during cooking; when cooking is about to be finished, the illumination light source is controlled to emit various color lights according to a second preset mode, a prompting effect is achieved on a user, so that the situation that the user cannot hear prompting sounds in a noisy kitchen environment is solved, and the situation that the user cannot hear the prompting sounds after cooking is finished, so that food placement time is too long and taste is poor is further prevented.
S105, responding to a control instruction of the illumination light source, and determining color light matched with the current functional mode of the cooking appliance as target color light in multiple color lights.
Wherein the control instruction of the illumination light source is triggered by the user based on a control panel of the cooking appliance. Specifically, a control case or a touch key of the illumination light source is arranged on the control panel, and the user turns on or off the illumination light source based on the key or the touch key.
Specifically, when a control instruction of the illumination light source is triggered, the illumination light source is controlled to emit corresponding color light according to the current functional mode of the cooking appliance. For example, if the current working mode of the cooking appliance is a baking mode, determining that the target color light is yellow light; if the current working mode of the cooking utensil is the steaming mode, determining that the target color light is white light.
In an exemplary embodiment, the plurality of functional modes include a preset class functional mode, and the plurality of color lights are matched with the preset class functional mode in the plurality of functional modes one by one; the step S105 may include the steps of:
judging whether the current functional mode of the cooking utensil belongs to a preset functional mode;
Under the condition that the current functional mode of the cooking appliance belongs to a preset functional mode, determining the color light matched with the current functional mode of the cooking appliance as the target color light from the multiple color lights.
The cooking appliance provides a plurality of functional modes, and the plurality of functional modes comprise a preset functional mode. By way of example, the preset class function modes may include steaming, baking, and the like.
Wherein, multiple color light is emitted by the illumination light source, and the illumination light source sets up in cooking utensil's cavity. Specifically, the multiple colors of light are matched with the preset functional modes one by one; illustratively, yellow light is matched to the toasting function mode and white light is matched to the steaming function mode.
The target color light is the color light matched with the current functional mode of the cooking utensil in the multiple color lights of the illumination light source.
Specifically, when a control instruction of the illumination light source is triggered in the cooking process, if the current functional mode of the cooking appliance belongs to a preset functional mode, the illumination light source is controlled to emit color light matched with the current functional mode, and if the current functional mode of the cooking appliance does not belong to the preset functional mode, the control instruction is not executed.
As can be seen from the above technical solutions of the embodiments of the present application, according to the embodiments of the present application, by matching a preset functional mode of a plurality of functional modes of a cooking appliance with corresponding color light, the preset functional mode can be set to a common functional mode, and when the cooking appliance works in the preset functional mode, a user can trigger a control instruction to control an illumination light source to emit the matched color light, so that the user can observe food during cooking, and the functionality of the cooking appliance is improved.
S107, the illumination light source is controlled to emit the target color light.
The target color light is the color light matched with the current functional mode of the cooking utensil in the multiple color lights of the illumination light source.
Specifically, the illumination light source is controlled to emit the target color light, and then the step S203 is returned to update the current working time period, and the remaining working time period is updated based on the updated current working time period until the updated remaining working time period is less than or equal to the preset threshold value, and the step S209 is executed.
As can be seen from the above technical solutions of the embodiments of the present application, the embodiments of the present application distinguish the states of cooking appliances by controlling the light emitting manner of the illumination light source, so as to play a role in prompting a user; the illumination light source is provided with different color lights, different functional modes of the cooking appliance are matched, the illumination light source is controlled to emit color lights matched with the current functional mode of the cooking appliance, a prompting effect is achieved on a user, and the color lights matched with the current functional mode are beneficial to displaying the original colors of food so that the user can observe the food in the cooking process.
In order to fully understand the scheme of the present application, the overall description of the light source control method in the working process of the cooking appliance is described below, referring to fig. 4 to 5, which are schematic flow diagrams of a fourth light source control method provided in the embodiment of the present application, and schematic flow diagrams of a fifth light source control method provided in the embodiment of the present application.
The cooking utensil provides at least two functional modes of steaming and baking, the cooking utensil is provided with an illumination light source which at least provides yellow light and white light, wherein the yellow light is matched with the functional mode of baking, the white light is matched with the functional mode of steaming, and the cooking utensil is also provided with a stove lamp key for triggering a control instruction of the illumination light source; the method specifically comprises the following steps:
When the cavity of the cooking utensil is opened, the illumination light source is controlled to simultaneously open yellow light and white light, and the color tone of the food is restored.
In the working process of the cooking utensil, in the baking function mode, if a user presses a stove lamp key, the illumination light source is controlled to emit yellow light, and then, if the user presses the stove lamp key, the illumination light source is controlled to be turned off.
In the working process of the cooking utensil, in the steaming function mode, if a user presses a stove lamp key, the illumination light source is controlled to emit white light, and then, if the user presses the stove lamp key, the illumination light source is controlled to be turned off.
In the working process of the cooking utensil, if the cooking utensil is started for the last 5 minutes, the illumination light source is controlled to alternately emit yellow light and white light so as to remind a user of finishing cooking.
The embodiments of the present application also provide a light source control device corresponding to the light source control methods provided in the above embodiments, and since the light source control device provided in the embodiment of the present application corresponds to the light source control method provided in the above embodiments, implementation of the light source control method described above is also applicable to the light source control device provided in the embodiment, and will not be described in detail in the embodiment.
Referring to fig. 6, a schematic structural diagram of a light source control device according to an embodiment of the present application is shown, where the device has a function of implementing the light source control method in the above method embodiment, and the function may be implemented by hardware or by executing corresponding software by hardware. As shown in fig. 6, the device is applied to a cooking appliance, the cooking appliance provides a plurality of functional modes, an illumination light source is arranged on the cooking appliance, the illumination light source provides a plurality of color lights, and the plurality of color lights are matched with the plurality of functional modes one by one; the apparatus may include:
An appliance starting module 610 for controlling the illumination light source to emit light of a plurality of colors in a first preset manner in response to a starting instruction of the cooking appliance;
A function starting module 620 for controlling the illumination light source to be turned off and starting the function mode in response to a starting instruction of any one of the plurality of function modes;
the target determining module 630 is configured to determine, in response to a control instruction of the illumination light source, a color light matching a current functional mode of the cooking appliance as a target color light;
The color control module 640 is used for controlling the illumination light source to emit the target color light.
In one exemplary embodiment, the targeting module includes:
The preset acquisition module is used for responding to the control instruction of the illumination light source to acquire preset working time;
the current determining module is used for determining the working time of the cooking appliance in the functional mode to obtain the current working time;
The residual determination module is used for determining residual working time based on the preset working time and the current working time;
The first color determining module is used for determining color light matched with the current functional mode of the cooking appliance as target color light in multiple color light under the condition that the remaining working time is longer than a preset threshold value.
In an exemplary embodiment, the apparatus further includes a mode control module for prompting a user by controlling a lighting mode of the illumination light source in case that a remaining duration of cooking reaches a preset threshold, the mode control module includes:
The mode control module is used for updating the current working time length, updating the residual working time length based on the updated current working time length, and controlling the illumination light source to emit multiple colors of light according to a second preset mode when the updated residual working time length is smaller than or equal to a preset threshold value
In one exemplary embodiment, the first color determination module includes:
the light source judging module is used for judging whether the illumination light source is turned off or not;
And the second color determining module is used for determining the color light matched with the current functional mode of the cooking appliance as the target color light in the multiple color lights under the condition that the judgment result is yes.
In an exemplary embodiment, the apparatus further includes a light source turning-off module for turning off the illumination light source in response to a control instruction of the illumination light source in a case where the illumination light source is turned on, the light source turning-off module comprising:
And the light source closing module is used for closing the illumination light source under the condition that the judgment result is negative.
In an exemplary embodiment, the plurality of functional modes include a preset class functional mode, and the plurality of color lights are matched with the preset class functional mode in the plurality of functional modes one by one; a target determination module, comprising:
The function judging module is used for judging whether the current function mode of the cooking utensil belongs to a preset function mode;
The third color determining module is used for determining that the color light matched with the current functional mode of the cooking appliance is the target color light in the multiple color lights under the condition that the current functional mode of the cooking appliance belongs to the preset functional mode.
It should be noted that, in the apparatus provided in the foregoing embodiment, when implementing the functions thereof, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be implemented by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the apparatus and the method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the apparatus and the method embodiments are detailed in the method embodiments and are not repeated herein.
The embodiment of the application provides electronic equipment, which comprises a processor and a memory, wherein at least one instruction or at least one section of program is stored in the memory, and the at least one instruction or the at least one section of program is loaded and executed by the processor to realize any one of the light source control methods provided by the embodiment of the method.
The memory may be used to store software programs and modules that the processor executes to perform various functional applications and data processing by executing the software programs and modules stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to the use of the device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide access to the memory by the processor.
The method embodiments provided by the embodiments of the present application may be performed in a computer terminal, a server, or a similar computing device, i.e., the electronic device may include a computer terminal, a server, or a similar computing device. Fig. 7 is a block diagram of a hardware structure of a computer device for running a light source control method according to an embodiment of the present application, and as shown in fig. 7, the internal structure of the computer device may include, but is not limited to: processor, network interface and memory. The processors, network interfaces, and memories in the computer device may be connected by a bus or other means, and in fig. 7 shown in the embodiment of the present disclosure, the connection by a bus is an example.
Wherein the processor (or CPU (Central Processing Unit, central processing unit)) is the computational core as well as the control core of the computer device. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI, mobile communication interface, etc.). Memory (Memory) is a Memory device in a computer device for storing programs and data. It will be appreciated that the memory herein may be a high speed RAM memory device or a non-volatile memory device, such as at least one magnetic disk memory device; optionally, at least one memory device located remotely from the processor. The memory provides a storage space that stores an operating system of the electronic device, which may include, but is not limited to: windows (an operating system), linux (an operating system), android (an Android, a mobile operating system) system, IOS (a mobile operating system) system, etc., the invention is not limited in this regard; also stored in the memory space are one or more instructions, which may be one or more computer programs (including program code), adapted to be loaded and executed by the processor. In the embodiment of the present disclosure, the processor loads and executes one or more instructions stored in the memory to implement the light source control method provided in the above embodiment of the method.
Embodiments of the present application also provide a computer readable storage medium that can be disposed in an electronic device to hold at least one instruction or at least one program related to implementing a light source control method, the at least one instruction or the at least one program being loaded and executed by the processor to implement any of the light source control methods provided by the above method embodiments.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The embodiment of the application also provides a cooking appliance, which comprises an illumination light source, at least one processor and a memory which is in communication connection with the at least one processor, wherein the memory stores instructions which can be executed by the at least one processor, the at least one processor is used for controlling the illumination light source, and the at least one processor realizes any one of the light source control methods provided by the embodiment of the method by executing the instructions stored by the memory.
It should be noted that: the sequence of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. And the foregoing description has been directed to specific embodiments of this specification. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments in part.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing is only illustrative of the present application and is not to be construed as limiting thereof, but rather as various modifications, equivalent arrangements, improvements, etc., within the spirit and principles of the present application.

Claims (10)

1. The method is characterized in that the method is applied to a cooking appliance, the cooking appliance provides a plurality of functional modes, an illumination light source is arranged on the cooking appliance, the illumination light source provides a plurality of color lights, and the plurality of color lights are matched with the plurality of functional modes one by one; the method comprises the following steps:
Controlling the illumination light source to emit the multiple colors of light according to a first preset mode in response to a starting instruction of the cooking appliance;
controlling the illumination source to be turned off and enabling any one of the plurality of functional modes in response to an enabling instruction of the functional mode;
responding to a control instruction of the illumination light source, and determining color light matched with the current functional mode of the cooking appliance as target color light in the multiple color lights;
controlling the illumination light source to emit the target color light.
2. The light source control method according to claim 1, wherein the determining, in response to the control instruction of the illumination light source, the color light matching the current functional mode of the cooking appliance as the target color light, includes:
Responding to a control instruction of the illumination light source, and acquiring a preset working time length;
Determining the working time of the cooking appliance in the functional mode to obtain the current working time;
determining the residual working time based on the preset working time and the current working time;
and under the condition that the remaining working time is longer than a preset threshold value, determining the color light matched with the current functional mode of the cooking appliance as the target color light from the multiple color lights.
3. The light source control method according to claim 2, wherein after the controlling the illumination light source to emit the target color light, the method further comprises:
updating the current working time length, and updating the residual working time length based on the updated current working time length until the updated residual working time length is smaller than or equal to the preset threshold value, and controlling the illumination light source to emit the multiple colors of light according to a second preset mode.
4. A light source control method according to claim 3, wherein the determining, of the plurality of color lights, the color light matching the current functional mode of the cooking appliance as the target color light includes:
judging whether the illumination light source is turned off or not;
and if the judgment result is yes, determining that the color light matched with the current functional mode of the cooking appliance is the target color light in the multiple color lights.
5. The method of claim 4, wherein prior to updating the current operating time period, the method further comprises:
And if the judgment result is negative, turning off the illumination light source.
6. The light source control method according to claim 1, wherein the plurality of functional modes include a preset class functional mode, and the plurality of color lights are matched with the preset class functional mode among the plurality of functional modes one by one; the determining, among the plurality of color lights, a color light matching a current functional mode of the cooking appliance as a target color light includes:
judging whether the current functional mode of the cooking appliance belongs to the preset functional mode;
And under the condition that the current functional mode of the cooking appliance belongs to the preset functional mode, determining the color light matched with the current functional mode of the cooking appliance as the target color light from the multiple color lights.
7. The light source control device is characterized in that the device is applied to a cooking appliance, the cooking appliance provides a plurality of functional modes, an illumination light source is arranged on the cooking appliance, the illumination light source provides a plurality of color lights, and the plurality of color lights are matched with the plurality of functional modes one by one; the device comprises:
The device starting module is used for responding to a starting instruction of the cooking device and controlling the illumination light source to emit the multiple colors of light according to a first preset mode;
A function starting module, which is used for responding to the starting instruction of any one of the plurality of function modes, controlling the illumination light source to be turned off and starting the function mode;
The target determining module is used for responding to the control instruction of the illumination light source and determining color light matched with the current functional mode of the cooking appliance as target color light in the multiple color light;
And the color control module is used for controlling the illumination light source to emit the target color light.
8. An electronic device comprising a processor and a memory, wherein at least one instruction or at least one program is stored in the memory, the at least one instruction or the at least one program being loaded and executed by the processor to implement the light source control method of any one of claims 1-6.
9. A computer-readable storage medium having stored therein at least one instruction or at least one program loaded and executed by a processor to implement the light source control method of any one of claims 1 to 6.
10. A cooking appliance comprising an illumination source and at least one processor, and a memory communicatively coupled to the at least one processor, the memory storing instructions executable by the at least one processor for controlling the illumination source, the at least one processor implementing the light source control method of any one of claims 1-6 by executing the instructions stored by the memory.
CN202410265411.7A 2024-03-08 2024-03-08 Light source control method and device, electronic equipment, storage medium and cooking utensil Pending CN118119067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410265411.7A CN118119067A (en) 2024-03-08 2024-03-08 Light source control method and device, electronic equipment, storage medium and cooking utensil

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410265411.7A CN118119067A (en) 2024-03-08 2024-03-08 Light source control method and device, electronic equipment, storage medium and cooking utensil

Publications (1)

Publication Number Publication Date
CN118119067A true CN118119067A (en) 2024-05-31

Family

ID=91220986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410265411.7A Pending CN118119067A (en) 2024-03-08 2024-03-08 Light source control method and device, electronic equipment, storage medium and cooking utensil

Country Status (1)

Country Link
CN (1) CN118119067A (en)

Similar Documents

Publication Publication Date Title
US4914277A (en) Electronic control device for automatic cooking, including learning for home electric oven
EP2389044A1 (en) Data control utilizing data-driven logic
CN105446143B (en) information processing method and electronic equipment
AU2003204009A1 (en) Adaptation of an operating device to user behaviour
CN109674355B (en) Cooking appliance, exhaust control method and device thereof, storage medium and processor
CN111067369A (en) Fire control method, device, equipment and medium of intelligent stove
JP2017106692A (en) Heating cooking device and data structure of recipe data for heating cooking device
CN112698869A (en) Instruction determination method and device, storage medium and electronic device
CN118119067A (en) Light source control method and device, electronic equipment, storage medium and cooking utensil
CN112575511B (en) Multi-barrel washing machine heating washing control method and device, storage medium and washing machine
CN110822521A (en) Smoke stove control method and device, smoke stove system, computer equipment and storage medium
CN107981703B (en) Cooking control method and device and cooking product
CN106500144B (en) The control method of device for cooking
EP1741989A2 (en) Cooking apparatus with user interface
CN110613312B (en) Intelligent cooking method, cooking equipment and storage medium
JPH0634141A (en) Heating cooker
CN111396949A (en) Control method and device for illuminating lamp of range hood and range hood
CN110754928A (en) Cooking appliance and control method and device thereof
KR20080048571A (en) Cooking apparatus
CN109240183A (en) The control method and household electrical appliance of household electrical appliance
US10123859B2 (en) Firing furnace and press furnace
CN109527960A (en) Cooking time reminding method, device and cooking apparatus for cooking apparatus
CN115598988A (en) Control method and device of intelligent scene switch
CN117812770A (en) Intelligent induction cooker cooking method, system, electronic equipment and medium
CN116369747A (en) Cooking equipment, automatic door opening control method and device thereof and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination