Retractable gates and their control methods, devices, storage media and electronic equipment

CN117328759BActive Publication Date: 2026-08-14GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-18
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0003]本申请提供了一种伸缩门及其控制方法、装置、存储介质以及电子设备,以解决伸缩门需要手动控制导致智能化程度低的技术问题

Benefits of technology

[0023]在本申请实施例中,采用了在检测到伸缩门的第一检测范围内存在目标对象的情况下,获取上述第一检测范围内上述目标对象的目标数量以及每一个上述目标对象到上述伸缩门所需要的目标时间,其中,上述第一检测范围为距离上述伸缩门第一预设距离内的范围;获取上述伸缩门的已打开距离;根据上述目标对象的目标数量、每一个上述目标对象到上述伸缩门所需要的目标时间以及上述已打开距离,确定上述伸缩门的运行速度、运行方向以及运行距离;根据上述运行速度、上述运行方向以及上述运行距离控制上述伸缩门运行的方法,由于在上述方法中,通过实时获取目标对象的数量以及每一个上述目标对象到上述伸缩门所需要的目标时间,根据目标对象的目标数量、每一个目标对象到伸缩门所需要的目标时间以及伸缩门的已打开距离来自动调整伸缩门的开关门幅度和速度,从而实现了在提高伸缩门的智能化程度的目的,进而解决了伸缩门需要手动控制导致智能化程度低的技术问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117328759B_ABST
    Figure CN117328759B_ABST
Patent Text Reader

Abstract

This application relates to a retractable gate and its control method, device, storage medium, and electronic device. The method includes: when a target object is detected within a first detection range of the retractable gate, acquiring the number of target objects within the first detection range and the target time required for each target object to reach the retractable gate, wherein the first detection range is a range within a first preset distance from the retractable gate; acquiring the already opened distance of the retractable gate; determining the operating speed, operating direction, and operating distance of the retractable gate based on the number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance; and controlling the operation of the retractable gate based on the operating speed, operating direction, and operating distance. This application solves the technical problem of low intelligence caused by the need for manual control of retractable gates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of retractable gates, and more particularly to a retractable gate and its control method, device, storage medium, and electronic equipment. Background Technology

[0002] Retractable gates mainly consist of the gate body, drive motor, slide rails, and control system. They can freely extend and retract, and have a wide interception range. Currently, most shopping malls, museums, and pedestrian streets use retractable gates to control pedestrian access. These gates are remotely controlled, including open, stop, and close modes. However, if the gate's closing status is not constantly monitored during operation, pedestrians may force their way through before it is fully closed, potentially causing the gate to stop prematurely and trapping people, posing a significant safety hazard. Furthermore, when pedestrian traffic far exceeds the gate's opening width, it increases waiting time and can lead to overcrowding. Additionally, if someone places hands, feet, or other foreign objects near the gate before or during operation, it not only obstructs the gate's operation, preventing it from opening and closing properly, but also creates further safety risks. Summary of the Invention

[0003] This application provides a retractable gate and its control method, device, storage medium, and electronic equipment to solve the technical problem that the retractable gate requires manual control, resulting in a low level of intelligence.

[0004] In a first aspect, this application provides a control method for a retractable gate, comprising: when a target object is detected within a first detection range of the retractable gate, obtaining the target number of the target objects within the first detection range and the target time required for each target object to reach the retractable gate, wherein the first detection range is a range within a first preset distance from the retractable gate; obtaining the already opened distance of the retractable gate; determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of the target objects, the target time required for each target object to reach the retractable gate, and the already opened distance; and controlling the operation of the retractable gate based on the operating speed, the operating direction, and the operating distance.

[0005] Secondly, this application provides a control device for a retractable gate, comprising: a first acquisition module, configured to acquire, upon detecting the presence of target objects within a first detection range of the retractable gate, the target number of the target objects within the first detection range and the target time required for each target object to reach the retractable gate, wherein the first detection range is a range within a first preset distance from the retractable gate; a second acquisition module, configured to acquire the already opened distance of the retractable gate; a determination module, configured to determine the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance; and a first control module, configured to control the operation of the retractable gate based on the operating speed, the operating direction, and the operating distance.

[0006] As an optional example, the above device further includes: a second control module, used to control the telescopic gate to stop operating if an obstacle is detected within a second detection range of the telescopic gate before controlling the telescopic gate to operate according to the operating speed, the operating direction and the operating distance, wherein the second detection range is the trajectory range of the telescopic gate that has been opened; and a third control module, used to control the telescopic gate to issue an alarm and send the alarm information to the management device.

[0007] As an optional example, the determining module includes: a first acquiring unit, configured to acquire the maximum time required for each target object to reach the telescopic gate when the already opened distance is zero and the number of targets is less than or equal to a preset number; a first determining unit, configured to determine the ratio of a second preset distance to the maximum time as the operating speed of the telescopic gate; a second determining unit, configured to determine the operating direction of the telescopic gate as the opening direction; and a third determining unit, configured to determine the second preset distance as the operating distance of the telescopic gate.

[0008] As an optional example, the determining module includes: a second acquiring unit, used to acquire the average time required for each target object to reach the telescopic gate when the already opened distance is zero and the number of targets is greater than a preset number; a fourth determining unit, used to determine the ratio of the second preset distance to the average time as the operating speed of the telescopic gate; a fifth determining unit, used to determine the operating direction of the telescopic gate as the opening direction; and a sixth determining unit, used to determine the second preset distance as the operating distance of the telescopic gate.

[0009] As an optional example, the determining module includes: a third obtaining unit, configured to obtain the maximum time required for each target object to reach the telescopic gate when the already opened distance is greater than zero and less than or equal to a second preset distance, and the number of targets is less than or equal to a preset number; a seventh determining unit, configured to determine the ratio of a first distance to the maximum time as the operating speed of the telescopic gate, wherein the first distance is the difference between the second preset distance and the already opened distance; an eighth determining unit, configured to determine the operating direction of the telescopic gate as the opening direction; and a ninth determining unit, configured to determine the first distance as the operating distance of the telescopic gate.

[0010] As an optional example, the determining module includes: a fourth acquiring unit, configured to acquire the average time required for each target object to reach the telescopic gate when the already opened distance is greater than zero and less than or equal to a second preset distance, and the number of targets is greater than a preset number; a tenth determining unit, configured to determine the ratio of a first distance to the average time as the operating speed of the telescopic gate, wherein the first distance is the difference between the second preset distance and the already opened distance; an eleventh determining unit, configured to determine the operating direction of the telescopic gate as the opening direction; and a twelfth determining unit, configured to determine the first distance as the operating distance of the telescopic gate.

[0011] As an optional example, the determining module includes: a fifth acquiring unit, configured to acquire the maximum time required for each target object to reach the telescopic gate when the opened distance is greater than a second preset distance and the number of targets is less than or equal to a preset number; a thirteenth determining unit, configured to determine the ratio of the second distance to the maximum time as the operating speed of the telescopic gate, wherein the second distance is the difference between the opened distance and the second preset distance; a fourteenth determining unit, configured to determine that the operating direction of the telescopic gate is the closing direction; and a fifteenth determining unit, configured to determine the second distance as the operating distance of the telescopic gate.

[0012] As an optional example, the determining module includes: a sixth acquiring unit, configured to acquire the average time required for each target object to reach the telescopic gate when the opened distance is greater than a second preset distance and the number of targets is greater than a preset number; a sixteenth determining unit, configured to determine the ratio of the second distance to the average time as the operating speed of the telescopic gate, wherein the second distance is the difference between the opened distance and the second preset distance; a seventeenth determining unit, configured to determine the operating direction of the telescopic gate as the closing direction; and an eighteenth determining unit, configured to determine the second distance as the operating distance of the telescopic gate.

[0013] Thirdly, this application provides a retractable gate, comprising: a first acquisition module, configured to acquire, upon detecting the presence of target objects within a first detection range of the retractable gate, the target number of the target objects within the first detection range and the target time required for each target object to reach the retractable gate, wherein the first detection range is a range within a first preset distance from the retractable gate; a second acquisition module, configured to acquire the already opened distance of the retractable gate; a determination module, configured to determine the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance; and a first control module, configured to control the operation of the retractable gate based on the operating speed, the operating direction, and the operating distance.

[0014] As an optional example, the retractable gate further includes: a second control module, used to control the retractable gate to stop operating if an obstacle is detected within a second detection range of the retractable gate before controlling the operation of the retractable gate according to the operating speed, the operating direction and the operating distance, wherein the second detection range is the trajectory range of the retractable gate that has been opened; and a third control module, used to control the retractable gate to issue an alarm and send the alarm information to the management device.

[0015] As an optional example, the determining module includes: a first acquiring unit, configured to acquire the maximum time required for each target object to reach the telescopic gate when the already opened distance is zero and the number of targets is less than or equal to a preset number; a first determining unit, configured to determine the ratio of a second preset distance to the maximum time as the operating speed of the telescopic gate; a second determining unit, configured to determine the operating direction of the telescopic gate as the opening direction; and a third determining unit, configured to determine the second preset distance as the operating distance of the telescopic gate.

[0016] As an optional example, the determining module includes: a second acquiring unit, used to acquire the average time required for each target object to reach the telescopic gate when the already opened distance is zero and the number of targets is greater than a preset number; a fourth determining unit, used to determine the ratio of the second preset distance to the average time as the operating speed of the telescopic gate; a fifth determining unit, used to determine the operating direction of the telescopic gate as the opening direction; and a sixth determining unit, used to determine the second preset distance as the operating distance of the telescopic gate.

[0017] As an optional example, the determining module includes: a third obtaining unit, configured to obtain the maximum time required for each target object to reach the telescopic gate when the already opened distance is greater than zero and less than or equal to a second preset distance, and the number of targets is less than or equal to a preset number; a seventh determining unit, configured to determine the ratio of a first distance to the maximum time as the operating speed of the telescopic gate, wherein the first distance is the difference between the second preset distance and the already opened distance; an eighth determining unit, configured to determine the operating direction of the telescopic gate as the opening direction; and a ninth determining unit, configured to determine the first distance as the operating distance of the telescopic gate.

[0018] As an optional example, the determining module includes: a fourth acquiring unit, configured to acquire the average time required for each target object to reach the telescopic gate when the already opened distance is greater than zero and less than or equal to a second preset distance, and the number of targets is greater than a preset number; a tenth determining unit, configured to determine the ratio of a first distance to the average time as the operating speed of the telescopic gate, wherein the first distance is the difference between the second preset distance and the already opened distance; an eleventh determining unit, configured to determine the operating direction of the telescopic gate as the opening direction; and a twelfth determining unit, configured to determine the first distance as the operating distance of the telescopic gate.

[0019] As an optional example, the determining module includes: a fifth acquiring unit, configured to acquire the maximum time required for each target object to reach the telescopic gate when the opened distance is greater than a second preset distance and the number of targets is less than or equal to a preset number; a thirteenth determining unit, configured to determine the ratio of the second distance to the maximum time as the operating speed of the telescopic gate, wherein the second distance is the difference between the opened distance and the second preset distance; a fourteenth determining unit, configured to determine that the operating direction of the telescopic gate is the closing direction; and a fifteenth determining unit, configured to determine the second distance as the operating distance of the telescopic gate.

[0020] As an optional example, the determining module includes: a sixth acquiring unit, configured to acquire the average time required for each target object to reach the telescopic gate when the opened distance is greater than a second preset distance and the number of targets is greater than a preset number; a sixteenth determining unit, configured to determine the ratio of the second distance to the average time as the operating speed of the telescopic gate, wherein the second distance is the difference between the opened distance and the second preset distance; a seventeenth determining unit, configured to determine the operating direction of the telescopic gate as the closing direction; and an eighteenth determining unit, configured to determine the second distance as the operating distance of the telescopic gate.

[0021] Fourthly, this application provides a storage medium storing a computer program, wherein the computer program is executed by a processor to perform the above-described control method for the retractable gate.

[0022] Fifthly, this application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the aforementioned control method for the retractable gate through the computer program.

[0023] In this embodiment, a method is adopted to obtain the target number of target objects within a first detection range of the retractable gate and the target time required for each target object to reach the retractable gate when a target object is detected within the first detection range. The first detection range is a range within a first preset distance from the retractable gate. The method also obtains the already opened distance of the retractable gate. Based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance, the method determines the operating speed, operating direction, and operating distance of the retractable gate. The method controls the operation of the retractable gate based on the operating speed, operating direction, and operating distance. Because this method obtains the number of target objects and the target time required for each target object to reach the retractable gate in real time, and automatically adjusts the opening and closing amplitude and speed of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance of the retractable gate, it achieves the goal of improving the intelligence level of the retractable gate, thereby solving the technical problem of low intelligence caused by the need for manual control of the retractable gate. Attached Figure Description

[0024] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0025] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0027] Figure 1This is a flowchart of an optional control method for a retractable gate according to an embodiment of this application;

[0028] Figure 2 This is a flowchart illustrating the specific implementation of an optional control method for a retractable gate according to an embodiment of this application.

[0029] Figure 3 This is a millimeter-wave radar position map of an optional control method for a retractable gate according to an embodiment of this application;

[0030] Figure 4 This is a flowchart of a foreign object detection method for an optional control method of a retractable gate according to an embodiment of this application;

[0031] Figure 5 This is a schematic diagram of the structure of an optional control device for a telescopic gate according to an embodiment of this application;

[0032] Figure 6 This is a schematic diagram of an optional retractable gate according to an embodiment of this application;

[0033] Figure 7 This is a schematic diagram of an optional electronic device according to an embodiment of this application. Detailed Implementation

[0034] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0035] The following disclosure provides numerous different embodiments or examples for implementing various structures of this application. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.

[0036] According to a first aspect of the embodiments of this application, a control method for a retractable gate is provided, optionally, as follows: Figure 1 As shown, the above method includes:

[0037] S102, when a target object is detected within the first detection range of the telescopic gate, the number of target objects within the first detection range and the target time required for each target object to reach the telescopic gate are obtained, wherein the first detection range is the range within a first preset distance from the telescopic gate;

[0038] S104, Get the opened distance of the retractable gate;

[0039] S106, Based on the target number of target objects, the target time required for each target object to reach the telescopic gate, and the already opened distance, determine the operating speed, operating direction, and operating distance of the telescopic gate;

[0040] S108 controls the operation of the telescopic gate based on its operating speed, direction, and distance.

[0041] Optionally, since current remote control of retractable gates only offers three modes: open, close, and stop, serious safety hazards can easily arise if pedestrians squeeze through the operating gate or if the gate width is much smaller than the pedestrian flow. Therefore, in this embodiment, millimeter-wave radar technology is used to acquire in real time the walking direction, distance, walking speed, and number of people within a first preset distance in front of and behind the retractable gate. This data is transmitted to the retractable gate's control system to filter out people walking towards the gate, calculate the target time required for each person to reach the gate, and the pedestrian flow rate per minute. The opening and closing width of the retractable gate is automatically adjusted based on the pedestrian flow rate, the opening and closing direction is automatically adjusted based on the already opened distance, and the opening and closing speed or emergency stop is controlled based on the target time required for a person to reach the gate. This ensures that people can pass through the retractable gate at a safe distance and avoids waiting and stampedes caused by pedestrian flow exceeding the gate's opening width. Furthermore, when multiple people approach simultaneously, they are grouped together, and the average walking speed of the group is calculated to estimate the walking time, ensuring the safety of all individuals.

[0042] Optionally, in this embodiment, by acquiring the number of target objects and the target time required for each target object to reach the retractable gate in real time, the opening and closing amplitude and speed of the retractable gate are automatically adjusted based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance of the retractable gate. This achieves the goal of improving the intelligence level of the retractable gate and solves the technical problem of low intelligence level caused by the need for manual control of the retractable gate.

[0043] As an alternative example, before controlling the operation of the telescopic gate based on its operating speed, direction, and distance, the above method also includes:

[0044] If an obstacle is detected within the second detection range of the retractable gate, the retractable gate is controlled to stop operating. The second detection range is the trajectory range of the retractable gate when it is open.

[0045] Control the retractable gate to issue an alarm and send the alarm information to the management equipment.

[0046] Optionally, if a foreign object check is not performed on the working area of ​​the telescopic gate before its operation, it may damage the gate. Therefore, in this embodiment, millimeter-wave radar technology is used to detect foreign objects inside the telescopic gate and within its opened operating trajectory before and during operation. If a foreign object enters the vulnerable area before or during operation, the telescopic gate will immediately stop operating and issue an alarm, sending the abnormal situation to the management equipment to notify the administrator for coordination and handling. Millimeter-wave radar technology has high resolution and can accurately identify targets entering the telescopic gate's connection points and their corresponding locations. This can prevent injuries to people's hands and feet, and prevent foreign objects from getting stuck and damaging the internal operating structure of the telescopic gate. It also ensures the accuracy and real-time nature of abnormal situation handling, and further ensures the safety of people and property.

[0047] As an optional example, the operating speed, direction, and distance of the retractable gate are determined based on the number of target objects, the target time required for each target object to reach the gate, and the already opened distance.

[0048] Given that the already opened distance is zero and the number of targets is less than or equal to the preset number, obtain the maximum time required for each target object to reach the retractable gate.

[0049] The ratio of the second preset distance to the maximum time is determined as the operating speed of the telescopic gate;

[0050] The direction of travel of the retractable gate is determined to be the opening direction;

[0051] The second preset distance is determined as the operating distance of the telescopic gate.

[0052] Optionally, in this embodiment, in the first case, i.e., the already opened distance of the telescopic gate is zero, and the number of target objects within the first detection range is less than or equal to a preset number, the ratio of the second preset distance to the maximum time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. The second preset distance is a reserved distance for the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined as the opening direction, and the second preset distance is determined as the operating distance of the telescopic gate.

[0053] As an optional example, the operating speed, direction, and distance of the retractable gate are determined based on the number of target objects, the target time required for each target object to reach the gate, and the already opened distance.

[0054] Given that the already opened distance is zero and the number of targets is greater than the preset number, obtain the average time required for each target object to reach the retractable gate.

[0055] The ratio of the second preset distance to the average time is determined as the operating speed of the telescopic gate;

[0056] The direction of travel of the retractable gate is determined to be the opening direction;

[0057] The second preset distance is determined as the operating distance of the telescopic gate.

[0058] Optionally, in this embodiment, in the second case, i.e., when the already opened distance of the telescopic gate is zero and the number of target objects within the first detection range is greater than a preset number, the ratio of the second preset distance to the average time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. The second preset distance is a reserved distance for the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined as the opening direction, and the second preset distance is determined as the operating distance of the telescopic gate.

[0059] Optionally, in this embodiment, when the number of target objects within the first detection range is large, groups can be formed based on the distance between each person in the selected group. That is, people with a distance of 1 meter between each other are grouped into the same group, and the average time required for all people in the group to reach the retractable gate is calculated to determine the subsequent opening and closing speed. When multiple groups appear within the first detection range, and the distance between these groups is relatively far, the group walking closer to the retractable gate is processed first.

[0060] As an optional example, the operating speed, direction, and distance of the retractable gate are determined based on the number of target objects, the target time required for each target object to reach the gate, and the already opened distance.

[0061] Given that the already opened distance is greater than zero and less than or equal to the second preset distance, and the number of targets is less than or equal to the preset number, obtain the maximum time required for each target object to reach the retractable gate.

[0062] The ratio of the first distance to the maximum time is determined as the operating speed of the telescopic gate, where the first distance is the difference between the second preset distance and the already opened distance;

[0063] The direction of travel of the retractable gate is determined to be the opening direction;

[0064] The first distance is defined as the operating distance of the retractable gate.

[0065] Optionally, in this embodiment, in the third case, i.e., the already opened distance of the telescopic gate is greater than zero and less than or equal to the second preset distance, and the number of target objects within the first detection range is less than or equal to the preset number, the ratio of the first distance to the maximum time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. Here, the first distance is the difference between the second preset distance and the already opened distance, and the second preset distance is the reserved distance of the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined as the opening direction, and the first distance is determined as the operating distance of the telescopic gate.

[0066] As an optional example, the operating speed, direction, and distance of the retractable gate are determined based on the number of target objects, the target time required for each target object to reach the gate, and the already opened distance.

[0067] If the already opened distance is greater than zero and less than or equal to the second preset distance, and the number of targets is greater than the preset number, obtain the average time required for each target object to reach the retractable gate.

[0068] The ratio of the first distance to the average time is determined as the operating speed of the telescopic gate, where the first distance is the difference between the second preset distance and the already opened distance;

[0069] The direction of travel of the retractable gate is determined to be the opening direction;

[0070] The first distance is defined as the operating distance of the retractable gate.

[0071] Optionally, in this embodiment, in the fourth case, i.e., the already opened distance of the telescopic gate is greater than zero and less than or equal to the second preset distance, and the number of target objects within the first detection range is greater than the preset number, the ratio of the first distance to the average time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. Here, the first distance is the difference between the second preset distance and the already opened distance, and the second preset distance is the reserved distance of the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined as the opening direction, and the first distance is determined as the operating distance of the telescopic gate.

[0072] As an optional example, the operating speed, direction, and distance of the retractable gate are determined based on the number of target objects, the target time required for each target object to reach the gate, and the already opened distance.

[0073] If the already opened distance is greater than the second preset distance and the number of targets is less than or equal to the preset number, obtain the maximum time required for each target object to reach the retractable gate.

[0074] The ratio of the second distance to the maximum time is determined as the operating speed of the telescopic gate, where the second distance is the difference between the opened distance and the second preset distance;

[0075] The direction of travel of the retractable gate is determined to be the closing direction;

[0076] The second distance is determined as the operating distance of the retractable gate.

[0077] Optionally, in this embodiment, in the fifth case, where the already opened distance of the telescopic gate is greater than the second preset distance, and the number of target objects within the first detection range is less than or equal to the preset number, the ratio of the second distance to the maximum time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. Here, the second distance is the difference between the already opened distance and the second preset distance, and the second preset distance is the reserved distance of the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined to be the closing direction, and the second distance is determined as the operating distance of the telescopic gate.

[0078] As an optional example, the operating speed, direction, and distance of the retractable gate are determined based on the number of target objects, the target time required for each target object to reach the gate, and the already opened distance.

[0079] If the already opened distance is greater than the second preset distance and the number of targets is greater than the preset number, obtain the average time required for each target object to reach the retractable gate.

[0080] The ratio of the second distance to the average time is determined as the operating speed of the telescopic gate, where the second distance is the difference between the opened distance and the second preset distance;

[0081] The direction of travel of the retractable gate is determined to be the closing direction;

[0082] The second distance is determined as the operating distance of the retractable gate.

[0083] Optionally, in this embodiment, in the sixth case, where the already opened distance of the telescopic gate is greater than the second preset distance, and the number of target objects within the first detection range is greater than the preset number, the ratio of the second distance to the average time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. Here, the second distance is the difference between the already opened distance and the second preset distance, which is the reserved distance of the telescopic gate, and this reserved distance can change in real time according to the number of targets. The operating direction of the telescopic gate is determined to be the closing direction, and the second distance is determined as the operating distance of the telescopic gate.

[0084] To illustrate with an example, this application relates to a control method for a retractable gate. It utilizes millimeter-wave radar technology to acquire real-time information on the direction, distance, and speed of people. This data is transmitted to the gate's control system, which identifies individuals walking towards the gate. The system calculates the time required for each person to reach the gate and the flow rate per minute. The gate's opening and closing amplitude is automatically adjusted based on the flow rate. The gate's opening and closing speed or emergency stop is controlled based on the time it takes for individuals to reach the gate. When multiple individuals approach simultaneously, they are grouped, and the average walking speed of the group is calculated to estimate the walking time, ensuring the safety of all individuals. Furthermore, millimeter-wave radar technology has high resolution, accurately identifying targets entering the retractable gate's connection point and their corresponding locations. An emergency braking alarm mode is activated before / during operation, and the anomaly is sent to the remote control with ringing and vibration to notify the administrator for coordination. Currently, retractable gates only offer three remote control modes: open, close, and stop. If pedestrians squeeze through an opening in the operating gate, or if the gate's width is significantly smaller than the flow rate, serious safety hazards can easily arise. Furthermore, failure to inspect the retractable gate's working area for foreign objects before operation can also damage it. Therefore, it is necessary to monitor and control the presence of foreign objects in areas prone to being caught by the retractable gate in a timely manner. Specific implementation methods are as follows: Figure 2 As shown:

[0085] Step 1: Install millimeter-wave radar on the retractable gate and bind it to the control system.

[0086] Step 2: Install the millimeter-wave radar on H1, H2, H3, and H4 of the telescopic gate operator. See [link to specific locations] for details. Figure 3 Wherein, the first preset distance 'a' is the vertical distance detected by the millimeter-wave radar. The millimeter-wave radar and the telescopic gate remote control are then connected to the telescopic gate control system for communication.

[0087] Step 3: Detect foreign objects inside the retractable gate using millimeter-wave radar. The specific process is as follows: Figure 4As shown, when the telescopic gate control system receives the opening / closing command, the millimeter-wave radar H3 prioritizes real-time detection of foreign objects within the second detection range of the telescopic gate, namely the vulnerable area. If a foreign object is detected, the telescopic gate stops operating and issues an alarm. The control system then sends this abnormality information to the telescopic gate remote control, causing it to ring and vibrate, notifying the administrator to handle the situation. If, during operation, H3 detects a foreign object or a person entering the vulnerable area, it immediately stops operating, issues an alarm, and notifies the administrator to handle the situation. If no foreign object is found in the vulnerable area or the abnormality is resolved, the telescopic gate returns to normal operation, and the millimeter-wave radars H1 and H2 continue operating.

[0088] Step 4: Use millimeter-wave radar to detect the time ΔT required for people to reach the retractable gate and the flow of people R.

[0089] Step 5: Millimeter-wave radars H1 and H2 monitor in real time the direction, distance, and speed of people within the first detection range of the retractable gate. People stationary or walking within the detection range whose direction of movement is not within the retractable gate's operating area are eliminated; only people moving towards the retractable gate's opening and closing range are selected. Millimeter-wave radar H4 monitors the distance d from the retractable gate to the endpoint wall and whether there are any people in that area.

[0090] Step Six: Transmit this data information to the control system to calculate the time ΔT required for each selected person to reach the retractable gate, and calculate the corresponding flow rate R per minute.

[0091] Step 7: Set P to the second preset distance that the retractable gate needs to reserve when the pedestrian flow R changes in real time. The gate's opening and closing amplitude will be automatically adjusted according to the changes in pedestrian flow, meaning it will automatically open when the pedestrian flow increases to ensure the safe passage of all personnel. When the distance d = 0 and millimeter-wave radars H1 and H2 detect people, if the pedestrian flow R ≤ 1, the retractable gate will open at V = P / △T (maximum value) and stop operating when d = P; if the pedestrian flow R > 1, the retractable gate will open at V = P / △T (average value) and stop operating when d = P.

[0092] Step 8: When the distance d≤P and the millimeter-wave radars H1 and H2 detect people, if the pedestrian flow R≤1, the retractable gate opens at V=(Pd) / △T (maximum value) and stops operating when d=P; if the pedestrian flow R>1, the retractable gate opens at V=(Pd) / △T (average value) and stops operating when d=P.

[0093] Step 9: When the distance d > P and the millimeter-wave radars H1 and H2 detect people, if the pedestrian flow R ≤ 1, the retractable gate closes at V = (dP) / △T (maximum value) and stops operating when d = P; if the pedestrian flow R > 1, the retractable gate closes at V = (dP) / △T (average value) and stops operating when d = P.

[0094] Step 10: Detect whether there are qualified personnel (walking direction close to the retractable gate) based on millimeter wave H1 and H2. If a person is detected, repeat the loop judgment and calculation until there is no one in the detection area. Then, millimeter wave H4 detects whether there are personnel within a horizontal distance d. If no personnel are detected, close the gate with V = d / T (T is the time required for the retractable gate to close normally).

[0095] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0096] According to another aspect of the embodiments of this application, a control device for a telescopic gate is also provided, such as... Figure 5 As shown, it includes:

[0097] The first acquisition module 502 is used to acquire the number of target objects within the first detection range and the target time required for each target object to reach the retractable gate when a target object is detected within the first detection range of the retractable gate. The first detection range is the range within a first preset distance from the retractable gate.

[0098] The second acquisition module 504 is used to acquire the opened distance of the retractable gate;

[0099] The determination module 506 is used to determine the running speed, running direction and running distance of the telescopic gate based on the target number of target objects, the target time required for each target object to reach the telescopic gate and the already opened distance.

[0100] The first control module 508 is used to control the operation of the telescopic gate according to the running speed, running direction and running distance.

[0101] Optionally, since current remote control of retractable gates only offers three modes: open, close, and stop, serious safety hazards can easily arise if pedestrians squeeze through the operating gate or if the gate width is much smaller than the pedestrian flow. Therefore, in this embodiment, millimeter-wave radar technology is used to acquire in real time the walking direction, distance, walking speed, and number of people within a first preset distance in front of and behind the retractable gate. This data is transmitted to the retractable gate's control system to filter out people walking towards the gate, calculate the target time required for each person to reach the gate, and the pedestrian flow rate per minute. The opening and closing width of the retractable gate is automatically adjusted based on the pedestrian flow rate, the opening and closing direction is automatically adjusted based on the already opened distance, and the opening and closing speed or emergency stop is controlled based on the target time required for a person to reach the gate. This ensures that people can pass through the retractable gate at a safe distance and avoids waiting and stampedes caused by pedestrian flow exceeding the gate's opening width. Furthermore, when multiple people approach simultaneously, they are grouped together, and the average walking speed of the group is calculated to estimate the walking time, ensuring the safety of all individuals.

[0102] Optionally, in this embodiment, by acquiring the number of target objects and the target time required for each target object to reach the retractable gate in real time, the opening and closing amplitude and speed of the retractable gate are automatically adjusted based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance of the retractable gate. This achieves the goal of improving the intelligence level of the retractable gate and solves the technical problem of low intelligence level caused by the need for manual control of the retractable gate.

[0103] As an optional example, the above-described apparatus further includes:

[0104] The second control module is used to control the telescopic gate to stop operating if an obstacle is detected within the second detection range of the telescopic gate before controlling the telescopic gate to operate according to the operating speed, operating direction and operating distance. The second detection range is the trajectory range of the telescopic gate that has been opened.

[0105] The third control module is used to control the retractable gate to issue an alarm and send the alarm information to the management equipment.

[0106] Optionally, if a foreign object check is not performed on the working area of ​​the telescopic gate before its operation, it may damage the gate. Therefore, in this embodiment, millimeter-wave radar technology is used to detect foreign objects inside the telescopic gate and within its opened operating trajectory before and during operation. If a foreign object enters the vulnerable area before or during operation, the telescopic gate will immediately stop operating and issue an alarm, sending the abnormal situation to the management equipment to notify the administrator for coordination and handling. Millimeter-wave radar technology has high resolution and can accurately identify targets entering the telescopic gate's connection points and their corresponding locations. This can prevent injuries to people's hands and feet, and prevent foreign objects from getting stuck and damaging the internal operating structure of the telescopic gate. It also ensures the accuracy and real-time nature of abnormal situation handling, and further ensures the safety of people and property.

[0107] As an optional example, the identified modules include:

[0108] The first acquisition unit is used to acquire the maximum time required for each target object to reach the retractable gate when the already opened distance is equal to zero and the number of targets is less than or equal to a preset number.

[0109] The first determining unit is used to determine the ratio of the second preset distance to the maximum time as the operating speed of the telescopic gate;

[0110] The second determining unit is used to determine that the running direction of the telescopic gate is the opening direction;

[0111] The third determining unit is used to determine the second preset distance as the running distance of the telescopic gate.

[0112] Optionally, in this embodiment, in the first case, i.e., the already opened distance of the telescopic gate is zero, and the number of target objects within the first detection range is less than or equal to a preset number, the ratio of the second preset distance to the maximum time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. The second preset distance is a reserved distance for the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined as the opening direction, and the second preset distance is determined as the operating distance of the telescopic gate.

[0113] As an optional example, the identified modules include:

[0114] The second acquisition unit is used to acquire the average time required for each target object to reach the retractable gate when the already opened distance is equal to zero and the number of targets is greater than the preset number.

[0115] The fourth determining unit is used to determine the ratio of the second preset distance to the average time as the operating speed of the telescopic gate;

[0116] The fifth determining unit is used to determine that the running direction of the telescopic gate is the opening direction;

[0117] The sixth determining unit is used to determine the second preset distance as the running distance of the telescopic gate.

[0118] Optionally, in this embodiment, in the second case, i.e., when the already opened distance of the telescopic gate is zero and the number of target objects within the first detection range is greater than a preset number, the ratio of the second preset distance to the average time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. The second preset distance is a reserved distance for the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined as the opening direction, and the second preset distance is determined as the operating distance of the telescopic gate.

[0119] Optionally, in this embodiment, when the number of target objects within the first detection range is large, groups can be formed based on the distance between each person in the selected group. That is, people with a distance of 1 meter between each other are grouped into the same group, and the average time required for all people in the group to reach the retractable gate is calculated to determine the subsequent opening and closing speed. When multiple groups appear within the first detection range, and the distance between these groups is relatively far, the group walking closer to the retractable gate is processed first.

[0120] As an optional example, the identified modules include:

[0121] The third acquisition unit is used to acquire the maximum time required for each target object to reach the retractable gate when the already opened distance is greater than zero and less than or equal to the second preset distance, and the number of targets is less than or equal to the preset number.

[0122] The seventh determining unit is used to determine the ratio of the first distance to the maximum time as the operating speed of the telescopic gate, wherein the first distance is the difference between the second preset distance and the already opened distance;

[0123] The eighth determining unit is used to determine that the running direction of the telescopic gate is the opening direction;

[0124] The ninth determining unit is used to determine the first distance as the running distance of the telescopic gate.

[0125] Optionally, in this embodiment, in the third case, i.e., the already opened distance of the telescopic gate is greater than zero and less than or equal to the second preset distance, and the number of target objects within the first detection range is less than or equal to the preset number, the ratio of the first distance to the maximum time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. Here, the first distance is the difference between the second preset distance and the already opened distance, and the second preset distance is the reserved distance of the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined as the opening direction, and the first distance is determined as the operating distance of the telescopic gate.

[0126] As an optional example, the identified modules include:

[0127] The fourth acquisition unit is used to acquire the average time required for each target object to reach the retractable gate when the already opened distance is greater than zero and less than or equal to the second preset distance, and the number of targets is greater than the preset number.

[0128] The tenth determining unit is used to determine the ratio of the first distance to the average time as the operating speed of the telescopic gate, wherein the first distance is the difference between the second preset distance and the already opened distance;

[0129] The eleventh determining unit is used to determine that the running direction of the telescopic gate is the opening direction;

[0130] The twelfth determining unit is used to determine the first distance as the running distance of the telescopic gate.

[0131] Optionally, in this embodiment, in the fourth case, i.e., the already opened distance of the telescopic gate is greater than zero and less than or equal to the second preset distance, and the number of target objects within the first detection range is greater than the preset number, the ratio of the first distance to the average time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. Here, the first distance is the difference between the second preset distance and the already opened distance, and the second preset distance is the reserved distance of the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined as the opening direction, and the first distance is determined as the operating distance of the telescopic gate.

[0132] As an optional example, the identified modules include:

[0133] The fifth acquisition unit is used to acquire the maximum time required for each target object to reach the retractable gate when the already opened distance is greater than the second preset distance and the number of targets is less than or equal to the preset number.

[0134] The thirteenth determining unit is used to determine the ratio of the second distance to the maximum time as the operating speed of the telescopic gate, wherein the second distance is the difference between the opened distance and the second preset distance;

[0135] The fourteenth determining unit is used to determine that the running direction of the telescopic gate is the closing direction;

[0136] The fifteenth determining unit is used to determine the second distance as the running distance of the telescopic gate.

[0137] Optionally, in this embodiment, in the fifth case, where the already opened distance of the telescopic gate is greater than the second preset distance, and the number of target objects within the first detection range is less than or equal to the preset number, the ratio of the second distance to the maximum time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. Here, the second distance is the difference between the already opened distance and the second preset distance, and the second preset distance is the reserved distance of the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined to be the closing direction, and the second distance is determined as the operating distance of the telescopic gate.

[0138] As an optional example, the identified modules include:

[0139] The sixth acquisition unit is used to acquire the average time required for each target object to reach the retractable gate when the already opened distance is greater than the second preset distance and the number of targets is greater than the preset number.

[0140] The sixteenth determining unit is used to determine the ratio of the second distance to the average time as the operating speed of the telescopic gate, wherein the second distance is the difference between the opened distance and the second preset distance;

[0141] The seventeenth determining unit is used to determine that the running direction of the telescopic gate is the closing direction; the eighteenth determining unit is used to determine the second distance as the running distance of the telescopic gate.

[0142] Optionally, in this embodiment, in the sixth case, where the already opened distance of the telescopic gate is greater than the second preset distance, and the number of target objects within the first detection range is greater than the preset number, the ratio of the second distance to the average time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. Here, the second distance is the difference between the already opened distance and the second preset distance, which is the reserved distance of the telescopic gate, and this reserved distance can change in real time according to the number of targets. The operating direction of the telescopic gate is determined to be the closing direction, and the second distance is determined as the operating distance of the telescopic gate.

[0143] For other examples of this embodiment, please refer to the examples above, which will not be repeated here.

[0144] According to another aspect of the embodiments of this application, a retractable gate is also provided, such as... Figure 6 As shown, it includes:

[0145] The first acquisition module 602 is used to acquire the number of target objects within the first detection range and the target time required for each target object to reach the retractable gate when a target object is detected within the first detection range of the retractable gate. The first detection range is the range within a first preset distance from the retractable gate.

[0146] The second acquisition module 604 is used to acquire the opened distance of the retractable gate;

[0147] The determining module 606 is used to determine the operating speed, operating direction and operating distance of the telescopic gate based on the target number of target objects, the target time required for each target object to reach the telescopic gate and the already opened distance;

[0148] The first control module 608 is used to control the operation of the telescopic gate according to the running speed, running direction and running distance.

[0149] Optionally, since current remote control of retractable gates only offers three modes: open, close, and stop, serious safety hazards can easily arise if pedestrians squeeze through the operating gate or if the gate width is much smaller than the pedestrian flow. Therefore, in this embodiment, millimeter-wave radar technology is used, with the millimeter-wave radar installed on the front and rear sides H1 and H2 of the retractable gate's motor head, and on the horizontal positions H3 and H4 of the retractable gate's body. Specific locations are shown in [reference needed]. Figure 3 The millimeter-wave radar and the telescopic gate remote control are then connected to the telescopic gate control system for communication. 'a' is set as the first preset detection distance for the millimeter-wave radar.

[0150] Optionally, millimeter-wave radar technology can be used to acquire in real-time the walking direction, distance, speed, and number of people within a first preset distance in front of and behind the retractable gate. This data is transmitted to the retractable gate's control system, which filters out individuals walking towards the gate. The system calculates the target time required for each person to reach the gate and the flow rate per minute. The gate's opening and closing width is automatically adjusted based on the flow rate, its opening and closing direction is automatically adjusted based on the already opened distance, and the gate's opening and closing speed or emergency stop is controlled based on the target time required for each person to reach the gate. This ensures that people can pass through the retractable gate at a safe distance and avoids waiting and stampedes caused by the flow of people exceeding the gate's opening width. Furthermore, when multiple individuals approach simultaneously, they are grouped, and the overall average walking speed is calculated to estimate the walking time, ensuring the safety of all individuals.

[0151] Optionally, in this embodiment, by acquiring the number of target objects and the target time required for each target object to reach the retractable gate in real time, the opening and closing amplitude and speed of the retractable gate are automatically adjusted based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance of the retractable gate. This achieves the goal of improving the intelligence level of the retractable gate and solves the technical problem of low intelligence level caused by the need for manual control of the retractable gate.

[0152] As an optional example, the above-mentioned retractable gate also includes:

[0153] The second control module is used to control the telescopic gate to stop operating if an obstacle is detected within the second detection range of the telescopic gate before controlling the telescopic gate to operate according to the operating speed, operating direction and operating distance. The second detection range is the trajectory range of the telescopic gate that has been opened.

[0154] The third control module is used to control the retractable gate to issue an alarm and send the alarm information to the management equipment.

[0155] Optionally, if a foreign object check is not performed on the working area of ​​the telescopic gate before its operation, it may damage the gate. Therefore, in this embodiment, millimeter-wave radar technology is used to detect foreign objects inside the telescopic gate and within its opened operating trajectory before and during operation. If a foreign object enters the vulnerable area before or during operation, the telescopic gate will immediately stop operating and issue an alarm, sending the abnormal situation to the management equipment to notify the administrator for coordination and handling. Millimeter-wave radar technology has high resolution and can accurately identify targets entering the telescopic gate's connection points and their corresponding locations. This can prevent injuries to people's hands and feet, and prevent foreign objects from getting stuck and damaging the internal operating structure of the telescopic gate. It also ensures the accuracy and real-time nature of abnormal situation handling, and further ensures the safety of people and property.

[0156] As an optional example, the identified modules include:

[0157] The first acquisition unit is used to acquire the maximum time required for each target object to reach the retractable gate when the already opened distance is equal to zero and the number of targets is less than or equal to a preset number.

[0158] The first determining unit is used to determine the ratio of the second preset distance to the maximum time as the operating speed of the telescopic gate;

[0159] The second determining unit is used to determine that the running direction of the telescopic gate is the opening direction;

[0160] The third determining unit is used to determine the second preset distance as the running distance of the telescopic gate.

[0161] Optionally, in this embodiment, in the first case, i.e., the already opened distance of the telescopic gate is zero, and the number of target objects within the first detection range is less than or equal to a preset number, the ratio of the second preset distance to the maximum time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. The second preset distance is a reserved distance for the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined as the opening direction, and the second preset distance is determined as the operating distance of the telescopic gate.

[0162] As an optional example, the identified modules include:

[0163] The second acquisition unit is used to acquire the average time required for each target object to reach the retractable gate when the already opened distance is equal to zero and the number of targets is greater than the preset number.

[0164] The fourth determining unit is used to determine the ratio of the second preset distance to the average time as the operating speed of the telescopic gate;

[0165] The fifth determining unit is used to determine that the running direction of the telescopic gate is the opening direction;

[0166] The sixth determining unit is used to determine the second preset distance as the running distance of the telescopic gate.

[0167] Optionally, in this embodiment, in the second case, i.e., when the already opened distance of the telescopic gate is zero and the number of target objects within the first detection range is greater than a preset number, the ratio of the second preset distance to the average time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. The second preset distance is a reserved distance for the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined as the opening direction, and the second preset distance is determined as the operating distance of the telescopic gate.

[0168] Optionally, in this embodiment, when the number of target objects within the first detection range is large, groups can be formed based on the distance between each person in the selected group. That is, people with a distance of 1 meter between each other are grouped into the same group, and the average time required for all people in the group to reach the retractable gate is calculated to determine the subsequent opening and closing speed. When multiple groups appear within the first detection range, and the distance between these groups is relatively far, the group walking closer to the retractable gate is processed first.

[0169] As an optional example, the identified modules include:

[0170] The third acquisition unit is used to acquire the maximum time required for each target object to reach the retractable gate when the already opened distance is greater than zero and less than or equal to the second preset distance, and the number of targets is less than or equal to the preset number.

[0171] The seventh determining unit is used to determine the ratio of the first distance to the maximum time as the operating speed of the telescopic gate, wherein the first distance is the difference between the second preset distance and the already opened distance;

[0172] The eighth determining unit is used to determine that the running direction of the telescopic gate is the opening direction;

[0173] The ninth determining unit is used to determine the first distance as the running distance of the telescopic gate.

[0174] Optionally, in this embodiment, in the third case, i.e., the already opened distance of the telescopic gate is greater than zero and less than or equal to the second preset distance, and the number of target objects within the first detection range is less than or equal to the preset number, the ratio of the first distance to the maximum time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. Here, the first distance is the difference between the second preset distance and the already opened distance, and the second preset distance is the reserved distance of the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined as the opening direction, and the first distance is determined as the operating distance of the telescopic gate.

[0175] As an optional example, the identified modules include:

[0176] The fourth acquisition unit is used to acquire the average time required for each target object to reach the retractable gate when the already opened distance is greater than zero and less than or equal to the second preset distance, and the number of targets is greater than the preset number.

[0177] The tenth determining unit is used to determine the ratio of the first distance to the average time as the operating speed of the telescopic gate, wherein the first distance is the difference between the second preset distance and the already opened distance;

[0178] The eleventh determining unit is used to determine that the running direction of the telescopic gate is the opening direction;

[0179] The twelfth determining unit is used to determine the first distance as the running distance of the telescopic gate.

[0180] Optionally, in this embodiment, in the fourth case, i.e., the already opened distance of the telescopic gate is greater than zero and less than or equal to the second preset distance, and the number of target objects within the first detection range is greater than the preset number, the ratio of the first distance to the average time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. Here, the first distance is the difference between the second preset distance and the already opened distance, and the second preset distance is the reserved distance of the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined as the opening direction, and the first distance is determined as the operating distance of the telescopic gate.

[0181] As an optional example, the identified modules include:

[0182] The fifth acquisition unit is used to acquire the maximum time required for each target object to reach the retractable gate when the already opened distance is greater than the second preset distance and the number of targets is less than or equal to the preset number.

[0183] The thirteenth determining unit is used to determine the ratio of the second distance to the maximum time as the operating speed of the telescopic gate, wherein the second distance is the difference between the opened distance and the second preset distance;

[0184] The fourteenth determining unit is used to determine that the running direction of the telescopic gate is the closing direction;

[0185] The fifteenth determining unit is used to determine the second distance as the running distance of the telescopic gate.

[0186] Optionally, in this embodiment, in the fifth case, where the already opened distance of the telescopic gate is greater than the second preset distance, and the number of target objects within the first detection range is less than or equal to the preset number, the ratio of the second distance to the maximum time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. Here, the second distance is the difference between the already opened distance and the second preset distance, and the second preset distance is the reserved distance of the telescopic gate, which can change in real time according to the number of targets. The operating direction of the telescopic gate is determined to be the closing direction, and the second distance is determined as the operating distance of the telescopic gate.

[0187] As an optional example, the identified modules include:

[0188] The sixth acquisition unit is used to acquire the average time required for each target object to reach the retractable gate when the already opened distance is greater than the second preset distance and the number of targets is greater than the preset number.

[0189] The sixteenth determining unit is used to determine the ratio of the second distance to the average time as the operating speed of the telescopic gate, wherein the second distance is the difference between the opened distance and the second preset distance;

[0190] The seventeenth determining unit is used to determine that the running direction of the telescopic gate is the closing direction; the eighteenth determining unit is used to determine the second distance as the running distance of the telescopic gate.

[0191] Optionally, in this embodiment, in the sixth case, where the already opened distance of the telescopic gate is greater than the second preset distance, and the number of target objects within the first detection range is greater than the preset number, the ratio of the second distance to the average time required for each target object to reach the telescopic gate is determined as the operating speed of the telescopic gate. Here, the second distance is the difference between the already opened distance and the second preset distance, which is the reserved distance of the telescopic gate, and this reserved distance can change in real time according to the number of targets. The operating direction of the telescopic gate is determined to be the closing direction, and the second distance is determined as the operating distance of the telescopic gate.

[0192] Figure 7 This is a schematic diagram of an optional electronic device according to an embodiment of this application, such as... Figure 7 As shown, it includes a processor 702, a communication interface 704, a memory 706, and a communication bus 708. The processor 702, communication interface 704, and memory 706 communicate with each other via the communication bus 708.

[0193] Memory 706 is used to store computer programs;

[0194] When processor 702 executes a computer program stored in memory 706, it performs the following steps:

[0195] If a target object is detected within the first detection range of the retractable gate, the number of target objects within the first detection range and the target time required for each target object to reach the retractable gate are obtained. The first detection range is the range within a first preset distance from the retractable gate.

[0196] Get the opened distance of the retractable gate;

[0197] Based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the distance already opened, determine the retractable gate's operating speed, operating direction, and operating distance.

[0198] The operation of the telescopic gate is controlled based on its operating speed, direction, and distance.

[0199] Optionally, in this embodiment, the communication bus can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 The symbol is represented by a single thick line, but this does not indicate that there is only one bus or one type of bus. The communication interface is used for communication between the aforementioned electronic devices and other devices.

[0200] The memory may include RAM, or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0201] As an example, the memory 706 described above may include, but is not limited to, the first acquisition module 502, the second acquisition module 504, the determination module 506, and the first control module 508 from the control device of the telescopic gate. Furthermore, it may include, but is not limited to, other module units from the control device of the telescopic gate, which will not be elaborated upon in this example.

[0202] The processors mentioned above can be general-purpose processors, including but not limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; they can also be DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0203] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments, and will not be repeated here.

[0204] Those skilled in the art will understand that Figure 7The structure shown is for illustrative purposes only. The device that implements the above-described control method for the retractable gate can be a terminal device, such as a smartphone (e.g., an Android phone, an iOS phone), a tablet computer, a PDA, a mobile internet device (MID), a PAD, or other terminal devices. Figure 7 This does not limit the structure of the aforementioned electronic devices. For example, the electronic device may also include components that are more... Figure 7 The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 7 The different configurations shown.

[0205] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, ROM, RAM, disk or optical disk, etc.

[0206] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, which, when executed by a processor, performs the steps in the above-described control method for a retractable gate.

[0207] Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0208] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0209] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

[0210] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0211] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between units or modules, and may be electrical or other forms.

[0212] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0213] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0214] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A control method for a retractable gate, characterized in that, include: If a target object is detected within the first detection range of the retractable gate, the number of the target objects within the first detection range and the target time required for each target object to reach the retractable gate are obtained, wherein the first detection range is the range within a first preset distance from the retractable gate; Obtain the opened distance of the retractable gate; Based on the target number of the target objects, the target time required for each target object to reach the telescopic gate, and the already opened distance, the operating speed, operating direction, and operating distance of the telescopic gate are determined. The operation of the telescopic gate is controlled according to the operating speed, the operating direction, and the operating distance. The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is zero and the target number is less than or equal to a preset number, obtaining the maximum time among the target times required for each target object to reach the retractable gate; determining the ratio of a second preset distance to the maximum time as the operating speed of the retractable gate; determining the operating direction of the retractable gate as the opening direction; and determining the second preset distance as the operating distance of the retractable gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is zero and the target number is greater than a preset number, obtaining the average time within the target time required for each target object to reach the retractable gate; determining the ratio of a second preset distance to the average time as the operating speed of the retractable gate; determining the operating direction of the retractable gate as the opening direction; and determining the second preset distance as the operating distance of the retractable gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is greater than zero and less than or equal to a second preset distance, and the target number is less than or equal to a preset number, obtaining the maximum time among the target times required for each target object to reach the retractable gate; determining the ratio of a first distance to the maximum time as the operating speed of the retractable gate, wherein the first distance is the difference between the second preset distance and the already opened distance; determining the operating direction of the retractable gate as the opening direction; and determining the first distance as the operating distance of the retractable gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is greater than zero and less than or equal to a second preset distance, and the target number is greater than a preset number, obtaining the average time within the target time required for each target object to reach the retractable gate; determining the ratio of a first distance to the average time as the operating speed of the retractable gate, wherein the first distance is the difference between the second preset distance and the already opened distance; determining the operating direction of the retractable gate as the opening direction; and determining the first distance as the operating distance of the retractable gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is greater than a second preset distance and the target number is less than or equal to a preset number, obtaining the maximum time among the target times required for each target object to reach the retractable gate; and determining the ratio of the second distance to the maximum time as the operating speed of the retractable gate, wherein the second distance is the difference between the already opened distance and the second preset distance; The operating direction of the telescopic gate is determined to be the closing direction; the second distance is determined as the operating distance of the telescopic gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is greater than a second preset distance and the target number is greater than a preset number, obtaining the average time within the target time required for each target object to reach the retractable gate; determining the ratio of the second distance to the average time as the operating speed of the retractable gate, wherein the second distance is the difference between the already opened distance and the second preset distance; determining the operating direction of the retractable gate as the closing direction; and determining the second distance as the operating distance of the retractable gate.

2. The method according to claim 1, characterized in that, Before controlling the operation of the telescopic gate based on the operating speed, the operating direction, and the operating distance, the method further includes: If an obstacle is detected within the second detection range of the telescopic gate, the telescopic gate is controlled to stop operating, wherein the second detection range is the trajectory range of the telescopic gate when it is open; The system controls the retractable gate to issue an alarm and sends the alarm information to the management device.

3. A control device for a retractable gate, characterized in that, include: The first acquisition module is used to acquire the target number of the target objects within the first detection range and the target time required for each target object to reach the retractable gate when a target object is detected within the first detection range of the retractable gate, wherein the first detection range is the range within a first preset distance from the retractable gate; The second acquisition module is used to acquire the opened distance of the telescopic gate; The determining module is used to determine the operating speed, operating direction, and operating distance of the retractable gate based on the target number of the target objects, the target time required for each target object to reach the retractable gate, and the already opened distance. The first control module is used to control the operation of the telescopic gate according to the running speed, the running direction and the running distance; The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is zero and the target number is less than or equal to a preset number, obtaining the maximum time among the target times required for each target object to reach the retractable gate; determining the ratio of a second preset distance to the maximum time as the operating speed of the retractable gate; determining the operating direction of the retractable gate as the opening direction; and determining the second preset distance as the operating distance of the retractable gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is zero and the target number is greater than a preset number, obtaining the average time within the target time required for each target object to reach the retractable gate; determining the ratio of a second preset distance to the average time as the operating speed of the retractable gate; determining the operating direction of the retractable gate as the opening direction; and determining the second preset distance as the operating distance of the retractable gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is greater than zero and less than or equal to a second preset distance, and the target number is less than or equal to a preset number, obtaining the maximum time among the target times required for each target object to reach the retractable gate; determining the ratio of a first distance to the maximum time as the operating speed of the retractable gate, wherein the first distance is the difference between the second preset distance and the already opened distance; determining the operating direction of the retractable gate as the opening direction; and determining the first distance as the operating distance of the retractable gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is greater than zero and less than or equal to a second preset distance, and the target number is greater than a preset number, obtaining the average time within the target time required for each target object to reach the retractable gate; determining the ratio of a first distance to the average time as the operating speed of the retractable gate, wherein the first distance is the difference between the second preset distance and the already opened distance; determining the operating direction of the retractable gate as the opening direction; and determining the first distance as the operating distance of the retractable gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is greater than a second preset distance and the target number is less than or equal to a preset number, obtaining the maximum time among the target times required for each target object to reach the retractable gate; and determining the ratio of the second distance to the maximum time as the operating speed of the retractable gate, wherein the second distance is the difference between the already opened distance and the second preset distance; The operating direction of the telescopic gate is determined to be the closing direction; the second distance is determined as the operating distance of the telescopic gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is greater than a second preset distance and the target number is greater than a preset number, obtaining the average time within the target time required for each target object to reach the retractable gate; determining the ratio of the second distance to the average time as the operating speed of the retractable gate, wherein the second distance is the difference between the already opened distance and the second preset distance; determining the operating direction of the retractable gate as the closing direction; and determining the second distance as the operating distance of the retractable gate.

4. A retractable gate, characterized in that, include: The first acquisition module is used to acquire the target number of the target objects within the first detection range and the target time required for each target object to reach the retractable gate when a target object is detected within the first detection range of the retractable gate, wherein the first detection range is the range within a first preset distance from the retractable gate; The second acquisition module is used to acquire the opened distance of the telescopic gate; The determining module is used to determine the operating speed, operating direction, and operating distance of the retractable gate based on the target number of the target objects, the target time required for each target object to reach the retractable gate, and the already opened distance. The first control module is used to control the operation of the telescopic gate according to the running speed, the running direction and the running distance; The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is zero and the target number is less than or equal to a preset number, obtaining the maximum time among the target times required for each target object to reach the retractable gate; determining the ratio of a second preset distance to the maximum time as the operating speed of the retractable gate; determining the operating direction of the retractable gate as the opening direction; and determining the second preset distance as the operating distance of the retractable gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is zero and the target number is greater than a preset number, obtaining the average time within the target time required for each target object to reach the retractable gate; determining the ratio of a second preset distance to the average time as the operating speed of the retractable gate; determining the operating direction of the retractable gate as the opening direction; and determining the second preset distance as the operating distance of the retractable gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is greater than zero and less than or equal to a second preset distance, and the target number is less than or equal to a preset number, obtaining the maximum time among the target times required for each target object to reach the retractable gate; determining the ratio of a first distance to the maximum time as the operating speed of the retractable gate, wherein the first distance is the difference between the second preset distance and the already opened distance; determining the operating direction of the retractable gate as the opening direction; and determining the first distance as the operating distance of the retractable gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is greater than zero and less than or equal to a second preset distance, and the target number is greater than a preset number, obtaining the average time within the target time required for each target object to reach the retractable gate; determining the ratio of a first distance to the average time as the operating speed of the retractable gate, wherein the first distance is the difference between the second preset distance and the already opened distance; determining the operating direction of the retractable gate as the opening direction; and determining the first distance as the operating distance of the retractable gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is greater than a second preset distance and the target number is less than or equal to a preset number, obtaining the maximum time among the target times required for each target object to reach the retractable gate; and determining the ratio of the second distance to the maximum time as the operating speed of the retractable gate, wherein the second distance is the difference between the already opened distance and the second preset distance; The operating direction of the telescopic gate is determined to be the closing direction; the second distance is determined as the operating distance of the telescopic gate; or, The step of determining the operating speed, operating direction, and operating distance of the retractable gate based on the target number of target objects, the target time required for each target object to reach the retractable gate, and the already opened distance includes: when the already opened distance is greater than a second preset distance and the target number is greater than a preset number, obtaining the average time within the target time required for each target object to reach the retractable gate; determining the ratio of the second distance to the average time as the operating speed of the retractable gate, wherein the second distance is the difference between the already opened distance and the second preset distance; determining the operating direction of the retractable gate as the closing direction; and determining the second distance as the operating distance of the retractable gate.

5. A computer-readable storage medium storing a computer program, characterized in that, The computer program is executed by the processor to perform the method described in any one of claims 1 to 2.

6. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 2 through the computer program.

Citation Information

Patent Citations

  • Method, system and device for controlling intelligent door and storage medium

    CN113947834A

  • Electric retractable door intelligent control system based on artificial intelligence

    CN115393992A