Refrigerator and refrigerator data clearing method
By setting up a wireless communication module and controller in a smart refrigerator, combined with the authentication and instruction issuance of cloud servers, a method of safely clearing refrigerator data is realized, solving the problem of data leakage risks and ensuring user privacy protection.
Patent Information
- Application Number
- CN202311245795.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-25
- Publication Date
- 2025-03-25
AI Technical Summary
How to safely clear stored refrigerator data when users disable or replace smart refrigerators to avoid the risk of data leakage.
By setting up a wireless communication module and controller in the refrigerator, users can trigger a clear data request through the display module and upload the request to the cloud server. After the cloud server authenticates the user identity, it issues a reset request command to the refrigerator, which clears the local stored data and resets the display information.
It realizes the safe and efficient removal of refrigerator data, avoids the risk of data leakage, and ensures user privacy protection.
Smart Images

Figure CN119687630A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of refrigerators, and in particular to a refrigerator and a method for clearing refrigerator data. Background Art
[0002] With the rapid development of smart homes, smart refrigerators, as an important component, have also been widely used. And with the rapid development of the Internet of Things and big data technology, networked smart refrigerators have realized a variety of intelligent functions such as food management, recipe recommendations, refrigerator energy consumption data statistics, and user schedule scheduling through the support of cloud servers and customized design of user-side APPs.
[0003] When users connect to and use smart refrigerators, some refrigerator-related data (for example, user information, network information, refrigerator usage data, network control data, energy consumption data, and food data, etc.) will be generated and stored locally and on cloud servers respectively. When users deactivate or replace refrigerators, based on data privacy protection, in order to avoid the risk of refrigerator data leakage, how to safely clear the stored refrigerator data is an urgent problem that needs to be solved. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a refrigerator and a refrigerator data clearing method, which can safely clear refrigerator data and avoid the risk of refrigerator data leakage.
[0005] In order to achieve the above object, an embodiment of the present invention provides a refrigerator, comprising:
[0006] The box body has at least one compartment inside for storing food;
[0007] A refrigeration system, comprising a compressor, a condenser, a capillary tube and an evaporator connected in series to form a loop, for providing power for a refrigeration cycle of the refrigerator;
[0008] Display module, used to display information and receive user operations;
[0009] A wireless communication module, used to realize communication between the refrigerator and a cloud server;
[0010] Controller for:
[0011] After receiving a clear data request triggered by the user through the display module, uploading the clear data request to the cloud server;
[0012] After receiving the reset request instruction sent by the cloud server, the first refrigerator data stored locally in the refrigerator is cleared, and the display information of the display module is reset; wherein, the reset request instruction is sent to the refrigerator through the wireless communication module by the cloud server after receiving the clear data request, verifying the legitimacy of the user identity, unbinding the refrigerator from the user, and clearing the second refrigerator data stored in the refrigerator.
[0013] Furthermore, the cloud server is used to:
[0014] After receiving the user information uploaded by the user using the display module or the user terminal, verifying the user information;
[0015] When the user information is verified, a token string containing the user information is generated according to a hash algorithm;
[0016] The token string is stored in a preset database, and the token string is sent to the refrigerator and the user terminal.
[0017] Furthermore, the cloud server is also used for:
[0018] After receiving a data clearing request uploaded by the user using the display module or the user terminal, verifying the legitimacy of the user identity according to the token character string carried in the data clearing request;
[0019] When the legitimacy verification of the user identity is passed, the refrigerator is unbound from the user, the second refrigerator data stored in the refrigerator is cleared, and the reset request instruction is sent to the refrigerator.
[0020] Furthermore, the cloud server unbinds the refrigerator from the user and clears the second refrigerator data stored in the refrigerator, specifically including:
[0021] Obtain the device identifier of the bound refrigerator corresponding to the user information contained in the token string;
[0022] unbinding the refrigerator from the user information according to the device identifier of the refrigerator in the device identifier of the bound refrigerator;
[0023] The second refrigerator data of the refrigerator is determined in the data stored in the partition of the preset database according to the device identification of the refrigerator, and the second refrigerator data is cleared by data erasing.
[0024] Furthermore, the cloud server is also used for:
[0025] Before sending the reset request instruction to the refrigerator, determining whether the refrigerator is in an online state;
[0026] If yes, sending the reset request instruction to the refrigerator;
[0027] If not, the reset request instruction is preset, and after determining that the refrigerator is in an online state, the reset request instruction is sent to the refrigerator.
[0028] Furthermore, the cloud server determines whether the refrigerator is in an online state, specifically including:
[0029] Determine whether a heartbeat command uploaded by the refrigerator is received within a preset time period;
[0030] If a heartbeat command uploaded by the refrigerator is received within a preset time period, it is determined that the refrigerator is in an online state;
[0031] If no heartbeat command uploaded by the refrigerator is received within a preset time period, it is determined that the refrigerator is in an offline state.
[0032] Furthermore, the first refrigerator data includes networking information and user operation data of the refrigerator, and the networking information includes router information after the wireless communication module is successfully connected to the network.
[0033] Furthermore, the second refrigerator data includes networking control data, energy consumption data and food data of the refrigerator, and the networking control data includes networking and interface access data after the refrigerator is connected to the cloud server, and user remote control data after the refrigerator is bound to the user.
[0034] Furthermore, the controller is also used for:
[0035] After resetting the display information of the display module, uploading a reset success instruction to the cloud server through the wireless communication module;
[0036] Then, the cloud server is also used for:
[0037] After receiving the reset success instruction, a notification message is pushed to the display module or the user terminal to inform the user that the refrigerator has been unbound and the refrigerator data has been cleared.
[0038] In order to achieve the above object, an embodiment of the present invention further provides a refrigerator data clearing method, which is applicable to any of the above refrigerators, and the method is executed by the controller, and the method includes:
[0039] After receiving a clear data request triggered by the user through the display module, uploading the clear data request to the cloud server;
[0040] After receiving the reset request instruction sent by the cloud server, the first refrigerator data stored locally in the refrigerator is cleared, and the display information of the display module is reset; wherein, the reset request instruction is sent to the refrigerator through the wireless communication module by the cloud server after receiving the clear data request, verifying the legitimacy of the user identity, unbinding the refrigerator from the user, and clearing the second refrigerator data stored in the refrigerator.
[0041] Compared with the prior art, the embodiment of the present invention provides a refrigerator and a refrigerator data clearing method, wherein the refrigerator comprises: a box body, at least one compartment is provided inside for storing food; a refrigeration system, comprising a compressor, a condenser, a capillary tube and an evaporator connected in series to form a loop, for providing power for the refrigeration cycle of the refrigerator; a display module, for displaying information and receiving user operations; a wireless communication module, for realizing communication between the refrigerator and a cloud server; a controller, for: uploading the clear data request to the cloud server after receiving a clear data request triggered by the user through the display module; clearing the first refrigerator data stored locally in the refrigerator and resetting the display information of the display module after receiving a reset request instruction issued by the cloud server; wherein the reset request instruction is issued to the refrigerator through the wireless communication module after the cloud server receives the clear data request, verifies the legitimacy of the user identity, unbinds the refrigerator from the user, and clears the second refrigerator data stored in the refrigerator. The embodiment of the present invention can safely clear refrigerator data and avoid the risk of refrigerator data leakage. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 is a schematic diagram of the appearance structure of a refrigerator provided by one embodiment of the present invention;
[0043] Figure 2 is a schematic diagram of the internal structure of a refrigerator provided by an embodiment of the present invention;
[0044] Figure 3 It is a structural schematic diagram of a refrigeration system of a refrigerator provided by an embodiment of the present invention;
[0045] Figure 4 is a schematic diagram of interaction between a refrigerator, a cloud server and a user terminal provided by an embodiment of the present invention;
[0046] Figure 5 This is a working flow diagram of a refrigerator controller provided by one embodiment of the present invention;
[0047] Figure 6 This is a flowchart of the interaction between a refrigerator controller and a cloud server provided by an embodiment of the present invention;
[0048] Figure 7 This is a workflow diagram of a cloud server provided by an embodiment of the present invention;
[0049] Figure 8 is a flowchart of an interaction between a refrigerator controller and a cloud server provided by another embodiment of the present invention;
[0050] Fig. 9 is a workflow diagram of a cloud server provided by another embodiment of the present invention;
[0051] Fig.10 It is a flowchart of the interaction between a refrigerator controller and a cloud server provided by another embodiment of the present invention;
[0052] Fig.11 The figure is a flow chart of a refrigerator data clearing method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this technical field without creative work are within the scope of protection of the present invention.
[0054] See also Figure 1 and Figure 2 As shown, Figure 1 is a schematic diagram of the appearance structure of a refrigerator provided by an embodiment of the present invention, Figure 2 1 is a schematic diagram of the internal structure of a refrigerator provided by an embodiment of the present invention. The refrigerator comprises a box body 100, wherein at least one compartment is arranged inside the box body 100, and each compartment is used to store food, wherein the at least one compartment comprises at least one refrigerating compartment and / or at least one freezing compartment, and different compartments are spaced from each other; Figure 2 As shown in the example, the refrigerator body 100 includes both a refrigerating compartment 20 and a freezing compartment 10, and the freezing compartment 10 in the body 100 is located above the refrigerating compartment 20; it can be understood that the refrigerator also includes at least one door body arranged on the body 100, each of the door bodies has a one-to-one correspondence with each of the compartments, and each of the door bodies is used to open or close the corresponding compartment.
[0055] It should be noted that Figure 1 and Figure 2 The refrigerator body 100 shown in the figure is a rectangular parallelepiped structure. Figure 2The freezer compartment 10 inside the box body 100 is shown as being located above the refrigerating compartment 20. Those skilled in the art will appreciate that the box body 100 may also be in other shapes, such as a cube, a cylinder, etc., and the freezer compartment 10 inside the box body 100 may also be located below the refrigerating compartment 20, which is not specifically limited in the embodiment of the present invention.
[0056] The refrigerator also includes a refrigeration system. Figure 3 , which is a schematic diagram of the structure of a refrigeration system of a refrigerator provided by an embodiment of the present invention, wherein the refrigeration system comprises a compressor 30, a condenser 40, a capillary tube 50 and an evaporator 60 which are sequentially connected in series to form a loop, and the refrigeration system is used to provide power for the refrigeration cycle of the refrigerator; wherein the compressor 30 is mainly used to compress the refrigerant in the refrigeration cycle flowing through the refrigerator to provide power for the refrigeration cycle of the refrigerator; and the evaporator 60 is mainly used to provide cold air for the freezing compartment 10 and the refrigerating compartment 20.
[0057] Combination Figure 3 As shown, the refrigerator further includes a fan 70, which is used to deliver the cold air generated by the evaporator 60 into the freezing compartment 10; for example, external air enters the evaporator 60 for heat exchange to generate heat-released air (i.e., cold air), and the fan 70 delivers the heat-released air generated by the evaporator 60 into the freezing compartment 10 and the refrigerating compartment 20.
[0058] It should be noted that, combined with Figure 2 and Figure 3 As shown, a main air duct is formed on the rear wall of the freezing compartment 10, both ends of which are connected to the freezing compartment 10, and an evaporator 60 and a fan 70 are arranged in the main air duct; a refrigerating air inlet duct and a refrigerating air return duct are arranged on the rear wall of the refrigerating compartment 20; one end of the main air duct is connected to the refrigerating air return duct, and the other end is connected to the refrigerating air inlet duct; a refrigerating air door is arranged between the main air duct and the refrigerating air inlet duct to control the connectivity between the main air duct and the refrigerating air return duct.
[0059] When the refrigerator is in freezing and refrigeration mode, the refrigeration damper is closed, and under the action of the fan 70, the air in the freezing compartment 10 enters the main air duct from one end of the main air duct and passes through the evaporator 60 in the main air duct. The air passing through the evaporator 60 is cooled and then returns to the freezing compartment 10, thereby achieving cooling of the freezing compartment 10.
[0060] When the refrigerator is in refrigeration, the refrigeration damper is opened, and under the action of the fan 70, the air in the refrigeration compartment 20 passes through the refrigeration return air duct, the main air duct, the refrigeration damper, and the refrigeration inlet air duct in sequence and then returns to the refrigeration compartment 20; when passing through the main air duct, the air is cooled under the action of the evaporator 60 in the main air duct, thereby achieving the cooling of the refrigeration compartment 20.
[0061] In an embodiment of the present invention, the refrigerator also includes a display module and a wireless communication module (for example, a WiFi module, etc.), wherein the display module is mainly used to display information and receive user operations on the display interface of the display module, and the wireless communication module is mainly used to communicate between the refrigerator and the cloud server.
[0062] See also Figure 4 As shown, it is a schematic diagram of the interaction between a refrigerator, a cloud server and a user terminal provided by an embodiment of the present invention. The refrigerator can communicate with the cloud server through a wireless communication module, and the display module of the refrigerator is connected to the Internet through the wireless communication module. The user can complete the registration and binding of the refrigerator device on the cloud server by operating on the display module; the user terminal can also communicate with the cloud server, and the user can also complete the registration and binding of the refrigerator device on the cloud server by operating on the APP installed on the user terminal; the cloud server is mainly responsible for the issuance and reception of interaction instructions between the refrigerator and the user terminal.
[0063] In an embodiment of the present invention, the refrigerator also includes a controller, which is used to control the operation of various components in the refrigerator so that the various components of the refrigerator can operate to realize various functions of the refrigerator. Furthermore, the controller is used to adopt the technical solution provided in the embodiment of the present invention to control the refrigerator accordingly to solve the technical problems to be solved by the embodiment of the present invention and realize the technical effects that can be achieved by the embodiment of the present invention.
[0064] As one of the optional embodiments, the controller is used for:
[0065] After receiving a clear data request triggered by the user through the display module, uploading the clear data request to the cloud server;
[0066] After receiving the reset request instruction sent by the cloud server, the first refrigerator data stored locally in the refrigerator is cleared, and the display information of the display module is reset; wherein, the reset request instruction is sent to the refrigerator through the wireless communication module by the cloud server after receiving the clear data request, verifying the legitimacy of the user identity, unbinding the refrigerator from the user, and clearing the second refrigerator data stored in the refrigerator.
[0067] Combination Figure 5, which is a workflow diagram of a refrigerator controller provided by an embodiment of the present invention. When the embodiment of the present invention is implemented, the specific working process of the controller is as follows: an option of "unbinding and deleting refrigerator data" is added to the display interface of the display module of the refrigerator. When the user decides to clear the cleaning data, the option can be confirmed by the user operation on the display interface (for example, clicking the button corresponding to the option). After receiving the user operation, the display module triggers a clear data request accordingly ( Figure 5 In step S11), after receiving the clear data request triggered by the user through the display module, the controller uploads the received clear data request to the cloud server ( Figure 5 After receiving the clear data request uploaded by the refrigerator, the cloud server first verifies the legitimacy of the user identity, and after the legitimacy of the user identity is verified, the refrigerator is unbound from the user, and the second refrigerator data of the refrigerator stored in the cloud server is cleared, and then the reset request instruction is sent to the refrigerator through the wireless communication module; the controller receives the reset request instruction sent by the cloud server ( Figure 5 Step S13 is shown, and after receiving the reset request instruction sent by the cloud server, the first refrigerator data stored locally in the refrigerator is cleared ( Figure 5 Step S14), at the same time, the display information of the display module is reset ( Figure 5 Step S15 is shown).
[0068] It should be noted that, combined with Figure 4 As shown, in addition to adding an option of "unbinding and deleting refrigerator data" on the display interface of the display module of the refrigerator, so that the user can trigger a request to clear data by user operations performed on the display interface of the display module, in an embodiment of the present invention, an option of "unbinding and deleting refrigerator data" can also be added to the APP installed on the user terminal, so that the user can also trigger a request to clear data by user operations performed on the APP installed on the user terminal.
[0069] As one of the optional embodiments, the first refrigerator data includes networking information and user operation data of the refrigerator, and the networking information includes router information after the wireless communication module is successfully connected to the network.
[0070] It should be noted that the first refrigerator data stored locally in the refrigerator mainly includes the refrigerator's networking information and user operation data. The networking information mainly includes some router information stored locally in the refrigerator device after the refrigerator successfully connects to the Internet through a wireless communication module (mainly a WiFi module), for example, including SSID, password, etc.
[0071] Exemplarily, the cloud server sends a reset request instruction to the refrigerator through the wireless communication module of the refrigerator. After receiving the reset request instruction sent by the cloud server, the wireless communication module sends the received reset request instruction to the controller. The controller synchronously deletes the networking information and user operation data stored locally in the refrigerator device according to the received reset request instruction. At the same time, the wireless communication module also synchronously sends the received reset request instruction to the display module. The display module resets the refrigerator program according to the received reset request instruction to reset the display information involved in the display module (for example, parameters such as the temperature, mode and compressor frequency of each compartment) to the factory settings.
[0072] As one of the optional embodiments, the second refrigerator data includes the network control data, energy consumption data and food data of the refrigerator, and the network control data includes the network and interface access data after the refrigerator is connected to the cloud server, and the user remote control data after the refrigerator is bound to the user.
[0073] It should be noted that the second refrigerator data stored in the cloud server mainly includes the refrigerator's network control data, energy consumption data and food data. The network control data mainly includes some network and interface access data generated after the refrigerator establishes a connection with the cloud server during the user's operation of the refrigerator device's network configuration and binding process, as well as some user remote control data generated when the user remotely controls the refrigerator device through the APP after the refrigerator is bound to the user (the APP of the user terminal).
[0074] A refrigerator provided by an embodiment of the present invention comprises: a box body, at least one compartment is provided inside for storing food; a refrigeration system, comprising a compressor, a condenser, a capillary tube and an evaporator connected in series to form a loop, for providing power for the refrigeration cycle of the refrigerator; a display module, for displaying information and receiving user operations; a wireless communication module, for realizing communication between the refrigerator and a cloud server; a controller, for uploading the clear data request to the cloud server after receiving a clear data request triggered by the user through the display module; after receiving a reset request instruction issued by the cloud server, clearing the first refrigerator data stored locally in the refrigerator and resetting the display information of the display module; wherein the reset request instruction is issued to the refrigerator through the wireless communication module after the cloud server receives the clear data request, verifies the legitimacy of the user identity, unbinds the refrigerator from the user, and clears the second refrigerator data stored in the refrigerator. The embodiment of the present invention clears the refrigerator data by verifying the legitimacy of the user identity on the cloud, unbinding the device and clearing the data, and resetting the device on the refrigerator end, so as to efficiently and safely clear the refrigerator data and avoid the risk of refrigerator data leakage.
[0075] As one of the optional embodiments, the cloud server is used for:
[0076] After receiving the user information uploaded by the user using the display module or the user terminal, verifying the user information;
[0077] When the user information is verified, a token string containing the user information is generated according to a hash algorithm;
[0078] The token string is stored in a preset database, and the token string is sent to the refrigerator and the user terminal.
[0079] Combination Figure 4 As shown, on the basis of the above embodiments, when the embodiments of the present invention are implemented, the user can register and log in to the refrigerator device by using the display interface of the display module of the refrigerator or the APP installed on the user terminal. The user enters the user information by operating in the display interface or the APP, and the refrigerator or the user terminal uploads the received user information input by the user to the cloud server; after receiving the user information uploaded by the user using the display module of the refrigerator or the user terminal, the cloud server verifies the received user information. When the user information verification is passed, a token string containing the user information is generated according to the hash algorithm, the generated token string is stored in the preset database in the cloud, and the generated token string is transmitted back to the refrigerator and the user terminal.
[0080] It should be noted that user information can be a user name and password. When verifying user information, the cloud server can perform some conventional verifications that have been disclosed in the prior art, for example, checking whether the user name and password are legal, and for registered user names, checking whether the corresponding entered password is correct.
[0081] It should be noted that for the token string containing the user information, the corresponding token string is generated only when the user registers for the first time based on the hash algorithm and the user information used for user registration. One user information corresponds to one token string.
[0082] As one of the optional embodiments, the cloud server is further used for:
[0083] After receiving a data clearing request uploaded by the user using the display module or the user terminal, verifying the legitimacy of the user identity according to the token character string carried in the data clearing request;
[0084] When the legitimacy verification of the user identity is passed, the refrigerator is unbound from the user, the second refrigerator data stored in the refrigerator is cleared, and the reset request instruction is sent to the refrigerator.
[0085] It should be noted that the user can trigger the data clearing request by performing a user operation on the display interface of the display module of the refrigerator, or by performing a user operation on the APP installed on the user terminal. The former is used as an example below:
[0086] Combination Figure 6 As shown in FIG. 1 , it is a flowchart of the interaction between a refrigerator controller and a cloud server provided by an embodiment of the present invention. Based on the above embodiment, when the embodiment of the present invention is implemented, the controller executes Figure 6 After step S12 shown in the figure, the cloud server receives the clear data request uploaded by the refrigerator ( Figure 6 Step S21 is shown, and after receiving the clear data request, the legitimacy of the user identity is verified according to the token string carried in the received clear data request to determine whether the user identity is legal ( Figure 6 When it is determined that the user's identity is authenticated, the binding relationship between the refrigerator and the user is released, and the second refrigerator data of the refrigerator stored in the cloud is cleared ( Figure 6 Step S23 is shown), and a reset request instruction is sent to the refrigerator ( Figure 6 Step S24 is shown).
[0087] It should be noted that the packet header of the data clearing request uploaded by the refrigerator or user terminal to the cloud server carries a token string containing user information. Due to the one-to-one correspondence between the token string and the user information, the cloud server can verify the legitimacy of the user identity based on the token string when verifying the legitimacy of the user identity.
[0088] It is understandable that if it is determined that the user identity legitimacy verification fails, the current request to clear data is considered invalid and an error message may be returned.
[0089] See also Figure 7 FIG. 2 is a flowchart of a cloud server provided by an embodiment of the present invention. As one of the optional embodiments, the cloud server unbinds the refrigerator from the user and clears the second refrigerator data stored in the refrigerator, specifically including steps S231 to S233:
[0090] Step S231, obtaining the device identifier of the bound refrigerator corresponding to the user information contained in the token character string;
[0091] Step S232: unbinding the refrigerator from the user information according to the device identifier of the refrigerator in the device identifier of the bound refrigerator;
[0092] Step S233: determining the second refrigerator data of the refrigerator in the data stored in the partition of the preset database according to the device identification of the refrigerator, and clearing the second refrigerator data by data erasing.
[0093] On the basis of the above-mentioned embodiment, when the embodiment of the present invention is implemented, the cloud server executes Figure 6 In the step S23 shown, the user information contained in the token string carried in the data clearing request can be first obtained, and the device identifier of the bound refrigerator corresponding to the user information can be found out according to the obtained user information, and then the device identifier deiviceID of the refrigerator to be unbound in the device identifier of the bound refrigerator can be found out, and then, according to the found device identifier deiviceID of the refrigerator to be unbound, the binding relationship between the refrigerator to be unbound and the user information is released, and according to the found device identifier deiviceID of the refrigerator to be unbound, the second refrigerator data of the refrigerator to be unbound is determined in the data stored in the partition of the preset database in the cloud, and the second refrigerator data related to the device identifier deiviceID of the refrigerator to be unbound is cleared by data erasure.
[0094] It should be noted that in the cloud server, different categories of data can be stored through database partition storage, and refrigerator devices can map data of different functions through the devideID identifier.
[0095] It should be noted that, in the embodiment of the present invention, deleting the data of the second refrigerator by means of data erasure can ensure that the data of the second refrigerator is completely cleared and cannot be recovered, thereby further improving the security of data erasure.
[0096] As one of the optional embodiments, the cloud server is further used for:
[0097] Before sending the reset request instruction to the refrigerator, determining whether the refrigerator is in an online state;
[0098] If yes, sending the reset request instruction to the refrigerator;
[0099] If not, the reset request instruction is preset, and after determining that the refrigerator is in an online state, the reset request instruction is sent to the refrigerator.
[0100] Combination Figure 8 FIG. 1 is a flowchart of an interaction process between a refrigerator controller and a cloud server provided by another embodiment of the present invention. Based on the above embodiment, when the embodiment of the present invention is implemented, the cloud server executes Figure 6 Before step S24 shown in the figure, it is first determined whether the refrigerator is in an online state ( Figure 8Step S25), when it is determined that the refrigerator is online, a reset request instruction is sent to the refrigerator ( Figure 8 When it is determined that the refrigerator is not online, a reset request instruction is preset ( Figure 8 Step S26 is shown, and after determining that the refrigerator is online, a reset request instruction is automatically sent to the refrigerator, that is, Figure 8 As shown, the process returns from step S26 to step S25, and if the determination result is "Y", step S24 is executed.
[0101] It is understandable that when the cloud server sends a reset request instruction to the refrigerator, it must ensure that the refrigerator device is online and connected to the Internet before the reset request instruction can be sent successfully. If it is determined that the refrigerator device is currently offline, the reset request instruction can be preset first. Once it is detected that the refrigerator device has returned to the online state, the sending operation will be automatically executed according to the preset reset request instruction.
[0102] As one of the optional embodiments, the cloud server determines whether the refrigerator is online, specifically including:
[0103] Determine whether a heartbeat command uploaded by the refrigerator is received within a preset time period;
[0104] If a heartbeat command uploaded by the refrigerator is received within a preset time period, it is determined that the refrigerator is in an online state;
[0105] If no heartbeat command uploaded by the refrigerator is received within a preset time period, it is determined that the refrigerator is in an offline state.
[0106] Combination Fig. 9 FIG. 1 is a flowchart of a cloud server provided by another embodiment of the present invention. Based on the above embodiment, when the embodiment of the present invention is implemented, the cloud server executes Figure 8 In step S25 shown in the figure, it can be determined whether the refrigerator is in an online state by determining whether a heartbeat instruction uploaded by the refrigerator is received within a preset time period ( Fig. 9 Step S251 is shown, when it is determined that the heartbeat instruction uploaded by the refrigerator is received within the preset time period, it is determined that the refrigerator is in the online state ( Fig. 9 Step S252 is shown, and accordingly, the execution can continue Figure 8 Step S24; when it is determined that no heartbeat command uploaded by the refrigerator is received within the preset time period, it is determined that the refrigerator is in an offline state ( Fig. 9 Step S253 is shown, and accordingly, the execution can continue Figure 8 Shown is step S26.
[0107] For example, assuming the preset time period is 2 minutes, if the cloud server receives the heartbeat command uploaded by the refrigerator within 2 minutes, it is determined that the refrigerator is online. If the cloud server still does not receive the heartbeat command uploaded by the refrigerator after more than 2 minutes, it is determined that the refrigerator is offline.
[0108] As one of the optional embodiments, the controller is further used for:
[0109] After resetting the display information of the display module, uploading a reset success instruction to the cloud server through the wireless communication module;
[0110] Then, the cloud server is also used for:
[0111] After receiving the reset success instruction, a notification message is pushed to the display module or the user terminal to inform the user that the refrigerator has been unbound and the refrigerator data has been cleared.
[0112] Combination Fig.10 As shown in FIG. 1 , it is a flowchart of the interaction between a refrigerator controller and a cloud server provided by another embodiment of the present invention. Based on the above embodiment, when the embodiment of the present invention is implemented, the controller executes Figure 5 After step S15, the reset success instruction can be uploaded to the cloud server through the wireless communication module ( Fig.10 Step S16 shown); accordingly, the cloud server receives the reset success instruction uploaded by the refrigerator ( Fig.10 After receiving the reset success instruction uploaded by the refrigerator, a notification message is generated and pushed to the display module or user terminal of the refrigerator through the wireless communication module ( Fig.10 Step S28 shown); accordingly, the display module at the refrigerator receives and displays the notification information pushed by the cloud server ( Fig.10 As shown in step S17), similarly, the user terminal receives and displays the notification information pushed by the cloud server to inform the user that the refrigerator has been unbound and the refrigerator data has been cleared.
[0113] The embodiment of the present invention also provides a refrigerator data clearing method, see Fig.11 FIG. 1 is a flow chart of a refrigerator data clearing method provided by an embodiment of the present invention. The method is applicable to the refrigerator described in any of the above embodiments. The method is executed by the controller and includes steps S101 to S102:
[0114] Step S101, after receiving a clear data request triggered by the user through the display module, uploading the clear data request to the cloud server;
[0115] Step S102: after receiving the reset request instruction sent by the cloud server, clear the first refrigerator data stored locally in the refrigerator, and reset the display information of the display module; wherein, the reset request instruction is sent to the refrigerator through the wireless communication module by the cloud server after receiving the clear data request, verifying the legitimacy of the user identity, unbinding the refrigerator from the user, and clearing the second refrigerator data stored in the refrigerator.
[0116] In some embodiments, the cloud server is used to:
[0117] After receiving the user information uploaded by the user using the display module or the user terminal, verifying the user information;
[0118] When the user information is verified, a token string containing the user information is generated according to a hash algorithm;
[0119] The token string is stored in a preset database, and the token string is sent to the refrigerator and the user terminal.
[0120] In some embodiments, the cloud server is further used to:
[0121] After receiving a data clearing request uploaded by the user using the display module or the user terminal, verifying the legitimacy of the user identity according to the token character string carried in the data clearing request;
[0122] When the legitimacy verification of the user identity is passed, the refrigerator is unbound from the user, the second refrigerator data stored in the refrigerator is cleared, and the reset request instruction is sent to the refrigerator.
[0123] In some embodiments, the cloud server unbinds the refrigerator from the user and clears the second refrigerator data stored in the refrigerator, specifically including:
[0124] Obtain the device identifier of the bound refrigerator corresponding to the user information contained in the token string;
[0125] unbinding the refrigerator from the user information according to the device identifier of the refrigerator in the device identifier of the bound refrigerator;
[0126] The second refrigerator data of the refrigerator is determined in the data stored in the partition of the preset database according to the device identification of the refrigerator, and the second refrigerator data is cleared by data erasing.
[0127] In some embodiments, the cloud server is further used to:
[0128] Before sending the reset request instruction to the refrigerator, determining whether the refrigerator is in an online state;
[0129] If yes, sending the reset request instruction to the refrigerator;
[0130] If not, the reset request instruction is preset, and after determining that the refrigerator is in an online state, the reset request instruction is sent to the refrigerator.
[0131] In some embodiments, the cloud server determines whether the refrigerator is online, specifically including:
[0132] Determine whether a heartbeat command uploaded by the refrigerator is received within a preset time period;
[0133] If a heartbeat command uploaded by the refrigerator is received within a preset time period, it is determined that the refrigerator is in an online state;
[0134] If no heartbeat command uploaded by the refrigerator is received within a preset time period, it is determined that the refrigerator is in an offline state.
[0135] In some embodiments, the first refrigerator data includes networking information and user operation data of the refrigerator, and the networking information includes router information after the wireless communication module is successfully connected to the network.
[0136] In some embodiments, the second refrigerator data includes networking control data, energy consumption data and food data of the refrigerator, and the networking control data includes networking and interface access data after the refrigerator is connected to the cloud server, and user remote control data after the refrigerator is bound to the user.
[0137] In some embodiments, the method further comprises:
[0138] After resetting the display information of the display module, uploading a reset success instruction to the cloud server through the wireless communication module;
[0139] Then, the cloud server is also used for:
[0140] After receiving the reset success instruction, a notification message is pushed to the display module or the user terminal to inform the user that the refrigerator has been unbound and the refrigerator data has been cleared.
[0141] It should be noted that the refrigerator data clearing method provided in an embodiment of the present invention can realize all the working processes of the refrigerator described in any of the above embodiments. The specific implementation plan and the technical effects achieved corresponding to the method are respectively the same as the specific implementation plan and the technical effects achieved of the refrigerator described in the above embodiments, and will not be repeated here.
[0142] In summary, the refrigerator and refrigerator data clearing method provided by the embodiment of the present invention include: a box body, at least one compartment is provided inside, for storing food; a refrigeration system, including a compressor, a condenser, a capillary tube and an evaporator connected in series to form a loop, for providing power for the refrigeration cycle of the refrigerator; a display module, for displaying information and receiving user operations; a wireless communication module, for realizing communication between the refrigerator and a cloud server; a controller, for: uploading the clear data request to the cloud server after receiving a clear data request triggered by the user through the display module; clearing the first refrigerator data stored locally in the refrigerator and resetting the display information of the display module after receiving the reset request instruction issued by the cloud server; wherein the reset request instruction is issued to the refrigerator through the wireless communication module after the cloud server receives the clear data request, verifies the legitimacy of the user identity, unbinds the refrigerator from the user, and clears the second refrigerator data stored in the refrigerator. The embodiment of the present invention clears refrigerator data through the legitimacy verification of the user identity on the cloud, unbinding the device and clearing the data, and resetting the device on the refrigerator end, so as to efficiently and safely clear the refrigerator data and avoid the risk of refrigerator data leakage.
[0143] The above are only some embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. A refrigerator, characterized in that: The refrigerator comprises: The box body has at least one compartment inside for storing food; A refrigeration system, comprising a compressor, a condenser, a capillary tube and an evaporator connected in series to form a loop, for providing power for a refrigeration cycle of the refrigerator; Display module, used to display information and receive user operations; A wireless communication module, used to realize communication between the refrigerator and a cloud server; Controller for: After receiving a clear data request triggered by the user through the display module, uploading the clear data request to the cloud server; After receiving the reset request instruction sent by the cloud server, the first refrigerator data stored locally in the refrigerator is cleared, and the display information of the display module is reset; wherein, the reset request instruction is sent to the refrigerator through the wireless communication module by the cloud server after receiving the clear data request, verifying the legitimacy of the user identity, unbinding the refrigerator from the user, and clearing the second refrigerator data stored in the refrigerator.
2. The refrigerator according to claim 1, characterized in that: The cloud server is used for: After receiving the user information uploaded by the user using the display module or the user terminal, verifying the user information; When the user information is verified, a token string containing the user information is generated according to a hash algorithm; The token string is stored in a preset database, and the token string is sent to the refrigerator and the user terminal.
3. The refrigerator according to claim 2, characterized in that: The cloud server is also used for: After receiving a data clearing request uploaded by the user using the display module or the user terminal, verifying the legitimacy of the user identity according to the token character string carried in the data clearing request; When the legitimacy verification of the user identity is passed, the refrigerator is unbound from the user, the second refrigerator data stored in the refrigerator is cleared, and the reset request instruction is sent to the refrigerator.
4. The refrigerator according to claim 3, characterized in that: The cloud server unbinds the refrigerator from the user and clears the second refrigerator data stored in the refrigerator, specifically including: Obtain the device identifier of the bound refrigerator corresponding to the user information contained in the token string; unbinding the refrigerator from the user information according to the device identifier of the refrigerator in the device identifier of the bound refrigerator; The second refrigerator data of the refrigerator is determined in the data stored in the partition of the preset database according to the device identification of the refrigerator, and the second refrigerator data is cleared by data erasing.
5. The refrigerator according to claim 1, characterized in that: The cloud server is also used for: Before sending the reset request instruction to the refrigerator, determining whether the refrigerator is in an online state; If yes, sending the reset request instruction to the refrigerator; If not, the reset request instruction is preset, and after determining that the refrigerator is in an online state, the reset request instruction is sent to the refrigerator.
6. The refrigerator according to claim 5, characterized in that: The cloud server determines whether the refrigerator is in an online state, specifically including: Determine whether a heartbeat command uploaded by the refrigerator is received within a preset time period; If a heartbeat command uploaded by the refrigerator is received within a preset time period, it is determined that the refrigerator is in an online state; If no heartbeat command uploaded by the refrigerator is received within a preset time period, it is determined that the refrigerator is in an offline state.
7. The refrigerator according to claim 1, characterized in that: The first refrigerator data includes networking information and user operation data of the refrigerator, and the networking information includes router information after the wireless communication module is successfully connected to the network.
8. The refrigerator according to claim 1, characterized in that The second refrigerator data includes the network control data, energy consumption data and food data of the refrigerator. The network control data includes the network and interface access data after the refrigerator is connected to the cloud server, and the user remote control data after the refrigerator is bound to the user.
9. The refrigerator according to any one of claims 1 to 8, characterized in that: The controller is also used for: After resetting the display information of the display module, uploading a reset success instruction to the cloud server through the wireless communication module; Then, the cloud server is also used for: After receiving the reset success instruction, a notification message is pushed to the display module or the user terminal to inform the user that the refrigerator has been unbound and the refrigerator data has been cleared.
10. A refrigerator data clearing method, characterized in that: Applicable to the refrigerator according to any one of claims 1 to 9, the method is executed by the controller, and the method comprises: After receiving a clear data request triggered by the user through the display module, uploading the clear data request to the cloud server; After receiving the reset request instruction sent by the cloud server, the first refrigerator data stored locally in the refrigerator is cleared, and the display information of the display module is reset; wherein, the reset request instruction is sent to the refrigerator through the wireless communication module by the cloud server after receiving the clear data request, verifying the legitimacy of the user identity, unbinding the refrigerator from the user, and clearing the second refrigerator data stored in the refrigerator.