Kitchen appliance, Flash memory and firmware upgrading method of kitchen appliance
By dividing the Flash memory into firmware, user program, and image resource storage areas, the problem of low image resource update efficiency due to the limited capacity of the kitchen appliance WiFi module firmware is solved. This enables stable storage of static images and flexible updating of dynamic images, improving the intelligence and user experience of kitchen appliances.
Patent Information
- Application Number
- CN202510901928.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-01
- Publication Date
- 2025-10-14
AI Technical Summary
The OTA firmware supported by the WiFi module of kitchen appliances is limited in size, resulting in inefficient image resource updates. It is impossible to update all image resources at once, and the update process can easily cause some images to be lost or displayed abnormally. Returning the appliance to the factory for updates increases costs and time.
The Flash memory is divided into a firmware storage area, a user program storage area, and an image resource storage area. The firmware storage area is used to store firmware files, the user program storage area is used to store user programs and dynamic image resources, and the image resource storage area is used to store static image resources. The firmware files are obtained from the server through the wireless communication module and the image resource storage area is avoided from being overwritten during firmware updates, thereby achieving stable storage of static image resources and flexible updating of dynamic image resources.
When the firmware capacity is limited, the update efficiency of image resources is improved, the loss or display abnormality of image resources during the update process is reduced, and the intelligence level and user experience of kitchen appliances are enhanced.
Smart Images

Figure CN120780332A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of kitchen appliances, and particularly relates to a kitchen appliance, a Flash memory and a firmware upgrading method of the kitchen appliance. BACKGROUND
[0002] OTA (Over-The-Air) technology, i.e. over-the-air technology, is a technology for remotely updating and managing devices through a wireless communication network. Through the OTA technology, device manufacturers can quickly push software updates, fix vulnerabilities and optimize performance, while users do not need to manually download and install packages, greatly improving the maintainability of the device and the user experience.
[0003] In the field of kitchen appliances, such as range hoods, refrigerators and other products, OTA technology has also been gradually introduced to enhance the degree of intelligence. However, due to the limitation of hardware resources, the OTA firmware size supported by the WiFi module of these kitchen appliances is obviously limited. At the same time, in order to improve the user interaction experience, the display screen of the kitchen appliance usually uses a large number of high-definition pictures as interface elements. Due to the limited firmware capacity, it is not possible to update all picture resources at once, and if only part of the picture resources are updated, some un-updated pictures will be lost or displayed abnormally due to the firmware overwrite operation during the update process, so it is difficult to realize direct OTA update of the picture resources. If the pictures need to be updated, it may be necessary to return to the factory for updating, resulting in low efficiency of picture resource updating. SUMMARY
[0004] The present application aims to at least solve one of the technical problems existing in the prior art. To this end, the present application proposes a kitchen appliance, a Flash memory and a firmware upgrading method of the kitchen appliance to realize picture resource updating in the case of limited firmware capacity and improve the updating efficiency of picture resources.
[0005] In a first aspect, the present application provides a kitchen appliance, comprising: a wireless communication module and a Flash memory; the Flash memory comprises a firmware storage area, a user program storage area and a picture resource storage area;
[0006] The firmware storage area is configured to store a firmware file obtained by the wireless communication module from a server.
[0007] The user program storage area is configured to store a user program.
[0008] The picture resource storage area is configured to store static picture resources; the static picture resources are picture resources that do not need to be updated and iterated periodically.
[0009] The kitchen appliance according to the application comprises a wireless communication module and a Flash memory; the Flash memory comprises a firmware storage area, a user program storage area and a picture resource storage area; the firmware storage area is used for storing a firmware file acquired by the wireless communication module from a server; the user program storage area is used for storing a user program; and the picture resource storage area is used for storing static picture resources; the static picture resources are picture resources that do not need to be updated iteratively. According to the embodiment of the application, the Flash memory is divided into the firmware storage area, the user program storage area and the picture resource storage area; the firmware storage area can acquire the firmware file from the server by using the wireless communication module, thereby realizing OTA update of the firmware, enhancing the intelligent degree of the kitchen appliance, the user program storage area ensures normal operation of the user program, the picture resource storage area is used for storing static picture resources, and the picture resources that do not need to be updated frequently can be stably stored; the OTA update of the firmware storage area is only directed to the firmware file itself and does not involve the picture resource storage area, so that even if the firmware file comprises part of the picture resources, the updated picture resources will not be overwritten into the picture resource storage area in the updating process, thereby realizing picture resource update in the case of limited firmware capacity and improving the updating efficiency of the picture resources.
[0010] According to an embodiment of the application, the user program storage area is further used for storing dynamic picture resources; the dynamic picture resources are picture resources that need to be updated iteratively.
[0011] In this embodiment, the user program storage area is not only used for storing the user program but also is extended to store the dynamic picture resources; the dynamic picture resources need to be updated iteratively, and the dynamic picture resources are stored in the user program storage area, so that the dynamic picture resources can be updated by using the OTA technology flexibly without interfering with the stability of the static picture, thereby reducing the problem of picture update display abnormality of the kitchen appliance caused by limited firmware capacity and improving the updating efficiency of the picture resources.
[0012] According to an embodiment of the application, the kitchen appliance further comprises a display screen.
[0013] The display screen is used for displaying the static picture resources and / or the dynamic picture resources.
[0014] In this embodiment, the display screen is used as the user interaction interface of the kitchen appliance, and the display screen can display the static picture resources and / or the dynamic picture resources, so that the user can intuitively see the interface information and the update content of the kitchen appliance, thereby improving the intelligent level of the kitchen appliance.
[0015] According to an embodiment of the application, the static picture resources and the dynamic picture resources are in a target format; the target format is a format that can be addressed by a program and displayed on the display screen.
[0016] In the embodiment, by setting the static picture resource and the dynamic picture resource as the target format, the picture resource can be accurately addressed by the program and displayed through the display screen, improving the efficiency of calling and displaying the picture resource and the consistency and fluency of the user interface display.
[0017] According to one embodiment of the present application, the master control chip is further configured to:
[0018] The master control chip is configured to acquire the version of the firmware file from the server through the wireless communication module, and download the firmware file from the server through the wireless communication module when the version of the firmware file is higher than the local firmware version of the kitchen appliance.
[0019] In the embodiment, the master control chip actively acquires the version information of the firmware file from the server through the wireless communication module, and compares the version of the firmware file with the local firmware version of the kitchen appliance. When it is detected that the firmware version on the server is higher than the local version, the master control chip automatically triggers the firmware download process to download the latest firmware file from the server through the wireless communication module, without the need for manual operation, greatly improving the efficiency of firmware update, so that the kitchen appliance can run in the latest version in time, thereby improving the stability and functional performance of the kitchen appliance.
[0020] According to one embodiment of the present application, the master control chip is further configured to:
[0021] The firmware file is written from the firmware storage area to the user program storage area through the boot program in the Flash memory to upgrade the firmware of the kitchen appliance.
[0022] In the embodiment, the firmware file stored in the firmware storage area is reliably written to the user program storage area through the boot program in the Flash memory to upgrade the firmware of the kitchen appliance. Due to the partition design of the Flash memory, the static and dynamic picture resources are stored separately from the firmware, reducing the problem of difficult update and display abnormality of the picture resources caused by the capacity limitation of the firmware, and improving the efficiency of updating the picture resources.
[0023] According to one embodiment of the present application, the firmware file comprises picture resources.
[0024] In the embodiment, the firmware file contains picture resources through the partition design of the Flash memory, which enables the picture resources to be updated synchronously while the firmware is upgraded. During the update process, the updated picture resources are written to the user program storage area, so as not to affect the static picture resources in the picture resource storage area, reducing the problem of loss or display abnormality of part of the picture resources caused by the firmware overwrite operation during the update process, and improving the update efficiency of the picture resources.
[0025] According to one embodiment of the present application, the kitchen appliance is at least one of a range hood, a cooktop, a refrigerator, and a rice cooker.
[0026] In a second aspect, the present application provides a Flash memory, comprising: a wireless communication module and a Flash memory; the Flash memory comprises a firmware storage area, a user program storage area, and a picture resource storage area;
[0027] The firmware storage area is configured to store firmware files obtained by the wireless communication module from a server.
[0028] The user program storage area is configured to store user programs.
[0029] The picture resource storage area is configured to store static picture resources; the static picture resources are picture resources that do not need to be updated regularly.
[0030] According to the Flash memory of the present application, the Flash memory comprises a wireless communication module and a Flash memory; the Flash memory comprises a firmware storage area, a user program storage area, and a picture resource storage area; the firmware storage area is configured to store firmware files obtained by the wireless communication module from a server; the user program storage area is configured to store user programs; and the picture resource storage area is configured to store static picture resources; the static picture resources are picture resources that do not need to be updated regularly. According to the present application, the Flash memory is divided into the firmware storage area, the user program storage area, and the picture resource storage area; the firmware storage area can obtain firmware files from a server by using the wireless communication module, thereby realizing OTA updating of firmware, enhancing the intelligent degree of the kitchen appliance, ensuring the normal operation of user programs by the user program storage area, storing static picture resources in the picture resource storage area, stably storing picture resources that do not need to be updated frequently, and realizing updating of picture resources in the case of limited firmware capacity, thereby improving the updating efficiency of picture resources.
[0031] In a third aspect, the present application provides a firmware upgrading method of a kitchen appliance, applied to the kitchen appliance of the first aspect; the method comprises:
[0032] Obtaining a version of a firmware file from a server by using a wireless communication module;
[0033] In the case that the version of the firmware file is higher than a local firmware version of the kitchen appliance, downloading the firmware file from the server by using the wireless communication module;
[0034] The firmware file is written from the firmware storage area to the user program storage area by a boot program in the Flash memory to upgrade the firmware of the kitchen appliance.
[0035] According to the firmware upgrade method of the kitchen appliance, the version of the firmware file is obtained from the server through the wireless communication module; the firmware file is downloaded from the server through the wireless communication module when the version of the firmware file is higher than the local firmware version of the kitchen appliance; and the firmware file is written from the firmware storage area to the user program storage area by a boot program in the Flash memory to upgrade the firmware of the kitchen appliance. In the embodiment of the application, the Flash memory is divided into the firmware storage area, the user program storage area and the picture resource storage area, the firmware storage area can obtain the firmware file from the server through the wireless communication module, the OTA update of the firmware is realized, the intelligent degree of the kitchen appliance is enhanced, the user program storage area guarantees the normal operation of the user program, the picture resource storage area is used to store static picture resources, the pictures that do not need to be frequently updated can be stably saved, the OTA update of the firmware storage area is only for the firmware file itself and does not involve the picture resource storage area, so that even if the firmware file includes part of the picture resources, the updated picture resources will not be covered to the picture resource storage area in the updating process, the picture resource update under the condition of limited firmware capacity is realized, and the updating efficiency of the picture resources is improved.
[0036] The one or more technical solutions in the embodiment of the application have at least one of the following technical effects:
[0037] According to the kitchen appliance, the Flash memory includes a firmware storage area, a user program storage area and a picture resource storage area; the firmware storage area is used to store the firmware file obtained from the server by the wireless communication module; the user program storage area is used to store the user program; and the picture resource storage area is used to store static picture resources. In the embodiment of the application, the Flash memory is divided into the firmware storage area, the user program storage area and the picture resource storage area, the firmware storage area can obtain the firmware file from the server through the wireless communication module, the OTA update of the firmware is realized, the intelligent degree of the kitchen appliance is enhanced, the user program storage area guarantees the normal operation of the user program, the picture resource storage area is used to store static picture resources, the pictures that do not need to be frequently updated can be stably saved, the OTA update of the firmware storage area is only for the firmware file itself and does not involve the picture resource storage area, so that even if the firmware file includes part of the picture resources, the updated picture resources will not be covered to the picture resource storage area in the updating process, the picture resource update under the condition of limited firmware capacity is realized, and the updating efficiency of the picture resources is improved.
[0038] Further, in some embodiments, the user program storage area is not only used to store user programs, but also extends the storage function of dynamic picture resources. Since dynamic picture resources need to be updated regularly, by storing dynamic picture resources in the user program storage area, dynamic picture resources can be updated flexibly through OTA technology without interfering with the stability of static pictures, reducing the problem of picture update display abnormality caused by limited firmware capacity of kitchen appliances, and improving the update efficiency of picture resources.
[0039] Further, in some embodiments, by using the display screen as the user interaction interface of the kitchen appliance, static picture resources and / or dynamic picture resources can be displayed, so that the user can intuitively see the interface information and update content of the kitchen appliance, and the intelligent level of the kitchen appliance is improved.
[0040] Further, in some embodiments, by setting the static picture resources and dynamic picture resources to a target format, the picture resources can be accurately addressed by the program and displayed through the display screen, improving the efficiency of calling and displaying picture resources and improving the consistency and smoothness of user interface display.
[0041] Further, in some embodiments, the main control chip actively obtains the version information of the firmware file from the server through the wireless communication module, compares the version of the firmware file with the local firmware version of the kitchen appliance, and when it is detected that the firmware version on the server is higher than the local version, the main control chip will automatically trigger the firmware download process to download the latest firmware file from the server through the wireless communication module, without the need for manual operation, greatly improving the efficiency of firmware update, so that the kitchen appliance can run in the latest version in time, thereby improving the stability and functional performance of the kitchen appliance.
[0042] Further, in some embodiments, by means of the boot program in the Flash memory, the firmware file stored in the firmware storage area is reliably written into the user program storage area to realize firmware upgrade of the kitchen appliance. Since the Flash memory is partitioned, static and dynamic picture resources are stored separately from the firmware, reducing the problem of difficult picture resource update and display abnormality caused by firmware capacity limitation, and improving the efficiency of picture resource update.
[0043] Further, in some embodiments, through the partition design of the Flash memory, the firmware file contains picture resources, which enables synchronous update of picture resources while performing firmware upgrade. During the update process, the updated picture resources will be written into the user program storage area, so as not to affect the static picture resources in the picture resource storage area, reducing the problem of loss or display abnormality of part of the picture resources that have not been updated due to firmware overwrite operation during the update process, and improving the update efficiency of picture resources.
[0044] Additional aspects and advantages of the present application will be made apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0045] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood by considering the following detailed description, including the accompanying drawings, in which:
[0046] Figure 1 is a schematic diagram of an OTA structure of a kitchen appliance provided by an embodiment of the present application;
[0047] Figure 2 is a schematic diagram of a structure of a kitchen appliance provided by an embodiment of the present application;
[0048] Figure 3 is a schematic diagram of a flow of a firmware upgrading method of a kitchen appliance provided by an embodiment of the present application;
[0049] Figure 4 is a schematic diagram of a structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0050] The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.
[0051] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be exchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a category, and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in a "or" relationship.
[0052] The kitchen appliance, the Flash memory, and the firmware upgrading method of the kitchen appliance provided by the embodiments of the present application will be described in detail below with reference to the drawings and specific embodiments and application scenarios.
[0053] A kitchen appliance is an electrical device used in a kitchen environment to assist in cooking, oil fume processing, food storage, and other operations. For example, a kitchen appliance can include a range hood, a stove, a rice cooker, and the like. The range hood can drive the wind wheel to rotate by the motor to exhaust the oil fume generated during cooking to the outside; the stove can use gas or electricity to realize flame combustion for heating a pot to cook food; the rice cooker can rely on internal heating elements and intelligent control to complete the steaming and cooking of staple foods such as rice. Of course, the kitchen appliance can also include other devices, and the embodiments of the present application do not limit this.
[0054] To meet the higher needs of users for operation convenience and information display, many modern kitchen appliances begin to introduce display screens, which can use color high-definition liquid crystal technology to visually display various operation information, device status, and menu options. Users can interact through the graphical user interface (GUI) on the display screen, such as on-off operation, temperature adjustment, gear adjustment, and the like.
[0055] In intelligent kitchen appliances, the application of OTA technology is becoming more and more widespread. OTA technology allows devices to receive and install updates through a wireless network without physical contact, which not only improves the convenience of updating, but also reduces maintenance costs. Figure 1 The OTA structure of the kitchen appliance is shown in the schematic diagram, which includes an IOT (Internet of Things) server, a display screen, a WiFi module, a main control chip, and a Flash memory, and the like.
[0056] The IOT server is a bridge between the kitchen appliance and the cloud. The IOT server stores various resources required for firmware OTA upgrade of the kitchen appliance, including but not limited to new firmware programs for running the kitchen appliance, updated picture resources required for graphical user interface display, and optimized operation logic code. Taking the range hood as an example, when the research and development personnel optimize the wind speed control algorithm of the range hood, the new algorithm program will be packaged as a firmware file and uploaded to the IOT server. When the kitchen appliance is connected to the network and meets the firmware OTA upgrade conditions, the kitchen appliance can download these update resources from the IOT server through the network, thereby realizing the optimization and upgrade of functions. In some scenarios, the IOT server can also collect and analyze the running data uploaded by the kitchen appliance, such as usage time, fault information, and the like, to provide data support for subsequent product improvement.
[0057] The WiFi module is a component that enables the kitchen appliance to connect to the Internet, acting as a bridge between the kitchen appliance and the external network. During the firmware OTA upgrade process of the kitchen appliance, the WiFi module can establish a connection with the IOT server through wireless communication and receive OTA update instructions and data from the IOT server. For example, when the IOT server has new firmware to push to the rice cooker, the WiFi module will receive the program data packet. The WiFi module can also transmit the received data to the main control chip through serial communication.
[0058] The main control chip is the brain of the kitchen appliance, responsible for processing code logic and control tasks. In some kitchen appliances, the main control chip only has random access memory (RAM) inside, without read-only memory (ROM), and can only temporarily store data during the operation process, so it needs to be externally connected to a flash memory through a serial peripheral interface flash controller (SPIFC) to establish a data interaction channel and realize program and data storage and reading.
[0059] During daily operation, the main control chip can collect various sensor data of the kitchen appliance in real time, such as the wind speed sensor data of the range hood and the flame detection sensor data of the stove, quickly processes them through the internal operation unit, and outputs control signals to adjust the working state of the kitchen appliance.
[0060] During the firmware OTA upgrade process, the main control chip is responsible for coordinating the work of each component. After the WiFi module receives the OTA update instructions and data from the IOT server, the main control chip receives the data through serial communication and parses and verifies the data according to the update protocol. After confirming that the data is correct, the main control chip writes the new program code, image resources, and other data into the corresponding storage area of the flash memory through the SPIFC, completing the program update or image replacement operation.
[0061] However, based on cost considerations, the WiFi module of the kitchen appliance only supports a small firmware capacity. For example, some WiFi modules support firmware OTA within 800 KBytes, while the graphical user interface of the display screen of the kitchen appliance uses a large number of small pictures for integrated display, and the picture resources usually exceed 1.5 MBytes, which is far beyond the limit of the WiFi module, resulting in the inability to update all picture resources at one time. If only part of the picture resources is updated, part of the picture resources that are not updated may be lost or abnormally displayed due to the firmware covering operation during the updating process. In this case, it is very difficult to directly perform OTA updating on the picture resources. It may be necessary to return the device to the factory for updating, which not only increases the cost but also reduces the updating efficiency.
[0062] The embodiment of the present application divides the Flash memory into a firmware storage area, a user program storage area, and a picture resource storage area. The firmware storage area can obtain the firmware file from the server by using the wireless communication module to realize OTA updating of the firmware, thereby enhancing the intelligent degree of the kitchen appliance. The user program storage area ensures the normal operation of the user program, and the picture resource storage area is specially used to store static picture resources, so that the pictures that do not need to be frequently updated can be stably saved. The OTA updating of the firmware storage area is only for the firmware file itself and does not involve the picture resource storage area, so that even if part of the picture resources is included in the firmware file, the updated picture resources will not be overwritten into the picture resource storage area during the updating process, thereby realizing the updating of the picture resources in the case of limited firmware capacity and improving the updating efficiency of the picture resources. For example, the picture resources used by the graphical user interface of the display screen of the kitchen appliance are totally 1.5 MBytes, of which 1.2 MBytes of picture resources do not need to be frequently updated and can be stored in the picture resource storage area, and the remaining 300 KBytes of picture resources can be updated by the firmware OTA. During the updating process, the new picture resources are written into the user program storage area of the Flash memory, and no conflict occurs with the picture resources in the picture resource storage area, thereby improving the updating efficiency of the picture resources.
[0063] The kitchen appliance provided by the embodiment of the present application will be described in detail below.
[0064] As shown in Figure 2 The kitchen appliance 200 provided by the embodiment of the present application can include a wireless communication module 201 and a Flash memory 202; the Flash memory 202 includes a firmware storage area, a user program storage area, and a picture resource storage area;
[0065] The firmware storage area is used to store the firmware file obtained by the wireless communication module 201 from the server;
[0066] The user program storage area is used to store the user program;
[0067] The picture resource storage area is configured to store static picture resources. The static picture resource is a picture resource that does not need to be updated periodically.
[0068] In the embodiment of the present application, the wireless communication module 201 is a component for connecting the kitchen appliance 200 to an external network. The wireless communication module 201 establishes a connection with a server through WiFi or other wireless communication technology, thereby realizing data transmission and reception. The server can be an IOT server or other types of servers, and the embodiment of the present application does not limit this.
[0069] Through the wireless communication module 201, the kitchen appliance 200 can obtain the latest firmware file from the IOT server. For example, when the kitchen appliance 200 needs to update the core function or repair the vulnerability, the firmware file is transmitted to the kitchen appliance 200 through the wireless communication module 201, thereby realizing the upgrade and optimization of the function of the kitchen appliance 200.
[0070] The Flash memory 202 is an important component inside the kitchen appliance 201 for storing various types of data. The Flash memory 202 has the characteristic of non-volatility, that is, it can still save data after power failure, so that the information stored in the Flash memory 202 will not be lost due to the closing of the kitchen appliance 201. The Flash memory 202 can include three independent storage areas, namely a firmware storage area, a user program storage area, and a picture resource storage area.
[0071] The firmware storage area is configured to store firmware files of the kitchen appliance 202. Firmware is the core software for the normal operation of the kitchen appliance 200, which contains basic operation instructions and function configurations of the kitchen appliance 200. For example, the firmware file can include the motor control program of the range hood, the automatic wind force adjustment logic, etc. The firmware file obtained from the IOT server through the wireless communication module 201 will be stored in the firmware storage area. When the kitchen appliance 200 needs to perform firmware OTA update, the firmware storage area will receive and store the new firmware file, thereby realizing the upgrade and optimization of the function.
[0072] The user program storage area is configured to store user programs. The user program refers to the electrical control logic and function modules that need to be called during the operation of the kitchen appliance. For example, for the range hood, the user program includes the input and output interface control of the switch board, the liquid crystal screen display driver, the sensor value processing, and the response of gestures and touch, etc. The user program is stored in the user program storage area to ensure the normal operation of the kitchen appliance 200. For example, the input and output interface program of the switch board can make the range hood accurately respond and start when the user presses the switch button; the liquid crystal screen display driver program can present the operation information on the screen; the sensor value processing program can analyze the data such as oil smoke concentration and motor speed, providing a basis for the operation of the range hood.
[0073] The picture resource storage area is used to store static picture resources, which are picture resources that do not need to be updated iteratively on a regular basis. For example, the display screen of a refrigerator can display recipe pictures, food preservation state icons, key icons, and the like, and the display screen of a range hood can display background pictures of an operation interface, cleaning prompt icons, switch icons, and the like. Some key icons and background pictures of an operation interface usually do not need to be updated iteratively after leaving the factory, and these picture resources can be stored as static picture resources in the picture resource storage area, thereby reducing the problem of picture resource loss or display abnormalities of kitchen appliances during OTA updating. During firmware updating, since the firmware storage area and the picture resource storage area are independent of each other, even if the firmware file contains part of the picture resources, the updated part of the picture resources will not be overwritten to the picture resource storage area. In this way, the kitchen appliance can still update the picture resources in the case of limited firmware capacity, thereby improving the efficiency of picture resource updating.
[0074] According to the kitchen appliance of the present application, the kitchen appliance comprises a wireless communication module and a Flash memory; the Flash memory comprises a firmware storage area, a user program storage area, and a picture resource storage area; the firmware storage area is used to store firmware files obtained by the wireless communication module from a server; the user program storage area is used to store user programs; and the picture resource storage area is used to store static picture resources. The static picture resources are picture resources that do not need to be updated iteratively on a regular basis. According to the present application, the Flash memory is divided into the firmware storage area, the user program storage area, and the picture resource storage area. The firmware storage area can obtain firmware files from a server by using the wireless communication module, thereby realizing OTA updating of firmware and enhancing the intelligent degree of the kitchen appliance. The user program storage area ensures the normal operation of user programs, and the picture resource storage area is used to store static picture resources, so that picture resources that do not need to be frequently updated can be stably saved. The OTA updating of the firmware storage area is only directed to the firmware files themselves and does not involve the picture resource storage area. Even if the firmware file contains part of the picture resources, the updated part of the picture resources will not be overwritten to the picture resource storage area during updating, thereby realizing picture resource updating in the case of limited firmware capacity and improving the updating efficiency of picture resources.
[0075] In some embodiments, the user program storage area is further used to store dynamic picture resources, which are picture resources that need to be updated iteratively on a regular basis.
[0076] In this embodiment, the user program storage area is not only used to store user programs, but also can be used to store dynamic picture resources. Dynamic picture resources refer to picture resources that need to be updated iteratively on a regular basis, for example, pictures used to display seasonal recipes, promotional activity advertisements or user interface theme updates on the display screen of a kitchen appliance. Dynamic picture resources are different from static picture resources, and dynamic picture resources can be frequently updated according to different times, activities or user needs.
[0077] Due to the high update frequency of dynamic picture resources, it is necessary to be closely combined with user programs so as to be quickly called and updated when needed. In the update process of dynamic picture resources, the kitchen appliance 200 can obtain the latest firmware file from the server through the wireless communication module 201, the firmware file can include a dynamic picture resource file, and the firmware file is written into the user program storage area, thereby completing a firmware upgrade. In the update process of dynamic picture resources, the data in the picture resource storage area remains unchanged.
[0078] In this embodiment, the user program storage area is not only used to store user programs, but also extends the storage function of dynamic picture resources. Dynamic picture resources need to be updated iteratively on a regular basis, and by storing dynamic picture resources in the user program storage area, dynamic picture resources can be flexibly updated through OTA technology without interfering with the stability of static pictures, reducing the problem of picture update display abnormality of kitchen appliances due to limited firmware capacity, and improving the update efficiency of picture resources.
[0079] In some embodiments, the kitchen appliance 200 further comprises a display screen 203.
[0080] The display screen 203 is used to display static picture resources and / or dynamic picture resources.
[0081] In some embodiments, the kitchen appliance 200 can further comprise a display screen 203. The display screen 203 can be used to display static picture resources and / or dynamic picture resources.
[0082] Specifically, when the display screen 203 displays static picture resources, it can call corresponding picture files from the picture resource storage area. For example, when the user starts the hood, the static picture resources can be called from the picture resource storage area, and the hood display screen displays a background picture.
[0083] The display screen 203 can also call dynamic picture resources from the user program storage area for display. For example, the display screen 203 can call corresponding picture files from the user program storage area to display seasonal recipes, promotional activity advertisements or user interface themes, etc.
[0084] In this embodiment, by taking the display screen as the user interaction interface of the kitchen appliance, static picture resources and / or dynamic picture resources can be displayed, so that the user can intuitively see the interface information and update content of the kitchen appliance, and the intelligent level of the kitchen appliance is improved.
[0085] In some embodiments, the static picture resources and the dynamic picture resources are in a target format; the target format is a format that can be addressed by a program and displayed on the display screen.
[0086] In order to further optimize the storage and display mode of the picture resources, so that the picture resources can be efficiently called by the program and correctly displayed on the display screen, the static picture resources and the dynamic picture resources can be converted into the target format for storage.
[0087] The target format is a specially processed picture format that can be directly addressed by a program and displayed on the display screen, thereby providing the user with a clear and smooth visual experience.
[0088] For example, the target format can be.o format. The.o format file is an object file, which is an intermediate file generated by a compiler and contains machine code and symbol table information for subsequent linking operations. In embedded systems or specific hardware devices, converting picture resources into.o files can achieve efficient storage and fast access of pictures.
[0089] In this embodiment, by setting the static picture resources and the dynamic picture resources to the target format, the picture resources can be accurately addressed by the program and displayed through the display screen, improving the efficiency of calling and displaying the picture resources and the consistency and smoothness of the user interface display.
[0090] In some embodiments, the kitchen appliance 200 can further include a main control chip 204.
[0091] The main control chip 204 is configured to obtain the version of the firmware file from the server through the wireless communication module 201, and download the firmware file from the server through the wireless communication module when the version of the firmware file is higher than the local firmware version of the kitchen appliance 200.
[0092] The main control chip 204 can communicate with an external server through the wireless communication module 201, thereby realizing the version management and update of the firmware file.
[0093] Specifically, the main control chip 204 establishes a connection with the server through the wireless communication module 201, so that the latest firmware information can be obtained. For example, when a new firmware file is published on the server, which is used to repair the vulnerability of the device or add new functions, the main control chip 204 can obtain the version information of this firmware file from the server through the wireless communication module 201.
[0094] After obtaining the version information of the firmware file, the main control chip 204 can compare the version of the firmware with the local firmware version of the kitchen appliance 200. Specifically, the main control chip 204 can check whether the firmware version number provided by the server is higher than the local firmware version currently running in the kitchen appliance 200. If it is detected that the firmware version on the server is higher, it means that the new firmware can be updated, and the kitchen appliance 200 needs to be upgraded. For example, if the local firmware version is 1.0, and the firmware version on the server is 1.1, the main control chip 204 will identify the difference in version number and prepare to download the firmware file from the IOT server.
[0095] In this embodiment, the main control chip actively obtains the version information of the firmware file from the server through the wireless communication module, and compares the version of the firmware file with the local firmware version of the kitchen appliance. When it is detected that the firmware version on the server is higher than the local version, the main control chip will automatically trigger the firmware download process, and download the latest firmware file from the server through the wireless communication module, without the need for manual operation of the user, greatly improving the efficiency of firmware update, so that the kitchen appliance can run in the latest version in time, thereby improving the stability and functional performance of the kitchen appliance.
[0096] In some embodiments, the main control chip is further configured to:
[0097] write the firmware file from the firmware storage area to the user program storage area through the boot program in the Flash memory, to upgrade the firmware of the kitchen appliance.
[0098] In this embodiment, the boot program is a small program stored in a specific area of the Flash memory 202. When the kitchen appliance 200 is powered on, the master chip 203 first executes the boot program to perform initialization detection on the hardware devices, and ensures that key hardware components such as the processor, memory, storage device, wireless communication module, etc. are in a normal working state. During the firmware process, the boot program detects the upgrade flag, and once it finds that there is an upgrade task, it will move the new firmware file stored in the OTA file area to the user program storage area according to the established process. The upgrade flag is a set of state parameters or flag bits stored in the Flash memory, which determines the instruction of "whether to perform firmware upgrade" through different numerical values or state combinations. For example, when firmware upgrade is needed, the master chip can change the upgrade flag from "0" to "1". When the boot program detects that the upgrade flag is "1", it means that firmware upgrade is needed, and the firmware file is moved to the user program area. During the moving process, the boot program will perform re-verification on each part to verify the integrity and consistency of the data. After the verification is passed, the boot program will restore the upgrade flag and trigger the master chip 204 to restart, thus completing a firmware upgrade.
[0099] In some embodiments, the Flash memory 202 further includes a reserved area, which can be used to store some system basic configuration information, such as factory setting parameters of the kitchen appliance 200, unique identification number of the hardware device, etc. The Flash memory can allocate a part of the storage area for storing the recovery factory program. When the kitchen appliance 200 fails or the user needs it, the kitchen appliance 200 can be restored to the default state at the time of factory shipment through the recovery factory program.
[0100] In this embodiment, by means of the boot program in the Flash memory, the firmware file stored in the firmware storage area is reliably written into the user program storage area, and the firmware upgrade of the kitchen appliance is realized. Due to the partition design of the Flash memory, the static and dynamic picture resources are stored separately from the firmware, which reduces the problem of difficult update and display abnormality of picture resources caused by the capacity limitation of the firmware, and improves the efficiency of picture resource update.
[0101] In some embodiments, the firmware file includes picture resources.
[0102] In this embodiment, through the partition design of the Flash memory, the firmware file contains picture resources, which enables the simultaneous update of picture resources during firmware upgrade. During the update process, the updated picture resources will be written into the user program storage area, and therefore will not affect the static picture resources in the picture resource storage area. This reduces the problem of loss or display abnormality of part of the un-updated pictures caused by firmware overwrite operation during the update process, and improves the update efficiency of the picture resources.
[0103] The embodiment of the present application further provides a flash memory, comprising a wireless communication module and a flash memory; the flash memory comprises a firmware storage area, a user program storage area and a picture resource storage area.
[0104] The firmware storage area is used for storing a firmware file acquired by the wireless communication module from a server.
[0105] The user program storage area is used for storing a user program.
[0106] The picture resource storage area is used for storing static picture resources; the static picture resources are picture resources that do not need to be updated periodically.
[0107] According to the flash memory of the present application, the flash memory comprises a wireless communication module and a flash memory; the flash memory comprises a firmware storage area, a user program storage area and a picture resource storage area; the firmware storage area is used for storing a firmware file acquired by the wireless communication module from a server; the user program storage area is used for storing a user program; and the picture resource storage area is used for storing static picture resources; the static picture resources are picture resources that do not need to be updated periodically. According to the embodiment of the present application, the flash memory is divided into the firmware storage area, the user program storage area and the picture resource storage area; the firmware storage area can acquire the firmware file from the server by using the wireless communication module, thereby realizing OTA update of the firmware, enhancing the intelligent degree of the kitchen appliance, the user program storage area guarantees normal operation of the user program, the picture resource storage area is used for storing static picture resources, and the picture resources that do not need to be updated frequently can be saved stably; the OTA update of the firmware storage area is only directed to the firmware file itself and does not involve the picture resource storage area, so that even if the firmware file includes part of the picture resources, the updated picture resources will not be overwritten to the picture resource storage area in the updating process, thereby realizing updating of the picture resources in the case of limited firmware capacity and improving the updating efficiency of the picture resources.
[0108] The embodiment of the present application further provides a firmware upgrading method of a kitchen appliance.
[0109] As shown in the figure, Figure 3 The firmware upgrading method of the kitchen appliance comprises steps 310, 320 and 330.
[0110] In step 310, a version of a firmware file is acquired from a server by using a wireless communication module.
[0111] In step 320, the firmware file is downloaded from the server by using the wireless communication module in the case that the version of the firmware file is higher than a local firmware version of the kitchen appliance.
[0112] Step 330, write the firmware file from the firmware storage area to the user program storage area through the boot program in the Flash memory to upgrade the firmware of the kitchen appliance.
[0113] According to the firmware upgrade method of the kitchen appliance, the version of the firmware file is acquired from the server through the wireless communication module; in the case that the version of the firmware file is higher than the local firmware version of the kitchen appliance, the firmware file is downloaded from the server through the wireless communication module; and the firmware file is written from the firmware storage area to the user program storage area through the boot program in the Flash memory to upgrade the firmware of the kitchen appliance. According to the embodiment of the present application, the Flash memory is divided into the firmware storage area, the user program storage area and the picture resource storage area, the firmware storage area can acquire the firmware file from the server through the wireless communication module, the OTA update of the firmware is realized, the intelligent degree of the kitchen appliance is enhanced, the user program storage area guarantees the normal operation of the user program, the picture resource storage area is specially used to store the static picture resource, the picture that does not need to be frequently updated can be stably saved, the OTA update of the firmware storage area is only for the firmware file itself, and the picture resource storage area is not involved, so that even if part of the picture resource is included in the firmware file, the updated picture resource will not be covered to the picture resource storage area in the updating process, the picture resource update in the case of limited firmware capacity is realized, and the updating efficiency of the picture resource is improved.
[0114] In some embodiments, as shown in Figure 4 The embodiment of the present application also provides an electronic device 400, which comprises a processor 401, a memory 402 and a computer program stored in the memory 402 and capable of running on the processor 401, wherein the program is executed by the processor 401 to realize each process of the above-mentioned firmware upgrade method of the kitchen appliance and achieve the same technical effects. To avoid repetition, details are not described herein.
[0115] The embodiment of the present application also provides a non-transitory computer readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to realize each process of the above-mentioned firmware upgrade method of the kitchen appliance and achieve the same technical effects. To avoid repetition, details are not described herein.
[0116] The processor is the processor in the electronic device in the above-mentioned embodiment. The readable storage medium comprises a computer readable storage medium, such as a computer readable memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0117] The embodiment of the present application also provides a computer program product, which comprises a computer program, wherein the computer program is executed by a processor to realize the above-mentioned firmware upgrade method of the kitchen appliance.
[0118] The processor is the processor in the electronic device in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0119] The chip provided by the embodiment of the application includes a processor and a communication interface. The communication interface is coupled with the processor. The processor is configured to execute programs or instructions, implement each process of the above-mentioned firmware upgrading method of the kitchen appliance, and achieve the same technical effects. To avoid repetition, details are not described herein.
[0120] It should be understood that the chip mentioned in the embodiment of the application can also be referred to as a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0121] It should be noted that in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of additional identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the application is not limited to the order of performing the functions as shown or discussed, but can also include performing the functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method can be performed in an order different from the described order, and various steps can also be added, omitted or combined. In addition, the features described with reference to some examples can be combined in other examples.
[0122] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk, etc.), including a plurality of instructions for making a terminal (which can be a mobile phone, computer, server or network equipment, etc.) execute the method described in each embodiment of the present application.
[0123] The embodiments of the present application are described above with reference to the drawings, but the present application is not limited to the specific embodiments described above, and the specific embodiments described above are merely illustrative, not restrictive, and a person of ordinary skill in the art can make many forms under the inspiration of the present application without departing from the purpose of the present application and the scope protected by the claims, all of which belong to the protection of the present application.
[0124] In the description of the present specification, the description referring to the terms "one embodiment", "some embodiments", "exemplary embodiment", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the exemplary description of the above terms does not necessarily mean the same embodiment or example. Also, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0125] Although the embodiments of the present application have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and variations can be made thereto without departing from the principles and spirit of the present application, and the scope of the present application is defined by the claims and their equivalents.
Claims
1. A kitchen appliance, characterized in that: include: Wireless communication module and Flash memory; The Flash memory includes a firmware storage area, a user program storage area and a picture resource storage area; The firmware storage area is used to store the firmware file obtained by the wireless communication module from the server; The user program storage area is used to store user programs; The image resource storage area is used to store static image resources; The static image resources are image resources that do not require regular updating and iteration.
2. The kitchen appliance according to claim 1, characterized in that The user program storage area is also used to store dynamic image resources; the dynamic image resources are image resources that need to be updated and iterated regularly.
3. The kitchen appliance according to claim 1, characterized in that Also includes a display screen; The display screen is used to display the static image resources and / or dynamic image resources.
4. The kitchen appliance according to claim 1, characterized in that The static image resources and dynamic image resources are in a target format; the target format is a format that can be addressed by a program and displayed on a display screen.
5. The kitchen appliance according to claim 1, characterized in that Also includes the main control chip; The main control chip is used to obtain the version of the firmware file from the server through the wireless communication module, and when the version of the firmware file is higher than the local firmware version of the kitchen appliance, download the firmware file from the server through the wireless communication module.
6. The kitchen appliance according to claim 5, characterized in that The main control chip is also used for: The firmware file is written from the firmware storage area to the user program storage area through the boot program in the Flash memory, so as to upgrade the firmware of the kitchen appliance.
7. The kitchen appliance according to claim 1, characterized in that The firmware file includes image resources.
8. The kitchen appliance according to claim 1, characterized in that The kitchen appliance is at least one of a range hood, a stove, a refrigerator, and an electric rice cooker.
9. A Flash memory, characterized in that: include: Wireless communication module and Flash memory; The Flash memory includes a firmware storage area, a user program storage area and a picture resource storage area; The firmware storage area is used to store the firmware file obtained by the wireless communication module from the server; The user program storage area is used to store user programs; The image resource storage area is used to store static image resources; The static image resources are image resources that do not require regular updating and iteration.
10. A method for upgrading the firmware of a kitchen appliance, characterized in that: Applicable to the kitchen appliance according to any one of claims 1 to 8; the method comprises: Obtaining the version of the firmware file from the server via the wireless communication module; downloading the firmware file from the server via the wireless communication module when the version of the firmware file is higher than the local firmware version of the kitchen appliance; The firmware file is written from the firmware storage area to the user program storage area through the boot program in the Flash memory, so as to upgrade the firmware of the kitchen appliance.