Household appliance operation method, household appliance, and computer readable storage medium

By determining the time period phase category in home appliances and deciding whether to restart the local object model, the functional interruption problem caused by device restart when the network state is abnormal is solved, achieving higher user experience and rapid repair of network problems.

WO2025066354A1PCT designated stage expired Publication Date: 2025-04-03GD MIDEA AIR CONDITIONING EQUIP CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/102051
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-26
Filing Date
2024-06-27
Publication Date
2025-04-03

AI Technical Summary

Technical Problem

When existing home appliances continue to have abnormal network status, they usually restore their working state by directly restarting the device, resulting in restarting the local object model, causing problems such as interruption of functions and poor user experience.

Method used

By determining the stage category of the current period, and determining whether to restart the local object model based on the frequency of being regulated, when it is necessary to reset the network protocol stack, the network is reconnected by switching the network service component to idle mode or reset directly.

Benefits of technology

Reduces the interruption or inability to use the home appliance function caused by restarting, improves the user experience, and quickly repairs network problems by resetting the network protocol stack.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024102051_03042025_PF_FP_ABST
    Figure CN2024102051_03042025_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to a household appliance operation method, a household appliance, and a computer readable storage medium. The operation method comprises: determining a stage category of a current time period, wherein the stage category of the current time period is used for representing that the current time period belongs to a first time stage or a second time stage; and the frequency of regulation of the local thing model in the first time stage is higher than the frequency of regulation of the local thing model in the second time stage; and when a network protocol stack used by a network service component needs to be reset, on the basis of the stage category of the current time period, determining whether to restart the local thing model.
Need to check novelty before this filing date? Find Prior Art

Description

Home appliance operation method, home appliance and computer-readable storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This disclosure claims priority to Chinese patent application number 202311259681.9, filed on September 26, 2023, entitled “Household Appliance Operation Method, Household Appliance and Computer-Readable Storage Medium,” the entire contents of which are incorporated by reference into this disclosure. Technical Field

[0003] The present disclosure relates to the technical field of household appliances, and in particular to a household appliance operation method, a household appliance, and a computer-readable storage medium. Background Art

[0004] To make home appliances more intelligent, more and more home appliances are integrating local object models and network service components to implement local and network applications. However, network problems can arise because the network protocol stack used by network service components is easily affected by external network environments, operating modes, and business scenarios.

[0005] In the prior art, if a home appliance's network status persists, the user typically attempts to restore the device's working state by directly restarting the device. However, this also causes the local object model to restart, resulting in functional interruptions when using the device's local applications, leaving the user experience unsatisfactory.

[0006] Public content

[0007] The present disclosure aims to solve one of the technical problems in the related art at least to a certain extent. To this end, the first object of the present disclosure is to provide a method for operating a household appliance.

[0008] The second objective of the present disclosure is to provide a device for operating a household appliance.

[0009] The third objective of the present disclosure is to provide a household appliance.

[0010] A fourth object of the present disclosure is to provide a computer-readable storage medium.

[0011] To achieve the above-mentioned purpose, the first embodiment of the present disclosure proposes a method for operating a household appliance. The household appliance integrates a local object model and a network service component; the local object model is used to control the household appliance to perform a specified function, and the network service component is used to provide network access services for the household appliance; the method for operating the household appliance includes: determining the phase category of the current time period; wherein the phase category of the current time period is used to characterize whether the current time period belongs to the first time period or the second time period; the frequency of the local object model being regulated in the first time period is higher than the frequency of the local object model being regulated in the second time period; when it is necessary to reset the network protocol stack used by the network service component, determining whether to restart the local object model based on the phase category of the current time period.

[0012] In some embodiments of the present disclosure, the determining whether to restart the local physical model based on the phase category of the current time period includes: if it is determined based on the phase category of the current time period that the current time period belongs to the first time period, determining not to restart the local physical model when resetting the network protocol stack; or if it is determined based on the phase category of the current time period that the current time period belongs to the second time period, determining to restart the local physical model when resetting the network protocol stack.

[0013] In some embodiments of the present disclosure, the network protocol stack is reset in the following manner: determining the network status of the home appliance; when the network status of the home appliance is that the network is abnormal and reconnecting to the network fails within a preset time, resetting the network protocol stack to reconnect to the network.

[0014] In some embodiments of the present disclosure, resetting the network protocol stack to reconnect to the network includes: if it is determined based on the phase category of the current time period that the current time period belongs to the first time period, switching the network service component to idle mode, and resetting the network protocol stack in the idle mode; or if it is determined based on the phase category of the current time period that the current time period belongs to the second time period, directly resetting the network protocol stack.

[0015] In some embodiments of the present disclosure, the preset duration includes a first network configuration duration, a second network configuration duration and a cloud connection duration; the first network configuration duration is the maximum duration for reconnecting to the router after a network anomaly occurs when the Bluetooth service of the home appliance is not started, the second network configuration duration is the maximum duration for reconnecting to the router after a network anomaly occurs when the Bluetooth service of the home appliance is started, and the cloud connection duration is the maximum duration for reconnecting to the server after a network anomaly occurs; when the current time period belongs to the first time stage, when the network status of the home appliance is that the network is abnormal and reconnecting to the network fails within the preset duration, the network protocol stack is reset to reconnect Connecting to the network, including: when the Bluetooth service of the home appliance device is not started, if the router is not connected within the first network configuration time and / or the server is not connected within the cloud connection time, switching the network service component to idle mode, and resetting the network protocol stack in the idle mode to reconnect to the network; or when the Bluetooth service of the home appliance device is started, if the router is not connected through the Bluetooth service within the second network configuration time and / or the server is not connected within the cloud connection time, switching the network service component to idle mode, and resetting the network protocol stack and the Bluetooth protocol stack used by the Bluetooth service in the idle mode to reconnect to the network.

[0016] In some embodiments of the present disclosure, before restarting the local physical model, the method further includes: saving the operating parameters of the household appliance in the state before restarting, so that after restarting the local physical model, the household appliance is controlled according to the operating parameters to continue operating in the state before restarting.

[0017] In some embodiments of the present disclosure, the household appliance is equipped with a photosensor; the first time period is in the daytime period; the second time period is in the nighttime period; determining the stage category of the current time period includes: determining the photosensitivity value corresponding to the current time period; determining the stage category of the current time period based on the comparison result of the photosensitivity value and the preset photosensitivity range, and the time period range in which the current time period is located.

[0018] To achieve the above-mentioned purpose, the second embodiment of the present disclosure proposes a household appliance operation device. The household appliance integrates a local object model and a network service component; the local object model is used to control the household appliance to perform a specified function, and the network service component is used to provide the household appliance with a network access service; the household appliance operation device includes: a time period category determination module, used to determine the stage category of the current time period; wherein the stage category of the current time period is used to characterize whether the current time period belongs to the first time period or the second time period; the frequency of the local object model being regulated in the first time period is higher than the frequency of the local object model being regulated in the second time period; a network processing module, used to determine whether to restart the local object model based on the stage category of the current time period when it is necessary to reset the network protocol stack used by the network service component.

[0019] To achieve the above-mentioned purpose, an embodiment of the third aspect of the present disclosure proposes a household appliance device, including a memory, a processor, and a household appliance device operation program stored in the memory and executable on the processor. When the processor executes the household appliance device operation program, it implements the household appliance device operation method as described in any one of the first aspects.

[0020] To achieve the above-mentioned purpose, the fourth embodiment of the present disclosure proposes a computer-readable storage medium on which a household appliance operation program is stored. When the household appliance operation program is executed by a processor, the household appliance operation method as described in any one of the first aspects is implemented.

[0021] Through the above-mentioned embodiments, time is divided into two phase categories based on the frequency of regulation of the local object model. When a home appliance needs to reset the network protocol stack, the phase category of the current time period can be used to determine whether to restart the home appliance, that is, to determine whether to restart the local object model. The embodiments of the present disclosure can solve problems related to network access services by resetting the network protocol stack, and do not restart the local object model every time. This can reduce the occurrence of home appliance function interruptions or unavailability caused by restarts, thereby improving the user experience.

[0022] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] FIG1 is a schematic diagram of a household appliance operation system according to an embodiment of the present disclosure.

[0024] FIG2 is a flow chart of a method for operating a household appliance according to an embodiment of the present disclosure.

[0025] FIG3 is a flow chart of a method for initial network configuration of a household appliance according to an embodiment of the present disclosure.

[0026] FIG4 is a flowchart of a method for processing network services of a home appliance proposed in one embodiment of the present disclosure.

[0027] FIG5 is a flowchart of a method for processing network services of a home appliance proposed in another embodiment of the present disclosure.

[0028] FIG6 is a flowchart of a method for processing network services of a home appliance proposed in yet another embodiment of the present disclosure.

[0029] FIG7 is a structural block diagram of a household appliance operation device proposed in an embodiment of the present disclosure.

[0030] FIG8 is a structural block diagram of a household appliance according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0031] The following describes in detail embodiments of the present disclosure, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.

[0032] With the development of technology, more and more families are using smart homes, and their home appliances are becoming increasingly intelligent. To meet this demand, local object models and network service components can be directly integrated into home appliances to implement local and network applications.

[0033] Because the network protocol stack used by network service components is susceptible to external network environments, operating modes, and business scenarios, network anomalies can occur. In related technologies, if a home appliance's network status remains abnormal, the user typically attempts to restore the appliance's operating status by directly restarting the appliance. However, this also causes the local object model to restart, resulting in functional interruptions when using the appliance's local applications, leaving the user experience open to improvement.

[0034] For example, for an air conditioner in a household appliance, users usually use a remote control to control the local functions of the air conditioner. In order to realize the intelligence of the air conditioner, the air conditioner can also be connected to the Internet so that the air conditioner can be directly controlled on a mobile phone APP or a server. Therefore, in order to realize the local application and network application of the air conditioner, a local object model and a network service component can be integrated into the air conditioner. Among them, the local object model is used to control the air conditioner to execute some local application functions; the network service component can provide network access services for the air conditioner, so that the air conditioner can receive control instructions from the mobile phone APP or server after connecting to the network. However, when the network protocol stack used by the network service component is affected and a network anomaly occurs, if the working state of the air conditioner is restored by directly restarting the air conditioner, the running local object model will also be restarted, causing the local application of the air conditioner used by the user to be interrupted, resulting in a poor user experience. Therefore, the embodiment of the present disclosure proposes a household appliance operation method, a household appliance and a computer-readable storage medium.

[0035] The present disclosure provides a scenario-based example of a method for operating a household appliance, using an air conditioner as an example. This method is applied to the household appliance operation system shown in Figure 1 . Referring to Figure 1 , the household appliance operation system includes an air conditioner 110, a cloud server 120, and an air conditioner remote controller 130. The method is applied to the air conditioner 110.

[0036] Air conditioner 110 integrates a local object model and a network service component. The local object model is used to control the air conditioner to perform specified functions, such as cooling, heating, and self-cleaning functions controlled by the air conditioner remote control 130. The network service component can be used to provide network access services for the air conditioner, enabling the air conditioner 110 to communicate with the cloud server 120 and receive control commands sent by the cloud server 120.

[0037] Because the frequency with which a user directly controls the local object model of the air conditioner 110 via the air conditioner remote controller 130 varies at different times of the day, temporal stages can be categorized based on the frequency with which the local object model is controlled. For example, a day can be divided into a first temporal stage and a second temporal stage. The frequency with which the local object model is controlled in the first temporal stage is higher than that in the second temporal stage.

[0038] During the operation of the air conditioner 110, if the network protocol stack used by its network service component needs to be reset due to network abnormality or due to receiving a network reset instruction, the phase category of the current period can be determined first, and then whether to restart the local object model of the air conditioner can be determined based on the phase category of the current period.

[0039] FIG2 is a flow chart of a method for operating a household appliance according to an embodiment of the present disclosure. Referring to FIG2 , the method for operating a household appliance includes:

[0040] S210: Determine the stage category of the current period.

[0041] The stage category of the current time period is used to indicate whether the current time period belongs to the first time period or the second time period. The control frequency of the local object model in the first time period is higher than the control frequency of the local object model in the second time period.

[0042] S220 : When it is necessary to reset the network protocol stack used by the network service component, determine whether to restart the local object model based on the phase category of the current period.

[0043] In an embodiment of the present disclosure, a home appliance integrates a local object model and a network service component. The local object model is used to control the home appliance to perform specified functions, and the network service component is used to provide network access services for the home appliance. The network service component includes the network protocol stack used for network connection. Resetting the network protocol stack is a common network troubleshooting method that can help resolve issues related to network connection or network configuration.

[0044] For example, taking an air conditioner as an example, the local object models integrated in the air conditioner may include an electric heating object model, a self-cleaning object model, an intelligent temperature control object model, a surround wind object model, and so on. It can be seen that the local object model is used to control some local applications of home appliances. Users can send infrared signals to home appliances through a remote control to schedule and control the operation of the local object model. If the home appliance is connected to the network through a network service component, the user can also send control instructions of related functions to the home appliance through a mobile phone APP or a cloud server to schedule and control the operation of the local object model. However, the process of home appliances using network service components to access the network is independent of the operation of the local object model. Therefore, if the network of the home appliance is abnormal, the home appliance attempts to restore to normal state by restarting, which will cause the local object model to be reset together. In this case, the function controlled by the running local object model will be interrupted, reducing the user experience.

[0045] Therefore, in the disclosed embodiment, time is divided into phases based on the frequency of local object models being regulated. The phases include a first time phase and a second time phase, where the frequency of local object models being regulated in the first time phase is higher than that in the second time phase.

[0046] The home appliance can first determine the phase category of the current time period. The phase category of the current time period is used to indicate whether the current time period belongs to the first time period or the second time period. Then, when it is necessary to reset the network protocol stack used by the network service component, it is determined whether to restart the local object model based on the phase category of the current time period. In this way, the occurrence of home appliance function interruption or unusability caused by restarting the local object model can be reduced, and network problems can be quickly repaired or reset instructions can be executed by resetting the network protocol stack, thereby improving the execution efficiency of home appliances.

[0047] Through the above method, time is divided into two phase categories based on the frequency of regulation of the local object model. When a home appliance needs to reset the network protocol stack, the phase category of the current time period can be used to determine whether to restart the home appliance, that is, to determine whether to restart the local object model. The embodiments of the present disclosure can solve problems related to network access services by resetting the network protocol stack, and do not restart the local object model every time. This can reduce the occurrence of home appliance function interruption or unavailability caused by restarting, thereby improving the user experience.

[0048] In some embodiments of the present disclosure, whether to restart the local physical model is determined based on the phase category of the current time period, including: if it is determined based on the phase category of the current time period that the current time period belongs to the first time period, then it is determined that the local physical model will not be restarted when the network protocol stack is reset; or if it is determined based on the phase category of the current time period that the current time period belongs to the second time period, then it is determined that the local physical model will be restarted when the network protocol stack is reset.

[0049] In the embodiments of the present disclosure, since the local object model is regulated more frequently during the first time period than during the second time period, it can be understood that users used the home appliance more frequently during the first time period. Therefore, if the current time period falls within the first time period, the local object model can be chosen not to be restarted when resetting the network protocol stack. If the current time period falls within the second time period, the local object model is also restarted when it is determined that the network protocol stack needs to be restarted.

[0050] Through the above method, in the first time stage when the frequency of local object model adjustment is high, only the network protocol stack is reset without restarting the local object model. This can solve the tasks or problems related to network access service without affecting the normal operation of the local object model, and can improve the user experience. In the second time stage when the frequency of local object model adjustment is relatively low, the local object model is also restarted when the network protocol stack is reset. While solving the tasks or problems related to network access service, the local object model can be restarted to reduce the problems such as freezes caused by long-term operation of the local object model, thereby ensuring the long-term operation of home appliances. Moreover, in the second time stage, the frequency of users adjusting home appliances is low, and the impact of restarting the local object model on the normal use of home appliances by users is also relatively low.

[0051] In some embodiments of the present disclosure, the network protocol stack is reset in the following manner: determining the network status of the home appliance and, when the network status of the home appliance indicates that the network is abnormal and reconnection to the network fails within a preset time, resetting the network protocol stack to reconnect to the network.

[0052] In an embodiment of the present disclosure, when the network status of the home appliance device shows that the network is abnormal, you can first try to reconnect based on the current network protocol stack. If the network reconnection fails within the preset time, you can reset the network protocol stack to try to reconnect to the network again.

[0053] Through the above embodiment, retrying to connect to the network before resetting the network protocol stack can quickly repair network anomalies caused by non-network protocol stack issues. If reconnecting to the network fails within a preset time, it can be determined that resetting the network protocol stack is necessary to repair the network, and the network protocol stack reset can be performed under this condition. This process can improve network reconnection efficiency.

[0054] In some embodiments of the present disclosure, resetting the network protocol stack to reconnect to the network includes: if it is determined based on the phase category of the current time period that the current time period belongs to the first time period, switching the network service component to idle mode and resetting the network protocol stack in idle mode; or if it is determined based on the phase category of the current time period that the current time period belongs to the second time period, directly resetting the network protocol stack.

[0055] In an embodiment of the present disclosure, after the home appliance has successfully completed the initial network configuration, the home appliance can periodically detect the network status of the home appliance and set the home appliance to a connection mode. Once the network status indicates that the network is abnormal, the home appliance can directly try to reconnect to the network.

[0056] Therefore, if the current time period's phase category determines that the current time period belongs to the first time period, if a network anomaly occurs on the home appliance and reconnection fails, in order to prevent a conflict between resetting the network protocol stack and reconnecting in connected mode, the network service component can be switched to idle mode first, and the network protocol stack reset in idle mode. After resetting the network protocol stack, the network service component can be switched back to connected mode to reconnect to the network based on the reset network protocol stack.

[0057] If the current time period's phase category determines that the current time period belongs to the second time period, since the home appliance still needs to be restarted, it is not necessary to switch the state of the network service component, and the network protocol stack can be directly reset. For example, the network protocol stack can be reset before restarting the home appliance, or after restarting the home appliance. In some practicable embodiments, if the current time period belongs to the second time period, the network service component can be switched to idle mode first, the home appliance can be restarted, the network protocol stack can be reset, and finally the network service component can be switched to connected mode to attempt to reconnect to the network.

[0058] It should be noted that the home appliance devices of the embodiments of the present disclosure can connect to the cloud server through a router. The home appliance devices can connect to the router through AP network configuration or Bluetooth network configuration. The home appliance devices can also directly connect to the cloud server through Bluetooth network configuration. AP network configuration is a method for connecting a Wi-Fi device to an existing Wi-Fi network. It is commonly used to add new Wi-Fi devices to an existing network. Bluetooth network configuration is a method for connecting a device to other devices or networks using Bluetooth technology.

[0059] In some embodiments of the present disclosure, when the current time period belongs to the first time stage, when the network status of the home appliance device is that the network is abnormal and the reconnection to the network fails within the preset time period, the network protocol stack is reset to reconnect to the network, including: when the Bluetooth service of the home appliance device is not started, if the router is not connected within the first network configuration time period and / or the server is not connected within the cloud connection time period, the network service component is switched to idle mode, and the network protocol stack is reset in idle mode to reconnect to the network; or when the Bluetooth service of the home appliance device is started, if the router is not connected to the Bluetooth service within the second network configuration time period and / or the server is not connected within the cloud connection time period, the network service component is switched to idle mode, and the network protocol stack and the Bluetooth protocol stack used by the Bluetooth service are reset in idle mode to reconnect to the network.

[0060] Once the Bluetooth service of a home appliance is turned on, it means that the home appliance is locally performing device scene linkage or the user is using the home appliance. The user can interact with the home appliance by turning on the Bluetooth service, and the home appliance can also connect to the router or cloud server through the Bluetooth network configuration. If an abnormality occurs in the home appliance network at this time, and the reconnection with the router or cloud server through the Bluetooth network configuration fails, the home appliance will reset the Bluetooth protocol stack. The operation of resetting the Bluetooth protocol stack will interrupt the Bluetooth connection between the user end and the home appliance, thereby affecting the normal use of other functions performed by the user through the Bluetooth connection. Therefore, in the embodiment of the present disclosure, when the current time period belongs to the first time stage, different network configuration durations are set according to whether the home appliance has started the Bluetooth service.

[0061] Specifically, when the current time period belongs to the first time stage, when the network status of the home appliance device is that the network is abnormal and the reconnection to the network fails within the preset time, it is necessary to reset the network protocol stack to reconnect to the network. The preset time here includes the first network configuration time, the second network configuration time and the cloud connection time. The first network configuration time is the maximum time for the home appliance device to reconnect to the router after the network abnormality occurs when the Bluetooth service is not started; the second network configuration time is the maximum time for the home appliance device to reconnect to the router after the network abnormality occurs when the Bluetooth service is started; the cloud connection time is the maximum time for the home appliance device to reconnect to the server after the network abnormality occurs. Among them, the second network configuration time is usually set to be longer than the first network configuration time.

[0062] When the Bluetooth service of the home appliance is not started, if the router is not connected within the first network configuration time and / or the server is not connected within the cloud connection time, the network service component is switched to idle mode, and the network protocol stack is reset in idle mode to reconnect to the network. When the current time period belongs to the first time stage and the Bluetooth service of the home appliance is not started, the first network configuration time can be used to limit the reconnection time before the home appliance resets the network protocol stack. Once the time for the home appliance to reconnect to the network exceeds the first network configuration time, the network service component is switched to idle mode, and the network protocol stack is reset in idle mode to reconnect to the network. This is because the above situation belongs to the situation where the scheduling frequency of the local object model is high and the user does not directly control the home appliance through the Bluetooth service. At this time, if the network of the home appliance is abnormal, it is necessary to quickly switch modes and reset the network protocol stack to quickly repair the network abnormality, thereby improving the execution efficiency of the home appliance.

[0063] When the current time period belongs to the first time stage and the Bluetooth service of the home appliance has been started, it means that the user may be using the Bluetooth service to use the home appliance in the current time period. At this time, if the network of the home appliance is abnormal, the second network configuration time can be used to limit the time to connect to the router through the Bluetooth service. Once the time for the home appliance to reconnect to the network exceeds the second network configuration time and / or is not connected to the server within the cloud connection time, the network service component is switched to idle mode, and the network protocol stack and the Bluetooth protocol stack used by the Bluetooth service are reset in idle mode to reconnect to the network. In this case, the second network configuration time is used to limit the reconnection time in order to reduce the interruption of the Bluetooth service of the home appliance, which affects the normal use of other functions performed by the user through the Bluetooth connection.

[0064] It should be noted that when the current time period belongs to the first time stage and the Bluetooth service of the home appliance has been started, the network protocol stack and the Bluetooth protocol stack are reset because the Bluetooth connection is usually a local area network (LAN) connection, and the home appliance and the cloud server are generally not in the same LAN. After the home appliance is connected to the router through the Bluetooth service, the router usually uses a wide area network (WAN) interface to connect to the cloud server, thereby realizing the communication connection between the home appliance and the cloud server. In another case, the home appliance and the cloud server may also be in the same local area network. At this time, the home appliance can be directly connected to the cloud server through the Bluetooth network configuration. Therefore, in the embodiment of the present disclosure, whether there is an abnormality in the router connection or the connection with the cloud server is abnormal, the network protocol stack and the Bluetooth protocol stack can be reset. Specifically, which protocol stack to reset can be determined based on the actual connection method between the home appliance and the cloud server.

[0065] Therefore, when a home appliance is initially connected to a network, it can connect to the router via AP or Bluetooth. Correspondingly, there are two ways to connect the home appliance to the cloud server: first, connect to the router, and then connect the router to the cloud server via AP / Bluetooth; and second, connect the home appliance directly to the cloud server via Bluetooth. In a specific embodiment, referring to FIG3 , the initial network configuration of a home appliance may include the following steps:

[0066] S301: When the home appliance receives the network configuration instruction, it triggers the network configuration and starts connecting to the router and the cloud.

[0067] S302: The home appliance determines whether it is connected to the router or whether it has found the router.

[0068] S303: If the home appliance is not connected to the router, try to reconnect to the router through AP network configuration.

[0069] S304: Determine whether the home appliance fails to connect to the router after retries for 40 seconds through AP network configuration.

[0070] S305: If it is determined that the home appliance device cannot connect to the router after retrying for 40 seconds through the AP network configuration method, the network service component is switched to idle mode to reset the network protocol stack in idle mode.

[0071] S306, waiting for re-network configuration.

[0072] S307: If the home appliance is not connected to the router, you can try to reconnect to the router through Bluetooth network configuration.

[0073] S308: Determine whether the home appliance fails to connect to the router after trying for 2 minutes via Bluetooth pairing.

[0074] S309: If it is determined that the home appliance device cannot connect to the router after retrying for 2 minutes through Bluetooth network pairing, the network service component is switched to idle mode to reset the network protocol stack in idle mode.

[0075] Execute step S306 and wait for network reconfiguration.

[0076] S310: Determine whether the home appliance is connected to the cloud, where the cloud may refer to a cloud server.

[0077] S311: If the home appliance is connected to the router but not to the cloud, it can be reconnected to the cloud through AP / Bluetooth network configuration.

[0078] S312, determining whether the home appliance fails to bind to the cloud server within 3 minutes through AP / Bluetooth network configuration after being connected to the router.

[0079] S313: If it is determined that the cloud server binding fails within 3 minutes through the AP / Bluetooth network configuration method, the network service component is switched to idle mode to reset the network protocol stack in idle mode.

[0080] Execute step S306 and wait for network reconfiguration.

[0081] S314: If the home appliance fails to connect to the cloud server directly through the Bluetooth network configuration, the home appliance attempts to connect to the cloud server again based on the Bluetooth network configuration.

[0082] S315, determining whether the home appliance still cannot connect to the cloud after retrying for 3 minutes.

[0083] S316: If it is determined that the home appliance still cannot connect to the cloud after retrying for 3 minutes, the network service component is switched to idle mode to reset the network protocol stack in idle mode, and then the process returns to step S306 to wait for re-networking.

[0084] S317: If the home appliance successfully connects to both the router and the cloud, network configuration is complete. After network configuration is complete, you can set up a periodic check on the network status of the home appliance.

[0085] After the home appliance completes the initial network configuration, in order to ensure the stability of the network, the network status of the home appliance can be periodically checked.

[0086] In another specific embodiment, referring to FIG4 , when the current time period belongs to the first time stage and the Bluetooth service is not enabled, the home appliance network service processing flow includes:

[0087] S401, periodically detecting the network status of the home appliance.

[0088] S402: The home appliance determines whether it is connected to the router or whether it has found the router.

[0089] S403: If the home appliance is not connected to the router, an attempt may be made to reconnect to the router through AP network configuration to determine whether the home appliance still cannot connect to the router after 2 minutes of retrying through AP network configuration.

[0090] S404: If it is determined that the home appliance still cannot connect to the router after retrying for 2 minutes, the network service component is switched to idle mode to reset the network protocol stack in idle mode.

[0091] S405 , switching the network service component to a connection mode, so that the home appliance can reconnect to the network based on the reset network protocol stack.

[0092] S406: Determine whether the home appliance is connected to the cloud, where the cloud may refer to a cloud server.

[0093] S407: If the home appliance is connected to the router but not to the cloud or cannot connect to the cloud, it can be reconnected to the cloud through the common sense of AP network configuration. Determine whether the home appliance still cannot connect to the cloud within 12 hours.

[0094] S408: If it is determined that the home appliance still cannot connect to the cloud within 12 hours, switch the network service component to idle mode to reset the network protocol stack in idle mode. Return to step S405 to allow the home appliance to reconnect to the network based on the reset network protocol stack.

[0095] It is understandable that in the scenario shown in Figure 4, the first network configuration duration used for the router reconnection time is set to 2 minutes, and the cloud connection duration is set to 12 hours. If the home appliance is detected to be connected to both the router and the cloud, it indicates that the current network status is normal, and the network status can continue to be checked according to the preset period.

[0096] In the embodiment of the present disclosure, there is also a situation where the current time period belongs to the first time stage and the Bluetooth service is turned on. Referring to Figure 5, in a specific embodiment, the home appliance network service processing flow may further include:

[0097] S501, detecting whether the Bluetooth service of the home appliance is activated. If the Bluetooth service is activated, perform the following steps.

[0098] S502: The home appliance determines whether it is connected to the router or whether it has found the router.

[0099] S503: If it is found through judging the connection status with the router that the home appliance has not been connected to the router through the Bluetooth service, the process returns to the initial network configuration stage shown in FIG. 3 to connect to the router through the Bluetooth service.

[0100] S504: If the initial network configuration via the Bluetooth service fails, the network service component is switched to idle mode, the Bluetooth protocol stack is reset, and the network protocol stack is reset. The Bluetooth service of the home appliance is then checked again to see if it is enabled. If so, the initial network configuration is performed again based on the reset Bluetooth protocol stack.

[0101] S505: If the home appliance has completed initial network configuration via the Bluetooth service, and the home appliance is not connected to the router after the Bluetooth service is activated, the home appliance can attempt to reconnect to the router based on the Bluetooth network configuration method. It is determined whether the home appliance still cannot connect to the router within 60 minutes.

[0102] If it is determined that the home appliance still cannot connect to the router within 60 minutes, step S504 is executed, in which the network service component is switched to idle mode, the Bluetooth protocol stack is reset, and the network protocol stack is reset, so that if the Bluetooth service is detected to be activated, the device attempts to connect to the router again through the Bluetooth service.

[0103] S506: If the home appliance is connected to the router, determine whether the home appliance cannot connect to the cloud or is not connected to the cloud. The cloud may be a cloud server.

[0104] S507: If the home appliance is not connected to the cloud or cannot connect to the cloud, the home appliance can directly attempt to reconnect to the cloud through Bluetooth pairing if the home appliance and the cloud are in the same local area network. Alternatively, if the home appliance and the cloud are not in the same local area network, the router can attempt to reconnect to the cloud through AP pairing. It is determined whether the home appliance still cannot connect to the cloud after 12 hours of reconnection.

[0105] S508: If it is determined that the home appliance device cannot connect to the cloud after reconnecting for 12 hours, switch the network service component to idle mode, reset the Bluetooth protocol stack, and reset the network protocol stack.

[0106] S509: Switch the network service component to a connection mode to try to reconnect to the cloud through the reset network protocol stack or Bluetooth protocol stack.

[0107] It is understandable that if, after the Bluetooth service is activated, the home appliance is detected to be connected to both the router and the cloud, or if the home appliance is directly detected to be connected to the cloud, it can be determined that the home appliance's current website status is normal. In the scenario shown in Figure 5, the second network configuration duration used for router reconnection is set to 60 minutes, and the cloud connection duration is set to 12 hours. The second network configuration duration is longer than the first network configuration duration to reduce the possibility of Bluetooth interruptions caused by resetting the Bluetooth protocol stack.

[0108] In some embodiments of the present disclosure, before restarting the local physical model, the household appliance operation method further includes: saving the operating parameters of the household appliance in the state before restarting, so that after restarting the local physical model, the household appliance is controlled according to the operating parameters to continue operating in the state before restarting.

[0109] In an embodiment of the present disclosure, in order to reduce conflicts with users regarding the use of home appliances, the operating parameters of the home appliance in the state before the restart can be saved before the home appliance is restarted, so that after the home appliance is restarted, the home appliance can be controlled to continue operating in the state before the restart according to the operating parameters. For example, if the current time period belongs to the second time stage, the user controls the air conditioner to schedule the sleep mode physical model, and an abnormality occurs in the network during the operation of the air conditioner, the air conditioner will first save the operating parameters in the state before the restart. After the air conditioner restarts, the sleep mode physical model will continue to be scheduled according to the operating parameters to continue operating in the state before the restart.

[0110] In some embodiments of the present disclosure, a household appliance is equipped with a light sensor. A first time period is during the daytime, and a second time period is during the nighttime. Determining the phase category of the current time period includes determining a light sensitivity value corresponding to the current time period. The phase category of the current time period is determined based on a comparison result of the light sensitivity value with a preset light sensitivity range and the time period range within which the current time period falls.

[0111] In the embodiments of the present disclosure, the first time period is during the daytime, and the second time period is during the nighttime. This is because users typically use home appliances more frequently during the daytime than during the nighttime. Home appliances can be equipped with photosensors that acquire the light sensitivity of their surroundings, which can then be used as one of the criteria for determining the time period.

[0112] Specifically, the photosensitivity value corresponding to the current time period is determined based on the photosensor. The lower the photosensitivity value, the lower the ambient light level, and the closer it is to the night time period. Therefore, a photosensitivity range is preset based on the photosensitivity conditions of the night time period. If the photosensitivity value of the current time period falls within the preset photosensitivity range, it can be determined that the current time period may be in the night time stage. Because the photosensitivity value is greatly affected by light, the error rate is high if the stage category is judged only by the photosensitivity value. In the embodiment of the present disclosure, the household appliance can also obtain the local time of the system to determine the time period range in which the current time period is located. Based on the comparison result of the photosensitivity value and the preset photosensitivity range and the time period range in which the current time period is located, the two conditions simultaneously judge the stage category of the current time period with a high accuracy rate.

[0113] In a specific embodiment, referring to FIG6 , the network service processing flow of the home appliance may further include:

[0114] S601, detecting whether the photosensitivity value of the current period is within a preset photosensitivity range.

[0115] S602: If the photosensitivity value of the current time period is within the preset photosensitivity range, determine the time period range of the current time period based on the system local time.

[0116] S603: If the light sensitivity value is within the preset light sensitivity range and the current time period is within the night time period, control the home appliance to enter the night mode. The night mode is equivalent to the case where the current time period belongs to the second time period in the above embodiment.

[0117] S604: Determine whether the home appliance is connected to the router or whether the router is found.

[0118] S605: If the home appliance is not connected to the router or the router is not found, try to reconnect and determine whether the home appliance still cannot connect to the router after retrying for 2 minutes.

[0119] S606, when it is determined that the home appliance device cannot connect to the router after retrying to reconnect for 2 minutes, save the operating parameters of the home appliance device in the state before the restart, and restart the home appliance device, so that the home appliance device runs in the state before the restart based on the operating parameters after the restart.

[0120] S607: If the home appliance is not connected to the cloud or cannot connect to the cloud, try to reconnect and determine whether the home appliance still cannot connect to the cloud after retrying for 12 hours.

[0121] S608, when it is determined that the home appliance device cannot connect to the cloud after retrying for 12 hours, save the operating parameters of the home appliance device in the state before the restart, and restart the home appliance device so that the home appliance device runs in the state before the restart based on the operating parameters after the restart.

[0122] It is understandable that restarting the home appliance is also restarting the local object model of the home appliance. After restarting, the network protocol stack can also be reset so that the home appliance can continue to connect to the router or cloud based on the reset network protocol stack.

[0123] In the above embodiments, the situation of not being able to connect to the router or the cloud is proposed. In actual applications, the reasons for not being able to connect to the router may include errors in the AP network configuration connection phase: failure to search for the router SSID, incorrect password for connecting to the router, DHCP error or timeout, disconnection between the module and the router (broadcast loss). The reasons for not being able to connect to the cloud may include: errors in the cloud server login phase and errors generated after successfully logging into the cloud server. Among them, errors in the cloud server login phase include: DNS resolution failure, failure to establish a socket connection with the cloud server, SST hello timeout, token handshake timeout. Errors generated after successfully logging into the cloud server include: heartbeat packet timeout, thread care causing the module to actively restart, OTA upgrade causing the module to actively restart, module side passively closing the socket (the electronic control side triggers entering the network configuration, restoring factory settings, restarting, etc.), server side actively closing the socket, device side socket sending exception, ADSDNS resolution failure, platform cluster ID error.

[0124] Corresponding to the above embodiments, the present disclosure also proposes a device for operating a home appliance. The home appliance integrates a local object model and a network service component; the local object model is used to control the home appliance to perform specified functions, and the network service component is used to provide network access services for the home appliance. Referring to Figure 7, the device for operating a home appliance includes:

[0125] The period category determination module 710 is used to determine the stage category of the current period.

[0126] Among them, the stage category of the current time period is used to characterize whether the current time period belongs to the first time period or the second time period; the frequency of the local object model being controlled in the first time period is higher than the frequency of the local object model being controlled in the second time period.

[0127] The network processing module 720 is configured to determine whether to restart the local object model based on the phase category of the current period when the network protocol stack used by the network service component needs to be reset.

[0128] Through the above method, time is divided into two phase categories based on the frequency of regulation of the local object model. When a home appliance needs to reset the network protocol stack, the phase category of the current time period can be used to determine whether to restart the home appliance, that is, to determine whether to restart the local object model. The embodiments of the present disclosure can solve problems related to network access services by resetting the network protocol stack, and do not restart the local object model every time. This can reduce the occurrence of home appliance function interruption or unavailability caused by restarting, thereby improving the user experience.

[0129] The specific definition of the household appliance operating device can be found in the definition of the household appliance operating method above and will not be repeated here. Each module in the aforementioned household appliance operating device can be implemented in whole or in part through software, hardware, or a combination thereof. Each of the aforementioned modules can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a memory in the computer device in software form, so that the processor can call and execute the corresponding operations of each of the aforementioned modules.

[0130] Corresponding to the above embodiments, an embodiment of the present disclosure further provides a household appliance.

[0131] Figure 8 is a structural block diagram of a household appliance according to an embodiment of the present disclosure. As shown in Figure 8, the household appliance 800 includes a memory 804, a processor 802, and a household appliance operation program 806 stored in the memory 804 and executable on the processor 802. When the processor 802 executes the household appliance operation program 806, it implements any one of the household appliance operation methods described above.

[0132] According to the household appliance device of the embodiment of the present disclosure, when the processor 802 executes the household appliance device running program 806, it can implement network access service-related problem handling by resetting the network protocol stack, and will not restart the local object model every time, which can reduce the occurrence of household appliance device function interruption or unusable due to restart, thereby improving the user experience.

[0133] Corresponding to the above embodiments, the embodiments of the present disclosure further provide a computer-readable storage medium on which a home appliance operation program is stored, and when the home appliance operation program is executed by a processor, any one of the above home appliance operation methods is implemented.

[0134] According to the computer-readable storage medium of the embodiment of the present disclosure, when the home appliance running program is executed by the processor, it can implement network access service-related problem handling by resetting the network protocol stack, and will not restart the local object model every time, which can reduce the occurrence of home appliance function interruption or unusable due to restart, thereby improving the user experience.

[0135] It should be noted that the logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, apparatus, or device and execute the instructions), or in conjunction with such instruction execution systems, apparatuses, or devices. For purposes of this disclosure, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transmit a program for use by an instruction execution system, apparatus, or device, or in conjunction with such instruction execution systems, apparatuses, or devices. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion having one or more wires (electronic device), a portable computer disk cartridge (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disc read-only memory (CDROM). Furthermore, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing it in another suitable manner if necessary, and then storing it in a computer memory.

[0136] It should be understood that various parts of the present disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0137] In the description of this disclosure, reference to the terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the disclosure. In this disclosure, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0138] In addition, the terms "first" and "second" used in the embodiments of the present disclosure are only used for descriptive purposes and should not be understood as indicating or implying relative importance, or implicitly indicating the number of technical features indicated in the embodiments. Therefore, the features defined in the embodiments of the present disclosure with terms such as "first" and "second" can explicitly or implicitly indicate that the embodiment includes at least one such feature. In the description of the present disclosure, the word "plurality" means at least two or two or more, such as two, three, four, etc., unless otherwise clearly and specifically defined in the embodiments.

[0139] In this disclosure, unless otherwise clearly specified or limited in the embodiments, the terms "installed," "connected," "connect," and "fixed" appearing in the embodiments should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or an integral connection. It can also be a mechanical connection, an electrical connection, etc.; of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication between two elements, or the interaction between two elements. For those skilled in the art, the specific meanings of the above terms in this disclosure can be understood based on the specific implementation.

[0140] Although the embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are illustrative and are not to be construed as limitations on the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.

Claims

1. A method for operating a household appliance, wherein: The home appliance integrates a local object model and a network service component; The local object model is used to control the home appliance to perform a specified function, and the network service component is used to provide a network access service for the home appliance; the method includes: Determine the stage category of the current time period; wherein the stage category of the current time period is used to characterize that the current time period belongs to the first time period or the second time period; the frequency of the local object model being regulated in the first time period is higher than the frequency of the local object model being regulated in the second time period; When it is necessary to reset the network protocol stack used by the network service component, it is determined whether to restart the local object model based on the phase category of the current period.

2. The method according to claim 1, wherein: The determining whether to restart the local object model based on the phase category of the current period includes: If it is determined based on the phase category of the current time period that the current time period belongs to the first time period, then determining not to restart the local object model when resetting the network protocol stack; or If it is determined based on the phase category of the current time period that the current time period belongs to the second time period, it is determined to restart the local object model when resetting the network protocol stack.

3. The method according to claim 1 or 2, wherein: Reset the network protocol stack in the following way: Determining the network status of the home appliance; When the network status of the household appliance is that the network is abnormal and reconnection to the network fails within a preset time, the network protocol stack is reset to reconnect to the network.

4. The method according to claim 3, wherein: The resetting the network protocol stack to reconnect to the network comprises: If it is determined based on the phase category of the current time period that the current time period belongs to the first time period, switching the network service component to an idle mode, and resetting the network protocol stack in the idle mode; or If it is determined based on the phase category of the current time period that the current time period belongs to the second time period, the network protocol stack is directly reset.

5. The method according to claim 3 or 4, wherein: The preset duration includes a first network configuration duration, a second network configuration duration and a cloud connection duration; the first network configuration duration is the maximum duration for the home appliance to reconnect to the router after a network anomaly occurs when the Bluetooth service is not started, the second network configuration duration is the maximum duration for the home appliance to reconnect to the router after a network anomaly occurs when the Bluetooth service is started, and the cloud connection duration is the maximum duration for reconnecting to the server after a network anomaly occurs; When the current time period belongs to the first time stage, when the network status of the home appliance is that the network is abnormal and reconnection to the network fails within a preset time, resetting the network protocol stack to reconnect to the network includes: When the Bluetooth service of the home appliance is not started, if the router is not connected within the first network configuration duration and / or the server is not connected within the cloud connection duration, switching the network service component to an idle mode, and resetting the network protocol stack in the idle mode to reconnect to the network; or When the Bluetooth service of the home appliance device is started, if the router is not connected through the Bluetooth service within the second network configuration duration and / or the server is not connected within the cloud connection duration, the network service component is switched to idle mode, and the network protocol stack and the Bluetooth protocol stack used by the Bluetooth service are reset in the idle mode to reconnect to the network.

6. The method according to any one of claims 1 to 5, wherein: Before restarting the local object model, the method further includes: Save the operating parameters of the home appliance before restarting, so as to control the home appliance according to the operating parameters after restarting the local object model. The home appliance is controlled to continue to operate in the state before the restart.

7. The method according to any one of claims 1 to 6, wherein: The household appliance is equipped with a photosensitive sensor; The first time period is during the daytime period; The second time period is during the night time period; The step of determining the stage category of the current period includes: Determine the photosensitivity value corresponding to the current time period; The stage category of the current time period is determined according to the comparison result between the photosensitivity value and the preset photosensitivity range, and the time period range in which the current time period is located.

8. A household appliance operation device, wherein: The home appliance integrates a local object model and a network service component; The local object model is used to control the home appliance to perform a specified function, and the network service component is used to provide a network access service for the home appliance; The device comprises: A time period category determination module, used to determine the stage category of the current time period; wherein the stage category of the current time period is used to characterize that the current time period belongs to the first time period or the second time period; the frequency of the local object model being regulated in the first time period is higher than the frequency of the local object model being regulated in the second time period; The network processing module is used to determine whether to restart the local object model based on the phase category of the current time period when it is necessary to reset the network protocol stack used by the network service component.

9. Household electrical appliances, including: The invention comprises a memory, a processor and a household appliance operation program stored in the memory and executable on the processor. When the processor executes the household appliance operation program, the household appliance operation method as described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, wherein: A household appliance operation program is stored thereon, and when the household appliance operation program is executed by the processor, the household appliance operation method as described in any one of claims 1-7 is implemented.

Citation Information

Patent Citations

  • Multi-IP communication method and system

    CN101035121A

  • Intelligent household electrical appliance connection state restoration method and device, electronic equipment and storage medium

    CN115237668A

  • Network recovery method, data equipment and computer readable medium

    CN116743547A

  • System for managing internet of things device using network monitoring

    KR101849670B1