Data transmission method of kitchen appliance and kitchen appliance
By configuring WiFi modules and short-range wireless communication modules in kitchen appliances, a dual data transmission mechanism is implemented when the WiFi module fails, solving the problem of data loss caused by WiFi module failure and improving the reliability of data transmission and the safety of the kitchen environment.
Patent Information
- Application Number
- CN202510967491.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-14
- Publication Date
- 2025-10-10
AI Technical Summary
In household kitchen appliances, WiFi module failures can cause data transmission links to be interrupted, leading to data loss that is difficult to trace and analyze, affecting user safety management and accident investigations.
Configure a WiFi module and a short-range wireless communication module, such as a Bluetooth module. When the WiFi module fails, the target data to be uploaded is saved and sent to the mobile device through the short-range wireless communication module. The mobile device then forwards the data to the cloud server, realizing a dual transmission mechanism.
It reduces data loss caused by single transmission link failure, improves data transmission reliability, ensures that key data is uploaded in time when power supply is abnormal or the device is in low power mode, and enhances the safety of the kitchen environment.
Smart Images

Figure CN120769286A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of kitchen appliances, and in particular relates to a data transmission method for a kitchen appliance and a kitchen appliance. Background Art
[0002] In modern home kitchens, electrical appliances are becoming increasingly intelligent. Range hoods, stoves and other kitchen appliances not only have traditional functions, but can also monitor kitchen environment information in real time, helping users to promptly detect potential safety hazards and take corresponding measures.
[0003] To facilitate data transmission, related technologies integrate Wi-Fi modules within kitchen appliances, establishing a data transmission channel between the devices and cloud servers. However, when a home router malfunctions, or when the Wi-Fi modules within appliances like range hoods and stoves malfunction, the data transmission link is immediately interrupted, easily resulting in data loss and subsequent tracing and analysis difficulties, significantly hindering user safety management and incident investigations. Summary of the Invention
[0004] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a data transmission method for a kitchen appliance and a kitchen appliance to improve the reliability of data transmission of the kitchen appliance.
[0005] In a first aspect, the present application provides a data transmission method for a kitchen appliance, wherein the kitchen appliance includes a WiFi module and a short-range wireless communication module; the method includes:
[0006] When a WiFi module failure is detected, the target data to be uploaded is saved;
[0007] The short-range wireless communication module is started, and the target data is sent to the mobile device through the short-range wireless communication module, so that the mobile device sends the data obtained from the short-range wireless communication module to the cloud server.
[0008] According to the data transmission method for a kitchen appliance of the present application, upon detecting a fault in the WiFi module, target data to be uploaded is saved; the short-range wireless communication module is activated, and the target data is sent to a mobile device via the short-range wireless communication module, so that the mobile device transmits the data obtained from the short-range wireless communication module to a cloud server. In an embodiment of the present application, by configuring the kitchen appliance with both a WiFi module and a short-range wireless communication module, when a WiFi module fails, the target data to be uploaded is saved, and the short-range wireless communication module is activated to send the target data to a nearby mobile device, which is then forwarded to the cloud server. This dual transmission mechanism reduces the problem of data loss caused by the failure of a single transmission link. By using the mobile device as an intermediate transmission node, the data transmission path is broadened, thereby improving the reliability of data transmission from the kitchen appliance.
[0009] According to one embodiment of the present application, the method further includes:
[0010] Sending a first instruction to the WiFi module;
[0011] Receiving a second instruction fed back by the WiFi module based on the first instruction;
[0012] In a case where the second instruction includes a fault instruction, it is determined that a fault exists in the WiFi module.
[0013] In this embodiment, by sending a first instruction to the WiFi module and receiving a second instruction fed back by the WiFi module, it is determined that the WiFi module is faulty when the second instruction includes a fault instruction. This provides a clear basis for detecting WiFi module faults, thereby enabling timely and accurate detection of abnormal conditions of the WiFi module.
[0014] According to one embodiment of the present application, the method further includes:
[0015] Control the WiFi module to restart and determine whether the WiFi module restarts successfully;
[0016] If the restart is successful, turning off the short-range wireless communication module, comparing the target data with the first data sent by the short-range wireless communication module, and determining the second data that has not been sent in the target data;
[0017] The second data is sent to the cloud server through the WiFi module.
[0018] In this embodiment, after detecting a WiFi module failure and enabling the short-range wireless communication module to transmit data, the WiFi module is controlled to restart and it is determined whether the restart is successful. When the restart is successful, the short-range wireless communication module is turned off, and the target data is compared with the first data sent by the short-range wireless communication module to determine the second data that has not been sent, and the data is sent to the cloud server through the WiFi module. This achieves timely switching of the transmission mode after the WiFi module returns to normal, reduces resource waste caused by the simultaneous operation of the two modules, and ensures the complete upload of the target data through data comparison, reducing the occurrence of data duplication or omission.
[0019] According to one embodiment of the present application, controlling the WiFi module to restart and determining whether the WiFi module restarts successfully includes:
[0020] Sending a restart instruction to the WiFi module, and sending a third instruction to the WiFi module a preset time after sending the restart instruction;
[0021] receiving a fourth instruction fed back by the WiFi module based on the third instruction;
[0022] When the fourth instruction indicates that the WiFi module is in a networked state, it is determined that the WiFi module is restarted successfully.
[0023] In this embodiment, by sending a restart instruction to the WiFi module, sending a third instruction after a preset time and receiving a fourth instruction in response, the restart is determined to be successful when the fourth instruction indicates that the WiFi module is in a networked state, thereby accurately verifying the recovery status of the WiFi module.
[0024] According to one embodiment of the present application, the short-range wireless communication module includes a Bluetooth module;
[0025] Sending target data to a mobile device via a short-range wireless communication module includes:
[0026] In a case where there is a mobile device connected and paired with the Bluetooth module, sending the target data to the mobile device connected and paired with the Bluetooth module through the Bluetooth module;
[0027] In the absence of a mobile device connected and paired with the Bluetooth module, the Bluetooth module is controlled to broadcast target data to the mobile device via a target frequency band.
[0028] In this embodiment, by taking the Bluetooth module as a short-range wireless communication module, different data transmission strategies are adopted according to whether there is a connected and paired mobile device, that is, when there is a connected and paired device, the target data is directly transmitted through the Bluetooth module, and when there is no connected and paired device, the Bluetooth module is controlled to broadcast data to the mobile device in the target frequency band, thereby fully utilizing the advantages of short-range communication of the Bluetooth technology, improving the stability of data transmission between the paired mobile device, and widening the coverage of data transmission through broadcasting when there is no paired mobile device, so that even when the user does not pre-pair the mobile device, the data can be captured by the nearby mobile device and uploaded to the cloud server, further improving the reliability of the kitchen appliance data transmission.
[0029] According to an embodiment of the present application, the method further comprises:
[0030] Obtaining the pulse signal output by the zero-crossing circuit;
[0031] Identifying whether the power supply is abnormal according to the time interval between adjacent rising edges and falling edges in the pulse signal;
[0032] In the case of identifying the power supply abnormality, controlling the kitchen appliance to enter a low-power consumption operation mode.
[0033] In this embodiment, by obtaining the pulse signal output by the zero-crossing circuit and judging whether the power supply is abnormal by analyzing the time interval between adjacent rising edges and falling edges, the voltage fluctuation, overload or other power supply problems can be accurately identified, so that the kitchen appliance is controlled to enter a low-power consumption operation mode to reduce the energy consumption of the device and reduce the problems of appliance failure or data loss caused by unstable power supply.
[0034] According to an embodiment of the present application, the low-power consumption operation mode comprises:
[0035] Supplying power to the WiFi module and / or the short-range wireless communication module by the remaining power stored on the capacitor;
[0036] Alternatively, starting the backup battery module to supply power to the WiFi module and / or the short-range wireless communication module by the backup battery module.
[0037] In this embodiment, when the power supply abnormality is identified, the remaining power of the capacitor is used to supply power to the WiFi module and / or the short-range wireless communication module, so that the basic functions of the WiFi module and / or the short-range wireless communication module can be maintained for a short time, so that data can continue to be transmitted or saved; the backup battery module can also be started to provide power support for the WiFi module and / or the short-range wireless communication module, thereby reducing the problem of data loss or communication interruption caused by power interruption.
[0038] According to one embodiment of the present application, the kitchen appliance further comprises a sensor module; the sensor module is configured to detect air quality and / or gas concentration of an environment in which the kitchen appliance is located;
[0039] According to one embodiment of the present application, the method further comprises:
[0040] identifying whether the environment is in an abnormal state according to the air quality and / or the gas concentration;
[0041] transmitting the target data through the WiFi module or the short-range wireless communication module when the kitchen appliance is in the low-power consumption operation mode and the environment is in the abnormal state.
[0042] In this embodiment, the air quality and / or the gas concentration of the environment in which the kitchen appliance is located is detected by the sensor module, so that whether the environment is in an abnormal state can be accurately determined. When the kitchen appliance is in the low-power consumption operation mode and the environment is in the abnormal state, the target data can be transmitted to the cloud server or the mobile device through the WiFi module or the short-range wireless communication module, so that the key environmental safety data can be timely uploaded when the power supply is abnormal or the device enters the low-power consumption mode, thereby providing timely alarm and data support for the user and further enhancing the safety of the kitchen environment.
[0043] According to one embodiment of the present application, the method further comprises:
[0044] saving the target data when the kitchen appliance is in the low-power consumption operation mode and the environment is not in the abnormal state;
[0045] transmitting the target data through the WiFi module or the short-range wireless communication module when the kitchen appliance resumes power supply.
[0046] In this embodiment, when it is identified that the environment is not in the abnormal state, it indicates that the kitchen environment is relatively safe, and the target data can be temporarily saved, thereby reducing the excessive consumption of limited power due to frequent data transmission in the low-power consumption mode, so that the kitchen appliance can maintain operation for a longer time in the low-power consumption state, and sufficient energy is reserved for subsequent data transmission. When the kitchen appliance resumes power supply, the previously saved target data is transmitted to the cloud server or the mobile device through the WiFi module or the short-range wireless communication module, which not only balances the energy consumption, but also further improves the reliability of data transmission of the kitchen appliance.
[0047] In a second aspect, the present application provides a kitchen appliance comprising a WiFi module, a short-range wireless communication module and a controller;
[0048] The controller is configured to execute the data transmission method of the kitchen appliance according to any one of the above.
[0049] According to the kitchen appliance, in the case that it is detected that the WiFi module has a fault, target data to be uploaded is saved; a short-distance wireless communication module is started, and the target data is sent to a mobile device through the short-distance wireless communication module, so that the mobile device sends data acquired from the short-distance wireless communication module to a cloud server. In the embodiment of the application, the WiFi module and the short-distance wireless communication module are configured for the kitchen appliance. In the case that the WiFi module has a fault, the target data to be uploaded is saved, and the short-distance wireless communication module is started to send the target data to a mobile device nearby, which forwards the target data to the cloud server. The double transmission mechanism reduces the problem of data loss caused by a single transmission link fault, widens the data transmission path by taking the mobile device as an intermediate transmission node, and thus improves the reliability of data transmission of the kitchen appliance.
[0050] The one or more technical solutions described above in the embodiment of the application have at least one of the following technical effects:
[0051] According to the data transmission method of the kitchen appliance, in the case that it is detected that the WiFi module has a fault, target data to be uploaded is saved; a short-distance wireless communication module is started, and the target data is sent to a mobile device through the short-distance wireless communication module, so that the mobile device sends data acquired from the short-distance wireless communication module to a cloud server. In the embodiment of the application, the WiFi module and the short-distance wireless communication module are configured for the kitchen appliance. In the case that the WiFi module has a fault, the target data to be uploaded is saved, and the short-distance wireless communication module is started to send the target data to a mobile device nearby, which forwards the target data to the cloud server. The double transmission mechanism reduces the problem of data loss caused by a single transmission link fault, widens the data transmission path by taking the mobile device as an intermediate transmission node, and thus improves the reliability of data transmission of the kitchen appliance.
[0052] Further, in some embodiments, the WiFi module is sent a first instruction, and a second instruction fed back by the WiFi module is received. In the case that the second instruction contains a fault instruction, it is determined that the WiFi module has a fault. The detection of the fault of the WiFi module provides an explicit judgment basis, so that the abnormal state of the WiFi module can be found in time and accurately.
[0053] Furthermore, in some embodiments, after detecting a WiFi module failure and enabling the short-range wireless communication module to transmit data, the WiFi module is controlled to restart and it is determined whether the restart is successful. When the restart is successful, the short-range wireless communication module is turned off, and the target data is compared with the first data sent by the short-range wireless communication module to determine the second data that has not been sent, and the data is sent to the cloud server through the WiFi module. This enables timely switching of the transmission mode after the WiFi module returns to normal, reduces resource waste caused by the simultaneous operation of the two modules, and ensures the complete upload of the target data through data comparison, reducing the occurrence of data duplication or omission.
[0054] Furthermore, in some embodiments, by sending a restart instruction to the WiFi module, sending a third instruction after a preset time and receiving a fourth instruction in feedback, the restart is determined to be successful when the fourth instruction indicates that the WiFi module is in an online state, and the recovery status of the WiFi module can be accurately verified.
[0055] Furthermore, in some embodiments, by using the Bluetooth module as a short-range wireless communication module, different data sending strategies are adopted according to whether there is a connected paired mobile device. That is, when there is a connected paired device, the target data is sent directly through the Bluetooth module, and when there is no connected paired device, the Bluetooth module is controlled to broadcast data to the mobile device in the target frequency band. The advantages of short-range communication of Bluetooth technology are fully utilized, which not only improves the stability of data transmission with paired mobile devices, but also can broaden the coverage of data transmission by broadcasting when there is no paired mobile device. Even if the user has not pre-paired the mobile device, the data can be captured by nearby mobile devices and uploaded to the cloud server, further improving the reliability of data transmission of kitchen appliances.
[0056] Furthermore, in some embodiments, by obtaining the pulse signal output by the zero-crossing circuit and determining whether the power supply is abnormal by analyzing the time interval between adjacent rising edges and falling edges, voltage fluctuations, overloads or other power supply problems can be accurately identified, thereby controlling the kitchen appliances to enter a low-power operation mode to reduce the energy consumption of the equipment and reduce the problems of appliance failure or data loss that may be caused by unstable power supply.
[0057] Furthermore, in some embodiments, when a power supply abnormality is identified, the remaining power of the capacitor is used to power the WiFi module and / or the short-range wireless communication module, thereby maintaining the basic functions of the WiFi module and / or the short-range wireless communication module for a short period of time, so that data can continue to be transmitted or saved; the backup battery module can also be started to provide power support for the WiFi module and / or the short-range wireless communication module through the backup battery, thereby reducing data loss or communication interruption problems caused by power interruption.
[0058] Furthermore, in some embodiments, by detecting the air quality and / or gas concentration of the environment in which the kitchen appliance is located through a sensor module, it is possible to accurately determine whether the environment is in an abnormal state. When the kitchen appliance is in a low-power operation mode and the environment is in an abnormal state, the target data can be transmitted to a cloud server or mobile device through a WiFi module or a short-range wireless communication module, ensuring that when the power supply is abnormal or the device enters a low-power mode, key environmental safety data can still be uploaded in a timely manner, thereby providing users with timely alarms and data support, further enhancing the safety of the kitchen environment.
[0059] Furthermore, in some embodiments, when it is identified that the environment is not in an abnormal state, it means that the kitchen environment is relatively safe, and the target data can be temporarily saved, reducing the excessive consumption of limited power due to frequent data transmission in low-power mode, so that the kitchen appliances can maintain operation for a longer time in a low-power state, and reserve sufficient energy for subsequent data transmission. When the kitchen appliances resume power, the previously saved target data is transmitted to the cloud server or mobile device through the WiFi module or the short-range wireless communication module, which not only balances the energy consumption, but also further improves the reliability of data transmission of the kitchen appliances.
[0060] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments with reference to the accompanying drawings, in which:
[0062] Figure 1 is a schematic diagram of a data transmission link provided in an embodiment of the present application;
[0063] Figure 2 1 is a flow chart of a data transmission method for a kitchen appliance provided in an embodiment of the present application;
[0064] Figure 3 1 is a waveform diagram of a voltage signal and a pulse signal of an AC power supply provided in an embodiment of the present application;
[0065] Figure 4 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0067] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0068] The data transmission method, device and storage medium of the kitchen appliance provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0069] The data transmission method for a kitchen appliance provided in an embodiment of the present application may be executed by an electronic device or a functional module or functional entity in the electronic device that can implement the data transmission method for the kitchen appliance. For example, the electronic device may be a kitchen appliance or a controller of a kitchen appliance. The data transmission method for a kitchen appliance provided in an embodiment of the present application is described below using the electronic device as an example of the execution entity.
[0070] Kitchen appliances are electrical devices used in home kitchens for cooking, food preparation, cleaning, and disinfection. Powered by electricity, they significantly improve the efficiency and convenience of kitchen tasks. Examples include stoves, range hoods, rice cookers, electric ovens, microwave ovens, and dishwashers.
[0071] The kitchen appliance can generally include a controller, an execution component, a sensor module, a data transmission module, and the like. The controller can generally include a microprocessor, a memory, and related control circuitry responsible for receiving user operation instructions, managing and controlling the running state of the appliance, and the like. For example, in a range hood, the controller can accurately control the working state of the range hood according to the gear and time set by the user. Different kitchen appliances generally have different execution components, such as a fan for a range hood, and an ignition system, a gas system, and the like for a cooktop. Different kitchen appliances can also include different sensor modules, such as temperature sensors, smoke sensors, gas sensors, and the like, which can collect various types of data in real time and feed back to the controller. The data transmission module is a component that enables communication between the kitchen appliance and external devices or cloud servers. The data transmission module is responsible for transmitting various types of data generated during the operation of the kitchen appliance (such as state data of the kitchen appliance, user usage habit data, environmental data detected by the sensor, and the like) to the outside, and can also receive control instructions from the outside.
[0072] In the embodiments of the present application, the data transmission module can include a WiFi module. The WiFi module enables the kitchen appliance to conveniently interact with the cloud server by connecting to the home network. For example, the user can remotely view the list of ingredients in the refrigerator through a mobile phone application, or remotely start the oven to preheat, and the like. The data transmission link between the kitchen appliance and the cloud server is shown in Figure 1 As shown, the kitchen appliance is connected to the router through the WiFi module, and can transmit data to the router through the WiFi module, and then transmit the data to the cloud server through the wired network by the router.
[0073] In the embodiments of the present application, the data transmission module can also include a short-range wireless communication module. The short-range wireless communication module is used for communication between devices within a short distance. The short-range wireless communication module can include a Bluetooth module, a ZigBee module, a Z-Wave module, and the like. As shown in Figure 1 As shown, the kitchen appliance can be connected to the user's mobile device through the short-range wireless communication module, transmit data to the mobile device through the short-range wireless communication module, and then transmit the data to the cloud server through the cellular network by the mobile device. The mobile device can be a mobile phone, a tablet computer, a notebook computer, a smart watch, and the like, and the embodiments of the present application do not limit the same.
[0074] As shown in Figure 2 The data transmission method of the kitchen appliance according to the embodiments of the present application includes steps 210 and 220.
[0075] Step 210, in the case where it is detected that the WiFi module has a fault, saving target data to be uploaded.
[0076] In the data transmission process of the kitchen appliance, the target data is the data that needs to be uploaded from the kitchen appliance to the cloud server. The target data can include the running state information of the kitchen appliance (such as the running time of the hood, the wind speed, the fire size of the hob, the temperature setting of the oven, etc.), the fault alarm information of the kitchen appliance (such as the module fault code, the sensor abnormality, etc.), the user's usage habit data (such as the commonly used function, the cooking time, etc.), the environmental state data (such as the air quality, the gas concentration, etc.), and the energy consumption data of the kitchen appliance, etc. Through the target data, the functions of remote monitoring, fault diagnosis, user behavior analysis, safety management, accident analysis, optimization and upgrading of the kitchen appliance can be realized. For example, by uploading the target data to the cloud server, the user can check the state of the kitchen appliance at any time through the mobile application or other terminal devices, and the manufacturer can also improve the product and optimize the service according to the data feedback.
[0077] In some embodiments, the target data can be uploaded during the operation of the kitchen appliance, for example, after the kitchen appliance completes a operation task, or at a preset time interval during the operation of the kitchen appliance. For example, when the hob completes a cooking process, the temperature change curve and the cooking time during the cooking process can be uploaded to the cloud server, so that the user can view and analyze the cooking record. The target data can also be uploaded when the kitchen appliance detects that the running state of itself is abnormal, for example, the wind speed sensor of the hood detects that the wind speed is abnormal, or the thermocouple of the hob detects that the fire is abnormal, and the fault alarm information can be uploaded to the cloud server as the target data, so that the user or the maintenance personnel can understand the fault condition of the equipment in time and take corresponding measures. The target data can also be uploaded when the kitchen appliance detects that the environment is abnormal, for example, the air quality sensor of the hood detects that the PM2.5 exceeds the preset value, or the gas sensor of the hob detects that the gas concentration exceeds a certain concentration, and the detected data can be uploaded to the cloud server as the target data, so that the cloud server can generate warning information according to the target data and send it to the user's mobile phone to remind the user.
[0078] In an embodiment of the present application, the WiFi module may be used to upload the target data. However, the WiFi module may have various fault conditions, such as the WiFi module being disconnected from the network, failing, or failing to upload data. When a fault is detected in the WiFi module, in order to reduce the loss of target data, the target data to be uploaded may be saved. The storage medium for saving the target data may be a non-volatile memory, such as a flash memory (Flash Memory), an EEPROM (Electrically Erasable Programmable Read-Only Memory), etc. The non-volatile memory has the characteristic of being able to save data even when the power is off, so that the target data can be safely stored inside the kitchen appliance during the WiFi module failure and will not be lost due to power outages or other unexpected situations.
[0079] In some embodiments, it is possible to detect whether the WiFi module is faulty in different ways. For example, the connection status between the WiFi module and the router can be regularly detected. If the WiFi signal cannot be detected within a preset time interval (for example, every 5 minutes), or a stable connection cannot be established with the router, it can be determined that the WiFi module may have a network failure. It is also possible to detect whether the upload function of the WiFi module is normal by trying to send test data to the cloud server. If the test data fails to be sent for multiple consecutive times (for example, 3 times), it can be determined that the WiFi module may have a failure or upload failure. It is also possible to determine whether the WiFi module is working properly by detecting the hardware status indicator signal of the WiFi module (such as the power indicator light of the module, the connection status indicator light, etc.). If the hardware status indicator signal is abnormal, it can also be determined that the WiFi module may have a fault. Of course, it is also possible to detect whether the WiFi module is faulty in other ways, and the embodiments of the present application are not limited to this.
[0080] Step 220: Start the short-range wireless communication module and send the target data to the mobile device via the short-range wireless communication module, so that the mobile device sends the data obtained from the short-range wireless communication module to the cloud server.
[0081] In the embodiment of the present application, the short-range wireless communication module can be used as a component to achieve data transmission redundancy and reliability. When the WiFi module fails and cannot normally upload the target data to the cloud server, the short-range wireless communication module can be used as a backup transmission method.
[0082] In some embodiments, the short-range wireless communication module can establish a direct communication connection with a mobile device, such as a mobile phone or tablet, located near the kitchen appliance, thereby enabling data transfer. In this way, even if the WiFi network is unavailable, data can still be indirectly uploaded to the cloud server through the mobile device.
[0083] Specifically, when the WiFi module fails, the startup process of the short-range wireless communication module can be triggered to check whether the target data to be uploaded has been saved. If there is target data to be uploaded, it can be further confirmed whether the mobile device is within the communication range and a communication connection can be established with the mobile device. Taking the short-range wireless communication module as a Bluetooth module as an example, the Bluetooth module can broadcast its own device information, such as device name, device type, etc., and scan whether there are any mobile devices responding around within a preset time range (for example, 30 seconds). When the mobile device detects the Bluetooth signal of the kitchen appliance, the user can perform pairing operations through the application or system settings interface on the mobile device. After the pairing is successful, a Bluetooth communication link will be established between the kitchen appliance and the mobile device. In the process of establishing a communication connection, the security of the communication can be improved through encryption and authentication mechanisms to reduce the possibility of data being intercepted or tampered with by unauthorized devices.
[0084] After successfully establishing a short-range wireless communication connection, the target data stored in the non-volatile memory can be sent to the mobile device via the short-range wireless communication module. After the mobile device receives the data, it will store it locally and upload it to the cloud server through its own network connection, such as a mobile data network or WiFi network.
[0085] Uploading data from mobile devices to the cloud server is automatically done by the mobile device application, without any additional user intervention. For example, when the target data is sent to the user's mobile phone via the Bluetooth module, the kitchen appliance management application on the phone will automatically detect the new data and upload it to the cloud server if the mobile device has an Internet connection.
[0086] According to the data transmission method for a kitchen appliance of the present application, upon detecting a failure in the WiFi module, target data to be uploaded is saved; the short-range wireless communication module is activated, and the target data is sent to a mobile device via the short-range wireless communication module, so that the mobile device transmits the data obtained from the short-range wireless communication module to a cloud server. In an embodiment of the present application, by configuring the kitchen appliance with both a WiFi module and a short-range wireless communication module, when a WiFi module fails, the target data to be uploaded is saved, and the short-range wireless communication module is activated to send the target data to a nearby mobile device, which is then forwarded to the cloud server. This dual transmission mechanism reduces the problem of data loss caused by the failure of a single transmission link. By using the mobile device as an intermediate transmission node, the data transmission path is broadened, thereby improving the reliability of data transmission from the kitchen appliance.
[0087] In some embodiments, the method further comprises:
[0088] Sending a first instruction to the WiFi module;
[0089] Receiving a second instruction fed back by the WiFi module based on the first instruction;
[0090] In a case where the second instruction includes a fault instruction, it is determined that a fault exists in the WiFi module.
[0091] In this embodiment, a detection operation may be initiated to detect whether the WiFi module is operating normally. Specifically, a first instruction may be sent to the WiFi module, and a second instruction fed back by the WiFi module may be used to determine whether the WiFi module is faulty.
[0092] The first instruction can be a predefined instruction for triggering the response mechanism of the WiFi module, causing the WiFi module to perform internal detection operations and return corresponding status information. For example, the first instruction can be a simple query instruction for requesting the WiFi module to report basic information such as its current connection status, signal strength, network configuration, etc. For example, the first instruction can be sent to the WiFi module through an internal communication interface, such as SPI (Serial Peripheral Interface, serial peripheral interface), I2C (Inter-Integrated Circuit, internal integrated circuit), etc. The content of the first instruction can be a specific command code, such as "5a 01 00 00", which instructs the WiFi module to perform self-detection and return the result.
[0093] After receiving the first instruction, the WiFi module generates a feedback instruction, namely the second instruction, based on its internal operating status and detection results. The content of the second instruction may include the WiFi module's connection status (such as whether it is connected to the router), signal strength, network configuration information, and the module's own fault code. For example, if the WiFi module is functioning normally, it may return a second instruction indicating a connection status of "connected" and a signal strength of "good", such as "5a 01 0010". If the WiFi module detects a fault, it will return a second instruction containing a fault instruction, such as "5a 01 00 01".
[0094] Of course, the fault instruction can also be expressed in other forms. For example, the fault instruction "0x01" may indicate that the WiFi module cannot connect to the router, the fault instruction "0x02" may indicate that the module's antenna is faulty, and the fault instruction "0x03" may indicate a hardware failure. After receiving the second instruction, if the second instruction includes the fault instruction, it can be determined that the WiFi module is faulty.
[0095] In this embodiment, by sending a first instruction to the WiFi module and receiving a second instruction fed back by the WiFi module, it is determined that the WiFi module is faulty when the second instruction includes a fault instruction. This provides a clear basis for detecting WiFi module faults, thereby enabling timely and accurate detection of abnormal conditions of the WiFi module.
[0096] In some embodiments, the method further comprises:
[0097] Control the WiFi module to restart and determine whether the WiFi module restarts successfully;
[0098] If the restart is successful, turning off the short-range wireless communication module, comparing the target data with the first data sent by the short-range wireless communication module, and determining the second data that has not been sent in the target data;
[0099] The second data is sent to the cloud server through the WiFi module.
[0100] In this embodiment, when a fault is detected in the WiFi module, in addition to switching to the backup short-range wireless communication module for data transmission, you can also try to repair the WiFi module, for example, by restarting the WiFi module to repair the WiFi module, because restarting can solve some temporary or software-level problems.
[0101] Specifically, a reboot command can be sent to the Wi-Fi module. The reboot command can be a command code, such as "5a a50000". After receiving the reboot command, the Wi-Fi module will trigger a reboot process. During the reboot process, the Wi-Fi module can reinitialize its hardware and software configuration and try to reconnect to the network.
[0102] To determine whether the reboot operation was successful, you can retest the WiFi module's status after the reboot is complete. For example, you can send a test command to the WiFi module and then determine whether the reboot was successful based on the feedback from the WiFi module. If the WiFi module successfully connects to the network and returns normal feedback, the reboot operation is considered successful.
[0103] When the WiFi module is successfully restarted and resumes normal functions, the current data transmission path can be adjusted, the short-range wireless communication module can be turned off, and the communication connection between the short-range wireless communication module and the mobile device can be stopped.
[0104] After shutting down the short-range wireless communication module, the saved target data needs to be sorted so that it can be fully uploaded to the cloud server. During the WiFi module failure, some data may have been sent to the mobile device via the short-range wireless communication module and uploaded to the cloud server by the mobile device. Therefore, this data needs to be compared to determine which data has not been uploaded.
[0105] Specifically, the target data stored in the non-volatile memory can be compared with the first data transmitted by the short-range wireless communication module. The first data is the data successfully transmitted to the mobile device via the short-range wireless communication module during the WiFi module failure. This comparison can identify the portion of the target data that has not yet been uploaded. This portion of data is the second data.
[0106] After determining the second data that has not been uploaded, these data can be sent to the cloud server through the WiFi module that has returned to normal.
[0107] In this embodiment, after detecting a WiFi module failure and enabling the short-range wireless communication module to transmit data, the WiFi module is controlled to restart and it is determined whether the restart is successful. When the restart is successful, the short-range wireless communication module is turned off, and the target data is compared with the first data sent by the short-range wireless communication module to determine the second data that has not been sent, and the data is sent to the cloud server through the WiFi module. This achieves timely switching of the transmission mode after the WiFi module returns to normal, reduces resource waste caused by the simultaneous operation of the two modules, and ensures the complete upload of the target data through data comparison, reducing the occurrence of data duplication or omission.
[0108] In some embodiments, the WiFi module is controlled to restart, and whether the WiFi module restarts successfully is determined, including:
[0109] sending a restart instruction to the WiFi module, and sending a third instruction to the WiFi module after a preset time of sending the restart instruction;
[0110] receiving a fourth instruction fed back by the WiFi module based on the third instruction;
[0111] in a case where the fourth instruction indicates that the WiFi module is in a networked state, determining that the WiFi module restarts successfully.
[0112] In this embodiment, a restart instruction can be sent to the WiFi module, and the restart instruction can be a command code such as "5a a5 00 00". After receiving the restart instruction, the WiFi module triggers a restart process of the WiFi module. In the restart process, the WiFi module can reinitialize hardware and software configurations and try to reconnect to the network.
[0113] In order to give the WiFi module enough time to complete the restart process, a preset time can be waited after sending the restart instruction. The preset time can be set according to the hardware and software characteristics of the WiFi module, for example, it can be 30 seconds or 1 minute. After waiting for the preset time, a third instruction can be sent to the WiFi module, and the third instruction can also be a command code such as "5a 02 00 00". After receiving the third instruction, the WiFi module generates a feedback instruction according to the current running state, that is, a fourth instruction. The fourth instruction can also be a command code. Different command codes indicate different information, for example, "5a 02 00 01" indicates that the WiFi module is in a networked state, and "5a 02 00 00" indicates that the WiFi module is not in a networked state.
[0114] When receiving the fourth instruction returned by the WiFi module, the content of the fourth instruction can be parsed. If the fourth instruction explicitly indicates that the WiFi module is in a networked state, that is, has successfully connected to the network and can normally communicate, it can be determined that the restart operation of the WiFi module is successful.
[0115] In this embodiment, by sending a restart instruction to the WiFi module, sending a third instruction after a preset time and receiving a fourth instruction fed back by the WiFi module, and determining that the restart is successful when the fourth instruction indicates that the WiFi module is in a networked state, the recovery state of the WiFi module can be accurately verified.
[0116] In some embodiments, the short-distance wireless communication module includes a Bluetooth module;
[0117] Sending target data to a mobile device via a short-range wireless communication module includes:
[0118] In a case where there is a mobile device connected and paired with the Bluetooth module, sending the target data to the mobile device connected and paired with the Bluetooth module through the Bluetooth module;
[0119] In the absence of a mobile device connected and paired with the Bluetooth module, the Bluetooth module is controlled to broadcast target data to the mobile device via a target frequency band.
[0120] Bluetooth modules offer low power consumption, ease of integration, and widespread support, making them convenient for communicating with mobile devices. Using Bluetooth, kitchen appliances can send targeted data to mobile devices when the Wi-Fi module fails. The mobile devices can then forward data to the cloud server.
[0121] The Bluetooth module operates based on the Bluetooth protocol and can establish a stable connection with mobile devices through pairing. When the kitchen appliance detects a WiFi module failure and activates the Bluetooth module, it can use the Bluetooth module's scanning function to check for paired mobile devices. Specifically, the Bluetooth module broadcasts its device information and searches for paired mobile devices nearby.
[0122] If there is a mobile device that is paired with the Bluetooth module, the target data can be sent directly to the mobile device via the Bluetooth module. After the mobile device receives the data, it will store the data locally and upload the data to the cloud server through its own network connection, such as mobile data or WiFi.
[0123] In the absence of a mobile device connected and paired with the Bluetooth module, the Bluetooth module is controlled to broadcast the target data to the attached mobile device via the target frequency band. The target frequency band can be a public frequency band specified by the Bluetooth protocol, such as the 2.4GHz frequency band. During the broadcast process, the Bluetooth module encapsulates the target data into a broadcast packet and then broadcasts it on the target frequency band. Mobile devices within the target frequency band can receive the broadcast data. After receiving the broadcast data, the mobile device can store the received data and upload the data to the cloud server via its own network connection. In this embodiment, by using the Bluetooth module as a short-range wireless communication module, different data transmission strategies are adopted depending on whether there is a connected paired mobile device. That is, when there is a connected paired device, the target data is directly sent via the Bluetooth module. When there is no connected paired device, the Bluetooth module is controlled to broadcast the data to the mobile device using the target frequency band. This fully utilizes the advantages of Bluetooth technology's short-range communication, not only improving the stability of data transmission between paired mobile devices, but also expanding the coverage of data transmission through broadcasting when there are no paired mobile devices. Even if the user has not pre-paired a mobile device, data can be captured by nearby mobile devices and uploaded to the cloud server, further improving the reliability of data transmission for kitchen appliances.
[0124] In some embodiments, the method further comprises:
[0125] Obtaining the pulse signal output by the zero-crossing circuit;
[0126] Identify whether power supply is abnormal based on the time interval between adjacent rising and falling edges in the pulse signal;
[0127] When power supply anomalies are detected, the kitchen appliances are controlled to enter a low-power operation mode.
[0128] In this embodiment, a zero-crossing circuit can be used to monitor the power supply signal to promptly detect changes in the power supply status. A zero-crossing circuit is a circuit that detects the zero-crossing point of the AC power supply voltage. Typically, it includes components such as diodes and voltage regulators, and converts AC power into a pulse signal that can be recognized by the circuit. Based on this pulse signal, it can be used to determine whether there is a power supply anomaly.
[0129] Specifically, such as Figure 3 As shown, the zero-crossing circuit converts the sinusoidal voltage signal of the AC power supply into a series of pulse signals, where Figure 3 The upper part shows the waveform of the AC power supply's sinusoidal voltage signal, while the lower part shows the waveform of the pulse signal. In the pulse signal waveform, a vertical line transitioning from a low level to a high level represents a rising edge, while a vertical line transitioning from a high level to a low level represents a falling edge. Whenever the sinusoidal voltage signal crosses zero, the pulse signal generates a rising and falling edge, forming a narrow pulse.
[0130] Under normal power supply conditions, the frequency of the AC power supply is stable. For example, in most countries, the frequency of household electricity is 50Hz or 60Hz, so the time interval between adjacent rising edges and falling edges of the pulse signal should be fixed.
[0131] The time interval between the rising and falling edges of adjacent pulse signals can be compared with a preset normal time interval. If the difference between the time interval and the preset value is within a certain range, it indicates that the power supply is normal. If the time interval deviates significantly, such as being too long, or the pulse signal is completely missing, it indicates that the power supply is abnormal, such as a power outage.
[0132] When the controller of the kitchen appliance detects a power supply anomaly, it can switch to a low-power operation mode to protect the key functions of the kitchen appliance and reduce data loss.
[0133] In low-power operation mode, some non-critical modules and functions can be turned off, such as some auxiliary heating elements, display screens, etc., while retaining the operation of critical modules such as WiFi modules and short-range wireless communication modules.
[0134] In this embodiment, by obtaining the pulse signal output by the zero-crossing circuit and determining whether the power supply is abnormal by analyzing the time interval between adjacent rising edges and falling edges, voltage fluctuations, overloads or other power supply problems can be accurately identified, thereby controlling the kitchen appliances to enter a low-power operation mode to reduce the energy consumption of the equipment and mitigate the problems of appliance failure or data loss that may be caused by unstable power supply.
[0135] In some embodiments, the low power operating mode includes:
[0136] The WiFi module and / or the short-range wireless communication module are powered by the remaining power stored in the capacitor;
[0137] Alternatively, the backup battery module is started to supply power to the WiFi module and / or the short-range wireless communication module.
[0138] In this embodiment, the low power operation mode is mainly used to maintain the operation of key modules when the main power supply is unavailable or the kitchen appliances are in a low power state, so as to improve the continuity and reliability of data transmission.
[0139] In the low-power operation mode, the remaining power stored in the capacitor can be used to power the key modules. The capacitor is an electronic component that can store electrical energy. When the kitchen appliance is operating normally, the capacitor can accumulate a certain amount of power, and release this power for power supply when needed. The advantage of this power supply method is fast response speed, which can provide stable power support for the module in a short time. When it is detected that the main power supply is unavailable or the power is insufficient, the low-power operation mode can be switched to, at this time, the capacitor power supply mechanism is started, and the remaining power stored in the capacitor is distributed to the WiFi module and / or short-range wireless communication module. For example, if the kitchen appliance needs to send emergency data, such as fault alarm information, to the cloud server in a power failure situation, the capacitor power supply can provide temporary power support for the WiFi module, so that the WiFi module can complete the data upload task.
[0140] In addition to using capacitor power supply, backup battery module can also be started to supply power. The backup battery module is a separate power supply unit, which can be a built-in rechargeable battery or an external backup battery pack.
[0141] When the kitchen appliance enters the low-power operation mode, the backup battery module can be started. The backup battery module is connected to the WiFi module and / or short-range wireless communication module through a special circuit for power supply.
[0142] In this embodiment, when the power supply anomaly is identified, the remaining power of the capacitor is used to power the WiFi module and / or short-range wireless communication module, so as to maintain the basic functions of the WiFi module and / or short-range wireless communication module in a short time, so that data can continue to be transmitted or saved; the backup battery module can also be started to provide power support for the WiFi module and / or short-range wireless communication module, reducing the problem of data loss or communication interruption caused by power supply interruption.
[0143] In some embodiments, the kitchen appliance further comprises a sensor module; the sensor module is used to detect the air quality and / or gas concentration of the environment in which the kitchen appliance is located;
[0144] The method further comprises:
[0145] According to the air quality and / or gas concentration, it is identified whether the environment is in an abnormal state;
[0146] In the case that the kitchen appliance is in the low-power operation mode and the environment is in the abnormal state, the target data is transmitted through the WiFi module or the short-range wireless communication module.
[0147] In this embodiment, the kitchen appliance is also equipped with a sensor module for monitoring various parameters of the kitchen environment. For example, the sensor module may include an air quality sensor for detecting air quality in the kitchen appliance's environment, such as carbon monoxide concentration and PM2.5 concentration. The sensor module may also include a gas concentration sensor for detecting gas concentration in the kitchen appliance's environment. The sensor module can be installed inside or outside the kitchen appliance, enabling real-time collection of environmental data.
[0148] The system receives data such as air quality and gas concentration collected by the sensor module and uses this data to determine whether the kitchen environment is abnormal. Under normal circumstances, air quality indicators (such as carbon monoxide concentration and PM2.5 concentration) and gas concentration in the kitchen environment are within safe ranges. If air quality indicators exceed standards or gas concentration increases abnormally, indicating poor air quality or a gas leak, the system can determine that the environment is abnormal.
[0149] When a kitchen appliance enters low-power mode, it prioritizes maintaining critical functions. If the sensor module detects an abnormal environment, it activates an emergency data transmission mechanism, transmitting target data to a cloud server via the WiFi module. If the WiFi module fails, the target data is transmitted to a mobile device via the short-range wireless communication module, which then transmits the target data to the cloud server. This target data can include abnormal environmental data detected by the sensor module (such as air quality indicators and gas concentration), the current status of the kitchen appliance (such as the activation time of the low-power mode), and other important safety information. This allows users to promptly understand the safety status of the kitchen environment and facilitate subsequent accident investigation and analysis.
[0150] In this embodiment, by detecting the air quality and / or gas concentration of the environment in which the kitchen appliance is located through the sensor module, it is possible to accurately determine whether the environment is in an abnormal state. When the kitchen appliance is in a low-power operation mode and the environment is in an abnormal state, the target data can be transmitted to a cloud server or mobile device through a WiFi module or a short-range wireless communication module, ensuring that when the power supply is abnormal or the device enters a low-power mode, key environmental safety data can still be uploaded in a timely manner, thereby providing users with timely alarms and data support, further enhancing the safety of the kitchen environment.
[0151] In some embodiments, the method further comprises:
[0152] When the kitchen appliance is in a low-power operation mode and the environment is not in an abnormal state, saving the target data;
[0153] When the power supply of the kitchen appliance is restored, the target data is transmitted via the WiFi module or the short-range wireless communication module.
[0154] In this embodiment, when it is detected that the environment is in a normal state, that is, the air quality is good and there is no abnormality such as gas leakage, the kitchen appliance will enter a "standby" state to wait for power to be restored.
[0155] In this case, the kitchen appliance won't immediately transmit data because the environment is secure and the appliance is in low-power mode. Transmitting data at this time could consume limited power and affect normal operation until power is restored. Therefore, the target data can be temporarily stored in non-volatile memory and transmitted after power is restored.
[0156] Specifically, when power is restored, the kitchen appliance can switch from low-power operation mode back to normal operation mode. The appliance can also check whether there is target data to be transmitted in the non-volatile memory. If so, the appliance initiates a data transmission process, transmitting the target data to the cloud server via the WiFi module. If the WiFi module fails, the target data is transmitted to the mobile device via the short-range wireless communication module, and the mobile device then transmits the target data to the cloud server.
[0157] In this embodiment, when it is identified that the environment is not in an abnormal state, it means that the kitchen environment is relatively safe, and the target data can be temporarily saved, reducing the excessive consumption of limited power due to frequent data transmission in low-power mode, so that the kitchen appliance can maintain operation for a longer time in a low-power state, and reserve sufficient energy for subsequent data transmission. When the kitchen appliance resumes power, the previously saved target data is transmitted to the cloud server or mobile device through the WiFi module or short-range wireless communication module, which not only balances energy consumption, but also further improves the reliability of data transmission of the kitchen appliance.
[0158] The embodiment of the present application further provides a kitchen appliance, comprising a WiFi module, a short-range wireless communication module, and a controller;
[0159] A controller is used to execute any of the above-mentioned data transmission methods for kitchen appliances.
[0160] The kitchen appliance according to the application, by saving the target data to be uploaded in the case of detecting that the WiFi module has a fault; starting the short-distance wireless communication module, and sending the target data to the mobile device through the short-distance wireless communication module, so that the mobile device sends the data acquired from the short-distance wireless communication module to the cloud server. The embodiment of the application configures the WiFi module and the short-distance wireless communication module for the kitchen appliance, saves the target data to be uploaded when the WiFi module fails, and starts the short-distance wireless communication module to send the target data to the mobile device nearby, which is forwarded to the cloud server by the mobile device. The double transmission mechanism reduces the data loss problem caused by the failure of a single transmission link, widens the data transmission path by means of the mobile device as an intermediate transmission node, and thus improves the reliability of data transmission of the kitchen appliance.
[0161] As shown in Figure 4 The embodiment of the 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. The program is executed by the processor 401 to realize each process of the data transmission method embodiment of the kitchen appliance, and the same technical effects can be achieved. To avoid repetition, details are not described here.
[0162] The embodiment of the application also provides a non-transitory computer readable storage medium, which stores a computer program. The computer program is executed by a processor to realize each process of the data transmission method embodiment of the kitchen appliance, and the same technical effects can be achieved. To avoid repetition, details are not described here.
[0163] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer readable memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0164] The embodiment of the application also provides a computer program product, which comprises a computer program. The computer program is executed by a processor to realize the data transmission method of the kitchen appliance.
[0165] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer readable memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0166] The embodiment of the application also provides a chip, which comprises a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run a program or an instruction to realize each process of the data transmission method embodiment of the kitchen appliance, and the same technical effects can be achieved. To avoid repetition, details are not described here.
[0167] It should be understood that the chip mentioned in the embodiments of the present application can also be referred to as a system-level chip, a system chip, a chip system, or a system-on-chip, etc.
[0168] It should be noted that in this document, the terms "comprise", "comprising", or any other variant thereof are intended to cover non-exclusive inclusions, so that processes, methods, articles, or devices that comprise a series of elements not only include those elements, but also include other elements not explicitly listed, or include elements inherent to such processes, methods, articles, or devices. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but can also include performing 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 that described, and various steps can also be added, omitted, or combined. In addition, the features described with reference to certain examples can be combined in other examples.
[0169] 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 the 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), 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.
[0170] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above specific embodiments, the above specific embodiments are only illustrative, not limiting, and those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the protection scope of the claims.
[0171] In the description of the application, reference has been made to descriptive terms such as "one embodiment", "some embodiments", "an embodiment", "example", "specific example" or "some examples" etc. It is emphasized that each of these terms refers to a specific feature, structure, material or characteristic described in connection with a particular embodiment or example. The descriptive terms are not necessarily referring to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0172] While the embodiments of the application have been shown and described, it is to be understood that the embodiments described are only by way of example and that various changes, modifications, substitutions and alterations can be made thereto without departing from the spirit and scope of the application as set forth in the claims and equivalents thereof.
Claims
1. A data transmission method for a kitchen appliance, characterized in that: The kitchen appliance includes a WiFi module and a short-range wireless communication module; the method includes: When a fault is detected in the WiFi module, the target data to be uploaded is saved; The short-range wireless communication module is started, and the target data is sent to a mobile device through the short-range wireless communication module, so that the mobile device sends the data obtained from the short-range wireless communication module to a cloud server.
2. The method according to claim 1, characterized in that The method further comprises: Sending a first instruction to the WiFi module; receiving a second instruction fed back by the WiFi module based on the first instruction; In a case where the second instruction includes a fault instruction, it is determined that a fault exists in the WiFi module.
3. The method according to claim 1, characterized in that The method further comprises: Controlling the WiFi module to restart, and determining whether the WiFi module restarts successfully; If the restart is successful, turning off the short-range wireless communication module, comparing the target data with the first data sent by the short-range wireless communication module, and determining the second data that has not been sent in the target data; The second data is sent to the cloud server through the WiFi module.
4. The method according to claim 3, characterized in that The controlling the WiFi module to restart and determining whether the WiFi module is restarted successfully includes: Sending a restart instruction to the WiFi module, and sending a third instruction to the WiFi module a preset time after sending the restart instruction; receiving a fourth instruction fed back by the WiFi module based on the third instruction; When the fourth instruction indicates that the WiFi module is in an online state, it is determined that the WiFi module is restarted successfully.
5. The method according to claim 1, wherein The short-range wireless communication module includes a Bluetooth module; The sending of the target data to the mobile device through the short-range wireless communication module includes: In a case where there is a mobile device connected and paired with the Bluetooth module, sending the target data to the mobile device connected and paired with the Bluetooth module via the Bluetooth module; In the case that there is no mobile device connected and paired with the Bluetooth module, the Bluetooth module is controlled to broadcast the target data to the mobile device via a target frequency band.
6. The method according to claim 1, characterized in that The method further comprises: Obtaining the pulse signal output by the zero-crossing circuit; identifying whether there is power supply abnormality according to the time interval between adjacent rising edges and falling edges in the pulse signal; When a power supply abnormality is identified, the kitchen appliance is controlled to enter a low power consumption operation mode.
7. The method according to claim 6, characterized in that The low power operation mode includes: Powering the WiFi module and / or the short-range wireless communication module through the remaining electricity stored in the capacitor; Alternatively, a backup battery module is started to supply power to the WiFi module and / or the short-range wireless communication module.
8. The method according to claim 1, characterized in that The kitchen appliance further comprises a sensor module; the sensor module is used to detect the air quality and / or gas concentration of the environment in which the kitchen appliance is located; The method further comprises: identifying whether the environment is in an abnormal state according to the air quality and / or the gas concentration; When the kitchen appliance is in a low-power operation mode and the environment is in an abnormal state, the target data is transmitted through the WiFi module or the short-range wireless communication module.
9. The method according to claim 1, characterized in that The method further comprises: When the kitchen appliance is in a low-power operation mode and the environment is not in an abnormal state, saving the target data; When the power supply of the kitchen appliance is restored, the target data is transmitted via the WiFi module or the short-range wireless communication module.
10. A kitchen appliance, characterized in that: Including WiFi module, short-range wireless communication module and controller; The controller is used to execute the data transmission method for the kitchen appliance according to any one of claims 1 to 9.
Citation Information
Patent Citations
Electronic scale management method, electronic scale and storage medium
CN110572479A
WiFi module function state detection method and device, and readable storage medium
CN112311632A
Intelligent voice curtain system based on Bluetooth communication and remote control
CN119847013A
Home appliance, home appliance network system, and connection method therefor
WO2021054678A1