Door control method, device, electronic equipment, refrigerator and storage medium

By detecting the movement information value of the refrigerator door and generating appropriate resistance or power, the slow opening and closing of the refrigerator door is controlled, which solves the problem of excessive force caused by items falling, and improves the stability and user experience of refrigerator door operation.

CN116007287BActive Publication Date: 2024-11-08GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310088376.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-17
Publication Date
2024-11-08
Estimated Expiration
2043-01-17

AI Technical Summary

Technical Problem

Excessive force when the user opens or closes the refrigerator door, causing the item to fall, causing waste.

Method used

By detecting the change of the opening and closing state of the door body, the movement information value is obtained, and whether the preset conditions are met, the target resistance or power is determined, and the driving device is used to generate resistance or power to control the slow movement of the door body to prevent the item from falling.

Benefits of technology

It effectively avoids falling items due to excessive force, and improves the stability and user experience of refrigerator door operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116007287B_ABST
    Figure CN116007287B_ABST
Patent Text Reader

Abstract

The present invention relates to a control method, device, electronic device, refrigerator and storage medium for a door body, the method comprising: when detecting that the door body opening and closing state of the door body changes, obtaining the door body movement information value of the door body, when the door body movement information value satisfies a first preset condition, determining the target resistance corresponding to the door body movement information value, the first preset condition comprising: the door body movement information value is greater than a first preset threshold value; in the process of the door body moving from a first state to a second state, using the target resistance to increase the first time duration of the door body moving from the first state to the second state. Therefore, when the present invention detects that the door body opening and closing state of the door body changes, it determines whether it is necessary to provide resistance during the door body movement process through the obtained door body movement information value, and when it is determined that resistance is required, resistance is provided during the door body movement process to prevent items on the door body from falling due to excessive force when the user opens or closes the door body.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of household appliance technology, and in particular, to a door control method, device, electronic device, refrigerator, and storage medium. Background Art

[0002] With the continuous development of household appliances, more and more household appliances have entered thousands of households. Among them, refrigerators are widely used by people because of their functions of refrigeration and preservation. At present, when users use refrigerators, when opening or closing the refrigerator door, users use too much force, which may cause the items in the refrigerator door to fall out, resulting in waste of items. Summary of the invention

[0003] In view of this, in order to solve the technical problem in the prior art that items are wasted when a user uses excessive force to open or close a refrigerator door, an embodiment of the present invention provides a door control method, device, electronic device, refrigerator and storage medium.

[0004] In a first aspect, an embodiment of the present invention provides a door control method, comprising:

[0005] When a change in the door opening and closing state of the door is detected, a door movement information value of the door is obtained, wherein the door opening and closing state includes a first state and a second state;

[0006] When the door movement information value satisfies a first preset condition, determining a target resistance corresponding to the door movement information value, wherein the first preset condition includes: the door movement information value is greater than a first preset threshold;

[0007] During the process of the door body moving from the first state to the second state, the target resistance is used to increase a first time duration for the door body to move from the first state to the second state.

[0008] In an optional embodiment, after executing the step of acquiring the door movement information value of the door when detecting that the door opening and closing state of the door changes, the method further includes:

[0009] When the door movement information value satisfies a second preset condition, determining a target power corresponding to the door movement information value, wherein the second preset condition includes: the door movement information value is less than or equal to a second preset threshold, and the second preset threshold is less than the first preset threshold;

[0010] During the process of the door body moving from the first state to the second state, the door body is driven to move according to the target power.

[0011] In an optional implementation, the determining the target resistance corresponding to the door movement information value includes:

[0012] The target resistance corresponding to the door movement information value is determined from a first association relationship, wherein the first association relationship stores a plurality of sets of correspondences between the door movement information value and the resistance.

[0013] In an optional implementation, the determining the target power corresponding to the door movement information value includes:

[0014] Determining a target difference between the door movement information value and a target mean value;

[0015] The target power corresponding to the target difference is determined from a second association relationship, wherein the second association relationship stores a plurality of sets of correspondences between differences and power.

[0016] In an optional embodiment, the target mean is determined by:

[0017] Acquire a plurality of door movement information values ​​within a preset time period;

[0018] The average of the plurality of door movement information values ​​is determined as the target average.

[0019] In an optional embodiment, the step of increasing a first duration for the door body to move from the first state to the second state by using the target resistance includes:

[0020] Determining a first direction of rotation of a drive device connected to the door body;

[0021] Determine a first rotation speed of the driving device corresponding to the target resistance;

[0022] controlling the driving device to operate according to the first direction and the first speed to generate the target resistance;

[0023] Using the target resistance to increase a first time duration for the door body to move from the first state to the second state; or,

[0024] The step of driving the door body to move according to the target power comprises:

[0025] determining a second direction of rotation of the drive device;

[0026] Determine a second rotation speed of the driving device corresponding to the target power;

[0027] controlling the driving device to operate according to the second direction and the second speed to generate the target power;

[0028] The door body is driven to move according to the target power.

[0029] In an optional embodiment, after executing the step of determining the target resistance corresponding to the door movement information value when the door movement information value satisfies the first preset condition, the method further includes:

[0030] Determining a second time duration for the door body to move from the first state to the second state according to the target resistance, wherein the second time duration is greater than the first time duration;

[0031] After executing the step of increasing a first time duration for the door body to move from the first state to the second state by using the target resistance during the process of the door body moving from the first state to the second state, the method further includes:

[0032] When the second time period is reached and it is detected that the door body has not moved to the second state, an alarm prompt event is triggered.

[0033] In a second aspect, an embodiment of the present invention provides a door control device, comprising:

[0034] An acquisition module, used for acquiring a door movement information value of the door body when detecting a change in the door opening and closing state of the door body, wherein the door opening and closing state includes a first state and a second state;

[0035] A determination module, configured to determine a target resistance corresponding to the door movement information value when the door movement information value satisfies a first preset condition, wherein the first preset condition includes: the door movement information value is greater than a first preset threshold;

[0036] A processing module is used to increase a first time duration for the door body to move from the first state to the second state by using the target resistance during the process of the door body moving from the first state to the second state.

[0037] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor and a memory, wherein the processor is used to execute a door control program stored in the memory to implement the door control method as described above.

[0038] In a fourth aspect, an embodiment of the present invention provides a refrigerator comprising the electronic device as described above.

[0039] In a fifth aspect, an embodiment of the present invention provides a storage medium, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the door control method as described above.

[0040] A method for controlling a door provided by an embodiment of the present invention includes: when detecting that the door opening and closing state of the door changes, obtaining a door movement information value of the door, the door opening and closing state includes a first state and a second state; when the door movement information value satisfies a first preset condition, determining a target resistance corresponding to the door movement information value, the first preset condition includes: the door movement information value is greater than a first preset threshold value; in the process of the door moving from the first state to the second state, using the target resistance to increase a first duration of the door moving from the first state to the second state. In the above manner, when detecting that the door opening and closing state of the door changes, the embodiment of the present invention determines whether it is necessary to provide resistance during the door movement process by using the obtained door movement information value, and when it is determined that resistance is required, resistance is provided during the door movement process to offset a part of the force applied by the user, so that the door moves slowly to the second state, and avoids items on the door falling off due to excessive force when the user opens or closes the door. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A schematic flow chart of a door control method provided by an embodiment of the present invention;

[0042] Figure 2 A schematic flow chart of another door control method provided by an embodiment of the present invention;

[0043] Figure 3 A schematic diagram of the structure of a door control device provided by an embodiment of the present invention;

[0044] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;

[0045] In the above attached figure:

[0046] 10. Acquisition module; 20. Determination module; 30. Processing module;

[0047] 400, electronic device; 401, processor; 402, memory; 4021, operating system; 4022, application; 403, user interface; 404, network interface; 405, bus system. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present invention.

[0050] refer to Figure 1 , Figure 1 A schematic flow chart of a door control method provided by an embodiment of the present invention. A door control method provided by an embodiment of the present invention is described by taking a refrigerator door as an example, and specifically comprises the following steps:

[0051] S101: When a change in the door opening and closing state of the door is detected, a door movement information value of the door is obtained.

[0052] In this embodiment, the door opening and closing state includes a first state and a second state, the first state may be a door opening state, the first state may also be a door closing state, the second state may be a door opening state, and the second state may also be a door closing state. When the first state is a door opening state, the second state is a door closing state; when the first state is a door closing state, the second state is a door opening state. Among them, a magnetic switch and a mechanical switch may be provided in the refrigerator to detect the change of the door state of the door. Specifically, the user applies an external force to cause the door state of the door to change. For example, when the user needs to open the door (that is, the door moves from the door closing state to the door opening state), the user applies a pulling force to the door to open the door; when the user needs to close the door (that is, the door moves from the door opening state to the door closing state), the user applies a thrust to the door to close the door.

[0053] More specifically, since the pulling force or pushing force applied by the user each time is different, when the pulling force applied by the user is too large or the pushing force applied by the user is too large, the items placed on the door body will fall, resulting in waste of items. Therefore, in order to prevent the items placed on the door body from falling, when the door opening and closing state of the door body is detected to change, the door body is controlled accordingly according to the door body movement information value when the door opening and closing state of the door body is detected to change. In this embodiment, the movement information value of the door body includes: the acceleration value of the door body, the speed value of the door body, the thrust value of the door body, and the pulling value of the door body (the thrust value of the door body and the pulling value of the door body are the values ​​corresponding to the force applied by the user). Among them, an acceleration sensor can be set on the door body to obtain the acceleration value of the door body, a speed sensor can be set on the door body to obtain the speed value of the door body, and a pressure sensor can be set on the door body to obtain the thrust value of the door body or the tension value of the door body. The door body movement information value can be set according to actual needs. For example, the door body movement information value can be set as the acceleration value of the door body, the speed value of the door body, the thrust value of the door body, and the tension value of the door body. The obtained door body movement information value can be set according to actual needs, and this is not specifically limited in this embodiment. It should be noted that when a pressure sensor is set on the door body to obtain the force applied by the user, when it is detected that the door body needs to be opened, the door body movement information value to be obtained is the tension value of the door body, and when it is detected that the door body needs to be closed, the door body movement information value to be obtained is the thrust value of the door body.

[0054] S102: Determine whether the door movement information value meets a first preset condition.

[0055] In this embodiment, the first preset condition includes: the door movement information value is greater than the first preset threshold value. The first preset threshold value can be set according to actual needs, and the specific value of the first preset threshold value is not specifically limited in this embodiment. For example, when the door movement information value is the acceleration value of the door body, the first preset threshold value is a threshold value corresponding to the acceleration value of the door body.

[0056] S103: When the door movement information value satisfies a first preset condition, a target resistance corresponding to the door movement information value is determined.

[0057] In this embodiment, when the door movement information value satisfies the first preset condition, it indicates that during the door movement process, the force applied by the user is too large, so that the items placed on the door may fall. In order to prevent the items placed on the door from falling, when the door movement information value satisfies the first preset condition, a suitable resistance is provided during the door movement process to offset part of the force applied by the user, so that the door slowly moves to the corresponding state. Among them, providing a suitable resistance during the door movement process can be determined by the door movement information value obtained, and the specific determination method will be described below, and will not be repeated in this embodiment.

[0058] S104: In the process of the door body moving from the first state to the second state, using the target resistance to increase a first time duration for the door body to move from the first state to the second state.

[0059] In this embodiment, after the target resistance corresponding to the door movement information is determined, in the process of the door moving from the first state to the second state, the target resistance can be used to increase the first time length of the door moving from the first state to the second state, that is, the target resistance is used to make the door move slowly from the first state to the second state. It should be noted that the target resistance is an instantaneous resistance, that is, when it is determined that the first preset condition is met, the instantaneous resistance is provided. In this embodiment, the first time length is the time length of the door moving from the first state to the second state before the target resistance is used.

[0060] S105: When the door movement information value does not satisfy the first preset condition, the door moves from the first state to the second state.

[0061] In this embodiment, when the door movement information value does not meet the first preset condition, it indicates that the user did not apply too much force. At this time, there is no risk of objects placed on the door body falling. Therefore, there is no need to intervene in the process of the door body moving from the first state to the second state, so that the door body moves from the first state to the second state according to the force applied by the user.

[0062] The present embodiment provides a door control method, which, when detecting a change in the opening and closing state of the door, determines whether it is necessary to provide resistance during the movement of the door through the acquired door movement information value, and when it is determined that resistance is required, provides resistance during the movement of the door to offset a portion of the force applied by the user, so that the door slowly moves to the second state, thereby preventing objects on the door from falling off due to excessive force when the user opens or closes the door.

[0063] refer to Figure 2 , Figure 2 A schematic flow chart of another door control method provided by an embodiment of the present invention. A door control method provided by an embodiment of the present invention comprises the following steps:

[0064] S201: When a change in the door opening and closing state of the door is detected, a door movement information value of the door is obtained.

[0065] In this embodiment, the door opening and closing state includes a first state and a second state. Among them, step S201 is consistent with step S101, and the details can be referred to step S101, which will not be repeated in this embodiment.

[0066] S202: Determine whether the door movement information value meets a first preset condition.

[0067] S203: When the door movement information value satisfies the first preset condition, a target resistance corresponding to the door movement information value is determined.

[0068] In this embodiment, the first preset condition includes: the door movement information value is greater than the first preset threshold. Among them, step S202 is consistent with step S102, and step S203 is consistent with step S103. For details, please refer to step S102 and step S103.

[0069] Specifically, the target resistance in step S203 can be determined in the following manner:

[0070] The target resistance corresponding to the door movement information value is determined from the first association relationship, and the first association information stores a plurality of sets of correspondences between the door movement information value and the resistance.

[0071] More specifically, the first association relationship is determined through experimental results of multiple experiments, and after the first association relationship is determined, the first association relationship is stored.

[0072] In this embodiment, after executing step S203, a door control method provided in this embodiment further includes the following steps:

[0073] A second time duration for the door body to move from the first state to the second state is determined according to the target resistance.

[0074] The second time duration is greater than the first time duration, the first time duration is the time duration for the door body to move from the first state to the second state before the target resistance is used, and the second time duration is the time duration for the door body to move from the first state to the second state after the target resistance is used. The second time duration can be determined by the following method:

[0075] Determine a first door body acceleration value according to the target resistance and the magnitude of the force applied by the user (the thrust value of the door body or the pull value of the door body);

[0076] A second time duration for the door body to move from the first state to the second state is determined according to the first door body acceleration value.

[0077] Specifically, a correspondence between door acceleration values ​​and durations may be pre-stored, and after the first door acceleration value is determined, the second duration corresponding to the first door acceleration value is determined from the correspondence.

[0078] S204: In the process of the door body moving from the first state to the second state, using the target resistance to increase a first time duration for the door body to move from the first state to the second state.

[0079] In this embodiment, step S204 is consistent with step S104. In step S204, using the target resistance to increase the first time duration for the door body to move from the first state to the second state includes:

[0080] Determine a first direction of rotation of a drive device connected to the door body;

[0081] Determine a first rotational speed of the driving device corresponding to the target resistance;

[0082] Controlling the driving device to operate according to a first direction and a first speed to generate a target resistance;

[0083] The target resistance is used to increase a first time duration for the door body to move from a first state to a second state.

[0084] Specifically, the driving device connected to the door body is a driving motor, and the direction of the driving motor directly determines whether to generate resistance or power. In this embodiment, the direction of the driving device can be set according to actual needs, and is not specifically limited in this embodiment. For example, when the door body moves from an open state to a closed state, the driving motor can be set to rotate forward to generate resistance, and the driving motor can be set to rotate reversely to generate power. When the door body moves from a closed state to an open state, the driving motor can be set to rotate forward to generate power, and the driving motor can be set to rotate reversely to generate resistance. The speed of the driving motor directly determines the size of the generated power or the generated resistance. Therefore, the determined target resistance can be generated by controlling the direction and speed of the driving device.

[0085] More specifically, the corresponding relationship between the resistance and the rotation speed of the driving device can be pre-stored, and the first rotation speed corresponding to the target resistance can be determined according to the corresponding relationship. According to the change of the door body (i.e., moving from the first state to the second state), the first direction of the driving device connected to the door body is determined, and the details can be referred to the above.

[0086] In this embodiment, after executing step S204, a door control method provided in this embodiment further includes the following steps:

[0087] When the second time period is reached and it is detected that the door body has not moved to the second state, an alarm prompt event is triggered.

[0088] The refrigerator may be provided with a buzzer or a display screen, and when the second time period is reached and it is detected that the door body has not moved to the second state, an alarm is sounded through the buzzer, or an alarm message is displayed on the display screen. This embodiment can prompt the user whether the door body has moved to the corresponding position by triggering an alarm prompt event, so as to prevent the door body from being not closed, which affects the power consumption of the refrigerator and causes the food in the refrigerator to expire.

[0089] S205: When the door movement information value does not meet the first preset condition, determine whether the door movement information value meets the second preset condition.

[0090] In this embodiment, the second preset condition includes: the door movement information value is less than or equal to the second preset threshold, and the second preset threshold is less than the first preset threshold. Among them, the second preset threshold can be set according to actual needs, and the specific value of the second threshold is not specifically limited in this embodiment. When the door movement information value does not meet the first preset condition, it indicates that the force applied by the user is not too large. At this time, there is no risk of falling of the items placed on the door body, but there may be a situation where the force applied by the user is too small, so that the door body is not completely closed or not completely opened. When the door body is not completely closed, it may cause the refrigerator with the door body to waste electricity, and it may also cause the food in the refrigerator to expire, affecting the user's experience; when the door body is not fully opened, it may affect the user's access to the food in the refrigerator, and it will also affect the user's experience. Therefore, in order to ensure that the door body is fully opened or fully closed to improve the user's experience, when the door movement information value does not meet the first preset condition, the second preset condition is judged according to the obtained door movement information value.

[0091] S206: When the door movement information value satisfies the second preset condition, determining the target power corresponding to the door movement information value.

[0092] In this embodiment, when the door movement information value satisfies the second preset condition, it indicates that during the door movement process, the force applied by the user is too small, which may cause the door to be not completely closed or not completely opened, affecting the user's experience. Therefore, in order to make the door completely closed or completely opened, a suitable power can be provided during the movement of the door based on the force applied by the user, so that the door can be completely closed or completely opened. Among them, a suitable power can be determined by the obtained door movement information, as described below.

[0093] Specifically, the target power corresponding to the door movement information value can be determined in the following way:

[0094] Determine a target difference between the door movement information value and the target mean value;

[0095] The target power corresponding to the target difference is determined from the second association relationship, and the second association relationship stores a plurality of sets of correspondences between the difference and the power.

[0096] More specifically, the target mean can be determined as follows:

[0097] Obtain multiple door movement information values ​​within a preset time period;

[0098] The average of multiple door movement information values ​​is determined as the target average.

[0099] In this embodiment, the preset duration can be set according to actual needs, and the specific value of the preset duration is not specifically limited in this embodiment. Wherein, each preset duration updates the target mean. The second association relationship is determined through the experimental results of multiple experiments, and after the second association relationship is determined, the second association relationship is stored.

[0100] In this embodiment, after executing step S206, a door control method provided in this embodiment further includes the following steps:

[0101] According to the target power, a third time duration for the door body to move from the first state to the second state is determined.

[0102] The third time duration is the time duration for the door body to move from the first state to the second state by using the target power. The third time duration can be determined by the following method:

[0103] determining a second door body acceleration value according to the target power and the force applied by the user;

[0104] A third time duration for the door body to move from the first state to the second state is determined according to the second door body acceleration value.

[0105] Specifically, a correspondence between door acceleration values ​​and durations may be pre-stored, and after the second door acceleration value is determined, the third duration corresponding to the second door acceleration value is determined from the correspondence.

[0106] S207: When the door body moves from the first state to the second state, the door body is driven to move according to the target power.

[0107] In this embodiment, after the target power corresponding to the door movement information is determined, the door can be driven to move according to the target power during the process of the door moving from the first state to the second state, that is, based on the force applied by the user, a part of the power is provided during the door movement process so that the door can be completely closed or completely opened. It should be noted that the target power is instantaneous power, that is, when it is determined that the second preset condition is met, the instantaneous resistance is provided.

[0108] In this embodiment, in step S207, driving the door body to move according to the target power includes:

[0109] Determine a second direction of rotation of a drive device connected to the door body;

[0110] Determine a second rotation speed of the driving device corresponding to the target power;

[0111] Controlling the driving device to operate according to a second direction and a second speed to generate a target power;

[0112] The door body is driven to move according to the target power.

[0113] Specifically, the driving device connected to the door body is also a driving motor. The direction and speed setting of the driving motor can refer to the above description and will not be described in detail in this embodiment.

[0114] More specifically, the corresponding relationship between the power and the rotation speed of the driving device can be pre-stored, and the second rotation speed corresponding to the target power can be determined according to the corresponding relationship. According to the door body condition (i.e., moving from the first state to the second state), the second direction of the driving device connected to the door body is determined, and the details can be referred to the above.

[0115] In this embodiment, after executing step S207, a door control method provided in this embodiment further includes the following steps:

[0116] When the third time period is reached and it is detected that the door body has not moved to the second state, an alarm prompt event is triggered.

[0117] The refrigerator may be provided with a buzzer or a display screen, and when the third time period is reached and it is detected that the door body has not moved to the second state, an alarm is sounded through the buzzer, or an alarm message is displayed on the display screen. This embodiment can prompt the user whether the door body has moved to the corresponding position by triggering an alarm prompt event, so as to prevent the door body from affecting the power consumption of the refrigerator and causing the food in the refrigerator to expire when it is not closed.

[0118] S208: When the door movement information value does not satisfy the second preset condition, the door moves from the first state to the second state.

[0119] In this embodiment, when the door movement information value does not meet the second preset condition, it indicates that the force applied by the user is neither too large nor too small. At this time, there is no risk of objects placed on the door body falling, nor is there a problem of the door body not being fully closed or fully opened. Therefore, there is no need to intervene in the process of the door body moving from the first state to the second state, so that the door body moves from the first state to the second state according to the force applied by the user.

[0120] The present embodiment provides a door control method, which, when detecting a change in the opening and closing state of the door, determines whether it is necessary to provide resistance during the movement of the door through the acquired door movement information value, and when it is determined that resistance is required, provides resistance during the movement of the door to offset a portion of the force applied by the user, so that the door slowly moves to the second state, thereby preventing objects on the door from falling off due to excessive force when the user opens or closes the door.

[0121] refer to Figure 3 , Figure 3 A schematic diagram of the structure of a door control device provided in an embodiment of the present invention. A door control device provided in an embodiment of the present invention comprises an acquisition module 10, a determination module 20 and a processing module 30, wherein the acquisition module 10 is used to acquire a door movement information value of the door when a change in the door opening and closing state of the door is detected, the door opening and closing state comprising a first state and a second state; the determination module 20 is used to determine a target resistance corresponding to the door movement information value when the door movement information value satisfies a first preset condition, the first preset condition comprising: the door movement information value is greater than a first preset threshold; the processing module 30 is used to increase a first duration of time for the door to move from the first state to the second state by using the target resistance during the process of the door moving from the first state to the second state.

[0122] In this embodiment, the determination module 20 is further used for:

[0123] When the door movement information value satisfies a second preset condition, the target power corresponding to the door movement information value is determined, and the second preset condition includes: the door movement information value is less than or equal to a second preset threshold, and the second preset threshold is less than the first preset threshold.

[0124] In this embodiment, the processing module 30 is further used for:

[0125] During the process of the door body moving from the first state to the second state, the door body is driven to move according to the target power.

[0126] In this embodiment, the determination module 20 is further used for:

[0127] The target resistance corresponding to the door movement information value is determined from a first association relationship, wherein the first association relationship stores a plurality of sets of correspondences between the door movement information value and the resistance.

[0128] In this embodiment, the determination module 20 is further used for:

[0129] Determining a target difference between the door movement information value and a target mean value;

[0130] The target power corresponding to the target difference is determined from the second association relationship, and the second association relationship stores a plurality of sets of correspondences between differences and power.

[0131] In this embodiment, the acquisition module 10 is further used for:

[0132] A plurality of door movement information values ​​within a preset time period are obtained.

[0133] In this embodiment, the determination module 20 is further used for:

[0134] The average of the plurality of door movement information values ​​is determined as the target average.

[0135] In this embodiment, the determination module 20 is further used for:

[0136] Determining a first direction of rotation of a drive device connected to the door body;

[0137] A first rotation speed of the driving device corresponding to the target resistance is determined.

[0138] In this embodiment, the processing module 30 is further used for:

[0139] controlling the driving device to operate according to the first direction and the first speed to generate the target resistance;

[0140] The target resistance is used to increase a first time duration for the door body to move from the first state to the second state.

[0141] In this embodiment, the determination module 20 is further used for:

[0142] determining a second direction of rotation of the drive device;

[0143] A second rotation speed of the driving device corresponding to the target power is determined.

[0144] In this embodiment, the processing module 30 is further used for:

[0145] controlling the driving device to operate according to the second direction and the second speed to generate the target power;

[0146] The door body is driven to move according to the target power.

[0147] In this embodiment, the determination module 20 is further used for:

[0148] A second time duration for the door body to move from the first state to the second state is determined according to the target resistance, and the second time duration is greater than the first time duration.

[0149] The present embodiment provides a door control device, further comprising a trigger module, the trigger module being used for:

[0150] When the second time period is reached and it is detected that the door body has not moved to the second state, an alarm prompt event is triggered.

[0151] The present embodiment provides a door control device, which, when detecting a change in the opening and closing state of the door, determines whether it is necessary to provide resistance during the movement of the door through the acquired door movement information value, and when it is determined that resistance is necessary, provides resistance during the movement of the door to offset a portion of the force applied by the user, so that the door slowly moves to a second state, thereby preventing objects on the door from falling off due to excessive force when the user opens or closes the door.

[0152] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, Figure 4 The electronic device 400 shown includes: at least one processor 401, a memory 402, at least one network interface 404 and other user interfaces 403. The various components in the electronic device 400 are coupled together via a bus system 405. It is understood that the bus system 405 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 405 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 405 is not shown in FIG. Figure 4 Various buses are labeled as bus system 405 .

[0153] The user interface 403 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).

[0154] It can be understood that the memory 402 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 402 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0155] In some implementations, the memory 402 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 4021 and application programs 4022 .

[0156] The operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 4022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application 4022.

[0157] In an embodiment of the present invention, by calling a program or instruction stored in the memory 402, specifically, a program or instruction stored in the application 4022, the processor 401 is used to execute the method steps provided by each method embodiment, for example including: when a change in the door body state of the door body is detected, obtaining the door body movement information of the door body, the door body state including a first state and a second state; when the door body movement information satisfies a first preset condition, determining the target resistance corresponding to the door body movement information, the first preset condition including: the door body movement information is greater than a first preset threshold; in the process of the door body moving from the first state to the second state, using the target resistance to increase the first time duration for the door body to move from the first state to the second state.

[0158] The method disclosed in the above embodiment of the present invention can be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 401 or the instruction in the form of software. The above processor 401 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402 and completes the steps of the above method in combination with its hardware.

[0159] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.

[0160] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0161] The electronic device provided in this embodiment may be Figure 4 The electronic device shown in FIG. 1 may perform the following steps: Figure 1-2 All steps of the control method of the middle door body are realized Figure 1-2 For details, please refer to Figure 1-2 For the sake of brevity, the relevant description is not repeated here.

[0162] The embodiment of the present invention also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.

[0163] When one or more programs in the storage medium can be executed by one or more processors, the door control method executed on the control device side of the door is implemented.

[0164] The processor is used to execute the control program of the door body stored in the memory to implement the following steps of the door body control method executed on the control device side of the door body: when it is detected that the door opening and closing state of the door body changes, the door body movement information value of the door body is obtained, and the door body opening and closing state includes a first state and a second state; when the door body movement information value meets a first preset condition, the target resistance corresponding to the door body movement information value is determined, and the first preset condition includes: the door body movement information value is greater than a first preset threshold value; in the process of the door body moving from the first state to the second state, the target resistance is used to increase the first time duration for the door body to move from the first state to the second state.

[0165] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0166] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0167] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A door control method, characterized in that: include: When a change in the door opening and closing state of the door is detected, a door movement information value of the door is obtained, wherein the door opening and closing state includes a first state and a second state; When the door movement information value satisfies a first preset condition, determining a target resistance corresponding to the door movement information value, wherein the first preset condition includes: the door movement information value is greater than a first preset threshold; Determining a second time duration for the door body to move from the first state to the second state according to the target resistance, wherein the second time duration is greater than the first time duration; In the process of the door body moving from the first state to the second state, using the target resistance to increase a first time duration for the door body to move from the first state to the second state; When the second time period is reached and it is detected that the door body has not moved to the second state, an alarm prompt event is triggered.

2. The method according to claim 1, characterized in that After executing the step of acquiring the door movement information value of the door when detecting that the door opening and closing state of the door changes, the method further includes: When the door movement information value satisfies a second preset condition, determining a target power corresponding to the door movement information value, wherein the second preset condition includes: the door movement information value is less than or equal to a second preset threshold, and the second preset threshold is less than the first preset threshold; During the process of the door body moving from the first state to the second state, the door body is driven to move according to the target power.

3. The method according to claim 1, characterized in that The determining of the target resistance corresponding to the door movement information value includes: The target resistance corresponding to the door movement information value is determined from a first association relationship, wherein the first association relationship stores a plurality of sets of correspondences between the door movement information value and the resistance.

4. The method according to claim 2, characterized in that: The determining of the target power corresponding to the door movement information value includes: Determining a target difference between the door movement information value and a target mean value; The target power corresponding to the target difference is determined from a second association relationship, wherein the second association relationship stores a plurality of sets of correspondences between differences and power.

5. The method according to claim 4, characterized in that The target mean is determined as follows: Acquire a plurality of door movement information values ​​within a preset time period; The average of the plurality of door movement information values ​​is determined as the target average.

6. The method according to claim 2, characterized in that The using the target resistance to increase a first duration for the door body to move from the first state to the second state includes: Determining a first direction of rotation of a drive device connected to the door body; Determine a first rotation speed of the driving device corresponding to the target resistance; controlling the driving device to operate according to the first direction and the first speed to generate the target resistance; Using the target resistance to increase a first time duration for the door body to move from the first state to the second state; or, The step of driving the door body to move according to the target power comprises: determining a second direction of rotation of the drive device; Determine a second rotation speed of the driving device corresponding to the target power; controlling the driving device to operate according to the second direction and the second speed to generate the target power; The door body is driven to move according to the target power.

7. A door control device, characterized in that: include: An acquisition module, used for acquiring a door movement information value of the door body when detecting a change in the door opening and closing state of the door body, wherein the door opening and closing state includes a first state and a second state; A determination module, configured to determine a target resistance corresponding to the door movement information value when the door movement information value satisfies a first preset condition, wherein the first preset condition includes: the door movement information value is greater than a first preset threshold; The determination module is further used to determine a second time duration for the door body to move from the first state to the second state according to the target resistance, wherein the second time duration is greater than the first time duration; A processing module, configured to increase a first time duration for the door body to move from the first state to the second state by using the target resistance during the process of the door body moving from the first state to the second state; A trigger module is used to trigger an alarm prompt event when the second time period is reached and it is detected that the door body has not moved to the second state.

8. An electronic device, characterized in that: include: A processor and a memory, wherein the processor is used to execute a door control program stored in the memory to implement the door control method according to any one of claims 1 to 6.

9. A refrigerator, characterized in that: Comprising the electronic device as claimed in claim 8.

10. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the door control method according to any one of claims 1 to 6.