A control method of a cooking appliance, a cooking appliance, and a computer storage medium

CN114609937BActive Publication Date: 2026-09-29ZHEJIANG SUPOR ELECTRICAL APPLIANCES MFG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011443851.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-08
Publication Date
2026-09-29
Estimated Expiration
2040-12-08

AI Technical Summary

Technical Problem

然而,显示面板在使用过一段时间后,可能有一个或一些led灯或数码管的出现漏电或损坏短路的情况,这会使得复用管脚无法检测到用户对按键的操作,导致无法完成烹饪功能,降低了烹饪器具的可靠性,影响用户的体验,提高了维修率

Benefits of technology

[0007]可见,本申请实施例在扫描按键模块之前,通过对显示模块进行异常判断,并在显示模块异常时将第二端口也设置为输入检测状态即高阻值状态,以避免由于显示模块的异常导致无法检测到按键模块被操作,使得按键模块在任何情况下都处于可检测的状态,从而保证烹饪器具的可用性和可靠性,提升用户体验,降低维修率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114609937B_ABST
    Figure CN114609937B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a cooking utensil control method, a cooking utensil and a computer storage medium. The control module of the cooking utensil controls the display module to display through the first port and the second port of the control module, and detects the signal of the key module through the first port. The method comprises the following steps: during the detection of the display module, it is judged whether the display module is abnormal based on the first port and the second port; when it is determined that the display module is abnormal, the first port and the second port are set to an input detection state during the scanning of the key module. It can be seen that the embodiment of the application avoids the situation that the key module cannot be detected due to the abnormality of the display module, so that the key module is in a detectable state in any case, thereby guaranteeing the usability and reliability of the cooking utensil, improving the user experience and reducing the maintenance rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of home appliances, and in particular to a method for controlling a cooking appliance, the cooking appliance, and a computer storage medium. Background Technology

[0002] Cooking appliances are now essential home appliances. Users can use them to cook rice, make soup, stew porridge, and perform various other cooking operations. Existing cooking appliances typically have display panels with LED lights, digital tubes, and touch buttons for user interaction. These interactive components are controlled or detected by a control module. Some pins controlling the LED lights or digital tubes are reused with the detection pins for the touch buttons. This reduces the number of pins required by the control module. Through workflow multiplexing and time-sharing, the display can still show the lights and detect user button presses, thus reducing costs. However, after a period of use, one or more LED lights or digital tubes may experience leakage or short circuits. This can cause the reused pins to fail to detect user button presses, resulting in the inability to complete cooking functions, reducing the reliability of the cooking appliance, affecting the user experience, and increasing the repair rate. Summary of the Invention

[0003] The summary of this application introduces a series of simplified concepts, which will be further explained in detail in the detailed description section. This summary is not intended to limit the key features and essential technical features of the claimed technical solution, nor is it intended to determine the scope of protection of the claimed technical solution.

[0004] In a first aspect, embodiments of this application provide a method for controlling a cooking appliance, wherein the control module of the cooking appliance controls a display module to display information through a first port and a second port, and detects signals from a button module through the first port. The method includes:

[0005] During the detection of the display module, it is determined whether the display module is malfunctioning based on the first port and the second port;

[0006] When the display module is determined to be malfunctioning, the first port and the second port are set to input detection state during the scanning of the button module.

[0007] As can be seen, in this embodiment of the application, before scanning the button module, the display module is checked for abnormalities, and when the display module is abnormal, the second port is also set to the input detection state, i.e., the high resistance state, so as to avoid the inability to detect the operation of the button module due to the abnormality of the display module. This ensures that the button module is in a detectable state under any circumstances, thereby ensuring the availability and reliability of the cooking appliance, improving the user experience, and reducing the maintenance rate.

[0008] In some embodiments, determining whether the display module is malfunctioning based on the first port and the second port includes:

[0009] During the detection of the display module, the first port is set to an input detection state;

[0010] Within a preset time period, the output signal of the second port is controlled to switch between high and low levels at least once.

[0011] Determine whether the first port detects a level signal that changes synchronously with the second port within the preset time period;

[0012] When the first port detects a level signal that changes synchronously with the second port, it is determined that the display module is malfunctioning.

[0013] As can be seen, by judging whether the first port and the second port change synchronously, the accuracy of the judgment on whether the display module is abnormal is realized, which improves the accuracy of the judgment and is conducive to accurate control during subsequent button scanning, thereby improving the reliability of cooking appliances.

[0014] In some embodiments, the method further includes: when it is determined that the display module is malfunctioning, prompting the user that the display module is malfunctioning.

[0015] It is evident that alerting users when the display module malfunctions ensures timely replacement of the faulty module, further improving the usability and reliability of cooking appliances.

[0016] In some embodiments, the method further includes:

[0017] During the display process of the display module, the first port and the second port are controlled to output high or low levels respectively, so as to control the display module to achieve different displays.

[0018] As can be seen, when the display module needs to display, the output of the first port and the second port can be controlled to achieve different forms of display, thereby ensuring the normal use of the cooking appliance.

[0019] In some embodiments, the preset time period ranges from 5µs to 50µs.

[0020] As can be seen, by switching the output signal of the second port to a high level once or multiple times within a very short period of time, it is possible to detect whether the display module is abnormal. This method can detect abnormalities quickly and efficiently, while ensuring that it does not affect the normal operation of the cooking appliance.

[0021] In some embodiments, the method further includes:

[0022] When the display module is determined to be malfunctioning, during the scanning of the button module, if a low level is detected at the first port, it is determined that the user has operated the button module; if a high level is detected at the first port, it is determined that the user has not operated the button module.

[0023] As can be seen, regardless of whether the display module is malfunctioning, the high or low level detected by the first port can determine whether the user has operated the button module, ensuring that the button module is always in a detectable state and maximizing the usability of the cooking appliance.

[0024] Secondly, embodiments of this application provide a cooking utensil, including:

[0025] The display module is used to display information to the user;

[0026] The button module is used to detect the function of the cooking appliance selected by the user;

[0027] The control module includes a first port and a second port, used to control the display module to display data via the first port and the second port, and to detect signals from the button module via the first port; and

[0028] Determine whether the display module is malfunctioning based on the first port and the second port;

[0029] When the display module is determined to be malfunctioning, the first port and the second port are set to input detection state during the scanning of the button module.

[0030] As can be seen, in this embodiment of the application, before scanning the button module, the display module is checked for abnormalities, and when the display module is abnormal, the second port is also set to the input detection state, i.e., the high resistance state, so as to avoid the inability to detect the operation of the button module due to the abnormality of the display module. This ensures that the button module is in a detectable state under any circumstances, thereby ensuring the availability and reliability of the cooking appliance, improving the user experience, and reducing the maintenance rate.

[0031] Thirdly, embodiments of this application provide a cooking appliance, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program to implement the steps of the method described in the first aspect or any of the embodiments above.

[0032] Fourthly, a computer storage medium is provided, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the method described in the first aspect or any of the embodiments above.

[0033] Therefore, this application embodiment performs anomaly detection on the display module before scanning the button module, and sets the second port to input detection state (i.e., high resistance state) when the display module is abnormal, so as to avoid the inability to detect the operation of the button module due to the abnormality of the display module. This ensures that the button module is in a detectable state under any circumstances, thereby guaranteeing the availability and reliability of the cooking appliance, improving the user experience, and reducing the maintenance rate. Attached Figure Description

[0034] The above and other objects, features, and advantages of this application will become more apparent from the more detailed description of the embodiments of this application in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of this application and form part of the specification. They are used together with the embodiments of this application to explain this application and do not constitute a limitation thereof. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0035] Figure 1 This is a schematic diagram of the display module and button module of a cooking appliance;

[0036] Figure 2 This is a schematic flowchart of a control method for a cooking appliance according to an embodiment of this application;

[0037] Figure 3 This is an example of a control method for a cooking appliance according to an embodiment of this application;

[0038] Figure 4 This is a schematic block diagram of a cooking appliance according to an embodiment of this application;

[0039] Figure 5 This is another schematic block diagram of a cooking appliance according to an embodiment of this application. Detailed Implementation

[0040] To make the objectives, technical solutions, and advantages of this application more apparent, exemplary embodiments of this application will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are merely a part of the embodiments of this application, and not all of them. It should be understood that this application is not limited to the exemplary embodiments described herein. Based on the embodiments of this application described herein, all other embodiments obtained by those skilled in the art without inventive effort should fall within the protection scope of this application.

[0041] The embodiments of this application can be applied to cooking appliances, such as rice cookers, electric pressure cookers, food processors, soy milk makers, electric slow cookers, or other electric heating appliances.

[0042] Taking a rice cooker as an example, the cooking appliance can include a pot body and a lid. The pot body may have a cylindrical (or other shaped) inner pot storage section, which allows the inner pot to be freely placed into or removed from the inner pot storage section for easy cleaning. The inner pot is usually made of metal and has a circular opening on its upper surface for holding materials to be heated, such as rice or soup. For example, the inner pot may include a rotating body formed by the pot wall with an upper opening and an inner cavity. The capacity of the inner pot is usually less than 6L; for example, the capacity of the inner pot may be 2L or 4L.

[0043] The lid is connected to the pot body in an openable and closable manner to close the pot body. The lid may include an upper cover and a removable cover, which is located between the upper cover and the pot body and is detachably connected to the upper cover to facilitate cleaning of the removable cover at any time.

[0044] Cooking appliances may include a control module for controlling the cooking process. For example, this control module may be a microcontroller unit (MCU). The cooking appliance may also include a heating module for heating the inner pot. Additionally, the cooking appliance may have an internal temperature sensor.

[0045] In addition, the cooker body may also include a power board, and a display panel (also called a panel) may also be installed on the cooker body. The power board can be used to supply power to the control device, display panel, etc.

[0046] Optionally, the cooking appliance may include a communication module for communicating with other devices. For example, this IoT module may use Bluetooth, Wi-Fi, cellular communication, or other methods. The cooking appliance can communicate with mobile terminals and / or cloud servers through this communication module.

[0047] It should be noted that although some structures of the cooking utensil are illustrated here, these examples are merely exemplary and should not be construed as limiting the structure of the cooking utensil in the embodiments of this application.

[0048] During the use of cooking utensils, such as Figure 1 As shown, Figure 1 This is a schematic diagram of a display module and a button module for a cooking appliance. The display module reuses the COM or SEG pins of LED lights or digital tubes with the detection pins of the button module (such as tactile buttons). Figure 1 The diagram illustrates SEG pin multiplexing. Combined with time-division multiplexing in the workflow, this achieves both normal LED display and detection of user button presses. After a period of use, individual LEDs or a short circuit in a digital tube may experience leakage or damage. In this case, the control module (such as an MCU) cannot detect the user's button press. Because of the LED short circuit, the control module's SEG pin detects a high level on the COM pin of the connected LED, failing to detect the actual high or low level at the button. In a normal circuit, the SEG pin detects a low level when the button is pressed. Therefore, if the LED in the multiplexed circuit between the display and button modules malfunctions, the button module in that circuit cannot be detected, preventing the user from operating certain functions of the cooking appliance or even accessing the cooking function. This negatively impacts the user experience and increases the product's repair rate.

[0049] Based on the above considerations, a method for controlling cooking appliances is provided. The following will combine... Figure 2 For a description, see [link / reference] Figure 2 , Figure 2 A schematic flowchart of a cooking method according to an embodiment of this application is shown. Figure 2 As shown, the method 200 is performed by a cooking appliance, and the control module of the cooking appliance controls the display module to display through a first port and a second port of the control module, and detects the signal of the button module through the first port. The method includes:

[0050] S210, During the detection of the display module, it is determined whether the display module has malfunctioned based on the first port and the second port;

[0051] S220, when it is determined that the display module is abnormal, the first port and the second port are set to input detection state during the scanning of the button module.

[0052] In this embodiment, before scanning the button module, the display module is checked for abnormalities. When the display module is abnormal, the second port is also set to the input detection state, i.e., the high resistance state, to avoid the inability to detect the operation of the button module due to the abnormality of the display module. This ensures that the button module is always detectable, thereby guaranteeing the availability and reliability of the cooking appliance, improving the user experience, and reducing the repair rate.

[0053] In some embodiments, the ingredient to be cooked may be grains. Further, grains include rice. Rice may include different varieties.

[0054] It is understandable that the cooking program can be started using any existing method, whether before or after S210. Specifically, after the cooking device is powered on and the user is ready, they can start the cooking program by selecting functions and ingredient preferences through the interactive module.

[0055] In some embodiments, users can manually add ingredients to the inner pot and select the desired cooking function, such as making soup or porridge, to start the cooking program.

[0056] In some embodiments, ingredients can be added to the inner pot by the ingredient feeding module of the cooking appliance, and the cooking program can be started according to the user's cooking instructions.

[0057] Users can either start the cooking program directly from the display panel of the cooking appliance, or input cooking commands on a mobile device connected to the appliance to remotely control the cooking program.

[0058] It is understandable that starting a cooking program can mean beginning cooking according to a predefined cooking curve, which defines the relationship between power and time. A cooking program can include several different stages: a water absorption stage; a rapid heating stage; a boiling stage; and a simmering stage.

[0059] Optionally, in S210, determining whether the display module has malfunctioned based on the first port and the second port includes:

[0060] During the detection of the display module, the first port is set to an input detection state;

[0061] Within a preset time period, the output signal of the second port is controlled to switch between high and low levels at least once.

[0062] Determine whether the first port detects a level signal that changes synchronously with the second port within the preset time period;

[0063] When the first port detects a level signal that changes synchronously with the second port, it is determined that the display module is malfunctioning.

[0064] When the display module sends a short circuit or other abnormality, a path is formed between the first port and the second port. The signal detected by the first port changes with the output signal of the second port. By controlling the transformation of the output signal of the second port and detecting whether the signal of the first port changes synchronously, it can be determined whether the two are short-circuited. If they change synchronously, it is determined that the display module has a short circuit abnormality; if they change asynchronously, it is determined that the display module is normal. Therefore, by judging whether the first and second ports change synchronously, the accuracy of the judgment on whether the display module is abnormal is improved, which is beneficial for accurate control during subsequent button scanning, thereby improving the reliability of the cooking appliance.

[0065] In some embodiments, controlling the output signal of the second port to switch between high and low levels at least once within a preset time period may include:

[0066] If the current output signal of the second port is high, then switch the output signal of the second port to low; and / or,

[0067] If the current output signal of the second port is low, then switch the output signal of the second port to high.

[0068] A switch can be performed by switching the high level of the second port to a low level or vice versa, or by switching the high level of the second port to a low level and then switching the low level to a high level (or switching the low level to a high level and then switching the high level to a low level). It should be understood that the configuration for completing a switch can be adjusted as needed and is not limited here.

[0069] In some embodiments, the output signal of the second port can be controlled to switch between high and low levels multiple times within a preset time period. This can further improve the accuracy of display module anomaly detection.

[0070] In some embodiments, determining whether the first port detects a level signal that changes synchronously with the second port within the preset time period may include:

[0071] Within the preset time period, when the output signal of the second port is high, it is determined whether the first port is high, and when the output signal of the second port is low, it is determined whether the first port is low.

[0072] Specifically, if the first port is high when the output signal of the second port is high, and the first port also goes low when the output signal of the second port switches to low, then it can be determined that the first port and the second port change synchronously. It should be understood that, as mentioned above, synchronous changes in the first port and the second port can also be determined after more switching events. That is, if the signal detected by the first port changes with the output of the first port and maintains the same high or low level as the first port, then it is determined that a short circuit abnormality has occurred in the display module.

[0073] In some embodiments, the preset time period ranges from 5µs to 50µs.

[0074] As can be seen, by switching the output signal of the second port to a high level once or multiple times within a very short period of time, it is possible to detect whether the display module is abnormal. This method can detect abnormalities quickly and efficiently, while ensuring that it does not affect the normal operation of the cooking appliance.

[0075] In some embodiments, the method further includes: when it is determined that the display module is malfunctioning, prompting the user that the display module is malfunctioning.

[0076] It is evident that alerting users when the display module malfunctions ensures timely replacement of the faulty module, further improving the usability and reliability of cooking appliances.

[0077] In some embodiments, the user can be alerted to an abnormality in the display module by means of an audible and visual alarm (such as an indicator light and / or displaying a corresponding error code on the display panel and / or a buzzer alarm, etc.), or by sending a prompt message to the user's smart terminal (such as a smartphone, smart wearable device) or an APP on the smart terminal.

[0078] In some embodiments, the method further includes:

[0079] During the display process of the display module, the first port and the second port are controlled to output high or low levels respectively, so as to control the display module to achieve different displays.

[0080] As can be seen, when the display module needs to display, the output of the first port and the second port can be controlled to achieve different forms of display, thereby ensuring the normal use of the cooking appliance.

[0081] Specifically, based on the connection relationship between the LEDs or digital tubes in the display module and the first and second ports, the first and second ports can be controlled to make the anode of the LEDs or digital tubes high and the cathode low when the LEDs or digital tubes need to be lit; and to make the anode of the LEDs or digital tubes low and the cathode high when the LEDs or digital tubes need to be turned off, so as to control the corresponding LEDs or digital tubes to display.

[0082] In some embodiments, in S220, the method further includes:

[0083] When the display module is determined to be malfunctioning, during the scanning of the button module, if a low level is detected at the first port, it is determined that the user has operated the button module; if a high level is detected at the first port, it is determined that the user has not operated the button module.

[0084] When the user presses a button, the button is activated, and the first port is grounded through a resistor and the activated button, detecting a low level. When the user does not press a button, the button is deactivated, and the first port is open, detecting a high level. Therefore, regardless of whether the display module is malfunctioning, the high or low level detected by the first port can determine whether the user has operated the button module, ensuring that the button module is always in a detectable state and maximizing the usability of the cooking appliance.

[0085] In some embodiments, see Figure 1 and Figure 3 , Figure 3 An example of a control method for a cooking appliance according to an embodiment of this application is shown. For example... Figure 1 and Figure 3 As shown, the control method 300 for a cooking appliance according to an embodiment of this application includes:

[0086] S310: During the display process of the display module, the control module sets the SEG port (i.e., the first port) and the COM port (i.e., the second port) to control the display of the display module. That is, the SEG port and the COM port output a high level or a low level respectively to drive the display module to display; proceed to S320;

[0087] S320: During the detection of the display module, the first port is set to the input detection state, and the output signal of the second port is controlled to switch between high and low levels at least once; it is determined whether the first port detects a level signal that changes synchronously with the second port within the preset time period; when the first port detects a level signal that changes synchronously with the second port, it is determined that the display module is abnormal, and proceeds to S330; when the first port does not detect a level signal that changes synchronously with the second port, it is determined that the display module is normal, and proceeds to S350.

[0088] S330, during the scanning of the button module, set the first port and the second port to input detection state; proceed to S340;

[0089] S340, alert the user to a module error; return to S310;

[0090] S350, during the scanning of the button module, set the first port to input detection state and the second port to high level; return to S310.

[0091] As can be seen, the steps in the above embodiments can be performed in a loop. When the display module, such as the LED, is displaying, the SEG port and COM port of the control module, such as the MCU, are set to corresponding levels to display content in turn. When short-circuit detection of the LED is performed, the SEG port is set to the input detection state, and the COM port performs one or more high-low level switching actions within a short time (e.g., 5us-50us) to determine whether the SEG port can detect the corresponding synchronously changing high and low levels. If it can, the LED of the current line is short-circuited abnormally, and the user is reminded that the LED of that line is abnormal. Otherwise, the LED is normal. When button scanning is performed, if there is no abnormality in the LED, the COM port is set to a high level state. If there is an abnormality in the LED, the COM port is set to the input detection state, which is a high impedance state. Therefore, when the current flowing into the SEG port due to the short circuit of the LED causes the button detection to be abnormal, the method according to the embodiments of this application can detect whether the LED is abnormal and select the appropriate port to set when abnormal, thereby ensuring that the button is always in a detectable state, ensuring the availability and reliability of the cooking appliance, improving the user experience, and reducing the maintenance rate.

[0092] See Figure 4 , Figure 4 A schematic block diagram of a cooking appliance according to an embodiment of this application is shown. Figure 4 As shown, cooking appliances include heating devices, IoT devices, control devices, storage devices, and interaction devices.

[0093] Optionally, the heating device can be used to heat the food to be cooked in the cooking cavity (i.e., the inner pot) of the cooking appliance.

[0094] Optionally, the IoT device can be used to obtain the ambient temperature, humidity, and / or air pressure of the cooking appliance's environment from a cloud server via a network. The IoT device can then synchronize the obtained ambient temperature, humidity, and / or air pressure to the control device.

[0095] In some embodiments, IoT devices can also synchronize the current time and / or the current date via a network.

[0096] Optionally, the control device, such as an MCU or central processing unit, is used to control the heating device to realize the cooking process.

[0097] Optionally, the storage device can be used to store the instruction program executed by the control device, and can also be used to store various cooking parameters in the embodiments of this application. The heating device can heat through coils or the like under the control of the control device based on data collected by the top temperature sensor and the bottom temperature sensor.

[0098] Optionally, the interactive device may include a button module, an indicator module, etc. The button module can be physical or virtual buttons, enabling user input on the cooking appliance to set functions, rice type, texture, cooking time, etc. The indicator module can be used to facilitate interaction between the cooking appliance and the user, such as providing a display interface, sound indicators, etc., to inform the user of the cooking status and cooking time.

[0099] Optionally, it may also include a communication module for enabling communication with other devices.

[0100] Understandable Figure 4 This is merely an illustration of a cooking appliance. A cooking appliance may include more or fewer functional modules; for example, it may not have a communication module, and it may further include a feeding device, etc. This application does not limit this.

[0101] This application also provides a cooking appliance, including a memory and a processor, such as... Figure 5 As shown, a computer program is stored in the memory for execution by the processor, and when the computer program is executed by the processor, the aforementioned combination can be achieved. Figures 1 to 3 At least some or all of the steps in any of the described methods.

[0102] The memory and processor can be connected via a bus, and the cooking appliance can also have other components and structures as needed, such as combining... Figure 4 As mentioned above.

[0103] The processor may be a central processing unit (CPU), a graphics processing unit (GPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other processing units with data processing and / or instruction execution capabilities, and may control other components in the system to perform desired functions. The processor is used to execute corresponding steps of the cooking method according to embodiments of this application. For example, the processor may include one or more embedded processors, processor cores, microprocessors, logic circuits, hardware finite state machines (FSMs), digital signal processors (DSPs), or combinations thereof.

[0104] Memory is used to store various types of data to support the operation of cooking methods. For example, it may include one or more computer program products, which may include various forms of computer-readable storage media. Memory may be volatile or non-volatile, or may include both. Non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may be random access memory (RAM), which serves as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).

[0105] In one embodiment, the control module of the cooking appliance controls the display module to display through a first port and a second port, and detects signals from the button module through the first port. When the computer program in memory is run by the processor, the following steps are executed:

[0106] During the detection of the display module, it is determined whether the display module is malfunctioning based on the first port and the second port;

[0107] When the display module is determined to be malfunctioning, the first port and the second port are set to input detection state during the scanning of the button module.

[0108] Furthermore, according to embodiments of this application, a storage medium is also provided, on which program instructions are stored, which, when executed by a computer or processor, are used to perform the embodiments of this application, such as... Figures 2 to 3 The corresponding steps of the control method for any of the illustrated cooking appliances. Storage media may include, for example, a memory card of a smartphone, a storage component of a tablet computer, a hard disk of a personal computer, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disc read-only memory (CD-ROM), a USB memory, or any combination of the above storage media. A computer-readable storage medium may be any combination of one or more computer-readable storage media.

[0109] In one embodiment, the program instructions, when executed by a computer or processor, can implement the following according to the embodiments of this application: Figure 4 The various functional modules in the cooking appliance shown, and / or can perform functions according to the embodiments of this application, such as... Figures 2 to 3 A method for controlling any of the cooking appliances shown includes: during the detection of the display module, determining whether the display module is malfunctioning based on the first port and the second port; when the display module is determined to be malfunctioning, setting the first port and the second port to an input detection state during the scanning of the button module.

[0110] In addition, this application embodiment also provides computer program code that can be executed by a processor, and when the code is executed by the processor, it can achieve the following: during the detection of the display module, determining whether the display module is abnormal based on the first port and the second port; when it is determined that the display module is abnormal, setting the first port and the second port to an input detection state during the scanning of the button module.

[0111] Therefore, this application embodiment performs anomaly detection on the display module before scanning the button module, and sets the second port to input detection state (i.e., high resistance state) when the display module is abnormal, so as to avoid the inability to detect the operation of the button module due to the abnormality of the display module. This ensures that the button module is in a detectable state under any circumstances, thereby guaranteeing the availability and reliability of the cooking appliance, improving the user experience, and reducing the maintenance rate.

[0112] Although exemplary embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above exemplary embodiments are merely illustrative and are not intended to limit the scope of this application. Various changes and modifications can be made therein by those skilled in the art without departing from the scope and spirit of this application. All such changes and modifications are intended to be included within the scope of this application as claimed in the appended claims.

[0113] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of this application may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0114] Similarly, it should be understood that, in order to simplify this application and aid in understanding one or more aspects of the application, various features of this application may sometimes be grouped together in a single embodiment, figure, or description thereof in the description of exemplary embodiments of this application. However, this approach should not be construed as reflecting an intention that the claimed application requires more features than are expressly recited in each claim. Rather, as reflected in the corresponding claims, the point of application is that the corresponding technical problem can be solved with fewer features than all of a single disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of this application.

[0115] Those skilled in the art will understand that, apart from the mutual exclusion of features, all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or apparatus so disclosed can be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0116] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features but not others included in other embodiments, combinations of features from different embodiments are intended to be within the scope of this application and form different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.

[0117] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some modules in the article analysis device according to the embodiments of this application. This application can also be implemented as an apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such an implementation of this application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0118] It should be noted that the above embodiments are illustrative of this application and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. This application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

[0119] The above description is merely a specific embodiment or illustration of the embodiments of this application. The scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. The scope of protection of this application shall be determined by the scope of the claims.

Claims

1. A method for controlling a cooking utensil, characterized in that, The control module of the cooking appliance controls the display module to display information through a first port and a second port, and detects signals from the button module through the first port. The method includes: During the detection of the display module, it is determined whether the display module is malfunctioning based on the first port and the second port; When the display module is determined to be malfunctioning, the first port and the second port are set to input detection state during the scanning of the button module. The method of determining whether the display module is malfunctioning based on the first port and the second port includes: During the detection of the display module, the first port is set to an input detection state; Within a preset time period, the output signal of the second port is controlled to switch between high and low levels at least once. Determine whether the first port detects a level signal that changes synchronously with the second port within the preset time period; When the first port detects a level signal that changes synchronously with the second port, it is determined that the display module is malfunctioning.

2. The method according to claim 1, characterized in that, The method further includes: When the display module is determined to be normal, the first port is set to input detection state and the second port is set to high level during the scanning of the button module.

3. The method according to claim 1, characterized in that, The method further includes: When it is determined that the display module is malfunctioning, the user is prompted that the display module is malfunctioning.

4. The method according to claim 1, characterized in that, The method further includes: During the display process of the display module, the first port and the second port are controlled to output high or low levels respectively, so as to control the display module to achieve different displays.

5. The method according to claim 1, characterized in that, The preset time period range includes 5us-50us.

6. The method according to claim 1, characterized in that, The method further includes: When the display module is determined to be malfunctioning, during the scanning of the button module, if a low level is detected at the first port, it is determined that the user has operated the button module; if a high level is detected at the first port, it is determined that the user has not operated the button module.

7. A cooking utensil, characterized in that, include: The display module is used to display information to the user; The button module is used to detect the function of the cooking appliance selected by the user; as well as The control module includes a first port and a second port, used to control the display module to display through the first port and the second port, and to detect the signal of the button module through the first port; The control module is configured to perform the steps of the method according to any one of claims 1 to 6.

8. A cooking appliance, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Liquid crystal display and analyzer provided with the same

    CN100432754C

  • Electric cooker, electric cooker indicating lamp and button reusing scanning circuit and button scanning method thereof

    CN106788452A