Refrigerator and control method therefor
By setting the first communication component in the refrigerator and using the preset IP address and connection information before the power outage, the refrigerator can automatically reconnect to the Internet after a power outage, solving the problem of network failure after a power outage, improving user experience and simplifying Troubleshooting process.
Patent Information
- Application Number
- PCT/CN2023/143346
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-11
- Filing Date
- 2023-12-29
- Publication Date
- 2024-10-31
AI Technical Summary
When the refrigerator is powered on again after a power outage, it cannot restore the network status in time, resulting in the user being unable to remotely control and monitor the status of the refrigerator, affecting the user experience.
By setting the first communication component in the refrigerator, using the preset default IP address and the wireless access point information connected before the power outage, reconnect the wireless access point, and request the target IP address through the DHCP server to connect to the cloud server, Make sure the refrigerator automatically reconnects to the internet after power is restored.
It enables the refrigerator to automatically reconnect to the network after a power outage, solves the problem of network failure, improves user experience, and helps users quickly solve abnormal situations by prompting users to check network problems.
Smart Images

Figure CN2023143346_31102024_PF_FP_ABST
Abstract
Description
Refrigerator and control method thereof
[0001] This application claims priority to Chinese patent application No. 202310466252.2 filed on April 26, 2023, and priority to Chinese patent application No. 202310527291.9 filed on May 11, 2023, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present disclosure relates to the field of household appliances, and in particular to a refrigerator and a control method thereof. Background Art
[0003] Currently, some refrigerators can be connected to the internet and linked to an app to enable remote control, status monitoring, and food management. In the event of an abnormality such as a power outage, the refrigerator needs to be restored to an online state after the outage ends and power is restored to meet the user's daily needs.
[0004] Summary of the Invention
[0005] On the one hand, a refrigerator is provided, comprising a housing, a door, a first communication component, and a controller. The housing comprises a storage compartment. The door is configured to open and close the storage compartment. The first communication component is provided in the housing and is configured to connect to a router via a wireless access point to achieve connection with a cloud server. The controller is configured to: in response to an initialization operation of the first communication component, control the IP address of the first communication component to be restored to a preset default IP address, and control the first communication component to connect to the wireless access point based on the connection information of the wireless access point to which the first communication component was connected before power failure; after the first communication component is connected to the wireless access point, control the first communication component to request a target IP address from the router; after the first communication component obtains the target IP address, control the first communication component to connect to the cloud server based on the target IP address.
[0006] On the other hand, a refrigerator is provided, comprising a housing, a door, a first communication component, a label, a whole-machine barcode, and a controller. The housing comprises a storage compartment. The door is configured to open and close the storage compartment. The first communication component is disposed within the housing and is configured to couple with a cloud server to enable networking of the refrigerator. A first identification code is pre-installed in the first communication component. The label is disposed on the outside of the housing and is configured to display the first identification code of the first communication component. The whole-machine barcode is disposed on the outside of the housing and is configured to display the second identification code of the refrigerator. The cloud server stores an association between the first identification code and the second identification code on the label. The controller is configured to: obtain a first identification code preset in the first communication component and a second identification code of the refrigerator; after the first communication component establishes a connection with the cloud server, obtain the association status of the first identification code; if it is determined that the first identification code has an association relationship, obtain a pending authentication code associated with the first identification code from the cloud server; if it is determined that the pending authentication code is different from the second identification code of the refrigerator, control the cloud server to update the association relationship of the first identification code, and re-bind the first identification code and the second identification code.
[0007] On the other hand, a method for controlling a refrigerator is provided, wherein the refrigerator includes a cabinet, a door, and a first communication component. The cabinet includes a storage compartment. The door is configured to open and close the storage compartment. The first communication component is provided in the cabinet and is configured to connect to a router via a wireless access point to achieve connection with a cloud server. The method includes: in response to an initialization operation of the first communication component, controlling the IP address of the first communication component to be restored to a preset default IP address, and controlling the first communication component to connect to the wireless access point based on the connection information of the wireless access point to which the first communication component was connected before power failure; after the first communication component is connected to the wireless access point, controlling the first communication component to request a target IP address from the router; after the first communication component obtains the target IP address, controlling the first communication component to connect to the cloud server based on the target IP address.
[0008] On the other hand, a method for controlling a refrigerator is provided, comprising a cabinet, a door, a first communication component, a label, and a whole-machine barcode. The cabinet comprises a storage chamber. The door is configured to open and close the storage chamber. The first communication component is disposed in the cabinet and is configured to be coupled to a cloud server to enable networking of the refrigerator. A first identification code is pre-installed in the first communication component. The label is disposed on the outside of the cabinet and is configured to display the first identification code of the first communication component. The whole-machine barcode is disposed on the outside of the cabinet and is configured to display the second identification code of the refrigerator. The cloud server stores the association between the first identification code and the second identification code on the label. The method includes: obtaining a first identification code preset in the first communication component and a second identification code of the refrigerator; after the first communication component establishes a connection with the cloud server, obtaining the association status of the first identification code; if it is determined that the first identification code has an association relationship, obtaining a pending authentication code associated with the first identification code from the cloud server; if it is determined that the pending authentication code is different from the second identification code of the refrigerator, controlling the cloud server to update the association relationship of the first identification code, and re-binding the first identification code and the second identification code. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] FIG1A is a front view of a refrigerator according to some embodiments;
[0010] FIG1B is a structural diagram of a door of a refrigerator according to some embodiments;
[0011] FIG1C is a structural diagram of a storage compartment of a refrigerator with its door open according to some embodiments;
[0012] FIG2 is a structural diagram of a refrigeration system of a refrigerator according to some embodiments;
[0013] FIG3A is a network topology diagram of a networking method in which a router and a wireless access point are combined according to some embodiments;
[0014] FIG3B is a schematic diagram illustrating a connection between a refrigerator and a router according to some embodiments;
[0015] FIG4 is a diagram of a scenario in which a refrigerator, a cloud server, and a mobile terminal communicate with each other according to some embodiments;
[0016] FIG5 is a flow chart of a method for controlling a refrigerator according to some embodiments;
[0017] FIG6 is another flow chart of a method for controlling a refrigerator according to some embodiments;
[0018] FIG7 is another flow chart of a method for controlling a refrigerator according to some embodiments;
[0019] FIG8 is another flow chart of a method for controlling a refrigerator according to some embodiments;
[0020] FIG9 is another flow chart of a method for controlling a refrigerator according to some embodiments;
[0021] FIG10 is another flow chart of a method for controlling a refrigerator according to some embodiments;
[0022] FIG11 is another flow chart of a method for controlling a refrigerator according to some embodiments;
[0023] FIG12 illustrates a process of associating a first identification code with a second identification code during production of a refrigerator according to some embodiments;
[0024] FIG13 is a binding process between a refrigerator and a mobile terminal according to some embodiments;
[0025] FIG14 is a flow chart of another method for controlling a refrigerator according to some embodiments;
[0026] FIG15 is another flow chart of another method for controlling a refrigerator according to some embodiments;
[0027] FIG16 is another flow chart of another method for controlling a refrigerator according to some embodiments;
[0028] FIG17 is yet another flow chart of another method for controlling a refrigerator according to some embodiments; and
[0029] FIG. 18 is yet another flow chart of another method for controlling a refrigerator according to some embodiments. DETAILED DESCRIPTION
[0030] The following will be combined with the accompanying drawings to clearly and completely describe some embodiments of the present disclosure. Obviously, the embodiments described are only some embodiments of the present disclosure, not all embodiments. Based on the embodiments provided by the present disclosure, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of the present disclosure.
[0031] Unless the context requires otherwise, throughout the specification and claims, the term "comprise" and its other forms, such as the third person singular form "comprises" and the present participle form "comprising", are to be interpreted as open and inclusive, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "example", "specific example" or "some examples" are intended to indicate that the particular features, structures, materials or characteristics associated with the embodiment or example are included in at least one embodiment or example of the present disclosure. The schematic representation of the above terms does not necessarily refer to the same embodiment or example. In addition, the particular features, structures, materials or characteristics may be included in any one or more embodiments or examples in any appropriate manner.
[0032] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "plurality" means two or more.
[0033] When describing some embodiments, the expressions "coupled" and "connected" and their derivatives may be used. The term "connected" should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium. The term "coupled" indicates that two or more components are in direct physical or electrical contact. The term "coupled" or "communicatively coupled" may also refer to two or more components that are not in direct contact with each other, but still cooperate or interact with each other. The embodiments disclosed herein are not necessarily limited to the contents of this document.
[0034] “At least one of A, B and C” has the same meaning as “at least one of A, B or C” and both include the following combinations of A, B and C: A only, B only, C only, the combination of A and B, the combination of A and C, the combination of B and C, and the combination of A, B and C.
[0035] “A and / or B” includes the following three combinations: A only, B only, and a combination of A and B.
[0036] The use of "adapted to" or "configured to" herein is intended to be open and inclusive language that does not exclude devices adapted or configured to perform additional tasks or steps.
[0037] As used herein, "about," "substantially," or "approximately" includes the stated value and an average value that is within an acceptable range of deviation from the particular value as determined by one of ordinary skill in the art taking into account the measurements in question and the errors associated with the measurement of the particular quantity (i.e., the limitations of the measurement system).
[0038] As used herein, "parallel", "perpendicular", and "equal" include the situations described and situations similar to the situations described, and the range of the similar situations is within an acceptable deviation range, wherein the acceptable deviation range is as determined by a person of ordinary skill in the art taking into account the measurement in question and the errors associated with the measurement of the specific quantity (i.e., the limitations of the measurement system). For example, "parallel" includes absolute parallelism and approximate parallelism, wherein the acceptable deviation range of approximate parallelism can be, for example, a deviation within 5°; "perpendicular" includes absolute perpendicularity and approximate perpendicularity, wherein the acceptable deviation range of approximate perpendicularity can also be, for example, a deviation within 5°. "Equal" includes absolute equality and approximate equality, wherein the acceptable deviation range of approximate equality can be, for example, that the difference between the two equals is less than or equal to 5% of either one.
[0039] 1A to 1C , some embodiments of the present disclosure provide a refrigerator, wherein the refrigerator 1000 includes a housing 100 defining a storage space and a door 200 . The housing 100 includes a component storage cavity and at least one storage chamber. The component storage cavity is configured to house various components of the refrigerator, such as a compressor. The storage chamber is configured to store food, etc. Depending on their use, the storage chamber can be classified as a refrigeration chamber, a freezer chamber, a temperature-changing chamber, a vacuum chamber, etc. The door 200 is configured to open or close the storage chamber. One or more doors 200 are provided at the opening of each storage chamber. For example, the housing 100 includes two storage chambers. The upper storage chamber of the housing 100 is a refrigeration chamber 101, and the refrigeration chamber 101 is provided with two doors 200 . The lower storage chamber of the housing 100 is a freezer chamber 102, and a door 200 is provided at the opening of the freezer chamber 102.
[0040] The door 200 can be opened by rotating or connected to a drawer in the storage compartment, and opened and closed by pushing and pulling. The door 200 includes a door shell 210 located outside the box 100, a door liner 220 located inside the box 100, an upper end cover 230, a lower end cover 240, and an insulation layer located between the door shell 210, the door liner 220, the upper end cover 230, and the lower end cover 240. The insulation layer can be made of foam.
[0041] In some embodiments, a door seal is installed at the opening of the storage chamber so that the door body 200 is in close contact with the opening of the storage chamber when the door body 200 is closed.
[0042] 2 , refrigerator 1000 further includes a refrigeration system configured to cool the storage compartment within refrigerator body 100. The refrigeration system includes a compressor 1, a condenser 2, and an evaporator 6. The outlet of compressor 1 is connected to the inlet of condenser 2, and the inlet of compressor 1 is connected to the outlet of evaporator 6. Compressor 1 is configured to compress refrigerant and provide power for the refrigerant circulation.
[0043] In some embodiments, the refrigeration system further includes a filter 4, a pressure reducer 5, and a gas-liquid separator 7. The inlet of the filter 4 is connected to the outlet of the condenser 2, and the outlet of the filter 4 is connected to the inlet of the evaporator 6. The pressure reducer 5 is provided on the pipeline between the outlet of the filter 4 and the inlet of the evaporator 6. The filter 4 is configured to filter impurities in the refrigerant, such as metal shavings, dust, etc., to prevent the impurities from clogging the pressure reducer 5 or damaging the compressor 1. The filter 4 can be a drying filter. The gas-liquid separator 7 is provided on the pipeline between the inlet of the compressor 1 and the outlet of the evaporator 6.
[0044] In some embodiments, the refrigeration system further includes an anti-condensation pipe 3, which is located at the junction of the cabinet 100 and the door 200 and communicates with the condensers 2 on both sides of the cabinet 100. The anti-condensation pipe 3 is configured to increase the temperature of the junction to prevent water vapor outside the cabinet 100 from condensing into water droplets due to the cold at the junction. A liquid reservoir is also provided between the evaporator 6 and the compressor 1 to store liquid refrigerant.
[0045] In some embodiments, the refrigeration system's operating process includes compression, condensation, throttling, and evaporation. First, connect the power cord to refrigerator 1000 to power it on. If the storage compartment temperature within refrigerator 1000 falls outside a preset temperature range, the thermostat contacts connect, and compressor 1 begins operating.
[0046] For example, the compression process is as follows: compressor 1 starts working, low-temperature, low-pressure refrigerant is sucked into compressor 1, compressed into high-temperature, high-pressure superheated gas in the cylinder of compressor 1, and then discharged into condenser 2.
[0047] The condensation process involves high-temperature, high-pressure refrigerant gas dissipating heat through condenser 2, gradually cooling to a saturated vapor at room temperature and high pressure. It then cools further to a saturated liquid, where the temperature stops falling. This temperature is called the condensation temperature. The refrigerant pressure remains virtually unchanged throughout the condensation process.
[0048] The throttling process is as follows: the condensed refrigerant saturated liquid is filtered out of water and impurities by the filter 4 and flows into the pressure reducer 5. After throttling and pressure reduction by the pressure reducer 5, it becomes wet steam at room temperature and low pressure.
[0049] The evaporation process is as follows: the wet steam at room temperature and low pressure begins to absorb heat and vaporize in the evaporator 6, which not only reduces the temperature of the evaporator 6 and the gas around the evaporator 6, but also turns the refrigerant into a low-temperature and low-pressure gas.
[0050] The refrigerant coming out of the evaporator 6 passes through the gas-liquid separator 7 and then returns to the compressor 1. By repeating the above working process, the heat in the refrigerator 1000 can be transferred to the air outside the box, thereby achieving the purpose of cooling.
[0051] 1A , refrigerator 1000 further includes a display device 40 configured to display information such as the storage compartment temperature, ingredient type, and ingredient weight. Display device 40 is also configured to receive user input, such as a user setting for the storage compartment temperature. Display device 40 may be a display screen.
[0052] At present, more and more refrigerators 1000 are beginning to have networking functions. For example, the refrigerator 1000 has a built-in Wireless Fidelity (WiFi) component, which is connected to the Internet through a networking method that combines a router and a Wireless Access Point (WAP). Furthermore, the refrigerator 1000 is connected to a cloud server through the Internet, and is bound to an application (APP) on a mobile terminal through the cloud server to realize functions such as remote control, status monitoring, and food management of the refrigerator 1000. During daily use, the refrigerator 1000 may experience power outages and other situations, which may lead to abnormal networking status. After the refrigerator 1000 is powered off and then powered on again, it is necessary to reconnect to the Internet to meet the user's remote management needs for the refrigerator 1000.
[0053] Referring to FIG3A , a networking method combining a router and a wireless access point is described. The topology of this networking method includes a wireless access point 301, an access controller (AC) 302, a Power Over Ethernet (POE) switch 303, a router 304, and the Internet 305. The wireless access point 301 is configured to connect to networked devices to transmit data with the networked devices. The access controller 302 is configured to manage each wireless access point 301. The POE switch 303 is configured to power each wireless access point 301 via a network cable. The router 304 is configured to send a target Internet Protocol (IP) address to the networked device to enable connection between the networked device and the Internet 305 (i.e., networking), as well as information transmission between networked devices within the local area network.
[0054] This networking method is widely used in large-sized homes (e.g., over 120 square meters), businesses, shopping malls, etc. Compared to the wireless mesh networking method in related technologies, the networking method combining router 304 and wireless access point 301 has the following advantages.
[0055] First, wireless access point 301 uses a built-in antenna, resulting in a simple appearance and strong signal quality. Second, because access controller 302 can centrally manage all wireless access points 301, the networking method combining router 304 with wireless access points 301 facilitates user management of each wireless access point 301. For example, a user can set a parameter through access controller 302, which then distributes it to all wireless access points 301.
[0056] Furthermore, the networking configuration combining router 304 and wireless access point 301 allows for a wide range of connected devices, seamless roaming, automatic switching of wireless access point 301, and fast switching times. This configuration also supports multiple Service Set Identifiers (SSIDs) and can distinguish between internal and external SSIDs. The SSID can be the name of wireless access point 301. Finally, this configuration also supports features such as authenticated Internet access, channel optimization, and load balancing.
[0057] 1A , 3A , and 3B , the refrigerator 1000 further includes a first communication component 10. The first communication component 10 is disposed on the refrigerator body 100 and is configured to connect to the router 304 via the wireless access point 301 to achieve connection with the cloud server 80. For example, the first communication component 10 includes a WiFi component.
[0058] It should be noted that the cloud server 80 is configured to provide data storage and cloud computing services to the first communication component 10. The refrigerator 1000 can be further connected to the cloud server 80 after being connected to the network, and communicate with the mobile terminal 90, such as a mobile phone or tablet computer, through the cloud server 80.
[0059] In some embodiments, a Dynamic Host Configuration Protocol (DHCP) server is configured in the router 304 and is configured to assign a target IP address to a networked device (e.g., the first communication component 10). The networked device can search for the DHCP server by broadcasting to obtain the target IP address.
[0060] It is understood that the router 304 can allocate a target Internet Protocol Address (IP address) to a networked device (eg, the first communication component 10) in the local area network by starting a DHCP server. The networked device can connect to the router 304 through the target IP address.
[0061] It should be noted that the DHCP server can use the DHCP protocol to configure IP addresses, subnet masks, gateways, DNS, etc. for each networked device connected to the wireless access point 301 .
[0062] The following describes a process in which the first communication component 10 is connected to the Internet through a networking method in which the router 304 and the wireless access point 301 are combined.
[0063] 3A to 4 , first, the first communication component 10 connects to the wireless access point 301 using its SSID (e.g., the default wireless name of the wireless access point 301) and password. The first communication component 10 then requests a target IP address from the router 304 via the DHCP server, connecting to the router 304 and establishing a connection to the internet 305. The first communication component 10 then connects to the cloud server 80 via the internet 305 and binds to the app on the mobile terminal 90.
[0064] It is understandable that the wireless access point 301 can be used as an independent device, or can be integrated with the router 304 and used as a component of the router 304.
[0065] In the case of using a router 304 in which the router 304 and the wireless access point 301 are integrated, since the power off and power on of the router 304 and the wireless access point 301 occur almost simultaneously, the refrigerator 1000 can smoothly reconnect to the network in this case.
[0066] However, when the router 304 and the wireless access point 301 are separated, the router 304 and the wireless access point 301 may be powered separately. At this time, there is a difference in the power-off and power-on time of the router 304 and the wireless access point 301. In this case, the refrigerator 1000 may not be able to reconnect to the network.
[0067] For example, when the router 304 and the wireless access point 301 are separated, if the following two situations occur, the first communication component 10 may be unable to reconnect to the network.
[0068] Scenario 1: After the router 304, the wireless access point 301, and the first communication component 10 are powered on, only the router 304 is powered off. In this case, only the router 304 needs to be powered on.
[0069] Scenario 2: After the router 304, wireless access point 301, and first communication component 10 are powered off, the wireless access point 301 and first communication component 10 are powered on first. However, due to a later power-on time or a longer startup time, the router 304 starts up later than the wireless access point 301 and first communication component 10. In this case, the wireless access point 301 starts working for a while before the router 304 starts working.
[0070] From the analysis of the two scenarios above, it can be seen that the reason why the first communication component 10 cannot reconnect to the Internet 305 and the cloud server 80 is that the wireless access point 301 and the router 304 are not powered on simultaneously. In this case, the first communication component 10 first connects to the wireless access point 301. Because the router 304 is not powered on at this time, the first communication component 10 cannot obtain the target IP address. Even if the router 304 is then powered on again, the first communication component 10 may still be unable to connect to the network.
[0071] For example, in case 1, when the router 304 is powered off and the wireless access point 301 remains powered on, the first communication component 10 can connect to the wireless access point 301 using the SSID and password. However, since the router 304 is not powered on at this time, the first communication component 10 cannot obtain the target IP address assigned by the router 304.
[0072] In some embodiments, since the first communication component 10 will be shut down after the preset reconnection time has expired, even if the router 304 is powered on again, the first communication component 10 may still fail to connect to the Internet.
[0073] To address the aforementioned issues, some embodiments of the present disclosure provide a refrigerator 1000. Upon powering back on, refrigerator 1000 first connects to wireless access point 301 using the connection information from before the power outage. If it is unable to connect to wireless access point 301, it repeatedly attempts to connect to wireless access point 301 within a first preset time period until a successful connection is achieved. Thereafter, it repeatedly attempts to obtain a target IP address assigned by router 304 within a preset number of requests. If a successful connection to router 304 is achieved within the preset waiting time, it requests the target IP address from router 304 via a DHCP server and connects to cloud server 80 based on the target IP address.
[0074] It is understandable that, since the first communication component 10 will continuously try to request the target IP address from the router 304, even if the router 304 is successfully started after the first communication component 10 exceeds the reconnection time, the network can still be successfully connected.
[0075] In some embodiments, the refrigerator 1000 further includes a controller 60. The controller 60 may be a chip or a processor. For example, the processor may be a general-purpose central processing unit (CPU), a microprocessor, or an application-specific integrated circuit (ASIC). Alternatively, the controller 60 may be a programmable device, including a complex programmable logic device (CPLD), an erasable programmable logic device (EPLD), or a field programmable gate array (FPGA). The chip may be an integrated circuit (IC).
[0076] It should be noted that even if router 304 is powered off and restarted within the preset time, it will still assign the same target IP address to the same networked device. In scenario 1, only router 304 is powered off and restarted. Since the target IP address of first communication component 10 may not have changed at this time, you can try to connect to router 304 using the target IP address obtained before the power outage.
[0077] In some embodiments, the controller 60 is configured to: if it is determined that the first communication component 10 is not connected to the cloud server 80, start the cloud server 80 connection service to reconnect to the cloud server 80 based on the target IP address obtained before the first communication component 10 went offline. If the first communication component 10 cannot connect to the cloud server 80, control the first communication component 10 to restart so that the first communication component 10 enters the initialization operation.
[0078] For example, if it is determined that the first communication component 10 is not connected to the cloud server 80, the cloud server 80 connection service is activated. In this case, the wireless access point 301 may be powered on, but the router 304 is not powered on, as in Cases 1 and 2 above. In this case, the first communication component 10 first attempts to establish a connection with the wireless access point 301. However, in this case, since the first communication component 10 cannot obtain a new target IP address from the router 304, it continues to attempt to connect to the wireless access point 301 using the target IP address obtained from the router 304 before going offline.
[0079] If the first communication component 10 reconnects to the wireless access point 301 and further connects to the cloud server 80, the first communication component 10 may report its network status at a preset interval. For example, the interval may be 5 minutes. At this point, the mobile terminal 90 app can reconnect to the first communication component 10 based on the information associated with the first communication component 10, allowing the user to remotely control the refrigerator 1000 via the app. If the first communication component 10 cannot connect to the wireless access point 301 using the target IP address obtained from the router 304 before going offline, the first communication component 10 is controlled to restart, causing the first communication component 10 to enter the initialization process.
[0080] In some embodiments, for both scenarios 1 and 2, the controller 60 is further configured to: in response to the initialization operation of the first communication component 10, restore the IP address of the first communication component 10 to a preset default IP address, and reconnect to the wireless access point 301 based on the connection information of the wireless access point 301 connected before the power outage. After the first communication component 10 connects to the wireless access point 301, it requests the target IP address from the router 304. After obtaining the target IP address, it controls the first communication component 10 to connect to the cloud server 80 based on the target IP address.
[0081] For example, after a reboot, the first communication component 10 performs an initialization operation. Because the target IP address obtained from the router 304 before going offline cannot connect to the wireless access point 301, the first communication component 10's IP address is restored to a preset default IP address. After the initialization operation is complete, the first communication component 10 reconnects to the wireless access point 301 using the connection information used to connect to the wireless access point 301 before the reboot.
[0082] It should be noted that the preset default IP address may be stored in the first communication component 10 , and the connection information may include the SSID and password of the wireless access point 301 .
[0083] If first communication component 10 is connected to wireless access point 301, router 304 is likely powered on. After first communication component 10 requests a target IP address from router 304 via the DHCP server, router 304 may return the target IP address. After obtaining the target IP address, first communication component 10 connects to cloud server 80.
[0084] In some embodiments of the present disclosure, after the first communication component 10 is restarted, because the router 304 is not powered on, the first communication component 10 cannot obtain the target IP address assigned by the router 304. In this case, the controller 60 first connects to the wireless access point 301 using the default IP address. Then, when the router 304 is powered on again, the controller 60 requests the target IP address from the router 304 through the DHCP server and reconnects to the cloud server 80 based on this target IP address. During this process, because the target IP address is requested from the router 304, the first communication component 10 can successfully connect to the network even if the router 304 is powered on after the reconnection time has expired.
[0085] In some embodiments, the controller 60 is further configured to: if the connection to the wireless access point 301 cannot be established based on the connection information of the wireless access point 301 established before the power outage, then within a preset time period, connect to the wireless access point 301 once based on the connection information at intervals of a first duration until the connection is successful. If the connection is still not successful after the preset time period, then connect to the wireless access point 301 once based on the connection information at intervals of a second duration until the connection is successful.
[0086] It should be noted that the first duration is shorter than the second duration. The preset time may be 5 minutes, the first duration may be 10 seconds, and the second duration may be 1 minute.
[0087] For example, if the wireless access point 301 cannot be connected according to the connection information, the wireless access point 301 is connected once every 10 seconds within 5 minutes, and once every 1 minute after 5 minutes.
[0088] It should be noted that the values of the preset time, the first duration and the second duration are only examples. In actual applications, the preset time, the first duration and the second duration may also be values such as 10 minutes, 5 seconds, 30 seconds, etc., respectively, and this disclosure does not limit this.
[0089] In some embodiments, the controller 60 is further configured to: if the target IP address is not obtained, continue to request the target IP address from the router 304 and record the number of requests. If it is determined that the number of requests exceeds a preset request threshold and the target IP address is not obtained, control the IP address of the first communication component 10 to be restored to the default IP address, issue a prompt message to remind the user to check the router 304, and record the waiting time. If the waiting time exceeds the preset timeout period, control the first communication component 10 to restart.
[0090] For example, the preset request count threshold is 4 times, and the preset timeout period is 10 minutes.
[0091] The first communication component 10 can use the DHCP server to request a target IP address from the router 304. If the target IP address is not received, the first communication component 10 will continue to request the target IP address from the target router 304 and record the number of requests. If the number of requests exceeds a preset request threshold, that is, if the target IP address is still not received after the fifth request, a network disconnection error code will be displayed on the display device 40 of the refrigerator 1000, and a prompt message will be sent to the app to remind the user to check the router 304.
[0092] For example, the reason for the network failure may be that the user has only powered on the wireless access point 301, while the router 304 has not been powered on. In this case, after the user powers on the router 304, the first communication component 10 can obtain the target IP address. After displaying the "no network connection" error code, the refrigerator 1000 begins recording the waiting time. If the waiting time exceeds 10 minutes, the first communication component 10 is controlled to restart and re-initialize, completing the steps of connecting to the wireless access point 301 and making a DHCP request.
[0093] In some embodiments of the present disclosure, because the router 304 is turned on later than the first communication component 10, that is, after the first communication component 10 is restarted, the router 304 is still not turned on, and therefore the first communication component 10 cannot obtain the target IP address assigned by the router 304. In this case, the default IP address is first used to connect to the wireless access point 301. Then, after the router 304 is successfully started, the DHCP server is used to request the target IP address from the router 304, and then the target IP address is connected to the cloud server 80. During this process, because the first communication component 10 requests the target IP address from the router 304, even if the first communication component 10 exceeds the reconnection time and the router 304 is successfully started, it can still successfully connect to the network.
[0094] 5 , some embodiments of the present disclosure further provide a method for controlling a refrigerator 1000 , the method including steps S1 to S3 .
[0095] S1, in response to the initialization operation of the first communication component 10, the IP address of the first communication component 10 is restored to a preset default IP address, and the wireless access point 301 is connected according to the connection information of the wireless access point 301 before power failure.
[0096] S2: After the first communication component 10 is connected to the wireless access point 301, it requests the router 304 for a target IP address.
[0097] S3, after obtaining the target IP address, controlling the first communication component 10 to connect to the cloud server 80 according to the target IP address.
[0098] 6 , the method includes S101 to S104 .
[0099] S101, determine whether the first communication component 10 is connected to the cloud server 80. If so, execute S102, if not, execute S101 again.
[0100] S102, using the target IP address obtained by the first communication component 10 before going offline to connect to the cloud server 80.
[0101] S103, determine whether the first communication component 10 is connected to the cloud server 80. If yes, the process ends, if not, execute S104.
[0102] S104: Restart the first communication component 10 to enable the first communication component 10 to enter an initialization operation.
[0103] 7 , after S104 , the method further includes S11 to S30 .
[0104] S11, determining whether the first communication component 10 has entered the initialization operation. If so, executing S12; if not, executing S11 again.
[0105] S12: Restore the IP address of the first communication component 10 to the default IP address, and reconnect to the wireless access point 301 according to the connection information of the wireless access point 301 connected before the power failure.
[0106] S13, determining whether the first communication component 10 is connected to a wireless access point. If yes, execute S14; if no, execute S20.
[0107] S20: Continue to retry connecting to the wireless access point 301 within a preset time.
[0108] S14, start the DHCP server and request the target IP address from the router 304.
[0109] S15: Determine whether the first communication component 10 has obtained the target IP address. If yes, execute S16; if not, execute S30.
[0110] S16 , controlling the first communication component 10 to connect to the cloud server 80 .
[0111] S30: Continue to retry to obtain the target IP address within the preset request number threshold.
[0112] 8 , the S20 includes S21 to S26 .
[0113] S21, start recording the connection duration.
[0114] S22 : Connecting to the wireless access point 301 once every first time period according to the connection information.
[0115] S23, determine whether the connection is successful. If so, the process ends, if not, execute S23.
[0116] S24, determine whether the connection duration is greater than the preset time. If so, execute S25; if not, execute S22.
[0117] S25 , connecting to the wireless access point 301 once according to the connection information at every second time interval.
[0118] S26, determine whether the connection is successful. If so, the process ends, if not, execute S25.
[0119] 9 , the S30 includes S31 to S37 .
[0120] S31, continue to request the target IP address from the router 304, and record the number of requests.
[0121] S32: Determine whether the first communication component 10 has obtained the target IP address. If yes, the process ends; if no, execute S33.
[0122] S33, determine whether the number of requests is greater than a preset request number threshold. If yes, execute S34; if not, execute S31 again.
[0123] S34, controlling the IP address of the first communication component 10 to be restored to the default IP address, and issuing a prompt message.
[0124] S35, start recording the waiting time.
[0125] S36, determine whether the waiting time is greater than the preset timeout period. If yes, execute S37, if not, execute S36 again.
[0126] S37: Control the first communication component 10 to restart again to re-enter the initialization operation. The first communication component 10 re-executes the above S11 to S30.
[0127] Further, referring to FIG. 10 , for situation 1, the method may include S101 to S37 .
[0128] Referring to Figure 11 , for scenario 2, the method may include S11 to S37. If the router 304, wireless access point 301, and refrigerator 1000 are all powered off and then powered on again, the first communication component 10 performs an initialization operation after restarting. During the initialization operation, the first communication component 10 connects to the wireless access point 301 using the SSID and password of the wireless access point 301 bound before the power outage, obtains the target IP address from the DHCP server of the router 304, and connects to the cloud server 80. After failing to obtain the target IP address, the IP address of the first communication component 10 is restored to the default IP address. After waiting for 10 minutes, the first communication component 10 is restarted to re-execute the initialization operation and retry connecting to the wireless access point 301 and obtaining the target IP address.
[0129] It should be noted that, compared with case 1, in case 2, since the router 304 will assign a new target IP address to the first communication component 10, the controller 60 does not need to execute the above S101 to S104, but executes S11 to S37 after the refrigerator 1000 is powered on.
[0130] In some embodiments of the present disclosure, the refrigerator 1000 and control method for the refrigerator 1000, in response to an initialization operation of the first communication component 10, restores the IP address of the first communication component 10 to a preset default IP address and connects to the wireless access point 301 based on the connection information used to connect to the wireless access point 301 before the power outage. After the first communication component 10 connects to the wireless access point 301, it requests the target IP address from the router 304 and controls the first communication component 10 to connect to the cloud server 80 based on the target IP address. This solves the problem of the device not reconnecting to the cloud server 80 under abnormal circumstances. Furthermore, the addition of abnormal situation prompts can guide users to troubleshoot network problems.
[0131] In some embodiments, the first communication component 10 of the refrigerator 1000 is disposed on the housing 100 and is configured to couple with the cloud server 80 to enable network communication of the refrigerator 1000. For example, the first communication component 10 includes a WiFi component. Thus, an app on the mobile terminal 90 can establish a connection with the refrigerator 1000 via the first communication component 10, allowing the user to log in to the app and obtain information such as the refrigerator 1000's storage compartment temperature, ingredient type, and ingredient weight, thereby enabling remote control of the refrigerator 1000.
[0132] When using refrigerator 1000 for the first time, it is necessary to connect refrigerator 1000 to the internet and bind refrigerator 1000 to the mobile terminal 90 app. For example, the user can enter the wireless network's SSID and password through the display device 40 or mobile terminal 90 to connect refrigerator 1000 to the internet. Of course, the wireless network's SSID can also be obtained by scanning. Once connected to the internet, refrigerator 1000 can communicate with mobile terminal 90 via the first communication component 10.
[0133] Afterwards, the user can bind the refrigerator 1000 to the APP of the mobile terminal 90 through the mobile terminal 90. First, the user can select "Add device" through the APP of the mobile terminal 90 to scan and obtain the identification information of the refrigerator 1000. The mobile terminal 90 stores the identification information of the current APP (or its own device code) and the identification information of the refrigerator 1000 to the cloud server 80 to bind with the refrigerator 1000. Since the mobile terminal 90 needs to obtain the refrigerator 1000 through the first communication component 10. Therefore, the mobile terminal 90 also needs to obtain the identification information of the first communication component 10 and upload it to the cloud server 80 to bind with the first communication component 10.
[0134] It should be noted that the identification information of the APP can be the user's login name (for example, phone number), and the same login name can log in to the APPs of multiple mobile terminals 90. At this time, the cloud server 80 can also store the device codes of multiple mobile terminals 90.
[0135] In some embodiments, the first communication component 10 is pre-installed with a corresponding first identification code, which includes identification information of the first communication component 10. For example, the first identification code is the identity code (ID) of the WiFi component. The refrigerator 1000 includes a second identification code, which includes identification information of the refrigerator 1000. For example, the second identification code is the serial number (SN) of the refrigerator 1000. The second identification code can be affixed to the exterior of the housing 100.
[0136] 12 , the exterior of the housing 100 is provided with a whole-machine barcode 501, which is configured to display the second identification code of the refrigerator 1000. A label 502 is also provided on the exterior of the housing 100, which is configured to display the first identification code of the first communication component 10.
[0137] In some embodiments, the APP of the mobile terminal 90 can bind to the refrigerator 1000 by obtaining the first identification code and the second identification code. After the binding is successful, the APP can also associate the first identification code with the second identification code, bind the association relationship with the current APP login name, and upload it to the cloud server 80 for storage.
[0138] For example, the user first scans label 502 through the app to obtain the first identification code of the first communication component 10, such as the ID of the WiFi component. To prevent subsequent binding failures, after obtaining the first identification code, the app obtains the association of the first identification code from the cloud server 80. If it determines that the first identification code does not have a second identification code already bound to it, the app will jump to the second identification code scanning interface, allowing the user to scan the SN code. After the user scans the SN code on the refrigerator 1000, the app associates the first identification code with the second identification code, binds the association to the current app login name, and uploads it to the cloud server 80, completing the binding with the refrigerator 1000.
[0139] In some embodiments, to reduce the number of steps required to bind an app to refrigerator 1000, the WiFi component's ID and SN are pre-associated during the production process of refrigerator 1000. Thus, during the binding process, after obtaining one of the first and second identification codes, the app can retrieve the association between the first and second identification codes from cloud server 80 to complete the binding process with refrigerator 1000. For example, the app first obtains the WiFi component's ID, then retrieves the SN corresponding to the WiFi component's ID from cloud server 80, thereby completing the binding process between mobile terminal 90 and refrigerator 1000.
[0140] It should be noted that after obtaining the first identification code, the APP can establish a connection with the refrigerator 1000 through the first communication component 10 to achieve remote management of the refrigerator 1000. After obtaining the second identification code, the APP can obtain information such as the device type, function information, and instructions for use of the refrigerator 1000.
[0141] In some embodiments, during the production process of the refrigerator 1000, the label 502 and the whole machine barcode 501 are scanned by a scanner, an optical character recognition (OCR) device, etc., and the first identification code and the second identification code are uploaded to the cloud server 80 to pre-establish an association relationship between the first identification code and the second identification code.
[0142] It is understood that the first communication component 10 is provided with a corresponding label 502. For example, the label 502 displays a QR code, and the QR code includes the information of the first identification code stored in the first communication component 10. That is, the information of the first identification code stored in the first communication component 10 is consistent with the QR code information displayed on the label 502.
[0143] For example, during the production process of the refrigerator 1000, the first communication component 10 is first assembled in the box 100. Then, the label 502 corresponding to the first communication component 10 is affixed to the upper end cover 230 of the door 200, and the refrigerator 1000 barcode 501 is affixed to a preset position on the back of the box 100.
[0144] On the factory production line, scanners are installed at the top and back of refrigerators 1000. As refrigerators 1000 move along the production line, the scanners scan the corresponding labels 502 and the barcodes 501, respectively, and upload the obtained first and second identification codes to the cloud server 80 to associate the first and second identification codes.
[0145] It should be noted that at this point, cloud server 80 only stores the association between the first and second identification codes. Later, if the user performs a binding operation, the user's binding information will be added to the association. For example, after the user completes the binding operation, cloud server 80 adds the login name set by the user when logging into the app to the association and stores the first and second identification codes of refrigerator 1000, as well as the identification information of the app, to complete the binding between the app and refrigerator 1000.
[0146] It should be noted that the binding information may also be stored in a binding list of the controller 60 or in the mobile terminal 90 .
[0147] 13 , the refrigerator 1000 further includes a second communication component 20, which is disposed outside the housing 100 and configured to enable network-free communication between the refrigerator 1000 and the mobile terminal 90. For example, the second communication component 20 is a Bluetooth component.
[0148] In some embodiments, the controller 60 is further configured to: in response to the Bluetooth connection operation, receive the second identification code obtained by the mobile terminal 90 after scanning the whole device barcode 501, send the first identification code preset in the first communication component 10 to the mobile terminal 90, and control the first communication component 10 to enter the network configuration mode, so that the mobile terminal 90 performs the network configuration operation of the refrigerator 1000 and connects the refrigerator 1000 to the network.
[0149] It should be noted that, in the network configuration mode, the user can input the SSID and password through the mobile terminal 90 or the display device 40 to enable the first communication component 10 to connect to the wireless network and further connect to the cloud server 80 .
[0150] It can be understood that the mobile terminal 90 can not only establish a connection with the refrigerator 1000 through the first communication component 10 to achieve remote control of the refrigerator 1000, but also establish a connection with the refrigerator 1000 through the second communication component 20 to achieve close-range (for example, within 20m) communication with the refrigerator 1000.
[0151] Referring to Figure 13 , when a user first starts refrigerator 1000, it is not connected to the Internet. In this case, the user needs to configure the Internet for refrigerator 1000 using mobile terminal 90. The second communication component 20 of refrigerator 1000 is activated, and the user can establish a connection with the second communication component 20 through mobile terminal 90 for communication.
[0152] Furthermore, the second communication component 20 sends the first identification code to the mobile terminal 90, so that the first communication component 10 enters the network distribution mode, thereby connecting the refrigerator 1000 to the network to exchange information with the cloud server 80. It should be noted that at this time, the APP of the mobile terminal 90 has not yet been bound to the refrigerator 1000.
[0153] After establishing a connection between mobile terminal 90 and refrigerator 1000, the user scans the device barcode 501 through the app to obtain and store the second identification code. At this point, mobile terminal 90 has completed the acquisition of the first and second identification codes. Based on the second identification code, the app can obtain information about the refrigerator 1000, such as its device type and function settings.
[0154] Afterwards, the mobile terminal 90 is further configured to send the acquired second identification code to the second communication component 20. After acquiring the second identification code, the refrigerator 1000 can store the second identification code in the controller 60. The controller 60 can be coupled to the first communication component 10 to acquire the first identification code of the first communication component 10.
[0155] It should be noted that the association relationship of the first identification code stored in the cloud server 80 may be wrong. For example, the label 502 corresponding to the first communication component 10 is pasted on the wrong refrigerator 1000. At this time, the first identification code preset in the first communication component 10 of the refrigerator 1000 is inconsistent with the first identification code scanned by the label 502 of the refrigerator 1000.
[0156] In some embodiments, the controller 60 is further configured to obtain a first identification code preset in the first communication component 10 and a second identification code corresponding to the refrigerator 1000. After the refrigerator 1000 is connected to the network, the controller 60 obtains the association status of the first identification code. If it is determined that the first identification code is associated, the controller 60 obtains a pending authentication code associated with the first identification code from the cloud server 80 and determines whether the pending authentication code is the same as the second identification code. If it is determined that the pending authentication code is not the same as the second identification code, the controller 60 controls the cloud server 80 to update the association of the first identification code and perform a binding operation with the mobile terminal 90.
[0157] In some embodiments, the controller 60 is further configured to: if it is determined that the pending authentication code is not the same as the second identification code, control the cloud server 80 to disassociate the first identification code from the pending authentication code, establish an association between the first identification code and the second identification code, and perform a binding operation with the mobile terminal 90.
[0158] It should be noted that the controller 60 can be coupled to the first communication component 10 to obtain the first identification code preset in the first communication component 10. The second identification code can be obtained by scanning the whole device barcode 501 via the mobile terminal 90. Of course, in other embodiments, the second identification code can be pre-stored in the controller 60. It is understood that the whole device barcode 501 corresponds to the second identification code of the refrigerator 1000.
[0159] It is understood that when the app is first bound to refrigerator 1000, the first identification code associated with the association obtained from cloud server 80 may not be the second identification code of the current refrigerator. Therefore, the identification code associated with the first identification code needs to be used as the pending authentication code to confirm whether the pending authentication code is the second identification code corresponding to the current refrigerator 1000.
[0160] Referring to Figure 14 , after connecting to the Internet, refrigerator 1000 can obtain the association of the first identification code from cloud server 80. It should be noted that even if the first identification code preset in first communication component 10 has an incorrect association, the user can still complete the binding between mobile terminal 90 and refrigerator 1000. For example, if the first identification code preset in first communication component 10 is associated with the SN code of another refrigerator 1000, and this SN code has not yet been bound by the user, the user can still complete the binding between mobile terminal 90 and refrigerator 1000, and the user will not notice this problem during use.
[0161] However, if the SN code has already been bound to another user, the app will prompt an error message, indicating that the ID or SN code of this WiFi component has been used and asking you to unbind it before trying again. In this case, the binding error will not only affect the use of refrigerator 1000, but may also make users think that refrigerator 1000 may have been used before, which may lead to user complaints and waste of after-sales resources.
[0162] Therefore, in some embodiments of the present disclosure, before binding the mobile terminal 90 and the refrigerator 1000, the association status of the first identification code preset in the first communication component 10 will also be determined. If an association relationship is established with the first identification code, the pending authentication code associated with the first identification code is obtained from the cloud server 80. If the pending authentication code is different from the second identification code, the cloud server 80 is controlled to update the association relationship of the first identification code, and the user will not notice this process. After the update is completed, the first identification code preset in the first communication component 10 is accurately associated with the second identification code. At this time, if the user performs the binding operation of the refrigerator 1000 and the mobile terminal 90 again, no error prompt will appear.
[0163] Referring to Table 1, which shows the correct association between first identification codes and second identification codes provided in some embodiments of the present disclosure, assume that there are two refrigerators 1000, refrigerator 1000A and refrigerator 1000B. A first communication component 10A is provided in refrigerator 1000A, and a first communication component 10B is provided in refrigerator 1000B. The first identification code corresponding to first communication component 10A is W1, and the first identification code corresponding to first communication component 10B is W2. The second identification code corresponding to refrigerator 1000A is SN1, and the second identification code corresponding to refrigerator 1000B is SN2.
[0164] Table 1 Correct association between the first identification code and the second identification code
[0165] For example, the second identification code corresponding to refrigerator 1000A's barcode 501 is SN1, and the first identification code built into first communication component 10A and the first identification code on label 502 are both the same, W1. When refrigerator 1000 is on the production line, the scanner uploads the second identification code SN1 corresponding to the barcode 501 and the first identification code W1 corresponding to label 502 to cloud server 80, where the associated relationship is stored as "SN1 & W1."
[0166] During use, user 1 scans the refrigerator barcode 501 with mobile terminal 90 to obtain the second identification code SN1, and obtains the first identification code W1 preset in the first communication component 10 through the second communication component 20. After confirming that the association "SN1 & W1" in the cloud server 80 is correct, user 1 binds the mobile terminal 90 app to this association to control the refrigerator 1000 through the app.
[0167] For example, the second identification code corresponding to refrigerator 1000B's barcode 501 is SN2, and the first identification code built into first communication component 10B and the first identification code on label 502 are both the same, W2. When refrigerator 1000 is on the production line, the scanner uploads the second identification code SN2 corresponding to the barcode 501 and the first identification code W2 corresponding to label 502 to cloud server 80, where the associated relationship is stored as "SN2 & W2."
[0168] During use, user 2 scans the refrigerator barcode 501 with mobile terminal 90 to obtain the second identification code SN2, and obtains the first identification code W2 preset in the first communication component 10 through the second communication component 20. After confirming that the association "SN2 & W2" in the cloud server 80 is correct, user 2 binds the mobile terminal 90 app to this association to control the refrigerator 1000 through the app.
[0169] Refer to Table 2, which shows the incorrect association relationship between the first identification code and the second identification code provided in some embodiments of the present disclosure. Assume there are three refrigerators 1000: refrigerator 1000A, refrigerator 1000B, and refrigerator 1000C. First communication components 10A, 10B, and 10C are respectively installed in these three refrigerators 1000. If the appliance barcode 501 is not affixed correctly, but the label 502 is affixed incorrectly, the following incorrect association relationship may occur.
[0170] Table 2 Error association relationship between the first identification code and the second identification code
[0171] For example, the second identification code corresponding to the whole machine barcode 501 of refrigerator 1000A is SN1, the first identification code preset in the first communication component 10A is W1, and the first identification code corresponding to the label 502 pasted on the box 100 is W2 (the first identification code of refrigerator 1000B). At this time, when refrigerator 1000A moves on the production line, the scanner will upload the second identification code SN1 scanned by the whole machine barcode 501 and the first identification code W2 of the label 502 to the cloud server 80, and the association relationship stored in the cloud server 80 is "SN1&W2".
[0172] The second identification code corresponding to the whole machine barcode 501 of refrigerator 1000B is SN2, the first identification code preset in the first communication component 10B is W2, and the first identification code of the label 502 pasted on the box 100 is W3 (the first identification code of refrigerator 1000C). At this time, when refrigerator 1000B moves on the production line, the scanning gun will upload the second identification code SN2 scanned by the whole machine barcode 501 and the first identification code W3 of the label 502 to the cloud server 80, and the association relationship stored in the cloud server 80 is "SN2&W3".
[0173] The second identification code corresponding to the whole machine barcode 501 of refrigerator 1000C is SN3, the first identification code preset in the first communication component 10C is W3, and the first identification code of the label 502 pasted on the box 100 is W1 (the first identification code of refrigerator 1000A). At this time, when refrigerator 1000C is on the production line, the scanning gun will upload the second identification code SN3 scanned by the whole machine barcode 501 and the first identification code W1 of the label 502 to the cloud server 80, and the association relationship stored in the cloud server 80 is "SN3&W1".
[0174] For example, user 1 first binds refrigerator 1000A. User 1 scans the device barcode 501 using the mobile terminal 90 app to obtain the second identification code SN1, and then receives the first identification code W1 sent by the second communication component 20A through the app. Refrigerator 1000A then searches for W1's current binding relationship. If it determines that W1 is already associated with SN3, and that SN3, which is associated with W1, is different from refrigerator 1000A's second identification code SN1, refrigerator 1000A issues an error message, indicating that either the first or second identification code is already in use. At this point, refrigerator 1000A cannot be bound to user 1's app.
[0175] In some embodiments, no association is established between the first identification code and the second identification code, that is, none of the situations in Table 2 above exist. This situation may occur because the scanner missed the refrigerator 1000 while it was moving on the production line, resulting in no association being established on the cloud server 80. In this case, the association between the first identification code and the second identification code can be re-established.
[0176] In some embodiments, the controller 60 is further configured to:
[0177] If it is determined that the first identification code has not been associated and the second identification code has not been associated, the cloud server 80 is controlled to establish an association between the first identification code and the second identification code and perform a user binding operation.
[0178] If it is determined that the first identification code has not been associated, and the second identification code has been associated with a third identification code other than the first identification code, the cloud server 80 is controlled to release the association between the second identification code and the third identification code to establish an association between the second identification code and the first identification code, and perform a user binding operation.
[0179] In some embodiments, for example, let's take refrigerator 1000A as an example. For example, if the built-in first identification code W1 is not associated with the cloud server 80, but the second identification code SN1 is associated with "SN1 & W2," for example, the scanner may not have scanned the identification code of refrigerator 1000A, or user 3, who purchased refrigerator 1000C, had already removed the incorrect association "SN3 & W1" before user 1 purchased refrigerator 1000A. In this case, the association between SN1 and W2 is removed, the association between SN1 and W1 is established, and the binding operation between refrigerator 1000 and the mobile terminal 90 app is completed.
[0180] In some embodiments, the controller 60 is further configured to: if it is determined that the pending authentication code is different from the second identification code, and the second identification code is associated with a third identification code other than the first identification code, then determine whether the association between the first identification code and the pending authentication code is bound.
[0181] If it is determined that the association between the first identification code and the pending authentication code is not bound, the cloud server 80 is controlled to release the association between the first identification code and the pending identification code, and to release the association between the second identification code and the third identification code, so as to establish the association between the first identification code and the second identification code, and perform the binding operation with the APP of the mobile terminal 90.
[0182] In some embodiments, the controller 60 is also configured to: if the association between the first identification code and the pending authentication code has been bound, control the cloud server 80 to replace the second identification code and the third identification code to establish an association between the first identification code and the second identification code, and establish an association between the third identification code and the pending authentication code, and perform a binding operation with the APP of the mobile terminal 90.
[0183] Referring to Table 2, taking refrigerator 1000A as an example, its first identification code is W1 and its second identification code is SN1. If, in cloud server 80, first identification code W1 is associated with "SN3 & W1," then since refrigerator 1000A's second identification code is SN1, which differs from SN3 in this association, further determination is required to determine whether an association has been established with second identification code SN1. If an association has not been established with second identification code SN1, the association between SN3 and W1 is disassociated, and an association between SN1 and W1 is established, completing the binding operation with the mobile terminal 90 app.
[0184] If it is determined that the second identification code SN1 has an established association, for example, "SN1 and W2," then a further determination is made as to whether the association "SN3 & W1" has already been bound to the mobile terminal 90 app. For example, if the cloud server 80 fails to promptly update the association between the first and second identification codes, the association "SN3 & W1" may have been incorrectly bound. If the association "SN3 & W1" has not been bound to the mobile terminal 90 app, the associations SN1 and W2 are controlled to be disassociated, the associations SN3 and W1 are controlled to be disassociated, and the association between SN1 and W1 is established. At this point, W2 and SN3 are not associated, and the binding operation with the mobile terminal 90 app is completed.
[0185] In some embodiments, if it is determined that the association relationship "SN3&W1" has been bound to the APP of the mobile terminal 90, the binding relationship between W1 and W2 is replaced, that is, it becomes "SN1&W1, "W2&SN3". At this time, after the user successfully binds the refrigerator 1000 to the APP of the mobile terminal 90, the association relationship in the cloud server 80 can also be replaced.
[0186] It is understood that if the relationship between SN1 and W1 is established, and the relationship between W1 and SN3 is terminated, the user currently bound to the relationship between SN3 and W1 will also be unbound. In this way, by exchanging the second identification code, the incorrect binding relationship stored in the cloud server 80 can be corrected, and the relationship established between the bound users can be guaranteed to be correct, avoiding any impact on previously bound users.
[0187] 14 , some embodiments of the present disclosure further provide a method for controlling a refrigerator 1000 , the method comprising:
[0188] S100, obtaining a first identification code preset in the first communication component 10 and a second identification code corresponding to the refrigerator 1000.
[0189] S200 , after the refrigerator 1000 is connected to the network, the association status of the first identification code preset in the first communication component 10 is detected.
[0190] S300: If the first identification code has established an association, obtain the pending authentication code bound to the first identification code from the cloud server 80.
[0191] S400 , if the pending authentication code is different from the second identification code, the cloud server 80 is controlled to update the association relationship of the first identification code and perform an APP binding operation with the mobile terminal 90 .
[0192] It should be noted that the working process of "controlling the cloud server 80 to update the association relationship of the first identification code" in the control method of the refrigerator 1000 in some embodiments of the present disclosure can refer to the control method of the refrigerator 1000 in some of the following embodiments.
[0193] In some embodiments, referring to FIG. 15 , before S200 , the method may further include S41 to S43 .
[0194] S41, determining whether the second communication component 20 is connected to the mobile terminal 90 via Bluetooth. If so, executing S42. If not, executing S41.
[0195] S42 , receiving a second identification code obtained by the mobile terminal 90 after scanning the whole device barcode 502 .
[0196] S43, sending the first identification code preset in the first communication component 10 to the mobile terminal 90, and controlling the first communication component 10 to enter the network distribution mode to connect to the network.
[0197] In some embodiments, referring to FIG. 16 , after S43 , the method further includes S51 to S56 .
[0198] S51: Determine whether the refrigerator 1000 is connected to the network. If so, execute S52. If not, execute S51.
[0199] S52 , obtaining the association status of the first identification code preset in the first communication component 10 .
[0200] S53: Determine whether the first identification code has an association relationship. If so, execute S54. If not, execute the remaining control logic.
[0201] S54: Obtain a pending authentication code associated with the first identification code from the cloud server 80.
[0202] S55: Determine whether the pending authentication code is the same as the second identification code. If so, execute S56. If not, execute S57.
[0203] S56, perform user binding operation to bind the refrigerator 1000 with the APP of the mobile terminal 90.
[0204] S57, controlling the cloud server 80 to update the association relationship of the first identification code, and performing a user binding operation to bind the refrigerator 1000 with the APP of the mobile terminal 90.
[0205] In some embodiments, referring to FIG. 17 , in S53 , if it is determined that there is no association relationship with the first identification code, the method further includes S61 to S64 .
[0206] S61: Determine whether the second identification code has an association relationship. If yes, execute S62. If no, execute S63.
[0207] S62 , controlling the cloud server 80 to disassociate the second identification code from a third identification code other than the first identification code, and to establish an association between the first identification code and the second identification code.
[0208] S63, controlling the cloud server 80 to establish an association relationship between the first identification code and the second identification code.
[0209] S64: Perform a user binding operation to bind the association between the first identification code and the second identification code to the APP of the mobile terminal.
[0210] In some embodiments, referring to FIG. 18 , the S57 further includes S71 to S76 .
[0211] S71: Determine whether the second identification code has an association relationship. If yes, execute S72. If no, execute S75.
[0212] S72: Determine whether the association between the first identification code and the pending authentication code has been bound. If so, execute S74. If not, execute S73.
[0213] S73, controlling the cloud server 80 to replace the first identification code and the third identification code currently bound to the second identification code, so as to establish an association relationship between the first identification code and the second identification code, and to establish an association relationship between the third identification code and the pending authentication code.
[0214] S74 , controlling the cloud server 80 to disassociate the first identification code from the pending identification code, disassociate the second identification code from the currently associated third identification code, and establish an association between the first identification code and the second identification code.
[0215] S75 , controlling the cloud server 80 to release the association between the first identification code and the pending authentication code, and to establish an association between the first identification code and the second identification code.
[0216] S76: Perform a user binding operation to bind the association between the first identification code and the second identification code to the APP of the mobile terminal.
[0217] It should be noted that the control method of the refrigerator 1000 can be executed by the controller 60 of the refrigerator 1000, or by the APP of the mobile terminal 90.
[0218] For example, when the controller 60 executes the above-mentioned S100 to S400, when the user starts the refrigerator 1000 for the first time, the refrigerator 1000 is not connected to the network. At this time, the second communication component 20 in the refrigerator 1000 is started, and the user can connect to the second communication component 20 through the mobile terminal 90 to communicate with the refrigerator 1000. The user scans the whole machine barcode 501 through the APP of the mobile terminal 90 to obtain a second identification code. At this time, information such as the device type and function of the refrigerator 1000 can be obtained based on the second identification code. The user then sends the scanned whole machine barcode 501 to the refrigerator 1000 through the second communication component 20. The second communication component 20 sends the first identification code preset in the first communication component 10 to the mobile terminal 90, causing the device to enter the network distribution mode, thereby connecting the refrigerator 1000 to the network and interacting with the cloud server 80. However, at this time, the user APP has not yet been bound to the refrigerator 1000.
[0219] For example, when the APP of the mobile terminal 90 executes the above S100 to S400, the APP does not need to send the scanned whole machine barcode 501 to the refrigerator 1000 through the second communication component 20 when executing the above S100 to S400.
[0220] In some embodiments of the present disclosure, the refrigerator 1000 and the control method for the refrigerator 1000 provided herein, when binding the refrigerator 1000 to the mobile terminal 90 app, also determine whether there is an association error between the first identification code and the second identification code of the refrigerator 1000 in the cloud server. If there is an incorrect association, the system automatically corrects the association to re-associate the first identification code with the corresponding correct second identification code. This prevents the user from receiving a binding error prompt when binding the refrigerator 1000 through the mobile terminal 90, and allows the user to resolve the issue through the backend without being aware of it.
[0221] Those skilled in the art will understand that the scope of the present invention is not limited to the above specific embodiments, and that certain elements of the embodiments may be modified and replaced without departing from the spirit of the present application. The scope of the present application is limited by the appended claims.
Claims
1. A refrigerator, comprising: The box, including the storage compartment; a door body, configured to open and close the storage chamber; A first communication component is disposed in the box and is configured to connect to a router via a wireless access point to achieve connection with a cloud server; as well as The controller is configured as: In response to the initialization operation of the first communication component, controlling the IP address of the first communication component to be restored to a preset default IP address, and controlling the first communication component to connect to the wireless access point according to the connection information of the wireless access point to which the first communication component was connected before power failure; After the first communication component is connected to the wireless access point, controlling the first communication component to request a target IP address from a router; After the first communication component obtains the target IP address, the first communication component is controlled to connect to the cloud server according to the target IP address.
2. The refrigerator according to claim 1, wherein: The controller is also configured to: If the first communication component cannot connect to the wireless access point according to the connection information, then within a preset time, control the first communication component to connect to the wireless access point once according to the connection information at intervals of a first duration until the connection is successful; If the first communication component is still not connected successfully after the preset time, the first communication component is controlled to connect to the wireless access point once according to the connection information at every second time interval until the connection is successful; wherein the first time duration is less than the second time duration.
3. The refrigerator according to claim 1 or 2, wherein: The controller is also configured to: If the first communication component fails to obtain the target IP address, control the first communication component to continue to request the target IP address from the router and record the number of requests; If the number of requests is greater than a preset request number threshold, and the first communication component fails to obtain the target IP address, the IP address of the first communication component is controlled to be restored to the default IP address, and a prompt message to check the router is issued.
4. The refrigerator according to claim 3, wherein: The controller is also configured to: After the prompt message is sent, start recording the waiting time; If the waiting time is longer than the preset waiting time, the first communication component is controlled to restart to re-perform the initialization operation.
5. The refrigerator according to any one of claims 1 to 4, wherein: The controller is also configured to: Before responding to the initialization operation of the first communication component, if it is determined that the first communication component is not connected to the cloud server, start a cloud server connection service to connect to the router using the target IP address obtained by the first communication component before going offline; If the first communication component cannot be connected to the router, the first communication component is controlled to restart to perform an initialization operation of the first communication component.
6. The refrigerator according to any one of claims 1 to 5, wherein: The connection information includes a service set identifier and a password.
7. A refrigerator, comprising: The box, including the storage compartment; a door body, configured to open and close the storage chamber; as well as A first communication component is disposed in the box and is configured to be coupled to a cloud server to achieve networking of the refrigerator; a first identification code is preset in the first communication component; a label, disposed on the outside of the box and configured to display the first identification code of the first communication component; a whole-machine barcode, which is arranged on the outside of the box and is configured to display a second identification code of the refrigerator; the cloud server stores an association relationship between the first identification code and the second identification code on the label; and A controller, the controller being configured to: Acquire a first identification code preset in the first communication component and a second identification code of the refrigerator; After the first communication component establishes a connection with the cloud server, obtaining an association status of the first identification code; If it is determined that the first identification code has an associated relationship, obtaining a pending authentication code associated with the first identification code from the cloud server; If it is determined that the pending authentication code is not the same as the second identification code of the refrigerator, the cloud server is controlled to update the association relationship of the first identification code and bind the association relationship with the mobile terminal.
8. The refrigerator according to claim 7, further comprising a second communication component, which is disposed outside the box and is configured to couple with a mobile terminal to achieve network-free communication between the refrigerator and the mobile terminal; wherein, The controller is also configured to: In response to the connection operation between the mobile terminal and the second communication component, receiving a second identification code obtained by the mobile terminal after scanning the whole device barcode; The first identification code preset in the first communication component is sent to the mobile terminal, and the first communication component is controlled to enter a network configuration mode, so that the first communication component establishes a connection with the cloud server.
9. The refrigerator according to claim 7 or 8, wherein: The controller is also configured to: If it is determined that the first identification code and the second identification code do not have an association relationship, control the cloud server to establish an association relationship between the first identification code and the second identification code, and bind the association relationship to the mobile terminal; If it is determined that the first identification code does not have an association relationship, and the second identification code has an association relationship with a third identification code other than the first identification code, the cloud server is controlled to release the association relationship between the second identification code and the third identification code, and establish an association relationship between the first identification code and the second identification code, and bind the association relationship to the mobile terminal.
10. The refrigerator according to any one of claims 7 to 9, wherein: The controller is also configured to: If it is determined that the pending authentication code is not the same as the second identification code, and there is no association relationship between the second identification code, controlling the cloud server to release the association relationship between the first identification code and the pending authentication code, and establishing an association relationship between the first identification code and the second identification code, and binding the association relationship with the mobile terminal; If it is determined that the pending authentication code is not the same as the second identification code, the second identification code is associated with a third identification code other than the first identification code, and it is determined that the association between the first identification code and the pending authentication code is not bound, then controlling the cloud server to release the association between the first identification code and the pending identification code, and the association between the second identification code and the third identification code, establishing an association between the first identification code and the second identification code, and binding the association to the mobile terminal; If it is determined that the pending authentication code is different from the second identification code, the second identification code is associated with a third identification code other than the first identification code, and it is determined that the association between the first identification code and the pending authentication code has been bound, then the cloud server is controlled to replace the first identification code with the third identification code, establish an association between the first identification code and the second identification code, establish an association between the third identification code and the pending authentication code, and bind the association to the mobile terminal.
11. A method for controlling a refrigerator, comprising: The box, including the storage compartment; a door body, configured to open and close the storage chamber; as well as A first communication component is disposed in the box and is configured to connect to a router via a wireless access point to achieve connection with a cloud server; Wherein, the method comprises: In response to the initialization operation of the first communication component, controlling the IP address of the first communication component to be restored to a preset default IP address, and controlling the first communication component to connect to the wireless access point according to the connection information of the wireless access point to which the first communication component was connected before power failure; After the first communication component is connected to the wireless access point, controlling the first communication component to request a target IP address from a router; After the first communication component obtains the target IP address, the first communication component is controlled to connect to the cloud server according to the target IP address.
12. The refrigerator control method according to claim 11, further comprising: If the first communication component cannot connect to the wireless access point according to the connection information, then within a preset time, control the first communication component to connect to the wireless access point once according to the connection information at intervals of a first duration until the connection is successful; If the first communication component is still not connected successfully after the preset time, the first communication component is controlled to connect to the wireless access point once according to the connection information at every second time interval until the connection is successful; wherein the first time duration is less than the second time duration.
13. The refrigerator control method according to claim 11 or 12, further comprising: If the target IP address is not obtained, continue to request the target IP address from the router and record the number of requests; If the number of requests is greater than a preset request number threshold and the target IP address is not obtained, the IP address of the first communication component is controlled to be restored to the default IP address, and a prompt message for checking the router is issued.
14. The refrigerator control method according to claim 13, further comprising: After the prompt message is sent, start recording the waiting time; If the waiting time is longer than the preset waiting time, the first communication component is controlled to restart to re-perform the initialization operation.
15. The method for controlling a refrigerator according to any one of claims 11 to 14, further comprising: Before responding to the initialization operation of the first communication component, if it is determined that the first communication component is not connected to the cloud server, start a cloud server connection service to connect to the router using the target IP address obtained by the first communication component before going offline; If the first communication component cannot be connected to the router, the first communication component is controlled to restart to perform an initialization operation of the first communication component.
16. The refrigerator control method according to any one of claims 14 to 15, wherein: The connection information includes a service set identifier and a password.
17. A method for controlling a refrigerator, comprising: The box, including the storage compartment; a door body, configured to open and close the storage chamber; as well as A first communication component is disposed in the box and is configured to be coupled to a cloud server to achieve network communication of the refrigerator; a first identification code is preset in the first communication component; a label, disposed on the outside of the box and configured to display the first identification code of the first communication component; and A whole machine barcode, disposed on the outside of the box and configured to display a second identification code of the box; When the refrigerator is produced, the scanner obtains the first identification code and the second identification code by scanning the label and the whole machine barcode, and uploads the first identification code and the second identification code to the cloud server to establish an association relationship between the first identification code and the second identification code; Wherein, the method comprises: Acquire a first identification code preset in the first communication component and a second identification code of the refrigerator; After the first communication component establishes a connection with the cloud server, obtaining an association status of the first identification code; If it is determined that the first identification code has an associated relationship, obtaining a pending authentication code associated with the first identification code from the cloud server; If it is determined that the pending authentication code is not the same as the second identification code of the refrigerator, the cloud server is controlled to update the association relationship of the first identification code and bind the association relationship with the mobile terminal.
18. The refrigerator control method according to claim 17, wherein: The refrigerator further comprises a second communication component, which is disposed outside the box and is configured to couple with a mobile terminal to achieve network-free communication between the refrigerator and the mobile terminal; The control method further comprises: In response to the connection operation between the mobile terminal and the second communication component, receiving a second identification code obtained by the mobile terminal after scanning the whole device barcode; The first identification code preset in the first communication component is sent to the mobile terminal, and the first communication component is controlled to enter a network configuration mode, so that the first communication component establishes a connection with the cloud server.
19. The refrigerator control method according to claim 17 or 18, further comprising: If it is determined that the first identification code and the second identification code do not have an association relationship, control the cloud server to establish an association relationship between the first identification code and the second identification code, and bind the association relationship to the mobile terminal; If it is determined that the first identification code does not have an association relationship, and the second identification code has an association relationship with a third identification code other than the first identification code, the cloud server is controlled to release the association relationship between the second identification code and the third identification code, and establish an association relationship between the first identification code and the second identification code, and bind the association relationship to the mobile terminal.
20. The refrigerator control method according to any one of claims 17 to 19, wherein: If it is determined that the pending authentication code is not the same as the second identification code of the refrigerator, controlling the cloud server to update the association relationship of the first identification code and binding the association relationship with the mobile terminal includes: If it is determined that the pending authentication code is not the same as the second identification code, and there is no association relationship between the second identification code, controlling the cloud server to release the association relationship between the first identification code and the pending authentication code, and establishing an association relationship between the first identification code and the second identification code, and binding the association relationship with the mobile terminal; If it is determined that the pending authentication code is not the same as the second identification code, the second identification code is associated with a third identification code other than the first identification code, and it is determined that the association between the first identification code and the pending authentication code is not bound, then controlling the cloud server to release the association between the first identification code and the pending identification code, and the association between the second identification code and the third identification code, establishing an association between the first identification code and the second identification code, and binding the association to the mobile terminal; If it is determined that the pending authentication code is different from the second identification code, the second identification code is associated with a third identification code other than the first identification code, and it is determined that the association between the first identification code and the pending authentication code has been bound, then the cloud server is controlled to replace the first identification code with the third identification code, establish an association between the first identification code and the second identification code, establish an association between the third identification code and the pending authentication code, and bind the association to the mobile terminal.
Citation Information
Patent Citations
Wireless Communication Apparatus And Wireless Communication Method
CN103929831A
Intelligent refrigerator netting-in method and system, intelligent refrigerator, intelligent terminal and server
CN105546931A
Wireless network configuration method and device, readable storage medium and terminal equipment
CN114980273A
Refrigerator and control method thereof
CN116633711A
Refrigerator and associated equipment binding method thereof
CN116723063A
