Door control method and system of electronic device, electronic device, and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NINGBO FOTILE KITCHEN WARE CO LTD
- Filing Date
- 2023-04-03
- Publication Date
- 2026-06-19
AI Technical Summary
When using electronic devices, it is difficult for users to open the doors of the devices conveniently if their hands are occupied, especially for built-in kitchen appliances.
By placing sensors in front of electronic devices, the system can identify user movements of body parts other than hands, such as foot movements, and determine whether the conditions for opening the door are met. For example, if the user taps their foot twice in a row, the system can control the door to open automatically.
It enables automatic door opening by recognizing body movements when the user's hands are occupied, improving convenience and work efficiency.
Smart Images

Figure CN116498183B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electrical technology, and in particular to a door control method, system, electronic device, and storage medium for an electronic device. Background Technology
[0002] Users typically need to manually open the doors of electronic devices (such as home appliances). To address the inconvenience of bending over to open the doors of built-in kitchen appliances, such as ovens and bottom drawers of refrigerators, some appliances can use a tapping panel, with algorithms recognizing the tapping motion to intelligently control the door opening. However, when using electronic devices (such as built-in kitchen appliances), it is inconvenient to open the door if both hands are occupied (e.g., holding a baking tray), as there is no free hand to open the door directly or by tapping the panel. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to overcome the defect in the prior art that it is inconvenient for users to open the door of electronic devices when their hands are occupied, and to provide a door control method, electronic device and storage medium for electronic devices.
[0004] The present invention solves the above-mentioned technical problems through the following technical solution:
[0005] In a first aspect, the present invention provides a door control method for an electronic device, the electronic device including at least one sensing sensor, the detection range of the sensing sensor covering a predetermined ground area in front of the door of the electronic device, the door control method comprising:
[0006] Acquire the measurement data collected by the sensing sensor;
[0007] Based on the measurement data, the user's body movements, excluding the hands, are identified;
[0008] Determine whether the action meets the door opening conditions. If the action meets the door opening conditions, then control the door to open.
[0009] Optionally, the body parts other than the hands include the legs and feet.
[0010] Optionally, the leg and foot portion includes the user's foot.
[0011] Optionally, the door opening conditions include: two user foot tapping actions occurring within a first preset time period.
[0012] Optionally, the door opening conditions include: two user foot-pointing actions occurring within the first preset time period after the user's foot enters the preset ground area.
[0013] Optionally, the sensing sensor includes at least one of a distance sensor, a motion detection sensor, and a human body detection sensor.
[0014] Optionally, when the sensing sensor is the distance sensor, the measurement data is distance, and obtaining the user's foot movement based on the measurement data includes:
[0015] If the distance decreases and then increases within a second preset time period, and the magnitude of the distance change is greater than a preset magnitude threshold, then the user's foot movement indicates that a user's foot-pointing action has occurred.
[0016] Wherein, the first preset duration is more than twice the second preset duration.
[0017] Optionally, when the sensing sensor is the distance sensor, obtaining the user's foot movement based on the measurement data further includes:
[0018] If, within a third preset time period, the slope of the distance is less than a preset slope threshold and the minimum distance change is greater than a preset distance change threshold, then the user's foot movement indicates that the user's foot has entered the preset ground area.
[0019] The minimum distance variation is the difference between the initial distance at the initial moment and the maximum distance within the third preset time period.
[0020] Secondly, the present invention also provides a door control system for an electronic device, the door control system comprising:
[0021] The acquisition module is used to acquire measurement data collected by the sensing sensor;
[0022] The motion recognition module is used to identify the user's body movements other than those of the hands based on the measurement data.
[0023] The door opening module is used to determine whether the action meets the door opening conditions. If the action meets the door opening conditions, the module controls the door to open.
[0024] Thirdly, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the aforementioned gate control method of the electronic device.
[0025] Fourthly, the present invention also provides a computer storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the aforementioned gate control method for electronic devices.
[0026] The positive and progressive effects of this invention are as follows: by collecting measurement data through a sensor, the movement of the user's body parts other than the hands can be identified. The user is within a certain distance from the electronic device and is not in contact with the electronic device. Based on the movement of the user's body parts other than the hands, the door can be controlled. This solves the problem that it is inconvenient for the user to open the door of the electronic device when both hands are occupied, thus improving convenience and work efficiency. Attached Figure Description
[0027] Figure 1 This is a flowchart of the gate control method for an electronic device according to Embodiment 1 of the present invention.
[0028] Figure 2 The waveform diagram shows the measurement data of an example of the door control method of an electronic device according to Embodiment 1 of the present invention.
[0029] Figure 3 This is a flowchart illustrating an example of a gate control method for an electronic device according to Embodiment 1 of the present invention.
[0030] Figure 4 This is a schematic diagram of the door control system of the electronic device according to Embodiment 2 of the present invention.
[0031] Figure 5 This is a schematic diagram of the electronic device according to Embodiment 3 of the present invention. Detailed Implementation
[0032] The present invention will be further illustrated by way of embodiments below, but the present invention is not limited to the scope of the embodiments described herein.
[0033] Example 1
[0034] This embodiment provides a door control method for an electronic device. The electronic device includes at least one sensing sensor, and the detection range of the sensing sensor covers a predetermined ground area in front of the door of the electronic device. (Refer to...) Figure 1 Door control methods include:
[0035] S11. Acquire the measurement data collected by the sensing sensor.
[0036] S12. Identify the user's body movements other than hands based on measurement data.
[0037] S13. Determine whether the action meets the door opening conditions. If the action meets the door opening conditions, then control the door to open.
[0038] Typically, one or two sensors are placed on the front of the electronic device near the ground to detect movements of the user's body parts other than the hands (e.g., foot movements). If two sensors are used, they can be positioned opposite each other on one side of the user's body (e.g., a foot). There are no restrictions on the number of sensors, their installation location, or their orientation.
[0039] The sensing sensor and its detection range can be set to a preset ground area according to actual needs.
[0040] Door opening conditions can include a combination of actions consisting of multiple body parts (such as the user's feet) to prevent a single erroneous action from triggering door operation. For example, door opening conditions could include two consecutive knee shakes, three shoulder shrugs, one nod followed by one head shake, etc.
[0041] This embodiment identifies the user's body movements (excluding hands) based on measurement data collected by a sensor. The user is within a certain distance from the electronic device and is not in contact with it. The door can be controlled based on the user's body movements (excluding hands), solving the problem of inconvenience in opening the door of the electronic device when the user's hands are occupied, thus improving convenience and work efficiency.
[0042] In practice, body parts other than the hands include the legs and feet.
[0043] Among these, leg and foot movements are easier to perform and more comfortable than upper body movements. Door opening conditions can be set based on leg and foot movements.
[0044] In practice, the leg and foot area includes the user's feet.
[0045] Among these, foot movements are easier to control and more comfortable than other leg and foot movements such as knee movements. Door opening conditions can be set based on leg and foot movements. For example, door opening conditions can include a toe-pointing motion, during which the user's heel remains on the ground to help the user maintain balance.
[0046] In specific implementation, the conditions for the door to open include: two user foot tapping actions occurring within a first preset time period.
[0047] The foot-pointing action is convenient for users to operate and helps them maintain their balance. The door can be opened by two foot-pointing actions within a short period of time, allowing the user to control the door to open.
[0048] This does not restrict the movement to one foot or both feet.
[0049] In practice, the conditions for the door to open include: two foot-pointing actions by the user occurring within the first preset time period after the user's feet enter the preset ground area.
[0050] The door opening condition can be two foot tapping actions within a short period of time after the user's foot enters the preset ground range. The user can control the door to open by performing two foot tapping actions after the user's foot enters the preset ground range. Recognizing the user's foot action when entering the preset ground range can further avoid erroneous door opening caused by misoperation.
[0051] In practice, the sensing sensor includes at least one of a distance sensor, a motion detection sensor, and a human body detection sensor.
[0052] Among them, sensing sensors can be set according to actual needs to detect the user's foot movements.
[0053] In specific implementation, when the sensing sensor is a distance sensor, the measured data is distance, and step S12 includes:
[0054] If, within the second preset time period, the distance first decreases and then increases, and the magnitude of the distance change is greater than the preset magnitude threshold, then the user's foot movement indicates that a user's foot-pointing action has occurred.
[0055] The first preset duration is more than twice the second preset duration.
[0056] In this system, decreasing the distance first indicates that the foot is lifted, and increasing the distance again indicates that the foot is lowered. The amplitude threshold ensures that the foot movement is large enough to avoid accidental opening of the door due to erroneous movements.
[0057] The first preset duration, the second preset duration, and the amplitude threshold (e.g., a positive number) can be set according to actual needs.
[0058] Preferably, the first time interval between two user tap actions is greater than a first interval duration threshold, so as to completely and conveniently distinguish between the two actions, which helps to improve the accuracy of action recognition and further avoids the door from being opened accidentally due to erroneous actions. The first interval duration threshold can be set according to actual needs.
[0059] This embodiment provides a specific implementation method for recognizing the characteristics of a user's foot-pointing motion using a distance sensor.
[0060] In a specific implementation, when the sensing sensor is a distance sensor, step S12 further includes:
[0061] If, within a third preset time period, the slope of the distance is less than a preset slope threshold and the minimum distance change is greater than a preset distance change threshold, then the user's foot movement indicates that the user's foot has entered a preset ground area.
[0062] The minimum distance variation is the difference between the initial distance at the initial moment and the maximum distance within the third preset time period.
[0063] The initial time can be immediately after powering on or when there are no people around after installation. The initial distance is the distance collected by the sensor when there are no user feet within the preset ground area. The initial distance can be used as a reference for determining whether there are user feet within the preset ground area.
[0064] The minimum distance variation measures the height of a user's feet or an object within a preset ground area. Comparing the minimum distance variation with a distance variation threshold can be used to determine whether it is a user's feet or an object.
[0065] At the same time, when a user's foot enters the preset ground range, there must be a process of the foot being lowered from top to bottom to the ground, that is, the slope of the distance is less than the slope threshold (e.g., zero or a negative number).
[0066] You can set the first preset duration, the second preset duration, the third preset duration, the slope threshold, and the distance variation threshold (e.g., a positive number) according to actual needs.
[0067] Preferably, the second time interval between the user's foot entering the preset ground area and the first foot-pointing action is greater than a second interval duration threshold, so as to completely and conveniently distinguish the two actions, which helps to improve the accuracy of action recognition and further avoids the door from being opened accidentally due to erroneous actions. The second interval duration threshold can be set according to actual needs.
[0068] In practice, the electronic device also includes a light source projection module, which is used to indicate a preset ground area through projected light.
[0069] Door control methods also include:
[0070] Turn on the control light source projection module.
[0071] Once the light source projection module is turned on, the projected light indicates a preset ground area, so that users can make foot movements within the detection range of the sensing sensor.
[0072] The following is an example of a door control method for electronic devices when the sensing sensor is a distance sensor.
[0073] The door opening conditions include: two foot-pointing actions by the user occurring within the first preset time period after the user's feet enter the preset ground area.
[0074] Figure 2 The waveform of the measurement data (i.e., distance) collected by the distance sensor is shown. Figure 3 A flowchart of an example is shown.
[0075] Each foot movement can be separated by t1 (the second time interval) and t2 (the first time interval), the first preset duration can be adjusted by t2 and the second preset duration, and the third preset duration can be adjusted by t1.
[0076] Figure 3 In the threshold, ΔL is the minimum distance variation, threshold 1 is the slope threshold, threshold 2 is the distance variation threshold, threshold 3 is the amplitude threshold, threshold 4 is the second interval duration threshold, and threshold 5 is the first interval duration threshold.
[0077] Example 2
[0078] This embodiment provides a door control system for an electronic device, referring to... Figure 4 The door control system includes:
[0079] Acquisition module 1 is used to acquire measurement data collected by the sensing sensor.
[0080] The motion recognition module 2 is used to identify the user's body movements other than those of the hands based on the measurement data.
[0081] The door opening module 3 is used to determine whether the action meets the door opening conditions. If the action meets the door opening conditions, the door is controlled to open.
[0082] Typically, one or two sensors are placed on the front of the electronic device near the ground to detect movements of the user's body parts other than the hands (e.g., foot movements). If two sensors are used, they can be positioned opposite each other on one side of the user's body (e.g., a foot). There are no restrictions on the number of sensors, their installation location, or their orientation.
[0083] The sensing sensor and its detection range can be set to a preset ground area according to actual needs.
[0084] Door opening conditions can include a combination of actions consisting of multiple body parts (such as the user's feet) to prevent a single erroneous action from triggering door operation. For example, door opening conditions could include two consecutive knee shakes, three shoulder shrugs, one nod followed by one head shake, etc.
[0085] This embodiment identifies the user's body movements (excluding hands) based on measurement data collected by a sensor. The user is within a certain distance from the electronic device and is not in contact with it. The door can be controlled based on the user's body movements (excluding hands), solving the problem of inconvenience in opening the door of the electronic device when the user's hands are occupied, thus improving convenience and work efficiency.
[0086] In practice, body parts other than the hands include the legs and feet.
[0087] Among these, leg and foot movements are easier to perform and more comfortable than upper body movements. Door opening conditions can be set based on leg and foot movements.
[0088] In practice, the leg and foot area includes the user's feet.
[0089] Among these, foot movements are easier to control and more comfortable than other leg and foot movements such as knee movements. Door opening conditions can be set based on leg and foot movements. For example, door opening conditions can include a toe-pointing motion, during which the user's heel remains on the ground to help the user maintain balance.
[0090] In specific implementation, the conditions for the door to open include: two user foot tapping actions occurring within a first preset time period.
[0091] The foot-pointing action is convenient for users to operate and helps them maintain their balance. The door can be opened by two foot-pointing actions within a short period of time, allowing the user to control the door to open.
[0092] This does not restrict the movement to one foot or both feet.
[0093] In practice, the conditions for the door to open include: two foot-pointing actions by the user occurring within the first preset time period after the user's feet enter the preset ground area.
[0094] The door opening condition can be two foot tapping actions within a short period of time after the user's foot enters the preset ground range. The user can control the door to open by performing two foot tapping actions after the user's foot enters the preset ground range. Recognizing the user's foot action when entering the preset ground range can further avoid erroneous door opening caused by misoperation.
[0095] In practice, the sensing sensor includes at least one of a distance sensor, a motion detection sensor, and a human body detection sensor.
[0096] Among them, sensing sensors can be set according to actual needs to detect the user's foot movements.
[0097] In practice, when the sensing sensor is a distance sensor, the measured data is distance.
[0098] The action recognition module 2 is also used to indicate that if there is a change in distance that first decreases and then increases within a second preset time period and the magnitude of the distance change is greater than a preset magnitude threshold, then the user's foot movement indicates that a user's foot tapping action has occurred.
[0099] The first preset duration is more than twice the second preset duration.
[0100] In this system, decreasing the distance first indicates that the foot is lifted, and increasing the distance again indicates that the foot is lowered. The amplitude threshold ensures that the foot movement is large enough to avoid accidental opening of the door due to erroneous movements.
[0101] The first preset duration, the second preset duration, and the amplitude threshold (e.g., a positive number) can be set according to actual needs.
[0102] Preferably, the first time interval between two user tap actions is greater than a first interval duration threshold, so as to completely and conveniently distinguish between the two actions, which helps to improve the accuracy of action recognition and further avoids the door from being opened accidentally due to erroneous actions. The first interval duration threshold can be set according to actual needs.
[0103] This embodiment provides a specific implementation method for recognizing the characteristics of a user's foot-pointing motion using a distance sensor.
[0104] In specific implementation, when the sensing sensor is a distance sensor, the action recognition module 2 is also used to indicate that the user's foot action indicates that the user's foot has entered the preset ground range if the slope of the distance is less than the preset slope threshold and the minimum distance change is greater than the preset distance change threshold within a third preset time period.
[0105] The minimum distance variation is the difference between the initial distance at the initial moment and the maximum distance within the third preset time period.
[0106] The initial time can be immediately after powering on or when there are no people around after installation. The initial distance is the distance collected by the sensor when there are no user feet within the preset ground area. The initial distance can be used as a reference for determining whether there are user feet within the preset ground area.
[0107] The minimum distance variation measures the height of a user's feet or an object within a preset ground area. Comparing the minimum distance variation with a distance variation threshold can be used to determine whether it is a user's feet or an object.
[0108] At the same time, when a user's foot enters the preset ground range, there must be a process of the foot being lowered from top to bottom to the ground, that is, the slope of the distance is less than the slope threshold (e.g., zero or a negative number).
[0109] You can set the first preset duration, the second preset duration, the third preset duration, the slope threshold, and the distance variation threshold (e.g., a positive number) according to actual needs.
[0110] Preferably, the second time interval between the user's foot entering the preset ground area and the first foot-pointing action is greater than a second interval duration threshold, so as to completely and conveniently distinguish the two actions, which helps to improve the accuracy of action recognition and further avoids the door from being opened accidentally due to erroneous actions. The second interval duration threshold can be set according to actual needs.
[0111] In practice, the electronic device also includes a light source projection module, which is used to indicate a preset ground area through projected light.
[0112] The door control system also includes:
[0113] Light source projection control module 4 is used to control the light source projection module to be turned on.
[0114] Once the light source projection module is turned on, the projected light indicates a preset ground area, so that users can make foot movements within the detection range of the sensing sensor.
[0115] The following is an example of a door control method for electronic devices when the sensing sensor is a distance sensor.
[0116] The door opening conditions include: two foot-pointing actions by the user occurring within the first preset time period after the user's feet enter the preset ground area.
[0117] Figure 2 The waveform of the measurement data (i.e., distance) collected by the distance sensor is shown. Figure 3 A flowchart of an example is shown.
[0118] Each foot movement can be separated by t1 (the second time interval) and t2 (the first time interval), the first preset duration can be adjusted by t2 and the second preset duration, and the third preset duration can be adjusted by t1.
[0119] Figure 3 In the threshold, ΔL is the minimum distance variation, threshold 1 is the slope threshold, threshold 2 is the distance variation threshold, threshold 3 is the amplitude threshold, threshold 4 is the second interval duration threshold, and threshold 5 is the first interval duration threshold.
[0120] Example 3
[0121] Figure 5 This is a schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present invention. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the gate control method of the electronic device in Embodiment 1. Figure 5 The electronic device 30 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.
[0122] The electronic device 30 may be in the form of a general-purpose computing device, such as a server device. The components of the electronic device 30 may include, but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including memory 32 and processor 31).
[0123] Bus 33 includes a data bus, an address bus, and a control bus.
[0124] The memory 32 may include volatile memory, such as random access memory (RAM) 321 and / or cache memory 322, and may further include read-only memory (ROM) 323.
[0125] The memory 32 may also include a program / utility 325 having a set (at least one) of program modules 324, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0126] The processor 31 executes various functional applications and data processing by running computer programs stored in the memory 32, such as the door control method of the electronic device in Embodiment 1 of the present invention.
[0127] Electronic device 30 can also communicate with one or more external devices 34 (e.g., buttons, pointing devices, etc.). This communication can be performed via input / output (I / O) interface 35. Furthermore, the model-generated electronic device 30 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 36. As shown in the figure, network adapter 36 communicates with other modules of the model-generated electronic device 30 via bus 33. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the model-generated electronic device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.
[0128] In a specific implementation, the electronic device 30 also includes at least one sensing sensor, a door and a door drive device, and the detection range of the sensing sensor covers a preset ground area in front of the door of the electronic device.
[0129] The processor 31 is also electrically connected to the sensing sensor and the door drive device, respectively.
[0130] The sensing sensor is used to send the collected measurement data to the processor.
[0131] The door drive device is used to receive control commands sent by the processor 31 and drive the door to open and close according to the control commands.
[0132] In a specific implementation, the electronic device 30 also includes a light source projection module, and the processor 31 is electrically connected to the light source projection module. The light source projection module is used to indicate a preset ground range through the projected light.
[0133] Processor 31 controls the light source projection module to turn on.
[0134] Once the light source projection module is turned on, the projected light indicates a preset ground area, so that users can make foot movements within the detection range of the sensing sensor.
[0135] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module; conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules for embodiment.
[0136] Example 4
[0137] This embodiment provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the gate control method of the electronic device in Embodiment 1.
[0138] The readable storage medium may be more specifically adopted, including but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device, or any suitable combination thereof.
[0139] In a possible implementation, the present invention can also be implemented as a program product comprising program code, which, when the program product is run on a terminal device, is used to cause the terminal device to execute the door control method of the electronic device in Embodiment 1.
[0140] The program code for executing the present invention can be written in any combination of one or more programming languages. The program code can be executed entirely on the user device, partially on the user device, as a standalone software package, partially on the user device and partially on a remote device, or entirely on a remote device.
[0141] While specific embodiments of the present invention have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but all such changes and modifications fall within the scope of protection of the present invention.
Claims
1. A gate control method for an electronic device, characterized in that, The electronic device includes at least one sensing sensor, the detection range of which covers a preset ground area in front of the door of the electronic device, and the door control method includes: Acquire the measurement data collected by the sensing sensor; Based on the measurement data, the user's body movements, excluding the hands, are identified; Determine whether the action meets the door opening conditions; if the action meets the door opening conditions, control the door to open. The body parts other than the hands include the legs and feet; The leg and foot area includes the user's feet; The door opening conditions include: two user foot tapping actions occurring within a first preset time period; The sensing sensor includes at least one of a distance sensor, a motion detection sensor, and a human body detection sensor; When the sensing sensor is the distance sensor, the measurement data is distance, and obtaining the user's foot movement based on the measurement data includes: If the distance decreases and then increases within a second preset time period, and the magnitude of the distance change is greater than a preset magnitude threshold, then the user's foot movement indicates that a user's foot-pointing action has occurred. Wherein, the first preset duration is more than twice the second preset duration.
2. The door control method for an electronic device as described in claim 1, characterized in that, The door opening conditions include: two user foot-pointing actions occurring within the first preset time period after the user's feet enter the preset ground area.
3. The door control method for an electronic device as described in claim 1, characterized in that, The step of obtaining the user's foot movement based on the measurement data further includes: If, within a third preset time period, the slope of the distance is less than a preset slope threshold and the minimum distance change is greater than the distance change threshold, then the user's foot movement indicates that the user's foot has entered the preset ground area. Wherein, the minimum distance variation is the difference between the initial distance at the initial moment and the maximum distance within the third preset time period; The slope of the distance is the rate at which the distance from the user's foot to the ground changes over time.
4. A door control system of an electronic device, characterized by comprising: The door control system includes: The acquisition module is used to acquire measurement data collected by the sensing sensor; The motion recognition module is used to identify the user's body movements other than those of the hands based on the measurement data. The door opening module is used to determine whether the action meets the door opening conditions. If the action meets the door opening conditions, the module controls the door to open. The body parts other than the hands include the legs and feet; The leg and foot area includes the user's feet; The door opening conditions include: two user foot tapping actions occurring within a first preset time period; The sensing sensor includes at least one of a distance sensor, a motion detection sensor, and a human body detection sensor; When the sensing sensor is the distance sensor, the measurement data is distance; The action recognition module is also used to determine if, within a second preset time period, the distance first decreases and then increases, and the magnitude of the distance change is greater than a preset magnitude threshold, then the user's foot movement indicates that a user's foot-pointing action has occurred. Wherein, the first preset duration is more than twice the second preset duration.
5. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the door control method of the electronic device according to any one of claims 1-3.
6. The electronic device as claimed in claim 5, characterized in that, The electronic device also includes at least one sensing sensor, a door and a door drive device, wherein the detection range of the sensing sensor covers a preset ground area in front of the door of the electronic device; The sensing sensor is used to send the collected measurement data to the processor; The door drive device is used to receive control commands sent by the processor and drive the door to open and close according to the control commands.
7. A computer storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the gate control method of the electronic device according to any one of claims 1-3.