Gate machine passage control method, device, equipment and storage medium

By detecting the target objects in the gate channel and combining face verification technology, the problems of low traffic efficiency and insufficient safety of the gate are solved, and efficient and safe traffic control is achieved.

CN114202839BActive Publication Date: 2024-12-27HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111509146.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-10
Publication Date
2024-12-27
Estimated Expiration
2041-12-10

AI Technical Summary

Technical Problem

The gate is inefficient in traffic efficiency and insufficient safety. Especially during peak periods, it is easy to cause traffic jams and inconvenience due to frequent opening or closing of the gate.

Method used

By detecting the channel status information between the two sides of the border in the length direction of the gate, we can determine whether the target object exists, and keep the gate open when there is no target object, avoid unnecessary opening or closing, and combine the camera to identify the passing object and face verification technology to ensure traffic safety.

Benefits of technology

It effectively improves the traffic efficiency of gate machines, reduces the inconvenience caused by wasting time and frequent operation of gates, and improves traffic safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114202839B_ABST
    Figure CN114202839B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a control method, device, equipment, and storage medium for gate passage, the method comprising: detecting passage status information of a first area; the first area is a passage between the gate length direction and the two sides of the gate body; if the passage status information indicates that there is no passing object in the first area and the gate is in an open state, then determining whether there is a target object within the first channel range; the first channel range includes the range between the gate and a preset position; the preset position is a position that does not reach the gate body in the passage direction and is located between the two sides of the gate body; if there is a target object within the first channel range, then controlling the gate to remain in an open state. This technical solution can avoid the situation where frequent opening or closing of the gate causes inconvenience to the passage of the target object on the basis of effectively improving the passage efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of channel control, and in particular to a gate passage control method, device, equipment and storage medium. Background Art

[0002] A turnstile is a channel blocking device (channel management equipment) used to manage the flow of people and regulate the entry and exit of pedestrians. Its most basic and core function is to allow only one person to pass through at a time. Turnstiles can be used at the entrances and exits of various occasions, such as office buildings, train stations, subways or other public places. However, when the number of people entering and exiting reaches a peak, it is difficult to ensure the efficiency of the turnstile channel that only allows one person to pass through at a time, which usually causes traffic congestion.

[0003] In the related art, in order to improve the efficiency of gate passage, the number of gate opening and closing is generally reduced when multiple people pass through. For example, when multiple people pass through in a short period of time, after the gate is opened for the first time, the gate is controlled to remain open until the last person passes through the gate. However, this method is prone to problems such as the gate suddenly closing or being squeezed by the gate due to misjudgment during passage, which not only fails to ensure passage efficiency, but also easily causes inconvenience to passers-by.

[0004] Therefore, the problem of low gate efficiency needs to be solved urgently. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a gate passage control method, device, equipment and storage medium to solve the problems of low gate passage efficiency and low safety.

[0006] To solve the above technical problems, the embodiments of the present application are implemented as follows:

[0007] On the one hand, an embodiment of the present application provides a gate passage control method, including:

[0008] Detecting the traffic status information of the first area; the first area is the passage between the boundaries of the gate body in the length direction of the gate;

[0009] If the passage status information indicates that there is no object passing through the first area and the gate is in an open state, it is determined whether there is a target object within the first channel range; the first channel range includes the range between the gate and a preset position; the preset position is a position that does not reach the gate body in the passage direction and is located between the boundaries of both sides of the gate body;

[0010] If the target object exists within the range of the first channel, the gate is controlled to maintain the open state.

[0011] On the other hand, an embodiment of the present application provides a gate passage control device, comprising:

[0012] A first detection module is used to detect the traffic status information of a first area; the first area is the passage between the boundaries on both sides of the gate body in the length direction of the gate;

[0013] A first judgment module is used to judge whether there is a target object within a first channel range if the passage status information indicates that there is no passing object in the first area and the gate is in an open state; the first channel range includes a range between the gate and a preset position; the preset position is a position that does not reach the gate body in the passage direction and is located between the boundaries of both sides of the gate body;

[0014] The first control module is used to control the gate to maintain the open state if the target object exists within the range of the first channel.

[0015] On the other hand, an embodiment of the present application provides a gate access control device, including a processor and a memory electrically connected to the processor, the memory storing a computer program, and the processor being used to call and execute the computer program from the memory to implement the above-mentioned gate access control method.

[0016] On the other hand, an embodiment of the present application provides a storage medium for storing a computer program, wherein the computer program can be executed by a processor to implement the above-mentioned gate passage control method.

[0017] The technical solution of the embodiment of the present application is adopted to detect the traffic status information of the first area, wherein the first area is the passage between the boundaries of the gate body and the length direction of the gate. If the traffic status information indicates that there is no passing object in the first area and the gate is in an open state, it is determined whether there is a target object within the range of the first channel, wherein the range of the first channel includes the range between the gate and a preset position; the preset position is a position that does not reach the gate body in the direction of passage and is located between the boundaries of the gate body. If there is a target object within the range of the first channel, the gate is controlled to remain in an open state, thereby avoiding frequent opening or closing of the gate, which not only avoids wasting the passage time of the target object, effectively improves the passage efficiency of the first area, but also avoids the frequent opening or closing of the gate causing inconvenience to the passage of the target object. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0019] Figure 1 is a schematic diagram of a control system for gate passage according to an embodiment of the present application;

[0020] Figure 2 is a schematic flow chart of a gate passage control method according to an embodiment of the present application;

[0021] Figure 3 This is a schematic diagram of the first channel range of a double gate channel according to an embodiment of the present application;

[0022] Figure 4 is a schematic flow chart of a gate passage control method according to another embodiment of the present application;

[0023] Figure 5 is a schematic block diagram of a gate passage control device according to an embodiment of the present application;

[0024] Figure 6 It is a schematic block diagram of a gate passage control device according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] The purpose of the embodiments of the present application is to provide a gate passage control method, device, equipment and storage medium to solve the problems of low gate passage efficiency and lack of convenience.

[0026] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0027] The present application provides a gate passage control method which can be applied to Figure 1 The control system of gate passage shown in the figure. Figure 1As shown, the control system for gate passage includes a right gate machine, a left gate machine, an entry camera and an exit camera. Among them, the right gate machine includes a door wing 1 and a built-in main controller chip and a channel control chip 1, and the left gate machine includes a door wing 2 and a built-in channel control chip 2. The main controller chip is used to detect the traffic status information in the first area, and send relevant instructions to at least one of the channel control chip 1 and the channel control chip 2 according to the traffic status information to control the opening or closing of the door wing. Exemplarily, after the channel control chip 1 receives the relevant instructions of the main controller chip, it can control the opening or closing of the door wing 1 based on the instructions; after the channel control chip 2 receives the relevant instructions of the main controller chip, it can control the opening or closing of the door wing 2 based on the instructions. The motor control algorithm can be integrated in the channel control chip 1 and the channel control chip 2, and the opening or closing of the door wing is controlled by the algorithm. Since the motor control algorithm belongs to the prior art, it will not be described in detail here.

[0028] In addition, only one channel control chip may be set, and the channel control chip can be set in the right machine or the left machine of the gate, and the channel control chip can be used to control the opening or closing of door wing 1 and / or door wing 2. The embodiment of the present application does not limit this.

[0029] The inbound camera can be installed on the right side of the gate, or between the left side and the right side of the gate, and close to the right side of the gate. The inbound camera is used to detect the passing status information of the objects passing within the corresponding detection range in the inbound direction. The outbound camera can be installed on the left side of the gate, or between the left side and the right side of the gate, and close to the left side of the gate. The outbound camera is used to detect the passing status information of the objects passing within the corresponding detection range in the outbound direction.

[0030] In this embodiment, the installation positions of the input camera and the output camera are only examples. In actual applications, the installation positions of the cameras can be determined based on the detection requirements for passing objects in different directions (such as detection distance, detection accuracy, etc.).

[0031] In the gate passage control method provided in one or more embodiments of this specification, the "first area" refers to the passage between the two sides of the gate body in the length direction of the gate. The gate body is the left gate and the right gate mentioned above. In any of the embodiments described below, the meaning of the first area is the same, so it will not be repeated.

[0032] Figure 2 is a schematic flow chart of a gate passage control method according to an embodiment of the present invention, such as Figure 2 As shown, this method is applied to Figure 1 The gate passage control system shown includes the following steps S202-S206:

[0033] S202, detecting the traffic status information of the first area; wherein the first area is the passage between the boundaries on both sides of the gate body in the length direction of the gate.

[0034] In this embodiment, the first area generally includes two directions, exit and entry, and corresponding detection devices can be installed in each direction. For example, the "exit" direction of the first area is installed with a detection device for detecting the traffic status information in the exit direction, and the "entrance" direction of the first area is installed with a detection device for detecting the traffic status information in the entry direction.

[0035] The traffic status information includes whether there is a passing object in the first area. Optionally, a detection device such as a visible light camera device, an infrared camera device, etc. is used to detect whether there is a passing object in the first area.

[0036] S204: If the traffic status information indicates that there is no object passing through the first area and the gate is in an open state, determine whether there is a target object within the range of the first channel.

[0037] Among them, the first channel range includes the range between the gate and the preset position, and the preset position is a position that does not reach the gate body in the direction of passage and is located between the boundaries on both sides of the gate body.

[0038] Among them, the traffic status information is that there is no passing object in the first area and the gate is in an open state. This state may occur in many situations. Two common situations are listed below:

[0039] In the first case, the last passing object has just passed through the first area, but the gate is still in an open state (ie, before the gate is controlled to be closed). At this time, it is detected that there is no passing object in the first area and the gate is in an open state.

[0040] In the second case, the gate is kept open (such as controlling the gate to be always open during peak traffic hours). At this time, if there is no passing object in the first area, it will be detected that there is no passing object in the first area and the gate is in the open state.

[0041] In this embodiment, the first channel range is the range for detecting and identifying the target object through the detection device in the gate. When the detection device is a camera device, the first channel range can be the field of view angle range of the camera device, or smaller than the field of view angle range of the camera device. The setting of the first channel range should ensure that the camera device can identify but will not identify across channels. Figure 3 As an example, Figure 3 It is a schematic diagram of the first channel range of a double gate channel (i.e., two first areas formed by three adjacent gates) of an embodiment of the present application.

[0042] like Figure 3 As shown, the double gate channel includes gate channel A (i.e., the first area, gate channel A will be used to replace the first area below) and gate channel B (i.e., the first area, gate channel B will be used to replace the first area below), and the camera device includes camera device A and camera device B, wherein camera device A is used to detect the target object "entering" the gate channel A (i.e., the direction indicated by the arrow in gate channel A), and camera device B is used to detect the target object "entering" the gate channel B (i.e., the direction indicated by the arrow in gate channel B). The first channel range corresponding to camera device A is: a trapezoidal range with the extension line of the lens diameter of camera device A as the upper base, P1P2 at a preset distance d from camera device A as the lower base, and the preset distance d as the height (such as Figure 3 The first channel range may be the field of view angle range of the camera device A, or may be smaller than the field of view angle range of the camera device A. The first channel range corresponding to the camera device B is a trapezoidal range (such as Figure 3 The first channel range may be the field of view range of the camera device B, or may be smaller than the field of view range of the camera device B. Optionally, the preset distance d may be 2.5 meters. Figure 3 It can be seen that the first channel range and the first area have a part of overlap, but the two are not the same. In addition to the range that overlaps with the first area, the first channel range may also include a range outside the first area and within the field of view of the camera device. In addition, the first channel range corresponding to the camera A and the first channel range corresponding to the camera B do not overlap with each other, so as to avoid the situation where different cameras recognize the same target object and cause the gate control disorder.

[0043] S206: If there is a target object within the range of the first channel, the gate is controlled to remain open.

[0044] The technical solution of the embodiment of the present application is adopted to detect the traffic status information of the first area, wherein the first area is the passage between the boundaries of the gate body and the length direction of the gate. If the traffic status information shows that there is no passing object in the first area and the gate is in an open state, it is determined whether there is a target object within the range of the first channel, wherein the range of the first channel includes the range between the gate and a preset position; the preset position is a position that does not reach the gate body in the direction of passage and is located between the boundaries of the gate body. If there is a target object within the range of the first channel, the gate is controlled to remain in an open state, thereby avoiding frequent opening or closing of the gate, which can not only avoid wasting the passage time of the target object, effectively improve the passage efficiency in the first area, but also avoid the frequent opening or closing of the gate causing inconvenience to the passage of the target object.

[0045] In one embodiment, considering that there are fewer objects entering and leaving the first area during certain time periods, it is not necessary to control the gate to remain open, but only to control the gate to open and close in the form of only one person passing through at a time. However, during certain time periods, the flow of objects entering and leaving the first area is large, and the method of only one person passing through the first area at a time will greatly reduce the traffic efficiency. Therefore, before detecting the traffic status information in the first area, it can be determined when to execute S202 to S206. Among them, the method for determining the execution timing of S202 to S206 may include at least one of the following methods:

[0046] Method 1: determining whether the current time belongs to a preset time period; wherein, within the preset time period, the number of target objects within the first channel range is greater than or equal to a first preset threshold.

[0047] In the first method, the preset time period can be determined according to the application scenario and traffic conditions of the first area. For example, the application scenario may include office building entrances and exits, railway station entrances and exits, library entrances and exits, student dormitory entrances and exits, etc. The traffic conditions may include the traffic time and the number of traffic of the target object. For example, when the application scenario is the entrance and exit of an office building, it is assumed that the traffic volume is high during the time periods of 8:00 to 10:00 in the morning, 12:00 to 13:00 in the afternoon, and 5:00-7:00 in the afternoon, which is the peak traffic period of the first area. Therefore, the above time periods can be set as preset time periods, and steps S202 to S206 can be performed during the preset time periods.

[0048] In addition, the preset time periods listed above can be counted by a user or a computer. If counted by a computer, the number of target objects within the first channel range in different time periods of each day can be counted first, and then the number of target objects in each time period can be compared with the first preset threshold value respectively. According to the comparison result, the time period in which the number of target objects is greater than or equal to the first preset threshold value is determined as the preset time period. When performing statistics, the application scenario is still taken as an example of the entrance and exit of an office building, and the traffic conditions of the entrance and exit of the office building during each working day and each rest day are similar. Therefore, five working days can be used as a statistical cycle, and two rest days can be used as another statistical cycle, that is, the number of target objects in each time period of five working days is counted, and then the average number of target objects in the corresponding time period of each working day is calculated. If the average number is greater than or equal to the first preset threshold value, the time period is used as the preset time period of the working day; and the number of target objects in each time period of two rest days is counted, and then the average number of target objects in the corresponding time period of each rest day is calculated. If the average number is greater than or equal to the first preset threshold value, the time period is used as the preset time period of the rest day.

[0049] For another example, when the application scenario is the entrance and exit of a student dormitory, the traffic conditions in the time periods corresponding to before and after class time are usually more complicated, which can be used as the peak traffic period of the first area. Since the application scenario is the entrance and exit of a student dormitory, the traffic conditions during weekdays and holidays are not completely similar. During weekdays, the traffic conditions corresponding to the time periods before and after class time may be more complicated, so the time periods before and after class time when the number of target objects is greater than or equal to the first preset threshold can be set as the preset time period; and during holidays, the traffic conditions corresponding to the time period corresponding to the dining time may be more complicated, so the dining time period when the number of target objects is greater than or equal to the first preset threshold can be set as the preset time period, and then steps S202 to S206 are performed within the above preset time period.

[0050] In addition, historical traffic information in the first area at a preset time may also be obtained. If the preset time includes multiple time periods, the historical traffic information may include the historical traffic counts of the target object in the first area corresponding to each time period. According to the historical traffic counts, a time period in which the average historical traffic count exceeds a first preset threshold is determined as the preset time period. For example, the preset time may be the last five days, ten days, thirty days, and so on.

[0051] Optionally, each day is divided into several time periods on average, and the historical number of passes in the first area corresponding to each time period in the past five days is obtained. Then, based on the historical number of passes, the time period in which the average historical number of passes exceeds a first preset threshold is determined as the preset time period.

[0052] Method 2: Detecting the number of target objects within the first channel range: If the number of target objects is greater than or equal to the second preset threshold, start detecting the traffic status information within the first area, that is, execute the above steps S202 to S206.

[0053] Taking the first area set at the entrance and exit of a railway station as an example, due to the complex traffic conditions at the railway station, the number of target objects corresponding to the first area set at the entrance and exit of the railway station in each time period also changes irregularly. Therefore, the number of target objects within the range of the first channel can be detected in real time to determine how to control the gate.

[0054] In a specific implementation, a detection device, such as a visible light camera device, can be used to capture a visible light image within the first channel, and then the main controller chip in the gate can be used to identify the facial information of the target object in the visible light image, and then determine whether the number of faces of the target object is greater than or equal to a second preset threshold. If so, steps S202 to S206 can be executed.

[0055] In this embodiment, before detecting the traffic information of the first area, a preset time period for executing steps S202 to S206 is pre-set in a targeted manner; or the number of target objects is detected in real time, and then steps S202 to S206 are executed when the number of target objects is greater than or equal to a second preset threshold value. This allows the control method for the passage of the gate to be implemented in a targeted manner according to different time periods. In this way, unnecessary resource consumption is reduced while improving the passage efficiency of the gate.

[0056] In one embodiment, if the traffic status information indicates that there is a passing object in the first area and the gate is in an open state, the target object is verified for access rights. If the target object's access rights are verified, it is determined whether the target object has passed the first area within a third preset time period, wherein the third preset time period is the time period for which the gate remains open after the target object's access rights are verified; if the target object has not passed the first area within the third preset time period, the gate is controlled to close, thereby increasing the verification of the target object and ensuring the safety of gate access control.

[0057] In one embodiment, if there is a passing object in the first area (i.e. after executing the above S202), the following steps B1 to B3 may be executed:

[0058] Step B1: If there is a passable object in the first area, the pass authority of the passable object is verified.

[0059] In this step, the process of verifying the access authority of the access object will be described in detail in the following embodiments.

[0060] Step B2: If the access authority of the access object is verified, it is determined whether the access object passes through the first area within a first preset time period.

[0061] Among them, the first preset time length is the time length that the gate remains open after the access permission verification of the access object is passed, such as 5 seconds.

[0062] Step B3, if the passing object passes through the first area within the first preset time, the gate is controlled to be opened; if the passing object does not pass through the first area within the first preset time, the gate is controlled to be closed.

[0063] In this embodiment, there are multiple situations in which there are passing objects in the first area, and two situations are exemplarily listed below:

[0064] Case 1: After detecting the traffic status information of the first area, it is detected that the traffic status information indicates that there is a passing object in the first area.

[0065] Among them, the state of the passage status information indicating that there is a passing object in the first area may include multiple situations, and two common situations are listed below: 1. After the previous passing object's access authority verification is passed, but the gate is still in the open state (i.e., before the gate is controlled to be closed), at this time, the passing object is detected in the first area. 2. After the previous passing object has passed the first area, the gate is in the closed state, and the passing object is detected in the first area.

[0066] Case 2: After detecting that the traffic status information indicates that there is no object in the first area and the gate is in an open state, it is determined that there is a target object in the first channel range. The target object in the first channel range is continuously monitored, and when it is detected that the target object in the first channel range enters the first area from the first channel range, it is determined that there is a object in the first area.

[0067] It can be seen that when there are passing objects in the first area, the passing objects are firstly verified for their access rights to ensure that the passing objects in the first area can pass through the first area smoothly, thereby ensuring the safety of the gate passage; further, after determining that there are no passing objects in the first area, it is detected that there is a target object within the range of the first channel, and the gate is controlled accordingly (such as controlling to open or close) according to the detection result, so as to improve the response rate of the first area, thereby improving the passage efficiency. In one embodiment, in order to ensure the accuracy of the detection of the target object, the access rights of the target object can be verified when the target object enters and exits the first area. For example, the mobility of objects entering and exiting public places such as office buildings, student dormitories and other buildings is relatively strong. In order to facilitate the security control of objects entering and exiting the building, the access rights of the above-mentioned objects entering and exiting are verified when they pass through the first area.

[0068] If there is a target object in the first area, the gate is controlled to remain open. Further, the target object is authenticated for access. The authentication process can be implemented by performing the following steps A1 to A3:

[0069] Step A1, obtaining the face information of the target object.

[0070] A visible light image in the first area is captured by a detection device in the gate, such as a visible light camera device or an infrared camera device, and then the facial information of the target object in the visible light image is recognized by a main controller chip in the gate.

[0071] Step A2: If the face information is acquired within the second preset time period, the face information is recognized using face recognition technology to obtain a recognition result. According to the recognition result, it is determined whether the access authorization verification of the target object is passed.

[0072] The second preset time is a preset time for verifying the access authority. Any existing face recognition technology can be used to recognize the face information. The face information recognition process may include image preprocessing, face feature extraction, and face feature recognition, so as to obtain the face information recognition result.

[0073] When performing face recognition, the face information of the target object obtained in real time can be matched with the standard face information corresponding to the target object. Before performing face recognition, the standard face information of the target object can be collected in advance, and the collected standard face information can be stored in a designated database, so that when the face information of the target object is recognized, the corresponding standard face information can be obtained from the designated database; or, when performing face recognition, the standard face information of the target object stored on the network side can be obtained in real time according to the identification information (such as name, telephone number, etc.) of the target object.

[0074] The recognition result may include that the facial information matches the standard facial information corresponding to the target object, or that the facial information does not match the standard facial information.

[0075] Optionally, if the recognition result is that the facial information matches the standard facial information corresponding to the target object, it is determined that the access permission verification has passed; if the recognition result is that the facial information does not match the standard facial information, it is determined that the access permission verification has not passed.

[0076] Optionally, considering that in some scenarios, gate access authority is not only related to the passer but also to the time period, that is, the passer may not have access authority in all time periods. Based on this, when judging whether the target object's access authority verification has passed, in addition to using the recognition result of the face information as a basis, other factors can also be combined for comprehensive judgment, such as whether the target object has access authority at the current time.

[0077] In one implementation, if the face information recognition result is that the face information matches the standard face information corresponding to the target object, it is further verified whether the current time is within the passable time of the target object. If the current time is within the passable time of the target object, it is determined that the pass permission verification has passed; if the current time is not within the passable time of the target object, it is determined that the pass permission verification has failed.

[0078] For example, the passable time of target object X is from 8:00 am to 10:00 pm every day, that is, target object X has the right of passage only during this time period. If the current time is 1:00 pm, after determining that the real-time acquired face information matches the standard face information of target object X, it is determined that the current time belongs to the passable time of target object X, and it is determined that the passability verification of target object X has passed. For another example, if the current time is 7:00 am, after determining that the real-time acquired face information matches the standard face information of target object X, it is determined that the current time does not belong to the passable time of target object X, and it is determined that the passability verification of target object X has not passed.

[0079] Step A3: If the facial information of the target object is not obtained within the second preset time period, it is determined that the access authority verification of the target object has failed.

[0080] In this embodiment, if the facial information of the target object is not obtained within the second preset time period, there may be the following reasons: 1. The camera device in the gate cannot capture the face of the target object during the target object's access authorization verification (such as the face of the target object is not facing the camera device, etc.), resulting in the inability to obtain facial information; 2. The standard facial information of the target object pre-stored in the specified database cannot be obtained, and the standard facial information of the target object on the network side cannot be obtained, resulting in the inability to match the facial information of the target object and the standard facial information of the target object within the second preset time period. Among them, the standard facial information of the target object has been described in the previous embodiment and will not be repeated here.

[0081] It can be seen that this embodiment matches the facial information of the identified target object with the pre-stored standard facial information to verify whether the target object has access rights, thereby ensuring the security of the gate access control; and by setting the second preset time length to give the main controller chip a reaction time for face recognition, it is only when the facial information of the target object cannot be obtained within the second preset time length that the target object is considered to have failed the access right verification, thereby effectively preventing the problem of the gate being closed due to the inability to collect the facial information of the target object in time when the target object enters the first channel, and effectively improving the access rate of the gate channel. In addition, in the scenario where the target object's passable time is restricted, by verifying whether the current time belongs to the target object's passable time, the verification result of the access right is made more accurate, thereby strengthening the strictness of the gate access control and achieving the best security effect.

[0082] In one embodiment, considering that in an actual scenario, the same target object may exist in the first channel range corresponding to two adjacent first areas, or the camera devices corresponding to two adjacent first areas simultaneously detect the same target object, in order to ensure the accuracy of gate control, when controlling the gate to remain open, the following method can be used to control: if the same target object exists in the first channel range corresponding to two adjacent first areas, the position information of the target object is detected. Then, the position information of the target object is analyzed, and the target channel range corresponding to the target object is determined based on the analysis result. Then, the gate corresponding to the target channel range is controlled to remain open. Among them, the target channel range is one of the multiple first channel ranges.

[0083] by Figure 3 Taking the scene shown as an example, the camera devices of the two adjacent first areas are camera device A and camera device B, respectively, and both camera device A and camera device B are visible light camera devices. The position information of the target object can be detected according to the visible light camera device, wherein the visible light lens in the visible light camera device can adopt a monocular lens, which has an image shooting function and a monocular vision positioning and ranging function; the position information of the target object can be the coordinate information of the target object relative to the visible light camera device. In addition, each position within the first channel range corresponding to gate channel A has corresponding coordinate information relative to camera device A, and each position within the first channel range corresponding to gate channel B has corresponding coordinate information relative to camera device B, then the coordinate range of the first channel range corresponding to gate channel A relative to camera device A, and the coordinate range of the first channel range corresponding to gate channel B relative to camera device B can be determined.

[0084] First, a visible light image is captured by a visible light camera device corresponding to the first area, and the visible light image includes a target object. Then, the captured visible light image is positioned using a monocular lens in the visible light camera device to obtain coordinate information of the target object in the visible light image relative to the visible light camera device. Then, the coordinate information of the target object is compared to see whether it is within the coordinate range of the first channel range corresponding to the visible light camera device. If so, it is determined that the target object is within the first channel range corresponding to the visible light camera device.

[0085] For example, if the same target object exists in the first channel ranges corresponding to two adjacent first areas, the two first areas ( Figure 3 The camera devices corresponding to the A gate channel and the B gate channel will respectively detect the coordinate information of the target object relative to their respective camera devices: the A camera device detects the first coordinate information of the target object relative to the A camera device, and the B camera device detects the second coordinate information of the target object relative to the B camera device. If the first coordinate information of the target object relative to the A camera device is within the coordinate range corresponding to the A gate channel, and the second coordinate information of the target object relative to the B camera device is not within the coordinate range corresponding to the B gate channel, then the target channel range corresponding to the target object is determined to be the first channel range corresponding to the A gate channel, and the gate corresponding to the A gate channel can be controlled to remain open.

[0086] In this embodiment, considering that the same target object exists in the first channel ranges corresponding to two adjacent first areas, the target channel range corresponding to the target object is first determined, and then the gate corresponding to the target channel range is controlled to remain open, thereby preventing the gate from being closed incorrectly, which can improve the accuracy of controlling the opening or closing of the gate and thereby improve the passage efficiency of the gate.

[0087] Figure 4 FIG. 1 is a schematic flow chart of a gate passage control method according to another embodiment of the present application. Figure 4 As shown, the method includes the following S401 to S410:

[0088] S401, determining whether the current time belongs to a preset time period, or detecting the number of target objects within a first channel range, and the number of target objects is greater than or equal to a second preset threshold.

[0089] Wherein, within the preset time period, the number of target objects within the first channel range is greater than or equal to the first preset threshold. The first preset threshold and the second preset threshold may be equal or unequal, and this embodiment does not limit them.

[0090] S402: Detect traffic status information in the first area.

[0091] The first area is the passage between the two sides of the gate body in the length direction of the gate. The traffic status information includes whether there is a passing object in the first area.

[0092] After S402, different steps may be performed according to different traffic status information. In this embodiment, if the traffic status information indicates that there is a traffic object in the first area, S403 is performed; if the traffic status information indicates that there is no traffic object in the first area, S405 is performed.

[0093] S403, verifying the access authority of the access object.

[0094] S404: If the pass permission verification of the pass object is passed, it is determined whether the pass object passes through the first area within the first preset time period. If yes, S406 is executed; if no, S410 is executed.

[0095] Among them, the first preset time length is the time length that the gate remains open after the access permission verification of the access object is passed.

[0096] S405, determine whether there is a target object within the range of the first channel. If yes, execute S406; if no, execute S410.

[0097] Among them, the first channel range includes the range between the gate and the preset position, and the preset position is a position that does not reach the gate body in the direction of passage and is located between the boundaries on both sides of the gate body.

[0098] S406, control the gate to open.

[0099] S407, acquiring facial information of the target object within a second preset time period, and identifying the facial information using facial recognition technology to obtain a recognition result.

[0100] The second preset time duration is a preset time for verifying access rights. The recognition result includes that the facial information matches the standard facial information corresponding to the target object, or that the facial information does not match the standard facial information. The standard facial information is the standard facial information corresponding to the target object obtained from a specified database, or the standard facial information of the target object stored on the network side.

[0101] In addition, if the facial information of the target object is not obtained within the second preset time period, it can be directly determined that the access authority verification of the target object has failed.

[0102] S408, judging whether the access authorization verification of the target object is passed according to the recognition result. If yes, execute S409; if no, execute S410.

[0103] Among them, if the recognition result is that the facial information matches the standard facial information corresponding to the target object, it is determined that the access permission verification has passed; if the recognition result is that the facial information does not match the standard facial information, it is determined that the access permission verification has not passed.

[0104] S409, determining whether the target object passes through the first area within a third preset time period; if not, executing S410.

[0105] Among them, the third preset time length is the time length that the gate remains open after the target object's access permission verification is passed.

[0106] S410, control the gate to close.

[0107] By adopting the technical solution of this embodiment, by setting a preset time period in a targeted manner before detecting the passage information of the first area, or detecting the number of target objects in real time, and then executing the corresponding steps when the number of target objects is greater than or equal to the second preset threshold, the control method of the gate passage can be implemented in a targeted manner according to different time periods, thereby reducing unnecessary resource consumption while improving the gate passage efficiency. In addition, by verifying the access rights of the target objects within the first channel range, the security of the gate passage control is ensured; further, after the access rights of the target objects are verified, if the target objects do not pass through the first area within the third preset time period, the gate is controlled to be closed, which not only improves the verification strength of the target objects, but also improves the effect of the gate passage control.

[0108] In summary, specific embodiments of the present subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recorded in the claims can be performed in a different order and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing can be advantageous.

[0109] The above is a gate passage control method provided in an embodiment of the present application. Based on the same idea, an embodiment of the present application also provides a gate passage control device. Figure 5 : is a schematic block diagram of a gate passage control device provided in an embodiment of the present application, comprising:

[0110] The first detection module 510 is used to detect the traffic status information of the first area; the first area is the passage between the boundaries of the gate body in the length direction of the gate;

[0111] The first judgment module 520 is used to judge whether there is a target object in the first channel range if the passage status information indicates that there is no passing object in the first area and the gate is in an open state; the first channel range includes the range between the gate and a preset position; the preset position is a position that does not reach the gate body in the passage direction and is located between the boundaries of both sides of the gate body;

[0112] The first control module 530 is configured to control the gate to maintain the open state if the target object exists within the range of the first channel.

[0113] In one embodiment, the apparatus further comprises:

[0114] A verification module, configured to verify the access authority of the access object if the access object exists in the first area;

[0115] A second judgment module is used to judge whether the pass object passes through the first area within a first preset time if the pass authority verification is passed; the first preset time is the time the gate remains open after the pass authority verification of the pass object is passed;

[0116] The second control module is used for controlling the gate to open if yes, and to close if no.

[0117] In one embodiment, the verification module further includes:

[0118] An acquisition unit, used to acquire the face information of the target object;

[0119] an identification and judgment unit, configured to, if the face information is acquired within a second preset time period, identify the face information using face recognition technology to obtain a recognition result; and determine whether the access authority verification of the target object is passed according to the recognition result;

[0120] The first determination unit is used to determine that the access authority verification of the target object has not passed if the facial information is not obtained within the second preset time period; the second preset time period is a preset time for access authority verification.

[0121] In one embodiment, the apparatus further comprises:

[0122] A third judgment module is used for judging whether the target object passes through the first area within a third preset time period after the target object passes the access authorization verification; the third preset time period is the time period for which the gate remains open after the target object passes the access authorization verification;

[0123] The third control module is used for controlling the gate to close if no.

[0124] In one embodiment, the apparatus further comprises:

[0125] A determination module is used to determine whether the current time belongs to a preset time period before detecting the traffic status information of the first area; wherein, within the preset time period, the number of the target objects within the first channel range is greater than or equal to a first preset threshold.

[0126] In one embodiment, the apparatus further comprises:

[0127] A second detection module, configured to detect the number of the target objects within the first channel before detecting the traffic status information of the first area;

[0128] The first detection module 510 includes:

[0129] The first detection unit is used to detect the traffic status information of the first area if the number of the target objects is greater than or equal to a second preset threshold.

[0130] In one embodiment, the first control module 530 includes:

[0131] a second detection unit, configured to detect position information of the target object if the same target object exists within the first channel ranges respectively corresponding to two adjacent first areas;

[0132] An analyzing and determining unit, configured to analyze the position information and determine a target channel range corresponding to the target object according to the analysis result; the target channel range is one of the plurality of first channel ranges;

[0133] A control unit is used to control the gate corresponding to the target channel range to remain in an open state.

[0134] The device of the embodiment of the present application is used to detect the traffic status information of the first area, wherein the first area is the passage between the boundaries of the gate body in the length direction of the gate. If the traffic status information indicates that there is no passing object in the first area and the gate is in an open state, it is determined whether there is a target object within the range of the first channel, wherein the range of the first channel includes the range between the gate and a preset position; the preset position is a position that does not reach the gate body in the direction of passage and is located between the boundaries of the gate body. If there is a target object within the range of the first channel, the gate is controlled to remain in an open state, thereby avoiding frequent opening or closing of the gate, which not only avoids wasting the passage time of the target object, effectively improves the passage efficiency of the first area, but also avoids the inconvenience caused by frequent opening or closing of the gate to the passage of the target object.

[0135] Based on the same idea, the embodiment of the present application also provides a gate passage control device, such as Figure 6 As shown. The control device for gate access may have relatively large differences due to different configurations or performances, and may include one or more processors 601 and memory 602, and the memory 602 may store one or more storage applications or data. Among them, the memory 602 can be short-term storage or persistent storage. The application stored in the memory 602 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the control device for gate access. Furthermore, the processor 601 can be configured to communicate with the memory 602 to execute a series of computer executable instructions in the memory 602 on the control device for gate access. The control device for gate access may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input and output interfaces 605, and one or more keyboards 606.

[0136] Specifically in this embodiment, the gate control device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the gate control device, and the one or more programs are configured to be executed by one or more processors, including the following computer executable instructions:

[0137] Detecting the traffic status information of the first area; the first area is the passage between the boundaries of the gate body in the length direction of the gate;

[0138] If the passage status information indicates that there is no object passing through the first area and the gate is in an open state, it is determined whether there is a target object within the first channel range; the first channel range includes the range between the gate and a preset position; the preset position is a position that does not reach the gate body in the passage direction and is located between the boundaries of both sides of the gate body;

[0139] If the target object exists within the range of the first channel, the gate is controlled to maintain the open state.

[0140] An embodiment of the present application also proposes a storage medium, which stores one or more computer programs. The one or more computer programs include instructions. When the instructions are executed by an electronic device including multiple application programs, the electronic device can execute the various processes of the above-mentioned gate passage control method embodiment and achieve the same technical effect. To avoid repetition, they are not repeated here.

[0141] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0142] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0143] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0144] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0145] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0146] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0147] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0148] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0149] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0150] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0151] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0152] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0153] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for controlling the passage of a gate, characterized in that: include: Detecting traffic status information of the first area; The first area is the passage between the boundaries on both sides of the gate body in the length direction of the gate; If the passage status information indicates that there is no object passing through the first area and the gate is in an open state, it is determined whether there is a target object within the first channel range; the first channel range includes the range between the gate and a preset position; the preset position is a position that does not reach the gate body in the passage direction and is located between the boundaries of both sides of the gate body; If the target object exists within the range of the first channel, controlling the gate to maintain the open state; The method further comprises: Verifying the access authority of the target object; If the access authorization verification of the target object is passed, determining whether the target object passes through the first area within a third preset time period; the third preset time period is the time period during which the gate remains open after the access authorization verification of the target object is passed; If not, the gate is controlled to close.

2. The method according to claim 1, characterized in that The method further comprises: If the pass object exists in the first area, verifying the pass authority of the pass object; If the access authorization verification is passed, it is determined whether the pass object passes through the first area within a first preset time period; the first preset time period is the time period for which the gate remains open after the pass object's access authorization verification is passed; If yes, the gate is controlled to be opened; if no, the gate is controlled to be closed.

3. The method according to claim 2, characterized in that The verifying the access authority of the target object includes: Acquire facial information of the target object; If the facial information is obtained within the second preset time period, the facial information is identified using facial recognition technology to obtain an identification result; and whether the access authorization verification of the target object is passed is determined according to the identification result; If the facial information is not obtained within the second preset time period, it is determined that the access authority verification of the target object has not passed; the second preset time period is a preset time for access authority verification.

4. The method according to claim 1, characterized in that: Before detecting the traffic status information of the first area, the method further includes: Determine whether the current time belongs to a preset time period; wherein, within the preset time period, the number of the target objects within the first channel range is greater than or equal to a first preset threshold.

5. The method according to claim 1, characterized in that Before detecting the traffic status information of the first area, the method further includes: Detecting the number of the target objects within the range of the first channel; The detecting the traffic status information of the first area includes: If the number of the target objects is greater than or equal to a second preset threshold, traffic status information of the first area is detected.

6. The method according to claim 1, characterized in that If the target object exists within the range of the first channel, controlling the gate to maintain the open state includes: If the same target object exists within the first channel ranges respectively corresponding to two adjacent first areas, detecting the position information of the target object; Analyze the position information, and determine a target channel range corresponding to the target object according to the analysis result; the target channel range is one of the plurality of first channel ranges; The gate corresponding to the target channel range is controlled to remain in an open state.

7. A gate passage control device, characterized in that: include: A first detection module, used to detect traffic status information of a first area; The first area is the passage between the boundaries on both sides of the gate body in the length direction of the gate; A first judgment module is used to judge whether there is a target object within a first channel range if the passage status information indicates that there is no passing object in the first area and the gate is in an open state; the first channel range includes a range between the gate and a preset position; the preset position is a position that does not reach the gate body in the passage direction and is located between the boundaries of both sides of the gate body; A first control module, configured to control the gate to maintain the open state if the target object exists within the range of the first channel; The device also includes: A third judgment module is used to verify the access authority of the target object; if the access authority verification of the target object is passed, it is judged whether the target object passes the first area within a third preset time; the third preset time is the time the gate remains open after the access authority verification of the target object is passed; The third control module is used for controlling the gate to close if no.

8. A gate passage control device, characterized in that: It includes a processor and a memory electrically connected to the processor, the memory stores a computer program, and the processor is used to call and execute the computer program from the memory to implement the gate passage control method described in any one of claims 1-6.

9. A storage medium, characterized in that: The storage medium is used to store a computer program, and the computer program can be executed by a processor to implement the gate passage control method described in any one of claims 1-6.