Barrier lifting rod control method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202111098075.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-18
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2041-09-18
AI Technical Summary
[0004]本发明实施例提供一种道闸抬杆控制方法、装置、电子设备和存储介质,解决了在出入口因跟车太近导致车辆行驶至道闸前无法自动抬杆的问题
[0018] This invention addresses the issues of the barrier gate failing to automatically raise its arm after it has been lowered due to the following problems: first, when a vehicle is not yet fully open and a following vehicle is too close, causing the barrier gate to be captured on camera; second, when a following vehicle fails to enter the anti-collision detection zone after the preceding vehicle has passed, resulting in the barrier gate raising its arm. This improves the accuracy of the barrier gate raising and resolves entrance/exit congestion issues.
Smart Images

Figure CN115841716B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of barrier gate technology, and in particular to a barrier gate lifting control method, device, electronic equipment, and storage medium. Background Technology
[0002] The widespread adoption of license plate recognition technology has led to the widespread installation of toll booths in parking lots of numerous industrial parks, residential communities, and shopping malls. These booths use cameras to capture and identify vehicles, which, in conjunction with parking management systems, determine the appropriate actions and trigger gate access control. To prevent vehicles from being struck by the gate, an anti-smashing zone is installed below the gate. When a vehicle is located in this zone, the gate receives an anti-smashing signal and does not lower its arm.
[0003] However, during current system operation, it has been found that at exits with high traffic volume, the barrier frequently fails to open when following another vehicle. Specifically, when two vehicles are following too closely, the barrier remains in the anti-collision zone even though the preceding vehicle has not completely left the zone. The barrier continues to receive the anti-collision signal from the preceding vehicle and does not lower. Meanwhile, the following vehicle, because it is following too closely and has been captured by the camera, sends a signal to open the barrier. At this point, the barrier should open a second time, but in reality, because it continues to receive the anti-collision signal from the preceding vehicle, it remains in the open state. Only after the preceding vehicle has completely left and the barrier has closed completely does the following vehicle approach the barrier. By then, the barrier is already closed and has not received the signal to open, therefore it fails to open automatically. This causes repeated checks by the gate staff, resulting in traffic congestion, customer complaints, and management difficulties. Summary of the Invention
[0004] This invention provides a method, device, electronic equipment, and storage medium for controlling the lifting of a barrier gate, which solves the problem that the barrier gate cannot be automatically lifted when a vehicle is too close to it at an entrance or exit.
[0005] In a first aspect, embodiments of the present invention provide a method for controlling the lifting of a barrier gate, comprising:
[0006] Acquire the number of valid passing vehicles determined by the camera based on vehicle information;
[0007] The number of times the barrier gate is raised is determined based on the received raising signal;
[0008] The gate arm is raised based on the matching relationship between the number of valid vehicles passing through and the number of times the gate arm is raised.
[0009] Secondly, embodiments of the present invention also provide a barrier gate lifting control device, comprising:
[0010] The effective vehicle passage count acquisition module is used to acquire the effective vehicle passage count determined by the camera based on vehicle information;
[0011] The barrier gate raising count acquisition module is used to acquire the number of times the barrier gate is raised, as determined by the received barrier raising signal.
[0012] The barrier gate lifting control module is used to control the lifting of the barrier gate based on the matching relationship between the number of valid vehicles passing through and the number of times the gate is lifted.
[0013] Thirdly, embodiments of the present invention also provide an electronic device, comprising:
[0014] One or more processors;
[0015] Storage device for storing one or more programs.
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the gate lifting control method as described in any embodiment of the present invention.
[0017] Fourthly, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the barrier gate lifting control method as described in any embodiment of the present invention.
[0018] This invention addresses the issues of the barrier gate failing to automatically raise its arm after it has been lowered due to the following problems: first, when a vehicle is not yet fully open and a following vehicle is too close, causing the barrier gate to be captured on camera; second, when a following vehicle fails to enter the anti-collision detection zone after the preceding vehicle has passed, resulting in the barrier gate raising its arm. This improves the accuracy of the barrier gate raising and resolves entrance / exit congestion issues. Attached Figure Description
[0019] Figure 1 This is a flowchart of the barrier gate lifting control method in Embodiment 1 of the present invention;
[0020] Figure 2 This is a diagram illustrating how following too closely at the entrance / exit can prevent the barrier from automatically opening when a vehicle reaches the gate.
[0021] Figure 3 This is a flowchart of the barrier gate lifting control method in Embodiment 2 of the present invention;
[0022] Figure 4 This is a schematic diagram of the gate lifting control device in Embodiment 3 of the present invention;
[0023] Figure 5 This is a schematic diagram of the electronic device in Embodiment 4 of the present invention. Detailed Implementation
[0024] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.
[0025] Example 1
[0026] Figure 1 This is a flowchart of the barrier gate lifting control method in Embodiment 1 of the present invention. This embodiment is applicable to situations where vehicles are following too closely at entrances and exits, affecting barrier gate lifting control. This method can be executed by a barrier gate lifting control device, which can be implemented in software and / or hardware and can be configured in electronic equipment, such as a backend server or other devices with communication and computing capabilities. Figure 1 As shown, the method specifically includes:
[0027] Step 101: Obtain the number of valid passing vehicles as determined by the camera based on the vehicle information.
[0028] The number of valid vehicles passing through refers to the number of vehicles qualified for passage, such as those on the system's whitelist or those that have already paid the toll. For example, vehicle passage information where the camera outputs a barrier-raising signal is considered valid passage. The camera can output a barrier-raising signal or receive a permission signal from the system based on its own judgment of vehicle information. Vehicle information includes license plate number, entry / exit time, dwell time, and vehicle type.
[0029] Specifically, the camera determines whether a vehicle is eligible to pass based on the vehicle information it collects. If a vehicle is eligible and the barrier gate is currently in the raising, lowering, or intermediate state, the valid vehicle count is incremented by 1. Alternatively, if the camera receives a vehicle passage permission signal from the system server and the barrier gate is currently in the raising, lowering, or intermediate state, the valid vehicle count is incremented by 1. The valid vehicle count represents the number of vehicles currently waiting to be released at the barrier gate.
[0030] In one feasible embodiment, step 101 includes:
[0031] Obtain the lever-lifting signal output by the camera based on vehicle information;
[0032] If the barrier gate is in the target process, the number of valid vehicles passing through is incremented by one according to the gate raising signal; wherein, the target process includes the gate raising process state, the gate lowering process state, and the intermediate process between the gate raising process state and the gate lowering process state.
[0033] The gate raising signal indicates that a vehicle is eligible to pass through the barrier. The barrier status includes the gate fully open, the gate raising process, the gate closing, and the gate lowering process. The gate fully open indicates that the barrier arm has risen to its highest point, and the gate closing indicates that the barrier arm has lowered to its lowest point. The gate raising process refers to the process of the barrier rising from its lowest point to its highest point, and the gate lowering process refers to the process of the barrier falling from its highest point to its lowest point. The changes in the barrier status are a cyclical process, and there are intermediate transition processes between the changes in status.
[0034] Specifically, if a vehicle is eligible for gate access, the camera outputs gate-raising information. At this time, the gate status is judged. If the gate is in the closed position, it means that the vehicle in front has completely left. After receiving the gate-raising signal, the gate can automatically raise the gate without increasing the number of valid vehicles. The gate is raised directly according to the normal gate management process. If the gate is in the target process, it means that the vehicle in front has not completely left the anti-collision zone. The gate will receive the anti-collision signal and remain in the non-lowering position. At this time, the vehicle needs to wait in front of the gate. In this case, the number of valid vehicles is incremented by one, indicating that there are vehicles waiting in front of the gate for release. That is, the number of valid vehicles represents the vehicles that are eligible for gate access and are waiting for gate release. The target process includes the gate-raising process, the gate-lowering process, and the intermediate process between the gate-raising and gate-lowering processes. The intermediate process between the gate-raising and gate-lowering processes includes the gate-opening position.
[0035] For example, such as Figure 2 The diagram illustrates a situation where following a vehicle too closely prevents the barrier from automatically opening when the vehicle reaches the entrance / exit. Figure 2 As shown, when vehicle 1 is in the anti-smashing zone, vehicle 2 has already been captured by the camera and a raising signal has been sent to the barrier gate. However, vehicle 1 has not completely left the area, so vehicle 2 cannot move forward. Furthermore, vehicle 1's incomplete departure also causes the barrier gate to continuously receive the anti-smashing signal when it lowers, requiring it to remain in the raised state. At this point, the barrier gate mixes vehicle 2's raising signal with vehicle 1's anti-smashing signal, resulting in the barrier gate not receiving the anti-smashing signal to lower after vehicle 1 has completely left. However, since vehicle 2's raising signal has already been processed, when vehicle 2 reaches the barrier gate, the barrier gate cannot automatically raise. In this embodiment of the invention, when vehicle 2 is triggered by the camera to raise the barrier signal while vehicle 1 is still within the anti-smashing zone, the barrier gate remains in an intermediate state between lowering and raising due to the influence of vehicle 1's anti-smashing signal. Therefore, the number of valid vehicles passing through is incremented by 1.
[0036] Step 102: Obtain the number of times the barrier gate is raised, as determined by the received gate-raising signal.
[0037] The number of times the barrier gate is raised refers to the number of times the barrier gate raises in response to the raising signal sent by the camera.
[0038] Specifically, the camera outputs a barrier-raising signal based on vehicle information and sends the signal to the barrier gate. If the barrier gate is in the closed position, it directly responds to the signal and raises the barrier. If the barrier gate is in the target position, it means that the barrier gate is affected by the vehicle in front, and the vehicle needs to wait for the barrier gate to raise the barrier a second time. At this time, the barrier-raising count is incremented by one, that is, the barrier-raising count indicates the number of times the barrier gate needs to raise the barrier a second time. The second barrier-raising means that the barrier gate needs to complete the current barrier-raising process. Only after the current barrier-raising process is completed can the second barrier-raising be performed to ensure that vehicles following too closely can pass smoothly.
[0039] Step 103: Control the gate to lift based on the matching relationship between the number of valid vehicles passing through and the number of times the gate is raised.
[0040] Since the effective number of vehicles passing through represents the number of vehicles currently waiting in front of the barrier gate and needing to be released, and the number of times the barrier gate is raised represents the number of times the barrier gate needs to be raised a second time, under normal circumstances, the effective number of processes equals the number of times the barrier gate is raised. When the number of times the barrier gate is raised is greater than or equal to 1, it means that there are currently vehicles waiting in front of the barrier gate and needing to be released. Therefore, the barrier gate is controlled to raise a second time based on this matching relationship. If the number of times the barrier gate is raised is equal to 0, it means that there are currently no vehicles waiting in front of the barrier gate, and the barrier gate does not raise a second time. For example, based on the above example, since the barrier gate raising signal for vehicle 2 is issued when vehicle 1 has not yet completed leaving, the barrier gate will not be in the closed position due to the influence of the anti-smashing signal. That is, the barrier gate is always in the process of raising the barrier gate, lowering the barrier gate, or an intermediate process between the two states. Therefore, the effective number of vehicles passing through is 1, and the number of times the barrier gate is raised is 1. According to the matching relationship between the effective number of vehicles passing through and the number of times the barrier gate is raised, it is determined that the barrier gate will be raised again after vehicle 1 has completely left and the barrier gate is closed. Then vehicle 2 can leave when the barrier gate is raised a second time.
[0041] For example, if the number of valid processes and the number of times the barrier is raised do not match, it indicates an abnormal situation. In order to ensure the normal operation of the system and to ensure the smooth passage of vehicles, the barrier is raised a second time to ensure the fault tolerance mechanism of the barrier control.
[0042] In one feasible embodiment, step 103 includes:
[0043] If the barrier gate is in the target process, the number of valid vehicles passing through is equal to the number of times the barrier is raised and the number of times the barrier is raised is greater than 0, then the barrier gate is controlled to raise the barrier a second time; wherein, the target process includes the barrier raising process state, the barrier lowering process state, and the intermediate process between the barrier raising process state and the barrier lowering process state.
[0044] If the barrier gate is in the raising, lowering, or intermediate states, it indicates that a vehicle has not completely left the gate while a vehicle behind has triggered the camera's raising signal and is waiting in front of the gate. In this situation, the matching between the number of valid vehicles passing through and the number of raising signals is assessed. If the number of valid vehicles passing through equals the number of raising signals, the current gate signal is normal, and the number of vehicles eligible for passage waiting to be released equals the number of times the gate needs to be raised a second time. In this case, if the number of raising signals is greater than 0 (i.e., greater than or equal to 1), it means there is at least one vehicle eligible for passage waiting to be released in front of the gate, and the gate is controlled to raise a second time after the current raising signal ends. If the number of raising signals is 0, it means there is no recognized vehicle eligible for passage behind the currently passing vehicle, and the gate lowers normally after the vehicle has completely left without needing to be raised again until a raising signal is received.
[0045] In one feasible embodiment, step 103 includes:
[0046] If the barrier gate is in the target process and the number of valid vehicles passing through is not equal to the number of times the barrier is raised, then the barrier gate is controlled to raise the barrier a second time, and the barrier is lowered with a delay and reduced speed during the second raising. The target process includes the raising process state, the lowering process state, and the intermediate process between the raising process state and the lowering process state.
[0047] If the barrier gate status is in the process of raising the gate, lowering the gate, or an intermediate process between raising and lowering the gate, it indicates that there is currently a situation where the preceding vehicle has not completely left, and the following vehicle has triggered the camera's gate-raising signal and is waiting in front of the barrier gate. In this case, the matching between the number of valid vehicles passing through and the number of gate raisings is judged. If the number of valid vehicles passing through is not equal to the number of gate raisings, it means that the gate-raising signal received at this time is an abnormal situation. That is, the number of vehicles that are qualified to be released and waiting to be released in front of the barrier gate is not equal to the number of times the barrier gate needs to be raised a second time. In this case, the barrier gate also needs to be controlled to raise the gate a second time. Since there is an abnormal situation, it is impossible to determine whether there is a vehicle waiting in front of the barrier gate at this time. Therefore, a delayed lowering and a reduced-speed lowering are performed during the second raising.
[0048] Among them, delayed lowering refers to the automatic lowering of the barrier arm after it has been raised and the absence of vehicles or objects is detected. Normally, the barrier arm would lower immediately after being in the open position; delayed lowering involves a preset time delay after the barrier arm has been in the open position and a detection period has been performed. Reduced-speed lowering refers to the barrier arm falling at a preset slow speed to avoid hitting vehicles or people during its descent. This preset slow speed can be set according to actual conditions and is lower than the normal lowering speed of the arm.
[0049] For example, when the number of valid vehicles recorded by the camera does not match the number of times the barrier gate raises, there may be situations where the barrier gate automatically raises but does not lower when no vehicles are actually leaving. In this case, the delayed lowering function is activated. That is, after the barrier gate is raised a second time, if no vehicles pass through within a certain period of time, the barrier gate will automatically lower. However, vehicles may drive out quickly when the barrier gate lowers, which may result in the barrier gate accidentally hitting a vehicle. Therefore, when using the delayed lowering function, a reduced lowering speed is used in conjunction with it. That is, after the barrier gate activates the delayed lowering function during the second lowering, the lowering speed is reduced during the lowering process, giving the driver or the anti-collision system sufficient response time.
[0050] By controlling the delayed lowering and reduced lowering speed of the barrier gate, the problems of the barrier gate constantly lifting and vehicles rushing through the barrier are solved.
[0051] In one feasible embodiment, the method further includes, prior to controlling the barrier gate to perform a secondary lifting operation:
[0052] Determine if the barrier gate is in the fully closed position;
[0053] If so, the barrier gate will be raised a second time.
[0054] When controlling the gate's lifting mechanism based on the matching of the number of valid vehicles passing through and the number of times the gate is raised, it is necessary to judge the state of the gate. Since there are vehicles under the gate that have not completely left, that is, the gate is in the process of raising or lowering the gate, in order to ensure that the currently waiting vehicles can leave the gate smoothly, a second lifting of the gate is required after the current lifting process is completed so that the following vehicles can leave smoothly.
[0055] Specifically, if the barrier gate status changes from the lowering process to the fully closed position, it indicates that the vehicle in front has completely left the barrier gate, and the barrier gate will be raised a second time. If the barrier gate status does not change to the fully closed position, it indicates that the vehicle in front has not completely left, and the barrier gate may still be affected by the anti-smashing signal and will not lower.
[0056] In one feasible embodiment, after step 103, the method further includes:
[0057] The number of valid vehicles passing through and the number of times the barrier is raised are decremented by one. If the number of times the barrier is raised is greater than 0 after the decrement, the barrier is raised again.
[0058] After the control gate is raised a second time, the record of this raising and the record of passing through need to be deleted. Therefore, the number of valid passing vehicles and the number of times the gate is raised are reduced by one.
[0059] Specifically, if the number of valid vehicles passing through equals the number of times the barrier is raised and the number of times the barrier is raised is greater than 0, the barrier will be raised a second time. After the second raising, the number of valid vehicles passing through and the number of times the barrier is raised will be decremented by one, thus clearing the record of this valid vehicle passage. Currently, there are still vehicles eligible for passage waiting to be released by the barrier.
[0060] If the number of valid vehicles passing through is not equal to the number of times the barrier is raised, in order to eliminate the abnormal situation, the barrier is controlled to raise the barrier a second time. After the second raising, the number of valid vehicles passing through and the number of times the barrier is raised are decremented by one. It is then determined whether the number of times the barrier is raised after the decrement is still greater than 0. If it is still greater than 0, it means that there is still an abnormal situation. The barrier is then controlled to raise the barrier a second time, and the record is deleted after the barrier is raised. This process is repeated until the number of times the barrier is raised is equal to 0.
[0061] For example, the camera counts the valid vehicles passing through during the gate lifting process. If there are valid vehicles continuously triggering the lifting signal during the gate lifting process, after the gate returns the gate in the lowered position, the camera re-outputs the lifting signal and deletes the record of this valid vehicle passing, that is, it performs a decrement operation.
[0062] In one feasible embodiment, prior to step 101, the method further includes:
[0063] If the radar device set up in the detection area in front of the barrier gate outputs vehicle stopping detection information or the weighing device outputs weight detection information, then stop acquiring the number of valid vehicles passing through as determined by the camera based on the vehicle information.
[0064] Accordingly, controlling the gate lifting based on the matching relationship between the number of valid vehicles passing through and the number of times the gate is raised includes:
[0065] The gate is raised based on the vehicle stop detection information and the number of times the gate is raised, or the weight detection information and the number of times the gate is raised.
[0066] When controlling the gate's lifting based on the matching relationship between the number of valid vehicles passing through and the number of times the gate is raised, there is no need to use additional detection equipment. The gate's own management system and equipment can handle the control. Alternatively, additional detection equipment can be added to control the gate's lifting based on the matching results between the number of times the gate is raised and the detection results of the additional detection equipment.
[0067] Specifically, a detection radar device is installed in the external detection area in front of the barrier gate. When the number of times the barrier gate is raised (M) during the raising and lowering processes is greater than 0, the system determines whether there is a vehicle stopped in the detection area. If there is a vehicle stopped and the barrier gate is in the closed position, the system controls the barrier gate to raise the arm a second time. If the radar device detects no vehicle stopped, no action is taken, and no action is taken if M ≤ 0. Alternatively, a weighing device is installed in the external detection area in front of the barrier gate. When the number of times the barrier gate is raised (M) during the raising and lowering processes is greater than 0, the system determines whether the weight detected in the detection area exceeds a preset weight value. If it exceeds the preset weight value, the system controls the barrier gate to raise the arm a second time. If it does not exceed the preset weight value, no action is taken, and no action is taken if M ≤ 0.
[0068] This invention addresses the issues of the barrier gate failing to automatically raise its arm after it has been lowered due to the following problems: first, when a vehicle is not yet fully open and a following vehicle is too close, causing the barrier gate to be captured on camera; second, when a following vehicle fails to enter the anti-collision detection zone after the preceding vehicle has passed, resulting in the barrier gate raising its arm. This improves the accuracy of the barrier gate raising and resolves entrance / exit congestion issues.
[0069] Example 2
[0070] Figure 3 This is a flowchart of the barrier gate lifting control method in Embodiment 2 of the present invention. This embodiment is a preferred embodiment, such as... Figure 3 As shown, the method specifically includes:
[0071] First, the camera determines valid vehicle passages based on the captured vehicle information. If a valid passage is detected, a gate-raising signal is output; otherwise, no action is taken. Next, the camera checks if the gate is in the process of raising or lowering. If not, it indicates the gate is in the open or closed position, and no action is taken; the normal management process continues. If the gate is in the open or closed position, the number of valid passages, N, is incremented by one.
[0072] Simultaneously, the barrier gate determines the number of times it will raise the barrier, M, based on the received raising signal. Each time a raising signal is received, the number of raising signals, M, is incremented by one. The system checks whether the number of raising signals, M, during the raising and lowering processes, equals N. If so, the system is normal. The system then checks if M is greater than 0. If so, it indicates that there are vehicles qualified to pass waiting in front of the barrier gate. The barrier gate is then determined to be in the closed position, and a second raising operation is performed. The number of raising signals, M, and the number of valid vehicles passing through, N, are decremented by one. After this decrement, the barrier gate lowering strategy reverts to the default, meaning M and N are re-matched and determined.
[0073] If the number of times the barrier gate is raised (M) during the raising and lowering processes is not equal to N, it indicates that there is an abnormal situation in the system. For example, the barrier gate may automatically raise but not lower when no vehicle is actually leaving. In this case, it is necessary to control the barrier gate to raise the gate a second time, and to activate the barrier gate delayed lowering and decelerated lowering during the second raising to eliminate the abnormal situation and ensure the normal operation of the barrier gate opening and closing and the smooth passage of vehicles.
[0074] This invention uses software to determine the matching relationship between valid vehicle passage and gate lifting to decide whether a secondary lifting is needed, and automatically performs the secondary lifting process. This solves the problem that the gate cannot automatically lift when vehicles are too close to the entrance / exit, thus resolving the congestion problem at the entrance / exit caused by this issue, reducing manual processing costs, and improving the customer experience.
[0075] Example 3
[0076] Figure 4 This is a schematic diagram of the barrier gate lifting control device in Embodiment 3 of the present invention. This embodiment is applicable to situations where the barrier gate lifting control is affected by vehicles following too closely at entrances and exits. Figure 4 As shown, the device includes:
[0077] The effective vehicle passage number acquisition module 410 is used to acquire the effective vehicle passage number determined by the camera based on vehicle information.
[0078] The barrier gate raising count acquisition module 420 is used to acquire the number of times the barrier gate is raised, as determined by the received barrier gate raising signal.
[0079] The barrier gate lifting control module 430 is used to control the lifting of the barrier gate according to the matching relationship between the number of valid vehicles passing through and the number of times the gate is lifted.
[0080] This invention addresses the issues of the barrier gate failing to automatically raise its arm after it has been lowered due to the following problems: first, when a vehicle is not yet fully open and a following vehicle is too close, causing the barrier gate to be captured on camera; second, when a following vehicle fails to enter the anti-collision detection zone after the preceding vehicle has passed, resulting in the barrier gate raising its arm. This improves the accuracy of the barrier gate raising and resolves entrance / exit congestion issues.
[0081] Optional, a barrier gate lifting control module, specifically used for:
[0082] If the barrier gate is in the target process, the effective number of vehicles passing through is equal to the number of times the barrier is raised and the number of times the barrier is raised is greater than 0, then the barrier gate is controlled to raise the barrier a second time; wherein, the target process includes the barrier raising process state, the barrier lowering process state, and the intermediate process between the barrier raising process state and the barrier lowering process state.
[0083] Optional, a barrier gate lifting control module, specifically used for:
[0084] If the barrier gate is in the target process and the number of valid vehicles passing through is not equal to the number of times the gate is raised, then the barrier gate is controlled to raise the gate a second time, and the gate is lowered with a delay and reduced speed during the second raising. The target process includes the gate raising process state, the gate lowering process state, and the intermediate process between the gate raising process state and the gate lowering process state.
[0085] Optionally, before controlling the barrier gate to perform a secondary lifting operation, the device further includes a barrier gate status determination module, used for:
[0086] Determine whether the gate is in the closed position;
[0087] If so, control the barrier gate to raise the arm a second time.
[0088] Optionally, the device further includes a quantity update module, used to control the barrier gate to raise after controlling the gate to raise based on the matching relationship between the effective number of vehicles passing and the number of times the gate has been raised.
[0089] The effective number of vehicles passing through and the number of times the barrier was raised are decremented by one. If the number of times the barrier was raised after the decrement is greater than 0, the barrier is raised again.
[0090] Optional, a valid vehicle count acquisition module, specifically used for:
[0091] Acquire the lever-lifting signal output by the camera based on the vehicle information;
[0092] If the barrier gate is in the target process, the number of valid vehicles passing through is incremented by one according to the lifting signal; wherein, the target process includes the lifting process state, the lowering process state, and the intermediate process between the lifting process state and the lowering process state.
[0093] Optionally, the device further includes a second module for controlling the lifting of the barrier gate, which is used to stop acquiring the number of valid vehicles determined by the camera based on the vehicle information if the vehicle dwell detection information output by the radar device set in the detection area in front of the barrier gate or the weight detection information output by the weighing device is acquired before acquiring the number of valid vehicles determined by the camera based on the vehicle information.
[0094] Correspondingly, the barrier gate lifting control module is specifically used for:
[0095] The gate is raised based on the vehicle stop detection information and the number of times the gate is raised, or the weight detection information and the number of times the gate is raised.
[0096] The barrier gate lifting control device provided in this embodiment of the invention can execute the barrier gate lifting control method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the barrier gate lifting control method.
[0097] Example 4
[0098] Figure 5 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. Figure 5 A block diagram is shown of an exemplary electronic device 12 suitable for implementing embodiments of the present invention. Figure 5 The electronic device 12 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.
[0099] like Figure 5As shown, the electronic device 12 is represented in the form of a general-purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, system storage device 28, and bus 18 connecting different system components (including system storage device 28 and processing unit 16).
[0100] Bus 18 represents one or more of several bus architectures, including a memory device bus or memory device controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.
[0101] Electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0102] System storage device 28 may include computer system readable media in the form of volatile storage devices, such as random access memory (RAM) 30 and / or cache storage device 32. Electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (… Figure 5 Not shown; usually referred to as a "hard drive"). Although Figure 5 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. Storage device 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.
[0103] A program / utility 40 having a set (at least one) of program modules 42 may be stored in, for example, storage device 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 42 typically perform the functions and / or methods described in the embodiments of the present invention.
[0104] Electronic device 12 can also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with device 12, and / or with any device that enables device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 22. Furthermore, electronic device 12 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 20. Figure 5 As shown, network adapter 20 communicates with other modules of electronic device 12 via bus 18. It should be understood that, although... Figure 5 As not shown, other hardware and / or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0105] Processing unit 16 executes various functional applications and data processing by running programs stored in system storage device 28, such as implementing the barrier gate lifting control method provided in this embodiment of the invention, including:
[0106] Acquire the number of valid passing vehicles determined by the camera based on vehicle information;
[0107] The number of times the barrier gate is raised is determined based on the received raising signal;
[0108] The gate arm is raised based on the matching relationship between the number of valid vehicles passing through and the number of times the gate arm is raised.
[0109] Example 5
[0110] Embodiment 5 of the present invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the barrier gate lifting control method provided in the embodiments of the present invention, including:
[0111] Acquire the number of valid passing vehicles determined by the camera based on vehicle information;
[0112] The number of times the barrier gate is raised is determined based on the received raising signal;
[0113] The gate arm is raised based on the matching relationship between the number of valid vehicles passing through and the number of times the gate arm is raised.
[0114] The computer storage medium of this invention can be any combination of one or more computer-readable media. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0115] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0116] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0117] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0118] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.
Claims
1. A method for controlling the lifting of a barrier gate, characterized in that, Controlled by the gate's own management system and equipment, including: The system acquires the barrier gate raising signal output by the camera based on vehicle information. If the barrier gate is in the target process, the number of valid vehicles passing through is incremented by one based on the raising signal. The target process includes the raising process state, the lowering process state, and the intermediate process between the raising and lowering processes. If the barrier gate is in the closed position, automatic raising is performed without incrementing the number of valid vehicles passing through. The number of valid vehicles passing through represents the number of vehicles that are eligible for barrier gate passage and are waiting for barrier gate passage. The gate is obtained based on the number of times the gate is raised, determined by the received gate-raising signal. The number of times the gate needs to be raised a second time indicates that the gate will be raised a second time after the current gate-raising process is completed. If the gate is in the closed position, the gate will be raised in response to the gate-raising signal. If the gate is in the target process, the number of times the gate is raised will be incremented by one. If the barrier gate is in the target process, the effective number of vehicles passing through is equal to the number of times the barrier is raised and the number of times the barrier is raised is greater than 0, then the barrier gate is controlled to raise the barrier a second time; wherein, the target process includes the barrier raising process state, the barrier lowering process state, and the intermediate process between the barrier raising process state and the barrier lowering process state; If the barrier gate is in the target process and the number of valid vehicles passing through is not equal to the number of times the barrier is raised, then the barrier gate is controlled to raise the barrier a second time, and the barrier is lowered with a delay and reduced speed during the second raising; wherein, the target process includes the raising process state, the lowering process state, and the intermediate process between the raising process state and the lowering process state; The method further includes, before controlling the barrier gate to perform a secondary lifting operation: Determine whether the gate is in the closed position; If so, control the barrier gate to raise the arm a second time.
2. The method according to claim 1, characterized in that, After controlling the gate arm to lift according to the matching relationship between the effective number of vehicles passing and the number of times the gate arm is raised, the method further includes: The effective number of vehicles passing through and the number of times the barrier was raised are decremented by one. If the number of times the barrier was raised after the decrement is greater than 0, the barrier is raised again.
3. The method according to claim 1, characterized in that, Before obtaining the number of valid passing vehicles determined by the camera based on vehicle information, the method further includes: If the radar device set up in the detection area in front of the barrier gate outputs vehicle stopping detection information or the weighing device outputs weight detection information, then stop acquiring the number of valid vehicles passing through as determined by the camera based on the vehicle information. Accordingly, controlling the gate lifting based on the matching relationship between the number of valid vehicles passing through and the number of times the gate is raised includes: The gate is raised based on the vehicle stop detection information and the number of times the gate is raised, or the weight detection information and the number of times the gate is raised.
4. A barrier gate lifting control device, characterized in that, Controlled by the gate's own management system and equipment, including: The effective vehicle passage count acquisition module is used to acquire the barrier lifting signal output by the camera based on vehicle information. If the barrier is in the target process, the effective vehicle passage count is incremented by one based on the barrier lifting signal. The target process includes the barrier lifting state, the barrier lowering state, and the intermediate process between the barrier lifting and lowering states. If the barrier is in the closed position, automatic barrier lifting is performed without incrementing the effective vehicle passage count. The effective vehicle passage count represents the number of vehicles that are qualified to pass through the barrier and are waiting for the barrier to open. The barrier gate raising count acquisition module is used to acquire the number of times the barrier gate needs to raise its arm based on the received raising signal. The raising count indicates the number of times the barrier gate needs to raise its arm twice. A second raising means that the barrier gate will raise its arm twice after the entire process of the current raising state is completed. If the barrier gate is in the closed position, it will raise its arm in response to the raising signal. If the barrier gate is in the target process, the raising count will be incremented by one. The barrier gate lifting control module is used to control the lifting of the barrier gate according to the matching relationship between the effective number of vehicles passing through and the number of times the gate is lifted; The barrier gate lifting control module is specifically used for: If the barrier gate is in the target process, the effective number of vehicles passing through is equal to the number of times the barrier is raised and the number of times the barrier is raised is greater than 0, then the barrier gate is controlled to raise the barrier a second time; wherein, the target process includes the barrier raising process state, the barrier lowering process state, and the intermediate process between the barrier raising process state and the barrier lowering process state; If the barrier gate is in the target process and the number of valid vehicles passing through is not equal to the number of times the barrier is raised, then the barrier gate is controlled to raise the barrier a second time, and the barrier is lowered with a delay and reduced speed during the second raising; wherein, the target process includes the raising process state, the lowering process state, and the intermediate process between the raising process state and the lowering process state; Before controlling the barrier gate to perform a secondary lifting operation, the device further includes a barrier gate status determination module, used for: Determine whether the gate is in the closed position; If so, control the barrier gate to raise the arm a second time.
5. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the barrier gate lifting control method as described in any one of claims 1-3.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the gate lifting control method as described in any one of claims 1-3.
Citation Information
Patent Citations
Car following prevention system and method
CN106097727A
Vehicle following prevention method and system and storage medium
CN108389273A
Vehicle passing method and device, and ETC system
CN112785733A