Multi-beam based lane warning device, method, electronic device, and storage medium

CN122454679BActive Publication Date: 2026-09-22X-SENSE INNOVATIONS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610922127.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-06-25
Publication Date
2026-09-22
Estimated Expiration
2046-06-25

AI Technical Summary

Technical Problem

[0003]目前,市面上主流的车道报警器普遍采用单颗PIR(Passive Infrared)传感器作为硬件核心,仅通过检测视场内红外辐射变化率判断目标入侵,判据维度单一,易受温度漂移、小动物、强光、环境热源干扰,在雨雪、浓雾等复杂天气下易出现误报与漏报,导致车道报警的检测准确率不高

Benefits of technology

可以看出,本申请中所描述的基于多光束的车道报警装置、方法、电子设备及存储介质,首先通过获取第一接收数据集并确定目标基线,完成无遮断状态基准标定,消除器件与环境初始偏差,提升检测基准准确性;其次,通过按预设扫描周期获取第二接收数据集,并结合目标基线进行遮断检测,精准区分全部遮断、部分遮断及无遮断状态,避免单一信号误判;再次,通过在全部遮断时计算遮断时差,并对目标计时器进行累加或重置,有效区分瞬时干扰与真实目标,滤除短时异常遮断;最后,根据目标计时器数值与预设报警阈值确定并执行报警操作,实现可靠触发,避免误报与漏报,从而提高车道报警的检测准确率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122454679B_ABST
    Figure CN122454679B_ABST
Patent Text Reader

Abstract

The application discloses a lane warning device and method based on multiple light beams, an electronic device and a storage medium. The device comprises a transmitting column, a receiving column and a control module. The control module is in communication connection with the transmitting column and the receiving column. The transmitting column comprises N light beam transmitting modules. The receiving column comprises N light beam receiving modules. The transmitting column and the receiving column are oppositely installed on both sides of a lane. The N light beam transmitting modules are used for transmitting N light beams. The N light beam receiving modules are used for receiving the N light beams to form N groups of opposite light beams. Each group of opposite light beams corresponds to a light beam transmitting module and a light beam receiving module. The control module is used for warning when the N groups of opposite light beams are blocked. The application improves the detection accuracy of lane warning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of lane alarm technology, and in particular to a lane alarm device, method, electronic device and storage medium based on multi-beam technology. Background Technology

[0002] In the fields of security and lane control, lane alarm devices are widely used for vehicle access monitoring and security early warning in scenarios such as villas, courtyards, and garages due to their real-time intrusion detection and remote notification features. Their detection accuracy and anti-interference capabilities directly affect the reliability of the system.

[0003] Currently, most mainstream lane alarms on the market use a single PIR (Passive Infrared) sensor as their hardware core. They judge target intrusion solely by detecting the rate of change of infrared radiation within the field of view. This single criterion makes them susceptible to interference from temperature drift, small animals, strong light, and environmental heat sources. In complex weather conditions such as rain, snow, and dense fog, they are prone to false alarms and missed alarms, resulting in low detection accuracy of lane alarms.

[0004] Therefore, improving the detection accuracy of lane warning systems has become an urgent problem to be solved. Summary of the Invention

[0005] This application provides a multi-beam-based lane alarm device, method, electronic device, and storage medium, which improves the detection accuracy of lane alarms.

[0006] In a first aspect, embodiments of this application provide a lane warning device based on multiple beams, comprising: a transmitting column, a receiving column, and a control module, wherein the control module is communicatively connected to both the transmitting column and the receiving column, wherein: The transmitting column includes N beam transmitting modules; the receiving column includes N beam receiving modules; N is a positive integer greater than 1; The transmitting column and the receiving column are installed opposite each other along both sides of the lane. The N beam emitting modules are used to emit N beams; The N beam receiving modules are used to receive the N beams to form N sets of opposing beams; each set of opposing beams corresponds to a beam emitting module and a beam receiving module. The control module is used to issue an alarm when the N sets of through beams are blocked.

[0007] Secondly, embodiments of this application provide a lane warning method, applied to the control module of a multi-beam-based lane warning device as described in the first aspect, the method comprising: A preset control algorithm is used to control the N beam emission modules to emit the N beams; Within a first preset time period, acquire N first receiving datasets corresponding to the N beam receiving modules; each first receiving dataset corresponds to one beam receiving module; N target baselines are determined based on the N first received datasets; During the second preset time period, the target timer is initialized to 0. After each preset scanning cycle, N second receiving datasets corresponding to the N beam receiving modules are acquired. Each second receiving dataset corresponds to one beam receiving module. The start time of the second preset time period is later than the end time of the first preset time period. Based on the N second received datasets and the N target baselines, occlusion detection is performed to obtain a first occlusion detection result; the first occlusion detection result includes any of the following: complete occlusion, partial occlusion, and no occlusion. When the first blocking detection result includes all blocking, the target blocking time difference is determined based on the N second received datasets; if the target blocking time difference is less than or equal to the preset blocking time difference, the value of the target timer is added to the preset value; if the target blocking time difference is greater than the preset blocking time difference, the value of the target timer is reset to 0. Obtain the value of the target timer at the end of the second preset time period to obtain the target value; determine the target alarm operation based on the target value and the preset alarm threshold; the target alarm operation includes any of the following: no operation, minor alarm operation, and major alarm operation; Perform the target alarm operation.

[0008] Thirdly, embodiments of this application provide an electronic device, including: a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the steps in the second aspect of embodiments of this application.

[0009] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program for electronic data interchange, wherein the computer program causes a computer to perform some or all of the steps described in the second aspect of embodiments of this application.

[0010] Fifthly, embodiments of this application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the second aspect of embodiments of this application. The computer program product may be a software installation package.

[0011] Implementing this application will have the following beneficial effects: As can be seen, the multi-beam-based lane alarm device, method, electronic device, and storage medium described in this application firstly acquire a first received dataset and determine a target baseline to complete the benchmark calibration for the unobstructed state, eliminating initial deviations between the device and the environment and improving the accuracy of the detection benchmark. Secondly, by acquiring a second received dataset according to a preset scanning cycle and combining it with the target baseline for obstruction detection, it accurately distinguishes between full obstruction, partial obstruction, and unobstructed states, avoiding misjudgment based on a single signal. Thirdly, by calculating the obstruction time difference when there is full obstruction and accumulating or resetting the target timer, it effectively distinguishes between instantaneous interference and the real target, filtering out short-term abnormal obstructions. Finally, by determining and executing the alarm operation based on the target timer value and a preset alarm threshold, it achieves reliable triggering, avoids false alarms and missed alarms, thereby improving the detection accuracy of the lane alarm. Attached Figure Description

[0012] To more clearly illustrate the technical solutions in the embodiments of this application or the background art, the accompanying drawings used in the embodiments of this application or the background art will be described below.

[0013] Figure 1 This is an application scenario diagram of a lane warning device based on a multi-beam according to an embodiment of this application; Figure 2 This is a schematic diagram of the structure of a lane warning device based on multiple beams provided in an embodiment of this application; Figure 3 This is a flowchart of a lane alarm method provided in an embodiment of this application; Figure 4 This is a flowchart illustrating the operation of a multi-beam-based lane warning device provided in an embodiment of this application. Figure 5 This is a schematic diagram of another lane warning device based on multiple beams provided in this application embodiment; Figure 6 This is a schematic diagram of another lane alarm device based on multiple beams provided in this application embodiment; Figure 7 This is a schematic diagram of the structure of a lane warning system provided in an embodiment of this application; Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0014] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

[0015] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0016] It should be understood that the term "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this document indicates that the preceding and following related objects are in an "or" relationship. In the embodiments of this application, "multiple" refers to two or more.

[0017] In the embodiments of this application, "at least one item" or its similar expression refers to any combination of these items, including any combination of a single item or a plurality of items. "One or more" means one or more, while "multiple" means two or more. For example, "at least one item" of a, b, or c can represent the following seven cases: a, b, c; a and b; a and c; b and c; a, b, and c. Each of a, b, and c can be an element or a set containing one or more elements.

[0018] In this application, the term "connection" refers to various connection methods, such as direct connection or indirect connection, to achieve communication between devices. This application does not impose any limitations on this.

[0019] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0020] The electronic device described in the embodiments of this application can be a multi-beam-based lane alarm device, or a control module of a multi-beam-based lane alarm device.

[0021] The following describes the relevant content, concepts, meanings, technical issues, technical solutions, and beneficial effects involved in the embodiments of this application.

[0022] First, let me explain some of the technical terms or phrases used in this application: Lane alarm: refers to a security monitoring mechanism that uses photoelectric detection, signal processing and judgment algorithms to identify vehicles and other targets entering / intruding in real time in lane / access lane scenarios, and outputs alarm prompts or linkage notifications. It is mostly used for intrusion and vehicle arrival detection in non-road access lanes such as villas, courtyards, and garages.

[0023] TDM (Time Division Multiplexing) is a standard multiplexing technology commonly used in the fields of communications and electronics. It divides the transmission period into several time slots of fixed length and allocates them sequentially to multiple signals, allowing each signal to have its own dedicated channel within a different time slot. This enables ordered transmission of multiple signals on the same channel / optical path without crosstalk.

[0024] PIR (Passive Infrared) sensor: also known as pyroelectric infrared sensor, is a photoelectric sensor that does not require active emission of infrared signals, but achieves target detection by passively receiving and detecting changes in the infrared radiation of an object itself. It is widely used in security alarms, automatic sensing control and other fields.

[0025] In the fields of security and lane control, lane alarm devices are widely used for vehicle access monitoring and security early warning in scenarios such as villas, courtyards, and garages due to their real-time intrusion detection and remote notification features. Their detection accuracy and anti-interference capabilities directly affect the reliability of the system.

[0026] Currently, most mainstream lane alarms on the market use a single PIR (Passive Infrared) sensor as their hardware core. They judge target intrusion solely by detecting the rate of change of infrared radiation within the field of view. This single criterion makes them susceptible to interference from temperature drift, small animals, strong light, and environmental heat sources. In complex weather conditions such as rain, snow, and dense fog, they are prone to false alarms and missed alarms, resulting in low detection accuracy of lane alarms.

[0027] To address this, this application provides a lane alarm device, method, electronic device, and storage medium based on a multi-beam array. First, by acquiring a first received dataset and determining a target baseline, a baseline calibration for the unobstructed state is completed, eliminating initial deviations between the device and the environment and improving the accuracy of the detection baseline. Second, by acquiring a second received dataset according to a preset scanning cycle and combining it with the target baseline for obstruction detection, full obstruction, partial obstruction, and no obstruction states are accurately distinguished, avoiding misjudgment based on a single signal. Third, by calculating the obstruction time difference when there is full obstruction and accumulating or resetting the target timer, transient interference and the real target are effectively distinguished, filtering out short-term abnormal obstructions. Finally, an alarm operation is determined and executed based on the target timer value and a preset alarm threshold, achieving reliable triggering and avoiding false alarms and missed alarms, thereby improving the detection accuracy of the lane alarm.

[0028] Please see Figure 1 , Figure 1 This is an application scenario diagram of a multi-beam-based lane alarm device provided in this application embodiment. As can be seen, the multi-beam-based lane alarm device (hereinafter referred to as the device) is installed on the entrance lane of a residential garage to detect vehicles entering in real time and trigger a security alarm. One end of the lane is the vehicle entrance, and the other end leads to the residential garage. Transmitting and receiving columns are installed opposite each other on both sides of the lane, forming a 10-beam infrared grating array. This infrared grating array is arranged at equal intervals along the vertical direction, covering a height range of 15cm to 105cm above the ground, with an adjacent beam spacing of 10cm, which can completely cover the effective detection height of a residential vehicle. The receiving column is physically or communicatively connected to a control module. The control module can be integrated inside the receiving column or set up independently, and is used to perform beam transmission control, signal reception processing, and alarm logic determination. In practice, when a vehicle (the target to be identified) drives from the vehicle entrance into the garage in the direction indicated by the arrow, the vehicle body will sequentially block multiple beams of light in the infrared grating array. The control module compares the real-time received beam signal with the baseline amplitude obtained through self-learning and performs a blocking judgment. When all beams are detected to be blocked synchronously and the duration reaches the preset alarm threshold, it is determined to be a valid vehicle intrusion. At this time, an alarm operation is triggered, and an alarm notification is pushed to the user terminal or a local audible and visual alarm is activated.

[0029] In some embodiments, in addition to the judgment rule of "when all beams are simultaneously blocked and the duration reaches a preset alarm threshold, it is determined to be a valid vehicle intrusion", a hierarchical judgment logic can also be set: when half of the beams are detected to be simultaneously blocked and the duration reaches twice the preset alarm threshold, it is also determined to be a valid vehicle intrusion, and an alarm operation is triggered immediately; of course, the number of beams simultaneously blocked and their corresponding alarm thresholds can be flexibly set according to the actual situation, and are not limited here.

[0030] It should be explained that the launch column can also be physically or communicatively connected to the control module.

[0031] Please see Figure 2 , Figure 2 This is a schematic diagram of a multi-beam-based lane warning device provided in an embodiment of this application; it can be seen that the multi-beam-based lane warning device (hereinafter referred to as the device) includes: a transmitting column, a receiving column, and a control module, wherein the control module is communicatively connected to the transmitting column and the receiving column respectively, wherein: The transmitting column includes N beam transmitting modules; the receiving column includes N beam receiving modules; N is a positive integer greater than 1; specifically, the N beam transmitting modules are arranged vertically at equal intervals on the transmitting column, and similarly, the N beam receiving modules are also arranged vertically at equal intervals on the receiving column, with the positions of the N beam transmitting modules and the N beam receiving modules corresponding one-to-one.

[0032] The transmitting column and the receiving column are installed opposite each other along both sides of the lane. The N beam emitting modules are used to emit N beams; The N beam receiving modules are used to receive the N beams to form N sets of opposing beams; each set of opposing beams corresponds to a beam emitting module and a beam receiving module. In some embodiments, N can be 10, the beam emitting module can be an infrared emitting tube, and the beam receiving module can be an infrared receiving tube; 10 sets of opposing beams are arranged vertically at equal intervals on the column to form an infrared grating array; the array covers 15cm to 105cm above the ground, and the beam spacing is 10cm. Beam width: Each beam is approximately 3cm in diameter, and the blocking radius is approximately 1.5cm; Beam alignment: The beam emitting module and beam receiving module are calibrated and aligned before leaving the factory, eliminating the need for secondary beam alignment on site during installation and reducing construction complexity; Power supply: The above device may also include a power module; the device can use AC 220V mains power input, which is converted to DC 12V by the power module to power the device; the power consumption of a single column is less than 2W, which is suitable for low power consumption and long-term operation application scenarios.

[0033] The control module is used to issue an alarm when the N sets of through beams are blocked.

[0034] Please see Figure 3 , Figure 3 This is a flowchart of a lane alarm method provided in an embodiment of this application, which is applied to, for example... Figure 2 The control module in the multi-beam-based lane warning device shown includes the following method: S301. The N beam emission modules are controlled to emit the N beams using a preset control algorithm.

[0035] In this embodiment, the preset control algorithm can be preset in advance or defaulted.

[0036] In a specific embodiment, a preset control algorithm is used to uniformly schedule the emission of beams from N beam emission modules to achieve orderly emission of N beams, providing a stable signal foundation for subsequent signal acquisition and blockage detection.

[0037] In some embodiments, the preset control algorithm includes a TDM time-division polling algorithm; controlling the N beam emission modules to emit the N beams using the preset control algorithm includes: S11. The preset scanning period is divided equally to obtain N time slots; each time slot corresponds to a beam emission module; S12. In the first time slot of the N time slots, determine the first beam emitting module corresponding to the first time slot among the N beam emitting modules; control the first beam emitting module to output the first beam in a preset modulation mode, and at the same time, control the N-1 beam emitting modules other than the first beam emitting module to be in a closed state; wherein, the first time slot is any time slot of the N time slots.

[0038] In this embodiment, the preset scanning period and preset modulation method can both be preset in advance or defaulted.

[0039] In a specific embodiment, the preset scanning period can be divided into N independent time segments of equal duration, based on the total number N of beam emitting modules. Each time segment is a time slot. All time slots are arranged sequentially and continuously to form a complete scanning period, thus obtaining N time slots.

[0040] In the first time slot of N time slots, the first beam emitting module corresponding to the first time slot among the N beam emitting modules is determined. Specifically, a preset mapping relationship between time slots and beam emitting modules can be stored in advance, and the first beam emitting module corresponding to the first time slot can be determined based on the mapping relationship. Then, a drive command can be sent to the first beam emitting module to control the first beam emitting module to output the first beam in a preset modulation mode. At the same time, a shutdown command can be sent to the N-1 beam emitting modules other than the first beam emitting module to stop beam emitting and enter the shutdown state.

[0041] In some embodiments, N=10, the preset scan period is 10ms, and the preset scan period is divided into 10 1ms time slots. These 10 1ms time slots can be denoted as Slot_. i ,in,i =1, 2, 3, ..., N; the time interval of a single time slot is [( i -1) ms, ms]; in the i Slot_ i In the middle, only the first one is driven i One beam emitting module is turned on and outputs a beam, while the remaining nine beam emitting modules are all turned off; synchronously, the receiver only outputs a beam to the first beam emitting module. i The receiving channel samples the beam to obtain the sampled value of that beam. This ensures that only one beam is emitted at any given time, completely eliminating crosstalk between adjacent beams at the physical level. In this application, the sampling period for a single beam is 10ms, corresponding to a sampling frequency of 100Hz. Assuming a vehicle travels at 30km / h (driving speed 8.3m / s), the vehicle displacement between two adjacent samples is approximately 8.3cm. A beam spacing of less than 10cm can effectively capture the target and avoid missed detections.

[0042] In some embodiments, the preset modulation method can be 38kHz carrier modulation. Each beam transmitting module, within its corresponding operating time slot, uses a 38kHz square wave with a 50% duty cycle for carrier modulation output. Define the original signal expression at the receiver: ; in, Indicates the first i Real-time voltage signal of each beam receiving module; Represents the th beam among N beams i The reference received amplitude of each beam; This represents the square wave function, used to generate a standard square wave signal of 38kHz with a 50% duty cycle; This represents the blocking gate function, which takes the value 1 when the beam is not blocked and takes the value 0 when it is blocked.

[0043] Then, the original signal at the receiving end is subjected to 38kHz bandpass filtering and peak detection processing, and finally converted into ADC sample values ​​with a range of 0~1023. This modulation and filtering method has excellent anti-interference capability. The infrared energy of sunlight is concentrated in the low-frequency Hertz band, which can be completely filtered out by a 38kHz bandpass filter; The interference frequencies of incandescent lamps, halogen lamps, and conventional LED lamps are mostly 50Hz, 60Hz, or low-frequency PWM frequencies, which are all outside the filter's passband. In addition, relying on the time-division polling characteristics of TDM, beams not in the current working time slot are in a closed state and will not generate a valid 38kHz signal, further avoiding crosstalk problems caused by off-axis reception.

[0044] Thus, by equally dividing the preset scanning period into N independent time slots and matching each time slot with a beam emission module, only the corresponding single beam is driven to operate within any single time slot, while all other beams are turned off, achieving time-division, independent, and orderly emission of multiple beams. This time-division polling mode completely eliminates optical path crosstalk and signal superposition interference caused by multiple beams operating simultaneously at the physical level, ensuring that the receiver only collects the effective modulation signal of the unique corresponding beam at each moment. This greatly improves the purity and detection accuracy of the beam sampling signal, avoids misjudgment problems caused by beam interference, and effectively improves the stability and accuracy of lane obstruction detection.

[0045] S302. Within a first preset time period, acquire N first receiving datasets corresponding to the N beam receiving modules; each first receiving dataset corresponds to one beam receiving module.

[0046] In this embodiment of the application, the first preset time period can be preset in advance or defaulted.

[0047] In a specific embodiment, during the first preset time period, the control module uses a time-division polling algorithm (TDM) to drive each beam transmitting module to work sequentially according to time slots. Within each time slot, only one corresponding beam transmitting module is activated, while the others remain off. The beam receiving module synchronously completes signal reception, 38kHz bandpass filtering, peak detection, and ADC sampling to obtain sampling data for a single beam. After completing one round of data acquisition for all N beams, the above acquisition process is repeated until the end of the first preset time period. All sampling data from each beam receiving module within this time period are summarized to form N corresponding first receiving datasets.

[0048] S303. Determine N target baselines based on the N first received datasets.

[0049] In this embodiment of the application, N first received datasets can be analyzed to obtain N target baselines.

[0050] In some embodiments, determining N target baselines based on the N first received datasets includes: S21. Determine the N first average received amplitude values ​​corresponding to the N first received datasets; S22. Determine N reference baselines based on the N first average received amplitudes; S23. Obtain N third receiving datasets corresponding to the N beam receiving modules within the third preset time period; each third receiving dataset corresponds to one beam receiving module; the start time of the third preset time period is later than the end time of the first preset time period; S24. Determine the N second average received amplitude values ​​corresponding to the N third received datasets; S25. Determine the N target baselines based on the N second average received amplitudes, the N reference baselines, the first preset coefficient, the second preset coefficient, and the first preset baseline update formula.

[0051] In this embodiment, the third preset time period, the first preset coefficient, the second preset coefficient, and the first preset baseline update formula can all be preset in advance or defaulted; each received dataset can include multiple received amplitudes.

[0052] It should be explained that the received amplitude represents the ADC sampling value obtained by the beam receiving module after filtering, detecting, and converting the received optical signal. It characterizes the current received signal strength of the beam. When the beam is not blocked, the received amplitude remains within the normal range; when the beam is blocked, the optical signal attenuates, and the received amplitude decreases significantly.

[0053] In a specific embodiment, N first average received amplitude values ​​corresponding to N first received datasets can be determined first. Specifically, for each first received dataset, its average value can be calculated and used as the first average received amplitude value. In this way, N first average received amplitude values ​​can be obtained. Then, N reference baselines can be determined based on the N first average received amplitude values. Specifically, the N first average received amplitude values ​​can be directly used as the N reference baselines.

[0054] In some embodiments, the first preset time period can be 30 seconds after the device is powered on; the preset scan period is 10ms, and a total of 3000 points are sampled in 30 seconds. The average value calculated from the first 300 sampled points is taken as the reference baseline, as follows: ; in, Indicates the first Reference baseline for each beam receiving module; Indicates the first The first beam receiving module One sampling point.

[0055] Furthermore, N third receiving datasets corresponding to N beam receiving modules within a third preset time period can be obtained. Specifically, the method for obtaining the N third receiving datasets is the same as the method for obtaining the N first receiving datasets, and will not be repeated here. Then, N second average receiving amplitudes corresponding to the N third receiving datasets can be determined. Specifically, for each third receiving dataset, its average value, i.e., the second average receiving amplitude, is calculated, thus obtaining N second average receiving amplitudes. Finally, based on the N second average receiving amplitudes, N reference baselines, a first preset coefficient, a second preset coefficient, and a first preset baseline update formula, N target baselines can be determined. The specific first preset baseline update formula is as follows: ; in, Represents the first time at time t There are target baselines, where t represents time; express The first moment The target baseline, that is, the first target baseline. One reference baseline; Indicates the duration of the third preset time period; Indicates the first preset coefficient; This indicates the second preset coefficient; Indicates the third preset time period. The average received amplitude of the nth beam receiving module, that is, the nth beam receiving module The second average received amplitude.

[0056] The sum of the first preset coefficient and the second preset coefficient is 1.

[0057] In some embodiments, the first preset coefficient a can be 0.99; the second preset coefficient b can be 0.01; and the third preset time period can be the most recent hour, that is, the first preset baseline update formula is: ; In some embodiments, only when > Only when the beam is blocked for a long time will the baseline update operation be performed according to the first preset baseline update formula, so as to avoid misjudging the abnormal signal and updating it as the reference baseline.

[0058] In this way, by combining the average received amplitude at different time periods and introducing preset coefficients to calculate the target baseline, multiple sets of historical sampling data are integrated. This can suppress single sampling noise and instantaneous signal fluctuations, take into account the signal characteristics at different time periods, make the baseline more in line with actual working conditions, improve the accuracy and stability of the baseline, and ensure the reliability of subsequent blockage detection results.

[0059] S304. During the second preset time period, the value of the target timer is initialized to 0. After each preset scanning cycle, N second receiving datasets corresponding to the N beam receiving modules are acquired. Each second receiving dataset corresponds to one beam receiving module. The start time of the second preset time period is later than the end time of the first preset time period.

[0060] In this embodiment of the application, the second preset time period can be preset in advance or defaulted.

[0061] In a specific embodiment, during the second preset time period, the value of the target timer is first reset to 0, and then the scanning acquisition process is continuously executed in a loop: after each preset scanning cycle, the signals of all beam receiving modules are synchronously acquired and summarized to form N corresponding second receiving datasets. S305. Based on the N second received datasets and the N target baselines, perform occlusion detection to obtain a first occlusion detection result; the first occlusion detection result includes any of the following: complete occlusion, partial occlusion, or no occlusion.

[0062] In this embodiment of the application, for each second received dataset, it is compared and analyzed with the corresponding target baseline among N target baselines to determine whether the beam is blocked, and the corresponding blocking detection result is output, thereby obtaining the first blocking detection result.

[0063] In some embodiments, the step of performing occlusion detection based on the N second received datasets and the N target baselines to obtain a first occlusion detection result includes: S31. Obtain the target second received dataset and its corresponding first target baseline; the target second received dataset is any one of N second received datasets; the first target baseline is the baseline among the N target baselines that corresponds to the target second received dataset; S32. Determine the target average received amplitude corresponding to the target second received dataset; S33. Obtain the target obstruction coefficient; S34. Determine the first status identifier corresponding to the second receiving dataset of the target based on the target blocking coefficient, the target average received amplitude, and the first target baseline; S35. Obtain N-1 status identifiers corresponding to N-1 second receiving datasets other than the target second receiving dataset from the N second receiving datasets; S36. Determine the first occlusion detection result based on the N-1 status identifiers and the first status identifier.

[0064] In this embodiment, the target second received dataset and its corresponding first target baseline can be obtained first; then, the target average received amplitude corresponding to the target second received dataset can be determined. Specifically, the average value of the target second received dataset, i.e., the target average received amplitude, can be calculated; next, the target blocking coefficient can be obtained; further, the first status identifier corresponding to the target second received dataset can be determined based on the target blocking coefficient, the target average received amplitude, and the first target baseline, as follows: like <k× If so, the first state flag is set to the occlusion flag; like ≥k× If so, the first state flag is set to the unblocked flag; in, The value represents the average received amplitude of the target; k represents the target blocking coefficient. Indicates the first target baseline; In some embodiments, the first is defined i The status flag of each beam receiving module is as follows: When the beam of light is blocked, The value is 1, meaning the value of the blocking indicator is 1; when the beam is not blocked, The value is 0, which means the value of the unblocked indicator is 0.

[0065] Then, N-1 status identifiers corresponding to N-1 second receiving datasets other than the target second receiving dataset can be obtained from the N second receiving datasets. Specifically, the method for obtaining the N-1 status identifiers is the same as the method for obtaining the first status identifier, and will not be repeated here. Finally, the first occlusion detection result can be determined based on the N-1 status identifiers and the first status identifier.

[0066] In this way, by combining the data of each single path with the corresponding baseline and the blocking coefficient to determine the status, and then integrating the status indicators of all beams to output the detection results, the basis for single-path judgment is clear and the threshold is uniform. At the same time, by relying on the joint analysis of the status of multiple beams, the misjudgment caused by single optical path anomalies and instantaneous interference can be reduced, and the accuracy and reliability of the overall blocking detection can be greatly improved.

[0067] In some embodiments, obtaining the target occlusion coefficient includes: S41. Obtain the preset blocking coefficient; S42. Obtain the N received amplitude values ​​and N current status identifiers corresponding to the N beam receiving modules at the current time; S43. Determine the global amplitude ratio based on the N received amplitudes and the N target baselines; S44. When the N current status identifiers and the global amplitude ratio meet the first preset condition, enter the severe weather mode; update the N target baselines according to the global amplitude ratio, and determine the target optimization factor corresponding to the severe weather mode; optimize the preset blocking coefficient according to the target optimization factor to obtain the target blocking coefficient; S45. When the ratio of the N current state identifiers to the global amplitude does not meet the first preset condition, the target blocking coefficient is determined according to the preset blocking coefficient.

[0068] In this embodiment, the preset blocking coefficient and the first preset condition can both be preset in advance or defaulted.

[0069] In a specific embodiment, a preset blocking coefficient can be obtained first; then, N received amplitude values ​​and N current status identifiers corresponding to N beam receiving modules at the current moment can be obtained. Specifically, at the current moment, the received amplitude value and status identifier of each beam receiving module are read one by one to obtain N received amplitude values ​​and N current status identifiers; next, the global amplitude ratio can be determined based on the N received amplitude values ​​and N target baselines. Specifically, the sum of the N received amplitude values ​​can be calculated first to obtain a first sum value, and then the sum of the N target baseline values ​​can be calculated to obtain a second sum value; then, the first sum value is divided by the second sum value to obtain the global amplitude ratio.

[0070] When the ratio of N current state indicators and the global amplitude meets a first preset condition, the system enters severe weather mode. Specifically, the first preset condition can be: Renv < 0.6 AND min( The condition is that Renv = 0 for 30 seconds (meaning Renv is less than 0.6, and at least one state flag has a value of 0 for 30 seconds). Represents the current time; Renv represents the global amplitude ratio; if the N current status indicators and the global amplitude ratio satisfy the first preset condition, the control device enters the severe weather mode; then, the N target baselines can be updated according to the global amplitude ratio, and the target optimization factor corresponding to the severe weather mode can be determined. Specifically, the N target baselines can be updated according to the second preset baseline update formula and the global amplitude ratio, wherein the second preset baseline update formula is as follows: ; in, Indicates the updated number One target baseline; Indicates the number before the update A target baseline is established; then, a pre-stored mapping relationship between preset weather patterns and optimization factors can be established, and the target optimization factor corresponding to the severe weather pattern can be determined based on the mapping relationship. The value range of the target optimization factor can be -0.5 to 0. Severe weather patterns can include at least one of the following: heavy fog, heavy rain, heavy snow, sleet, etc., without limitation.

[0071] Then, the preset blocking coefficient can be optimized according to the target optimization factor, as follows: Target occlusion coefficient = preset occlusion coefficient × (1 + target optimization factor); The target blocking coefficient can be obtained by calculating using the formula above.

[0072] When the ratio of N current status indicators and global amplitude does not meet the first preset condition, the preset blocking coefficient can be directly determined as the target blocking coefficient.

[0073] In some embodiments, the preset blocking coefficient can be 0.3; the severe weather mode can be heavy rain, and the corresponding target optimization factor is -0.4; the target blocking coefficient = 0.3 × (1 + (-0.4)) = 0.18.

[0074] In some embodiments, the preset blocking coefficient can be 0.3; the severe weather mode can be heavy fog, and the corresponding target optimization factor is -0.5; the target blocking coefficient = 0.3 × (1 + (-0.5)) = 0.15.

[0075] In some embodiments, when the global amplitude ratio rises to 0.9 or above and this state lasts for 5 minutes, the device will automatically exit the severe weather mode and switch to normal detection mode.

[0076] In this way, by combining the status of multiple beams with the global amplitude ratio to comprehensively determine the environmental conditions, it can accurately identify severe weather and automatically switch the corresponding working mode. By dynamically updating the baseline and adjusting the blocking coefficient using optimization factors, it can adapt to the characteristics of light signal attenuation under severe weather conditions, effectively avoid false detections caused by environmental interference, and use the original parameters to ensure uniformity of detection standards when the operating conditions are normal, thereby improving the detection adaptability and operational stability of the device in different weather environments.

[0077] In some embodiments, each status identifier includes any one of the following: an unblocked identifier, an blocked identifier; determining the first blocked detection result based on the N-1 status identifiers and the first status identifier includes: S51. Determine the number of the N-1 status identifiers and the number of the blocking identifiers in the first status identifier to obtain a first number; S52. When the first quantity is equal to 0, determine that the first occlusion detection result includes the absence of occlusion; S53. When the first quantity is greater than 0 and less than N, it is determined that the first occlusion detection result includes the partial occlusion; S54. When the first quantity is equal to N, determine that the first occlusion detection result includes all occlusions.

[0078] In this embodiment of the application, the number of occlusion flags in N-1 state flags and the first state flag is determined to obtain the first number. Specifically, all state flags can be traversed, and the number of flags whose values ​​are occlusion flags can be counted one by one. The result of the count is the first number.

[0079] When the first quantity is equal to 0, it means that all beams are not blocked, and the first blocking detection result can be determined as no blocking. When the first quantity is greater than 0 and less than N, it indicates that part of the beam is blocked. At this time, the first blocking detection result can be determined as partial blocking. When the first quantity equals N, it means that all beams are blocked, and the first blocking detection result can be determined as complete blocking.

[0080] In this way, by counting the number of occlusion markers in all status markers, the occlusion type can be determined by dividing the intervals. The division logic is clear and the judgment standard is unified. It can accurately distinguish between three working conditions: no occlusion, partial occlusion and complete occlusion. This makes the detection results clearly classified, which facilitates the system to make corresponding responses in the future and improves the overall precision and accuracy of detection.

[0081] S306. When the first blocking detection result includes all blocking, determine the target blocking time difference based on the N second received datasets; if the target blocking time difference is less than or equal to the preset blocking time difference, add the preset value to the value of the target timer; if the target blocking time difference is greater than the preset blocking time difference, reset the value of the target timer to 0.

[0082] In this embodiment, the preset interruption time difference and preset value can both be preset in advance or defaulted.

[0083] In some embodiments, the preset interruption time difference can be 100ms. Of course, other values ​​can also be flexibly selected according to the actual situation.

[0084] In some embodiments, the preset value can be 30ms, but other values ​​can be flexibly selected according to the actual situation.

[0085] In a specific embodiment, when the first blocking detection result includes all blocking, the target blocking time difference is determined based on N second received datasets. Specifically, the earliest and latest acquisition times of the data in the N second received datasets can be determined, and the target blocking time difference is obtained by subtracting the earliest acquisition time from the latest acquisition time.

[0086] If the target interruption time difference is less than or equal to the preset interruption time difference, the target timer value is added to the preset value; if the target interruption time difference is greater than the preset interruption time difference, the target timer value is reset to 0.

[0087] It should be explained that the device status detection process for the beam emitting modules can also be executed periodically. Specifically, according to a preset detection cycle (e.g., daily), the working status of each beam emitting module is checked one by one to determine whether it is in normal working condition; the number of all beam emitting modules currently in normal working condition is counted, and the parameter N is updated in real time to this statistical value, so that the value of N is always equal to the number of currently valid beams.

[0088] Thus, by only initiating the occlusion time difference determination and timer accumulation process when the entire beam is detected to be blocked, invalid interference in partially blocked scenarios can be filtered out at the source. Through the dual mechanism of occlusion time difference threshold filtering and timer accumulation / resetting, it is possible to effectively distinguish between instantaneous complete occlusion (e.g., large birds flying by quickly, large leaves falling) and continuous complete occlusion (e.g., vehicles, pedestrians, and other target objects), avoiding false alarms triggered by instantaneous environmental interference. At the same time, this logic can flexibly adapt to the detection sensitivity requirements of different scenarios by adjusting the preset occlusion time difference and timer accumulation step size, significantly improving the accuracy of alarm determination and the reliability of device operation.

[0089] S307. Obtain the value of the target timer at the end of the second preset time period to obtain the target value; determine the target alarm operation based on the target value and the preset alarm threshold; the target alarm operation includes any one of the following: no operation, minor alarm operation, and major alarm operation.

[0090] In this embodiment, the preset alarm threshold can be preset in advance or set by default.

[0091] In some embodiments, the preset alarm threshold can be 100ms.

[0092] In a specific embodiment, at the end of the second preset time period, the value of the target timer is read to obtain the target value; then, the corresponding target alarm operation can be determined based on the target value and the preset alarm threshold.

[0093] In some embodiments, the step of determining the target alarm operation based on the target value and the preset alarm threshold includes: S61. When the target value is less than the preset alarm threshold, it is determined that the target alarm operation includes the no operation. S62. When the target value is greater than or equal to the preset alarm threshold, determine the target difference between the target value and the preset alarm threshold; determine the target alarm level based on the target difference; and determine the target alarm operation corresponding to the target alarm level.

[0094] In this application embodiment, a minor alarm operation may include at least one of the following: flashing local indicator light, short-term buzzer prompt, uploading simple abnormal records, etc., which are not limited here; a severe alarm operation may include at least one of the following: continuous audible and visual alarm, linkage to on-site snapshot, pushing alarm information to user terminal, activating on-site voice warning, etc., which are not limited here.

[0095] In a specific embodiment, when the target value is less than the preset alarm threshold, it means that the duration of all beams being blocked has not reached the alarm condition. At this time, the target alarm operation can be determined as no operation, that is, no alarm is triggered.

[0096] When the target value is greater than or equal to the preset alarm threshold, the difference between the target value and the preset alarm threshold can be calculated to obtain the target difference. Then, the target alarm level is determined based on the target difference. Specifically, if the target difference is less than or equal to the preset difference, the target alarm level is determined to be a low alarm level; if the target difference is greater than the preset difference, the target alarm level is determined to be a high alarm level. Finally, the target alarm operation corresponding to the target alarm level can be determined. Specifically, when the target alarm level is a low alarm level, the target alarm operation is determined to be a minor alarm operation; when the target alarm level is a high alarm level, the target alarm operation is determined to be a severe alarm operation.

[0097] In this way, by using a preset alarm threshold as the basic judgment boundary, no operation is directly executed when the standard is not met, avoiding unnecessary response; after the standard is met, the difference is further calculated to classify the alarm level and match the corresponding operation to realize graded alarm. This can not only filter short-term interference and reduce false triggering, but also distinguish the warning intensity according to the duration of the blockage, making the warning response more targeted and improving the intelligence and practicality of the device.

[0098] In some embodiments, N=10, see [link / reference] Figure 4 , Figure 4 This is a flowchart illustrating the operation of a multi-beam-based lane warning device according to an embodiment of this application; wherein: N_eff: The current number of valid beams (i.e., the total number of beam transmitting / receiving modules that are working normally, which can be dynamically updated when the equipment fails). When no modules are damaged, N_eff = N; T_sync: Preset occlusion time difference (used to determine whether the occlusion is caused by the same target simultaneously); Δt: Preset value; T_persist: Preset alarm threshold (i.e., the minimum continuous interruption duration required to trigger an alarm); The specific workflow is as follows: S1. Read data from 10 ADC channels and determine 10 status indicators: The device collects analog voltage signals (ADC data) output from 10 beam receiving modules according to a preset scanning cycle; it performs occlusion detection on each ADC data and the corresponding target baseline, generating 10 status indicators (each indicator corresponds to one beam, with a value of "unoccluded indicator" or "occluded indicator").

[0099] S2, Count the number of blocking markers N_block: Iterate through all 10 status flags and count the number of beams with a value of "1", denoted as N_block.

[0100] First-level judgment: Determine whether all effective beams are blocked; Condition for judgment: N_block == N_eff; If the condition is not met (i.e., N_block≠N_eff): it means that only part of the beam is blocked or no beam is blocked, and the alarm precondition is not met. The target timer is reset to zero and the process returns to step S1 to enter the next scanning cycle.

[0101] If (N_block=N_eff): it means that all effective beams have been blocked, proceed to the next step.

[0102] S3. Determine the target blocking time difference T_delta: Calculate the maximum time difference between the times when all valid beams are determined to be blocked, and denote it as the target blocking time difference T_delta.

[0103] Second-level determination: Whether it is a synchronous blockage; Condition for judgment: T_delta ≤ T_sync; If the condition (T_delta>T_sync) is not met, it means that the difference in the blocking time of each beam is too large, which is an asynchronous blocking (e.g., randomly falling debris). The target timer is cleared and the process returns to step S1.

[0104] If (T_delta≤T_sync) is satisfied, it means that the occlusion is a valid occlusion caused by the same target simultaneously, and proceed to the next step.

[0105] S4. The target timer value is T_hold+=Δt (equivalent to T_hold=T_hold+Δt); This step indicates that when all synchronous blocking conditions are met, the continuous timing time will be incremented by a preset value Δt.

[0106] Third-level judgment: Whether the alarm duration has been reached; Condition for judgment: T_hold ≥ T_persist; Not satisfied (T_hold<T_persist): it indicates that the duration of synchronous blocking does not meet the alarm requirement, directly return to S1 to enter the next scanning cycle and continue accumulating timing.

[0107] Satisfied (T_hold≥T_persist): it indicates that the duration of synchronous blocking has reached the alarm standard, and proceed to the next step.

[0108] S5. Trigger alarm output: The device determines the target alarm operation according to T_hold, and executes the target alarm operation (for example, short-time buzzing, continuous acousto-optic alarm, etc.). After the alarm operation is completed, return to S1 to enter the next scanning cycle and continue to perform lane blocking detection.

[0109] In some embodiments, please refer to Figure 5 , Figure 5 is a schematic structural diagram of another multi-beam-based lane alarm device provided in the embodiments of the present application; it can be seen that, in addition to the transmitting column, the receiving column and the control module, the device may further include a communication module; the communication module is configured to implement data interaction between the device and a remote management platform, on-site linkage devices and user terminals. On one hand, it can transmit data such as blocking detection results, alarm information, equipment faults and operating status outward; on the other hand, it can also receive parameter configurations and function control instructions issued remotely, and complete remote debugging, parameter updating and equipment management and control.

[0110] In some embodiments, please refer to Figure 6 , Figure 6 is a schematic structural diagram of still another multi-beam-based lane alarm device provided in the embodiments of the present application; it can be seen that, in addition to the transmitting column, the receiving column, the control module and the communication module, the device may further include an alarm module; the alarm module is configured to receive an alarm instruction issued by the control module, execute a corresponding alarm action according to the alarm instruction, including short-time buzzing, continuous acousto-optic prompting, voice warning, etc., to feed back lane blocking abnormality intuitively to on-site personnel; it remains in a standby state and does not output an alarm signal when there is no alarm instruction.

[0111] Several typical application scenarios of the method are given below: Scenario A: A wild cat passes through the lane: Physical characteristics: the height of the cat is about 25cm and the body width is 15cm, which can only cover light beams 1 and 2 (that is, the lowest two beams, with heights of 15cm and 25cm); Algorithm response: at any time N_block≤2, which is far less than N_eff (default 10), the first-level determination fails, and subsequent steps are directly skipped; Result: No alarm.

[0112] Scenario B: A bird passes through quickly: Physical characteristics: The flight height of birds is usually ≥150cm, with a body size of about 15cm, or they briefly glide obliquely downward through the middle section; Algorithm response: Even if 1 to 3 beams are accidentally blocked, the duration of a single block is <50ms, N_block<N_eff, and the block is released instantly; Result: No alarm triggered.

[0113] Scenario C: Multiple fallen leaves are swept by strong wind and pass through the detection area sequentially: Physical characteristics: The size of a fallen leaf is about 15cm, the wind speed is 5m / s, and the arrival time difference of successive fallen leaves at the grating plane is >200ms; Algorithm response: At any moment, N_block≤2; in an extreme case where multiple leaves "exactly" cover most of the light beams, T_delta, which refers to the arrival time difference from the first leaf to the last leaf, >T_sync, and the second-level judgment fails; Result: No alarm triggered.

[0114] Scenario D: Mottled light spots formed by noon sunlight passing through gaps between stand columns: Physical characteristics: The infrared energy of sunlight is concentrated near several hertz, the energy is far stronger than that of LEDs but the frequency is extremely low; Algorithm response: It is directly filtered out by the 38kHz band-pass filter, the ADC data barely changes, and the status identifier is always 0; Result: No alarm triggered.

[0115] Scenario E: Rising hot air flow on the lane surface in summer: Physical characteristics: Hot air flow is a fatal interference to PIR sensors, and PIR sensors will trigger false alarms repeatedly when the temperature difference between the ground and air is ≥15℃; Algorithm response: The method is not based on infrared radiation but on light path blocking. Hot air flow only causes slight disturbance to air refractive index, resulting in ADC data attenuation of <5%, which is far below the blocking threshold; Result: No alarm triggered.

[0116] Scenario F: A spider spins a web covering the 3rd light beam: Physical characteristics: The spider web continuously blocks the 3rd light beam, the sampling value of the 3rd light beam is lower than the blocking threshold for a long time, and the remaining 9 light beams work normally; Algorithm response: Continuous blocking of a single light beam for >5 minutes triggers self-diagnosis: S111: Identify single-beam fault: the status identifier of the 3rd light beam B3=1, and all other status identifiers are 0 for a continuous duration >5min; S112: Mark L3=FAULT, update the current number of effective light beams: N_eff=10-Fault Count; Fault Count represents the number of beams marked FAULT; S113: Push notification message "Beam 3 needs cleaning, please perform maintenance" to the user terminal; S114: If N_eff < 7, force entry into "maintenance mode", stop reporting and issue an alarm; Results: The single-beam failure was automatically isolated, and the device continued to work effectively with the other 9 beams; the device automatically prompted the user that maintenance was required.

[0117] Scene G: A deliveryman slowly pushes his cart through the driveway. Physical characteristics: The stroller is 80cm high and 60cm wide, and when stacked on a human body, it is 170cm high, covering a total area of ​​0~170cm. Algorithm response: The entire beam enters the grating, 10 beams are blocked simultaneously, T_delta<200ms, T_hold>100ms; Result: Alarm triggered normally (notifying the user that "someone / object has entered").

[0118] Scenario H: Pedestrians walk normally across the lane. Physical characteristics: Adult height 170cm, leg length 85cm, maximum stride between legs 80cm when walking, lowest beam (15cm high) located near the ankle; Geometric analysis: During the stride of both legs during walking, the first or second beam of light will pass through the gap between the legs, and B1 and B2 are intermittently 0; Algorithm response: N_block fluctuates between 8 and 10, and cannot stably satisfy N_block = N_eff, T_hold is repeatedly cleared to zero; Result (device in default mode): No alarm for pedestrians (only alarm for vehicles); Result (device in security mode): Users can switch the device's working mode on the terminal, adjusting the target blocking coefficient to 0.5 and the N_block requirement to 0.7×N_eff (7 beams). At this time, people will also trigger the system, meeting the nighttime deployment requirements.

[0119] S308. Execute the target alarm operation.

[0120] In this embodiment of the application, the device is controlled to perform a target alarm operation; for example, if the target alarm operation is a short-term buzzer prompt, the buzzer built into the device is activated and emits a prompt sound for a set duration (e.g., 30s) to complete the corresponding alarm action.

[0121] In summary, this method first acquires a first received dataset and determines a target baseline to complete the benchmark calibration for the unobstructed state, eliminating initial deviations between the device and the environment and improving the accuracy of the detection benchmark. Second, it acquires a second received dataset according to a preset scanning cycle and performs obstruction detection in conjunction with the target baseline, accurately distinguishing between full obstruction, partial obstruction, and unobstructed states, avoiding misjudgment based on a single signal. Third, it calculates the obstruction time difference when there is full obstruction and accumulates or resets the target timer to effectively distinguish between instantaneous interference and the real target, filtering out short-term abnormal obstructions. Finally, it determines and executes an alarm operation based on the target timer value and a preset alarm threshold, achieving reliable triggering, avoiding false alarms and missed alarms, thereby improving the detection accuracy of lane alarms.

[0122] Please see Figure 7 , Figure 7 This is a schematic diagram of a lane alarm system provided in an embodiment of this application, applied to the control module of the multi-beam-based lane alarm device described in the above embodiment. The lane alarm system 700 includes: a control unit 701, an acquisition unit 702, an interruption detection unit 703, and an alarm unit 704; wherein: Control unit 701 is used to control the N beam emitting modules to emit the N beams using a preset control algorithm; The acquisition unit 702 is used to acquire N first receiving datasets corresponding to the N beam receiving modules within a first preset time period; each first receiving dataset corresponds to one beam receiving module. Control unit 701 is also configured to determine N target baselines based on the N first received datasets; The acquisition unit 702 is also used to initialize the target timer to 0 during the second preset time period, and acquire N second receiving datasets corresponding to the N beam receiving modules after each preset scanning cycle; each second receiving dataset corresponds to one beam receiving module; the start time of the second preset time period is later than the end time of the first preset time period. The occlusion detection unit 703 is used to perform occlusion detection based on the N second received datasets and the N target baselines to obtain a first occlusion detection result; the first occlusion detection result includes any of the following: complete occlusion, partial occlusion, and no occlusion. Alarm unit 704 is configured to: determine a target interruption time difference based on the N second received datasets when the first interruption detection result includes all interruptions; if the target interruption time difference is less than or equal to a preset interruption time difference, add a preset value to the value of the target timer; if the target interruption time difference is greater than the preset interruption time difference, reset the value of the target timer to 0; obtain the value of the target timer at the end of the second preset time period to obtain a target value; determine a target alarm operation based on the target value and a preset alarm threshold; the target alarm operation includes any of the following: no operation, minor alarm operation, or major alarm operation; and execute the target alarm operation.

[0123] In specific implementations, the lane alarm system 700 described in the embodiments of the present invention can also execute other implementations described in the lane alarm method provided in the embodiments of the present invention, which will not be repeated here.

[0124] Please see Figure 8 , Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application, applied to the control module of the multi-beam-based lane alarm device described in the above embodiment; the electronic device may include a processor, a memory, a communication interface, and one or more programs, the processor, memory, and communication interface being interconnected via a bus; the one or more programs are stored in the memory and configured to be executed by the processor; in this embodiment, the program includes all or part of the steps for performing the lane alarm method described in the above embodiment.

[0125] The processor can be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, cells, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The communication unit can be a communication interface, transceiver, transceiver circuit, etc., and the storage unit can be a memory.

[0126] The memory can be volatile or non-volatile, or a combination of both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), used as an external cache. By way of example, but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced synchronous DRAM (ESDRAM), synchronous linked DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0127] It is understood that electronic devices may include more or fewer structural elements than those shown in the above block diagram, such as power modules, physical buttons, Wi-Fi modules, speakers, Bluetooth modules, sensors, display modules, etc., without limitation.

[0128] This application also provides a computer-readable storage medium storing a computer program for electronic data interchange, which causes a computer to perform some or all of the steps of any of the methods described in the above method embodiments, wherein the computer includes an electronic device.

[0129] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods described in the above method embodiments. The computer program product may be a software installation package, and the computer may include an electronic device.

[0130] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0131] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0132] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.

[0133] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0134] The steps of the methods or algorithms described in the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in RAM, flash memory, ROM, EPROM, electrically erasable programmable read-only memory (EEPROM), registers, hard disk, portable hard disk, read-only optical disk (CD-ROM), or any other form of storage medium well known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and storage medium can reside in an ASIC. Furthermore, the ASIC can reside in a terminal device or management device. Alternatively, the processor and storage medium can exist as discrete components in the terminal device or management device.

[0135] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in the embodiments of this application can be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, in the form of a computer program product. This computer program product includes one or more computer instructions. When these computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated.

[0136] The aforementioned computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media.

[0137] The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital video discs (DVDs)), or semiconductor media (e.g., solid-state disks (SSDs)).

[0138] The modules / units included in the various devices and products described in the above embodiments can be software modules / units, hardware modules / units, or a combination of both. For example, for devices and products applied to or integrated into a chip, all modules / units can be implemented using hardware methods such as circuits, or at least some modules / units can be implemented using software programs that run on a processor integrated within the chip, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits. For devices and products applied to or integrated into a chip module, all modules / units can be implemented using hardware methods such as circuits. Different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components of the chip module, or at least some modules / units can be implemented using hardware methods such as circuits. The implementation is achieved through a software program that runs on the processor integrated within the chip module. The remaining modules / units (if any) can be implemented using hardware methods such as circuits. For various devices and products applied to or integrated into terminal equipment, each of their modules / units can be implemented using hardware methods such as circuits. Different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components within the terminal equipment. Alternatively, at least some modules / units can be implemented through a software program that runs on the processor integrated within the terminal equipment, while the remaining modules / units (if any) can be implemented using hardware methods such as circuits.

[0139] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the embodiments of this application. It should be understood that the above descriptions are merely specific embodiments of the embodiments of this application and are not intended to limit the protection scope of the embodiments of this application. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solutions of the embodiments of this application should be included within the protection scope of the embodiments of this application.

Claims

1. A lane warning method, characterized in that, A control module is applied to a multi-beam-based lane warning device. The device includes: a transmitting column, a receiving column, and the control module; the transmitting column includes N beam transmitting modules; the receiving column includes N beam receiving modules; N is a positive integer greater than 1; the method includes: A preset control algorithm is used to control the N beam emission modules to emit the N beams; Within a first preset time period, acquire N first receiving datasets corresponding to the N beam receiving modules; each first receiving dataset corresponds to one beam receiving module; N target baselines are determined based on the N first received datasets; During the second preset time period, the target timer is initialized to 0. After each preset scanning cycle, N second receiving datasets corresponding to the N beam receiving modules are acquired. Each second receiving dataset corresponds to one beam receiving module. The start time of the second preset time period is later than the end time of the first preset time period. Based on the N second received datasets and the N target baselines, occlusion detection is performed to obtain a first occlusion detection result; the first occlusion detection result includes any of the following: complete occlusion, partial occlusion, and no occlusion. When the first blocking detection result includes all blocking, the target blocking time difference is determined based on the N second received datasets; if the target blocking time difference is less than or equal to the preset blocking time difference, the value of the target timer is added to the preset value; if the target blocking time difference is greater than the preset blocking time difference, the value of the target timer is reset to 0. Obtain the value of the target timer at the end of the second preset time period to obtain the target value; determine the target alarm operation based on the target value and the preset alarm threshold; the target alarm operation includes any of the following: no operation, minor alarm operation, and major alarm operation; Execute the target alarm operation; The step of determining N target baselines based on the N first received datasets includes: Determine the N first average received amplitude values ​​corresponding to the N first received datasets; N reference baselines are determined based on the N first average received amplitudes; Obtain N third receiving datasets corresponding to the N beam receiving modules within a third preset time period; each third receiving dataset corresponds to one beam receiving module; the start time of the third preset time period is later than the end time of the first preset time period; Determine the N second average received amplitude values ​​corresponding to the N third received datasets; The N target baselines are determined based on the N second average received amplitudes, the N reference baselines, the first preset coefficient, the second preset coefficient, and the first preset baseline update formula; the first preset baseline update formula is as follows: ; in, Represents the first time at time t There are target baselines, where t represents time; i =1, 2, 3, ..., N; express The first moment The target baseline, that is, the first target baseline. One reference baseline; This indicates the duration of the third preset time period; This represents the first preset coefficient; This represents the second preset coefficient; Indicates the third preset time period. The average received amplitude of the nth beam receiving module, that is, the nth beam receiving module The second average received amplitude.

2. The method as described in claim 1, characterized in that, The preset control algorithm includes the TDM time-division polling algorithm; The method of controlling the N beam emitting modules to emit the N beams using a preset control algorithm includes: The preset scanning period is divided equally into N time slots; each time slot corresponds to a beam emission module. In the first time slot of the N time slots, the first beam emitting module corresponding to the first time slot in the N beam emitting modules is determined; the first beam emitting module is controlled to output the first beam in a preset modulation mode, and at the same time, the N-1 beam emitting modules other than the first beam emitting module in the N beam emitting modules are controlled to be in a closed state; wherein, the first time slot is any time slot of the N time slots.

3. The method as described in claim 1 or 2, characterized in that, The step of performing occlusion detection based on the N second received datasets and the N target baselines to obtain a first occlusion detection result includes: Obtain the target second received dataset and its corresponding first target baseline; the target second received dataset is any one of N second received datasets; the first target baseline is the baseline among the N target baselines that corresponds to the target second received dataset; Determine the target average received amplitude corresponding to the target second received dataset; Obtain the target occlusion coefficient; Based on the target blocking coefficient, the target average received amplitude, and the first target baseline, determine the first state identifier corresponding to the target second received dataset; Obtain N-1 status identifiers corresponding to N-1 second received datasets other than the target second received dataset from the N second received datasets; The first occlusion detection result is determined based on the N-1 state identifiers and the first state identifier.

4. The method as described in claim 3, characterized in that, The process of obtaining the target occlusion coefficient includes: Get the preset blocking coefficient; Obtain the N received amplitude values ​​and N current status identifiers corresponding to the N beam receiving modules at the current moment; The global amplitude ratio is determined based on the N received amplitudes and the N target baselines; When the N current state identifiers and the global amplitude ratio meet a first preset condition, the system enters a severe weather mode; the N target baselines are updated according to the global amplitude ratio, and a target optimization factor corresponding to the severe weather mode is determined; the preset blocking coefficient is optimized according to the target optimization factor to obtain the target blocking coefficient. When the ratio of the N current state identifiers and the global amplitude does not meet the first preset condition, the target blocking coefficient is determined according to the preset blocking coefficient.

5. The method as described in claim 3, characterized in that, Each status flag includes any of the following: unblocked flag, blocked flag; The step of determining the first occlusion detection result based on the N-1 state identifiers and the first state identifier includes: Determine the number of the N-1 status identifiers and the number of the blocking identifiers in the first status identifier to obtain the first quantity; When the first quantity is equal to 0, it is determined that the first occlusion detection result includes the absence of occlusion; When the first quantity is greater than 0 and less than N, it is determined that the first occlusion detection result includes the partial occlusion; When the first quantity equals N, it is determined that the first occlusion detection result includes all occlusions.

6. The method as described in claim 1 or 2, characterized in that, The step of determining the target alarm operation based on the target value and the preset alarm threshold includes: When the target value is less than the preset alarm threshold, it is determined that the target alarm operation includes no operation; When the target value is greater than or equal to the preset alarm threshold, a target difference between the target value and the preset alarm threshold is determined; a target alarm level is determined based on the target difference; and the target alarm operation corresponding to the target alarm level is determined.

7. A lane warning device based on multi-beam technology, characterized in that, The apparatus is used to perform the method as described in any one of claims 1-6.

8. An electronic device, characterized in that, include: Processor, memory, communication interface, and one or more programs; The one or more programs are stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps of the method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, A computer program for storing electronic data interchange is provided, wherein the computer program causes a computer to perform the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Shielding trend identification analysis method and system

    CN122223843A

  • Sensing device for vehicle and detecting device for number or axles

    JP2002056492A