WO2024222030A1 - Refrigerator and control method therefor - Google Patents
Refrigerator and control method therefor Download PDFInfo
- Publication number
- WO2024222030A1 WO2024222030A1 PCT/CN2023/143346 CN2023143346W WO2024222030A1 WO 2024222030 A1 WO2024222030 A1 WO 2024222030A1 CN 2023143346 W CN2023143346 W CN 2023143346W WO 2024222030 A1 WO2024222030 A1 WO 2024222030A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- identification code
- communication component
- refrigerator
- cloud server
- association
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F25—REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
- F25D—REFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
- F25D29/00—Arrangement or mounting of control or safety devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
Definitions
- the present disclosure relates to the field of household appliances, and in particular to a refrigerator and a control method thereof.
- some refrigerators can be connected to the Internet and bound to an APP to enable users to remotely control the refrigerator, monitor its status, manage ingredients, etc.
- the refrigerator needs to be restored to the connected state in time after the power outage ends and the power is restored to meet the user's daily use needs for the refrigerator.
- a refrigerator comprising a cabinet, a door, a first communication component and a controller.
- 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 connected to a router via a wireless access point to achieve connection with a cloud server.
- the controller is configured to: in response to the 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 according to the connection information of the wireless access point to which the first communication component is 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 according to the target IP address.
- a refrigerator comprising a housing, a door, a first communication component, a label, a whole-machine barcode, and a controller.
- the housing comprises a storage chamber.
- the door is configured to open and close the storage chamber.
- the first communication component is disposed in the housing and is configured to be coupled to a cloud server to realize networking of the refrigerator.
- a first identification code is preset 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 relationship 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 an 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.
- a control method for a refrigerator wherein the refrigerator includes a cabinet, a door, and a first communication component.
- the cabinet includes 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 connected 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 according to the connection information of the wireless access point to which the first communication component is 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 according to the target IP address.
- a control method for a refrigerator comprising a housing, a door, a first communication component, a label, and a whole-machine barcode.
- the housing comprises a storage chamber.
- the door is configured to open and close the storage chamber.
- the first communication component is disposed in the housing and is configured to be coupled to a cloud server to realize networking of the refrigerator.
- a first identification code is preset 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 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 an 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 rebinding the first identification code and the second identification code.
- FIG. 1A is a front view of a refrigerator according to some embodiments.
- FIG. 1B is a structural diagram of a door body of a refrigerator according to some embodiments.
- FIG1C is a structural diagram of a storage chamber of a refrigerator when the door is opened according to some embodiments.
- FIG2 is a structural diagram of a refrigeration system of a refrigerator according to some embodiments.
- 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;
- FIG3B is a schematic diagram of a refrigerator connected to a router according to some embodiments.
- FIG4 is a scene diagram of a refrigerator, a cloud server and a mobile terminal communicating according to some embodiments
- FIG5 is a flow chart of a method for controlling a refrigerator according to some embodiments.
- FIG6 is another flow chart of a method for controlling a refrigerator according to some embodiments.
- FIG7 is another flow chart of a method for controlling a refrigerator according to some embodiments.
- FIG8 is another flow chart of a method for controlling a refrigerator according to some embodiments.
- FIG9 is another flow chart of a method for controlling a refrigerator according to some embodiments.
- FIG10 is another flow chart of a method for controlling a refrigerator according to some embodiments.
- FIG11 is another flow chart of a method for controlling a refrigerator according to some embodiments.
- FIG. 12 is a diagram illustrating a process of associating a first identification code with a second identification code during production of a refrigerator according to some embodiments
- FIG13 is a binding process between a refrigerator and a mobile terminal according to some embodiments.
- FIG14 is a flow chart of another method for controlling a refrigerator according to some embodiments.
- FIG. 15 is another flow chart of another method for controlling a refrigerator according to some embodiments.
- FIG. 16 is yet another flow chart of another method for controlling a refrigerator according to some embodiments.
- FIG. 17 is yet another flow chart of another method for controlling a refrigerator according to some embodiments.
- FIG. 18 is yet another flow chart of another method for controlling a refrigerator according to some embodiments.
- first and second are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features.
- a feature defined as “first” or “second” may explicitly or implicitly include one or more of the features.
- plural means two or more.
- Coupled and “connected” and their derivatives may be used.
- the term “connected” should be understood in a broad sense. For example, “connected” 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.
- 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.
- a and/or B includes the following three combinations: A only, B only, and a combination of A and B.
- parallel includes absolute parallelism and approximate parallelism, wherein the acceptable deviation range of approximate parallelism may be, for example, a deviation within 5°;
- perpendicular includes absolute perpendicularity and approximate perpendicularity, wherein the acceptable deviation range of approximate perpendicularity may also be, for example, a deviation within 5°.
- equal includes absolute equality and approximate equality, wherein the acceptable deviation range of approximate equality may be, for example, the difference between the two equalities is less than or equal to 5% of either one.
- some embodiments of the present disclosure provide a refrigerator, wherein the refrigerator 1000 includes a box body 100 and a door body 200 defining a storage space.
- a component storage cavity and at least one storage chamber are provided in the box body 100.
- the component storage cavity is configured to place various components in the refrigerator, such as a compressor, etc.
- the storage chamber is configured to store food, etc.
- the storage chamber can be divided into a refrigerating chamber, a freezing chamber, a variable temperature chamber, a vacuum chamber, etc. according to different uses.
- the door body 200 is configured to open or close the storage chamber.
- One or more door bodies 200 are provided at the opening of each storage chamber.
- two storage chambers are provided in the box body 100, and the storage chamber at the upper part of the box body 100 is a refrigerating chamber 101, and the refrigerating chamber 101 is provided with two door bodies 200.
- the storage chamber at the lower part of the box body 100 is a freezing chamber 102, and a door body 200 is provided at the opening of the freezing chamber 102.
- the door body 200 can be rotated to open, or connected to the drawer box in the storage room, and opened and closed by pushing and pulling.
- the door body 200 includes a door body shell 210 located outside the box body 100, a door body inner liner 220 located inside the box body 100, an upper end cover 230, a lower end cover 240, and an insulation layer located between the door body shell 210, the door body inner liner 220, the upper end cover 230, and the lower end cover 240.
- the insulation layer can be filled with foam material.
- 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.
- the refrigerator 1000 further includes a refrigeration system configured to refrigerate the storage room in the cabinet 100.
- the refrigeration system includes a compressor 1, a condenser 2, and an evaporator 6.
- the outlet of the compressor 1 is connected to the inlet of the condenser 2, and the inlet of the compressor 1 is connected to the outlet of the evaporator 6.
- the compressor 1 is configured to compress the refrigerant and provide power for the refrigerant circulation.
- 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 arranged on the pipeline between the outlet of the filter 4 and the inlet of the evaporator 6.
- the filter 4 is configured to filter debris in the refrigerant, such as metal chips, dust, etc., to prevent the debris 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 arranged on the pipeline between the inlet of the compressor 1 and the outlet of the evaporator 6.
- the refrigeration system further includes an anti-condensation pipe 3, which is disposed at the connection between the cabinet 100 and the door 200 and is connected to the condensers 2 on both sides of the cabinet 100.
- the anti-condensation pipe 3 is configured to increase the temperature of the connection to prevent the water vapor outside the cabinet 100 from condensing into water droplets when it encounters cold at the connection.
- a liquid reservoir is also disposed between the evaporator 6 and the compressor 1 to store liquid refrigerant.
- the working process of the refrigeration system includes a compression process, a condensation process, a throttling process and an evaporation process.
- the power line of the refrigerator 1000 is connected to power on the refrigerator 1000. If the temperature of the storage room in the refrigerator 1000 is outside the preset temperature range, the contact of the thermostat is connected and the compressor 1 starts to work.
- the compression process is as follows: the compressor 1 starts working, the low-temperature, low-pressure refrigerant is sucked into the compressor 1 , is compressed into a high-temperature, high-pressure superheated gas in the cylinder of the compressor 1 , and is then discharged into the condenser 2 .
- the condensation process is as follows: the high-temperature, high-pressure refrigerant gas dissipates heat through the condenser 2, the temperature continues to drop, and is gradually cooled to a saturated steam at room temperature and high pressure, and is further cooled to a saturated liquid, and the temperature no longer drops. The temperature at this time is called the condensation temperature. The pressure of the refrigerant remains almost unchanged during the entire condensation process.
- the throttling process is as follows: the condensed refrigerant saturated liquid passes through the filter 4 to remove moisture and impurities, then flows into the pressure reducer 5, and is throttled and depressurized by the pressure reducer 5 to become wet steam at room temperature and low pressure.
- 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.
- the refrigerant from the evaporator 6 passes through the gas-liquid separator 7 and then returns to the compressor 1.
- the heat in the refrigerator 1000 can be transferred to the air outside the box, thereby achieving the purpose of refrigeration.
- the refrigerator 1000 further includes a display device 40, which is configured to display information such as the temperature of the storage chamber, the type of food, and the weight of food.
- the display device 40 is also configured to accept a control instruction input by a user, such as a user setting the temperature of the storage chamber.
- the display device 40 may be a display screen.
- refrigerator 1000 has a built-in wireless fidelity (WiFi) component, which connects to the Internet through a networking method combining a router and a wireless access point (WAP). Furthermore, refrigerator 1000 connects to a cloud server through the Internet, and binds the cloud server to an application (APP) on a mobile terminal to achieve functions such as remote control, status monitoring, and food management of refrigerator 1000.
- WiFi wireless fidelity
- APP application
- refrigerator 1000 may experience power outages, etc., resulting in abnormal networking status. After refrigerator 1000 is powered off and then powered on again, it needs to reconnect to the Internet to meet the user's remote management needs for refrigerator 1000.
- the topological structure of the 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 be connected to a networked device to transmit data with the networked device.
- 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 through a network cable.
- the router 304 is configured to send a target Internet Protocol Address (IP address) to the networked device to achieve connection (i.e., networking) between the networked device and the Internet 305, as well as information transmission between each networked device in the local area network.
- IP address Internet Protocol Address
- This networking method is widely used in large-sized households (eg, more than 120 square meters), enterprises, shopping malls, etc. Compared with the wireless mesh networking method in the related art, the networking method combining the router 304 and the wireless access point 301 has the following advantages.
- the wireless access point 301 uses a built-in antenna, has a simple appearance, and has a good signal.
- the access controller 302 can uniformly manage all wireless access points 301, the networking mode of combining the router 304 with the wireless access point 301 is convenient for the user to manage each wireless access point 301. For example, the user sets a parameter through the access controller 302, and the access controller 302 uniformly sends the parameter to all wireless access points 301.
- the networking mode in which the router 304 and the wireless access point 301 are combined many devices can be connected to the network, the network coverage is wide, and seamless roaming and automatic switching of the wireless access point 301 are supported, and the switching time is short.
- the networking mode in which the router 304 and the wireless access point 301 are combined also supports multiple service set identifiers (Service Set Identifier, SSID), and can distinguish whether the SSID is used internally or externally.
- the SSID can be the name of the wireless access point 301.
- the networking mode in which the router 304 and the wireless access point 301 are combined can also support functions such as authentication for Internet access, channel optimization, and load balancing.
- the refrigerator 1000 further includes a first communication component 10.
- the first communication component 10 is disposed on the housing 100 and is configured to be connected to the router 304 through the wireless access point 301 to achieve connection with the cloud server 80.
- the first communication component 10 includes a WiFi component.
- 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 networking, and communicate with the mobile terminal 90, such as a mobile phone or tablet computer, through the cloud server 80.
- 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.
- the router 304 can allocate a target Internet Protocol Address (IP address) to a networked device (e.g., the first communication component 10) in the local area network by starting a DHCP server.
- IP address Internet Protocol Address
- the networked device can connect to the router 304 through the target IP address.
- 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 .
- the following describes the process of the first communication component 10 connecting to the Internet through the networking method of combining the router 304 with the wireless access point 301.
- the first communication component 10 uses the SSID (e.g., the default wireless name of the wireless access point 301) and the password to connect to the wireless access point 301. Then, the first communication component 10 requests the target IP address from the router 304 through the DHCP server to connect to the router 304 and achieve connection with the Internet 305. The first communication component 10 is then connected to the cloud server 80 through the Internet 305 and is bound to the APP of the mobile terminal 90.
- SSID e.g., the default wireless name of the wireless access point 301
- the password e.g., the password
- the first communication component 10 requests the target IP address from the router 304 through the DHCP server to connect to the router 304 and achieve connection with the Internet 305.
- the first communication component 10 is then connected to the cloud server 80 through the Internet 305 and is bound to the APP of the mobile terminal 90.
- 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 .
- the refrigerator 1000 can smoothly reconnect to the network in this case.
- 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.
- 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.
- Case 2 After the router 304, the wireless access point 301, and the first communication component 10 are powered off, the wireless access point 301 and the first communication component 10 are powered on first, but the router 304 is powered on later than the wireless access point 301 and the first communication component 10 due to a late power-on time or a long startup time. At this time, the router 304 starts to work after the wireless access point 301 has been working for a period of time.
- 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 turned on synchronously.
- the first communication component 10 first connects to the wireless access point 301. Since the router 304 is not turned on at this time, the first communication component 10 cannot obtain the target IP address. Afterwards, even if the router 304 is powered on again, the first communication component 10 may not be able to connect to the network.
- the first communication component 10 can connect to the wireless access point 301 through the SSID and password. However, since the router 304 is not started at this time, the first communication component 10 cannot obtain the target IP address assigned by the router 304.
- the first communication component 10 since the first communication component 10 will be turned off 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.
- some embodiments of the present disclosure provide a refrigerator 1000. After the refrigerator 1000 is powered on again, it first connects to the wireless access point 301 through the connection information before the power failure. If it cannot connect to the wireless access point 301 at this time, it repeatedly tries to connect to the wireless access point 301 within a first preset time until the connection is successful. After that, it repeatedly tries to obtain the target IP address assigned by the router 304 within a preset number of requests. If the connection to the router 304 is successful within the preset waiting time, the target IP address is requested from the router 304 through the DHCP server, and the cloud server 80 is connected according to the target IP address.
- the network can still be successfully connected.
- the refrigerator 1000 further includes a controller 60.
- the controller 60 may be a chip or a processor.
- the processor may be a general-purpose central processing unit (CPU), a microprocessor, or an application specific integrated circuit (ASIC).
- 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).
- 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 service of connecting to the cloud server 80, so as to reconnect to the cloud server 80 according to the target IP address obtained before the first communication component 10 goes 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.
- the service of connecting to the cloud server 80 is started.
- the wireless access point 301 may be turned on, but the router 304 is still not turned on, such as the above-mentioned situation 1 and situation 2.
- the first communication component 10 first attempts to establish a connection with the wireless access point 301.
- the first communication component 10 cannot obtain a new target IP address from the router 304, it still uses the target IP address obtained from the router 304 before going offline to try to connect to the wireless access point 301.
- the first communication component 10 can report the network status at a preset interval. For example, the interval is 5 minutes.
- the APP of the mobile terminal 90 can reconnect to the first communication component 10 based on the information of the bound first communication component 10, so that the user can remotely control the refrigerator 1000 through the APP.
- the control first communication component 10 can be used to connect to the wireless access point 301.
- a communication component 10 is restarted so that the first communication component 10 enters the initialization operation.
- 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 according to the connection information of the wireless access point 301 connected before power failure. After the first communication component 10 is connected to the wireless access point 301, request the target IP address from the router 304. After obtaining the target IP address, control the first communication component 10 to connect to the cloud server 80 according to the target IP address.
- the first communication component 10 performs an initialization operation after restarting. Since the target IP address obtained from the router 304 before going offline cannot connect to the wireless access point 301, the IP address of the first communication component 10 is restored to a preset default IP address. After the above initialization operation is completed, the first communication component 10 reconnects to the wireless access point 301 using the connection information of the wireless access point 301 before restarting.
- 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 .
- the router 304 may be powered on at this time. After the first communication component 10 requests the target IP address from the router 304 through the DHCP server, the router 304 can return the target IP address. After obtaining the target IP address, the first communication component 10 performs the action of connecting to the cloud server 80.
- the first communication component 10 after the first communication component 10 is restarted, since the router 304 is not started, the first communication component 10 cannot obtain the target IP address assigned by the router 304. At this time, the controller 60 first uses the default IP address to connect to the wireless access point 301. Then, when the router 304 is powered on again, the target IP address is requested from the router 304 through the DHCP server, and the cloud server 80 is reconnected according to the target IP address. In this process, since the target IP address is requested from the router 304, even if the router 304 is powered on after the first communication component 10 exceeds the reconnection time, the first communication component 10 can successfully connect to the network.
- the controller 60 is further configured to: if the wireless access point 301 cannot be connected according to the connection information of the wireless access point 301 connected before the power failure, then the wireless access point 301 is connected once according to the connection information at every first time interval within the preset time until the connection is successful. If the connection is still not successful after the preset time, the wireless access point 301 is connected once according to the connection information at every second time interval until the connection is successful.
- the first duration is shorter than the second duration.
- the preset time may be 5 minutes
- the first duration may be 10 seconds
- the second duration may be 1 minute.
- the wireless access point 301 is connected once every 10 seconds within 5 minutes, and once every 1 minute after 5 minutes.
- 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 the present disclosure does not limit this.
- 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 is greater than the preset request number threshold, and the target IP address is not obtained, the IP address of the first communication component 10 is controlled to be restored to the default IP address, and a prompt message is issued to remind the user to check the router 304, and the waiting time is recorded. After the waiting time is greater than the preset timeout time, the first communication component 10 is controlled to restart.
- the preset request number threshold is 4 times and the preset timeout period is 10 minutes.
- the first communication component 10 can use the DHCP server to request the target IP address from the router 304. If the target IP address is not requested, the target IP address is continuously requested from the target router 304, and the number of requests is recorded. If the number of requests is greater than the preset request number threshold, that is, the target IP address is still not requested at the fifth request, an error code indicating that the network is not connected is displayed on the display device 40 of the refrigerator 1000, and a prompt message is sent to the APP to remind the user to check the router 304.
- the reason for the failure to connect to the Internet at this time may be that the user only powered on the wireless access point 301, while the router 304 has not been powered on. Then, after the user powers on the router 304, the first communication component 10 can obtain the target IP address.
- the refrigerator 1000 starts recording the waiting time after displaying the error code of not connecting to the Internet. If the waiting time is greater than 10 minutes, the first communication component 10 is controlled to restart and re-execute the initialization operation to perform the steps of connecting to the wireless access point 301 and making a DHCP request.
- the router 304 since 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, so the first communication component 10 cannot obtain the target IP address assigned by the router 304.
- the wireless access point 301 is first connected using the default IP address, and then after the router 304 is successfully started, the target IP address is requested from the router 304 through the DHCP server, and the cloud server 80 is connected according to the target IP address.
- the first communication component 10 requests the target IP address from the router 304, so even if the first communication component 10 exceeds the reconnection time and the router 304 is successfully started, the network can still be successfully connected.
- some embodiments of the present disclosure further provide a method for controlling a refrigerator 1000 , the method comprising steps S1 to S3 .
- 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.
- the method includes S101 to S104 .
- the method further includes S11 to S30 .
- the S20 includes S21 to S26 .
- the S30 includes S31 to S37 .
- the method may include S101 to S37 .
- the method may include S11 to S37. If the router 304, the wireless access point 301 and the refrigerator 1000 are all powered off and then powered on, the first communication component 10 performs an initialization operation after restarting. Under the initialization operation, the first communication component 10 uses the SSID and password of the wireless access point 301 bound before power failure to connect to the wireless access point 301, and 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 to connect to the wireless access point 301 and obtain the target IP address.
- 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.
- the refrigerator 1000 and the control method of the refrigerator 1000 provided in some embodiments of the present disclosure are configured to respond to the initialization of the first communication component 10.
- the IP address of the first communication component 10 is restored to the preset default IP address, and the wireless access point 301 is connected according to the connection information of the wireless access point 301 before the power failure.
- the router 304 is requested for the target IP address, and the first communication component 10 is controlled to connect to the cloud server 80 according to the target IP address. In this way, the problem that the device does not reconnect to the cloud server 80 under abnormal circumstances is solved.
- the abnormal situation prompt is added to guide the user to check and eliminate network problems.
- the first communication component 10 of the refrigerator 1000 is disposed on the box 100 and is configured to be coupled to the cloud server 80 to achieve network communication of the refrigerator 1000.
- the first communication component 10 includes a WiFi component.
- the APP of the mobile terminal 90 can establish a connection with the refrigerator 1000 through the first communication component 10, so that the user can obtain information such as the storage room temperature, food type, and food weight of the refrigerator 1000 by logging into the APP, thereby achieving remote control of the refrigerator 1000.
- the refrigerator 1000 When the refrigerator 1000 is used for the first time, the refrigerator 1000 needs to be connected to the network and the refrigerator 1000 needs to be bound to the APP of the mobile terminal 90.
- the user can input the SSID and password of the wireless network through the display device 40 or the mobile terminal 90 to connect the refrigerator 1000 to the network.
- the SSID of the wireless network can also be obtained by scanning.
- the refrigerator 1000 can communicate with the mobile terminal 90 through the first communication component 10.
- the user can bind the refrigerator 1000 to the APP of the mobile terminal 90 through the mobile terminal 90.
- 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.
- the identification information of the APP may be a user's login name (eg, phone number), and the same login name may be used to log in to the APPs of multiple mobile terminals 90.
- the cloud server 80 may also store the device codes of multiple mobile terminals 90.
- a corresponding first identification code is preset in the first communication component 10, and the first identification code includes identification information of the first communication component 10.
- the first identification code is an identity identification code (Identity, ID) of a WiFi component.
- the refrigerator 1000 includes a second identification code, and the second identification code includes identification information of the refrigerator 1000.
- the second identification code is a product serial number (Serial Number, SN) of the refrigerator 1000.
- the second identification code can be pasted on the outside of the box 100.
- the outside of the box 100 is provided with a whole machine barcode 501, which is configured to display the second identification code of the refrigerator 1000.
- the outside of the box 100 is also provided with a label 502, which is configured to display the first identification code of the first communication component 10.
- the APP of the mobile terminal 90 can achieve binding with the refrigerator 1000 by acquiring 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, and bind the association relationship with the login name of the current APP and upload it to the cloud server 80 for storage.
- the user first scans the 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.
- the APP obtains the association relationship of the first identification code from the cloud server 80. If it is determined that the first identification code does not have a bound second identification code, the APP will jump to the interface for scanning the second identification code to allow the user to scan the SN code.
- the APP associates the first identification code with the second identification code, binds the association relationship with the login name of the current APP, and uploads it to the cloud server 80, so that the binding with the refrigerator 1000 can be completed.
- the ID and SN code of the WiFi component are pre-associated during the production process of the refrigerator 1000.
- the APP can obtain the association relationship of the first identification code or the second identification code from the cloud server 80 to complete the binding with the refrigerator 1000.
- the APP first obtains the ID of the WiFi component, and then obtains the SN code corresponding to the ID of the WiFi component from the cloud server 80, so as to complete the binding of the mobile terminal 90 with the refrigerator 1000.
- the APP can establish a connection with the refrigerator 1000 through the first communication component 10 to achieve remote management of the refrigerator 1000.
- the APP can obtain information such as the device type, function information, and instructions for use 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 between the first identification code and the second identification code.
- OCR optical character recognition
- the first communication component 10 is correspondingly provided with a 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.
- the first communication component 10 is first assembled in the box body 100. Afterwards, the label 502 corresponding to the first communication component 10 is pasted on the upper end cover 230 of the door body 200, and the whole machine barcode 501 of the refrigerator 1000 is pasted on a preset position on the back of the box body 100.
- scanners are respectively provided at the top and back of the refrigerator 1000.
- the scanners respectively scan the corresponding label 502 and the whole machine barcode 501, and upload the obtained first identification code and second identification code to the cloud server 80 to associate the first identification code with the second identification code.
- the cloud server 80 only stores the association between the first identification code and the second identification code. Afterwards, if the user performs a binding operation, the user's binding information will be added to the association. For example, after the user's binding operation is completed, the cloud server 80 adds the login name set by the user when logging into the APP to the association, and stores the first identification code, the second identification code of the refrigerator 1000, and the identification information of the APP to complete the binding of the APP and the refrigerator 1000.
- binding information may also be stored in a binding list of the controller 60 or in the mobile terminal 90 .
- the refrigerator 1000 further includes a second communication component 20, which is disposed outside the housing 100 and configured to implement network-free communication between the refrigerator 1000 and the mobile terminal 90.
- the second communication component 20 is a Bluetooth component.
- 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 machine 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.
- the user can input the SSID and password through the mobile terminal 90 or the display device 40 so that the first communication component 10 can connect to the wireless network and further connect to the cloud server 80 .
- 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 short-range (for example, within 20m) communication with the refrigerator 1000.
- the refrigerator 1000 when the user starts the refrigerator 1000 for the first time, the refrigerator 1000 is not connected to the network. At this time, the user needs to perform network configuration operation on the refrigerator 1000 through the mobile terminal 90.
- the second communication component 20 of the refrigerator 1000 is started, and the user can establish a connection with the second communication component 20 through the mobile terminal 90 to communicate.
- 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, so that the refrigerator 1000 is connected to the network to interact 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.
- the user After establishing a connection between the mobile terminal 90 and the refrigerator 1000, the user scans the whole machine barcode 501 through the APP to obtain the second identification code and store the second identification code. At this time, the mobile terminal 90 completes the acquisition of the first identification code and the second identification code.
- the APP can obtain the device type, function settings and other information of the refrigerator 1000 according to the second identification code.
- the mobile terminal 90 is further configured to send the acquired second identification code to the second communication component 20.
- 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.
- the association relationship of the first identification code stored in the cloud server 80 may be wrong.
- the label 502 corresponding to the first communication component 10 is pasted on the wrong refrigerator 1000.
- 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.
- 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 association status of the first identification code is obtained. If it is determined that the first identification code has established an association relationship, the pending authentication code associated with the first identification code is obtained from the cloud server 80, and it is determined 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 cloud server 80 is controlled to update the association relationship of the first identification code and perform a binding operation with the mobile terminal 90.
- the controller 60 is also 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 release the association between the first identification code and 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.
- 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 machine barcode 501 through the mobile terminal 90.
- the second identification code can be pre-stored in the controller 60. It can be understood that the whole machine barcode 501 corresponds to the second identification code of the refrigerator 1000.
- the code associated with the first identification code 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 a pending authentication code to confirm whether the pending authentication code is the second identification code corresponding to the current refrigerator 1000.
- the refrigerator 1000 after the refrigerator 1000 is connected to the network, it can obtain the association relationship of the first identification code from the cloud server 80. It should be noted that in the case where the first identification code preset in the first communication component 10 has an incorrect association relationship, the user can still complete the binding of the mobile terminal 90 and the refrigerator 1000. For example, the first identification code preset in the first communication component 10 is associated with the SN code of another refrigerator 1000. If this SN code has not been bound by the user, the user can still complete the binding of the mobile terminal 90 and the refrigerator 1000, and the user will not find this problem during use.
- the APP will prompt an error message, indicating that the ID or SN code of this WiFi component has been used, and please unbind it before trying again. In this case, the binding will be wrong, which will not only affect the use of refrigerator 1000, but also make the user feel that refrigerator 1000 may have been used before, thus causing user complaints and wasting after-sales resources.
- the association status of the first identification code preset in the first communication component 10 is also 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.
- Table 1 is the correct association relationship between the first identification code and the second identification code provided in some embodiments of the present disclosure. Assume that there are two refrigerators 1000, refrigerator 1000A and refrigerator 1000B.
- the first communication component 10A is set in refrigerator 1000A
- the first communication component 10B is set in refrigerator 1000B.
- the first identification code corresponding to the first communication component 10A is W1
- the first identification code corresponding to the first communication component 10B is W2
- the second identification code corresponding to the refrigerator 1000A is SN1
- the second identification code corresponding to the refrigerator 1000B is SN2.
- the second identification code corresponding to the whole machine barcode 501 of refrigerator 1000A is SN1
- the first identification code built into the first communication component 10A and the first identification code of the label 502 are the same, both are W1.
- the scanner will upload the second identification code SN1 corresponding to the whole machine barcode 501 and the first identification code W1 corresponding to the label 502 to the cloud server 80, and the association relationship stored in the cloud server 80 is "SN1&W1".
- the user 1 scans the whole machine barcode 501 through the 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 relationship "SN1&W1" in the cloud server 80 is correct, the user 1 binds the APP of the mobile terminal 90 to this association relationship to control the refrigerator 1000 through the APP.
- the second identification code corresponding to the whole machine barcode 501 of refrigerator 1000B is SN2
- the first identification code built into the first communication component 10B is the same as the first identification code of the label 502, both of which are W2.
- the scanner will upload the second identification code SN2 corresponding to the whole machine barcode 501 and the first identification code W2 corresponding to the label 502 to the cloud server 80, and the association relationship stored in the cloud server 80 is "SN2&W2".
- the second user scans the whole machine barcode 501 through the 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 relationship "SN2&W2" in the cloud server 80 is correct, the second user binds the APP of the mobile terminal 90 to this association relationship to control the refrigerator 1000 through the APP.
- Table 2 is an erroneous association relationship between the first identification code and the second identification code provided in some embodiments of the present disclosure.
- the first communication component 10A, the first communication component 10B, and the first communication component 10C are respectively set in the above three refrigerators 1000.
- the whole machine barcode 501 is not pasted incorrectly, but the label 502 is pasted incorrectly, the following erroneous association relationship may occur.
- 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
- the first identification code corresponding to the label 502 pasted on the box body 100 is W2 (the first identification code of refrigerator 1000B).
- 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".
- 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
- the first identification code of the label 502 pasted on the box body 100 is W3 (the first identification code of refrigerator 1000C).
- 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".
- 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 body 100 is W1 (the first identification code of refrigerator 1000A).
- the scanner 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".
- refrigerator 1000A For example, first, user one binds refrigerator 1000A. User one scans the whole machine barcode 501 through the APP of mobile terminal 90 to obtain the second identification code SN1, and receives the first identification code W1 sent by the second communication component 20A through the APP. At this time, refrigerator 1000A will search for the current binding relationship of W1. If it is determined that W1 is associated with SN3, and SN3 associated with W1 is not the same as the second identification code SN1 of refrigerator 1000A, refrigerator 1000A will issue an error message, indicating that the first identification code or the second identification code has been used. At this time, refrigerator 1000A cannot be bound to user one's APP.
- the first identification code and the second identification code are not associated, that is, there is no situation in the above Table 2. This situation may occur because the refrigerator 1000 is missed by the scanner when it moves on the production line, resulting in no association being established in the cloud server 80. At this time, the association between the first identification code and the second identification code can be re-established.
- controller 60 is further configured to:
- 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.
- the cloud server 80 is controlled to release the association relationship between the second identification code and the third identification code to establish an association relationship between the second identification code and the first identification code, and perform a user binding operation.
- the scanner did not scan the identification code of the refrigerator 1000A, or user 3 who purchased refrigerator 1000C had already released the wrong association "SN3&W1" before user 1 purchased refrigerator 1000A.
- the association between SN1 and W2 is released, the association between SN1 and W1 is established, and the binding operation between refrigerator 1000 and the APP of mobile terminal 90 is completed.
- 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, 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.
- 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 an association between the first identification code and the second identification code, and perform a binding operation with the APP of the mobile terminal 90.
- 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.
- the first identification code of refrigerator 1000A is W1
- the second identification code is SN1. If in cloud server 80, the first identification code W1 has an association relationship "SN3&W1". Since the second identification code of refrigerator 1000A is SN1, which is different from SN3 in this association relationship, it is necessary to further determine whether the second identification code SN1 has established an association relationship. If it is determined that the second identification code SN1 has established an association relationship, If no association is established between the identification code SN1, the association between SN3 and W1 is released, the association between SN1 and W1 is established, and the binding operation with the APP of the mobile terminal 90 is completed.
- the association "SN3&W1" is incorrectly bound because the association between the first identification code and the second identification code is not updated in time in the cloud server 80. If the "SN3&W1" association is not bound to the APP of the mobile terminal 90, the association between SN1 and W2 is controlled to be disassociated, the association between SN3 and W1 is controlled to be disassociated, and the association between SN1 and W1 is established. At this time, W2 and SN3 do not establish an association, and then the binding operation with the APP of the mobile terminal 90 is completed.
- the binding relationship between W1 and W2 is replaced, that is, it becomes "SN1&W1, "W2&SN3".
- the association relationship in the cloud server 80 can also be replaced.
- some embodiments of the present disclosure further provide a method for controlling a refrigerator 1000 , the method comprising:
- 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.
- the method may further include S41 to S43 .
- the method further includes S51 to S56 .
- the method further includes S61 to S64 .
- 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.
- S63 controlling the cloud server 80 to establish an association relationship between the first identification code and the second identification code.
- the S57 further includes S71 to S76 .
- 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.
- control method of the refrigerator 1000 can be executed by the controller 60 of the refrigerator 1000, and can also be executed by the APP of the mobile terminal 90.
- the controller 60 executes the above 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 the second identification code. At this time, the device type and function of the refrigerator 1000 can be obtained according to the second identification code.
- the user sends the scanned whole machine barcode 501 to the refrigerator 1000 through the second communication component 20, and the second communication component 20 sends the first identification code preset in the first communication component 10 to the mobile terminal 90, so that the device enters the network distribution mode, so that the refrigerator 1000 is connected to the network and exchanges information with the cloud server 80, but at this time the user APP has not yet been bound to the refrigerator 1000.
- 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.
- the refrigerator 1000 and the control method of the refrigerator 1000 provided in some embodiments of the present disclosure, when the refrigerator 1000 is bound to the APP of the mobile terminal 90, it is also determined 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 relationship, an automatic correction is performed to re-associate the first identification code and the corresponding correct second identification code. In this way, when the user needs to bind the refrigerator 1000 through the mobile terminal 90, the binding error prompt is avoided, and the user can solve the above problem through the background without perception.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- Thermal Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Devices That Are Associated With Refrigeration Equipment (AREA)
Abstract
Description
本申请要求于2023年04月26日提交的、申请号为202310466252.2的中国专利申请的优先权,于2023年05月11日提交的、申请号为202310527291.9的中国专利申请的优先权,其全部内容通过引用结合在本申请中。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.
本公开涉及家用电器领域,尤其涉及一种冰箱及其控制方法。The present disclosure relates to the field of household appliances, and in particular to a refrigerator and a control method thereof.
目前,一些冰箱可通过连接互联网并绑定到APP来实现用户对冰箱的远程控制、状态监测和食材管理等功能。在出现断电等异常情况时,冰箱需要在断电结束并重新通电后,及时恢复至联网状态,以满足用户对冰箱的日常使用需求。At present, some refrigerators can be connected to the Internet and bound to an APP to enable users to remotely control the refrigerator, monitor its status, manage ingredients, etc. In the event of an abnormal situation such as a power outage, the refrigerator needs to be restored to the connected state in time after the power outage ends and the power is restored to meet the user's daily use needs for the refrigerator.
发明内容Summary of the invention
一方面,提供一种冰箱,包括箱体、门体、第一通信组件以及控制器。所述箱体包括储藏室。所述门体被配置为开闭所述储藏室。所述第一通信组件设于所述箱体,且被配置为通过无线接入点连接到路由器,以实现与云服务器的连接。所述控制器被配置为:响应于所述第一通信组件的初始化操作,控制所述第一通信组件的IP地址恢复为预设的默认IP地址,并根据断电前所述第一通信组件连接的无线接入点的连接信息,控制所述第一通信组件连接所述无线接入点;在所述第一通信组件连接到所述无线接入点后,控制所述第一通信组件向路由器请求目标IP地址;在所述第一通信组件获取到所述目标IP地址后,控制所述第一通信组件根据所述目标IP地址连接到云服务器。On the one hand, a refrigerator is provided, comprising a cabinet, a door, a first communication component and a controller. 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 connected to a router via a wireless access point to achieve connection with a cloud server. The controller is configured to: in response to the 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 according to the connection information of the wireless access point to which the first communication component is 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 according to the target IP address.
另一方面,提供一种冰箱,包括箱体、门体、第一通信组件、标签贴、整机条码以及控制器。所述箱体包括储藏室。所述门体被配置为开闭所述储藏室。所述第一通信组件设于所述箱体内,且被配置为与云服务器耦接,以实现所述冰箱的联网。所述第一通信组件内预置有第一识别码。所述标签贴设置于所述箱体的外部,且被配置为显示所述第一通信组件的所述第一识别码。所述整机条码设置于所述箱体的外部,且被配置为显示所述冰箱的第二识别码。所述云服务器存储有所述标签贴上的所述第一识别码与所述第二识别码的关联关系。所述控制器被配置为:获取所述第一通信组件内预置的第一识别码,以及所述冰箱的第二识别码;在所述第一通信组件与所述云服务器建立连接后,获取所述第一识别码的关联状态;若确定所述第一识别码存在关联关系,从所述云服务器获取与所述第一识别码相关联的待定认证码;若确定所述待定认证码与所述冰箱的第二识别码不相同,控制所述云服务器更新所述第一识别码的关联关系,并重新对所述第一识别码和所述第二识别码进行绑定。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 chamber. The door is configured to open and close the storage chamber. The first communication component is disposed in the housing and is configured to be coupled to a cloud server to realize networking of the refrigerator. A first identification code is preset 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 relationship 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 an 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.
又一方面,提供一种冰箱的控制方法,其中,所述冰箱包括箱体、门体以及第一通信组件。所述箱体包括储藏室。所述门体被配置为开闭所述储藏室。所述第一通信组件设于所述箱体,且被配置为通过无线接入点连接到路由器,以实现与云服务器的连接。其中,所述方法包括:响应于所述第一通信组件的初始化操作,控制所述第一通信组件的IP地址恢复为预设的默认IP地址,并根据断电前所述第一通信组件连接的无线接入点的连接信息,控制所述第一通信组件连接所述无线接入点;在所述第一通信组件连接到所述无线接入点后,控制所述第一通信组件向路由器请求目标IP地址;在所述第一通信组件获取到所述目标IP地址后,控制所述第一通信组件根据所述目标IP地址连接到云服务器。On the other hand, a control method for a refrigerator is provided, wherein the refrigerator includes a cabinet, a door, and a first communication component. The cabinet includes 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 connected 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 according to the connection information of the wireless access point to which the first communication component is 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 according to the target IP address.
又一方面,提供一种冰箱的控制方法,包括箱体、门体、第一通信组件、标签贴以及整机条码。所述箱体包括储藏室。所述门体被配置为开闭所述储藏室。所述第一通信组件设于所述箱体内,且被配置为与云服务器耦接,以实现所述冰箱的联网。所述第一通信组件内预置有第一识别码。所述标签贴设置于所述箱体的外部,且被配置为显示所述第一通信组件的所述第一识别码。所述整机条码设置于所述箱体的外部,且被配置为显示所述冰箱的第二识别码。所述云服务器存储有所述标签贴上的所述第一识别码与所述第二识别码的关联关系。其中,所述方法包括:获取所述第一通信组件内预置的第一识别码,以及所述冰箱的第二识别码;在所述第一通信组件与所述云服务器建立连接后,获取所述第一识别码的关联状态;若确定所述第一识别码存在关联关系,从所述云服务器获取与所述第一识别码相关联的待定认证码;若确定所述待定认证码与所述冰箱的第二识别码不相同,控制所述云服务器更新所述第一识别码的关联关系,并重新对所述第一识别码和所述第二识别码进行绑定。On the other hand, a control method for a refrigerator is provided, comprising a housing, a door, a first communication component, a label, and a whole-machine barcode. The housing comprises a storage chamber. The door is configured to open and close the storage chamber. The first communication component is disposed in the housing and is configured to be coupled to a cloud server to realize networking of the refrigerator. A first identification code is preset 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 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 an 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 rebinding the first identification code and the second identification code.
图1A是根据一些实施例的冰箱的主视图;FIG. 1A is a front view of a refrigerator according to some embodiments;
图1B是根据一些实施例的冰箱的门体的结构图;FIG. 1B is a structural diagram of a door body of a refrigerator according to some embodiments;
图1C是根据一些实施例的冰箱在门体打开时的储藏室的结构图;FIG1C is a structural diagram of a storage chamber of a refrigerator when the door is opened according to some embodiments;
图2是根据一些实施例的冰箱的制冷系统的结构图;FIG2 is a structural diagram of a refrigeration system of a refrigerator according to some embodiments;
图3A是根据一些实施例的路由器与无线接入点相组合的组网方式的网络拓扑图;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;
图3B是根据一些实施例的冰箱与路由器连接的示意图;FIG3B is a schematic diagram of a refrigerator connected to a router according to some embodiments;
图4是根据一些实施例的一种冰箱、云服务器与移动终端进行通信的场景图;FIG4 is a scene diagram of a refrigerator, a cloud server and a mobile terminal communicating according to some embodiments;
图5是根据一些实施例的一种冰箱的控制方法一种作流程图;FIG5 is a flow chart of a method for controlling a refrigerator according to some embodiments;
图6是根据一些实施例的一种冰箱的控制方法另一种流程图;FIG6 is another flow chart of a method for controlling a refrigerator according to some embodiments;
图7是根据一些实施例的一种冰箱的控制方法又一种流程图;FIG7 is another flow chart of a method for controlling a refrigerator according to some embodiments;
图8是根据一些实施例的一种冰箱的控制方法又一种流程图;FIG8 is another flow chart of a method for controlling a refrigerator according to some embodiments;
图9是根据一些实施例的一种冰箱的控制方法又一种流程图;FIG9 is another flow chart of a method for controlling a refrigerator according to some embodiments;
图10是根据一些实施例的一种冰箱的控制方法又一种流程图;FIG10 is another flow chart of a method for controlling a refrigerator according to some embodiments;
图11是根据一些实施例的一种冰箱的控制方法的又一种流程图;FIG11 is another flow chart of a method for controlling a refrigerator according to some embodiments;
图12是根据一些实施例的冰箱在生产时第一识别码与第二识别码的关联过程;FIG. 12 is a diagram illustrating a process of associating a first identification code with a second identification code during production of a refrigerator according to some embodiments;
图13是根据一些实施例的一种冰箱与移动终端的绑定过程;FIG13 is a binding process between a refrigerator and a mobile terminal according to some embodiments;
图14是根据一些实施例的另一种冰箱的控制方法的一种流程图;FIG14 is a flow chart of another method for controlling a refrigerator according to some embodiments;
图15是根据一些实施例的另一种冰箱的控制方法的另一种流程图;FIG. 15 is another flow chart of another method for controlling a refrigerator according to some embodiments;
图16是根据一些实施例的另一种冰箱的控制方法的又一种流程图;FIG. 16 is yet another flow chart of another method for controlling a refrigerator according to some embodiments;
图17是根据一些实施例的另一种冰箱的控制方法的又一种流程图;和FIG. 17 is yet another flow chart of another method for controlling a refrigerator according to some embodiments; and
图18是根据一些实施例的另一种冰箱的控制方法的又一种流程图。FIG. 18 is yet another flow chart of another method for controlling a refrigerator according to some embodiments.
下面将结合附图,对本公开一些实施例进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开所提供的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本公开保护的范围。The following will be combined with the accompanying drawings to clearly and completely describe some embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the 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.
除非上下文另有要求,否则,在整个说明书和权利要求书中,术语“包括(comprise)”及其其他形式例如第三人称单数形式“包括(comprises)”和现在分词形式“包括(comprising)”被解释为开放、包含的意思,即为“包含,但不限于”。在说明书的描述中,术语“一个实施例(one embodiment)”、“一些实施例(some embodiments)”、“示例性实施例(exemplary embodiments)”、“示例(example)”、“特定示例(specific example)”或“一些示例(some examples)”等旨在表明与该实施例或示例相关的特定特征、结构、材料或特性包括在本公开的至少一个实施例或示例中。上述术语的示意性表示不一定是指同一实施例或示例。此外,所述的特定特征、结构、材料或特点可以以任何适当方式包括在任何一个或多个实施例或示例中。Unless the context requires otherwise, throughout the specification and claims, the term "comprise" and other forms thereof, such as the third person singular form "comprises" and the present participle form "comprising", are to be interpreted as open, 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" and the like are intended to indicate that specific 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 specific features, structures, materials or characteristics described may be included in any one or more embodiments or examples in any appropriate manner.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本公开实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, 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.
在描述一些实施例时,可能使用了“耦接”和“连接”及其衍伸的表达。术语“连接”应做广义理解,例如,“连接”可以是固定连接,也可以是可拆卸连接,或成一体;可以是直接相连,也可以通过中间媒介间接相连。术语“耦接”表明两个或两个以上部件有直接物理接触或电接触。术语“耦接”或“通信耦合(communicatively coupled)”也可能指两个或两个以上部件彼此间并无直接接触,但仍彼此协作或相互作用。这里所公开的实施例并不必然限制于本文内容。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, "connected" 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.
“A、B和C中的至少一个”与“A、B或C中的至少一个”具有相同含义,均包括以下A、B和C的组合:仅A,仅B,仅C,A和B的组合,A和C的组合,B和C的组合,及A、B和C的组合。“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.
“A和/或B”,包括以下三种组合:仅A,仅B,及A和B的组合。“A and/or B” includes the following three combinations: A only, B only, and a combination of A and B.
本文中“适用于”或“被配置为”的使用意味着开放和包容性的语言,其不排除适用于或被配置为执行额外任务或步骤的设备。The use of "adapted to" or "configured to" herein is meant to be open and inclusive language that does not exclude devices adapted or configured to perform additional tasks or steps.
如本文所使用的那样,“约”、“大致”或“近似”包括所阐述的值以及处于特定值的可接受偏差范围内的平均值,其中所述可接受偏差范围如由本领域普通技术人员考虑到正在讨论的测量以及与特定量的 测量相关的误差(即,测量系统的局限性)所确定。As used herein, "about,""approximately," or "approximately" includes the stated value and an average value that is within an acceptable range of variation for the particular value, as would be expected by one of ordinary skill in the art taking into account the measurement in question and the relationship between the particular quantity and the intended use. The error associated with the measurement (i.e., the limitations of the measurement system) is determined.
如本文所使用的那样,“平行”、“垂直”、“相等”包括所阐述的情况以及与所阐述的情况相近似的情况,该相近似的情况的范围处于可接受偏差范围内,其中所述可接受偏差范围如由本领域普通技术人员考虑到正在讨论的测量以及与特定量的测量相关的误差(即,测量系统的局限性)所确定。例如,“平行”包括绝对平行和近似平行,其中近似平行的可接受偏差范围例如可以是5°以内偏差;“垂直”包括绝对垂直和近似垂直,其中近似垂直的可接受偏差范围例如也可以是5°以内偏差。“相等”包括绝对相等和近似相等,其中近似相等的可接受偏差范围内例如可以是相等的两者之间的差值小于或等于其中任一者的5%。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 the acceptable deviation range, wherein the acceptable deviation range is 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 a particular 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 may be, for example, a deviation within 5°; "perpendicular" includes absolute perpendicularity and approximate perpendicularity, wherein the acceptable deviation range of approximate perpendicularity may also be, for example, a deviation within 5°. "Equal" includes absolute equality and approximate equality, wherein the acceptable deviation range of approximate equality may be, for example, the difference between the two equalities is less than or equal to 5% of either one.
参照图1A至图1C,本公开一些实施例提供一种冰箱,冰箱1000包括限定存储空间的箱体100和门体200。箱体100内设有部件存放腔以及至少一个储藏室。部件存放腔被配置为放置冰箱中的各部件,例如,压缩机等。储藏室被配置为存放食品等。储藏室根据用途不同,可以分为冷藏室、冷冻室、变温室、真空室等。门体200被配置为开启或关闭所述储藏室。各储藏室开口处设有一个或多个门体200。例如,箱体100内设置有两个储藏室,箱体100上部的储藏室为冷藏室101,冷藏室101设有两个门体200。箱体100下部的储藏室为冷冻室102,冷冻室102的开口处设置有一个门体200。1A to 1C, some embodiments of the present disclosure provide a refrigerator, wherein the refrigerator 1000 includes a box body 100 and a door body 200 defining a storage space. A component storage cavity and at least one storage chamber are provided in the box body 100. The component storage cavity is configured to place various components in the refrigerator, such as a compressor, etc. The storage chamber is configured to store food, etc. The storage chamber can be divided into a refrigerating chamber, a freezing chamber, a variable temperature chamber, a vacuum chamber, etc. according to different uses. The door body 200 is configured to open or close the storage chamber. One or more door bodies 200 are provided at the opening of each storage chamber. For example, two storage chambers are provided in the box body 100, and the storage chamber at the upper part of the box body 100 is a refrigerating chamber 101, and the refrigerating chamber 101 is provided with two door bodies 200. The storage chamber at the lower part of the box body 100 is a freezing chamber 102, and a door body 200 is provided at the opening of the freezing chamber 102.
门体200可以转动开启,或与储藏室内的抽屉盒相连,通过推拉实现开启和关闭。门体200包括位于箱体100外侧的门体外壳210、位于箱体100内侧的门体内胆220、上端盖230、下端盖240以及位于门体外壳210、门体内胆220、上端盖230以及下端盖240之间的绝热层。绝热层可以由发泡料填充而成。The door body 200 can be rotated to open, or connected to the drawer box in the storage room, and opened and closed by pushing and pulling. The door body 200 includes a door body shell 210 located outside the box body 100, a door body inner liner 220 located inside the box body 100, an upper end cover 230, a lower end cover 240, and an insulation layer located between the door body shell 210, the door body inner liner 220, the upper end cover 230, and the lower end cover 240. The insulation layer can be filled with foam material.
在一些实施例中,所述储藏室的开口处安装有门封,以在门体200关闭时使得门体200与储藏室的开口处紧密接触。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.
参照图2,冰箱1000还包括制冷系统,制冷系统被配置为对箱体100内的储藏室进行制冷。制冷系统包括压缩机1、冷凝器2、和蒸发器6。压缩机1的出口与冷凝器2的入口连接,压缩机1的入口与蒸发器6的出口连接。压缩机1被配置为压缩制冷剂,以及为制冷剂循环提供动力。2 , the refrigerator 1000 further includes a refrigeration system configured to refrigerate the storage room in the cabinet 100. The refrigeration system includes a compressor 1, a condenser 2, and an evaporator 6. The outlet of the compressor 1 is connected to the inlet of the condenser 2, and the inlet of the compressor 1 is connected to the outlet of the evaporator 6. The compressor 1 is configured to compress the refrigerant and provide power for the refrigerant circulation.
在一些实施例中,制冷系统还包括过滤器4、减压器5和气液分离器7。过滤器4的入口与冷凝器2的出口连接,过滤器4的出口与蒸发器6的入口相连接。减压器5设于过滤器4的出口与蒸发器6的入口之间的管道上。过滤器4被配置为过滤制冷剂中的杂物,如金属屑、灰尘等,以防止杂物堵塞减压器5或损坏压缩机1。过滤器4可以为干燥过滤器。气液分离器7设于压缩机1的入口与蒸发器6的出口之间的管道上。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 arranged on the pipeline between the outlet of the filter 4 and the inlet of the evaporator 6. The filter 4 is configured to filter debris in the refrigerant, such as metal chips, dust, etc., to prevent the debris 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 arranged on the pipeline between the inlet of the compressor 1 and the outlet of the evaporator 6.
在一些实施例中,制冷系统还包括防凝管3,防凝管3设于箱体100与门体200的连接处,且与箱体100两侧的冷凝器2连通。防凝管3被配置为使所述连接处温度升高,避免箱体100外部的水蒸气在所述连接处遇冷而凝结为水珠。在蒸发器6与压缩机1之间还设置了储液器,以存储液态的制冷剂。In some embodiments, the refrigeration system further includes an anti-condensation pipe 3, which is disposed at the connection between the cabinet 100 and the door 200 and is connected to the condensers 2 on both sides of the cabinet 100. The anti-condensation pipe 3 is configured to increase the temperature of the connection to prevent the water vapor outside the cabinet 100 from condensing into water droplets when it encounters cold at the connection. A liquid reservoir is also disposed between the evaporator 6 and the compressor 1 to store liquid refrigerant.
在一些实施例中,制冷系统的工作过程包括压缩过程、冷凝过程、节流过程和蒸发过程。首先,接通冰箱1000电源线,使冰箱1000通电。若冰箱1000内储藏室温度位于预设温度范围之外,则温控器的触点接通,压缩机1开始工作。In some embodiments, the working process of the refrigeration system includes a compression process, a condensation process, a throttling process and an evaporation process. First, the power line of the refrigerator 1000 is connected to power on the refrigerator 1000. If the temperature of the storage room in the refrigerator 1000 is outside the preset temperature range, the contact of the thermostat is connected and the compressor 1 starts to work.
例如,压缩过程为:压缩机1开始工作,低温、低压的制冷剂被压缩机1吸入,在压缩机1的汽缸内被压缩成高温、高压的过热气体后排出到冷凝器2中。For example, the compression process is as follows: the compressor 1 starts working, the low-temperature, low-pressure refrigerant is sucked into the compressor 1 , is compressed into a high-temperature, high-pressure superheated gas in the cylinder of the compressor 1 , and is then discharged into the condenser 2 .
冷凝过程为:高温、高压的制冷剂气体通过冷凝器2散热,温度不断下降,逐渐被冷却为常温、高压的饱和蒸汽,并进一步被冷却为饱和液体,温度不再下降,此时的温度被称为冷凝温度。制冷剂在整个冷凝过程中的压力几乎不变。The condensation process is as follows: the high-temperature, high-pressure refrigerant gas dissipates heat through the condenser 2, the temperature continues to drop, and is gradually cooled to a saturated steam at room temperature and high pressure, and is further cooled to a saturated liquid, and the temperature no longer drops. The temperature at this time is called the condensation temperature. The pressure of the refrigerant remains almost unchanged during the entire condensation process.
节流过程为:经冷凝后的制冷剂饱和液体经过滤器4滤除水分和杂质后流入减压器5,经过减压器5的节流降压,变为常温、低压的湿蒸汽。The throttling process is as follows: the condensed refrigerant saturated liquid passes through the filter 4 to remove moisture and impurities, then flows into the pressure reducer 5, and is throttled and depressurized by the pressure reducer 5 to become wet steam at room temperature and low pressure.
蒸发过程为:常温、低压的湿蒸汽在蒸发器6内开始吸收热量进行汽化,不仅降低了蒸发器6及蒸发器6周围气体的温度,而且使制冷剂变成低温、低压的气体。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.
从蒸发器6出来的制冷剂经过气液分离器7后再次回到压缩机1中。重复以上工作过程,能够将冰箱1000内的热量转移到箱体外的空气中,实现制冷的目的。The refrigerant from 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 refrigeration.
参照图1A,冰箱1000还包括显示装置40,显示装置40被配置为显示储藏室温度、食材种类、食材重量等信息。显示装置40还被配置为接受用户输入的控制指令,例如用户对储藏室温度的设定。显示装置40可以为显示屏。 1A , the refrigerator 1000 further includes a display device 40, which is configured to display information such as the temperature of the storage chamber, the type of food, and the weight of food. The display device 40 is also configured to accept a control instruction input by a user, such as a user setting the temperature of the storage chamber. The display device 40 may be a display screen.
目前,越来越多的冰箱1000开始具有联网功能。例如,冰箱1000内置无线保真(Wireless Fidelity,WiFi)组件,该WiFi组件通过路由器与无线接入点(Wireless Access Point,WAP)相组合的组网方式连接互联网。进一步地,冰箱1000通过互联网连接云服务器,并通过云服务器绑定到移动终端的应用程序(Application,APP),来实现对冰箱1000的远程控制、状态监测和食材管理等功能。在日常使用过程中,冰箱1000可能会出现断电等情况,从而导致联网状态异常。在冰箱1000断电再重新通电后,需要重新连接互联网,以满足用户对冰箱1000的远程管理需求。At present, more and more refrigerators 1000 have networking functions. For example, refrigerator 1000 has a built-in wireless fidelity (WiFi) component, which connects to the Internet through a networking method combining a router and a wireless access point (WAP). Furthermore, refrigerator 1000 connects to a cloud server through the Internet, and binds the cloud server to an application (APP) on a mobile terminal to achieve functions such as remote control, status monitoring, and food management of refrigerator 1000. During daily use, refrigerator 1000 may experience power outages, etc., resulting in abnormal networking status. After refrigerator 1000 is powered off and then powered on again, it needs to reconnect to the Internet to meet the user's remote management needs for refrigerator 1000.
参照图3A,对路由器与无线接入点相组合的组网方式进行说明。该组网方式的拓扑结构包括无线接入点301、接入控制器(Access Controller,AC)302、以太网供电(Power Over Ethernet,POE)交换机303、路由器304和互联网305。无线接入点301被配置为与联网设备相连,以与联网设备进行数据传输。接入控制器302被配置为管理各无线接入点301。POE交换机303被配置为通过网线对各无线接入点301进行供电。路由器304被配置为向联网设备发送目标互联网国际地址(Internet Protocol Address,IP地址),以实现联网设备与互联网305的连接(即联网),以及局域网内各联网设备的信息传输。Referring to FIG. 3A , a networking method in which a router and a wireless access point are combined is described. The topological structure of the 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 be connected to a networked device to transmit data with the networked device. 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 through a network cable. The router 304 is configured to send a target Internet Protocol Address (IP address) to the networked device to achieve connection (i.e., networking) between the networked device and the Internet 305, as well as information transmission between each networked device in the local area network.
该组网方式被广泛地应用于大户型(例如120㎡以上的)家庭、企业和商场等场景。相比于相关技术中的无线网格网络(mesh)的组网方式,路由器304与无线接入点301相组合的组网方式具有以下优势。This networking method is widely used in large-sized households (eg, more than 120 square meters), enterprises, shopping malls, etc. Compared with the wireless mesh networking method in the related art, the networking method combining the router 304 and the wireless access point 301 has the following advantages.
首先,无线接入点301使用内置天线,外观简洁,信号好。其次,由于接入控制器302能够统一管理所有无线接入点301,因此路由器304与无线接入点301相组合的组网方式便于用户对各无线接入点301进行管理。例如,用户通过接入控制器302设置一个参数,接入控制器302将该参数统一下发给所有无线接入点301。First, the wireless access point 301 uses a built-in antenna, has a simple appearance, and has a good signal. Second, since the access controller 302 can uniformly manage all wireless access points 301, the networking mode of combining the router 304 with the wireless access point 301 is convenient for the user to manage each wireless access point 301. For example, the user sets a parameter through the access controller 302, and the access controller 302 uniformly sends the parameter to all wireless access points 301.
并且,在路由器304与无线接入点301相组合的组网方式下,可联网设备多,网络覆盖范围广,并且支持无缝漫游、自动切换无线接入点301,且切换时间短。路由器304与无线接入点301相组合的组网方式还支持多服务集标识(Service Set Identifier,SSID),并且可以区分SSID为内部使用或外部使用。SSID可以为无线接入点301的名称。最后,路由器304与无线接入点301相组合的组网方式还可以支持认证上网,信道优化,负载均衡等功能。Furthermore, in the networking mode in which the router 304 and the wireless access point 301 are combined, many devices can be connected to the network, the network coverage is wide, and seamless roaming and automatic switching of the wireless access point 301 are supported, and the switching time is short. The networking mode in which the router 304 and the wireless access point 301 are combined also supports multiple service set identifiers (Service Set Identifier, SSID), and can distinguish whether the SSID is used internally or externally. The SSID can be the name of the wireless access point 301. Finally, the networking mode in which the router 304 and the wireless access point 301 are combined can also support functions such as authentication for Internet access, channel optimization, and load balancing.
在一些实施例中,参照图1A、图3A以及图3B,冰箱1000还包括第一通信组件10。第一通信组件10设于箱体100上,且被配置为通过无线接入点301连接到路由器304,以实现与云服务器80的连接。例如,第一通信组件10包括WiFi组件。In some embodiments, referring to Figures 1A, 3A and 3B, the refrigerator 1000 further includes a first communication component 10. The first communication component 10 is disposed on the housing 100 and is configured to be connected to the router 304 through the wireless access point 301 to achieve connection with the cloud server 80. For example, the first communication component 10 includes a WiFi component.
需要说明的是,云服务器80被配置为向第一通信组件10提供数据存储以及云计算等服务。冰箱1000可在联网后进一步连接到云服务器80,并通过云服务器80与移动终端90进行通信,例如手机或者平板电脑。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 networking, and communicate with the mobile terminal 90, such as a mobile phone or tablet computer, through the cloud server 80.
在一些实施例中,路由器304内配置有动态主机配置协议(Dynamic Host Configuration Protocol,DHCP)服务器,且被配置为给联网设备(例如,第一通信组件10)分配目标IP地址。联网设备可通过广播来寻找DHCP服务器,以获取目标IP地址。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.
可以理解的是,路由器304可以通过开启DHCP服务器,向局域网内的联网设备(例如,第一通信组件10)分配目标互联网国际地址(Internet Protocol Address,IP地址)。联网设备能够通过该目标IP地址实现与路由器304的连接。It is understandable that the router 304 can allocate a target Internet Protocol Address (IP address) to a networked device (e.g., 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.
需要说明的是,DHCP服务器可以使用DHCP协议向已与无线接入点301连接的各联网设备配置IP地址、子网掩码、网关、DNS等。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 .
以下对第一通信组件10通过路由器304与无线接入点301相组合的组网方式进行联网的过程进行说明。The following describes the process of the first communication component 10 connecting to the Internet through the networking method of combining the router 304 with the wireless access point 301.
参照图3A至图4,首先,第一通信组件10使用SSID(例如无线接入点301默认的无线名称)和密码连接到无线接入点301。然后,第一通信组件10通过DHCP服务器向路由器304请求目标IP地址,以连接到路由器304,实现与互联网305的连接。第一通信组件10进而通过互联网305连接到云服务器80,并绑定到移动终端90的APP。3A to 4, first, the first communication component 10 uses the SSID (e.g., the default wireless name of the wireless access point 301) and the password to connect to the wireless access point 301. Then, the first communication component 10 requests the target IP address from the router 304 through the DHCP server to connect to the router 304 and achieve connection with the Internet 305. The first communication component 10 is then connected to the cloud server 80 through the Internet 305 and is bound to the APP of the mobile terminal 90.
可以理解的是,无线接入点301可作为独立设备来使用,也可以与路由器304一体化,作为路由器304的组件来使用。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 .
在使用路由器304与无线接入点301一体的路由器304的情况下,由于路由器304和无线接入点301的断电和通电几乎是同时发生的,因此在这种情况下冰箱1000可以顺利地重新连接网络。 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.
但是在路由器304和无线接入点301分开的情况下,路由器304和无线接入点301可能分开供电,此时路由器304和无线接入点301的断电和通电时间存在差异,在这种情况下可能会出现冰箱1000不能重新连接网络的问题。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.
例如,在路由器304和无线接入点301分开的情况下,若出现下述两种情况,则可能会导致第一通信组件10不能重新连接到网络。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.
情况一:路由器304、无线接入点301、第一通信组件10通电后,只有路由器304断电。此时,只需单独给路由器304通电。Situation 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.
情况二:路由器304、无线接入点301、第一通信组件10断电后,首先,给无线接入点301和第一通信组件10通电,而路由器304由于通电时间晚或启动时间长,而导致开启时间晚于无线接入点301和第一通信组件10。此时,无线接入点301工作一段时间后,路由器304才开始工作。Case 2: After the router 304, the wireless access point 301, and the first communication component 10 are powered off, the wireless access point 301 and the first communication component 10 are powered on first, but the router 304 is powered on later than the wireless access point 301 and the first communication component 10 due to a late power-on time or a long startup time. At this time, the router 304 starts to work after the wireless access point 301 has been working for a period of time.
由上述两种情况分析可知,第一通信组件10不能重新连接到互联网305和云服务器80的原因都是:无线接入点301和路由器304未同步开启。此时,第一通信组件10首先连接到无线接入点301,由于此时路由器304未开启,因此第一通信组件10不能获取到目标IP地址。之后,即使路由器304重新通电,第一通信组件10可能也无法连接网络。From the above two situations, 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 turned on synchronously. At this time, the first communication component 10 first connects to the wireless access point 301. Since the router 304 is not turned on at this time, the first communication component 10 cannot obtain the target IP address. Afterwards, even if the router 304 is powered on again, the first communication component 10 may not be able to connect to the network.
例如,针对情况一,在路由器304断电,无线接入点301保持通电的情况下,第一通信组件10可以通过SSID和密码连接到无线接入点301。但是,由于路由器304此时未启动,因此第一通信组件10不能获取到路由器304分配的目标IP地址。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 through the SSID and password. However, since the router 304 is not started at this time, the first communication component 10 cannot obtain the target IP address assigned by the router 304.
在一些实施例中,由于在超过预设重连时间后,第一通信组件10会被关闭,因此即使路由器304之后再通电,第一通信组件10也会存在联网失败的情况。In some embodiments, since the first communication component 10 will be turned off 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.
为解决上述问题,本公开一些实施例提供了一种冰箱1000,冰箱1000在重新通电后,首先通过断电前的连接信息连接无线接入点301,若此时无法连接到无线接入点301,则在第一预设时间内重复尝试连接无线接入点301,直至连接成功。之后,在预设请求次数内,重复尝试获取路由器304分配的目标IP地址。若在预设的等待时间内连接路由器304成功,则通过DHCP服务器向路由器304请求目标IP地址,并根据该目标IP地址连接到云服务器80。To solve the above problems, some embodiments of the present disclosure provide a refrigerator 1000. After the refrigerator 1000 is powered on again, it first connects to the wireless access point 301 through the connection information before the power failure. If it cannot connect to the wireless access point 301 at this time, it repeatedly tries to connect to the wireless access point 301 within a first preset time until the connection is successful. After that, it repeatedly tries to obtain the target IP address assigned by the router 304 within a preset number of requests. If the connection to the router 304 is successful within the preset waiting time, the target IP address is requested from the router 304 through the DHCP server, and the cloud server 80 is connected according to the target IP address.
可以理解的是,由于第一通信组件10会不断尝试向路由器304请求目标IP地址,因此即使第一通信组件10超过重连时间后,路由器304才成功启动,依然可以联网成功。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 first communication component 10 exceeds the reconnection time and the router 304 is successfully started, the network can still be successfully connected.
在一些实施例中,冰箱1000还包括控制器60。控制器60可以为芯片或处理器。例如,该处理器可以是一个通用中央处理器(Central Processing Unit,CPU)、微处理器、特定应用集成电路(Application Specific Integrated Circuit,ASIC)。或者,该控制器60可以为可编程器件,包括复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD)、可擦除可编辑逻辑器件(Erasable Programmable Logic Device EPLD),或者现场可编程门阵列(Field Programmable Gate Array,FPGA)。该芯片可以为集成电路(Integrated Circuit,IC)。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).
需要说明的是,在预设时间内,路由器304即使断电重启,仍然会为同一联网设备分配相同的目标IP地址。在情况一中,只有路由器304断电重启。由于此时第一通信组件10的目标IP地址可能并不会发生变化,因此可以尝试使用断电之前获取到的目标IP地址与路由器304进行连接。It should be noted that within the preset time, even if the router 304 is powered off and restarted, the same target IP address will still be assigned to the same networked device. In case 1, only the router 304 is powered off and restarted. Since the target IP address of the first communication component 10 may not change at this time, you can try to connect to the router 304 using the target IP address obtained before the power failure.
在一些实施例中,控制器60被配置为:若确定第一通信组件10未连接到云服务器80,则启动连接云服务器80服务,以根据第一通信组件10离线前获取到的目标IP地址重新与云服务器80连接。若第一通信组件10与云服务器80无法连接,则控制第一通信组件10重启,以使第一通信组件10的进入初始化操作。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 service of connecting to the cloud server 80, so as to reconnect to the cloud server 80 according to the target IP address obtained before the first communication component 10 goes 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.
例如,若确定第一通信组件10没有连接云服务器80,则启动连接云服务器80服务。此时可能出现无线接入点301开启,路由器304仍未开启的情况,例如上述情况一和情况二。此时,第一通信组件10首先尝试与无线接入点301建立连接。但是在这种情况下,由于第一通信组件10无法从路由器304获取到新的目标IP地址,因此仍使用原来离线前从路由器304获取的目标IP地址尝试与无线接入点301连接。For example, if it is determined that the first communication component 10 is not connected to the cloud server 80, the service of connecting to the cloud server 80 is started. At this time, the wireless access point 301 may be turned on, but the router 304 is still not turned on, such as the above-mentioned situation 1 and situation 2. At this time, 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 still uses the target IP address obtained from the router 304 before going offline to try to connect to the wireless access point 301.
若第一通信组件10重新连接到无线接入点301,并进一步连接到云服务器80,则第一通信组件10可每隔预设的间隔时长上报网络状态。例如,间隔时长为5分钟。此时,移动终端90的APP可根据所绑定的第一通信组件10的信息,重新与第一通信组件10连接,以使用户通过APP远程控制冰箱1000。若第一通信组件10使用离线前从路由器304获取的目标IP地址无法连接到无线接入点301,则控制第 一通信组件10重启,以使第一通信组件10进入初始化操作。If the first communication component 10 is reconnected to the wireless access point 301 and further connected to the cloud server 80, the first communication component 10 can report the network status at a preset interval. For example, the interval is 5 minutes. At this time, the APP of the mobile terminal 90 can reconnect to the first communication component 10 based on the information of the bound first communication component 10, so that the user can remotely control the refrigerator 1000 through 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 control first communication component 10 can be used to connect to the wireless access point 301. A communication component 10 is restarted so that the first communication component 10 enters the initialization operation.
在一些实施例中,针对情况一以及情况二,控制器60还被配置为:响应于第一通信组件10的初始化操作,将第一通信组件10的IP地址恢复为预设的默认IP地址,并根据断电前连接的无线接入点301的连接信息重新连接无线接入点301。在第一通信组件10连接到无线接入点301后,向路由器304请求目标IP地址。在获取到所述目标IP地址后,控制第一通信组件10根据所述目标IP地址连接到云服务器80。In some embodiments, for case 1 and case 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 according to the connection information of the wireless access point 301 connected before power failure. After the first communication component 10 is connected to the wireless access point 301, request the target IP address from the router 304. After obtaining the target IP address, control the first communication component 10 to connect to the cloud server 80 according to the target IP address.
例如,第一通信组件10在重启后执行初始化操作。由于此时在离线前从路由器304获取的目标IP地址无法连接到无线接入点301,因此将第一通信组件10的IP地址恢复为预设的默认IP地址。在上述初始化操作完成后,第一通信组件10使用重启前连接无线接入点301的连接信息重连无线接入点301。For example, the first communication component 10 performs an initialization operation after restarting. Since the target IP address obtained from the router 304 before going offline cannot connect to the wireless access point 301, the IP address of the first communication component 10 is restored to a preset default IP address. After the above initialization operation is completed, the first communication component 10 reconnects to the wireless access point 301 using the connection information of the wireless access point 301 before restarting.
需要说明的是,预设的默认IP地址可存储在第一通信组件10内,所述连接信息可以包括无线接入点301的SSID和密码。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 .
若确定第一通信组件10连接到无线接入点301,则表示此时路由器304可能已通电。在第一通信组件10通过DHCP服务器向路由器304请求目标IP地址后,路由器304可以返回目标IP地址。第一通信组件10在获取到所述目标IP地址后,执行连接云服务器80的动作。If it is determined that the first communication component 10 is connected to the wireless access point 301, it means that the router 304 may be powered on at this time. After the first communication component 10 requests the target IP address from the router 304 through the DHCP server, the router 304 can return the target IP address. After obtaining the target IP address, the first communication component 10 performs the action of connecting to the cloud server 80.
在本公开一些实施例中,在第一通信组件10重启后,由于路由器304未启动,因此第一通信组件10无法获取到路由器304分配的目标IP地址。此时,控制器60首先利用默认IP地址连接无线接入点301。然后在路由器304重新通电时,通过DHCP服务器向路由器304请求目标IP地址,并根据这一目标IP地址重新连接到云服务器80。在此过程中,由于向路由器304请求了目标IP地址,因此即使在第一通信组件10超过重连时间后,路由器304才通电,第一通信组件10也可以联网成功。In some embodiments of the present disclosure, after the first communication component 10 is restarted, since the router 304 is not started, the first communication component 10 cannot obtain the target IP address assigned by the router 304. At this time, the controller 60 first uses the default IP address to connect to the wireless access point 301. Then, when the router 304 is powered on again, the target IP address is requested from the router 304 through the DHCP server, and the cloud server 80 is reconnected according to the target IP address. In this process, since the target IP address is requested from the router 304, even if the router 304 is powered on after the first communication component 10 exceeds the reconnection time, the first communication component 10 can successfully connect to the network.
在一些实施例中,控制器60还被配置为:若根据断电前连接的无线接入点301的连接信息无法连接到无线接入点301,则在预设时间内,每间隔第一时长即根据所述连接信息连接一次无线接入点301,直至连接成功。若超出所述预设时间仍未连接成功,则每间隔第二时长根据所述连接信息连接一次无线接入点301,直至连接成功。In some embodiments, the controller 60 is further configured to: if the wireless access point 301 cannot be connected according to the connection information of the wireless access point 301 connected before the power failure, then the wireless access point 301 is connected once according to the connection information at every first time interval within the preset time until the connection is successful. If the connection is still not successful after the preset time, the wireless access point 301 is connected once according to the connection information at every second time interval until the connection is successful.
需要说明的是,所述第一时长小于所述第二时长。所述预设时间可以为5分钟,所述第一时长可以为10秒,所述第二时长可以为1分钟。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.
例如,若根据所述连接信息无法连接到无线接入点301,则在5分钟内每隔10秒连接一次无线接入点301,超过5分钟之后每隔1分钟连接一次无线接入点301。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.
需要说明的是,所述预设时间、所述第一时长和所述第二时长的数值仅为示例,在实际应用中所述预设时间、所述第一时长和所述第二时长也可以为分别10分钟、5秒、30秒等数值,本公开对此不作限定。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 the present disclosure does not limit this.
在一些实施例中,控制器60还被配置为:若未获取到所述目标IP地址,则继续向路由器304请求目标IP地址,并记录请求次数。若确定所述请求次数大于预设的请求次数阈值,且未获取到所述目标IP地址,则控制第一通信组件10的IP地址恢复为所述默认IP地址,并发出提示信息,以提醒用户检查路由器304,并记录等待时长。在等待时长大于预设的超时时间后,控制第一通信组件10重启。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 is greater than the preset request number threshold, and the target IP address is not obtained, the IP address of the first communication component 10 is controlled to be restored to the default IP address, and a prompt message is issued to remind the user to check the router 304, and the waiting time is recorded. After the waiting time is greater than the preset timeout time, the first communication component 10 is controlled to restart.
例如,预设的请求次数阈值为4次。预设的超时时间为10分钟。For example, the preset request number threshold is 4 times and the preset timeout period is 10 minutes.
第一通信组件10可以利用DHCP服务器向路由器304请求目标IP地址。若未请求到目标IP地址,则继续向目标路由器304请求目标IP地址,并且记录请求次数。若请求次数大于预设的请求次数阈值,即在第5次请求时仍未请求到目标IP地址,则在冰箱1000的显示装置40中显示未联网错误代码,并向APP发出提示信息以提醒用户检查路由器304。The first communication component 10 can use the DHCP server to request the target IP address from the router 304. If the target IP address is not requested, the target IP address is continuously requested from the target router 304, and the number of requests is recorded. If the number of requests is greater than the preset request number threshold, that is, the target IP address is still not requested at the fifth request, an error code indicating that the network is not connected is displayed on the display device 40 of the refrigerator 1000, and a prompt message is sent to the APP to remind the user to check the router 304.
例如,此时无法联网的原因可能是由于用户只将无线接入点301通电,而路由器304一直未通电。那么,在用户将路由器304通电后,第一通信组件10即可获取到目标IP地址。冰箱1000在显示未联网错误代码之后开始记录等待时长。若等待时长大于10分钟,则控制第一通信组件10重启,并重新执行初始化操作,来执行连接无线接入点301和进行DHCP请求的步骤。For example, the reason for the failure to connect to the Internet at this time may be that the user only powered on the wireless access point 301, while the router 304 has not been powered on. Then, after the user powers on the router 304, the first communication component 10 can obtain the target IP address. The refrigerator 1000 starts recording the waiting time after displaying the error code of not connecting to the Internet. If the waiting time is greater than 10 minutes, the first communication component 10 is controlled to restart and re-execute the initialization operation to perform the steps of connecting to the wireless access point 301 and making a DHCP request.
在本公开一些实施例中,由于路由器304的开启时间晚于第一通信组件10,即第一通信组件10重启后,路由器304仍未开启,因此第一通信组件10无法获取到路由器304分配的目标IP地址。此时,首先利用默认IP地址连接无线接入点301,然后在路由器304启动成功后,通过DHCP服务器向路由器304请求目标IP地址,并根据该目标IP地址连接到云服务器80。在此过程中,由于第一通信组件 10向路由器304请求了目标IP地址,因此即使第一通信组件10超过重连时间后,路由器304才成功启动,依然可以联网成功。In some embodiments of the present disclosure, since 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, so the first communication component 10 cannot obtain the target IP address assigned by the router 304. At this time, the wireless access point 301 is first connected using the default IP address, and then after the router 304 is successfully started, the target IP address is requested from the router 304 through the DHCP server, and the cloud server 80 is connected according to the target IP address. In this process, since the first communication component 10 requests the target IP address from the router 304, so even if the first communication component 10 exceeds the reconnection time and the router 304 is successfully started, the network can still be successfully connected.
参照图5,本公开一些实施例还提供一种冰箱1000的控制方法,所述方法包括S1至S3。5 , some embodiments of the present disclosure further provide a method for controlling a refrigerator 1000 , the method comprising steps S1 to S3 .
S1,响应于第一通信组件10的初始化操作,将第一通信组件10的IP地址恢复为预设的默认IP地址,并根据断电前连接无线接入点301的连接信息连接无线接入点301。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.
S2,在第一通信组件10连接到无线接入点301后,向路由器304请求目标IP地址。S2, after the first communication component 10 is connected to the wireless access point 301, it requests the router 304 for the target IP address.
S3,在获取到所述目标IP地址后,控制第一通信组件10根据所述目标IP地址连接到云服务器80。S3, after acquiring the target IP address, controlling the first communication component 10 to connect to the cloud server 80 according to the target IP address.
参照图6,所述方法包括S101至S104。6 , the method includes S101 to S104 .
S101,判断第一通信组件10是否连接到云服务器80。若是,则执行S102,若否,则重新执行S101。S101, determine whether the first communication component 10 is connected to the cloud server 80. If yes, execute S102, if not, execute S101 again.
S102,使用第一通信组件10在离线前获取到的目标IP地址与云服务器80连接。S102, using the target IP address obtained by the first communication component 10 before going offline to connect to the cloud server 80.
S103,判断第一通信组件10是否连接到云服务器80。若是,则流程结束,若否,则执行S104。S103, determine whether the first communication component 10 is connected to the cloud server 80. If yes, the process ends, if not, execute S104.
S104,重启第一通信组件10,以使第一通信组件10进入初始化操作。S104, restarting the first communication component 10, so that the first communication component 10 enters an initialization operation.
参照图7,在S104之后,所述方法还包括S11至S30。7 , after S104 , the method further includes S11 to S30 .
S11,判断第一通信组件10是否进入初始化操作。若是,则执行S12,若否,则重新执行S11。S11, determining whether the first communication component 10 enters the initialization operation. If yes, executing S12, if no, executing S11 again.
S12,将第一通信组件10的IP地址恢复为默认IP地址,并根据断电前连接的无线接入点301的连接信息重新连接无线接入点301。S12, restoring the IP address of the first communication component 10 to the default IP address, and reconnecting to the wireless access point 301 according to the connection information of the wireless access point 301 connected before the power failure.
S13,判断第一通信组件10是否连接到无线接入点。若是,则执行S14,若否,则执行S20。S13, determining whether the first communication component 10 is connected to the wireless access point. If yes, executing S14, if no, executing S20.
S20,在预设时间内,继续重新尝试连接无线接入点301。S20, continue to retry to connect to the wireless access point 301 within a preset time.
S14,启动DHCP服务器,向路由器304请求目标IP地址。S14, start the DHCP server and request the target IP address from the router 304.
S15,判断第一通信组件10是否获取到目标IP地址。若是,则执行S16,若否,则执行S30。S15, determining whether the first communication component 10 obtains the target IP address. If yes, executing S16, if no, executing S30.
S16,控制第一通信组件10连接到云服务器80。S16, controlling the first communication component 10 to connect to the cloud server 80.
S30,在预设请求次数阈值内,继续重新尝试获取目标IP地址。S30, within the preset request number threshold, continue to retry to obtain the target IP address.
参照图8,所述S20包括S21至S26。8 , the S20 includes S21 to S26 .
S21,开始记录连接时长。S21, start recording the connection duration.
S22,每间隔第一时长即根据所述连接信息连接一次无线接入点301。S22, connecting to the wireless access point 301 once according to the connection information at every first time interval.
S23,判断是否连接成功。若是,则流程结束,若否,则执行S23。S23, determine whether the connection is successful. If yes, the process ends, if not, execute S23.
S24,判断连接时长是否大于预设时间。若是,则执行S25,若否,则执行S22。S24, determine whether the connection duration is greater than a preset time. If yes, execute S25, if no, execute S22.
S25,每间隔第二时长即根据所述连接信息连接一次无线接入点301。S25 , connecting to the wireless access point 301 once according to the connection information at every second time interval.
S26,判断是否连接成功。若是,则流程结束,若否,则执行S25。S26, determine whether the connection is successful. If yes, the process ends, if not, execute S25.
参照图9,所述S30包括S31至S37。9 , the S30 includes S31 to S37 .
S31,继续向路由器304请求目标IP地址,并记录请求次数。S31, continue to request the target IP address from the router 304, and record the number of requests.
S32,判断第一通信组件10是否获取到目标IP地址。若是,则流程结束,若否,则执行S33。S32, determine whether the first communication component 10 obtains the target IP address. If yes, the process ends, if no, execute S33.
S33,判断请求次数是否大于预设的请求次数阈值。若是,则执行S34,若否,则重新执行S31。S33, determine whether the number of requests is greater than a preset request number threshold. If yes, execute S34, if no, execute S31 again.
S34,控制第一通信组件10的IP地址恢复为默认IP地址,并发出提示信息。S34, controlling the IP address of the first communication component 10 to be restored to the default IP address, and issuing a prompt message.
S35,开始记录等待时长。S35, start recording the waiting time.
S36,判断等待时长是否大于预设的超时时间。若是,则执行S37,若否,则重新执行S36。S36, determining whether the waiting time is greater than the preset timeout period. If yes, executing S37, if no, executing S36 again.
S37,控制第一通信组件10再次重启,以重新进入初始化操作。第一通信组件10重新执行上述S11至S30。S37, controlling 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.
进一步地,参照图10,针对情况一,所述方法可包括S101至S37。Further, referring to FIG. 10 , for situation 1, the method may include S101 to S37 .
参照图11,针对情况二,所述方法可包括S11至S37。若路由器304、无线接入点301和冰箱1000均断电再通电后,则第一通信组件10在重启后,执行初始化操作。在初始化操作下,第一通信组件10使用断电前所绑定的无线接入点301的SSID和密码连接到无线接入点301,并向路由器304的DHCP服务器获取目标IP地址并连接云服务器80。在获取所述目标IP地址失败后,第一通信组件10的IP地址恢复为默认IP地址。并在等待10分钟后,重启第一通信组件10,以重新执行初始化操作,重新尝试连接无线接入点301和获取目标IP地址。Referring to Figure 11, for situation 2, the method may include S11 to S37. If the router 304, the wireless access point 301 and the refrigerator 1000 are all powered off and then powered on, the first communication component 10 performs an initialization operation after restarting. Under the initialization operation, the first communication component 10 uses the SSID and password of the wireless access point 301 bound before power failure to connect to the wireless access point 301, and 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 to connect to the wireless access point 301 and obtain the target IP address.
需要说明的是,与情况一相比,在情况二中,由于路由器304会向第一通信组件10分配新的目标IP地址,因此控制器60无需执行上述S101至S104,而是在冰箱1000通电后执行S11至S37。It should be noted that, compared with situation one, in situation two, 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.
本公开一些实施例提供的冰箱1000以及冰箱1000的控制方法,在响应于第一通信组件10的初始 化操作后,将第一通信组件10的IP地址恢复为预设的默认IP地址,并根据断电前连接无线接入点301的连接信息连接无线接入点301。在第一通信组件10连接到无线接入点301后,向路由器304请求目标IP地址,控制第一通信组件10根据目标IP地址连接到云服务器80。由此,解决了异常情况下设备不重新连接云服务器80的问题。并且增加异常情况提示,还能够引导用户检查排除网络问题。The refrigerator 1000 and the control method of the refrigerator 1000 provided in some embodiments of the present disclosure are configured to respond to the initialization of the first communication component 10. After the power-off operation, the IP address of the first communication component 10 is restored to the preset default IP address, and the wireless access point 301 is connected according to the connection information of the wireless access point 301 before the power failure. After the first communication component 10 is connected to the wireless access point 301, the router 304 is requested for the target IP address, and the first communication component 10 is controlled to connect to the cloud server 80 according to the target IP address. In this way, the problem that the device does not reconnect to the cloud server 80 under abnormal circumstances is solved. In addition, the abnormal situation prompt is added to guide the user to check and eliminate network problems.
在一些实施例中,冰箱1000的第一通信组件10设于箱体100上,且被配置为与云服务器80耦接,以实现冰箱1000的联网通信。例如,第一通信组件10包括WiFi组件。这样,移动终端90的APP可以通过第一通信组件10与冰箱1000建立连接,以便于用户通过登录APP来获取到冰箱1000的储藏室温度、食材种类、食材重量等信息,实现对冰箱1000的远程控制。In some embodiments, the first communication component 10 of the refrigerator 1000 is disposed on the box 100 and is configured to be coupled to the cloud server 80 to achieve network communication of the refrigerator 1000. For example, the first communication component 10 includes a WiFi component. In this way, the APP of the mobile terminal 90 can establish a connection with the refrigerator 1000 through the first communication component 10, so that the user can obtain information such as the storage room temperature, food type, and food weight of the refrigerator 1000 by logging into the APP, thereby achieving remote control of the refrigerator 1000.
在首次使用冰箱1000时,需要将冰箱1000联网,并将冰箱1000与移动终端90的APP进行绑定。例如,用户可通过显示装置40或移动终端90输入无线网络的SSID和密码,以使冰箱1000连接网络。当然,无线网络的SSID也可以通过扫描来获取。在联网后,冰箱1000能够通过第一通信组件10与移动终端90进行通信。When the refrigerator 1000 is used for the first time, the refrigerator 1000 needs to be connected to the network and the refrigerator 1000 needs to be bound to the APP of the mobile terminal 90. For example, the user can input the SSID and password of the wireless network through the display device 40 or the mobile terminal 90 to connect the refrigerator 1000 to the network. Of course, the SSID of the wireless network can also be obtained by scanning. After connecting to the network, the refrigerator 1000 can communicate with the mobile terminal 90 through the first communication component 10.
之后,用户可通过移动终端90将冰箱1000与移动终端90的APP绑定。首先,用户可以通过移动终端90的APP选择“添加设备”,来扫描获取冰箱1000的标识信息。移动终端90将当前APP的标识信息(或者自身的设备编码)以及冰箱1000的标识信息存储至云服务器80,以与该冰箱1000进行绑定。由于移动终端90需要通过第一通信组件10获取冰箱1000。因此,移动终端90还需要获取第一通信组件10的标识信息,并上传至云服务器80,以与该第一通信组件10进行绑定。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.
需要说明的是,APP的标识信息可以为用户的登录名(例如,电话号码),同一登录名可以登录多台移动终端90的APP。此时,云服务器80中还可以存储多台移动终端90的设备编码。It should be noted that the identification information of the APP may be a user's login name (eg, phone number), and the same login name may be used to log in to the APPs of multiple mobile terminals 90. At this time, the cloud server 80 may also store the device codes of multiple mobile terminals 90.
在一些实施例中,第一通信组件10内预置有对应的第一识别码,第一识别码包括第一通信组件10的标识信息。例如所述第一识别码为WiFi组件的身份标识码(Identity,ID)。冰箱1000包括第二识别码,第二标识码包括冰箱1000的标识信息。例如第二识别码为冰箱1000的产品序列号(Serial Number,SN)。所述第二识别码可以粘贴于箱体100的外部。In some embodiments, a corresponding first identification code is preset in the first communication component 10, and the first identification code includes identification information of the first communication component 10. For example, the first identification code is an identity identification code (Identity, ID) of a WiFi component. The refrigerator 1000 includes a second identification code, and the second identification code includes identification information of the refrigerator 1000. For example, the second identification code is a product serial number (Serial Number, SN) of the refrigerator 1000. The second identification code can be pasted on the outside of the box 100.
参照图12,箱体100的外部设有整机条码501,整机条码501被配置为显示冰箱1000的第二识别码。箱体100的外部还设有标签贴502,标签贴502被配置为显示第一通信组件10的第一识别码。12 , the outside of the box 100 is provided with a whole machine barcode 501, which is configured to display the second identification code of the refrigerator 1000. The outside of the box 100 is also provided with a label 502, which is configured to display the first identification code of the first communication component 10.
在一些实施例中,移动终端90的APP可以通过获取第一识别码和第二识别码来实现与冰箱1000的绑定。在绑定成功后,APP还可以将第一识别码与第二识别码进行关联,并将该关联关系与当前APP的登录名绑定后上传到云服务器80,以进行存储。In some embodiments, the APP of the mobile terminal 90 can achieve binding with the refrigerator 1000 by acquiring 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, and bind the association relationship with the login name of the current APP and upload it to the cloud server 80 for storage.
例如,用户首先通过APP扫描标签贴502以获取第一通信组件10的第一识别码,例如WiFi组件的ID。为避免后续发生绑定失败的情况,在获取到所述第一识别码之后,APP从云服务器80获取该第一识别码的关联关系。若确定该第一识别码不存在已绑定的第二识别码,则APP会跳转到扫描第二识别码的界面,以使用户扫描SN码。用户在扫描冰箱1000上的SN码后,APP将该第一识别码与该第二识别码进行关联,并将该关联关系与当前APP的登录名绑定后上传到云服务器80,即可以完成与冰箱1000的绑定。For example, the user first scans the 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 avoid subsequent binding failures, after obtaining the first identification code, the APP obtains the association relationship of the first identification code from the cloud server 80. If it is determined that the first identification code does not have a bound second identification code, the APP will jump to the interface for scanning the second identification code to allow 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 relationship with the login name of the current APP, and uploads it to the cloud server 80, so that the binding with the refrigerator 1000 can be completed.
在一些实施例中,为了减少APP与冰箱1000进行绑定的操作步骤,在冰箱1000的生产过程中,会预先将WiFi组件的ID和SN码进行关联。这样,在绑定过程中,APP在获取到第一识别码和第二识别码之一之后,可以从云服务器80中获取第一识别码或第二识别码的关联关系,以完成与冰箱1000的绑定。例如,APP首先获取WiFi组件的ID,然后从云服务器80获取该WiFi组件的ID对应的SN码,即可完成移动终端90的与冰箱1000的绑定。In some embodiments, in order to reduce the operation steps of binding the APP with the refrigerator 1000, the ID and SN code of the WiFi component are pre-associated during the production process of the refrigerator 1000. In this way, during the binding process, after obtaining one of the first identification code and the second identification code, the APP can obtain the association relationship of the first identification code or the second identification code from the cloud server 80 to complete the binding with the refrigerator 1000. For example, the APP first obtains the ID of the WiFi component, and then obtains the SN code corresponding to the ID of the WiFi component from the cloud server 80, so as to complete the binding of the mobile terminal 90 with the refrigerator 1000.
需要说明的是,APP在获取第一识别码之后,可以通过第一通信组件10与冰箱1000建立连接,以实现对冰箱1000的远程管理。APP在获取第二识别码之后,可以获取冰箱1000的设备类型、功能信息、使用说明等信息。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.
在一些实施例中,在冰箱1000的生产过程中,通过扫描枪、光学字符识别(Optical Character Recognition,OCR)装置等扫描标签贴502和整机条码501,并将所述第一识别码和所述第二识别码上传至云服务器80,以预先建立所述第一识别码与所述第二识别码的关联关系。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 between the first identification code and the second identification code.
可以理解的是,第一通信组件10对应设置有标签贴502,例如,标签贴502显示有二维码,该二维码包括第一通信组件10内存储的第一识别码的信息。即第一通信组件10内存储的第一识别码的信息与标签贴502所显示的二维码信息是一致的。 It can be understood that the first communication component 10 is correspondingly provided with a 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.
例如,在冰箱1000的生产过程中,首先将第一通信组件10装配于箱体100内。之后,将第一通信组件10对应的标签贴502粘贴于门体200的上端盖230,并将冰箱1000的整机条码501粘贴在箱体100的背部的预设位置。For example, during the production process of the refrigerator 1000, the first communication component 10 is first assembled in the box body 100. Afterwards, the label 502 corresponding to the first communication component 10 is pasted on the upper end cover 230 of the door body 200, and the whole machine barcode 501 of the refrigerator 1000 is pasted on a preset position on the back of the box body 100.
在工厂生产线上,对应冰箱1000顶部和背部的位置处分别设有扫描枪。当冰箱1000在生产线上移动时,扫描枪分别扫描对应的标签贴502和整机条码501,并将获取到的第一识别码以及第二识别码上传云服务器80,以将第一识别码与第二识别码进行关联。On the factory production line, scanners are respectively provided at the top and back of the refrigerator 1000. When the refrigerator 1000 moves on the production line, the scanners respectively scan the corresponding label 502 and the whole machine barcode 501, and upload the obtained first identification code and second identification code to the cloud server 80 to associate the first identification code with the second identification code.
需要说明的是,此时,云服务器80中只存储有第一识别码与第二识别码的关联关系。之后,若用户进行绑定操作,则会在所述关联关系上增加用户的绑定信息。例如,在用户绑定操作结束后,云服务器80在该关联关系上增加用户登录APP时所设置的登录名,并对冰箱1000的第一识别码、第二识别码、以及APP的标识信息进行存储,以完成APP与冰箱1000的绑定。It should be noted that at this time, the cloud server 80 only stores the association between the first identification code and the second identification code. Afterwards, if the user performs a binding operation, the user's binding information will be added to the association. For example, after the user's binding operation is completed, the cloud server 80 adds the login name set by the user when logging into the APP to the association, and stores the first identification code, the second identification code of the refrigerator 1000, and the identification information of the APP to complete the binding of the APP and the refrigerator 1000.
需要说明的是,该绑定信息还可以存储在控制器60的绑定列表内,或者移动终端90内。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 .
在一些实施例中,参照图13,冰箱1000还包括第二通信组件20,第二通信组件20设于箱体100外,且被配置为实现冰箱1000与移动终端90的无网络通信。例如,第二通信组件20为蓝牙组件。13 , the refrigerator 1000 further includes a second communication component 20, which is disposed outside the housing 100 and configured to implement network-free communication between the refrigerator 1000 and the mobile terminal 90. For example, the second communication component 20 is a Bluetooth component.
在一些实施例中,控制器60还被配置为:响应于蓝牙连接操作,接收移动终端90在扫描整机条码501后获得的第二识别码。将第一通信组件10内预置的第一识别码发送给移动终端90,并控制第一通信组件10进入配网模式,以使移动终端90进行冰箱1000的配网操作,并使冰箱1000连接网络。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 machine 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.
需要说明的是,在配网模式下,用户可以通过移动终端90或显示装置40输入SSID和密码,以使第一通信组件10连接无线网络,并进一步连接至云服务器80。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 so that the first communication component 10 can connect to the wireless network and further connect to the cloud server 80 .
可以理解的是,移动终端90不仅可以通过第一通信组件10与冰箱1000建立连接,实现对冰箱1000的远程控制,还可以通过第二通信组件20与冰箱1000建立连接,实现与冰箱1000的近距离(例如,20m内)通信。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 short-range (for example, within 20m) communication with the refrigerator 1000.
参照图13,用户在首次启动冰箱1000时,冰箱1000未联网。此时,用户需要通过移动终端90对冰箱1000进行配网操作。冰箱1000的第二通信组件20启动,用户可以通过移动终端90与第二通信组件20建立连接,以进行通信。13, when the user starts the refrigerator 1000 for the first time, the refrigerator 1000 is not connected to the network. At this time, the user needs to perform network configuration operation on the refrigerator 1000 through the mobile terminal 90. The second communication component 20 of the refrigerator 1000 is started, and the user can establish a connection with the second communication component 20 through the mobile terminal 90 to communicate.
进一步地,第二通信组件20将第一识别码发送给移动终端90,以使第一通信组件10进入配网模式,从而使冰箱1000连接网络,来与云服务器80进行信息交互。需要说明的是,此时移动终端90的APP还未与冰箱1000绑定。Further, 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, so that the refrigerator 1000 is connected to the network to interact 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.
在将移动终端90与冰箱1000建立连接后,用户通过APP扫描整机条码501,以获得第二识别码,并存储该第二识别码。此时,移动终端90完成第一识别码以及第二识别码的获取。APP根据所述第二识别码可以获取到该冰箱1000的设备类型、功能设置等信息。After establishing a connection between the mobile terminal 90 and the refrigerator 1000, the user scans the whole machine barcode 501 through the APP to obtain the second identification code and store the second identification code. At this time, the mobile terminal 90 completes the acquisition of the first identification code and the second identification code. The APP can obtain the device type, function settings and other information of the refrigerator 1000 according to the second identification code.
之后,移动终端90还被配置为将获取到的第二识别码发送给第二通信组件20。冰箱1000在获取到该第二识别码之后,能够将该第二识别码存储在控制器60内。控制器60可以与第一通信组件10耦接,来获取第一通信组件10的第一识别码。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.
需要说明的是,云服务器80中存储的第一识别码的关联关系可能是错误的,例如,第一通信组件10对应的标签贴502被粘贴到错误的冰箱1000上,此时冰箱1000的第一通信组件10内预置的第一识别码,与该冰箱1000的标签贴502扫描出来的第一识别码不一致。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.
在一些实施例中,控制器60还被配置为:获取第一通信组件10内预置的第一识别码以及冰箱1000对应的第二识别码。在冰箱1000连接网络后,获取第一识别码的关联状态。若确定所述第一识别码建立有关联关系,则从云服务器80中获取与所述第一识别码相关联的待定认证码,并判断所述待定认证码与所述第二识别码是否相同。若确定所述待定认证码与所述第二识别码不相同,则控制云服务器80更新所述第一识别码的关联关系,并进行与移动终端90的绑定操作。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 association status of the first identification code is obtained. If it is determined that the first identification code has established an association relationship, the pending authentication code associated with the first identification code is obtained from the cloud server 80, and it is determined 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 cloud server 80 is controlled to update the association relationship of the first identification code and perform a binding operation with the mobile terminal 90.
在一些实施例中,控制器60还被配置为:若确定所述待定认证码与所述第二识别码不相同,则控制云服务器80解除所述第一识别码与所述待定认证码的关联关系,建立所述第一识别码和所述第二识别码的关联关系,并进行与移动终端90的绑定操作。In some embodiments, the controller 60 is also 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 release the association between the first identification code and 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.
需要说明的是,控制器60可以与第一通信组件10耦接,以获取第一通信组件10内预置的第一识别码。第二识别码可以通过移动终端90扫描整机条码501来获取。当然,在另一些实施例中,第二识别码可以预先存储在控制器60中。可以理解的是,整机条码501与冰箱1000的第二标识码相对应。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 machine barcode 501 through the mobile terminal 90. Of course, in other embodiments, the second identification code can be pre-stored in the controller 60. It can be understood that the whole machine barcode 501 corresponds to the second identification code of the refrigerator 1000.
可以理解的是,在首次将APP与冰箱1000进行绑定时,由于从云服务器80获取的关联关系中, 与第一识别码相关联的可能并不是当前冰箱的第二识别码。因此,需要将与所述第一识别码相关联的识别码作为待定认证码,以确认该待定认证码是否为当前冰箱1000所对应的第二识别码。It is understandable that when the APP is bound to the refrigerator 1000 for the first time, due to the association relationship obtained from the cloud server 80, The code associated with the first identification code 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 a pending authentication code to confirm whether the pending authentication code is the second identification code corresponding to the current refrigerator 1000.
参照图14,冰箱1000在联网后,可以从云服务器80获取第一识别码的关联关系。需要说明的是,在第一通信组件10内预置的第一识别码存在错误关联关系的情况下,用户仍可以完成移动终端90与冰箱1000的绑定。例如,第一通信组件10内预置的第一识别码关联的是另外一个冰箱1000的SN码,若这一SN码还未被用户绑定,则用户仍可以完成移动终端90与冰箱1000的绑定,并且用户在使用过程中并不会发现这一问题。Referring to FIG. 14 , after the refrigerator 1000 is connected to the network, it can obtain the association relationship of the first identification code from the cloud server 80. It should be noted that in the case where the first identification code preset in the first communication component 10 has an incorrect association relationship, the user can still complete the binding of the mobile terminal 90 and the refrigerator 1000. For example, the first identification code preset in the first communication component 10 is associated with the SN code of another refrigerator 1000. If this SN code has not been bound by the user, the user can still complete the binding of the mobile terminal 90 and the refrigerator 1000, and the user will not find this problem during use.
然而,若这一SN码已经被另一个用户绑定,则这时APP会提示错误信息,表明此WiFi组件的ID或SN码已被使用,请先解除绑定关系后再尝试。在这种情况下,绑定会出现错误,不仅会影响冰箱1000的使用,还可能会使用户觉得冰箱1000可能之前已被使用过,从而引起用户投诉并造成售后资源的浪费。However, if the SN code has been bound by another user, the APP will prompt an error message, indicating that the ID or SN code of this WiFi component has been used, and please unbind it before trying again. In this case, the binding will be wrong, which will not only affect the use of refrigerator 1000, but also make the user feel that refrigerator 1000 may have been used before, thus causing user complaints and wasting after-sales resources.
因此,在本公开一些实施例中,在进行移动终端90和冰箱1000的绑定之前,还会确定第一通信组件10内预置的第一识别码的关联状态。若所述第一识别码建立有关联关系时,则从云服务器80获取与所述第一识别码相关联的待定认证码。若所述待定认证码与所述第二识别码不相同,则控制云服务器80更新所述第一识别码的关联关系,且这一过程用户并不会察觉。在更新完成后,第一通信组件10内预置的第一识别码与第二识别码准确关联,此时若用户之后再进行冰箱1000与移动终端90的绑定操作,则不会出现错误提示。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 is also 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.
参照表1,表1是本公开一些实施例提供的第一识别码与第二识别码的正确关联关系,假设此时有两台冰箱1000、分别为冰箱1000A、冰箱1000B。第一通信组件10A设置于冰箱1000A,第一通信组件10B设置于冰箱1000B。第一通信组件10A对应的第一识别码为W1,第一通信组件10B对应的第一识别码为W2,冰箱1000A对应的第二识别码为SN1,冰箱1000B对应的第二识别码为SN2。Referring to Table 1, Table 1 is the correct association relationship between the first identification code and the second identification code provided in some embodiments of the present disclosure. Assume that there are two refrigerators 1000, refrigerator 1000A and refrigerator 1000B. The first communication component 10A is set in refrigerator 1000A, and the first communication component 10B is set in refrigerator 1000B. The first identification code corresponding to the first communication component 10A is W1, the first identification code corresponding to the first communication component 10B is W2, the second identification code corresponding to the refrigerator 1000A is SN1, and the second identification code corresponding to the refrigerator 1000B is SN2.
表1第一识别码与第二识别码的正确关联关系
Table 1 Correct association between the first identification code and the second identification code
例如,冰箱1000A的整机条码501对应的第二识别码为SN1,第一通信组件10A内置的第一识别码和标签贴502的第一识别码相同,均为W1。此时冰箱1000在生产线上时,扫描枪会将整机条码501对应的第二识别码SN1与标签贴502对应的第一识别码W1上传至云服务器80,云服务器80存储的关联关系为“SN1&W1”。For example, the second identification code corresponding to the whole machine barcode 501 of refrigerator 1000A is SN1, and the first identification code built into the first communication component 10A and the first identification code of the label 502 are the same, both are W1. At this time, when refrigerator 1000 is on the production line, the scanner will upload the second identification code SN1 corresponding to the whole machine barcode 501 and the first identification code W1 corresponding to the label 502 to the cloud server 80, and the association relationship stored in the cloud server 80 is "SN1&W1".
用户一在使用过程中,通过移动终端90扫描整机条码501得到第二识别码SN1,并通过第二通信组件20获取第一通信组件10内预置的第一识别码W1。在确定云服务器80中“SN1&W1”这一关联关系正确之后,用户一将移动终端90的APP与这一关联关系绑定,以通过APP来控制冰箱1000。During use, the user 1 scans the whole machine barcode 501 through the 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 relationship "SN1&W1" in the cloud server 80 is correct, the user 1 binds the APP of the mobile terminal 90 to this association relationship to control the refrigerator 1000 through the APP.
例如,冰箱1000B的整机条码501对应的第二识别码为SN2,第一通信组件10B内置的第一识别码和标签贴502的第一识别码相同,均为W2。此时冰箱1000在生产线上时,扫描枪会将整机条码501对应的第二识别码SN2与标签贴502对应的第一识别码W2上传至云服务器80,云服务器80存储的关联关系为“SN2&W2”。For example, the second identification code corresponding to the whole machine barcode 501 of refrigerator 1000B is SN2, and the first identification code built into the first communication component 10B is the same as the first identification code of the label 502, both of which are W2. At this time, when refrigerator 1000 is on the production line, the scanner will upload the second identification code SN2 corresponding to the whole machine barcode 501 and the first identification code W2 corresponding to the label 502 to the cloud server 80, and the association relationship stored in the cloud server 80 is "SN2&W2".
用户二在使用过程中,通过移动终端90扫描整机条码501得到第二识别码SN2,并通过第二通信组件20获取第一通信组件10内预置的第一识别码W2。在确定云服务器80中“SN2&W2”这一关联关系正确后,用户二将移动终端90的APP与这一关联关系绑定,以通过APP来控制冰箱1000。During use, the second user scans the whole machine barcode 501 through the 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 relationship "SN2&W2" in the cloud server 80 is correct, the second user binds the APP of the mobile terminal 90 to this association relationship to control the refrigerator 1000 through the APP.
参照表2,表2是本公开一些实施例提供的第一识别码与第二识别码的错误关联关系。假设此时有三台冰箱1000,分别为冰箱1000A、冰箱1000B、冰箱1000C。第一通信组件10A、第一通信组件10B、第一通信组件10C分别设置于上述三台冰箱1000。在整机条码501未粘贴错误,而标签贴502粘贴错误的情况下,可能会出现以下错误关联关系。Refer to Table 2, which is an erroneous association relationship between the first identification code and the second identification code provided in some embodiments of the present disclosure. Assume that there are three refrigerators 1000, namely refrigerator 1000A, refrigerator 1000B, and refrigerator 1000C. The first communication component 10A, the first communication component 10B, and the first communication component 10C are respectively set in the above three refrigerators 1000. In the case where the whole machine barcode 501 is not pasted incorrectly, but the label 502 is pasted incorrectly, the following erroneous association relationship may occur.
表2第一识别码与第二识别码的错误关联关系
Table 2 Error association relationship between the first identification code and the second identification code
例如,冰箱1000A的整机条码501对应的第二识别码为SN1,第一通信组件10A内预置的第一识别码为W1,而粘贴于箱体100的标签贴502对应的第一识别码为W2(冰箱1000B的第一识别码),则此时冰箱1000A在生产线上移动时,扫描枪会将整机条码501扫描出来的第二识别码SN1与标签贴502的第一识别码W2上传至云服务器80,云服务器80存储的关联关系为“SN1&W2”。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 body 100 is W2 (the first identification code of refrigerator 1000B). 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".
冰箱1000B的整机条码501对应的第二识别码为SN2,第一通信组件10B内预置的第一识别码为W2,而粘贴于箱体100的标签贴502的第一识别码为W3(冰箱1000C的第一识别码),则此时冰箱1000B在生产线上移动时,扫描枪会将整机条码501扫描出来的第二识别码SN2与标签贴502的第一识别码W3上传至云服务器80,云服务器80存储的关联关系为“SN2&W3”。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 body 100 is W3 (the first identification code of refrigerator 1000C). 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".
冰箱1000C的整机条码501对应的第二识别码为SN3,第一通信组件10C内预置的第一识别码为W3,而粘贴于箱体100的标签贴502的第一识别码为W1(冰箱1000A的第一识别码),则此时冰箱1000C在生产线上时,扫描枪会将整机条码501扫描出来的第二识别码SN3与标签贴502的第一识别码W1上传至云服务器80,云服务器80存储的关联关系为“SN3&W1”。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 body 100 is W1 (the first identification code of refrigerator 1000A). When refrigerator 1000C is on the production line, the scanner 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".
例如,首先由用户一对冰箱1000A进行绑定。用户一通过移动终端90的APP扫描整机条码501得到第二识别码SN1,并通过APP接收第二通信组件20A发送的第一识别码W1。此时冰箱1000A会查找W1当前的绑定关系,若确定W1与SN3已关联,且与W1建立关联关系的SN3与冰箱1000A的第二识别码SN1不相同,则冰箱1000A会发出错误提示信息,表明此第一识别码或第二识别码已被使用。此时,冰箱1000A无法被绑定至用户一的APP。For example, first, user one binds refrigerator 1000A. User one scans the whole machine barcode 501 through the APP of mobile terminal 90 to obtain the second identification code SN1, and receives the first identification code W1 sent by the second communication component 20A through the APP. At this time, refrigerator 1000A will search for the current binding relationship of W1. If it is determined that W1 is associated with SN3, and SN3 associated with W1 is not the same as the second identification code SN1 of refrigerator 1000A, refrigerator 1000A will issue an error message, indicating that the first identification code or the second identification code has been used. At this time, refrigerator 1000A cannot be bound to user one's APP.
在一些实施例中,第一识别码以及第二识别码均未建立有关联关系,即不存在上述表二中的任一种情况。该情况的出现可能是由于冰箱1000在生产线移动时,扫描枪遗漏该冰箱导致未在云服务器80建立关联关系,此时可以重新建立所述第一识别码与所述第二识别码的关联关系。In some embodiments, the first identification code and the second identification code are not associated, that is, there is no situation in the above Table 2. This situation may occur because the refrigerator 1000 is missed by the scanner when it moves on the production line, resulting in no association being established in the cloud server 80. At this time, the association between the first identification code and the second identification code can be re-established.
在一些实施例中,控制器60还被配置为:In some embodiments, the controller 60 is further configured to:
若确定所述第一识别码未建立有关联关系,且所述第二识别码未建立有关联关系,则控制云服务器80建立所述第一识别码与所述第二识别码的关联关系,并进行用户绑定操作。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.
若确定所述第一识别码未建立有关联关系,且所述第二识别码与所述第一识别码之外的第三识别码建立有关联关系,则控制云服务器80解除所述第二识别码与所述第三识别码的关联关系,以建立所述第二识别码与所述第一识别码的关联关系,并进行用户绑定操作。If it is determined that the first identification code has not established an association relationship, and the second identification code has established an association relationship with a third identification code other than the first identification code, the cloud server 80 is controlled to release the association relationship between the second identification code and the third identification code to establish an association relationship between the second identification code and the first identification code, and perform a user binding operation.
在一些实施例中,以冰箱1000A为例,若内置的第一识别码W1在云服务器80内无关联关系,但第二识别码SN1建立有关联关系“SN1&W2”。例如,扫描枪未扫描该冰箱1000A的标识码,或者购买冰箱1000C的用户三在用户一购买冰箱1000A之前已经解除了”SN3&W1”这一错误的关联关系。此时,解除SN1和W2关联关系,建立SN1和W1关联关系,并且完成冰箱1000与移动终端90的APP的绑定操作。In some embodiments, taking refrigerator 1000A as an example, if the built-in first identification code W1 has no association in the cloud server 80, but the second identification code SN1 has established an association "SN1&W2". For example, the scanner did not scan the identification code of the refrigerator 1000A, or user 3 who purchased refrigerator 1000C had already released the wrong association "SN3&W1" before user 1 purchased refrigerator 1000A. At this time, the association between SN1 and W2 is released, the association between SN1 and W1 is established, and the binding operation between refrigerator 1000 and the APP of mobile terminal 90 is completed.
在一些实施例中,控制器60还被配置为:若确定所述待定认证码与所述第二识别码不相同,且所述第二识别码与所述第一识别码之外的第三识别码的建立有关联关系,则判断所述第一识别码与所述待定认证码的关联关系是否被绑定。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, 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.
若确定所述第一识别码与所述待定认证码的关联关系未被绑定,则控制云服务器80解除所述第一识别码与所述待定识别码的关联关系,以及解除所述第二识别码和所述第三识别码的关联关系,以建立所述第一识别码和所述第二识别码的关联关系,并进行与移动终端90的APP的绑定操作。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 an association between the first identification code and the second identification code, and perform a binding operation with the APP of the mobile terminal 90.
在一些实施例中,控制器60还被配置为:若所述第一识别码与所述待定认证码的关联关系已被绑定,则控制云服务器80替换所述第二识别码和所述第三识别码,以建立所述第一识别码和所述第二识别码的关联关系,以及建立所述第三识别码和所述待定认证码的关联关系,并进行与移动终端90的APP的绑定操作。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.
参照表2,以冰箱1000A为例,冰箱1000A的第一识别码为W1,第二识别码为SN1。若在云服务器80中,第一识别码W1存在关联关系“SN3&W1”。由于冰箱1000A的第二识别码为SN1与这一关联关系中的SN3不相同,因此,此时还需要进一步判断第二识别码SN1是否建立关联关系,若确定第二 识别码SN1未建立关联关系,则解除SN3和W1的关联关系,建立SN1和W1关联关系,并且完成与移动终端90的APP的绑定操作。Referring to Table 2, taking refrigerator 1000A as an example, the first identification code of refrigerator 1000A is W1, and the second identification code is SN1. If in cloud server 80, the first identification code W1 has an association relationship "SN3&W1". Since the second identification code of refrigerator 1000A is SN1, which is different from SN3 in this association relationship, it is necessary to further determine whether the second identification code SN1 has established an association relationship. If it is determined that the second identification code SN1 has established an association relationship, If no association is established between the identification code SN1, the association between SN3 and W1 is released, the association between SN1 and W1 is established, and the binding operation with the APP of the mobile terminal 90 is completed.
若确定第二识别码SN1建立有关联关系,例如,“SN1和W2”则此时进一步判定“SN3&W1”这一关联关系是否已经与移动终端90的APP进行绑定。例如,由于云服务器80中未及时更新第一识别码与第二识别码的关联关系,而导致了“SN3&W1”这一关联关系被错误绑定。若“SN3&W1”关联关系未与移动终端90的APP进行绑定,则控制SN1和W2解除关联关系,控制SN3和W1解除关联关系,并建立SN1和W1的关联关系。此时W2和SN3不建立关联关系,然后完成与移动终端90的APP的绑定操作。If it is determined that the second identification code SN1 has established an association, for example, "SN1 and W2", then it is further determined whether the association "SN3&W1" has been bound to the APP of the mobile terminal 90. For example, the association "SN3&W1" is incorrectly bound because the association between the first identification code and the second identification code is not updated in time in the cloud server 80. If the "SN3&W1" association is not bound to the APP of the mobile terminal 90, the association between SN1 and W2 is controlled to be disassociated, the association between SN3 and W1 is controlled to be disassociated, and the association between SN1 and W1 is established. At this time, W2 and SN3 do not establish an association, and then the binding operation with the APP of the mobile terminal 90 is completed.
在一些实施例中,若确定“SN3&W1”这一关联关系已经与移动终端90的APP进行绑定,则将W1和W2的绑定关系进行替换,即变为“SN1&W1、“W2&SN3”,此时在用户将冰箱1000与移动终端90的APP绑定成功后,还可以将云服务器80中的关联关系进行替换。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.
可以理解的是,若此时建立SN1和W1的关系,以及解除W1和SN3的关系,则当前在SN3和W1的关联关系下绑定的用户也会被解除绑定。这样,通过交换第二识别码的方式,可以纠正云服务器80中存储的错误的绑定关系,并且可以保证已绑定的用户建立的关系是正确的,避免对之前已绑定的用户造成影响。It is understandable that if the relationship between SN1 and W1 is established and the relationship between W1 and SN3 is released at this time, the user currently bound under the association relationship between SN3 and W1 will also be unbound. In this way, by exchanging the second identification code, the wrong binding relationship stored in the cloud server 80 can be corrected, and the relationship established by the bound users can be guaranteed to be correct, avoiding affecting the previously bound users.
参照图14,本公开一些实施例还提供一种冰箱1000的控制方法,所述方法包括:14 , some embodiments of the present disclosure further provide a method for controlling a refrigerator 1000 , the method comprising:
S100,获取第一通信组件10内预置的第一识别码以及冰箱1000对应的第二识别码。S100, obtaining a first identification code preset in the first communication component 10 and a second identification code corresponding to the refrigerator 1000.
S200,在冰箱1000连接网络后,检测第一通信组件10内预置的第一识别码的关联状态。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.
S300,若所述第一识别码建立有关联关系,则从云服务器80获取与所述第一识别码绑定的待定认证码。S300: If an association is established with the first identification code, a pending authentication code bound to the first identification code is obtained from the cloud server 80.
S400,若待定认证码与所述第二识别码不相同,则控制云服务器80更新所述第一识别码的关联关系,并进行与移动终端90的APP绑定操作。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.
需要说明的是,本公开一些实施例的冰箱1000的控制方法中“控制云服务器80更新所述第一识别码的关联关系”的工作过程可参考下述一些实施例中冰箱1000的控制方法。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.
在一些实施例中,参照图15,在S200之前,所述方法还可以包括S41至S43。In some embodiments, referring to FIG. 15 , before S200 , the method may further include S41 to S43 .
S41,判断第二通信组件20是否与移动终端90进行蓝牙连接操作。若是,则执行S42。若否,则执行S41。S41, determining whether the second communication component 20 performs a Bluetooth connection operation with the mobile terminal 90. If yes, executing S42. If no, executing S41.
S42,接收移动终端90在扫描整机条码502后获得的第二识别码。S42, receiving the second identification code obtained by the mobile terminal 90 after scanning the whole device barcode 502.
S43,将第一通信组件10内预置的第一识别码发送给移动终端90,并控制第一通信组件10进入配网模式,以连接网络。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 configuration mode to connect to the network.
在一些实施例中,参照图16,在S43之后,所述方法还包括S51至S56。In some embodiments, referring to FIG. 16 , after S43 , the method further includes S51 to S56 .
S51,判断冰箱1000是否连接网络。若是,则执行S52。若否,则执行S51。S51, determining whether the refrigerator 1000 is connected to the network. If yes, executing S52. If no, executing S51.
S52,获取第一通信组件10内预置的第一识别码的关联状态。S52, obtaining the association status of the first identification code preset in the first communication component 10.
S53,判断第一识别码是否存在关联关系。若是,则执行S54。若否,则执行其余控制逻辑。S53, determine whether there is an association relationship between the first identification code. If yes, execute S54. If no, execute the remaining control logic.
S54,从云服务器80获取与所述第一识别码相关联的待定认证码。S54, obtaining a pending authentication code associated with the first identification code from the cloud server 80.
S55,判断待定认证码与第二识别码是否相同。若是,则执行S56。若否,则执行S57。S55, determine whether the pending authentication code is the same as the second identification code. If yes, execute S56. If no, execute S57.
S56,进行用户绑定操作,将冰箱1000与移动终端90的APP进行绑定。S56, perform a user binding operation to bind the refrigerator 1000 to the APP of the mobile terminal 90.
S57,控制云服务器80更新第一识别码的关联关系,并进行用户绑定操作,将冰箱1000与移动终端90的APP进行绑定。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.
在一些实施例中,参照图17,在所述S53中,若确定第一识别码不存在关联关系,则所述方法还包括S61至S64。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 .
S61,判断第二识别码是否存在关联关系。若是,则执行S62。若否,则执行S63。S61, determine whether there is an association relationship between the second identification code. If yes, execute S62. If no, execute S63.
S62,控制云服务器80解除第二识别码与第一识别码之外的第三识别码的关联关系,并建立第一识别码和第二识别码的关联关系。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.
S63,控制云服务器80建立第一识别码与第二识别码的关联关系。S63, controlling the cloud server 80 to establish an association relationship between the first identification code and the second identification code.
S64,进行用户绑定操作,将所述第一识别码以及所述第二识别码的关联关系与移动终端的APP进行绑定。S64, performing a user binding operation to bind the association between the first identification code and the second identification code to an APP of the mobile terminal.
在一些实施例中,参照图18,所述S57还包括S71至S76。 In some embodiments, referring to FIG. 18 , the S57 further includes S71 to S76 .
S71,判断第二识别码是否存在关联关系。若是,则执行S72。若否,则执行S75。S71, determine whether the second identification code has an association relationship. If yes, execute S72. If no, execute S75.
S72,判断第一识别码和待定认证码的关联关系是否已被绑定。若是,则执行S74。若否,则执行S73。S72, determine whether the association relationship between the first identification code and the pending authentication code has been bound. If yes, execute S74. If no, execute S73.
S73,控制云服务器80替换第一识别码和当前与第二识别码绑定的第三识别码,以建立第一识别码与第二识别码的关联关系,以及建立所述第三识别码与待定认证码的关联关系。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.
S74,控制云服务器80解除第一识别码与待定识别码的关联关系,以及解除第二识别码与当前相关联的第三识别码的关联关系,并建立第一识别码与第二识别码的关联关系。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.
S75,控制云服务器80解除第一识别码与待定认证码的关联关系,并建立第一识别码与第二识别码的关联关系。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.
S76,进行用户绑定操作,将所述第一识别码以及所述第二识别码的关联关系与移动终端的APP进行绑定。S76, performing 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.
需要说明的是,冰箱1000的控制方法可由冰箱1000的控制器60执行,也可以由移动终端90的APP执行。It should be noted that the control method of the refrigerator 1000 can be executed by the controller 60 of the refrigerator 1000, and can also be executed by the APP of the mobile terminal 90.
例如,在控制器60执行上述S100至S400的情况下,用户在首次启动冰箱1000时,冰箱1000未联网。此时冰箱1000中的第二通信组件20启动,用户可以通过移动终端90连接第二通信组件20,以与冰箱1000进行通信。用户通过移动终端90的APP扫描整机条码501获得第二识别码,此时根据所述第二识别码可以获取到该冰箱1000的设备类型和功能等信息。然后用户通过第二通信组件20将扫描得到的整机条码501发送给冰箱1000,第二通信组件20将第一通信组件10内预置的第一识别码发送给移动终端90,使设备进入配网模式,从而使冰箱1000连接网络,与云服务器80进行信息交互,但此时用户APP还未与冰箱1000绑定。For example, when the controller 60 executes the above 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 the second identification code. At this time, the device type and function of the refrigerator 1000 can be obtained according to the second identification code. Then the user sends the scanned whole machine barcode 501 to the refrigerator 1000 through the second communication component 20, and the second communication component 20 sends the first identification code preset in the first communication component 10 to the mobile terminal 90, so that the device enters the network distribution mode, so that the refrigerator 1000 is connected to the network and exchanges information with the cloud server 80, but at this time the user APP has not yet been bound to the refrigerator 1000.
例如,在移动终端90的APP执行上述S100至S400的情况下,APP执行上述S100至S400时无需再通过第二通信组件20将扫描得到的整机条码501发送给冰箱1000。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.
本公开一些实施例提供的冰箱1000以及冰箱1000的控制方法,在冰箱1000与移动终端90的APP进行绑定时,还判断云服务器中冰箱1000的第一识别码和第二识别码是否出现关联错误,若存在错误关联关系,则进行自动修正,以使第一识别码和对应的正确的第二识别码重新关联。这样,在用户需要通过移动终端90绑定冰箱1000时,避免出现绑定错误提示,并且能够让用户在无感知情况下通过后台将上述问题解决。In the refrigerator 1000 and the control method of the refrigerator 1000 provided in some embodiments of the present disclosure, when the refrigerator 1000 is bound to the APP of the mobile terminal 90, it is also determined 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 relationship, an automatic correction is performed to re-associate the first identification code and the corresponding correct second identification code. In this way, when the user needs to bind the refrigerator 1000 through the mobile terminal 90, the binding error prompt is avoided, and the user can solve the above problem through the background without perception.
本领域的技术人员将会理解,本发明的公开范围不限于上述具体实施例,并且可以在不脱离本申请的精神的情况下对实施例的某些要素进行修改和替换。本申请的范围受所附权利要求的限制。 Those skilled in the art will appreciate that the disclosure scope of the present invention is not limited to the above specific embodiments, and 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 (20)
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310466252.2 | 2023-04-26 | ||
| CN202310466252.2A CN116633711A (en) | 2023-04-26 | 2023-04-26 | Refrigerator and control method thereof |
| CN202310527291.9 | 2023-05-11 | ||
| CN202310527291.9A CN116723063B (en) | 2023-05-11 | 2023-05-11 | Refrigerator and related equipment binding method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024222030A1 true WO2024222030A1 (en) | 2024-10-31 |
Family
ID=93255485
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/143346 Pending WO2024222030A1 (en) | 2023-04-26 | 2023-12-29 | Refrigerator and control method therefor |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2024222030A1 (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103929831A (en) * | 2013-01-16 | 2014-07-16 | 株式会社理光 | Wireless Communication Apparatus And Wireless Communication Method |
| KR20150028007A (en) * | 2013-09-05 | 2015-03-13 | 삼성전자주식회사 | System for managing food of refrigerator, and refrigerator and external terminal therefor |
| CN105546931A (en) * | 2015-12-22 | 2016-05-04 | Tcl集团股份有限公司 | Intelligent refrigerator netting-in method and system, intelligent refrigerator, intelligent terminal and server |
| CN206626889U (en) * | 2017-03-08 | 2017-11-10 | 杨涛 | Internet of things intelligent cloud refrigerator |
| CN114980273A (en) * | 2022-06-06 | 2022-08-30 | 普联技术有限公司 | Wireless network configuration method and device, readable storage medium and terminal equipment |
| CN116633711A (en) * | 2023-04-26 | 2023-08-22 | 海信冰箱有限公司 | Refrigerator and control method thereof |
| CN116723063A (en) * | 2023-05-11 | 2023-09-08 | 海信冰箱有限公司 | A method for binding refrigerators and related devices |
-
2023
- 2023-12-29 WO PCT/CN2023/143346 patent/WO2024222030A1/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103929831A (en) * | 2013-01-16 | 2014-07-16 | 株式会社理光 | Wireless Communication Apparatus And Wireless Communication Method |
| KR20150028007A (en) * | 2013-09-05 | 2015-03-13 | 삼성전자주식회사 | System for managing food of refrigerator, and refrigerator and external terminal therefor |
| CN105546931A (en) * | 2015-12-22 | 2016-05-04 | Tcl集团股份有限公司 | Intelligent refrigerator netting-in method and system, intelligent refrigerator, intelligent terminal and server |
| CN206626889U (en) * | 2017-03-08 | 2017-11-10 | 杨涛 | Internet of things intelligent cloud refrigerator |
| CN114980273A (en) * | 2022-06-06 | 2022-08-30 | 普联技术有限公司 | Wireless network configuration method and device, readable storage medium and terminal equipment |
| CN116633711A (en) * | 2023-04-26 | 2023-08-22 | 海信冰箱有限公司 | Refrigerator and control method thereof |
| CN116723063A (en) * | 2023-05-11 | 2023-09-08 | 海信冰箱有限公司 | A method for binding refrigerators and related devices |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3251225B1 (en) | Methods, devices and systems for supporting wireless communication | |
| CN110557327A (en) | Independent IoT gateway capable of directly linking with user terminal by using short-range communication technology | |
| JP2009135783A (en) | Communication adapter and connection information setting method thereof | |
| CN112815406A (en) | Outdoor machine | |
| CN107483300A (en) | Linkage control method, system and smart device for multiple smart devices | |
| CN113625577B (en) | Smart home device control method, device, storage medium and terminal | |
| CN116633711A (en) | Refrigerator and control method thereof | |
| CN115342592B (en) | Refrigerator and binding method of weighing device thereof | |
| CN117499168A (en) | Multi-communication-protocol parallel intelligent home control system and method | |
| EP3043516A1 (en) | Network system and control method thereof | |
| CN113587391A (en) | Multi-split system based on Bluetooth communication | |
| JP2017142652A (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM | |
| CN113915907A (en) | Refrigerator and refrigerator networking method | |
| WO2024222030A1 (en) | Refrigerator and control method therefor | |
| CN116255778B (en) | Refrigerator and food material weighing method thereof | |
| CN112020062A (en) | Communication control method and system for household appliances | |
| KR101964626B1 (en) | Air conditioner and method for distributing addresses of the same | |
| JP6644165B2 (en) | Communication device, communication system, communication method and program | |
| CN116723063A (en) | A method for binding refrigerators and related devices | |
| KR102071961B1 (en) | Monitoring device for system air conntrol and monitoring system of implementing thereof | |
| JP6739645B2 (en) | Remote control system and home appliances | |
| CN114623589B (en) | Control methods, control systems, electronic equipment and storage media for air conditioning noise | |
| CN115604375B (en) | Timing method of centralized controller | |
| CN205119361U (en) | Air conditioner and control system and remote server thereof | |
| CN115720192A (en) | Network distribution method and system of equipment, storage medium and electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23935196 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |