Method and device for controlling refrigerator, refrigerator and computer readable storage medium
By detecting the status of the refrigerator handle and controlling the handle hover when the short handle end is pressed, the problem of accidentally triggering of the handle with glass door or large-screen refrigerator handle is solved, improving control accuracy and user experience.
Patent Information
- Application Number
- CN202311635831.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-30
- Publication Date
- 2025-05-30
AI Technical Summary
When controlling the freezer handle with glass doors or large screens, the handle is easily triggered to automatically hover, resulting in poor user experience.
By detecting the current state of the handle, the handle hover is controlled when the short handle end of the handle is pressed, ensuring that the handle hover is triggered only if the user has the intention to use the refrigerator.
Improves the accuracy of the control of the freezer handle with glass doors or large screens, avoids accidentally triggering the handle hover, and improves the user experience.
Smart Images

Figure CN120062937A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart home appliances, and for example, relates to a method and device for controlling a freezer, a freezer, and a computer-readable storage medium. Background Art
[0002] Currently, the main way to open the door of a freezer is to open the door through a handle. Most of the handles protrude and are fixed on the side of the door body or integrated with the door frame, which not only affects the aesthetics of the freezer but also increases the occupied space of the freezer. R & D personnel have developed a freezer with a hidden handle, but there is no supporting intelligent control method. Therefore, how to control the handle of the freezer to improve the intelligence of the freezer has become an urgent problem to be solved.
[0003] The related art discloses a method for controlling the heating of a refrigerator door handle based on human body sensing. When the user's intention is "using the refrigerator", during the process of approaching the refrigerator, the distance between the human body and the refrigerator decreases continuously with time; because when the user wants to use the refrigerator, they will walk quickly towards the refrigerator and the speed will continuously decrease until they stop in front of the refrigerator door. Conversely, if one of the two conditions is not met, it can be determined that the user's intention is "passing by the refrigerator inadvertently". These two conditions are: the distance between the human body and the refrigerator no longer decreases and the distance value between the human body and the refrigerator is maintained for a certain period of time; when the user passes by the refrigerator inadvertently, they will not stay in front of the refrigerator door. Therefore, as long as one of the conditions that the distance between the human body and the refrigerator no longer decreases and the distance value between the human body and the refrigerator is not met, it can be determined that the user is passing by the refrigerator and not using the refrigerator.
[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:
[0005] Using the related art to control the automatic pop-up of the handle by detecting the user's position distance improves the intelligence of the handle control to a certain extent. However, in the actual application process, for a freezer cabinet with a glass door or a large screen, when the user approaches, they may only view the load inside the cabinet through the glass door or the large screen and have no intention of opening the door. If the user is sensed at this time, the related art will mis-trigger the automatic suspension of the handle, resulting in a poor user experience.
[0006] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present application. Therefore, it may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention
[0007] To have a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. The summary is not a general review, nor is it intended to identify key / important constituent elements or delineate the protection scope of these embodiments, but rather serves as a preface to the subsequent detailed description.
[0008] Embodiments of the present disclosure provide a method and device for controlling a refrigerator, a refrigerator, and a computer-readable storage medium, so as to improve the accuracy of controlling the handle of a refrigerator with a glass door or a large screen, avoid mis-triggering the handle hovering of a refrigerator with a glass door or a large screen, and enhance the user experience.
[0009] In some embodiments, the refrigerator includes a movable handle, and the handle includes a short handle end and a long handle end; the method includes: detecting the current state of the handle; when the short handle end of the handle is pressed, controlling the handle to hover.
[0010] In some embodiments, the device includes: a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned method for controlling a refrigerator when executing the above-mentioned program instructions.
[0011] In some embodiments, the refrigerator includes:
[0012] A refrigerator body, including a movable handle, and the handle includes a short handle end and a long handle end; and,
[0013] The above-mentioned device for controlling a refrigerator is installed on the refrigerator body.
[0014] In some embodiments, the computer-readable storage medium stores program instructions, and when the above-mentioned program instructions are running, they execute the above-mentioned method for controlling a refrigerator.
[0015] The method and device for controlling a refrigerator, the refrigerator, and the computer-readable storage medium provided by the embodiments of the present disclosure can achieve the following technical effects:
[0016] Detect the current state of the handle, and when the short handle end of the handle is pressed, control the handle to hover. By setting the method of pressing the handle to determine the user's intention to use the refrigerator, it is possible to avoid mis-triggering the handle hovering when the user views the load in the refrigerator through the glass door or the large screen, improve the accuracy of controlling the handle of the refrigerator with a glass door or a large screen, and enhance the user experience.
[0017] The above general description and the following description are only exemplary and explanatory, and are not used to limit this application. Description of the Drawings
[0018] One or more embodiments are exemplarily illustrated by corresponding drawings. These exemplary illustrations and the drawings do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements. The drawings do not constitute a proportional limitation, and among them:
[0019] Figure 1 It is a schematic structural diagram of a cabinet door when a handle is in a hidden position provided by an embodiment of the present disclosure;
[0020] Figure 2 It is a schematic structural view of the first perspective of the handle and the handle box when the handle is in the hidden position provided by an embodiment of the present disclosure;
[0021] Figure 3 It is a schematic structural view of the second perspective of the handle and the handle box when the handle is in the protruding position provided by an embodiment of the present disclosure;
[0022] Figure 4 is Figure 2 a cross-sectional view taken along the line A-A in
[0023] Figure 5 It is a schematic structural view of the second perspective of the handle when the handle is in the protruding position provided by an embodiment of the present disclosure;
[0024] Figure 6 It is a schematic structural view of the third perspective of a handle provided by an embodiment of the present disclosure;
[0025] Figure 7 It is a schematic structural view of the handle box provided by an embodiment of the present disclosure;
[0026] Figure 8 It is another schematic structural view of the first perspective of the handle and the handle box when the handle is in the hidden position provided by an embodiment of the present disclosure;
[0027] Figure 9 It is another schematic structural view of the handle box provided by an embodiment of the present disclosure;
[0028] Figure 10 is Figure 2 a cross-sectional view taken along the line B-B in
[0029] Figure 11 It is an exploded schematic view of the damper structure provided by an embodiment of the present disclosure;
[0030] Figure 12 It is a schematic view of a method for controlling a refrigerator provided by an embodiment of the present disclosure;
[0031] Figure 13 It is a schematic view of a device for controlling a refrigerator provided by an embodiment of the present disclosure;
[0032] Figure 14 It is a schematic view of a refrigerator provided by an embodiment of the present disclosure.
[0033] Reference numerals:
[0034] 100: Handle; 110: Rotating part; 120: Gripping part; 130: Baffle; 140: Second wire threading hole; 150: Fourth wire threading hole; 200: Button box; 210: Second installation groove; 220: Third installation groove; 230: Fourth installation groove; 240: First wire threading hole; 250: Third wire threading hole; 260: Fifth wire threading hole; 270: Card slot; 280: Second limiting part; 281: Second limiting and mating part; 290: Third limiting part; 300: Detection device; 400: Display element; 410: Mounting plate; 420: Translucent plate; 500: Driving device; 510: Motor; 520: Cam; 600: Rotating shaft; 700: Push rod assembly; 800: Linkage assembly; 810: First link; 811: First end; 812: Second end; 820: Second link; 821: Third end; 822: Fourth end; 830: First limiting shaft; 840: Second limiting shaft; 910: First damper; 920: Second damper; 930: First reset member; 940: Second reset member; 805: Device for controlling a chiller; 801: Processor; 802: Memory; 803: Communication interface; 804: Bus; 900: Refrigerator cabinet. Detailed implementation manners
[0035] In order to more thoroughly understand the features and technical content of the embodiments of the present disclosure, the implementation of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. The attached drawings are for reference and illustration purposes only and are not intended to limit the embodiments of the present disclosure. In the following technical descriptions, for the sake of explanation, numerous details are provided to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments can still be implemented without these details. In other cases, well-known structures and devices may be shown in a simplified manner to simplify the drawings.
[0036] In the embodiments of the present disclosure, the terms "first", "second", etc. in the specification, claims and the above-mentioned drawings are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so as to implement the embodiments of the present disclosure described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion.
[0037] Unless otherwise specified, the term "plurality" means two or more.
[0038] In the embodiments of the present disclosure, the character " / " indicates that the objects before and after are in an "or" relationship. For example, A / B means: A or B.
[0039] The term "and / or" is a description of the associated relationship of objects and indicates that three relationships can exist. For example, A and / or B means: A or B, or, A and B these three relationships.
[0040] The term "corresponding" may refer to an association relationship or a binding relationship. That A corresponds to B means that there is an association relationship or a binding relationship between A and B.
[0041] In the embodiments of the present disclosure, an intelligent household appliance device refers to a household appliance product formed by introducing microprocessor, sensor technology, and network communication technology into a household appliance device, which has the characteristics of intelligent control, intelligent perception, and intelligent application. The operation process of the intelligent household appliance device often depends on the application and processing of modern technologies such as the Internet of Things, the Internet, and electronic chips. For example, the intelligent household appliance device can be connected to an electronic device to realize remote control and management of the intelligent household appliance device by the user.
[0042] In the disclosed embodiments, a terminal device refers to an electronic device with a wireless connection function. The terminal device can be communicatively connected to the above-mentioned intelligent household appliance device by connecting to the Internet, or can be directly communicatively connected to the above-mentioned intelligent household appliance device by means of Bluetooth, wifi, etc. In some embodiments, the terminal device is, for example, a mobile device, a computer, or an in-vehicle device built in a hover vehicle, etc., or any combination thereof. The mobile device can, for example, include a mobile phone, a smart home device, a wearable device, a smart mobile device, a virtual reality device, etc., or any combination thereof. Among them, the wearable device can, for example, include a smart watch, a smart bracelet, a pedometer, etc.
[0043] Combined with Figures 1 to 11 As shown, the embodiments of the present disclosure provide a freezer, which includes a door body, a handle 100, a detection device 300, a display element 400, a driving device 500, and a controller. The door body is provided with a first installation groove; the handle 100 moves between a hidden position located in the first installation groove and a protruding position protruding from the first installation groove; the detection device 300 is arranged on the freezer for detecting an opening signal; the display element 400 is arranged on the handle 100 or the door body; the driving device 500 is drivingly connected to the handle 100 for driving the handle 100 to move between the hidden position and the protruding position; the controller is connected to the detection device 300, the display element 400, and the driving device 500, and is used for controlling the display element 400 to work and controlling the driving device 500 to drive the handle 100 to move from the hidden position towards the protruding position when the detection device 300 detects an opening signal, where Figure 2 is the hidden position of the handle 100 located in the first installation groove, Figure 3 is the protruding position of the handle 100 located in the first installation groove.
[0044] Optionally, the detection device 300 includes a radio frequency identification sensor, which can identify the running speed and direction of a movable object within a preset distance and judge the action of the user approaching the freezer. The detection device 300 can also be an infrared sensor, a ranging sensor, a camera and other identification devices.
[0045] Optionally, set the preset distance of the radio frequency identification sensor to 2 meters. When the user enters the range within 2 meters of the freezer, the radio frequency identification sensor detects the door opening signal and transmits the signal to the controller. The controller controls the display element 400 to work and emits a prompt signal.
[0046] Optionally, set the preset continuous detection time of the radio frequency identification sensor to 3 seconds. When the user enters the range within 2 meters of the freezer, after the radio frequency identification sensor continuously detects the door opening signal for 3 seconds, the controller controls the driving device 500 to drive the handle 100 to move from the hidden position towards the protruding position.
[0047] When the object moves beyond the preset distance, the motion signal of the object obtained by the radio frequency identification sensor disappears. The controller controls the display element 400 to stop working and controls the handle 100 to reset.
[0048] In this way, when the user enters the preset distance of the radio frequency identification sensor, the controller controls the display element 400 to emit a prompt signal to remind the user that the handle 100 has received the door opening instruction; after the radio frequency identification sensor continuously detects the door opening signal for the preset time, the controller controls the driving device 500 to drive the handle 100 to rotate so that the handle 100 assists in opening the door body; when the user leaves the freezer and the radio frequency identification sensor detects that the door opening signal disappears, the controller controls the driving device 500 to drive the handle 100 to reset, improving the intelligence level of the handle 100 during the entire door opening process.
[0049] Optionally, the detection device 300 is provided on the freezer door body or on the handle 100.
[0050] Optionally, as shown in Figure 4 the freezer further includes a handle box 200 and a push rod assembly 700. The handle box 200 is provided in the first installation groove. The handle 100 is provided on the handle box 200 and is movably connected to the handle box 200, and can move between a hidden position inside the handle box 200 and a protruding position protruding from the handle box 200. The push rod assembly 700 is provided on the handle box 200 and can move between an extended position extending out of the handle box 200 and a retracted position retracting into the handle box 200. Figure 4 For the push rod assembly 700 in the extended position. The push rod assembly 700 cooperates with the handle 100. When the handle 100 moves relative to the handle box 200, it drives the push rod assembly 700 to move between the extended position and the retracted position. From the retracted position to the extended position, the push rod assembly 700 moves towards the cabinet body and abuts against the cabinet body to push the door body away from the cabinet body to realize door opening assistance.
[0051] The opening of the refrigerator door can be divided into two processes. The first process is that the detection device 300 recognizes the door opening signal and transmits the door opening signal to the controller. The controller controls the display element 400 to work, and the display element 400 issues a work prompt in response to the door opening signal. Then the controller controls the driving device 500 to drive the handle 100 from the hidden position to the hovering position, which is the initial stage of opening the handle 100. At this time, the handle 100 gradually protrudes from the handle box 200, and the push rod assembly 700 is still in the retracted position, and the door body is not opened; the second process is that the user turns the handle 100. The user needs to apply a force to the handle 100 to overcome the movement of the handle 100 relative to the handle box 200 and a force to drive the push rod assembly 700 to extend, so that the handle 100 moves from the hovering position to the protruding position. The push rod assembly 700 moves from the retracted position to the extended position under the drive of the handle 100. During the extension process, the push rod assembly 700 abuts against the cabinet body to push the door body open.
[0052] Optionally, the display element 400 includes a display light, which is disposed on the handle 100 or the door body. When the detection device 300 detects a door opening signal, the controller controls the display light to light up.
[0053] Optionally, the display light is a light emitting diode (LED). By setting the LED light, it responds to the user's door opening command and indicates the position of the handle 100 to the user, thereby improving the user experience.
[0054] Optionally, the refrigerator further includes a mounting plate 410 and a light-transmitting plate 420 , wherein the mounting plate 410 is disposed on the handle 100 or the door body, the light-transmitting plate 420 is disposed on a side of the mounting plate 410 away from the door body, and a display light is disposed between the mounting plate 410 and the light-transmitting plate 420 .
[0055] The display lamp is arranged between the mounting plate 410 and the light-transmitting plate 420, so as to enhance the protection of the display lamp. Moreover, by arranging the light-transmitting plate 420, it is convenient for the light of the display lamp to be transmitted out.
[0056] Optionally, the display light is provided on the handle 100 in the form of a light strip to conveniently prompt the user.
[0057] Optionally, combined Figure 3 and Figure 5As shown, when the display element 400 is provided on the handle 100, the refrigerator-freezer further includes a handle box 200 and a rotating shaft 600. The handle box 200 is provided in the first installation groove. In the hidden position, the handle 100 is located within the handle box 200. In the protruding position, the handle 100 protrudes from the handle box 200. The handle box 200 is provided with a first wire passing hole 240. The handle 100 and the handle box 200 are rotationally connected through the rotating shaft 600. The handle 100 is provided with a second wire passing hole 140. The second wire passing hole 140 is coaxially arranged with the rotating shaft 600. The connection line between the display element 400 and the controller sequentially passes through the second wire passing hole 140 and the first wire passing hole 240.
[0058] The rotating shaft 600 is fixedly arranged relative to the handle box 200, and the handle 100 rotates relative to the rotating shaft 600. A second wire passing hole 140 is provided on the side wall of the handle 100. The rotating shaft 600 is arranged within the second wire passing hole 140 and is coaxially arranged with the second wire passing hole 140. The wire of the display element 400 passes out from the second wire passing hole 140 and is connected to the controller through the first wire passing hole 240. In this way, when the handle 100 rotates between the hidden position and the protruding position relative to the handle box 200 around the rotating shaft 600, the wire of the display element 400 can be prevented from being pulled, and the wire can be prevented from being damaged, thus affecting the normal operation of the display element 400.
[0059] Optionally, in combination with Figure 6 and Figure 7 As shown, when the display element 400 is provided on the handle 100, the refrigerator-freezer further includes a handle box 200. The handle box 200 is provided in the first installation groove. In the hidden position, the handle 100 is located within the handle box 200. In the protruding position, the handle 100 protrudes from the handle box 200. The handle box 200 is provided with a third wire passing hole 250. The surface of the handle 100 facing the handle box 200 is provided with a fourth wire passing hole 150. The connection line between the display element 400 and the controller sequentially passes through the third wire passing hole 150 and the fourth wire passing hole 250, where Figure 6 is a schematic structural view of the handle from a third perspective. The third perspective is looking at the handle from the back surface of the handle (the side close to the handle box).
[0060] The fourth wire passing hole 250 is provided at the bottom of the handle 100, that is, on the side of the handle 100 facing the handle box 200. The wire of the display element 400 passes out from the fourth wire passing hole 250 and is connected to the controller through the third wire passing hole 150, so as to realize the controller controlling the display element 400 to work or shut down.
[0061] Optionally, in combination with Figure 8As shown, when the display component 400 is provided on the door body, the refrigerator freezer further includes a handle box 200. The handle box 200 is provided in the first installation groove. In the hidden position, the handle 100 is located inside the handle box 200. In the protruding position, the handle 100 protrudes from the handle box 200. The handle box 200 is provided with a second installation groove 210, and the display component 400 is provided in the second installation groove 210.
[0062] The handle box 200 is provided with a second installation groove 210, and the second installation groove 210 surrounds the handle 100. The display lamp is provided in the second installation groove 210, that is, the display lamp surrounds the handle 100.
[0063] Optionally, the handle box 200 is provided with a fifth wire passing hole 260, and the fifth wire passing hole 260 communicates with the second installation groove 210. The wire of the display component 400 passes through the fifth wire passing hole 260 and is connected to the controller.
[0064] The handle box 200 is provided with a fifth wire passing hole 260. The wire of the display lamp is led out from the fifth wire passing hole 260 and connected to the controller. In this way, the structure of the handle 100 can be simplified, the wire arrangement mode can be optimized, and the wire of the display component 400 can be prevented from being damaged due to the movement of the handle 100.
[0065] Optionally, in combination with Figure 9 As shown, the handle box 200 is provided with a third installation groove 220; the detection device 300 includes a sensor, and the sensor is provided in the third installation groove 220.
[0066] Optionally, the handle box 200 is provided with a fourth installation groove 230; the driving device 500 includes a motor 510, and the motor 510 is provided in the fourth installation groove 230.
[0067] The sensor and the motor 510 are respectively provided in the third installation groove 220 and the fourth installation groove 230. In this way, the devices cooperatively connected with the handle 100 are modularly provided in the handle box 200, making the structure more compact and reducing the occupied space.
[0068] Optionally, in combination with Figure 10 As shown, the driving device 500 further includes a cam 520. The cam 520 is drivingly connected to the motor 510, and the motor 510 drives the cam 520 to rotate around its own rotation center; the handle 100 includes a baffle 130, and the baffle 130 abuts against the outer contour of the cam 520. The cam 520 drives the baffle 130 to move so that the handle 100 moves from the hidden position towards the protruding position.
[0069] Optionally, the refrigerator freezer further includes a connecting rod assembly 800. The connecting rod assembly 800 is provided between the handle 100 and the push rod assembly 700. The handle 100 drives the push rod assembly 700 to move between the extended position and the retracted position through the connecting rod assembly 800.
[0070] Optionally, the handle 100 includes a rotating part 110 and a holding part 120. The rotating part 110 is fixedly connected to the baffle 130. The holding part 120 is the force-receiving end, and the user rotates the handle 100 through the holding part 120.
[0071] When the handle 100 is in the hidden position, the first outer contour corresponding to the minor diameter of the cam 520 abuts against the baffle 130, that is Figure 10 In the shown cam state, the first process of opening the freezer door is as follows: the motor 510 drives the cam 520 to rotate around its own rotation center. The baffle 130 drives the handle 100 to move towards the protruding position as the cam 520 rotates. When the cam 520 rotates to the second outer contour corresponding to the major diameter and abuts against the baffle 130, the handle 100 is in the hovering position, and the rotating part 110 abuts against the link assembly 800. The second process of opening the freezer door is as follows: when the handle 100 is in the hovering position, continue to rotate the handle 100 in the direction away from the handle box 200, so that the rotating part 110 pushes the link assembly 800 to move, so that the link assembly 800 drives the push rod assembly 700 to move towards the extended position.
[0072] By setting the motor to drive the cam to rotate, the handle can move between the hidden position and the hovering position, and when the second outer contour corresponding to the major diameter of the cam abuts against the baffle 130, the handle can be limited to the hovering position.
[0073] When the detection device 300 recognizes the door opening signal, the control device controls the motor 510 to start, drives the cam 520 to drive the handle 100 to rotate, so that the handle 100 moves from the hidden position to the hovering position. At this time, the holding part 120 of the handle 100 protrudes from the handle box 200. In this way, it is convenient for the user to hold the handle 100 and continue to apply a force to the handle 100. When the user applies a force to the holding part 120 and rotates the handle 100 in the direction away from the handle box 200, the handle 100 abuts against the link assembly 800 and pushes the link assembly 800 to move. The link assembly 800 drives the push rod assembly 700 to move towards the extended position. The push rod assembly 700 abuts against the cabinet body to push the door body away from the cabinet body to realize door opening assistance.
[0074] Optionally, in combination with Figure 4As shown, the connecting rod assembly 800 includes a first connecting rod 810 and a second connecting rod 820. The first connecting rod 810 is movably arranged in the handle box 200. The first connecting rod 810 includes a first end 811 and a second end 812. The first end 811 cooperates with the handle 100. The second connecting rod 820 is movably arranged in the handle box 200. The second connecting rod 820 includes a third end 821 and a fourth end 822. The third end 821 abuts against the second end 812. The push rod assembly 700 cooperates with the fourth end 822. When the handle 100 rotates relative to the handle box 200 towards the protruding position, it drives the first connecting rod 810 to move. The first connecting rod 810 drives the second connecting rod 820 to move, so as to drive the push rod assembly 700 to move towards the extended position.
[0075] Optionally, the first connecting rod 810 is rotatably connected to the handle box 200 through a first limiting shaft 830. The first end 811 and the second end 812 are respectively located on opposite sides of the first limiting shaft 830. In this way, when the handle 100 is pressed down until it abuts against the first end 811, it drives the first end 811 to move downward (towards the bottom wall of the handle box 200), and the second end 812 moves upward (towards the opening of the handle box 200).
[0076] Optionally, the second connecting rod 820 is rotatably connected to the handle box 200 through a second limiting shaft 840. The third end 821 and the fourth end 822 are respectively located on opposite sides of the second limiting shaft 840. In this way, when the second end 812 drives the third end 821 to move upward, the fourth end 822 moves downward, thereby driving the push rod assembly 700 to move downward, that is, towards the cabinet body.
[0077] In this way, at the beginning, the handle 100 is in the hidden position. Then, when the detection device 300 recognizes the door opening signal, the display lamp is lit. The motor 510 drives the cam 520 to rotate to drive the handle 100 to move from the hidden position to the hovering position. The user applies a force to the holding part 120 and continues to rotate the handle 100 in the direction away from the handle box 200. The rotating part 110 abuts against the first connecting rod 810, and transmits the force to the push rod assembly 700 through the first connecting rod 810 and the second connecting rod 820 in sequence, realizing the power-assisted door opening of the handle 100.
[0078] Optionally, in combination with Figure 9 As shown, the handle box 200 is provided with a card slot 270. Both ends of the rotating shaft 600 are arranged in the card slot 270 to movably connect the rotating shaft 600 with the handle box 200. The handle 100 is rotatably connected to the handle box 200 through the rotating shaft 600. The card slot 270 is coaxially arranged with the first wire passing hole 240, so that the wire of the display element 400 passes through the second wire passing hole 140 and the first wire passing hole 240 in sequence, passes out from the card slot 270, and is connected to the controller.
[0079] Optionally, in combination with Figure 11As shown, the refrigerator also includes dampers, which include a first damper 910 and a second damper 920. The handle 100 is provided with a first limiting portion, and the first damper 910 is provided with a first limiting and mating portion. The first limiting portion and the first limiting and mating portion cooperate with each other to fix the first damper 910 on the handle 100.
[0080] Optionally, the second damper 920 is disposed on the outer wall surface of the first damper 910 and is in contact with the first damper 910. The handle box 200 is provided with a second limiting portion 280, and the second damper 920 is provided with a second limiting and mating portion 281. The second limiting portion 280 and the second limiting and mating portion 281 cooperate with each other to fixedly connect the second damper 920 and the handle box 200.
[0081] By providing the first damper 910 and the second damper 920, the handle 100 rotates more smoothly relative to the handle box 200 between the hidden position and the protruding position.
[0082] Optionally, the refrigerator further includes a first reset member 930. The first reset member 930 can be a torsion spring, and the torsion spring is sleeved on the rotating shaft 600. The first reset member 930 is located between the handle 100 and the handle box 200. When the handle 100 moves from the hidden position towards the protruding position, the first reset member 930 undergoes elastic deformation. After the door body is opened, the elastic force of the first reset member 930 due to elastic deformation is used to drive the handle 100 to return from the protruding position to the hidden position.
[0083] Optionally, as shown in Figure 7 The handle box 200 is provided with a third limiting portion 290. One end of the torsion spring abuts against the third limiting portion 290, and the other end follows the rotation of the handle 100, so that during the rotation of the handle 100, the torsion spring undergoes elastic deformation to obtain an elastic force.
[0084] Optionally, as shown in Figure 4 The refrigerator further includes a second reset member 940. The second reset member 940 is supported between the second connecting rod 820 and the handle box 200. During the process of the handle 100 moving from the hidden position to the protruding position, the second reset member 940 undergoes elastic deformation; after the door body is opened, the second reset member 940 drives the second connecting rod 820 to reset, so that the handle 100 is reset.
[0085] Based on the above structure of the refrigerator, as shown in Figure 12 The present disclosure provides a method for controlling a refrigerator, including:
[0086] S121, the controller detects the current state of the handle.
[0087] S122, when the short handle end of the handle is pressed, the controller controls the handle to hover.
[0088] Among them, the refrigerator further includes a movable handle and a third magnetic piece. The handle includes a short handle end and a long handle end; the third magnetic piece is disposed at a third position that can be detected when the short handle end of the handle is pressed.
[0089] By adopting the method for controlling a refrigerator provided by the embodiment of the present disclosure, by setting the way of pressing the handle to determine the user's intention to use the refrigerator, it is possible to avoid accidental triggering of the handle hovering when the user views the load situation inside the refrigerator through the glass door or the large screen, improving the accuracy of the handle control of the refrigerator with a glass door or a large screen and enhancing the user experience.
[0090] Optionally, the controller determines the state of the short handle end of the handle according to the following method: the controller obtains the first rotation angle of the short handle end of the handle; when the first rotation angle of the short handle end of the handle is less than the set hovering angle, the controller determines that the short handle end of the handle is pressed. In this way, when the rotation angle of the short handle end of the handle is less than the set hovering angle, it indicates that the user presses the short handle of the handle with the intention of opening the refrigerator.
[0091] Optionally, the controller obtains the first rotation angle of the short handle end of the handle, including: the controller obtains the second rotation angle of the motor; the controller determines the first rotation angle corresponding to the second rotation angle according to the preset corresponding relationship. In this way, through the corresponding relationship between the motor rotation angle and the handle, the rotation angle of the handle can be calculated.
[0092] Optionally, the controller determines the set hovering angle according to the following method: the controller determines the target hovering position of the handle according to the user's position; the controller determines the angle required for the long handle end of the handle to reach the target hovering position as the set hovering angle. In this way, the controller determines the target hovering position according to the user's position, so that the set hovering angle of the target hovering position can be more matched with the user's current position.
[0093] Optionally, the controller determines the state of the short handle end of the handle according to the following method: when the Hall element detects the third magnetic piece, the controller determines that the short handle end of the handle is pressed. In this way, when the Hall element detects the third magnetic piece at the third position that can be detected when the short handle end is pressed, it indicates that the third position is close to the Hall element, and the user gently presses the short handle end of the handle with the intention of opening the door body of the refrigerator.
[0094] Optionally, the controller controls the handle to hover, including: in response to the control signal for the handle to hover, the controller controls the handle to move from the hidden position to the target hovering position. In this way, the controller controls the handle to move from the hidden position to the target hovering position, facilitating the user to open the door body of the refrigerator.
[0095] Optionally, the controller controls the handle to move from the hidden position to the target hovering position, including: the controller determines the target rotation angle of the cam according to the target hovering position; the controller starts the motor according to the target rotation angle. In this way, the controller determines the target rotation angle of the cam according to the target hovering position, which can make the target rotation angle match the target hovering position, so that the cam can drive the handle to the target hovering position. The controller starts the motor according to the target rotation angle, which can make the starting time and speed of the motor more accurate and improve the efficiency of driving the handle to the target hovering position.
[0096] Optionally, a method for controlling a refrigerator includes: in response to a control signal for the handle to hover, the controller obtains the position of the user. The controller determines the target hovering position of the handle according to the position of the user. The controller controls the handle to move from the hidden position to the target hovering position.
[0097] By using the method for controlling a refrigerator provided by the embodiments of the present disclosure to determine the target hovering position based on the position of the user, the target hovering position can be matched with the position of the user. Thus, when controlling the handle to switch from the hidden state to the displayed state, the influence of the user's position on the user's holding feel is reduced, and the user experience is improved. For example, if the user is far away from the door body, it is more convenient for the user to hold the handle when it hovers at a higher position. If the user is close to the door body, the handle hovering at a lower position can meet the user's holding needs.
[0098] Optionally, the controller determines the target hovering position of the handle according to the position of the user, including: the controller determines the target hovering position corresponding to the position of the user according to a preset first correspondence. Among them, the controller determines the target hovering position corresponding to the position of the user according to the preset first correspondence. The first correspondence can be specifically determined by methods such as looking up a table, introducing expert knowledge, or being set by a developer. The controller can obtain the first correspondence at a local, cloud server, or other storage location.
[0099] In this way, the controller determines the target hovering position corresponding to the position of the user according to the preset first correspondence, which can make the target hovering position match the current position of the user better, thus improving the user experience.
[0100] Optionally, the controller controls the handle to move from the hidden position to the target hovering position, including: the controller determines the target rotation angle of the cam according to the target hovering position; the controller starts the motor according to the target rotation angle.
[0101] In this way, based on the target hovering position, the controller determines the target rotation angle of the cam, enabling the target rotation angle to match the target hovering position, so that the cam can drive the handle to the target hovering position. Based on the target rotation angle, the controller starts the motor, enabling the starting timing and rotational speed of the motor to be more precise and improving the efficiency of driving the handle to the target hovering position.
[0102] Optionally, the controller determines the target rotation angle of the cam based on the target hovering position, including: the controller determines the target rotation angle corresponding to the target hovering position according to a preset second correspondence relationship; wherein, when the cam rotates by the target rotation angle, the handle moves to the target hovering position. Among them, the controller determines the target rotation angle corresponding to the target hovering position according to the preset second correspondence relationship. The second correspondence relationship can be specifically determined by methods such as looking up a table, introducing expert knowledge, or being set by developers. The controller can obtain the second correspondence relationship locally, on a cloud server, or at other storage locations.
[0103] In this way, the controller determines the target rotation angle corresponding to the target hovering position according to the preset second correspondence relationship, making the target rotation angle match the target hovering position, thereby improving the accuracy of the target rotation angle.
[0104] Optionally, the controller starts the motor based on the target rotation angle, including: the controller determines the starting time of the motor according to the user's position and the target hovering position; the controller determines the target rotational speed of the motor starting according to the target rotation angle and the starting time; when the starting time is reached, the controller controls the motor to run at the target rotational speed.
[0105] In this way, the controller determines the starting time of the motor according to the user's position and the target hovering position, enabling the starting timing of the motor to be more precise. Since when the cam rotates by the target rotation angle, the handle hovers at the target hovering position, and the controller determines the target rotational speed of the motor starting according to the target rotation angle and the starting time, the target rotational speed can be made to match the target hovering position. Thus, when the starting time is reached, the motor is controlled to run at the target rotational speed. Through the target rotational speed, the handle can be rotated to the target hovering position at an appropriate speed.
[0106] Optionally, the controller determines the starting time of the motor according to the user's position and the target hovering position, including: the controller obtains the first duration for the user to reach the preset door opening position from the current position and the set duration for the handle to move to the target hovering position; the controller calculates the difference between the first duration and the set duration to obtain the second duration; the controller determines that the time after the current time passes the second duration is the starting time of the motor. Among them, for the controller to obtain the first duration for the user to reach the preset door opening position from the current position, specifically, the controller can determine the first duration corresponding to the distance between the user's current position and the preset door opening position and the user's moving speed by looking up a table, introducing expert knowledge, setting by developers, or other means. For the controller to obtain the set duration for the handle to move to the target hovering position, it can determine the corresponding relationship between the target hovering position and the set duration by looking up a table, introducing expert knowledge, setting by developers, or other means, and determine the set duration corresponding to the target hovering position according to the corresponding relationship.
[0107] In this way, the controller calculates the difference between the first duration and the set duration to obtain the second duration. The second duration is the time reserved for the handle to move to the hovering position before the user reaches the preset door opening position. Therefore, the controller determines that the time after the current time passes the second duration is the starting time of the motor, so that when the user reaches the preset door opening position, the handle just hovers to the target hovering position.
[0108] Optionally, the controller determines the target rotation speed for the motor to start according to the target rotation angle and the starting time, including: the controller calculates the ratio of the target rotation angle to the starting time; the controller determines the target rotation speed corresponding to the ratio according to the preset third corresponding relationship. Among them, for the controller to determine the target rotation speed corresponding to the ratio according to the preset third corresponding relationship, the third corresponding relationship can be specifically determined by looking up a table, introducing expert knowledge, or setting by developers, etc. The controller can obtain the third corresponding relationship locally, on the cloud server, or at other storage locations.
[0109] In this way, the controller calculates the ratio of the target rotation angle to the starting time, so as to obtain the angular velocity at which the handle moves to the target hovering position when the user reaches the preset door opening position. Therefore, the controller determines the target rotation speed corresponding to the ratio according to the preset third corresponding relationship, so that the target rotation speed of the motor matches this angular velocity, enabling the handle to reach the target hovering position in time.
[0110] Optionally, a method for controlling a freezer includes: when the user is within the recognition range of the detection device, the controller determines a duration threshold according to the position where the user enters the recognition range and starts timing. When the accumulated timing duration is greater than or equal to the duration threshold, the controller controls the handle to hover.
[0111] By using the method for controlling a freezer provided in the embodiments of the present disclosure, based on the position where the user enters the recognition range, a timing scheme corresponding to the path of the entry position is executed, which reduces the influence of the difference in the path of the user reaching the freezer on the handle hovering control, improves the accuracy of the handle hovering timing, and thus enhances the user experience.
[0112] Optionally, the controller determines a duration threshold according to the position where the user enters the recognition range, including: the controller determines the current walking path of the user according to the position where the user enters the recognition range; the controller determines the duration threshold according to the current walking path. In this way, determining the duration threshold based on the user's walking path can make the timing more accurate, thereby improving the accuracy of the handle hovering timing.
[0113] Optionally, the controller determines the current walking path of the user according to the position where the user enters the recognition range, including: the controller obtains the starting positions of all walking paths; the controller determines the walking path of the starting position closest to the position where the user enters the recognition range as the current walking path. In this way, the closer to the starting position of the path, the greater the possibility that the user goes to use the freezer from the path where the closest starting position is located. Therefore, the controller takes the walking path closest to the position where the user enters the recognition range as the current walking path.
[0114] Optionally, the controller determines all walking paths according to the following method: the controller determines the walking route of the user according to the current spatial information of the environment around the freezer. In this way, since the environmental information around the freezer includes information such as obstacles and free spaces, it determines which paths the user can take to reach the freezer. Therefore, all walking paths of the user can be determined based on the environmental information around the freezer.
[0115] Optionally, the controller determines the walking route of the user according to the current spatial information of the environment around the freezer, including: the controller establishes a three-dimensional model according to the current spatial information; the controller simulates and determines the walking route of the user in the three-dimensional model through a set algorithm; where the spatial information includes the size of the room where the freezer is located, the position of the freezer in the room, the size information of the items around the freezer, and / or the placement information of the items around the freezer. In this way, the controller can specifically use the collected spatial information and use three-dimensional modeling algorithms including surface reconstruction, voxelization, mesh generation, etc. to construct a three-dimensional model. After constructing the three-dimensional model, the controller can use path planning algorithms including A* algorithm, Dijkstra algorithm, RRT (Rapidly-exploring Random Tree) algorithm, etc. to simulate and determine the walking route of the user in the three-dimensional model. And the controller can update the three-dimensional model and the walking route of the user in real time to reflect the dynamic changes of the environment and the actual walking situation of the user. For example, if the user encounters an obstacle during walking, the controller can adjust the walking route to avoid the obstacle.
[0116] Optionally, the controller determines a duration threshold according to the current walking path, including: the controller obtains the duration required for the user to complete each walking path; the controller determines the duration corresponding to the current walking path as the duration threshold. In this way, by obtaining the duration required for the user to complete all the pre-stored paths, the duration required for the user to complete the current path can be determined, and thus the duration threshold required for the timing operation can be determined.
[0117] Optionally, the controller determines the duration required for the user to complete each walking path according to the following method: the controller obtains the path length of each walking path and the walking speed of the user; the controller determines the ratio of each path length to the walking speed as the duration required for the user to complete each walking path. In this way, based on the user's speed and the path length, the duration required for the user to complete the path can be calculated, and thus the duration required for the user to complete each path can be obtained.
[0118] Optionally, a method for controlling a refrigerator includes: when the user is within the recognition range of the detection device, the controller obtains the motion state and motion direction of the user. The controller controls the handle to be hidden or hovered according to the motion state and motion direction of the user.
[0119] By adopting the method for controlling a refrigerator provided by the embodiment of the present disclosure, it is not necessary to obtain the change trend of the distance between the user and the refrigerator and the maintenance time of the distance, and the handle is directly hovered based on the motion state and motion direction of the user. The influence of the uncertain handle hovering control caused by the uncertain walking distance of the user is reduced, the accuracy of the handle hovering timing is improved, and thus the user experience is enhanced.
[0120] Optionally, the controller controls the handle to be hidden or hovered according to the motion state and motion direction of the user, including: when the motion state is dynamic and the motion direction is first approaching and then moving away, the controller controls the handle to be hidden; when the motion state changes from dynamic to static and the motion direction is approaching, the controller controls the handle to hover. In this way, when the user is always in motion and the direction is first approaching and then moving away, at this time the user is passing by the refrigerator, so the handle is controlled to be hidden. When the user changes from motion to static, the user may stop in front of the door body of the refrigerator or may stop at a place far from the door body, and does not necessarily use the refrigerator, so the motion direction is also combined for judgment. If approaching the door body and stopping, it is very likely that the user is going to use the refrigerator, so the controller controls the handle to hover.
[0121] Optionally, the controller obtains the user's movement direction as follows: The controller obtains the distance and angle between the user and the detection device; when both the distance and the angle decrease, the controller determines that the user's movement direction is approaching; when both the distance and the angle increase, the controller determines that the user's movement direction is moving away. In this way, when the distance and the angle between the user and the detection device decrease, it indicates that the user is approaching the detection device in both the horizontal and vertical dimensions, so that the user's movement direction can be determined as approaching. Conversely, when both the distance and the angle increase, it can be determined that the user is moving away.
[0122] Optionally, the controller obtains the user's movement state as follows: When the detection device has a signal, the controller determines that the user's movement state is dynamic; when the detection device has no signal, the controller determines that the user's movement state is static. Wherein, the detection device is a radio frequency sensor. In this way, since the detection device is a radio frequency sensor, when the user is in a moving state and a reflected electrical signal is detected, it indicates that the user is moving. When no reflected electrical signal is detected, it means that the object is in a stationary state.
[0123] Optionally, the controller controls the handle to hover, including: The controller obtains the user's position; the controller determines the target hovering position of the handle according to the user's position; the controller controls the handle to move from the hidden position to the target hovering position. In this way, determining the target hovering position based on the user's position can make the target hovering position match the user's position. Thus, when controlling the handle to switch from the hidden state to the display state, the influence of the user's position on the user's gripping feel is reduced, improving the user experience. For example, if the user is far from the door body, hovering the handle at a higher position is more convenient for the user to grip; if the user is close to the door body, hovering the handle at a lower position can meet the user's gripping needs.
[0124] Optionally, the controller determines the target hovering position of the handle according to the user's position, including: The controller determines the target hovering position corresponding to the user's position according to a preset first correspondence. In this way, the controller determines the target hovering position according to the preset correspondence, which can make the target hovering position match the user's current position more closely, thus improving the user experience.
[0125] Optionally, the controller controls the handle to move from the hidden position to the target hovering position, including: The controller determines the target rotation angle of the cam according to the target hovering position; the controller starts the motor according to the target rotation angle. In this way, by making the target rotation angle match the target hovering position, the cam can drive the handle to the target hovering position, so that the starting time and speed of the motor can be more accurate, improving the efficiency of driving the handle to the target hovering position.
[0126] Optionally, a method for controlling a freezer includes: when a user is within the recognition range of a detection device, a controller respectively obtains a first detection value of a first detection device and a second detection value of a second detection device. The controller calculates a parameter difference between the first detection value and the second detection value. When the parameter difference is less than an error threshold, the controller controls the handle to be hidden or hover based on the first detection value and the second detection value.
[0127] Wherein, both the first detection value and the second detection value include signal distance, direction, speed, etc. When the parameter difference is greater than the error threshold, for example, the first detection value is signal disappearance and the second detection value is signal still existing, it is determined that the moving object is a foreign object and the handle control is not triggered.
[0128] By using the method for controlling a freezer provided in the embodiments of the present disclosure, by setting two detection devices and comparing the consistency of the detection values of the two detection devices, it is possible to accurately identify whether the moving object within the recognition range is only the user. The interference of the movable device to the detection device for user recognition is reduced, the accuracy of the handle control is improved, and thus the user experience is enhanced.
[0129] Optionally, the first detection device and the second detection device are spaced apart by a set height. In this way, due to the different body proportions of different users, some have long legs, some have short legs, some have long upper bodies, and some have short upper bodies. By spacing the set height, the detection parameters of the two detection devices can be adapted to the body conditions of different users, so that the detection results can be more accurate.
[0130] Optionally, the controller determines the set height according to the following method: the controller obtains the body information of the user; the controller determines the set height according to the body information of the user. In this way, determining the set height based on the body information of the user can make the set height match the user's figure.
[0131] Optionally, the controller determines the set height according to the body information of the user, including: the controller determines the set height corresponding to the body information according to the preset corresponding relationship between the body information and the set height. Among them, the corresponding relationship can be determined by looking up a table, introducing expert knowledge, or determined by developers. In this way, based on the preset corresponding relationship, determining the set height corresponding to the body information of the user can make the set height more accurate.
[0132] Optionally, the controller determines the error threshold according to the following method: the controller obtains a first height of the first detection device and a second height of the second detection device; the controller determines the error threshold according to the first height and the second height. In this way, since the detection devices are placed at different heights and the recognition ranges may be different, resulting in reasonable errors in the detection results of each parameter, therefore, the controller determines the error threshold through the first height and the second height, which can make the error threshold more accurate.
[0133] Optionally, the controller determines an error threshold according to the first height and the second height, including: the controller calculates the height difference between the first height and the second height; the controller determines the error threshold corresponding to the height difference according to the preset corresponding relationship between the height difference and the error threshold. In this way, since the difference between the first height and the second height can affect the interval between the recognition ranges of the first detection device and the second detection device, the controller determines the error threshold according to the preset height difference, which can further improve the accuracy of the error threshold.
[0134] Optionally, the controller determines the first height according to the following method: the controller obtains the size information of the movable device in the user's home; the controller determines the first height according to the size information of the movable device; where the first height is less than the second height. The size information includes information such as the length, width and height of the movable device. The first height is greater than the height of the movable device. In this way, in order to avoid the interference of the movable device on the detection device, it is necessary to make the height of the effective recognition range of the first detection device greater than the height of the movable device, so that the first detection device cannot detect the movable device, thereby reducing the interference of the movable device in the home. Therefore, determining the first height according to the size information of the movable device can make the first height more accurate and improve the accuracy of user recognition.
[0135] Optionally, the method for controlling the refrigerator includes: the controller determines whether the refrigerator is faulty according to the detection result of the Hall element, the number of rotation steps of the motor, and the signal of the door switch. When it is determined that the refrigerator is faulty, the controller controls the display lamp to flash and alarm.
[0136] The refrigerator includes a first magnetic sheet and a second magnetic sheet arranged on the handle, and a Hall element for detecting the state of the handle through the first magnetic sheet and the second magnetic sheet; the door body includes a door switch for detecting whether the door body is closed; the first magnetic sheet is arranged at a first position that can be detected when the handle is in the hidden state, and the second magnetic sheet is arranged at a second position that can be detected when the handle is in the pulled-open state.
[0137] When using the method for controlling the refrigerator provided by the embodiment of the present disclosure to determine that the refrigerator is faulty through the detection result of the Hall element, the number of rotation steps of the motor, and the signal of the door switch, controlling the display lamp to flash can enable the user to intuitively feel the fault detection function of the refrigerator, thereby enhancing the user's sense of participation and improving the user experience.
[0138] Optionally, the controller determines whether the refrigerator is faulty based on the detection result of the Hall element, the number of rotation steps of the motor, and the signal of the door switch, including: the controller determines the state of the handle based on the detection result of the Hall element and the number of rotation steps of the motor; the controller determines the state of the door body based on the signal of the door switch; the controller determines whether the refrigerator is faulty based on the state of the handle and the state of the door body. In this way, based on the detection results of the Hall element for the first magnetic piece and the second magnetic piece, the pulled-open state and the hidden state of the handle can be identified. The rotation angle of the cam can be determined by the number of rotation steps of the motor, so that it can be judged whether the handle rotates to the target hovering position, and further the hovering state of the handle can be identified. Further, the state of the refrigerator can be determined by the signal of the door switch, and the state of the refrigerator can also be identified by the state of the handle. Therefore, by comparing the signal of the door switch and the state of the handle, it can be judged whether the refrigerator is faulty.
[0139] Optionally, the controller determines the state of the handle based on the detection result of the Hall element and the number of rotation steps of the motor, including: when the Hall element detects the first magnetic piece, the controller determines that the handle is in the hidden state; when the Hall element detects the second magnetic piece, the controller determines that the handle is in the pulled-open state; when the Hall element does not detect the first magnetic piece and the second magnetic piece, the controller determines the state of the handle according to the number of rotation steps of the motor. In this way, when the Hall element detects the first magnetic piece, at this time, the first position of the handle is in the initial state, and the second position is far from the Hall element, so the handle is in the hidden state. When the Hall element detects the second magnetic piece, at this time, the first position is far from the Hall element, and the second position is close to the Hall element, and the Hall element can detect the second magnetic piece, so the handle is in the pulled-open state. When the Hall element does not detect the first magnetic piece and the second magnetic piece, it means that both the first position and the second position are far from the Hall element, and the handle is in the intermediate state, that is, it may be in the hovering state, and it is necessary to further determine whether it is in the hovering state.
[0140] Optionally, the controller determines the state of the handle according to the number of rotation steps of the motor, including: when the number of rotation steps of the motor reaches the set number of steps, the controller determines that the handle is in the hovering state. In this way, when the number of rotation steps of the motor reaches the set number of steps of the motor corresponding to the target hovering position, it can be judged that the handle is in the hovering state.
[0141] Optionally, the controller determines whether the refrigerator is faulty based on the state of the handle and the state of the door body, including: when the handle is in the pulled-open state, the controller obtains the signal of the door switch; when the door-opening signal of the door switch is not received, the controller determines that the refrigerator is faulty. In this way, when the handle is in the pulled-open state, it indicates that the user is pulling the handle to open the door of the refrigerator at this time, and the door body should be in the open state at this time. Therefore, the controller obtains the signal of the door switch. When the door-opening signal of the door switch is not received, it means that the state of the door body is inconsistent with the state of the door body determined by the handle. Therefore, the controller determines that the refrigerator is faulty.
[0142] Optionally, the controller determines whether the refrigerator is faulty based on the detection result of the Hall element, the number of rotation steps of the motor, and the signal of the door switch. It further includes: when the Hall element detects the first magnetic piece or the second magnetic piece, and the number of rotation steps of the motor reaches the set number of steps, the controller determines that the refrigerator is faulty. In this way, when the Hall element detects the first magnetic piece or the second magnetic piece, it indicates that the current state is the hidden state or the pulled-open state. However, when the number of rotation steps of the motor reaches the set number of steps, it indicates that the current state of the handle is the hovering state. Since there is a conflict in determining the state of the handle based on different components, the controller determines that the refrigerator is faulty.
[0143] Optionally, the method for controlling the refrigerator further includes: when the user is within the recognition range of the detection device, controlling the display light to be constantly on; when controlling the handle to hover, controlling the display light to turn off; when controlling the handle to move from the hovering position to the hidden position, controlling the display light to be constantly on until the user is outside the recognition range of the detection device. In this way, when controlling the handle to hover, the display light is controlled to turn off. When controlling the handle to move from the hovering position to the hidden position, the display light is controlled to be constantly on until the user is outside the recognition range of the detection device, and then the display light is controlled to turn off, interacting with the user through the display light and improving the user's sense of participation.
[0144] Optionally, the method for controlling the refrigerator includes: the controller determines the state of the handle based on the detection result of the Hall element and the number of rotation steps of the motor. The controller determines the type of fault according to the state of the handle. The controller reminds the user to perform corresponding operations according to the type of fault.
[0145] Among them, the refrigerator includes a first magnetic piece and a second magnetic piece arranged on the handle of the handle, and a Hall element for detecting the state of the handle through the first magnetic piece and the second magnetic piece; the door body includes a door switch for detecting whether the door body is closed; the first magnetic piece is arranged at a first position that can be detected when the handle is in the hidden state, and the second magnetic piece is arranged at a second position that can be detected when the handle is in the pulled-open state.
[0146] By using the method for controlling the refrigerator provided by the embodiments of the present disclosure, the state of the handle is monitored in real time based on the detection result of the Hall element and the number of rotation steps of the motor to judge the fault of the refrigerator, thereby avoiding the fault caused by the inconsistency between the actual state of the refrigerator and the theoretical state after the handle moves, and improving the user experience.
[0147] Optionally, the controller determines the state of the handle based on the detection result of the Hall element and the number of rotation steps of the motor, including: when the Hall element detects the first magnetic sheet, the controller determines that the handle is in the hidden state; when the Hall element detects the second magnetic sheet, the controller determines that the handle is in the pulled-open state; when the Hall element does not detect the first magnetic sheet and the second magnetic sheet, the controller determines the state of the handle according to the number of rotation steps of the motor. In this way, when the Hall element detects the first magnetic sheet, at this time, the first position of the handle is in the initial state, and the second position is far from the Hall element, so the handle is in the hidden state. When the Hall element detects the second magnetic sheet, at this time, the first position is far from the Hall element, and the second position is close to the Hall element, and the Hall element can detect the second magnetic sheet, so the handle is in the pulled-open state. When the Hall element does not detect the first magnetic sheet and the second magnetic sheet, it means that both the first position and the second position are far from the Hall element, and the handle is in the intermediate state, that is, it may be in the hovering state, and it is necessary to further determine whether it is in the hovering state.
[0148] Optionally, the controller determines the state of the handle according to the number of rotation steps of the motor, including: when the number of rotation steps of the motor reaches the set number of steps, the controller determines that the handle is in the hovering state. In this way, when the number of rotation steps of the motor reaches the set number of steps of the motor corresponding to the target hovering position, it can be determined that the handle is in the hovering state.
[0149] Optionally, the controller determines the set number of steps according to the following method: the controller obtains the target hovering position of the handle; the controller determines the rotation steps corresponding to the target hovering position as the set number of steps according to the preset corresponding relationship. In this way, the controller determines the rotation steps corresponding to the target hovering position as the set number of steps according to the preset corresponding relationship, which can make the set number of steps match the target hovering position, so that the set number of steps is more accurate.
[0150] Optionally, the controller determines the type of fault according to the state of the handle, including: when the handle is in the pulled-open state, the controller obtains the signal of the door switch; when the opening signal of the door switch is not received, the controller determines that the door body is not closed. Among them, when the door body is closed, the processor controls the handle to switch from the hovering state to the hidden state. In this way, when the handle is in the pulled-open state, it indicates that the user is pulling the handle to open the door of the freezer at this time, and the door body should be in the open state. Therefore, the controller obtains the signal of the door switch. When the opening signal of the door switch is not received, it means that the state of the door body is inconsistent with the state of the door body determined by the handle. Therefore, the controller determines that there is a gap in the door body and it is not closed.
[0151] Optionally, the controller reminds the user to perform corresponding operations according to the type of fault, including: when the door fails to close for a preset duration, the controller reminds the user to reopen and close the door. In this way, when the door fails to close for a preset duration and the user is not aware that the door has not closed, the controller reminds the user to reopen and close the door to close it.
[0152] Optionally, the method for controlling the refrigerator further includes: when the Hall element detects the first magnetic sheet or the second magnetic sheet and the number of rotation steps of the motor reaches the set number of steps, the controller determines that the Hall element or the motor has a fault. In this way, when the Hall element detects the first magnetic sheet or the second magnetic sheet, it indicates that the current state is the hidden state or the pulled-open state. However, when the number of rotation steps of the motor reaches the set number of steps, it means that the handle is in the hovering state at this time. Since the determination of the handle state based on different components conflicts, the controller determines that the refrigerator has a fault.
[0153] Combined with Figure 13 As shown, the embodiment of the present disclosure provides a device 805 for controlling a refrigerator, including a processor 801 and a memory 802. Optionally, the device may further include a communication interface 803 and a bus 804. Among them, the processor 801, the communication interface 803, and the memory 802 can communicate with each other through the bus 804. The communication interface 803 can be used for information transmission. The processor 801 can call the logical instructions in the memory 802 to execute the method for controlling the refrigerator in the above embodiment.
[0154] In addition, when the logical instructions in the above-mentioned memory 802 are implemented in the form of a software functional unit and sold or used as an independent product, they can be stored in a computer-readable storage medium.
[0155] The memory 802, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as the program instructions / modules corresponding to the methods in the embodiments of the present disclosure. The processor 801 executes functional applications and data processing by running the program instructions / modules stored in the memory 802, that is, implements the method for controlling the refrigerator in the above embodiment.
[0156] The memory 802 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory 802 may include a high-speed random access memory and may also include a non-volatile memory.
[0157] Combined with Figure 14As shown in the figure, an embodiment of the present disclosure provides a freezer 900, including: a freezer body, and the device 805 for controlling the freezer described above. The device 805 for controlling the freezer is installed on the freezer body. The installation relationship described here is not limited to being placed inside the freezer, but also includes the installation connection with other components of the freezer, including but not limited to physical connection, electrical connection, or signal transmission connection, etc. Those skilled in the art can understand that the device 805 for controlling the freezer can be adapted to a feasible freezer body, thereby implementing other feasible embodiments.
[0158] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, and the computer-executable instructions are configured to execute the method for controlling the freezer described above.
[0159] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The foregoing storage medium may be a non-transitory storage medium, including: USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs, etc., which are various media that can store program codes.
[0160] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure, enabling those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, process, and other changes. The embodiments only represent possible variations. Unless explicitly required, the individual components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terms used in this application are only for describing the embodiments and do not limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to also include the plural forms. Similarly, as used in this application, the term "and / or" refers to any and all possible combinations including one or more of the associated listed items. Additionally, when used in this application, the term "comprise" and its variants "comprises" and / or "comprising" etc. mean the presence of the stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or groups of these. Without further limitation, an element defined by the statement "comprising one..." does not exclude the presence of additional identical elements in the process, method, or apparatus comprising the element. Herein, each embodiment may focus on the differences from other embodiments, and the same or similar parts among the embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method parts disclosed in the embodiments, the relevant parts may refer to the description of the method parts.
[0161] Those skilled in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner may depend on the specific application and design constraints of the technical solution. The skilled person may use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the embodiments of the present disclosure. The skilled person can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be described herein again.
[0162] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units can be only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Additionally, the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical or other forms. The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. Additionally, in the embodiments of the present disclosure, the various functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0163] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to the embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions marked in the blocks can occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, which can depend on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks can also occur in a different order than that disclosed in the description. Sometimes, there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, which can depend on the functions involved. Each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for controlling a freezer, characterized in that, the freezer includes a movable handle, and the handle includes a short handle end and a long handle end; the method includes: detecting the current state of the handle; when the short handle end of the handle is pressed, controlling the handle to hover.
2. The method according to claim 1, characterized in that, the state of the short handle end of the handle is determined by the following method: acquiring a first rotation angle of the short handle end of the handle; when the first rotation angle of the short handle end of the handle is less than a set hovering angle, it is determined that the short handle end of the handle is pressed.
3. The method according to claim 2, characterized in that, the freezer includes a driving device for driving the movement of the handle, the driving device includes a cam drivingly connected to a motor, and when the motor starts, the cam rotates around its own rotation center; the handle includes a baffle, and the baffle abuts against the outer contour of the cam; the acquiring of the first rotation angle of the short handle end of the handle includes: acquiring a second rotation angle of the motor; determining a first rotation angle corresponding to the second rotation angle according to a preset correspondence relationship.
4. The method according to claim 2, characterized in that, the set hovering angle is determined by the following method: determining a target hovering position of the handle according to the position of the user; determining an angle required for the long handle end of the handle to reach the target hovering position as the set hovering angle.
5. The method according to claim 1, characterized in that, the freezer includes a first magnetic sheet and a third magnetic sheet; the first magnetic sheet is arranged at a first position that can be detected when the handle is in a hidden state, and the third magnetic sheet is arranged at a third position that can be detected when the short handle end of the handle is pressed; the state of the short handle end of the handle is determined by the following method: when the Hall element detects the third magnetic sheet, it is determined that the short handle end of the handle is pressed.
6. The method according to any one of claims 1 to 5, characterized in that, the controlling the handle to hover includes: responding to a control signal for the handle to hover, and controlling the handle to move from a hidden position to a target hovering position.
7. The method according to claim 4, characterized in that, the controlling the handle to move from a hidden position to a target hovering position includes: determining a target rotation angle of the cam according to the target hovering position; starting the motor according to the target rotation angle.
8. A device for controlling a freezer, including a processor and a memory storing program instructions, characterized in that, the processor is configured to execute the method for controlling a freezer according to any one of claims 1 to 7 when running the program instructions.
9. A freezer, characterized in that, including: a freezer body including a movable handle, and the handle includes a short handle end and a long handle end; and, the device for controlling a freezer according to claim 8, which is installed on the freezer body.
10. A computer-readable storage medium storing program instructions, characterized in that, when the program instructions are running, they are used to cause a computer to execute the method for controlling a freezer according to any one of claims 1 to 7.