A control method for gate lifting rod, electronic device and storage medium
By using electronic equipment to automatically control the gate lifting rod during port border defense, the problem of low vehicle inspection efficiency is solved, efficient vehicle guidance and interception is achieved, and traffic safety is ensured.
Patent Information
- Application Number
- CN202410478945.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-20
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2044-04-20
AI Technical Summary
In border ports or cooperation areas, during the inspection of vehicle entry and exit, manual interception in time or operational errors may lead to traffic congestion and safety accidents, resulting in low inspection efficiency.
By implementing the automatic control method of lifting the gate rod in electronic equipment, the vehicle to be inspected and its channels are accurately determined after receiving the inspection command, and the delay time of the gate is calculated and controlled to ensure that the vehicle to be inspected smoothly turns to the inspection channel and prevent non-understandings. When the vehicle enters the vehicle by mistake, the preset formula is used to calculate the operating time of the lever lift of the gate.
It improves the efficiency of inspection of border vehicles at ports, ensures traffic safety, reduces human resources demand, and avoids traffic congestion and safety accidents.
Smart Images

Figure CN118447611B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of traffic automation technology, and in particular to a control method for a barrier gate lifting lever, an electronic device and a storage medium. Background Art
[0002] With the continuous acceleration and deepening of global economic integration, port customs clearance has become increasingly important in international trade. As a bridge connecting domestic and foreign markets, the efficient operation of port customs clearance is not only directly related to the speed, quality and cost of commodity circulation, but also has a profound impact on the country's economic competitiveness. Especially at border ports or cooperation zones, the spot inspection of vehicles entering and leaving the customs is an important link to ensure safe and orderly customs clearance at ports.
[0003] In the related art, in order to ensure the safety and order of vehicles entering and leaving the country, it is often necessary to conduct random inspections on some vehicles at border ports or cooperation zones. When a vehicle is selected for random inspection, the vehicle needs to enter a specific inspection site through an inspection channel for detailed inspection. That is, assuming that the port or cooperation zone has 10 channels (of course, it can also be 8, 9, 11, etc., which are not limited here), the 10 channels are arranged in sequence from 1 to 10 channel numbers, there is 1 inspection channel and it is located at the front of the 10 channels. If a vehicle in channel 1 is selected for inspection, the vehicle needs to turn from channel 1 to the inspection channel in order to enter the inspection site for further detailed inspection.
[0004] However, when the above method is used, when the vehicle flow is large, in order to prevent other vehicles not to be inspected from mistakenly entering the inspection site and causing traffic congestion or disorder, manual participation is usually required to intercept and guide vehicles not to be inspected in other channels. However, this manual interception method is not only inefficient, but also requires a large amount of human resources. Once the interception is not timely or the operation is wrong, it may also cause traffic congestion or safety accidents, which in turn leads to the low efficiency of vehicle inspection at the port border in the relevant technology. Summary of the invention
[0005] The present application provides a control method for a gate lift bar, an electronic device and a storage medium for improving the efficiency of vehicle inspection at a port border.
[0006] In a first aspect, the present application provides a control method for lifting a barrier bar, which is applied to the above-mentioned electronic device, the method comprising: upon receiving an inspection instruction, determining a vehicle to be inspected from a target channel according to the inspection instruction, wherein the vehicle to be inspected is a vehicle that needs to enter an inspection field for inspection through an inspection channel, and the inspection channel is located on a side of a target barrier bar of the target channel away from the target channel, and the inspection field is a site for inspecting the vehicle to be inspected; determining a first channel where the vehicle to be inspected is located, and determining the orientation of the entrance of the inspection field according to the first channel, wherein the target channel includes the first channel, and the orientation is the position of the entrance relative to the first channel; selecting a second channel from the target channel according to the first channel and the orientation, and determining a delay duration of a first barrier bar of the second channel using a preset formula, wherein the target channel includes a second channel, the second channel is located on a side of the first channel close to the entrance, the second channel is arranged in parallel with the first channel, and the target barrier bar includes the first barrier bar; controlling the first barrier bar to perform a lifting operation according to the delay duration.
[0007] By adopting the above technical solution, when an inspection instruction is received, the vehicle to be inspected (i.e., the vehicle to be inspected) is determined from multiple target channels according to the inspection instruction, so that the vehicle to be inspected can be accurately determined. After the vehicle to be inspected is determined, the first channel where the vehicle to be inspected is located will be further located, and the orientation of the entrance of the inspection site will be determined according to the position of the first channel, thereby providing the necessary basis for subsequent channel screening and gate control. According to the orientation of the first channel and the entrance of the inspection site, the side of the first channel close to the entrance of the inspection site is screened from the target channel, and the second channel is arranged in parallel with the first channel, and then the delay time of the first gate of the second channel is calculated using a preset formula. By screening the second channel and calculating the delay time of the first gate, the first gate of the second channel is controlled to perform the lifting operation according to the calculated delay time, ensuring that the vehicle to be inspected can smoothly turn to the inspection channel, while realizing the precise control of the first gate, thereby avoiding other non-inspection vehicles from mistakenly entering the inspection channel. To summarize, by accurately determining the vehicles to be inspected and the first channel where they are located, locating the orientation of the entrance to the inspection site, selecting the parallel channels (i.e., the second channel) and calculating the gate delay time, the gate lifting operation is controlled to ensure that the vehicles to be inspected can be smoothly turned to the inspection channel, while preventing vehicles not to be inspected from mistakenly entering the inspection channel, thereby achieving the purpose of effectively guiding the vehicles to be inspected and effectively intercepting the vehicles not to be inspected, thereby solving the technical problem of low efficiency of vehicle inspection at ports and border defenses in related technologies, and achieving the goal of improving the efficiency of vehicle inspection at ports and border defenses.
[0008] In combination with some embodiments of the first aspect, in some embodiments, when an inspection instruction is received, a vehicle to be inspected is determined from the target channel according to the inspection instruction, specifically including: determining 1 vehicle to be inspected from the target channel according to the inspection instruction; or, determining M vehicles to be inspected from the target channel according to the inspection instruction, where M is a positive integer greater than 1.
[0009] By adopting the above technical solution, through two different inspection strategies, the two inspection strategies can be flexibly switched according to actual needs to achieve higher inspection efficiency and better customs clearance experience.
[0010] In combination with some embodiments of the first aspect, in some embodiments, when an inspection instruction is received, after determining the vehicle to be inspected from the target channel according to the inspection instruction, the above method also includes: determining a third channel where a vehicle to be inspected is located, wherein the first channel includes the third channel; using the third channel as a reference, determining a first orientation of the entrance and exit, wherein the orientation includes the first orientation; screening out a fourth channel from the second channel according to the third channel and the first orientation, wherein the second channel includes the fourth channel, the fourth channel is located on the side of the second channel close to the entrance, and the third channel and the fourth channel are arranged side by side; determining a first delay duration of the second gate of the fourth channel using a first preset formula, wherein the preset formula includes a first preset formula, the first gate includes the second gate, and the delay duration includes a first delay duration; controlling the second gate to perform a first lever lifting operation according to the first delay duration, wherein the lever lifting operation includes the first lever lifting operation.
[0011] By adopting the above technical solution, by accurately locating a vehicle to be inspected, determining the first position of the entrance of the inspection site relative to the third channel, selecting the fourth channel that needs to be intercepted, and calculating the first delay duration of the second gate of the fourth channel, it is ensured that the vehicle to be inspected can travel smoothly in the inspection channel, and effectively preventing vehicles not to be inspected from mistakenly entering the inspection channel, thereby providing a strong guarantee for the traffic safety of the port border defense.
[0012] In combination with some embodiments of the first aspect, in some embodiments, determining the first delay time length of the second gate of the fourth channel by using a first preset formula specifically includes: determining the first delay time length S1 by using the following formula:
[0013] S1=(N+1)*C1
[0014] Wherein, N is the channel number corresponding to each channel included in the target channel, C1 is the first preset unit of seconds, and the first preset unit of seconds is the additional delay time of the fourth channel relative to the third channel.
[0015] By adopting the above technical solution, by taking into account the first preset formula of the channel number N and the additional delay time C1, a flexible, accurate and predictable delay duration calculation method is provided for the second gate control, so that the lifting operation of the second gate can be planned and controlled in advance, thereby improving the efficiency of vehicle inspection and vehicle passage.
[0016] In combination with some embodiments of the first aspect, in some embodiments, in the case of receiving an inspection instruction, after determining the vehicle to be inspected from the target channel according to the inspection instruction, the method further includes: determining the fifth channel and the sixth channel where the M vehicles to be inspected are located, wherein the first channel includes the fifth channel and the sixth channel, and the sixth channel is located on the side of the fifth channel close to the entrance; using the fifth channel and the sixth channel as a reference, determining the third orientation of the entrance and exit, wherein the orientation includes the third orientation; screening out the seventh channel and the eighth channel from the target channel according to the fifth channel and the sixth channel and the third orientation, wherein the second channel includes the seventh channel and the eighth channel, and the seventh channel The road is located between the fifth channel and the sixth channel, and the eighth channel is located on the side of the sixth channel close to the entrance; the second delay duration of the third gate of the seventh channel is determined by the second preset formula, and the third delay duration of the fourth gate of the eighth channel is determined by the third preset formula, wherein the preset formula includes the second preset formula and the third preset formula, the first gate includes the third gate and the fourth gate, and the delay duration includes the second delay duration and the third delay duration; the third gate is controlled to perform the second rod lifting operation according to the second delay duration, and the fourth gate is controlled to perform the third rod lifting operation according to the third delay duration, wherein the rod lifting operation includes the second rod lifting operation and the third rod lifting operation.
[0017] By adopting the above technical solution, by determining the seventh channel and the eighth channel where M vehicles to be inspected are located and calculating the delay duration of the third gate and the fourth gate (i.e., the second delay duration and the third delay duration), the second lever lifting operation of the third gate and the third lever lifting operation of the fourth gate are precisely controlled to ensure that the vehicles to be inspected travel in an orderly manner and prevent non-inspected vehicles from mistakenly entering, thereby improving inspection efficiency and orderliness.
[0018] In combination with some embodiments of the first aspect, in some embodiments, the second delay time length of the third gate of the seventh channel is determined by using the second preset formula, and the third delay time length of the fourth gate of the eighth channel is determined by using the third preset formula, specifically including: determining the second delay time length S2 by using the following formula:
[0019] S2=(N+1)*C2
[0020] Wherein, C2 is the second preset unit of seconds, and the second preset unit of seconds is the additional delay time of the seventh channel relative to the fifth channel; the third delay time is determined by the following formula:
[0021] S3=(N+1)*C3+S2
[0022] Among them, C3 is a third preset unit of seconds, and the third preset unit of seconds is the additional delay time of the eighth channel relative to the sixth channel.
[0023] By adopting the above technical solution, by introducing the channel number N and the additional delay duration (i.e., C2 and C3), the delay duration of different channel gates (i.e., the seventh gate and the eighth gate) can be flexibly and accurately calculated, which can reflect the actual differences between different channels and help to accurately control the gate to perform the lifting operation, thereby realizing the orderly and efficient implementation of the vehicle inspection process.
[0024] In combination with some embodiments of the first aspect, in some embodiments, the first barrier gate is controlled to perform a lifting operation according to the delay duration, specifically including: when it is determined that the vehicle to be inspected has driven through the inspection channel to the entrance, obtaining an identification result of the vehicle to be inspected at the entrance; when it is determined that the identification result shows that the vehicle to be inspected fails the identification, the first barrier gate is controlled to perform a lifting operation according to the delay duration; or, when it is determined that the identification result shows that the vehicle to be inspected passes the identification and the vehicle to be inspected has entered the inspection field, the first barrier gate is controlled to perform a lifting operation.
[0025] By adopting the above technical solution, by obtaining the recognition results of the vehicles to be inspected at the entrance, and automatically judging whether to control the lifting operation of the first gate according to the delay time, the accuracy and safety of the inspection process are ensured, and vehicles that have not passed the identification are effectively prevented from entering the inspection site, and the inspection process is optimized, the overall inspection efficiency is improved, and unnecessary waiting time is reduced.
[0026] In a second aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to perform the method described in the first aspect and any possible implementation method of the first aspect.
[0027] In a third aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on an electronic device, enables the electronic device to execute the method described in the first aspect and any possible implementation of the first aspect.
[0028] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions. When the instructions are executed on an electronic device, the electronic device executes the method described in the first aspect and any possible implementation manner of the first aspect.
[0029] It is understandable that the electronic device provided in the second aspect, the computer program product provided in the third aspect, and the computer storage medium provided in the fourth aspect are all used to execute the method provided in the embodiment of the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here.
[0030] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0031] 1. By accurately determining the vehicles to be inspected and the first channel where they are located, locating the direction of the entrance to the inspection site, selecting the parallel channel (i.e. the second channel) and calculating the gate delay time, the gate lifting operation is controlled to ensure that the vehicles to be inspected can smoothly turn to the inspection channel, while preventing vehicles not to be inspected from mistakenly entering the inspection channel, thereby achieving the purpose of effectively guiding vehicles to be inspected and effectively intercepting vehicles not to be inspected, thereby solving the lower technical problems in related technologies and improving the efficiency of vehicle inspection at port border defenses.
[0032] 2. Through two different inspection strategies, you can flexibly switch between the two inspection strategies according to actual needs to achieve higher inspection efficiency and better customs clearance experience.
[0033] 3. By accurately locating a vehicle to be inspected, determining the first position of the entrance to the inspection site relative to the third channel, selecting the fourth channel that needs to be intercepted, and calculating the first delay time of the second gate of the fourth channel, it ensures that the vehicle to be inspected can travel smoothly in the inspection channel, effectively preventing vehicles not to be inspected from mistakenly entering the inspection channel, and providing a strong guarantee for the traffic safety of the port border defense. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a flow chart of a method for controlling a gate lift rod in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of a process of vehicle inspection in an embodiment of the present application;
[0036] Figure 3 It is a schematic diagram of a physical device structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0037] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more listed items.
[0038] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0039] The present application provides a control method for a gate lift rod, see Figure 1 , Figure 1 This is a flow chart of a method for controlling a gate lift rod in an embodiment of the present application, comprising the following steps:
[0040] Step S101, when receiving the inspection instruction, determine the vehicle to be inspected from the target channel according to the inspection instruction, wherein the vehicle to be inspected is a vehicle that needs to enter the inspection field through the inspection channel for inspection, the inspection channel is located on the side of the target gate of the target channel away from the target channel, and the inspection field is the site where the vehicle to be inspected is inspected;
[0041] In the above embodiment, the inspection instruction is an instruction or command for indicating that the vehicle to be inspected is determined from the target channel, wherein the vehicle to be inspected can be determined from the target channel by vehicle type, or by license plate number, or by owner information, which is not limited here. The target channel can be the main channel or path for vehicle traffic, or a specific lane set in a certain transportation hub or checkpoint. The vehicle to be inspected is a vehicle that needs to undergo the inspection process determined from the target channel according to the inspection instruction, and will then be guided to the inspection site for further inspection by a sign (it can also be a voice prompt, an electronic display, a signal light, etc., which is not limited here). The inspection channel is a channel connected to the inspection site, and the vehicle to be inspected can travel to the inspection site through the inspection channel. The target gate is a key facility between the inspection channel and the target channel, which is used to control the passage of vehicles. When a vehicle needs to pass or be inspected, the target gate will lift the lever to allow the vehicle to pass or enter the inspection channel. The inspection site can be used specifically for detailed inspection of vehicles to be inspected, which may include a security inspection area, a document verification area, a personnel questioning area, etc. The vehicles to be inspected need to undergo a series of inspection processes at the inspection site, such as security inspections, document verification, etc., to ensure that the vehicles and drivers comply with relevant regulations.
[0042] Step S102, determining the first channel where the vehicle to be inspected is located, and determining the orientation of the entrance of the inspection site according to the first channel, wherein the target channel includes the first channel, and the orientation is the position of the entrance relative to the first channel;
[0043] In the above embodiment, the first channel refers to a specific channel in the target channel. The target channel may include multiple sub-channels or branch channels, and the first channel is one of them for vehicle passage. The entrance is an entry point of the inspection site. Vehicles enter the inspection site through the entrance for inspection. The entrance may be equipped with a gate, signs or other related facilities to guide and control the entry of vehicles to be inspected. The orientation refers to the specific position and / or direction of the entrance to the inspection site relative to the first channel. The determination of the orientation helps to guide the vehicles to be inspected to enter the inspection site smoothly from the first channel to avoid confusion or misleading.
[0044] Step S103, selecting a second channel from the target channel according to the first channel and the orientation, and determining the delay time of the first barrier of the second channel by using a preset formula, wherein the target channel includes the second channel, the second channel is located on a side of the first channel close to the entrance, the second channel is arranged in parallel with the first channel, and the target barrier includes the first barrier;
[0045] In the above embodiment, the second channel is another specific channel in the target channel, which is arranged in parallel with the first channel, and the second channel is located on the side of the first channel close to the entrance. The orientation refers to the specific position and / or direction of the second channel relative to the first channel. By determining the orientation, the second channel can be more accurately screened out from the target channel. The first gate is a gate set on the second channel, which is used to control the passage of vehicles in the second channel. The delay time refers to the waiting time before the first gate performs the lifting operation. The determination of the delay time is crucial to controlling the speed and flow of vehicles passing through the second channel. Determining the delay time by a preset formula can ensure that vehicles can pass through the second channel in an orderly and safe manner.
[0046] Step S104, controlling the first gate to perform a lever lifting operation according to the delay time.
[0047] In the above embodiment, the lifting operation refers to the process of the first gate of the road changing from a closed state to an open state, that is, the gate pole rises to allow vehicles or pedestrians to pass. The lifting operation can be done manually or by electric or automatic sensing, which is not limited here.
[0048] Through the above steps, when an inspection instruction is received, the vehicle that needs to be inspected (i.e., the vehicle to be inspected) is determined from multiple target channels according to the inspection instruction, so that the vehicle to be inspected can be accurately determined. After the vehicle to be inspected is determined, the first channel where the vehicle to be inspected is located will be further located, and the orientation of the entrance to the inspection site will be determined according to the position of the first channel, thereby providing the necessary basis for subsequent channel screening and gate control. According to the orientation of the first channel and the entrance of the inspection site, the side of the first channel close to the entrance of the inspection site is screened from the target channel, and the second channel is arranged in parallel with the first channel, and then the delay time of the first gate of the second channel is calculated using a preset formula. By screening the second channel and calculating the delay time of the first gate, the first gate of the second channel is controlled to perform the lifting operation according to the calculated delay time, ensuring that the vehicle to be inspected can smoothly turn to the inspection channel, while realizing the precise control of the first gate, thereby preventing other non-inspection vehicles from mistakenly entering the inspection channel. To summarize, by accurately determining the vehicles to be inspected and the first channel where they are located, locating the orientation of the entrance to the inspection site, selecting the parallel channels (i.e., the second channel) and calculating the gate delay time, the gate lifting operation is controlled to ensure that the vehicles to be inspected can be smoothly turned to the inspection channel, while preventing vehicles not to be inspected from mistakenly entering the inspection channel, thereby achieving the purpose of effectively guiding the vehicles to be inspected and effectively intercepting the vehicles not to be inspected, thereby solving the technical problem of low efficiency of vehicle inspection at ports and border defenses in related technologies, and achieving the goal of improving the efficiency of vehicle inspection at ports and border defenses.
[0049] Among them, the executor of the above steps can be a system with vehicle traffic control capabilities, or a control device or processing device with vehicle traffic control capabilities, or a controller or processor embedded in the system, or a controller or processor external to the system, etc., but not limited to this.
[0050] In an optional embodiment, upon receiving an inspection instruction, a vehicle to be inspected is determined from the target channel according to the inspection instruction, specifically including: determining 1 vehicle to be inspected from the target channel according to the inspection instruction; or determining M vehicles to be inspected from the target channel according to the inspection instruction, where M is a positive integer greater than 1.
[0051] In the above embodiment, one vehicle to be inspected is determined from the target channel according to the inspection instruction, that is, there is only one vehicle that needs to be inspected at present. In high-traffic or complex environments, resources can be concentrated to quickly and accurately inspect the vehicle, avoiding unnecessary waste of resources and reducing possible confusion and errors. M vehicles to be inspected are determined from the target channel according to the inspection instruction, that is, there are M vehicles that need to be inspected at present, ensuring the continuity and orderliness of the vehicles to be inspected, and avoiding conflicts and interference between vehicles to be inspected and vehicles not to be inspected.
[0052] In an optional embodiment, upon receiving an inspection instruction, after determining a vehicle to be inspected from a target channel according to the inspection instruction, the method further includes: determining a third channel where a vehicle to be inspected is located, wherein the first channel includes the third channel; using the third channel as a reference, determining a first orientation of an entrance and exit, wherein the orientation includes the first orientation; selecting a fourth channel from the second channel according to the third channel and the first orientation, wherein the second channel includes the fourth channel, the fourth channel is located on a side of the second channel close to the entrance, and the third channel and the fourth channel are arranged side by side; determining a first delay duration of a second barrier gate of the fourth channel using a first preset formula, wherein the preset formula includes a first preset formula, the first barrier gate includes the second barrier gate, and the delay duration includes a first delay duration; controlling the second barrier gate to perform a first lever lifting operation according to the first delay duration, wherein the lever lifting operation includes a first lever lifting operation.
[0053] In the above embodiment, the third channel (the first channel includes the third channel) where a vehicle to be inspected is located is determined, so that a vehicle to be inspected can be accurately located. Taking the third channel as a reference, the first orientation (i.e., the position relative to the third channel) of the entrance (i.e., the entrance of the inspection site) is determined, and by determining the relative position relationship between the third channel and the entrance, a basis is provided for subsequent channel screening and gate control. According to the third channel and the first orientation determined above, a fourth channel (the second channel includes the fourth channel) located on one side of the second channel close to the entrance and arranged in parallel with the third channel is screened out from the second channel. By screening out the fourth channel, it can be determined which channels need to be intercepted to ensure that the vehicles to be inspected can enter the inspection site smoothly, and that vehicles not to be inspected will not mistakenly enter the inspection channel. The first delay time of the second barrier gate of the fourth channel is calculated using a preset formula (the delay time includes the first delay time). By calculating the first delay time, it is possible to ensure that the second barrier gate is lifted and released at an appropriate time point, thereby preventing vehicles not to be inspected from mistakenly entering the inspection channel when the vehicles to be inspected are traveling in the inspection channel, causing traffic jams or traffic accidents. The second barrier gate of the fourth channel is controlled to perform a first lever lifting operation (the lever lifting operation includes the first lever lifting operation) according to the calculated first delay time. By controlling the first lever lifting operation of the second barrier gate, it is possible to ensure that vehicles not to be inspected can be effectively prevented from mistakenly entering the inspection channel when the vehicles to be inspected are traveling in the inspection channel.
[0054] In the above embodiment, the first delay time can be comprehensively considered by multiple factors such as road traffic flow, vehicle speed, safety distance and complexity of the inspection process, that is, the traffic flow data on the third channel and the fourth channel can be collected in real time through monitoring equipment such as sensors and cameras, including information such as the number of vehicles, vehicle type, and vehicle speed. Then, based on the collected traffic flow data, the current road conditions can be evaluated, such as whether it is congested, whether the vehicle is driving smoothly, etc. At the same time, considering the complexity of the inspection process, such as the time required for inspection, staffing, etc., it will also affect the delay time. Then, the preset algorithm or model can be used to calculate the first delay time required for the second gate of the fourth channel in combination with the road conditions and the complexity of the inspection process. The preset algorithm or model may be obtained based on historical data training, and the delay time can be dynamically adjusted according to different situations. Finally, according to the calculated first delay time, the second gate can be controlled to perform the first lifting operation. The first delay time should be sufficient to allow the vehicle to be inspected to pass through the second gate safely and orderly, while avoiding unnecessary congestion or delays. It should be noted that this embodiment is only an example, and there may be more factors to consider in actual applications, such as weather conditions, special events, etc. Therefore, in actual applications, it may be necessary to flexibly adjust and optimize according to specific circumstances. In addition, the specific form of the preset algorithm or model will also vary depending on the application scenario and requirements. In some cases, manual adjustments may be required based on experience or expert advice, and in some cases, automatic optimization may be required using technologies such as machine learning.
[0055] In an optional embodiment, the first delay time length of the second gate of the fourth channel is determined by using a first preset formula, specifically including: determining the first delay time length S1 by using the following formula:
[0056] S1=(N+1)*C1
[0057] Wherein, N is the channel number corresponding to each channel included in the target channel, C1 is the first preset unit of seconds, and the first preset unit of seconds is the additional delay time of the fourth channel relative to the third channel.
[0058] In the above embodiment, the channel number N corresponding to each channel in the target channel is determined (the channel number N corresponding to each channel may be arranged in a preset order, for example, starting from 1 and increasing, etc., which is not limited here), and the channel number N and the constant 1 are multiplied with the first preset unit of seconds C1 to obtain the first delay duration. The "(N+1)" part in the formula takes into account the influence of the channel number on the first delay duration, and C1 is the additional delay time of the fourth channel relative to the third channel. That is to say, as the channel number increases, the first delay duration will also increase accordingly to reflect the time difference between different channels, and the first delay duration S1 is obtained. By introducing the channel number N, it can flexibly adapt to different numbers of channels, and each channel can have a different delay duration, so as to ensure that the calculated first delay duration can accurately reflect the difference between channels, thereby improving the accuracy of gate control.
[0059] In the above embodiment, the first preset unit of seconds can be pre-set, and after the first preset unit of seconds is pre-set, the first preset unit of seconds can be adjusted according to actual application requirements.
[0060] In an optional embodiment, in the case of receiving an inspection instruction, after determining the vehicles to be inspected from the target channel according to the inspection instruction, the method further includes: determining the fifth channel and the sixth channel where the M vehicles to be inspected are located, wherein the first channel includes the fifth channel and the sixth channel, and the sixth channel is located on the side of the fifth channel close to the entrance; using the fifth channel and the sixth channel as a reference, determining the third orientation of the entrance and exit, wherein the orientation includes the third orientation; screening out the seventh channel and the eighth channel from the target channel according to the fifth channel, the sixth channel and the third orientation, wherein the second channel includes the seventh channel and the eighth channel, and the seventh channel is located on the fifth channel. The eighth channel is between the first channel and the sixth channel, and the eighth channel is located on the side of the sixth channel close to the entrance; the second delay duration of the third gate of the seventh channel is determined by the second preset formula, and the third delay duration of the fourth gate of the eighth channel is determined by the third preset formula, wherein the preset formula includes the second preset formula and the third preset formula, the first gate includes the third gate and the fourth gate, and the delay duration includes the second delay duration and the third delay duration; the third gate is controlled to perform the second lifting operation according to the second delay duration, and the fourth gate is controlled to perform the third lifting operation according to the third delay duration, wherein the lifting operation includes the second lifting operation and the third lifting operation.
[0061] In the above embodiment, the fifth channel and the sixth channel where the M vehicles to be inspected are located are determined, and the sixth channel is closer to the entrance of the inspection site, so that the positions of the M vehicles to be inspected (i.e., the fifth channel and the sixth channel) can be accurately located. Based on the fifth channel and the sixth channel, the third position of the entrance of the inspection site (i.e., the position of the entrance relative to the fifth channel and the sixth channel) is determined, so that the control strategy of the exit gate can be better planned to ensure that the vehicles travel in an orderly manner in the inspection channel. According to the fifth channel and the sixth channel and the third position determined above, the seventh channel located between the fifth channel and the sixth channel and the eighth channel closer to the entrance are screened out from the target channel, which can more effectively control the passage of vehicles not to be inspected, prevent vehicles not to be inspected from mistakenly entering the inspection channel, and ensure that the vehicles to be inspected can travel smoothly in the inspection channel. The second preset formula and the third preset formula are used to respectively calculate the delay durations (i.e., the second delay duration and the third delay duration) of the third barrier of the seventh channel and the fourth barrier of the eighth channel. By accurately calculating the second delay duration of the third barrier and the third delay duration of the fourth barrier, it is possible to ensure that the third barrier and the fourth barrier are lifted at the appropriate time, thereby avoiding the situation where non-to-be-inspected vehicles mistakenly enter the inspection channel when the to-be-inspected vehicles are traveling in the inspection channel, causing traffic congestion or traffic accidents. According to the calculated second delay duration and the third delay duration, the third barrier and the fourth barrier are controlled to perform the second and third lifting operations, respectively, thereby ensuring that N to-be-inspected vehicles travel in the inspection lane in a predetermined order and according to the calculated delay durations (i.e., the second delay duration and the third delay duration), thereby improving the efficiency and orderliness of the inspection process.
[0062] In the above embodiment, the second delay duration and the calculation method of the second delay duration may adopt a calculation method similar to the first delay duration, which is not limited here.
[0063] In an optional embodiment, the second delay time length of the third gate of the seventh channel is determined by using the second preset formula, and the third delay time length of the fourth gate of the eighth channel is determined by using the third preset formula, specifically including: determining the second delay time length S2 by using the following formula:
[0064] S2=(N+1)*C2
[0065] Wherein, C2 is the second preset unit of seconds, and the second preset unit of seconds is the additional delay time of the seventh channel relative to the fifth channel; the third delay time is determined by the following formula:
[0066] S3=(N+1)*C3+S2
[0067] Among them, C3 is a third preset unit of seconds, and the third preset unit of seconds is the additional delay time of the eighth channel relative to the sixth channel.
[0068] In the above embodiment, N represents the channel number corresponding to each channel included in the target channel. The second preset unit of seconds C2 represents the additional delay time of the seventh channel relative to the fifth channel. The second preset formula can be used to calculate the second delay time S2. The second preset formula takes into account the channel number N and the additional delay time C2. N in the second preset formula can be adjusted according to the actual number of channels, so that the delay time can adapt to different channel configurations. By introducing C2 as the additional delay time of the seventh channel relative to the fifth channel, the calculation of the second delay time is ensured to be more accurate, reflecting the actual differences between different channels. The third preset unit of seconds C3 represents the additional delay time of the eighth channel relative to the sixth channel. The third preset formula can be used to calculate the third delay time S3. The third preset formula not only takes into account the channel number N and the additional delay time C3, but also adds the second delay time S2 calculated above. That is, by introducing C3 as the additional delay time of the eighth channel relative to the sixth channel, and combining with the previous delay time S2, a more precise control of the barrier lifting time can be achieved, avoiding congestion and confusion between vehicles to be inspected and vehicles not to be inspected.
[0069] In the above embodiment, the second preset unit seconds and the third preset unit seconds can be pre-set, and after the second preset unit seconds and the third preset unit seconds are pre-set, the second preset unit seconds and the third preset unit seconds can also be adjusted according to actual application requirements.
[0070] In an optional embodiment, the first barrier gate is controlled to perform a lifting operation according to the delay time, specifically including: when it is determined that the vehicle to be inspected has driven through the inspection channel to the entrance, obtaining an identification result of the vehicle to be inspected at the entrance; when it is determined that the identification result shows that the vehicle to be inspected has failed the identification, the first barrier gate is controlled to perform a lifting operation according to the delay time; or, when it is determined that the identification result shows that the vehicle to be inspected has passed the identification and the vehicle to be inspected has entered the inspection field, the first barrier gate is controlled to perform a lifting operation.
[0071] In the above embodiment, when the vehicle to be inspected drives to the entrance of the inspection channel, the identification device at the entrance (which may be a camera, a license plate recognition system, etc., which is not limited here) starts working, and the identification device identifies the vehicle to be inspected, for example, identifies the license plate number, vehicle model and other information of the vehicle to be inspected. After the identification is completed, the identification device generates a recognition result, which contains information on whether the vehicle to be inspected is successfully identified. The identification device automatically identifies the vehicle to be inspected, thereby improving the efficiency and accuracy of vehicle inspection and reducing the interference of human factors. After obtaining the recognition result, first determine whether the recognition result shows that the identification of the vehicle to be inspected fails. If the recognition result shows that the vehicle identification fails, control the first gate to perform the lifting operation according to the delay time, and allow non-inspected vehicles to pass when the delay time is reached. If the recognition result shows that the identification of the vehicle to be inspected passes, allow the vehicle to be inspected to enter the inspection site for further inspection, and when the vehicle has successfully entered the inspection site, directly control the first gate to perform the lifting operation to allow the remaining non-inspected vehicles to pass. According to the different recognition results, the control strategy of the gate can be flexibly adjusted to ensure that the vehicles to be inspected can enter the inspection site in an orderly manner. For vehicles that fail the recognition, a delay time longer than the above can be set to give staff a certain amount of time for manual inspection or further verification, which increases the safety of the inspection. For vehicles that pass the recognition and have entered the inspection site, the gate can be quickly controlled to lift the pole, reducing waiting time and improving inspection efficiency.
[0072] Obviously, the above-described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application will be described in detail below in conjunction with specific embodiments.
[0073] This application embodiment provides a vehicle inspection process, see Figure 2 , Figure 2 This is a schematic diagram of a process of vehicle inspection in an embodiment of the present application, including the following steps:
[0074] Step S201: When a vehicle enters a channel, a license plate recognition device in the application integration system recognizes the license plate and captures a picture of the vehicle, and uploads the license plate recognition information and the vehicle picture to the docking system;
[0075] Step S202, the docking system uploads the license plate recognition information and vehicle photos to the customs system;
[0076] Step S203, the customs system performs a first determination to determine whether the vehicle is inspected;
[0077] Step S204, when the result of the first judgment is negative, the docking system performs a second judgment to determine whether the barrier is lifted;
[0078] Step S205: If the result of the second judgment is yes, a lift command is sent to the application integration system, and the application integration system controls the gate to perform the lift operation according to the lift command, and controls the LED to prompt "please pass" or "please check"; if the result of the second judgment is no, a non-lift command is sent to the application integration system, and the application integration system controls the LED to prompt "please wait" according to the non-lift command;
[0079] Step S206, when the first judgment result is yes, the channel where the vehicle to be inspected is located waits according to the set delay time threshold, and sends an LED prompt instruction to the application integration system;
[0080] 1) Detailed description of single vehicle inspection: After the customs system issues a pass instruction, the docking system traverses all passages, finds out all passages that are greater or less than the inspected passage (the judgment method depends on whether the inspection passage is on the left or right side, that is, the direction of the inspection passage entrance), and adds the waiting time of each passage in turn. The closer the passage is to the inspected passage, the shorter the waiting time of the vehicle in the passage. After calculating the passage delay seconds, it is added to the cache and a "please wait" LED prompt instruction is issued to each passage. From the moment the vehicle to be inspected enters the inspection channel, if a vehicle enters the passage, it is determined whether there is a delayed cache for the passage. If so, the docking system does not issue a barrier-lifting command, but adds the vehicle information to the cache. The vehicle will wait in the passage. When the inspection port receives the vehicle information, if the vehicle information is correct and the vehicle to be inspected enters the inspection site, the docking system issues a barrier-lifting command, and the gate of the passage that is still waiting for a delay lifts the barrier to release it. If the vehicle information is incorrect and it has not entered the inspection site, the scheduled task will periodically traverse the cached vehicle information. If the set delay seconds are reached, a barrier-lifting command will be issued to allow the channel vehicle to pass.
[0081] 2) Multiple vehicle inspection
[0082] Multiple vehicle inspection means that more than two vehicles are inspected at the same time (the vehicle has not entered the inspection site, and other vehicles need to be inspected). If multiple vehicles are inspected, the second vehicle will add the delay seconds calculated by other channels to the delay time calculated by other channels of the first vehicle. Multiple vehicles are superimposed in the same way. The inspection license plate is recorded in the cache. When the inspection vehicle enters the inspection site channel, the license plate cached by the vehicle entering is cleared until the last vehicle enters the inspection site, and the remaining channels with vehicles are all lifted. If the vehicle does not enter the inspection site, the vehicles in other channels will automatically lift the barriers to allow vehicles in other channels to pass after waiting for the cache time.
[0083] Step S207, after the delay period ends, the docking system sends a lever lifting instruction to the application integration system;
[0084] Step S208, the docking system calculates the delay time of the channel where the vehicle not to be inspected is located, and sends an LED prompt instruction to the application integration system.
[0085] It should be noted that there is no strict order between the above step S206 and the above step S208, that is, the above step S206 and the above step S208 can be executed simultaneously or one after another, which is not limited here.
[0086] The electronic device in the embodiment of the present invention is described below from the perspective of hardware processing. Figure 3 , Figure 3 It is a schematic diagram of a physical device structure of an electronic device in an embodiment of the present application.
[0087] It should be noted that Figure 3 The structure of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0088] like Figure 3 As shown, the electronic device includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303, such as executing the method described in the above embodiment. In RAM 303, various programs and data required for system operation are also stored. CPU 301, ROM 302 and RAM 303 are connected to each other through a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0089] The following components are connected to the I / O interface 305: an input section 306 including an audio input device, a button switch, etc.; an output section 307 including a liquid crystal display (LCD) and an audio output device, an indicator light, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.
[0090] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 309, and / or installed from a removable medium 311. When the computer program is executed by a central processing unit (CPU) 301, various functions defined in the present invention are performed.
[0091] It should be noted that specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0092] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings.
[0093] Specifically, the electronic device of this embodiment includes a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, the control method of the barrier gate lifting rod provided in the above embodiment is implemented.
[0094] As another aspect, the present invention further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above storage medium carries one or more computer programs, and when the above one or more computer programs are executed by a processor of the electronic device, the electronic device implements the control method of the gate lifting rod provided in the above embodiment.
[0095] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0096] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
Claims
1. A method for controlling a gate lift rod, characterized in that: include: In the case of receiving the inspection instruction, determining the vehicle to be inspected from the target channel according to the inspection instruction, wherein the vehicle to be inspected is a vehicle that needs to enter the inspection field through the inspection channel for inspection, the inspection channel is located on the side of the target gate of the target channel away from the target channel, and the inspection field is the site for inspecting the vehicle to be inspected; Determine the first channel where the vehicle to be inspected is located, and determine the orientation of the entrance of the inspection site according to the first channel, wherein the target channel includes the first channel, and the orientation is the position of the entrance relative to the first channel; select a second channel from the target channel according to the first channel and the orientation, and determine the delay time of the first barrier of the second channel by using a preset formula, wherein the target channel includes the second channel, the second channel is located on a side of the first channel close to the entrance, the second channel is arranged side by side with the first channel, and the target barrier includes the first barrier; Controlling the first gate to perform a lever lifting operation according to the delay time; In the case where the inspection instruction is received, after determining the vehicle to be inspected from the target channel according to the inspection instruction, the method further includes: Determine a third channel where the one vehicle to be inspected is located, wherein the first channel includes the third channel; Taking the third channel as a reference, determining a first orientation of the entrance, wherein the orientation includes the first orientation; selecting a fourth channel from the second channel according to the third channel and the first orientation, wherein the second channel includes the fourth channel, the fourth channel is located on a side of the second channel close to the entrance, and the third channel and the fourth channel are arranged in parallel; Determine a first delay time length of the second barrier gate of the fourth channel by using a first preset formula, wherein the preset formula includes the first preset formula, the first barrier gate includes the second barrier gate, and the delay time length includes the first delay time length; The second barrier gate is controlled to perform a first bar lifting operation according to the first delay duration, wherein the bar lifting operation includes the first bar lifting operation.
2. The method according to claim 1, characterized in that When receiving the inspection instruction, determining the vehicle to be inspected from the target channel according to the inspection instruction specifically includes: Determine a vehicle to be inspected from the target channel according to the inspection instruction; or, According to the inspection instruction, M vehicles to be inspected are determined from the target channel, wherein M is a positive integer greater than 1.
3. The method according to claim 1, characterized in that The determining of the first delay time of the second gate of the fourth channel by using the first preset formula specifically includes: The first delay duration S1 is determined using the following formula: S1=(N+1)*C1 Wherein, N is the channel number corresponding to each channel included in the target channel, C1 is a first preset unit of seconds, and the first preset unit of seconds is the additional delay time of the fourth channel relative to the third channel.
4. The method according to claim 2, characterized in that: In the case where the inspection instruction is received, after determining the vehicle to be inspected from the target channel according to the inspection instruction, the method further includes: Determine a fifth channel and a sixth channel where the M vehicles to be inspected are located, wherein the first channel includes the fifth channel and the sixth channel, and the sixth channel is located on a side of the fifth channel close to the entrance; Taking the fifth channel and the sixth channel as references, determining a third orientation of the entrance, wherein the orientation includes the third orientation; Screening out a seventh channel and an eighth channel from the target channel according to the fifth channel, the sixth channel and the third position, wherein the second channel includes the seventh channel and the eighth channel, the seventh channel is located between the fifth channel and the sixth channel, and the eighth channel is located on a side of the sixth channel close to the entrance; Determine the second delay time of the third barrier gate of the seventh channel by using the second preset formula, and determine the third delay time of the fourth barrier gate of the eighth channel by using the third preset formula, wherein the preset formula includes the second preset formula and the third preset formula, the first barrier gate includes the third barrier gate and the fourth barrier gate, and the delay time includes the second delay time and the third delay time; The third barrier gate is controlled to perform a second bar lifting operation according to the second delay time length, and the fourth barrier gate is controlled to perform a third bar lifting operation according to the third delay time length, wherein the bar lifting operation includes the second bar lifting operation and the third bar lifting operation.
5. The method according to claim 4, characterized in that The method of determining the second delay time length of the third gate of the seventh channel by using the second preset formula, and the method of determining the third delay time length of the fourth gate of the eighth channel by using the third preset formula, specifically includes: The second delay duration S2 is determined using the following formula: S2=(N+1)*C2 Wherein, C2 is a second preset unit of seconds, and the second preset unit of seconds is the additional delay time of the seventh channel relative to the fifth channel; The third delay duration is determined using the following formula: S3=(N+1)*C3+S2 Among them, C3 is a third preset unit of seconds, and the third preset unit of seconds is the additional delay time of the eighth channel relative to the sixth channel.
6. The method according to claim 1, characterized in that The controlling the first gate to perform a lever lifting operation according to the delay time specifically includes: When it is determined that the vehicle to be inspected has traveled to the entrance through the inspection channel, obtaining an identification result obtained by the entrance of identifying the vehicle to be inspected; When it is determined that the recognition result shows that the to-be-inspected vehicle fails to be recognized, controlling the first barrier gate to perform the lever lifting operation according to the delay time; or, When it is determined that the recognition result shows that the vehicle to be inspected has passed the recognition and the vehicle to be inspected has entered the inspection site, the first barrier gate is controlled to perform the lever lifting operation.
7. An electronic device, characterized in that: The electronic device comprises: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the electronic device executes the method as described in any one of claims 1-5.
8. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device is caused to execute the method as claimed in any one of claims 1 to 5.
9. A computer program product, characterized in that When the computer program product is executed on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
One-stop electronic identification system for entry-exit port
CN101727689A
Intelligent inspection guiding method and device, guiding equipment and readable storage medium
CN113918604A