Refrigerator, refrigerator door seal detection method and storage medium
By installing a magnetic field sensor and main controller in the refrigerator, the magnetic field strength of the door seal is detected, and the problem of degradation of refrigeration effect and user losses caused by aging of the refrigerator door seal is solved, and the function of timely discovering and replacing the aging door seal is realized.
Patent Information
- Application Number
- CN202311224774.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-21
- Publication Date
- 2025-03-21
AI Technical Summary
The aging of refrigerator door seals leads to the poor closing of refrigerator doors, which affects the refrigeration effect, increases power consumption, and may cause food damage. It is difficult for users to detect and replace the aged door seals in time.
Install a magnetic field sensor at the contact position of the refrigerator box and the door body. By detecting the magnetic field strength in the door seal, the main controller determines whether the door seal is aging and promptly notify the user to replace it.
Through the cooperation of the magnetic field sensor and the main controller, the aging of the door seal can be detected in a timely manner, reducing the impact on the refrigerator's refrigeration effect and reducing user losses.
Smart Images

Figure CN119665517A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of household appliance technology, and more specifically, to a refrigerator, a method for detecting a refrigerator door seal, and a storage medium. Background Art
[0002] The refrigerator body and door are sealed by a door seal, but as the refrigerator ages, the door seal may age and crack, which may cause the refrigerator door to not close tightly, resulting in cold air leaking into the refrigerator compartment, affecting the refrigeration effect, increasing power consumption, and condensation.
[0003] However, the aging of the door seal is not obvious in appearance, and it is difficult for users to detect the aging of the door seal and replace it in time, which affects the refrigeration of the refrigerator and easily causes losses to users. Summary of the invention
[0004] The embodiments of the present application provide a refrigerator, a detection method for refrigerator door seals, and a storage medium, which can be used to solve the problem that it is difficult for users to promptly detect the aging of door seals, which affects the refrigeration of the refrigerator and causes losses to users.
[0005] In a first aspect, an embodiment of the present application provides a refrigerator, comprising:
[0006] A box body, wherein a storage room is arranged in the box body;
[0007] A door body, used for opening or closing the storage chamber;
[0008] A door seal provided on the door body, used to seal the gap between the door body and the box body after the door body is closed;
[0009] a magnetic field sensor disposed on the box body, the magnetic field sensor being disposed opposite to the door seal strip so that the door seal strip contacts the magnetic field sensor after the door body is closed; the magnetic field sensor being configured to detect a first magnetic field strength in the door seal strip;
[0010] A main controller disposed in the box is connected to the magnetic field sensor, and the main controller is configured as follows:
[0011] Acquiring the first magnetic field strength;
[0012] Whether the door seal is aged is determined according to the first magnetic field strength.
[0013] In this embodiment, the refrigerator includes a box body provided with a storage chamber, a door body for opening or closing the storage chamber, a door seal provided on the door body, a magnetic field sensor provided on the box body, and a main controller provided in the box body. The magnetic field sensor is arranged relative to the door seal so that the door seal contacts the magnetic field sensor after the door body is closed, the main controller is connected to the magnetic field sensor, the magnetic field sensor is configured to detect the first magnetic field strength in the door seal, the main controller is configured to obtain the first magnetic field strength, and determine whether the door seal is aged according to the first magnetic field strength. The present application determines the magnetic field strength in the door seal by means of a magnetic field sensor, so as to determine whether the door seal is aged according to the magnetic field strength, and timely detect the aging of the door seal, so as to notify the user to replace it, reduce the influence of the aging of the door seal on the refrigeration of the refrigerator, and reduce the loss of the user.
[0014] In some embodiments of the present application, the magnetic field sensor is configured as follows:
[0015] Obtaining a detection instruction, wherein the detection instruction is used to instruct the magnetic field sensor to perform magnetic field detection;
[0016] According to the detection instruction, the magnetic field strength in the door seal is detected.
[0017] In this embodiment, the magnetic field sensor can perform magnetic field detection after receiving the detection instruction, so as to avoid being in the detection state all the time, thereby achieving the purpose of energy saving and power saving.
[0018] In some embodiments of the present application, the main controller is configured as follows:
[0019] Get the preset threshold value;
[0020] Determining whether the first magnetic field strength is below the preset threshold;
[0021] If the first magnetic field strength is less than the preset threshold, it is determined that the door seal is aged.
[0022] In this embodiment, when the magnetic field strength is less than a preset threshold, it can be determined that the door seal is aged.
[0023] In some embodiments of the present application, the main controller is configured as follows:
[0024] When the refrigerator is powered on for the first time, obtaining an initial magnetic field strength;
[0025] The preset threshold is determined according to the initial magnetic field strength.
[0026] In this embodiment, the preset threshold value can be determined according to the initial magnetic field strength when the refrigerator is powered on for the first time, so that the aging judgment of the door seal is more accurate.
[0027] In some embodiments of the present application, the main controller is configured as follows:
[0028] When it is detected that the door is closed, the detection instruction is generated.
[0029] In this embodiment, when it is detected that the door body is closed, the magnetic field sensor may also be instructed to detect the magnetic field strength to detect whether the door body is closed tightly.
[0030] In some embodiments of the present application, the main controller is configured as follows:
[0031] Acquire a second magnetic field strength, where the second magnetic field strength is measured by the magnetic field sensor when there is no gap between the door body and the box body when the door body is closed last time;
[0032] It is determined whether there is a gap between the door body and the box body when the door body is closed according to the second magnetic field strength and the first magnetic field strength.
[0033] In this embodiment, the magnetic field strength corresponding to the current door closing can be compared with the magnetic field strength when the door was closed without a gap the previous time, so as to accurately determine whether the door is closed tightly.
[0034] In some embodiments of the present application, the main controller is configured as follows:
[0035] determining a difference between the first magnetic field strength and the second magnetic field strength;
[0036] According to the difference, it is determined whether there is a gap between the door body and the box body when the door body is closed.
[0037] In this embodiment, the difference in magnetic field strength is used to determine whether the magnetic field change is large, so as to determine whether there is a gap between the door body and the box body when the door body is closed.
[0038] In some embodiments of the present application, the main controller is configured as follows:
[0039] If the door seal is aged, a prompt message is output, where the prompt message is used to prompt that the door seal is aged.
[0040] In this embodiment, when it is determined that the door seal is aged, the user is notified through a prompt message so that the user can replace the door seal in time.
[0041] In a second aspect, the present application provides a method for detecting a refrigerator door seal, the refrigerator comprising:
[0042] A box body, wherein a storage room is arranged in the box body;
[0043] A door body, used for opening or closing the storage chamber;
[0044] A door seal provided on the door body, used to seal the gap between the door body and the box body after the door body is closed;
[0045] A magnetic field sensor is arranged on the box body, and the magnetic field sensor is arranged opposite to the door seal, so that the door seal contacts the magnetic field sensor after the door body is closed;
[0046] A main controller disposed in the box and connected to the magnetic field sensor;
[0047] The method comprises:
[0048] Acquiring a first magnetic field strength in the door seal by means of the magnetic field sensor;
[0049] Whether the door seal is aged is determined by the main controller according to the first magnetic field strength.
[0050] In this embodiment, the first magnetic field strength in the door seal is obtained by a magnetic field sensor, and then the main controller determines whether the door seal is aged based on the first magnetic field strength. The aging of the door seal is discovered in time, so that the user can be notified to replace it, thereby reducing the impact of the aging of the door seal on the refrigeration of the refrigerator and reducing user losses.
[0051] In a third aspect, the present application provides a computer-readable storage medium having computer-executable instructions stored thereon. When the computer-executable instructions are executed by a processor, the method described in the second aspect is implemented.
[0052] The computer-readable storage medium provided in the embodiment of the present application can execute the technical solution in the above method embodiment, and its beneficial effects are similar, which will not be repeated here.
[0053] In a fourth aspect, the present application provides a computer program product, including a computer program, which implements the method described in the second aspect when executed by a processor.
[0054] The computer program product provided in the embodiment of the present application can execute the technical solution in the above method embodiment, and its beneficial effects are similar and will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the implementation methods in the embodiments of the present application or the related technologies, the following is a brief introduction to the drawings required for use in the embodiments or the related technology descriptions. Obviously, the drawings described below are some embodiments of the present application, and a person skilled in the art can also obtain other drawings based on these drawings.
[0056] Figure 1 A schematic diagram of the structure of a refrigerator provided in an embodiment of the present application;
[0057] Figure 2 This is a schematic diagram of the structure of a door body 102 exemplified in this application;
[0058] Figure 3 A schematic diagram of the connection between the magnetic field sensor 104 and the main controller 105 according to an example of the present application;
[0059] Figure 4 A schematic diagram of a flow chart of a refrigerator door seal detection method provided in an embodiment of the present application;
[0060] Figure 5 A schematic flow chart of another refrigerator door seal detection method provided in an embodiment of the present application;
[0061] Figure 6 A schematic flow chart of another refrigerator door seal detection method provided in an embodiment of the present application;
[0062] Figure 7 A schematic flow chart of another refrigerator door seal detection method provided in an embodiment of the present application;
[0063] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0065] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and common meanings.
[0066] In addition, the terms "include" and "have" and any variations thereof are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to those components expressly listed but may include other components not expressly listed or inherent to such products or devices.
[0067] As the refrigerator is used for a long time, the door seal of the refrigerator is prone to aging. The aging of the door seal will cause the rubber of the door seal to harden and crack, which will cause the refrigerator door to not close tightly, that is, there will be a storage gap between the door and the cabinet, which will cause cold leakage in the refrigerator compartment, affect the refrigeration effect, increase power consumption, condensation and other problems, and the food stored by the user in the refrigerator may be damaged. If the user does not discover the above problems for a long time, it may cause damage to the frozen and refrigerated food, causing losses to the user.
[0068] As the door seal ages and the rubber hardens, it becomes deformed, which increases the distance between the door seal and the refrigerator door. The increased distance leads to a lower magnetic field strength.
[0069] Therefore, the present application provides a refrigerator, in which a magnetic field sensor is installed at the position where the door seal of the refrigerator body contacts the door body, so as to determine whether the door seal is aged through the magnetic field strength. The present application can detect the aging of the door seal in time through a simpler detection method, so as to notify the user to replace it, reduce the impact of the aging of the door seal on the refrigeration of the refrigerator, and reduce user losses.
[0070] The technical solution of the present application is described in detail below in conjunction with specific embodiments. The following specific embodiments can be combined with each other or exist independently. The same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0071] First, the structure of the refrigerator provided by the present application is described. Figure 1 The refrigerator 10 includes a box body 101, a door body 102, and a door seal 103 ( Figure 1 ), the magnetic field sensor 104 and the main controller 105 ( Figure 1 not shown).
[0072] Among them, a storage room is arranged in the box body 101, and the door body 102 is used to open or close the storage room. Exemplarily, the storage room may include a refrigerator room, a freezer room, etc., and the present application does not limit this.
[0073] The door seal 103 is disposed on the door body 102 , and is used to seal the gap between the door body 102 and the box body 101 after the door body 102 is closed.
[0074] The magnetic field sensor 104 is disposed on the box body 101 , and the magnetic field sensor 104 is disposed opposite to the door seal 103 , so that the door seal 103 contacts the magnetic field sensor 104 after the door body 102 is closed.
[0075] The magnetic field sensor 104 is configured to detect the first magnetic field strength in the door seal 103 .
[0076] Since users frequently open and close the refrigerator door, the door seal 103 is prone to poor sealing and cold leakage, resulting in more condensation at the upper and lower ends of the door body 102. Therefore, heaters are usually provided in the upper and lower areas of the door body 102 to remove condensation. Then, due to the heating of the heater, the rubber in the upper and lower areas of the door seal 103 is likely to age faster.
[0077] In a possible implementation, the magnetic field sensor 104 may be disposed on the box body 101 in contact with any one of the upper and lower regions of the door body 102, so as to determine whether the door seal 103 is aged by measuring the magnetic field strength in the region, and to timely detect the aging of the door seal 103. Figure 1 The magnetic field sensor 104 shown in the example is arranged at the upper area where the box body 101 contacts the door body 102 .
[0078] Figure 2 This is a schematic diagram of the structure of a door body 102 exemplified in the present application, in which a door seal 103 is arranged on one side of the door body 102 so that when the door body 102 is closed, the door seal 103 seals the gap between the door body 102 and the box body 101 .
[0079] In a possible implementation, the magnetic field sensor 104 and the main controller 105 may be connected via a wire harness to achieve communication. Figure 3 This is a connection diagram between the magnetic field sensor 104 and the main controller 105 as exemplified in the present application. For example, the magnetic field sensor 104 can be connected to the serial peripheral interface (SPI) of the main controller 105 via a connecting line, and can also communicate through other interfaces, which is not limited in the present application.
[0080] Based on the above refrigerator, Figure 4 A flowchart of a refrigerator door seal detection method provided in an embodiment of the present application is shown. The method can be executed by the main controller 105. Figure 4 As shown, the method comprises the following steps:
[0081] S401: Obtain a first magnetic field strength in a door seal.
[0082] When the door is closed, that is, when the door seal is in contact with the box body, the magnetic field strength in the door seal can be detected by the magnetic field sensor to obtain the first magnetic field strength.
[0083] It can be understood that the first magnetic field strength is the magnetic field strength of the area in the door seal that contacts the magnetic field sensor. Figure 1 Taking the location of the medium magnetic field sensor as an example, the first magnetic field strength is Figure 2 Magnetic field strength in the area above the middle door seal.
[0084] After the magnetic field sensor detects the first magnetic field strength, it can send the first magnetic field strength to the main controller.
[0085] S402: Determine whether the door seal is aged according to the first magnetic field strength.
[0086] After the main controller obtains the first magnetic field strength, it can determine whether the door seal is aged according to the first magnetic field strength. Figure 2 Taking the magnetic field strength of the area on the middle door seal as an example, the main controller can determine whether the door seal in this area is aged based on the first magnetic field strength. If the door seal in this area is aged, the entire door seal needs to be replaced to avoid affecting the refrigeration of the refrigerator due to the aging of the door seal in this area.
[0087] In this embodiment, the first magnetic field strength in the door seal is obtained by a magnetic field sensor, and then the main controller determines whether the door seal is aged based on the first magnetic field strength. The aging of the door seal is discovered in time, so that the user can be notified to replace it, thereby reducing the impact of the aging of the door seal on the refrigeration of the refrigerator and reducing user losses.
[0088] In a possible implementation, the magnetic field sensor may be in a working state all the time to detect the magnetic field strength in the door seal.
[0089] In another possible implementation, the magnetic field sensor can detect the magnetic field strength in the door seal after receiving the corresponding detection instruction, so as to achieve the purpose of energy saving and power saving. It can be understood that the detection instruction can be sent by the main controller to the magnetic field sensor. For example, the main controller can determine the detection instruction in the following ways:
[0090] Method 1
[0091] The main controller can generate a detection instruction every preset time period to instruct the magnetic field sensor to detect the magnetic field strength in the door seal. For example, the preset time period can be 24 hours or other time periods, which can be set according to needs and this application does not impose any restrictions on this.
[0092] Method 2
[0093] The main controller can detect the door body. When it is detected that the door body is closed, that is, when it is detected that the door body changes from an open state to a closed state, the main controller can generate a detection instruction. In other words, the main controller can instruct the magnetic field sensor to detect the magnetic field strength inside the door seal when it is detected that the door body is closed.
[0094] In a possible implementation, for the above-mentioned method 2, the main controller can detect whether there is a gap between the door body and the box body according to the detected magnetic field strength, that is, detect whether the door body is closed tightly.
[0095] It can be understood that if the situations corresponding to method 1 and method 2 occur at the same time, that is, when the main controller generates a detection instruction according to method 1, it detects that the door body is closed, then the first magnetic field strength detected by the magnetic field sensor can be used to detect whether the door seal is aging, and can also be used to detect whether there is a gap between the door body and the box body.
[0096] Next, how the main controller determines whether the door seal is aged according to the first magnetic field strength is described in detail.
[0097] Figure 5 A flow chart of another refrigerator door seal detection method provided in an embodiment of the present application, which can be executed by the above-mentioned main controller, such as Figure 5 As shown, the method comprises the following steps:
[0098] S501: Obtain a first magnetic field strength.
[0099] S502: Obtain a preset threshold.
[0100] Exemplarily, the preset threshold may be
[0101] S503: Determine whether the first magnetic field strength is below a preset threshold.
[0102] As the door seal gets older, the aging of the door seal will cause the rubber to harden and deform, which will increase the distance between the magnet inside the door seal and the box. The increase in distance will reduce the magnetic field strength measured by the magnetic field sensor. Therefore, the first magnetic field strength can be compared with the preset threshold to determine whether the door seal is aged.
[0103] It should be understood that the aging of the door seal is a gradual process. When it is slightly aged, the door seal can seal the gap between the door body and the cabinet after the door body is closed. When the door seal ages to a certain extent, that is, when the door seal hardens to a certain extent, it will cause the door seal to fail to completely seal the gap between the door body and the cabinet, causing the refrigerator to gradually leak cold air, etc. The preset threshold value can be the magnetic field strength value corresponding to the ageing of the door seal to that extent.
[0104] Exemplarily, the degree of aging of the door seal is divided into the first level, the second level and the third level, wherein the first level may correspond to slight aging of the door seal, that is, the door seal can still close the gap between the door body and the cabinet body at this time, the second level may correspond to the situation that the door seal cannot completely close the gap between the door body and the cabinet body, causing the refrigerator to start to leak a small amount of cold air, and the third level may correspond to severe aging of the door seal, that is, the refrigerator starts to leak a large amount of cold air.
[0105] The preset threshold value may be a magnetic field strength value corresponding to the second level of aging of the door seal.
[0106] If the first magnetic field strength is below the preset threshold, that is, the first magnetic field strength is less than or equal to the preset threshold, S504 is executed; if the first magnetic field strength is greater than the preset threshold, S505 is executed.
[0107] S504: Determine whether the door seal is aged.
[0108] It can be understood that the aging of the door seal here can be understood as the aging degree of the door seal being the second level mentioned above, that is, the aging degree requiring replacement of the door seal.
[0109] S505: Determine whether the door seal is not aged.
[0110] In this embodiment, the main controller obtains the first magnetic field strength in the door seal, then obtains the preset threshold, and compares the first magnetic field strength with the preset threshold to determine whether the door seal is aged, and timely detects the aging of the door seal, so that the user can be notified to replace it, thereby reducing the impact of the aging of the door seal on the refrigeration of the refrigerator and reducing user losses.
[0111] The following describes in detail how the main controller determines the preset threshold.
[0112] Figure 6 A flow chart of another refrigerator door seal detection method provided in an embodiment of the present application, which can be executed by the above-mentioned main controller, such as Figure 6 As shown, the method comprises the following steps:
[0113] S601. When the refrigerator is powered on for the first time, obtain the initial magnetic field strength.
[0114] When the refrigerator is powered on for the first time, the main controller can send a corresponding detection instruction to the magnetic field sensor to instruct the magnetic field sensor to detect the magnetic field strength in the door seal, and then the main controller can obtain the initial magnetic field strength sent by the magnetic field sensor.
[0115] S602: Determine a preset threshold value according to the initial magnetic field strength.
[0116] After obtaining the initial magnetic field strength, the main controller can determine the preset threshold value according to the initial magnetic field strength.
[0117] In one possible implementation, the main controller can determine a preset proportion of the initial magnetic field strength as a preset threshold. For example, 60% of the initial magnetic field strength can be determined as the preset threshold. That is, when the magnetic field strength decreases to 60% of the initial magnetic field strength, it can be determined that the door seal is aged, that is, the door seal is aged to the extent that it needs to be replaced.
[0118] In this embodiment, the main controller can obtain the initial magnetic field strength when the refrigerator is powered on for the first time, and then determine a preset threshold based on the initial magnetic field strength, so that the main controller can accurately determine whether the door seal has aged to the extent that it needs to be replaced based on the preset threshold.
[0119] In a possible implementation, if it is determined that the door seal is aged, the main controller may output a prompt message, where the prompt message is used to indicate that the door seal is aged, so as to prompt the user to replace the door seal.
[0120] Exemplarily, the main controller may output the prompt information in one or more of the following ways:
[0121] Method 1: Sending an alarm through a related device, such as a buzzer, a flashing light, a voice playback device, etc.
[0122] Method 2: Output prompt information through the display panel.
[0123] Mode 3: Sending prompt information to the user's terminal device through a communication module. The communication module may be, for example, Wireless Fidelity (WIFI) or other communication modules, which is not limited in the present application.
[0124] Next, how the main controller determines the magnetic field strength to determine whether there is a gap between the door body and the box body when the main controller generates a detection instruction according to the above method 2 when the door body is closed is described in detail.
[0125] Figure 7 A flow chart of another refrigerator door seal detection method provided in an embodiment of the present application, which can be executed by the above-mentioned main controller, such as Figure 7 As shown, the method comprises the following steps:
[0126] S701. Obtain a first magnetic field strength.
[0127] When the main controller detects that the door body is closed, it sends a detection instruction to the magnetic field sensor and receives the first magnetic field intensity sent by the magnetic field sensor.
[0128] S702: Obtain a second magnetic field strength, where the second magnetic field strength is measured by the magnetic field sensor when there is no gap between the door body and the box body when the door body is closed last time.
[0129] As the refrigerator is used for a period of time, the magnetic field strength in the door seal will slightly decay. The main controller can obtain the second magnetic field strength when the door was last closed and there was no gap between the door and the cabinet, so as to determine the change in the first magnetic field strength based on the second magnetic field strength, and thus determine whether there is a gap between the door and the cabinet when the door is closed this time.
[0130] That is to say, the second magnetic field strength is the magnetic field strength when there is no gap between the door body and the box body when the door body is closed last time. The main controller stores the second magnetic field strength in the relevant memory. For example, Table 1 shows the relationship between the magnetic field strength in the door seal and whether there is a gap between the door body and the box body each time the door body is closed:
[0131] Table 1
[0132] Door closed Magnetic field strength Is there a gap? 1st time Magnetic field strength 1 no 2nd Magnetic field strength 2 no ...... ...... ...... The i-th time Second magnetic field strength no i+1th time Magnetic field strength i+1 yes This time First magnetic field strength
[0133] Among them, when the door body is closed for the first time, there is no gap between the door body and the box body, so the main controller can record the magnetic field strength 1 in the relevant memory; when the door body is closed for the second time, there is no gap between the door body and the box body, and the main controller can update the magnetic field strength 1 to the magnetic field strength 2 in the relevant memory; when the door body is closed for the i-th time, the main controller can update the magnetic field strength 2 to the second magnetic field strength in the relevant memory; when the door body is closed for the i+1th time, there is a gap between the door body and the box body, and the main controller does not record the magnetic field strength i+1, and the second magnetic field strength is still recorded in the relevant memory.
[0134] Therefore, when the door is closed this time, to determine whether there is a gap between the door and the box, the second magnetic field strength when the door is closed for the i-th time can be used for judgment.
[0135] S703: Determine whether there is a gap between the door body and the box body when the door body is closed according to the second magnetic field strength and the first magnetic field strength.
[0136] After acquiring the second magnetic field strength, the main controller determines whether there is a gap between the door body and the box body when the door body is closed according to the first magnetic field strength and the second magnetic field strength.
[0137] In a possible implementation, the main controller may determine the difference between the first magnetic field strength and the second magnetic field strength, and determine whether there is a gap between the door body and the box body when the door body is closed based on the difference.
[0138] Specifically, the main controller may compare the difference with a preset difference. If the difference is greater than the preset difference, it means that the first magnetic field strength is significantly different from the second magnetic field strength, and it can be determined that there is a gap between the door body and the box body.
[0139] In this embodiment, the main controller obtains a first magnetic field strength and a second magnetic field strength, where the second magnetic field strength is measured by the magnetic field sensor when there is no gap between the door body and the box body when the door body is closed for the last time. Then, based on the second magnetic field strength and the first magnetic field strength, it is determined whether there is a gap between the door body and the box body when the door body is closed, so as to avoid the situation where the mechanical switch cannot detect the existence of a gap between the door body and the box body when there is foreign matter on the door body.
[0140] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 8 As shown, the electronic device 80 may include: at least one processor 801 and a memory 802 .
[0141] The memory 802 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer-executable instructions.
[0142] The memory 802 may include a random access memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory), such as at least one disk memory.
[0143] The processor 801 is used to execute the computer-executable instructions stored in the memory 802 to implement the method described in the above method embodiment. The processor 801 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0144] Optionally, the electronic device 80 may further include: a communication interface 803. In a specific implementation, if the communication interface 803, the memory 802 and the processor 801 are implemented independently, the communication interface 803, the memory 802 and the processor 801 may be interconnected through a bus and communicate with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.
[0145] Optionally, in a specific implementation, if the communication interface 803, the memory 802 and the processor 801 are integrated on a chip, the communication interface 803, the memory 802 and the processor 801 can communicate through an internal interface.
[0146] The electronic device 80 may be a main controller, which may be a chip, a chip module, etc.
[0147] The electronic device of this embodiment can be used to execute the technical solution of the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.
[0148] The present application also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores program instructions, and the program instructions are used for the methods in the above embodiments.
[0149] The present application also provides a program product, which includes execution instructions stored in a readable storage medium. When the computer program is executed by a computer, the technical solution shown in the above method embodiment is executed. The specific implementation method and technical effect are similar and will not be repeated here.
[0150] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0151] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
[0152] In this application, "multiple" means two or more. The first, second, etc. descriptions that appear in the embodiments of this application are only used for illustration and distinction of the described objects. There is no order, nor does it represent a special limitation on the number of devices in the embodiments of this application, and cannot constitute any limitation on the embodiments of this application. For example, the first threshold and the second threshold are only used to distinguish different thresholds, and do not represent the difference in size, priority, or importance of the two thresholds.
[0153] In this application, "exemplary", "in some embodiments", "in other embodiments", etc. are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.
[0154] In this application, "of", "corresponding, relevant", "corresponding", and "associated" can sometimes be used interchangeably. It should be noted that when the distinction is not emphasized, the meanings they express are consistent. In the embodiments of this application, communication and transmission can sometimes be used interchangeably. It should be noted that when the distinction is not emphasized, the meanings they express are consistent. For example, transmission can include sending and / or receiving, which can be a noun or a verb.
Claims
1. A refrigerator, characterized in that: The refrigerator comprises: A box body, wherein a storage room is arranged in the box body; A door body, used for opening or closing the storage chamber; A door seal provided on the door body, used to seal the gap between the door body and the box body after the door body is closed; a magnetic field sensor disposed on the box body, the magnetic field sensor being disposed opposite to the door seal strip so that the door seal strip contacts the magnetic field sensor after the door body is closed; the magnetic field sensor being configured to detect a first magnetic field strength in the door seal strip; A main controller disposed in the box is connected to the magnetic field sensor, and the main controller is configured as follows: Acquiring the first magnetic field strength; Whether the door seal is aged is determined according to the first magnetic field strength.
2. The refrigerator according to claim 1, characterized in that: The magnetic field sensor is configured as follows: Obtaining a detection instruction, wherein the detection instruction is used to instruct the magnetic field sensor to perform magnetic field detection; According to the detection instruction, the magnetic field strength in the door seal is detected.
3. The refrigerator according to claim 1 or 2, characterized in that: The main controller is configured as follows: Get the preset threshold value; Determining whether the first magnetic field strength is below the preset threshold; If the first magnetic field strength is less than the preset threshold, it is determined that the door seal is aged.
4. The refrigerator according to claim 3, characterized in that: The main controller is configured as follows: When the refrigerator is powered on for the first time, obtaining an initial magnetic field strength; The preset threshold is determined according to the initial magnetic field strength.
5. The refrigerator according to claim 2, characterized in that: The main controller is configured as follows: When it is detected that the door is closed, the detection instruction is generated.
6. The refrigerator according to claim 5, characterized in that: The main controller is configured as follows: Acquire a second magnetic field strength, where the second magnetic field strength is measured by the magnetic field sensor when there is no gap between the door body and the box body when the door body is closed last time; It is determined whether there is a gap between the door body and the box body when the door body is closed according to the second magnetic field strength and the first magnetic field strength.
7. The refrigerator according to claim 6, characterized in that: The main controller is configured as follows: determining a difference between the first magnetic field strength and the second magnetic field strength; According to the difference, it is determined whether there is a gap between the door body and the box body when the door body is closed.
8. The refrigerator according to any one of claims 1 to 4, characterized in that: The main controller is configured as follows: If the door seal is aged, a prompt message is output, where the prompt message is used to prompt that the door seal is aged.
9. A method for detecting a refrigerator door seal, characterized in that: The refrigerator comprises: A box body, wherein a storage room is arranged in the box body; A door body, used for opening or closing the storage chamber; A door seal provided on the door body, used to seal the gap between the door body and the box body after the door body is closed; A magnetic field sensor is arranged on the box body, and the magnetic field sensor is arranged opposite to the door seal, so that the door seal contacts the magnetic field sensor after the door body is closed; A main controller disposed in the box and connected to the magnetic field sensor; The method comprises: Acquiring a first magnetic field strength in the door seal by means of the magnetic field sensor; Whether the door seal is aged is determined by the main controller according to the first magnetic field strength.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the method of claim 9 is implemented.