CN113362518B - Barrier gate state control method and device and electronic equipment - Google Patents

Barrier gate state control method and device and electronic equipment Download PDF

Info

Publication number
CN113362518B
CN113362518B CN202010151608.XA CN202010151608A CN113362518B CN 113362518 B CN113362518 B CN 113362518B CN 202010151608 A CN202010151608 A CN 202010151608A CN 113362518 B CN113362518 B CN 113362518B
Authority
CN
China
Prior art keywords
vehicle
target vehicle
coil
type
trigger signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010151608.XA
Other languages
Chinese (zh)
Other versions
CN113362518A (en
Inventor
马林
刘勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202010151608.XA priority Critical patent/CN113362518B/en
Publication of CN113362518A publication Critical patent/CN113362518A/en
Application granted granted Critical
Publication of CN113362518B publication Critical patent/CN113362518B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/017Detecting movement of traffic to be counted or controlled identifying vehicles
    • G08G1/0175Detecting movement of traffic to be counted or controlled identifying vehicles by photographing vehicles, e.g. when violating traffic rules
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/042Detecting movement of traffic to be counted or controlled using inductive or magnetic detectors

Abstract

The application provides a barrier state control method, a barrier state control device and electronic equipment, wherein the method comprises the following steps: when a first edge trigger signal of the trigger coil is detected, the relay is controlled to be kept in a closed state, so that the gateway controller refuses to respond to the trigger signal of the smash-proof coil; when a second edge trigger signal of the trigger coil is detected, the relay is controlled to be in a disconnected state, so that the barrier gate controller normally responds to the trigger signal of the smash-proof coil. The method can avoid the situation that the rear vehicle can not pass through the barrier gate or be hit by the barrier gate rod under the condition of following the vehicle, and improve the rationality of the state control of the barrier gate.

Description

Barrier gate state control method and device and electronic equipment
Technical Field
The application relates to the technical field of video monitoring, in particular to a barrier state control method and device and electronic equipment.
Background
With the rapid development of economic construction and social construction, the number of urban motor vehicles is greatly increased, and under the influence of a plurality of factors, the standardization of entrance and exit management of districts, markets, schools, hospitals and the like is more and more important.
Please refer to fig. 1, which is a schematic structural diagram of a typical gateway management and control system, in which a complete vehicle passing process is that a vehicle passes through a trigger coil → a barrier gate is opened (a barrier gate rod is raised) → the vehicle passes through an anti-smash coil → a barrier gate is closed (a barrier gate rod is dropped).
Under the condition that the vehicle does not follow, the process usually has no problem, the system can work normally, when the traffic flow is large, the front vehicle presses the trigger coil and then the back barrier gate is opened, the vehicle continues to move forwards, and the second vehicle also closely follows the trigger coil in the process that the front vehicle moves forwards and presses the trigger coil. In such a following situation, a situation may occur in which the first vehicle leaves the anti-pound coil, the barrier falls, the second vehicle continues to move forward, and the barrier cannot be lifted even if the second vehicle reaches the barrier.
What is worse, when the first vehicle leaves the anti-pound coil, the second vehicle quickly follows. When the second vehicle reaches the lower part of the barrier gate, the barrier gate still continues to be switched on and falls down, so that the barrier gate rod is hammered onto the second vehicle
Disclosure of Invention
In view of the above, the present application provides a barrier status control method, device and electronic apparatus
Specifically, the method is realized through the following technical scheme:
according to a first aspect of the embodiments of the present application, there is provided a barrier status control method, including:
when a first edge trigger signal of the trigger coil is detected, the relay is controlled to be kept in a closed state, so that the gateway controller refuses to respond to the trigger signal of the smash-proof coil;
when a second edge trigger signal of the trigger coil is detected, the relay is controlled to be in a disconnected state, so that the gateway controller normally responds to the trigger signal of the smash-proof coil;
wherein the first edge trigger signal is indicative of a vehicle pressing on the trigger coil, and the second edge trigger signal is indicative of a vehicle leaving the trigger coil.
According to a second aspect of the embodiments of the present application, there is provided a barrier status control device, including:
a detection unit for detecting a trigger signal;
the control unit is used for controlling the relay to keep a closed state when the detection unit detects a first edge trigger signal of the trigger coil, so that the gateway controller refuses to respond to the trigger signal of the anti-smashing coil; when the detection unit detects a second edge trigger signal of the trigger coil, the relay is controlled to be in a disconnected state, so that the gateway controller normally responds to the trigger signal of the smash-proof coil;
wherein the first edge trigger signal is indicative of a vehicle pressing on the trigger coil and the second edge trigger signal is indicative of a vehicle leaving the trigger coil.
According to a third aspect of embodiments of the present application, there is provided an electronic apparatus including:
a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor; the processor is configured to execute machine-executable instructions to implement the above-described method.
According to the method for controlling the state of the barrier gate, when the first edge trigger signal of the trigger coil is detected, the relay is controlled to be kept in a closed state, so that a barrier gate controller refuses to respond to the trigger signal of the smash-proof coil; when the second edge trigger signal of the trigger coil is detected, the relay is controlled to be in a disconnected state, so that the gateway controller normally responds to the trigger signal of the anti-smashing coil, the situation that a rear vehicle cannot pass through the gateway or is smashed by a gateway rod under a following condition is avoided, and the reasonability of gateway state control is improved.
Drawings
Fig. 1 is a schematic diagram illustrating a typical gateway management system;
fig. 2 is a schematic flow chart illustrating a barrier status control method according to an exemplary embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating an exemplary embodiment of a barrier operating mode of the present application;
FIG. 4A is a timing diagram of a relay, a barrier and a smash-proof coil during passing in a conventional barrier control scheme;
FIG. 4B is a timing diagram of a conventional gate-follower control scheme;
FIG. 4C is a timing diagram illustrating a follower of an exemplary embodiment of the present application;
fig. 5 is a schematic structural diagram of a barrier status control device according to an exemplary embodiment of the present application;
fig. 6 is a schematic diagram of a hardware structure of the apparatus shown in fig. 5 according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
In order to make the technical solutions provided in the embodiments of the present application better understood and make the above objects, features and advantages of the embodiments of the present application more comprehensible, the technical solutions in the embodiments of the present application are described in further detail below with reference to the accompanying drawings.
Referring to fig. 2, a schematic flow chart of a barrier status control method according to an embodiment of the present disclosure is shown in fig. 2, where the barrier status control method includes the following steps:
it should be noted that, in this embodiment of the application, the execution subject in steps S200 to S210 may be a snapshot device deployed at an entrance and an exit of a specified place (including but not limited to a cell, a mall, a school, a hospital, or the like), such as an entrance and exit light supplement snapshot unit or an exit light supplement snapshot unit shown in fig. 2, where the snapshot device is configured to control a state (on or off) of a gateway at the entrance and the exit of the specified place.
And step S200, when the first edge trigger signal of the trigger coil is detected, controlling the relay to keep a closed state so that the gateway controller refuses to respond to the trigger signal of the anti-smashing coil.
And step S210, when the second edge trigger signal of the trigger coil is detected, controlling the relay to be in a disconnection state so that the gateway controller normally responds to the trigger signal of the anti-smashing coil.
In an embodiment of the present application, the first edge trigger signal is indicative of a vehicle covering the trigger coil, and the second edge trigger signal is indicative of a vehicle leaving the trigger coil.
It should be noted that, in the embodiment of the present application, the vehicle coverage triggering coil is not limited to the vehicle completely covering the triggering coil, but the proportion of the vehicle coverage triggering coil when triggering the first edge triggering signal (the lower the proportion, the higher the sensitivity) may be set according to actual requirements, that is, when the proportion of the vehicle coverage triggering coil at any part of the vehicle reaches a preset proportion (such as 30% or 50%), the first edge triggering signal may be triggered.
Illustratively, the first edge trigger signal is a rising edge trigger signal, and the second edge trigger signal is a falling edge trigger signal; or, the first edge trigger signal is a falling edge trigger signal, and the second edge trigger signal is a rising edge trigger signal.
In this application embodiment, in order to avoid with the car condition under, the front truck falls down through preventing pounding the back barrier gate pole of coil and leads to the back car can't pass through the banister, perhaps, the banister pole pounces the back car, need guarantee to exist with the car under the condition that the front truck leaves when preventing pounding the coil, no longer triggers the banister and closes.
In addition, in consideration of the situation of following a vehicle, the fact that a rear vehicle cannot pass through a barrier gate or be hit by a barrier gate rod is generally that the front vehicle leaves the anti-hitting coil, the rear vehicle presses the trigger coil, and when the front vehicle leaves the anti-hitting coil to trigger the barrier gate rod to fall down, the rear vehicle cannot trigger the barrier gate rod to rise again, so that the rear vehicle cannot pass through the barrier gate, or the barrier gate rod hits the rear vehicle.
Furthermore, in consideration of the actual situation, the distance between the trigger coil and the anti-smashing coil is usually the length of the body of a car (4-5 m longer), and under the following condition, in the process that a front car passes through a barrier gate and the anti-smashing coil, a rear car is usually pressed on the trigger coil.
Therefore, when the condition that the vehicle presses the trigger coil is detected, the barrier gate controller does not respond to the trigger signal of the anti-smashing coil, under the condition that the vehicle follows the vehicle, a front vehicle cannot pass through the barrier gate due to the fact that a rear barrier gate rod of the anti-smashing coil falls down, or the barrier gate rod smashes the rear vehicle, and the response of the barrier gate controller to the trigger signal of the anti-smashing coil is achieved based on the fact that a relay of the snapshot device is in a closed state.
Based on this, in the embodiment of the present application, the relay may be controlled to maintain the closed state when the trigger signal (i.e. the first edge trigger signal) representing that the vehicle presses on the trigger coil is detected, that is, when the vehicle presses on the trigger coil, the relay is no longer controlled to be closed for a period of time (e.g. 350ms), but the relay is kept in the closed state until an event (e.g. a second edge trigger signal of the trigger coil is detected) meeting the trigger condition of another state (e.g. the open state) is detected.
Because the banister controller can not respond to the trigger signal of the anti-smashing coil when the relay is in the closed state, the control relay is kept in the closed state, and therefore the situation that a rear vehicle presses the trigger coil on the rear banister to respond to the trigger signal of the anti-smashing coil and be closed under the condition that the rear vehicle follows a vehicle can be avoided, and the rear vehicle cannot pass through the banister or be smashed by a banister rod.
In the embodiment of the application, when the trigger signal (namely the second edge trigger signal) for representing that the vehicle leaves the trigger coil is detected, the relay can be controlled to be in the off state, and at the moment, the barrier gate controller can normally respond to the trigger signal of the anti-smashing coil, so that the normal control of the vehicle entering and exiting is ensured.
Therefore, in the method flow shown in fig. 2, when the first edge trigger signal representing that the vehicle presses the trigger coil is detected, the relay is controlled to keep the closed state, so that the situation that the following vehicle cannot pass through the barrier gate or is hit by the barrier gate rod under the vehicle following condition is avoided, and the rationality of the state control of the barrier gate is improved.
In one embodiment, before the controlling the relay to maintain the closed state when the first edge trigger signal of the trigger coil is detected in step S200, the method may further include:
performing black and white list matching based on the vehicle information of the target vehicle, and determining the type of the target vehicle; the target vehicle is a vehicle which is currently located at the position of the trigger coil in the monitoring picture;
determining to execute the step of controlling the relay to maintain the closed state when the type of the target vehicle is the first type; wherein the first type of vehicle allows passage through the barrier.
Illustratively, it is contemplated that a particular location may have restrictions on vehicles that are allowed to enter or exit, such as allowing a particular vehicle to enter or exit (typically via a white list) or denying a particular vehicle to enter or exit (typically via a black list).
For example, for a cell, only the owner's vehicle may be allowed to enter and exit; for a school, only the school party's vehicle may be allowed to enter and exit.
For another example, a shopping mall may be denied entry or exit of vehicles that have malicious card-swiping behaviors.
Therefore, in order to avoid that a vehicle which is not allowed to enter or exit the designated place enters or exits the designated place by following the vehicle, it is necessary to determine vehicle information of the vehicle so as to determine whether the vehicle is a vehicle which is allowed to pass the barrier gate when the barrier gate control is performed.
For example, when the capturing device detects the first edge trigger signal of the trigger coil, before the control relay keeps the closed state, the black-and-white list matching may be performed based on the vehicle information of the vehicle (referred to as a target vehicle herein) currently at the position of the trigger coil in the monitoring screen, so as to determine the type of the target vehicle.
For example, the vehicle information may include one or more of information such as a license plate, a vehicle type, and a vehicle body color.
In one example, a black and white list may be stored in the snap-shot device, at which point the snap-shot device may determine the type of the target vehicle based on the vehicle information of the target vehicle matching the locally stored black and white list.
In another example, the black-and-white list may be stored in the control platform, and at this time, the capture device may report the vehicle information of the target vehicle to the control platform, and the control platform performs black-and-white list matching based on the vehicle information of the target vehicle, determines the type of the target vehicle, and returns the determined type of the target vehicle to the capture device.
It should be noted that, in this embodiment of the application, the snapshot device may identify vehicle information of the vehicle when the vehicle enters the monitoring screen, and the identification of the vehicle information may be implemented in a deep learning manner, which is not described herein again in detail.
In one example, the types of vehicles may include a type that allows passage through a barrier (referred to herein as a first type) or a type that does not allow passage through a barrier (referred to herein as a second type).
When the capturing device detects a first edge trigger signal of the trigger coil and determines that the type of the target vehicle is the first type, the capturing device can control the relay to keep a closed state so as to ensure that the target vehicle can normally pass through the barrier gate.
It should be noted that, in this embodiment of the application, when the snapshot apparatus determines that the type of the vehicle is the second type, the snapshot apparatus may perform processing according to an existing policy, such as controlling the relay to be closed for a period of time (e.g., 350ms), or the snapshot apparatus may control the relay to be in an open state, and a specific implementation of this application is not limited.
In addition, in the embodiment of the application, both the black list and the white list can be set, and the vehicle which does not pass through the barrier gate is determined through the black list and the vehicle which passes through the barrier gate is determined through the white list; a blacklist can be set, a white list is not set, vehicles with the vehicle information matched with the blacklist do not pass through the barrier, and vehicles with the vehicle information not matched with the blacklist pass through the barrier; a white list can be set, a black list is not set, vehicles with the vehicle information matched with the white list can pass through the barrier, and vehicles with the vehicle information not matched with the white list cannot pass through the barrier.
For example, taking an entrance and exit control system of a school as an example, the information of vehicles allowed to enter and exit may be stored in a white list by setting the white list, and a black list is not required to be set, and the snapshot device may determine whether to allow the vehicle to pass through the barrier based on the matching result of the vehicle information and the white list, that is, the barrier is not allowed to pass through by other vehicles except the vehicle whose vehicle information is matched with the white list.
For another example, taking the entrance and exit control system of a shopping mall as an example, the information of vehicles which are not allowed to enter and exit can be stored in the blacklist by setting the blacklist, and a white list is not required to be set, and the snapshot device can determine whether to allow the vehicle to pass through the barrier or not based on the matching result of the vehicle information and the blacklist, that is, the rest of the vehicles except the vehicle whose vehicle information is matched with the blacklist are allowed to pass through the barrier.
For another example, taking an entrance and exit control system of a hospital as an example, information of vehicles of hospital staff may be stored in a white list by setting a white list, and information of vehicles that are not allowed to enter and exit is stored in a black list by setting a black list, and the snapshot device determines whether to allow the vehicles to pass through the barrier gate based on a matching result of the vehicle information and the black and white list, and allows the vehicles that are matched with the white list by the barrier gate, does not allow the vehicles that are matched with the black list by the barrier gate, and does not match with the black and white list by the barrier gate, but needs to trigger a charging operation.
In one example, the performing black-and-white list matching based on the vehicle information of the target vehicle and determining the type of the target vehicle may include:
when the vehicle information of the target vehicle is matched with the white list, determining that the type of the target vehicle is a first type;
when the vehicle information of the target vehicle is matched with the blacklist, determining that the type of the target vehicle is a second type; wherein the second type of vehicle does not allow passage through the barrier.
For example, when both the black list and the white list are set, the snap-shooting device may determine the type of the target vehicle by matching the vehicle information of the target vehicle with the black and white list.
When the vehicle information of the target vehicle matches the white list, the type of the target vehicle is determined to be a first type.
When the vehicle information of the target vehicle matches the blacklist, determining that the type of the target vehicle is a second type.
For example, when the vehicle information of the target vehicle does not match the black and white list, the type of the target vehicle may be determined as the first type, or the type of the target vehicle may be determined as the third type.
Wherein the third type of vehicle allows passage through the barrier but requires a billing process.
In one example, when the type of the target vehicle is a third type, the barrier state control method may further include:
inquiring the payment state of the target vehicle;
and when the payment state of the target vehicle is the payment, determining to execute the step of controlling the relay to keep the closed state.
For example, when the snapshot device determines that the type of the target vehicle is the third type, the payment status (including paid or unpaid) of the target vehicle may be queried based on the vehicle information of the target vehicle.
When the payment state of the target vehicle is the payment state, the snapshot equipment can control the relay to keep a closed state so as to ensure that the vehicle can normally pass through the barrier gate.
When the payment state of the target vehicle is not in payment, the snapshot equipment can process according to the existing strategy, or the snapshot equipment can control the relay to be in a disconnected state, and the application is not limited in specific implementation.
In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present application, the technical solutions provided by the embodiments of the present application are described below with reference to specific examples.
First, the operation mode of the barrier gate will be explained.
Referring to fig. 3, which is a schematic diagram illustrating a principle of a barrier gate operating mode according to an embodiment of the present disclosure, as shown in fig. 3, two ground induction coils, namely a trigger coil and an anti-pound coil, are embedded in front of and behind the barrier gate.
Illustratively, the trigger coil is about 0.8 meters wide, the tamperproof coil is about 1 meter wide, and the distance between the two coils is about 4 to 5 meters long for one vehicle body.
The process of a vehicle passing through the barrier gate is divided into two stages of the barrier gate opening and the barrier gate closing, and is realized by signal transmission among a trigger coil, an anti-smashing coil, a snapshot machine, an entrance and exit control platform (control platform for short) and a barrier gate controller.
Opening a barrier: when a vehicle arrives at an entrance (or an exit) of a parking lot, a locomotive presses a trigger coil, an IO signal (generally an IO falling edge signal) of the coil is transmitted to a snapshot machine, the snapshot machine takes a snapshot under IO trigger, a picture is snapshot and carries vehicle type and license plate information to be uploaded to a control platform, the platform inquires a database, the type of the vehicle (temporary vehicle passing, blacklist or white list vehicle) is judged, and a corresponding instruction is sent to the snapshot machine. If the command is an opening gate command, the snapshot machine controls the relay to be closed for 350ms, the level signal of the relay is sent to the gate control machine, and the gate is opened.
Closing a barrier: when the vehicle leaves the entrance (or exit) of the parking lot and the tail of the vehicle is pressed with the anti-smashing coil and then leaves the anti-smashing coil, the signal sent by the anti-smashing coil is processed and sent to the barrier gate controller, and the barrier gate controller controls the barrier gate to be closed.
The process that the trigger coil signal is sent to the snapshot machine and processed by the control platform and then sent to the snapshot machine relay is simplified, and the switching of the barrier gate can be simplified into signal synchronization of the relay, the anti-smashing coil and the barrier gate operation.
As shown in fig. 4A: at the time of t1, the vehicle presses a trigger coil, the relay has a high level of 350ms, and the barrier is opened, namely the state of the barrier is also high level; at the time t2, the vehicle leaves the anti-smashing coil, and the trigger signal of the anti-smashing coil enables the barrier to be closed, namely the state of the barrier is low level.
Secondly, the reason for the car following problem is reduced
Referring to fig. 4B, the following simplified signaling process can be as shown in fig. 4B. At the time of t1, the vehicle 1 presses the trigger coil, the subsequent electric appliance is closed for 350ms after the trigger signal, and the barrier gate is opened; the vehicle 1 continues to move forward and at time t2 the coil is triggered on the vehicle 2, and there is no action after this trigger signal (because the barrier is already open). When the vehicle 1 leaves the anti-smashing coil, the anti-smashing coil triggers a signal to send out, the barrier gate falls down, but the vehicle 2 still passes the gate, and the barrier gate cannot be opened again.
Design scheme for car following problem
As is evident from the simplified signaling process of the car following problem, the key to the problem is: when the vehicle 2 passes through the vehicle, the barrier gate controls the barrier gate rod to fall down due to the triggering signal of the anti-smashing coil triggered by the vehicle 1. Therefore, the key point for solving the problem of car following is to shield the influence of the trigger signal of the anti-smashing coil triggered by the car 1 on the barrier gate.
In the whole process, the actual operation of the snapshotting machine on the barrier gate is realized by controlling the opening and closing of the relay based on the received trigger signal of the trigger coil. And, the prerequisite that prevents pounding coil's trigger signal makes the banister pole fall is the disconnection state. Therefore, the closing time of the relay is prolonged, so that when the vehicle 1 triggers the trigger signal of the anti-smashing coil, the relay is still in a closed state, and the barrier gate does not respond to the trigger signal of the anti-smashing coil at the moment.
However, since the speed of the vehicle passing through the barrier gate is not consistent, the problem of following the vehicle cannot be solved well by fixedly prolonging the closing time of the relay, and if the prolonged time is insufficient, the situation that the rear vehicle cannot pass through the barrier gate or is hit by the barrier gate rod still can occur under the condition that the speed of the rear vehicle is slow; if the extended time is too long, the following vehicles which are not allowed to pass through the barrier may pass through the barrier successfully after the following vehicles are ended.
In consideration of an actual use scene, the distance between the trigger coil and the smash-proof coil is 4-5 meters, namely the length of one vehicle body. Therefore, in the following situation, the rear vehicle is always in a state of pressing on the trigger coil during the process that the front vehicle passes through the barrier gate. As long as the relay is closed all the time when the rear vehicle is still pressed on the trigger coil.
Referring to fig. 4C, a simplified signal process for the design may be as shown in fig. 4C. the time t1 to t2 is the process that the whole vehicle body of the vehicle 1 passes through the trigger coil, and the time t3 is the time that the vehicle 2 follows the vehicle and presses the trigger coil. At the time of t4, the vehicle 1 leaves the anti-smashing coil, the anti-smashing coil sends a trigger signal for closing the barrier, but the vehicle body of the vehicle 2 is pressed on the trigger coil, and if the control relay is closed, the barrier is closed, so that the effect cannot be achieved. Until t6, the vehicle 2 also leaves the anti-smashing coil, and at the moment, no vehicle exists on the trigger coil, and the trigger signal of the anti-smashing coil triggers the barrier gate to be normally closed.
Based on the above analysis, in this embodiment, the flow of controlling the barrier status is as follows:
after the snapshot machine completes the initialization of the equipment, the trigger signal of the trigger coil can be detected.
For example, the snapshot machine may detect the trigger signal of the trigger coil by turning on the trigger signal processing thread.
In addition, after the snapshot machine completes the initialization of the equipment, a snapshot message processing thread can be started for snapshot processing.
When the snapshot machine receives the trigger signal of the trigger coil, the trigger signal is analyzed to determine that the trigger signal is a rising edge trigger signal or a falling edge trigger signal.
For example, assuming that the trigger coil is connected to a high level, the control circuit is disconnected after the vehicle presses the trigger coil, and the voltage is low. Therefore, the falling edge represents that the vehicle presses the trigger coil upwards, at the moment, only the information is captured and uploaded to the platform, and the camera does not operate the relay per se. The rising edge indicates that the vehicle has left the trigger coil, at which point the relay closure time is over and should be open.
Correspondingly, when the snapshot machine determines that the detected trigger signal of the trigger coil is a rising edge trigger signal, the snapshot machine controls the relay to keep a closed state; at this time, the barrier gate controller does not respond to the trigger signal of the anti-smashing coil.
When the snapshot machine determines that the detected trigger signal of the trigger coil is a falling edge trigger signal, the snapshot machine controls the relay to be in a disconnected state; at the moment, the barrier gate controller normally responds to the trigger signal of the anti-smashing coil.
In the embodiment of the application, when a first edge trigger signal of the trigger coil is detected, the relay is controlled to be kept in a closed state, so that the gateway controller refuses to respond to the trigger signal of the anti-smashing coil; when the second edge trigger signal of the trigger coil is detected, the relay is controlled to be in a disconnected state, so that the gateway controller normally responds to the trigger signal of the anti-smashing coil, the situation that a rear vehicle cannot pass through the gateway or is smashed by a gateway rod under a following condition is avoided, and the reasonability of gateway state control is improved.
The methods provided herein are described above. The following describes the apparatus provided in the present application:
referring to fig. 5, which is a schematic structural diagram of a barrier status control device according to an embodiment of the present disclosure, as shown in fig. 5, the barrier status control device may include:
a detection unit for detecting a trigger signal;
the control unit is used for controlling the relay to keep a closed state when the detection unit detects a first edge trigger signal of the trigger coil, so that the gateway controller refuses to respond to the trigger signal of the anti-smashing coil; when the detection unit detects a second edge trigger signal of the trigger coil, the relay is controlled to be in a disconnected state, so that the gateway controller normally responds to the trigger signal of the smash-proof coil;
wherein the first edge trigger signal is indicative of a vehicle covering the trigger coil and the second edge trigger signal is indicative of a vehicle leaving the trigger coil.
In one embodiment, before the control unit controls the relay to maintain the closed state when the detection unit detects the first edge trigger signal of the trigger coil, the method further includes:
performing black and white list matching based on vehicle information of a target vehicle, and determining the type of the target vehicle; the target vehicle is a vehicle which is currently located at the position of the trigger coil in the monitoring picture;
determining to perform the step of maintaining the control relay in the closed state when the type of the target vehicle is a first type; wherein the first type of vehicle allows passage through a barrier.
In one embodiment, the control unit performs black-and-white list matching based on vehicle information of a target vehicle, and determines the type of the target vehicle, including:
when the vehicle information of the target vehicle is matched with a white list, determining that the type of the target vehicle is the first type;
when the vehicle information of the target vehicle is matched with the blacklist, determining that the type of the target vehicle is a second type; wherein the second type of vehicle does not allow passage through the barrier.
In one embodiment, the control unit performs black-and-white list matching based on vehicle information of a target vehicle, and after determining the type of the target vehicle, the control unit further includes:
when the black list and the white list of the vehicle information of the target vehicle are not matched, inquiring the payment state of the target vehicle;
and when the payment state of the target vehicle is the payment, determining to execute the step of keeping the control relay in the closed state.
Correspondingly, the application also provides a hardware structure of the device shown in fig. 5. Referring to fig. 6, the hardware structure may include: a processor and a machine-readable storage medium having stored thereon machine-executable instructions executable by the processor; the processor is configured to execute machine-executable instructions to implement the methods disclosed in the above examples of the present application.
Based on the same application concept as the method, embodiments of the present application further provide a machine-readable storage medium, where a plurality of machine-executable instructions are stored, and when the machine-executable instructions are executed by a processor, the method disclosed in the above example of the present application can be implemented.
The machine-readable storage medium may be, for example, any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop, cellular telephone, camera phone, smart phone, personal digital assistant, media announcer, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. 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 (9)

1. A barrier status control method, comprising:
when a first edge trigger signal of the trigger coil is detected, the relay is controlled to be kept in a closed state, so that the gateway controller refuses to respond to the trigger signal of the smash-proof coil;
when a second edge trigger signal of the trigger coil is detected, the relay is controlled to be in a disconnected state, so that the gateway controller normally responds to the trigger signal of the smash-proof coil;
wherein the first edge trigger signal is indicative of a vehicle covering the trigger coil and the second edge trigger signal is indicative of a vehicle leaving the trigger coil.
2. The method of claim 1, wherein prior to the controlling the relay remaining in the closed state when the first edge trigger signal of the trigger coil is detected, further comprising:
performing black and white list matching based on vehicle information of a target vehicle, and determining the type of the target vehicle; the target vehicle is a vehicle which is currently located at the position of the trigger coil in the monitoring picture;
determining to perform the step of maintaining the control relay in the closed state when the type of the target vehicle is a first type; wherein the first type of vehicle allows passage through a barrier.
3. The method of claim 2, wherein the performing black and white list matching based on vehicle information of a target vehicle, determining the type of the target vehicle comprises:
when the vehicle information of the target vehicle is matched with a white list, determining that the type of the target vehicle is the first type;
when the vehicle information of the target vehicle is matched with the blacklist, determining that the type of the target vehicle is a second type; wherein the second type of vehicle does not allow passage through the barrier.
4. The method of claim 3, wherein the black and white list matching based on the vehicle information of the target vehicle, after determining the type of the target vehicle, further comprises:
when the black list and the white list of the vehicle information of the target vehicle are not matched, inquiring the payment state of the target vehicle;
and when the payment state of the target vehicle is the payment, determining to execute the step of keeping the control relay in the closed state.
5. A barrier status control device, comprising:
a detection unit for detecting a trigger signal;
the control unit is used for controlling the relay to keep a closed state when the detection unit detects a first edge trigger signal of the trigger coil, so that the gateway controller refuses to respond to the trigger signal of the anti-smashing coil; when the detection unit detects a second edge trigger signal of the trigger coil, the relay is controlled to be in a disconnected state, so that the gateway controller normally responds to the trigger signal of the smash-proof coil;
wherein the first edge trigger signal is indicative of a vehicle covering the trigger coil and the second edge trigger signal is indicative of a vehicle leaving the trigger coil.
6. The apparatus of claim 5, wherein before the control unit controls the relay to maintain the closed state when the detection unit detects the first edge trigger signal of the trigger coil, the apparatus further comprises:
performing black and white list matching based on vehicle information of a target vehicle, and determining the type of the target vehicle; the target vehicle is a vehicle which is currently located at the position of the trigger coil in the monitoring picture;
determining to perform the step of maintaining the control relay in the closed state when the type of the target vehicle is a first type; wherein the first type of vehicle allows passage through a barrier.
7. The apparatus of claim 6, wherein the control unit performs black and white list matching based on vehicle information of a target vehicle, determining the type of the target vehicle comprises:
when the vehicle information of the target vehicle is matched with a white list, determining that the type of the target vehicle is the first type;
when the vehicle information of the target vehicle is matched with the blacklist, determining that the type of the target vehicle is a second type; wherein the second type of vehicle does not allow passage through the barrier.
8. The apparatus of claim 7, wherein the control unit performs black and white list matching based on vehicle information of a target vehicle, and further comprises, after determining the type of the target vehicle:
when the black list and the white list of the vehicle information of the target vehicle are not matched, inquiring the payment state of the target vehicle;
and when the payment state of the target vehicle is the payment, determining to execute the step of keeping the control relay in the closed state.
9. An electronic device, comprising:
a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor; the processor is configured to execute machine executable instructions to implement the method steps of any of claims 1-4.
CN202010151608.XA 2020-03-06 2020-03-06 Barrier gate state control method and device and electronic equipment Active CN113362518B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010151608.XA CN113362518B (en) 2020-03-06 2020-03-06 Barrier gate state control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010151608.XA CN113362518B (en) 2020-03-06 2020-03-06 Barrier gate state control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113362518A CN113362518A (en) 2021-09-07
CN113362518B true CN113362518B (en) 2022-04-26

Family

ID=77524024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010151608.XA Active CN113362518B (en) 2020-03-06 2020-03-06 Barrier gate state control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113362518B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004081897A2 (en) * 2003-03-14 2004-09-23 Liwas Aps A device for detection of road surface condition
CN103440690A (en) * 2013-08-05 2013-12-11 深圳市捷顺科技实业股份有限公司 Car following identification method and car following identification device
CN107221040A (en) * 2017-06-28 2017-09-29 深圳市捷顺科技实业股份有限公司 One kind is anti-with vehicle control and method
CN107675647A (en) * 2017-02-24 2018-02-09 上海享泊信息科技有限公司 Banister control method and system
CN108010333A (en) * 2017-11-10 2018-05-08 南京积图网络科技有限公司 A kind of intelligence prevents pounding banister and object detection method
CN108960154A (en) * 2018-07-06 2018-12-07 西安艾润物联网技术服务有限责任公司 Follow the bus recognition methods, system and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004081897A2 (en) * 2003-03-14 2004-09-23 Liwas Aps A device for detection of road surface condition
CN103440690A (en) * 2013-08-05 2013-12-11 深圳市捷顺科技实业股份有限公司 Car following identification method and car following identification device
CN107675647A (en) * 2017-02-24 2018-02-09 上海享泊信息科技有限公司 Banister control method and system
CN107221040A (en) * 2017-06-28 2017-09-29 深圳市捷顺科技实业股份有限公司 One kind is anti-with vehicle control and method
CN108010333A (en) * 2017-11-10 2018-05-08 南京积图网络科技有限公司 A kind of intelligence prevents pounding banister and object detection method
CN108960154A (en) * 2018-07-06 2018-12-07 西安艾润物联网技术服务有限责任公司 Follow the bus recognition methods, system and computer readable storage medium

Also Published As

Publication number Publication date
CN113362518A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
US10145071B2 (en) Vehicle barrier system
CN106504353B (en) Vehicle charging method and device
US11403907B2 (en) System for operating electric-vehicle charging station
CN203858677U (en) Parking lot control system
CN114013324B (en) Charging device with built-in multifunctional camera and charging monitoring method
CN110221551B (en) Method, device and system for controlling barrier gate
CN111583703A (en) Parking lot access control system and method
CN113362518B (en) Barrier gate state control method and device and electronic equipment
CN113298988B (en) Vehicle passing method and system for electronic toll station, electronic device and storage medium
CN110630071A (en) Car following prevention device for parking lot and control method
CN112601049B (en) Video monitoring method and device, computer equipment and storage medium
CN204946118U (en) A kind of wisdom parking management system
CN113920749A (en) Vehicle following identification method and system for parking lot and related device
CN109740442A (en) Localization method, device, storage medium and electronic equipment
CN107393037A (en) One kind charge processing method and smart machine
CN108921962B (en) Parking lot entrance and exit management method and parking lot management server
CN205334579U (en) Intelligence garage parking system
CN115050110B (en) ETC card-rubbing prevention device and method
CN105184874A (en) Compound self-service card sender lane system and passing method thereof
US20220358788A1 (en) Store management system, store management method, computer program and recording medium
CN110276845B (en) Vehicle management system based on car elevator
CN103745596A (en) Abnormal vehicle passing detection system and abnormal vehicle passing detection method
CN114677774B (en) Barrier gate control method and related equipment
CN117275128B (en) Vehicle intelligent management method and device for vehicle-road cooperation, electronic equipment and medium
CN114842462B (en) License plate anti-fake method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant