Gate control method, device and system, electronic equipment and computer program product

By combining infrared sensors and visual acquisition equipment, dual verification of the location and quantity of target objects in the turnstile system is achieved, solving the problem of erroneous passage or erroneous interception of turnstiles in complex scenarios and improving the reliability and accuracy of the turnstile system.

CN121747232APending Publication Date: 2026-03-27GRG INTELLIGENT TECH SOLUTION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-27
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

Existing turnstile systems struggle to reliably identify passage intentions in complex traffic scenarios, leading to erroneous passage or interception, especially when multiple people are passing through simultaneously or deliberately avoiding passage.

Method used

A dual verification mechanism combining infrared sensors and visual acquisition equipment is adopted to verify the location information of the target object through consistency verification, and combined with the quantity information to ensure that only one target object passes through the gate, thus building a deep integration and collaborative decision-making mechanism.

Benefits of technology

It effectively reduces the number of turnstiles that mistakenly allow or block passage, and improves the reliability and accuracy of passage judgment, especially in complex scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121747232A_ABST
    Figure CN121747232A_ABST
Patent Text Reader

Abstract

The invention discloses a gate control method, device and system, electronic equipment and a computer program product, and belongs to the field of information control. Obtaining a trigger state of a target object to the infrared sensor collected by the infrared sensor and first position information; acquiring second position information and quantity information of the target object acquired by visual acquisition equipment; when it is determined that the triggering state is triggered, the first position information and the second position information indicate that the target objects are located at the same position, and it is determined that only one target object exists according to the number information, the gate is controlled to be opened. According to the invention, the consistency of the position information of the target object in the two sensor devices is ensured, and a single sensor is prevented from having an identification blind area; and only one target object is ensured to pass through the gate through the quantity information, and a dual verification mechanism is constructed by the two sensors, so that deep fusion and collaborative decision-making of data of the two sensors are realized, and behaviors such as mistaken release or mistaken interception of the gate are fundamentally reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of information control, and in particular relates to a gate control method, device, system, electronic equipment and computer program product. Background Technology

[0002] With the rapid development of smart cities and intelligent transportation systems, access control gates, as key nodes in personnel flow control, face increasingly higher requirements for their intelligence level and operational reliability. In existing technologies, to overcome the shortcomings of traditional infrared sensors in determining passage status, which are easily interfered with by factors such as multiple people passing through simultaneously or accidental triggering by objects, some gate systems have begun to explore multi-sensor data fusion solutions. However, in actual deployment, it has been found that when facing complex passage scenarios such as dense crowds, complex behaviors, or deliberate avoidance, the multi-sensor collaborative judgment technology still has significant decision-making bottlenecks, making it difficult to reliably identify passage intentions, thus leading to gates mistakenly allowing or blocking passage. Summary of the Invention

[0003] This application aims to address at least one of the technical problems existing in related technologies. To this end, this application proposes a gate control method, device, system, electronic device, and computer program product, which ensures the consistency of the target object's location information in two sensor devices, preventing blind spots in the identification of a single sensor; it also ensures that only one target object passes through the gate through quantity information, thus constructing a dual verification mechanism and realizing deep fusion and collaborative decision-making of the two sensor data, fundamentally reducing gate erroneous release or interception.

[0004] In a first aspect, this application provides a gate control method, the method comprising: The first passage information collected by the infrared sensor when the target object passes through the gate is obtained. The first passage information includes the triggering state of the target object to the infrared sensor and the first position information. The triggering state includes a triggered state and a non-triggered state. The second passage information collected by the visual acquisition device when the target object passes through the gate is obtained, and the second passage information includes the second location information and quantity information of the target object; When the triggering state is determined to be triggered, and the first location information and the second location information indicate that the target object is in the same location, and when it is determined that there is only one target object based on the quantity information, the gate is controlled to open.

[0005] According to the gate control method of this application, by performing consistency verification on the first position information collected by the infrared sensor and the second position information collected by the visual acquisition device, the consistency of the position information of the target object in different sensors is ensured, preventing the blind spot of a single sensor in scenarios such as multiple people passing through simultaneously, and providing a reliable basis for controlling the gate to open. In addition, the method also combines quantity information to identify the number of target objects, further ensuring that only one target object passes through the gate, and together with the verified position information of the target object, a dual verification mechanism is constructed, realizing deep fusion and collaborative decision-making of the data from the two sensors in complex passage scenarios, fundamentally reducing the occurrence of gate erroneous release or interception.

[0006] In one embodiment, the gate control method further includes at least one of the following: when the triggering state is determined to be untriggered, and the existence of the target object is determined according to the second passage information, the gate is controlled to close and a first alarm message is sent, the first alarm message indicating that a target object abnormally passes through the gate and / or the infrared sensor is abnormal; when the triggering state is determined to be triggered, and the existence of the target object is determined according to the second passage information, the gate is controlled to close and a second alarm message is sent, the second alarm message indicating that the infrared sensor is falsely triggered; when multiple target objects are determined according to the first passage information and / or the second passage information, the gate is controlled to close and a third alarm message is sent, the third alarm message indicating that multiple target objects simultaneously pass through the gate channel.

[0007] In one embodiment, determining that there are multiple target objects based on the first access information and / or the second access information includes: if multiple pairs of infrared sensors are triggered simultaneously, then the target objects are determined to be multiple, wherein the multiple pairs of infrared sensors are arranged at a preset interval on both sides of the gate channel, and one target object can only trigger one pair of infrared sensors at a certain moment; and / or, if the number information determines that there is more than one target object, then the target objects are determined to be multiple; the number information is determined by the body posture information of the target objects.

[0008] In one embodiment, the gate control method further includes: obtaining a first timestamp corresponding to when the infrared sensor is triggered, and obtaining first passage information and second passage information based on the first timestamp.

[0009] In one embodiment, the infrared sensors are in multiple pairs, and the multiple pairs of infrared sensors are arranged at a preset interval on both sides of the gate channel; controlling the gate to open includes: obtaining the time interval between the target object passing through the first infrared sensor and the second infrared sensor, wherein the first infrared sensor and the second infrared sensor are two sensors arranged adjacent to each other in the gate channel; determining the movement speed of the target object according to the preset interval and the time interval; and controlling the gate to open for the time according to the movement speed.

[0010] In one embodiment, the first access information further includes the motion signal strength of the target object, and the method further includes: when it is determined that the target object exists according to the second access information, but the motion signal strength of the target object is lower than a preset threshold, controlling the gate to close and issuing an inspection command, the inspection command being used to instruct a security inspection of the target object.

[0011] Secondly, this application provides a turnstile control system, which includes: an infrared sensor, a vision acquisition device, and a turnstile controller. The infrared sensor is installed on both sides of the corresponding channel of the gate controller and is used to collect the first passage information of the target object. The first passage information includes the triggering state of the target object to the infrared sensor and the first position information. The triggering state includes a triggered state and a non-triggered state. The visual acquisition device is located above the gate controller and is used to acquire second access information of the target object when the trigger state is triggered. The second access information includes the second location information and quantity information of the target object. The gate controller is connected to the infrared sensor and the visual acquisition device respectively, and is used to receive the first passage information and the second passage information. When the first location information and the second location information indicate that the target object is in the same position and the quantity information indicates that there is only one target object, the controller controls the gate to perform the opening action.

[0012] According to the gate control system of this application, the gate controller is connected to an infrared sensor and a visual acquisition device respectively. The first position information collected by the infrared sensor and the second position information collected by the visual acquisition device are verified for consistency. This ensures the consistency of the target object's position information in the infrared sensor and the visual acquisition device, preventing blind spots in the recognition of a single sensor in scenarios such as multiple people passing through simultaneously. This provides a reliable basis for controlling the gate to open. In addition, the number of target objects is identified by combining the quantity information collected by the visual acquisition device, further ensuring that only one target object passes through the gate. Together with the verified position information of the target object, a dual verification mechanism is constructed. This realizes deep fusion and collaborative decision-making of the data collected by the infrared sensor and the visual acquisition device in complex passage scenarios, fundamentally reducing the occurrence of gate erroneous release or interception.

[0013] Thirdly, this application provides a gate control device, which includes: The first acquisition module is used to acquire first passage information when a target object passes through the gate, which is collected by an infrared sensor. The first passage information includes the triggering state of the target object to the infrared sensor and first position information. The triggering state includes a triggered state and a non-triggered state. The second acquisition module is used to acquire second passage information of the target object when it passes through the gate, which is collected by the visual acquisition device. The second passage information includes the second location information and quantity information of the target object. The control module is used to control the gate to open when it is determined that the triggering state is triggered, the first location information and the second location information indicate that the target object is in the same location, and when it is determined that there is only one target object based on the quantity information.

[0014] According to the gate control device of this application, by performing consistency verification on the first position information collected by the infrared sensor and the second position information collected by the visual acquisition device, the consistency of the position information of the target object in different sensors is ensured, preventing the blind spot of a single sensor in scenarios such as multiple people passing through simultaneously, and providing a reliable basis for controlling the gate to open. In addition, the number of target objects is identified by combining quantity information, which further ensures that only one target object passes through the gate. Together with the verified position information of the target object, a dual verification mechanism is constructed, realizing deep fusion and collaborative decision-making of the data from the two sensors in complex passage scenarios, fundamentally reducing the occurrence of gate erroneous release or interception.

[0015] Fourthly, this application provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the gate control method as described in the first aspect above.

[0016] Fifthly, this application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the gate control method as described in the first aspect above.

[0017] In a sixth aspect, this application provides a chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the gate control method as described in the first aspect.

[0018] In a seventh aspect, this application provides a computer program product, including a computer program that, when executed by a processor, implements the gate control method as described in the first aspect above.

[0019] The above-described one or more technical solutions in the embodiments of this application have at least one of the following technical effects: Furthermore, by verifying the consistency between the first position information collected by the infrared sensor and the second position information collected by the visual acquisition device, the consistency of the target object's position information across different sensors is ensured, preventing blind spots in the recognition of a single sensor in scenarios such as multiple people operating in parallel, and providing a reliable basis for controlling the opening of the gate.

[0020] Furthermore, the system also incorporates the quantity information collected by the visual acquisition device to identify the number of target objects, ensuring that only one target object passes through the gate. This, together with the verified location information of the target object, constructs a dual verification mechanism. This enables deep fusion and collaborative decision-making of data from two sensors in complex passage scenarios, fundamentally reducing the likelihood of gates mistakenly allowing or blocking passengers.

[0021] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0022] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which: Figure 1 This is a flowchart illustrating the gate control method provided in an embodiment of this application; Figure 2 This is a schematic diagram of the gate control system provided in the embodiments of this application; Figure 3 This is a schematic diagram of the gate control device provided in the embodiments of this application; Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0023] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0024] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0025] The following description, in conjunction with the accompanying drawings, details the gate control method, gate control system, gate control device, electronic equipment, and readable storage medium provided in this application through specific embodiments and application scenarios.

[0026] In this application, the gate control method provided by the embodiment can be executed by an electronic device or a functional module or entity in an electronic device that can implement the gate control method. The electronic devices mentioned in this application include, but are not limited to, mobile phones, tablets, computers, cameras and wearable devices. The gate control method provided by this application is described below using an electronic device as the execution subject.

[0027] Figure 1 This is a flowchart illustrating the gate control method provided in the embodiments of this application. The following is a description of the method in conjunction with the attached diagram. Figure 1 This application describes a gate control method according to an embodiment.

[0028] like Figure 1 As shown, the gate control method, applied to a server, includes the following steps: S110. Obtain first passage information when the target object passes through the gate, which is collected by the infrared sensor. The first passage information includes the triggering state of the target object to the infrared sensor and first position information. The triggering state includes a triggered state and a non-triggered state.

[0029] It is understandable that the first passage information is obtained by collecting the raw data of the infrared beam obstruction state through the infrared sensor and performing preprocessing operations on the raw data. The preprocessing process includes noise reduction and digital filtering to remove interference signals caused by falling objects or other non-target objects.

[0030] Additionally, the trigger status indicates whether the infrared beams of the infrared sensors are blocked. The triggered status means that the infrared beams of the infrared sensors are blocked by a target object, indicating potential passage within the passageway. The non-triggered status means that the infrared beams of all infrared sensors are unblocked and the received signals are normal, indicating that there is currently no effective passage within the passageway, and the gate can remain closed.

[0031] Furthermore, the first position information is used to indicate the position information of the target object in the turnstile channel, as confirmed by the infrared sensor, when the infrared beam of the infrared sensor is blocked by the target object. Specifically, the first position information of the target object in the turnstile channel is determined based on the installation position of the infrared sensor that caused the beam blockage in the turnstile channel and the beam propagation path between it and the target object.

[0032] By acquiring the trigger status of the infrared sensor on the target object, it is determined whether the target object exists in the gate channel. Furthermore, if the target object exists in the gate channel, the first position information of the target object when passing through the gate is acquired, and the position of the target object in the gate channel is preliminarily determined. This provides a data foundation for subsequent consistency verification of the target object position information with the second communication data in the vision acquisition device.

[0033] S120, acquire the second passage information of the target object when it passes through the gate, which is collected by the visual acquisition device. The second passage information includes the second location information and quantity information of the target object.

[0034] It is understood that the visual acquisition device includes a ToF camera, a structured light camera, or a binocular camera, and performs repair and compensation processing on the depth image data acquired by the visual acquisition device to improve data integrity and measurement accuracy in challenging environments such as low light, high reflectivity, or complex surface materials. Then, feature extraction is performed on the repaired and compensated depth image data to determine the second passage information when the target object passes through the gate.

[0035] In addition, the second location information refers to the location information of the target object in the gate channel calculated by the vision acquisition device. It is used to verify the consistency with the first location information acquired by the infrared acquisition device, so as to avoid the limitation of acquiring the passage information of the target object through a single sensor.

[0036] Furthermore, the quantity information refers to the statistical results of the number of target objects in the gate passage area obtained by the visual acquisition equipment, which is used to avoid multiple people passing through the gate channel at the same time.

[0037] S130, when it is determined that the triggering state is triggered, the first location information and the second location information indicate that the target object is in the same location, and it is determined that there is only one target object according to the quantity information, the gate is controlled to open.

[0038] Specifically, when the infrared sensor outputs a trigger status indicating that it has been triggered, it means that a target object has entered the detection area. The infrared trigger verification ensures the real-time nature of the response.

[0039] Then, the first position information provided by the infrared sensor and the second position information provided by the visual acquisition device are spatially compared. When both point to the same spatial area within a preset tolerance range, they are determined to be in the same position. The consistency check of the target object eliminates the possibility of false triggering by the infrared sensor.

[0040] Simultaneously, based on the quantity information provided by the visual acquisition device, the number of target objects within the channel is confirmed to be one, which, together with the verified location information of the target object, constitutes a dual verification mechanism. A gate opening command is generated and the gate is opened only when all three conditions are met simultaneously. If any condition is not met, the gate will remain closed.

[0041] According to the gate control method provided in this embodiment, by performing consistency verification on the first position information collected by the infrared sensor and the second position information collected by the visual acquisition device, the consistency of the target object's position information in different sensors is ensured, preventing blind spots in the recognition of a single sensor in scenarios such as multiple people passing through simultaneously, and providing a reliable basis for controlling the gate to open. In addition, the number of target objects is identified by combining quantity information, further ensuring that only one target object passes through the gate, and together with the verified position information of the target object, a dual verification mechanism is constructed, realizing deep fusion and collaborative decision-making of the two sensor data in complex passage scenarios, fundamentally reducing the gate's tendency to mistakenly release or intercept.

[0042] In some embodiments, the gate control method further includes at least one of the following: If the triggering state is determined to be non-triggered, and the target object is determined to exist according to the second passage information, the gate is controlled to close and a first alarm message is sent. The first alarm message indicates that a target object is abnormally passing through the gate and / or the infrared sensor is abnormal.

[0043] It is understandable that when the infrared sensor is in an untriggered state and the second passage information determines that a target object exists, it indicates that the target object is abnormally passing through the gate (such as the target object jumping through the gate) and / or the infrared sensor is abnormal (such as the infrared sensor is damaged).

[0044] For example, if the infrared sensor does not detect any motion signal that blocks the infrared beam, but the visual acquisition device shows that there is a target object moving in the gate channel, it is assumed that the infrared sensor may be malfunctioning or the target object is trying to enter in an abnormal way. In this case, the gate is controlled to close and a first alarm message is sent.

[0045] When the triggering state is determined to be triggered, and the target object is determined to be absent according to the second passage information, the gate is controlled to close and a second alarm message is sent. The second alarm message is used to indicate that the infrared sensor has been falsely triggered.

[0046] Understandably, when the infrared sensor detects a signal that is blocking the infrared beam, but the visual acquisition device does not capture a valid image, it is considered that the infrared sensor has been falsely triggered. For example, a black packaging bag briefly passes through the gate channel and blocks the infrared sensor beam. In this case, the gate is controlled to close and a second alarm message is sent.

[0047] When it is determined that there are multiple target objects based on the first passage information and / or the second passage information, the gate is controlled to close and a third alarm message is sent, indicating that multiple target objects are passing through the gate channel at the same time.

[0048] It is understandable that multiple target objects can be identified through the first access information, the gate can be closed and a third alarm information can be sent; multiple target objects can also be identified through the second access information, the gate can be closed and a third alarm information can be sent; or multiple target objects can be identified through both the first and second access information, the gate can be closed and a third alarm information can be sent.

[0049] According to the gate control method provided in this embodiment, by combining the collaborative decision-making mechanism of infrared sensors and / or visual acquisition devices, accurate identification and handling of three typical abnormal passage scenarios are achieved: when the infrared sensor does not trigger but the visual acquisition device detects a target, it is determined to be abnormal passage or infrared sensor failure, triggering the first alarm; when the infrared sensor is falsely triggered but the visual acquisition device confirms no target, it is determined to be environmental interference, triggering the second alarm; when multiple people are passing through the infrared sensor and / or visual acquisition device, it is determined to be a violation, triggering the third alarm. This solution covers passage scenarios such as equipment malfunction, environmental interference, and behavioral violations, effectively preventing abnormal passage caused by these factors.

[0050] In some embodiments, determining that there are multiple target objects based on the first access information and / or the second access information includes: if multiple pairs of infrared sensors are triggered simultaneously, then the target objects are determined to be multiple, wherein the multiple pairs of infrared sensors are arranged at a preset interval on both sides of the gate channel, and one target object can only trigger one pair of infrared sensors at a certain time; and / or, if the number information determines that there is more than one target object, then the target objects are determined to be multiple; the number information is determined by the body posture information of the target objects.

[0051] It is understandable that multiple pairs of infrared sensors are arranged at a preset interval (preferably 0.3 meters to 0.8 meters) on both sides of the gate channel to form a detection array, ensuring that a single normal passing target object can only effectively block one sensor beam at the same time.

[0052] It should be noted that when a single target object passes through the gate channel normally, the infrared sensors are triggered sequentially according to the target object's direction of passage.

[0053] When a single target object passes through the turnstile normally, a pair of infrared sensors are triggered sequentially according to the target object's direction of passage. If multiple target objects pass through the turnstile, multiple pairs of infrared sensors are triggered simultaneously according to the target objects' directions of passage.

[0054] Furthermore, the first access information also includes the number of infrared sensor obstruction pairs, obtaining the number of infrared sensor obstruction pairs detected by the infrared sensors. When the number of obstruction pairs is greater than 1, it indicates that multiple pairs of infrared sensors are triggered at the same time, which can be directly determined as a violation of access rules by multiple people, directly controlling the gate to close and sending a second alarm message.

[0055] In addition, feature extraction is performed on the repaired and compensated depth image data using a visual acquisition device. The extracted feature information includes the body features of the target object, such as the body outline, spatial volume, and gait characteristics of the target object. Based on the body features of the target object, the quantity information of the target object is identified through a feature recognition algorithm.

[0056] Furthermore, when the number of visual acquisition devices determines that there are multiple target objects, the gate is directly controlled to close and a second alarm message is sent. It is understood that this embodiment can also be used in conjunction with the aforementioned method of determining whether multiple people are passing through based on the number of occlusion pairs of infrared sensors. For example, if the number of occlusion pairs of infrared sensors is greater than 1, and the target object's physical characteristics indicate that multiple people are passing through, then it is determined to be multiple people passing through, thus improving the accuracy of determining multiple people passing through.

[0057] According to the gate control method provided in this embodiment, by deploying multiple infrared sensor arrays on both sides of the gate channel and determining data information based on body posture information, accurate identification of multi-person passage scenarios is achieved, thereby improving the gate system's anti-tailgating capability and passage judgment accuracy.

[0058] In some embodiments, the gate control method further includes: obtaining a first timestamp corresponding to when the infrared sensor is triggered, and obtaining first passage information and second passage information based on the first timestamp.

[0059] It is understandable that, since the infrared acquisition device, the visual acquisition device, and the system controlling the gate switch are located in different computing units, long-term operation will generate accumulated time errors. Therefore, the system immediately starts the timestamp synchronization process when it detects that the first infrared sensor is blocked.

[0060] According to the gate control method provided in this embodiment, the first passage information of the infrared sensor and the second passage information of the visual acquisition device are obtained based on the first timestamp, and the time bases of the two are aligned to meet the time accuracy requirements of the data collected by the infrared acquisition device and the visual acquisition device, thereby providing the accuracy of controlling the gate opening and closing.

[0061] In some embodiments, the infrared sensors are in multiple pairs, and the multiple pairs of infrared sensors are arranged on both sides of the gate channel at a preset interval; controlling the gate to open includes: obtaining the time interval between the target object passing through the first infrared sensor and the second infrared sensor, wherein the first infrared sensor and the second infrared sensor are two sensors arranged adjacent to each other in the gate channel; determining the movement speed of the target object according to the preset interval and the time interval; and controlling the gate to open for a certain time according to the movement speed.

[0062] It should be noted that the infrared sensor uses a detection array composed of multiple pairs of sensors, arranged at preset intervals on both sides of the gate channel in order to capture the movement trajectory of the target object within the gate channel.

[0063] It is understandable that we obtain the time t1 when the target object triggers the first pair of infrared sensors, and the time t2 when the target object triggers the second pair of infrared sensors. Furthermore, we determine the time interval Δt between the two, where... ; It should be noted that the acquisition positions of the first pair of infrared sensors and the second pair of infrared sensors are adaptively determined based on the passage status of the target object.

[0064] The spacing d between the first pair of infrared sensors and the second pair of infrared sensors is determined according to the preset spacing. The velocity v of the target object is calculated based on the interval distance d and the time interval Δt, where, .

[0065] According to the gate control method provided in this embodiment, by analyzing the movement speed of the target object between the first pair of infrared sensors and the second pair of infrared sensors, the gate opening time is controlled, thereby improving passage efficiency and enhancing the passage experience of the target object.

[0066] In some embodiments, the first access information further includes the motion signal strength of the target object, and the method further includes: when it is determined from the second access information that the target object exists, but the motion signal strength of the target object is lower than a preset threshold, controlling the gate to close and issuing an inspection command, the inspection command being used to instruct a security inspection of the target object.

[0067] It should be noted that when the intensity of the motion signal detected by the infrared sensor is lower than a preset threshold, while the visual acquisition device simultaneously captures the target object passing through, it indicates that the target object may be engaging in some concealed behavior during the passage, such as carrying items to obscure its body. In this case, the gate is controlled to close and an inspection command is issued, instructing a security check to be performed on the target object.

[0068] The gate control method provided in this embodiment enables effective early warning of security threats to target objects, thereby improving the gate system's ability to ensure safe passage.

[0069] In some embodiments, the second access information further includes the target object's gait information, which is used to indicate the movement speed of the target object determined by the visual acquisition device, and to control the opening time of the gate according to the movement speed of the target object.

[0070] In some embodiments, if the movement speed determined based on the target object's gait information matches the movement speed determined based on the target object's passing through the first infrared sensor and the second infrared sensor, the gate opening time is controlled according to the target object's movement speed.

[0071] If the movement speed determined based on the target object's gait information does not match the movement speed determined based on the target object's speed when passing through the first infrared sensor and the second infrared sensor, the gate will not be opened or will be opened with a delay to avoid accidental passage or abnormal passage behavior.

[0072] The gate control method provided in this embodiment solves the limitations of a single sensor in speed detection and ensures accurate identification under normal passage conditions.

[0073] This application also provides a gate control system, such as Figure 2 The diagram shown is a schematic representation of the gate control system provided in this embodiment of the application. The gate control system 200 includes: an infrared sensor 201, a visual acquisition device 202, and a gate controller 203. The infrared sensor 201 is disposed on both sides of the corresponding channel of the gate controller 203 and is used to collect the first passage information of the target object. The first passage information includes the triggering state of the target object to the infrared sensor and the first position information. The triggering state includes a triggered state and a non-triggered state. The visual acquisition device 202 is disposed above the gate controller 203 and is used to acquire second access information of the target object when the trigger state is triggered. The second access information includes the second location information and quantity information of the target object. The gate controller 203 is connected to the infrared sensor 201 and the visual acquisition device 202 respectively, and is used to receive the first passage information and the second passage information. When the first location information and the second location information indicate that the target object is in the same position and the quantity information indicates that there is only one target object, the controller controls the gate to perform the opening action.

[0074] According to the gate control system of this application, the gate controller is connected to an infrared sensor and a visual acquisition device respectively. The first position information collected by the infrared sensor and the second position information collected by the visual acquisition device are verified for consistency. This ensures the consistency of the target object's position information in the infrared sensor and the visual acquisition device, preventing blind spots in the recognition of a single sensor in scenarios such as multiple people passing through simultaneously. This provides a reliable basis for controlling the gate to open. In addition, the number of target objects is identified by combining the quantity information collected by the visual acquisition device, further ensuring that only one target object passes through the gate. Together with the verified position information of the target object, a dual verification mechanism is constructed. This realizes deep fusion and collaborative decision-making of the data collected by the infrared sensor and the visual acquisition device in complex passage scenarios, fundamentally reducing the occurrence of gate erroneous release or interception.

[0075] The gate control method provided in this application can be executed by a gate control device. This application uses the gate control device executing the gate control method as an example to illustrate the gate control device provided in this application.

[0076] This application also provides a gate control device.

[0077] like Figure 3 As shown, the gate control device includes: a first acquisition module 301, a second acquisition module 302, and a control module 303.

[0078] The first acquisition module 301 is used to acquire first passage information when a target object passes through the gate, which is collected by an infrared sensor. The first passage information includes the triggering state of the target object to the infrared sensor and first position information. The triggering state includes a triggered state and a non-triggered state. The second acquisition module 302 is used to acquire second passage information of the target object when it passes through the gate, which is collected by the visual acquisition device. The second passage information includes the second location information and quantity information of the target object. The control module 303 is used to control the gate to open when it is determined that the triggering state is triggered, the first position information and the second position information indicate that the target object is in the same position, and when it is determined that there is only one target object according to the quantity information.

[0079] In some embodiments, the gate control device further includes: a first alarm module, configured to control the gate to close and send a first alarm message when the triggering state is determined to be untriggered and the presence of the target object is determined according to the second passage information, wherein the first alarm message indicates that a target object abnormally passes through the gate and / or the infrared sensor is abnormal; a second alarm module, configured to control the gate to close and send a second alarm message when the triggering state is determined to be triggered and the absence of the target object is determined according to the second passage information, wherein the second alarm message indicates that the infrared sensor is falsely triggered; and a third alarm module, configured to control the gate to close and send a third alarm message when multiple target objects are determined according to the first passage information and / or the second passage information, wherein the third alarm message indicates that multiple target objects simultaneously pass through the gate channel.

[0080] In some embodiments, the third alarm module is further configured to determine that there are multiple target objects if multiple pairs of infrared sensors are triggered simultaneously, wherein the multiple pairs of infrared sensors are arranged at a preset interval on both sides of the gate channel, and one target object can only trigger one pair of infrared sensors at a certain time; and / or, if the number information determines that there is more than one target object, then the target objects are determined to be multiple; the number information is determined by the body posture information of the target objects.

[0081] In some embodiments, the gate control device further includes: a calibration module, configured to acquire a first timestamp corresponding to when the infrared sensor is triggered, and acquire first passage information and second passage information based on the first timestamp.

[0082] In some embodiments, the infrared sensors are in multiple pairs, and the multiple pairs of infrared sensors are arranged at a preset interval on both sides of the gate channel; the control module 303 is also used to obtain the time interval between the target object passing through the first infrared sensor and the second infrared sensor, wherein the first infrared sensor and the second infrared sensor are two sensors arranged adjacent to each other in the gate channel, and the movement speed of the target object is determined according to the preset interval and the time interval; and the gate is controlled to open for a certain time according to the movement speed.

[0083] In some embodiments, the first acquisition module 301 is further configured to include the motion signal strength of the target object in the first access information, and the method further includes: when it is determined that the target object exists according to the second access information, but the motion signal strength of the target object is lower than a preset threshold, controlling the gate to close and issuing an inspection command, the inspection command being used to instruct a security inspection of the target object.

[0084] The device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.

[0085] The gate control device in this application embodiment can be a device with an operating system. This operating system can be a Microsoft (Windows) operating system, an Android operating system, an iOS operating system, or other possible operating systems; this application embodiment does not specifically limit the specific operating system.

[0086] The gate control device provided in this application embodiment can achieve... Figure 1 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0087] In some embodiments, such as Figure 4 As shown, this application embodiment also provides an electronic device 400, including a processor 401, a memory 402, and a computer program stored in the memory 402 and executable on the processor 401. When the program is executed by the processor 401, it implements the various processes of the above-described gate control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0088] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0089] This application also provides a non-transitory computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described gate control method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0090] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0091] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described gate control method.

[0092] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0093] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described gate control method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0094] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0095] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0096] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the related technology, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0097] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

[0098] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0099] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.

Claims

1. A gate control method, characterized in that, include: The first passage information collected by the infrared sensor when the target object passes through the gate is obtained. The first passage information includes the triggering state of the target object to the infrared sensor and the first position information. The triggering state includes a triggered state and a non-triggered state. The second passage information of the target object when it passes through the gate is acquired by the visual acquisition device. The second passage information includes the second position information and quantity information of the target object. When the triggering state is determined to be triggered, and the first location information and the second location information indicate that the target object is in the same location, and when it is determined that there is only one target object based on the quantity information, the gate is controlled to open.

2. The gate control method according to claim 1, characterized in that, The method further includes at least one of the following: If the triggering state is determined to be non-triggered, and the target object is determined to exist according to the second passage information, then the gate is controlled to close and a first alarm message is sent. The first alarm message indicates that a target object is abnormally passing through the gate and / or the infrared sensor is abnormal. When it is determined that the triggering state is triggered, and it is determined that there is no target object according to the second passage information, the gate is controlled to close and a second alarm message is sent. The second alarm message is used to indicate that the infrared sensor has been falsely triggered. When it is determined that there are multiple target objects based on the first passage information and / or the second passage information, the gate is controlled to close and a third alarm message is sent, indicating that multiple target objects are passing through the gate channel at the same time.

3. The gate control method according to claim 2, characterized in that, The step of determining that the target objects are multiple based on the first access information and / or the second access information includes: If multiple pairs of infrared sensors are triggered simultaneously, then the target object is determined to be multiple, wherein the multiple pairs of infrared sensors are arranged at a preset interval on both sides of the gate channel, and one target object can only trigger one pair of infrared sensors at a time; and / or If the quantity information determines that there is more than one target object, then the target object is determined to be multiple; the quantity information is determined by the body shape information of the target object.

4. The gate control method according to claim 1, characterized in that, The method further includes: Obtain the first timestamp corresponding to when the infrared sensor is triggered, and obtain the first passage information and the second passage information based on the first timestamp.

5. The gate control method according to claim 1, characterized in that, The infrared sensors are in multiple pairs, and the multiple pairs of infrared sensors are arranged at a preset interval on both sides of the gate channel; controlling the gate to open includes: The time interval between the target object passing through the first infrared sensor and the second infrared sensor is obtained. The first infrared sensor and the second infrared sensor are two sensors arranged adjacent to each other in the gate channel. The movement speed of the target object is determined according to the preset distance and the time interval. The opening time of the gate is controlled according to the movement speed.

6. The gate control method according to claim 1, characterized in that, The first passage information also includes the motion signal intensity of the target object, and the method further includes: When the presence of the target object is determined based on the second access information, but the motion signal strength of the target object is lower than a preset threshold, the gate is controlled to close and an inspection command is issued. The inspection command is used to instruct a security inspection of the target object.

7. A gate control system, characterized in that, Includes infrared sensors, visual acquisition equipment, and gate controllers: The infrared sensor is installed on both sides of the corresponding channel of the gate controller and is used to collect the first passage information of the target object. The first passage information includes the triggering state of the target object to the infrared sensor and the first position information. The triggering state includes a triggered state and a non-triggered state. The visual acquisition device is located above the gate controller and is used to acquire second access information of the target object when the trigger state is triggered. The second access information includes the second location information and quantity information of the target object. The gate controller is connected to the infrared sensor and the visual acquisition device respectively, and is used to receive the first passage information and the second passage information. When the first location information and the second location information indicate that the target object is in the same position and the quantity information indicates that there is only one target object, the controller controls the gate to perform the opening action.

8. A gate control device, characterized in that, include: The first acquisition module is used to acquire the first passage information of the target object when it passes through the gate, which is collected by the infrared sensor. The first passage information includes the triggering state of the target object to the infrared sensor and the first position information. The triggering state includes a triggered state and a non-triggered state. The second acquisition module is used to acquire second passage information of the target object when it passes through the gate, which is collected by the visual acquisition device. The second passage information includes the second location information and quantity information of the target object. The control module is used to control the gate to open when it is determined that the triggering state is triggered, the first location information and the second location information indicate that the target object is in the same location, and when it is determined that there is only one target object based on the quantity information.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the gate control method as described in any one of claims 1-6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the gate control method as described in any one of claims 1-6.