A burst signal detection method, system, device, medium and program product
By employing a statistical judgment strategy based on multi-level amplitude thresholds and sliding windows, the problems of burst signal detection delay and false alarm interference in low-power communication systems are solved, achieving efficient and accurate detection under complex link conditions and reducing the probability of false wake-up.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-22
- Publication Date
- 2026-03-27
AI Technical Summary
Existing burst signal detection schemes in low-power communication systems suffer from problems such as large detection delays, easy misjudgment of glitches and interference, and difficulty in adapting to complex changes in link conditions.
A multi-level amplitude threshold step-by-step judgment mechanism combined with a sliding window statistical judgment strategy is adopted. By using the sliding window-based statistical judgment during the step-by-step judgment process, the advancement or termination of the detection process is dynamically controlled, the change process of the signal from weak to strong is identified, and the trend of effective signal is identified during the detection process, thereby reducing detection delay.
It improves the accuracy and reliability of burst signal detection, reduces the false wake-up probability of low-power systems, and maintains the stable operation and energy efficiency of the system.
Smart Images

Figure CN121568200B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication signal detection, and in particular to a burst signal detection method, system, device, medium and program product. BACKGROUND
[0002] With the development of low-power communication technology, the energy-efficient Ethernet system defined according to the IEEE 802.3 Clause 78 protocol has become an important technical solution for reducing the overall energy consumption of network devices. In such a system, when the network traffic is low or in an idle state, the physical layer device usually enters a low-power idle mode (LPI) to turn off part of the signal processing circuit to reduce power consumption; when the opposite end device sends a wake-up signal or other burst signal, the local device needs to detect the burst signal in time and quickly exit the LPI mode to restore normal signal processing capability.
[0003] Currently, the burst signal detection in the low-power system usually adopts a fixed threshold comparison mechanism, that is, a fixed signal amplitude threshold is preset, and when the received signal amplitude exceeds the threshold, it is determined as an effective burst signal and triggers the low-power mode exit. The implementation of this scheme is relatively simple and easy to implement in hardware circuit or firmware logic, so it is widely used in existing low-power communication devices.
[0004] Firstly, the burst signal sent by the opposite end device is easily affected by factors such as link attenuation, noise interference, etc. in the transmission link, so that the signal amplitude detected by the receiving end usually presents a gradual change characteristic of gradually rising, that is, in the initial stage of the burst signal, its amplitude may be low, even lower than the fixed threshold setting value, and only gradually rises to the normal level as the transmission process continues. In this case, if only the fixed threshold is used for judgment, the initial stage of the burst signal is likely to be missed, resulting in increased detection delay and difficulty in meeting the requirements of the IEEE 802.3 Clause 78 protocol for LPI mode wake-up delay.
[0005] Secondly, in the low-power mode, the physical layer circuit is in a partially closed or low-active state, and the receiving end is more susceptible to electromagnetic interference, link noise or transient fluctuations, producing interference signals with short duration and unstable amplitude, i.e. glitch signals. Such glitch signals may exceed the fixed threshold in terms of instantaneous amplitude, and the existing fixed threshold detection scheme cannot effectively distinguish them, which may misjudge the glitch signal as an effective burst signal and trigger the device to exit the low-power mode incorrectly. False triggering not only introduces additional power consumption, but also may cause abnormal link state, affecting the overall operation stability of the system.
[0006] In addition, the prior art attempts to improve the detection sensitivity of weak burst signals by reducing the fixed threshold, but this way further amplifies the influence of noise and interference, significantly increasing the misjudgment probability of glitch signals; and if the detection time window is prolonged to suppress glitch signals, the detection speed of burst signals will inevitably be sacrificed, resulting in a prolonged system response time. Therefore, the existing scheme forms a contradiction between detection sensitivity, anti-interference ability and detection speed, which is difficult to balance, and it is difficult to meet the dual requirements of fast wake-up and low-power maintenance of low-power systems.
[0007] In summary, the burst signal detection scheme in the existing low-power communication system generally has problems such as large detection delay, easy misjudgment of glitch interference, and difficulty in adapting to changes in complex link conditions, and there is still room for further improvement. SUMMARY
[0008] In view of the deficiencies of the prior art, the present application provides a burst signal detection method, system, device, medium and program product, at least to solve the problems of poor adaptability to amplitude gradual change signals, insufficient anti-interference ability and easy detection delay and misjudgment of the existing burst signal detection method.
[0009] To achieve the above-mentioned purpose and other advantages, some embodiments of the present application provide the following aspects:
[0010] In a first aspect, some embodiments of the present application provide a burst signal detection method, comprising:
[0011] obtaining signal sample values in a communication link, the signal sample values forming a signal sample sequence for detection in the order of sampling time;
[0012] Based on the signal sample sequence, a multi-stage amplitude threshold is determined according to a preset multi-stage amplitude threshold, and in the process of the multi-stage determination, when the determination condition of the current stage amplitude threshold is met, the statistical determination based on the sliding window is performed on the signal sample sequence, and according to the statistical determination result corresponding to each stage amplitude threshold, the progress or termination of the multi-stage determination process is controlled, wherein the multi-stage amplitude threshold corresponds to different amplitude stages in the process of signal from weak to strong change;
[0013] When the signal sample sequence passes through the multi-stage determination corresponding to the multi-stage amplitude threshold in turn, and completes the statistical determination corresponding to the highest stage amplitude threshold, a burst signal is generated to trigger the system state switching;
[0014] In the process of the multi-stage determination, when the statistical determination corresponding to any stage amplitude threshold does not meet the determination condition of the current stage amplitude threshold, the input signal corresponding to the signal sample sequence is determined as an interference signal, the current detection process is terminated, and the monitoring of the signal sample values in the communication link is continued.
[0015] In a second aspect, some embodiments of the present application provide a burst signal detection system, comprising:
[0016] a sampling module configured to obtain signal sample values from a communication link and form a signal sample sequence for detection according to a sampling time sequence;
[0017] a step-by-step determination module configured to perform step-by-step determination on the signal sample sequence according to a plurality of preset amplitude thresholds, wherein the plurality of amplitude thresholds correspond to different amplitude stages in a signal amplitude variation process from weak to strong;
[0018] a sliding window statistics module configured to perform statistics determination based on a sliding window on the signal sample sequence when a determination condition of a current amplitude threshold is met during the step-by-step determination, and output a corresponding statistics determination result;
[0019] a state control module configured to control a progress or termination of the step-by-step determination according to the statistics determination result corresponding to each amplitude threshold;
[0020] wherein, when the signal sample sequence sequentially passes through the step-by-step determination corresponding to the plurality of amplitude thresholds and completes the statistics determination corresponding to the highest amplitude threshold, the state control module generates a burst signal detection result for triggering a system state switching;
[0021] and, when the statistics determination corresponding to any amplitude threshold does not meet the determination condition of the current amplitude threshold during the step-by-step determination, the state control module determines that an input signal corresponding to the signal sample sequence is an interference signal, terminates a current detection process, and controls the sampling module to continue monitoring the signal sample values in the communication link.
[0022] In a third aspect, some embodiments of the present application further provide an electronic device, comprising:
[0023] one or more processors; and a memory storing computer program instructions which, when executed, cause the processor to perform the burst signal detection method as described in any of the above.
[0024] In a fourth aspect, some embodiments of the present application further provide a computer readable storage medium having stored thereon computer programs and / or instructions which, when executed by a processor, implement the burst signal detection method as described in any of the above.
[0025] In a fifth aspect, some embodiments of the present application further provide a computer program product comprising computer programs and / or instructions, which, when executed by a processor, implement the burst signal detection method according to any one of the above aspects.
[0026] Compared with the prior art, in the scheme provided by the embodiments of the present application, by introducing a multi-stage amplitude threshold judgment mechanism and combining a statistical judgment strategy based on a sliding window, an effective balance between detection sensitivity, anti-interference ability and response speed is achieved in the burst signal detection process. Instead of relying on a single fixed threshold to make instantaneous judgment on the signal, the scheme performs phased analysis on the change process of the signal from weak to strong based on the time evolution characteristics of the signal sampling sequence, and dynamically controls the advancement or termination of the judgment process at each stage through the sliding window statistical results, so that the effective signal trend can be identified in advance in the case of low initial amplitude or gradual rise of the burst signal, and the detection delay is reduced. At the same time, when the signal only meets the threshold condition in a local or short time, it can be judged as an interference signal in time and the detection process is terminated, so as to avoid false triggering caused by glitch signals. Therefore, the present application can improve the accuracy and reliability of burst signal detection in a complex link attenuation and noise interference environment, reduce the false wake-up probability of a low-power system, and is conducive to maintaining the stable operation and energy efficiency level of the system as a whole. BRIEF DESCRIPTION OF DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other embodiments can be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0028] Figure 1 is a flowchart of a burst signal detection method provided by the embodiments of the present application;
[0029] Figure 2 is a structural schematic diagram of a burst signal detection system provided by the embodiments of the present application;
[0030] Figure 3 is a structural schematic diagram of an electronic device provided by the embodiments of the present application. DETAILED DESCRIPTION
[0031] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0032] Some embodiments of the present application relate to a burst signal detection method, which can be deployed at a receiving end of a communication device supporting low-power operation, such as an Ethernet physical layer receiving link conforming to the low-power mechanism in IEEE 802.3 Clause 78, a receiving link of a low-power wireless transceiver module, or other communication terminals that need to maintain the listening capability in a low-power mode. Referring to Figure 1 The method can include the following steps:
[0033] Step S1: Obtain signal sample values in a communication link, and the signal sample values form a signal sample sequence for detection in a sequence of sampling time.
[0034] When a low-power communication system is in a low-power idle mode, in order to reduce the overall power consumption, the communication device turns off or reduces the working frequency or power supply state of part of unnecessary functional modules, but still retains the input monitoring path of the receiving end to ensure the continuous sensing capability for the state change of the communication link. The receiving end can include an input interface connected to the communication link, a pre-amplification and filtering circuit, a sampling circuit, and a sampling clock generation circuit, wherein the sampling clock generation circuit outputs a sampling clock signal at a preset sampling frequency in the low-power mode, for driving the sampling circuit to periodically sample the input signal of the receiving end.
[0035] In each sampling period, the sampling circuit samples the input signal in the communication link once in amplitude, and converts the analog signal or discrete signal in the continuous time domain into a corresponding digital signal sample value. The signal sample values obtained in each sampling period are arranged in a sequence of sampling time in turn, forming a signal sample sequence for subsequent burst signal detection processing. The signal sample sequence is used to represent the amplitude change process of the input signal in the communication link in a continuous time, and can be output in real time in a streaming manner, or written into a cache unit at the receiving end side first and then called by a subsequent detection module.
[0036] When the local device is in the LPI mode, the peer device sends a burst signal for triggering wake-up through the communication link when it needs to establish or restore normal communication. The burst signal usually has the characteristics of short-time appearance in time and gradual rising change trend from weak to strong in amplitude. By continuously performing the periodic sampling operation in the low-power mode and forming the continuous signal sampling sequence, the receiving end can completely capture the change characteristics of the burst signal in time and amplitude, and provide continuous and reliable sampling data basis for the subsequent multi-level amplitude threshold-based step-by-step determination and sliding window statistical determination.
[0037] Step S2: Based on the signal sampling sequence, the step-by-step determination is performed according to the preset multi-level amplitude threshold. In the step-by-step determination process, when the determination condition of the current level amplitude threshold is met, the statistical determination based on the sliding window is performed on the signal sampling sequence, and the advancement or termination of the step-by-step determination process is controlled according to the statistical determination result corresponding to each level amplitude threshold, wherein the multi-level amplitude threshold corresponds to different amplitude stages in the change process of the signal from weak to strong.
[0038] In a preferred embodiment, the multi-level amplitude threshold includes a plurality of threshold intervals arranged in ascending order of amplitude size, and the threshold interval is used to cover different amplitude ranges of the burst signal in the change process from weak to strong, and each threshold interval is configured according to a preset proportion interval based on the normal amplitude of the burst signal.
[0039] Specifically, since the amplitude of the burst signal is not instantaneously stable at the initial stage, but presents a gradual rising change process, which is affected by factors such as signal source starting characteristics, transmission link attenuation and noise interference. The amplitude range of the burst signal is divided into a plurality of mutually distinguished threshold intervals in the embodiment, so that the detection process can perform corresponding detection determination according to the amplitude stage of the burst signal. Each threshold interval is not set by a fixed absolute amplitude value, but is configured according to a preset proportion relationship based on the reference amplitude level of the burst signal in the normal communication state, so that the multi-level amplitude threshold can adapt to the signal amplitude change characteristics under different communication link conditions.
[0040] In an example embodiment, the normal amplitude of the burst signal can be recorded as a reference amplitude value, and multiple amplitude threshold intervals can be set based on the reference amplitude value, for example: the first threshold interval corresponds to 30%-50% of the reference amplitude value, which is used to represent the weak amplitude stage in the initial stage of the burst signal; the second threshold interval corresponds to 60%-80% of the reference amplitude value, which is used to represent the intermediate stage in the amplitude rising process of the burst signal; the third threshold interval corresponds to 90%-100% of the reference amplitude value, which is used to represent the stage of reaching the effective communication amplitude of the burst signal. It should be noted that the number, proportion range and specific configuration method of the above threshold intervals are only examples, which can be adjusted according to the specific application scene, link characteristics or system design requirements, and the present embodiment does not limit this.
[0041] In other example embodiments, the multi-level amplitude threshold can also include more than three levels of amplitude thresholds, such as a fourth level of amplitude threshold, a fifth level of amplitude threshold, etc., each level of amplitude threshold is also set in ascending order of amplitude size, which is used to further subdivide different change stages of the burst signal in the amplitude rising process.
[0042] It should be noted that the above threshold intervals do not continuously cover the entire amplitude range, but there is an amplitude transition interval between adjacent threshold intervals. The transition interval is used to buffer the fluctuations, jitter or noise disturbances of the burst signal in the amplitude rising process, so as to avoid frequent switching or misjudgment of the detection state when the signal amplitude changes near the threshold critical position.
[0043] In a preferred embodiment, the multi-level amplitude threshold is dynamically updated according to the attenuation state of the communication link, specifically including:
[0044] Step A1: Monitor the change amplitude of the communication link attenuation parameter, and compare the change amplitude with a preset change threshold.
[0045] The communication link attenuation parameter is used to represent the attenuation degree of the signal amplitude of the communication link, which can be understood as the reduction ratio of the received signal amplitude relative to the reference amplitude or the quantized representation of the link loss level on the receiving end side. For example, the link attenuation parameter can be generated by a low-power system link attenuation monitoring circuit, which can calculate the parameter value reflecting the link attenuation degree based on the statistical amplitude, root mean square amplitude, peak amplitude of the received signal or the amplitude measurement result based on the training sequence / calibration sequence of the physical layer. In different implementations, the link attenuation parameter can also use a dimensionless attenuation coefficient, an attenuation amount represented in dB, or a normalized amplitude ratio.
[0046] Since the link attenuation can drift or mutate due to various factors, such as the change of transmission medium and connector contact state, the change of noise caused by the change of electromagnetic environment, or the change of analog front-end operating point during the device switching from low-power mode, etc. These factors can cause the signal amplitude level measured at the receiving end to change relative to the reference amplitude, so that the link attenuation parameter presents fluctuations over time. Since the multi-level amplitude threshold is closely related to the amplitude level of the burst signal, when the link attenuation increases, the sampling amplitude of the same burst signal at the receiving end decreases as a whole, and if the old threshold configuration is still used, it may cause the sampling value of the burst signal in the initial stage or the rising stage to fail to reach the corresponding threshold level, thereby affecting the progress of the step-by-step detection process. On the contrary, when the link attenuation decreases, the sampling amplitude at the receiving end increases as a whole, and if the threshold remains at a lower level, the link noise or transient glitches are more likely to cross the threshold condition, thereby changing the triggering probability of the detection judgment. Therefore, by continuously monitoring the changes of the link attenuation parameter, the amplitude threshold can be updated in time when the link condition changes significantly, so that the multi-level amplitude threshold and the current link condition maintain a consistent constraint relationship.
[0047] The preset change threshold is used to define the normal fluctuation range and significant change range of the link attenuation parameter. When the change amplitude does not exceed the preset change threshold, it is considered that the change of the link attenuation parameter is within the tolerable fluctuation interval, and at this time the threshold update is not triggered, so as to avoid unnecessary disturbance caused by frequent recalculation of the threshold due to small fluctuations; when the change amplitude exceeds the preset change threshold, it is considered that the link attenuation state has changed significantly, and at this time the threshold generation parameter set update and multi-level amplitude threshold recalculation are triggered.
[0048] Step A2: When the change amplitude exceeds the preset change threshold, the update process of the threshold generation parameter set corresponding to the multi-level amplitude threshold is triggered.
[0049] In an exemplary implementation, the link attenuation parameter can be represented as a normalized attenuation coefficient a, whose value range is 0~1, where the smaller a is, the greater the attenuation is. The receiving end obtains the continuous two monitoring results a(t1), a(t2) with a fixed monitoring period, and calculates the change amplitude |a(t2)-a(t1)|; the preset change threshold can be set to 0.1 (corresponding to a change threshold of 10%). When |a(t2)-a(t1)|>0.1, the threshold update process is triggered; when |a(t2)-a(t1)|≤0.1, the current multi-level amplitude threshold remains unchanged. Through the above processing, the threshold update can be triggered when the link attenuation state drifts significantly, and frequent update can be avoided when the link state is stable or only has slight fluctuations.
[0050] It should be noted that when the updating process is triggered, the multi-level amplitude threshold is not directly adjusted one by one, but the threshold generation parameter set used to generate the multi-level amplitude threshold is updated first. The threshold generation parameter set is used to describe the internal relationship and calculation rule between the multi-level amplitude threshold, which can include a proportion parameter for determining the proportional relationship of each level threshold, an amplitude interval parameter for limiting the interval between adjacent thresholds, and a reference amplitude parameter for determining the reference amplitude level. By updating the threshold generation parameter set, the coordinated adjustment of all thresholds can be realized while maintaining the consistency of the hierarchical relationship of the multi-level amplitude threshold. The updating process can be understood as triggering a parameter recalculation process, which can recalculate the multi-level amplitude threshold based on the updated threshold generation parameter set, thereby providing threshold input corresponding to the current link attenuation state for subsequent burst signal level-by-level detection.
[0051] Step A3: determining the multi-level amplitude threshold based on the updated threshold generation parameter set.
[0052] In a preferred embodiment, step A3 specifically includes:
[0053] Step A301: determining a reference amplitude value for representing the reference amplitude level of the burst signal based on the reference amplitude parameter;
[0054] Step A302: performing proportional operation on the reference amplitude value based on the proportion parameter to generate candidate threshold amplitude values corresponding to different amplitude levels;
[0055] Step A303: performing hierarchical constraint processing on the candidate threshold amplitude values based on the amplitude interval parameter to obtain threshold calculation results satisfying the preset hierarchical relationship;
[0056] Step A304: determining the multi-level amplitude threshold based on the threshold calculation results.
[0057] Specifically, the receiving end obtains a continuous signal sampling sequence within a preset statistical window , and calculates a reference amplitude value for representing the reference amplitude level of the burst signal based on the signal sampling sequence .
[0058] The reference amplitude value can be calculated as an average amplitude in an embodiment, which can be represented as:
[0059]
[0060] wherein, is the amplitude value of the i-th sampling point, and N is the number of sampling points participating in the statistics.
[0061] In another embodiment, the reference amplitude value can also be calculated as a root mean square amplitude, which can be represented as:
[0062]
[0063] In the presence of a calibration reference amplitude and a link attenuation parameter , the reference amplitude value can also be calculated from the calibration amplitude and the link attenuation parameter, which can be represented as:
[0064]
[0065] Based on the set of scale parameters , a scale operation is performed on the reference amplitude value to generate a set of candidate threshold amplitude values corresponding to different amplitude levels . Among them, the number of amplitude levels is M, and the index is j=1, 2, …, M.
[0066] The candidate threshold amplitude value can be represented as:
[0067]
[0068] Among them, is the candidate threshold amplitude value of the jth amplitude level, is the scale parameter of the jth amplitude level.
[0069] The amplitude interval parameter is used to compare the candidate threshold amplitude values in order of their corresponding amplitude levels, and when the candidate threshold amplitude values do not satisfy the preset amplitude interval relationship, the corresponding candidate threshold amplitude values are adjusted or modified to ensure that the threshold values corresponding to different amplitude levels maintain an incremental hierarchical relationship in value and avoid overlapping, inversion or too small interval between adjacent threshold values.
[0070] In one embodiment, an absolute amplitude interval parameter is used to constrain the hierarchical constraint processing of the set of candidate threshold amplitude values to output a threshold calculation result that satisfies the preset hierarchical relationship, which can be represented as:
[0071]
[0072] Among them, represents the minimum amplitude interval of the jth amplitude level threshold relative to the ( ) amplitude level threshold .
[0073] In another embodiment, a relative amplitude interval scale parameter is used to constrain, and the hierarchical constraint condition can be represented as:
[0074]
[0075] In further embodiments, the absolute spacing and the relative spacing can be combined into a unified constraint form, for example:
[0076]
[0077] wherein, is a preset minimum absolute amplitude spacing parameter.
[0078] The output threshold calculation result is taken as a multi-level amplitude threshold set for the step-by-step detection, and a final threshold configuration is formed according to the amplitude level index j.
[0079] The multi-level amplitude threshold set can be represented as:
[0080]
[0081] and satisfies the following hierarchical relationship:
[0082]
[0083] By introducing the parameter cascade update and hierarchical constraint calculation mechanism, the multi-level amplitude threshold can be adaptively recalculated at the parameter level when the communication link attenuation state changes, and on the premise of maintaining the stability of the threshold hierarchical relationship, reliable detection of different amplitude stages of the burst signal is realized.
[0084] Through the processing of steps A1-A3, the change amplitude of the communication link attenuation parameter can be continuously monitored, and based on the comparison result of the change amplitude and the preset change threshold, the significant change of the link attenuation state is recognized, and the update processing of the threshold generation parameter set corresponding to the multi-level amplitude threshold is triggered, so that the threshold adjustment process is changed from the one-by-one correction of the single amplitude threshold to the overall update based on the threshold generation rule at the parameter level. Further, based on the updated threshold generation parameter set, the multi-level amplitude threshold is re-determined, so that the generated amplitude thresholds at each level can adapt to the attenuation state of the current communication link in the overall structure, and the hierarchical relationship between the multi-level amplitude thresholds is stable and consistent. Therefore, in the case of changes in the communication link conditions, accurate and effective amplitude judgment criteria can still be provided for the step-by-step detection process of the burst signal.
[0085] In a preferred embodiment, the determination condition of the current level amplitude threshold is used to characterize whether the signal has sufficient persistence in the corresponding amplitude stage, which is determined based on statistical analysis of the signal sample sequence within a preset detection time range. The detection time range can be defined by the system clock cycle and can be configured separately for different amplitude levels, which is used to constrain the minimum duration requirement that the signal needs to meet after entering the corresponding amplitude stage.
[0086] In the detection time range, the number of signal sample values that satisfy the condition of amplitude greater than or equal to the current level amplitude threshold, or the duration of the statistical signal sample value continuously or intermittently remaining above the current level amplitude threshold within the detection time range. When the number of occurrences or the duration reaches the preset number threshold, it is determined that the signal has sufficient persistence in the current amplitude stage, thereby determining that the determination condition of the current level amplitude threshold is met, and triggering the subsequent statistical determination process based on the sliding window. When the determination condition of the current level amplitude threshold is not met, it is determined that the signal does not have the persistence characteristic in the corresponding amplitude stage, and the step-by-step determination process corresponding to the current level amplitude threshold is terminated to avoid misjudging transient fluctuations or glitch interference as valid burst signals.
[0087] In a preferred embodiment, a state machine with state progression and reset control is used to perform step-by-step determination of the preset multi-level amplitude threshold, and the multi-level amplitude threshold is mapped to multiple detection states in the state machine, wherein the detection state corresponding to the lowest level amplitude threshold is the initial detection state.
[0088] In this embodiment, the burst signal detection process is controlled by a state machine, which is used to manage the step-by-step detection process corresponding to the multi-level amplitude threshold. Each detection state in the state machine corresponds to a preset amplitude threshold, which is used to represent different amplitude stages of the signal in the process of changing from weak to strong. When the state machine is in any detection state, the amplitude threshold corresponding to the current detection state is determined, and the statistical determination based on the sliding window is performed on the signal sample sequence for the amplitude threshold to verify the time continuity and stability of the signal in the current amplitude stage.
[0089] After the system is started, the device enters the listening state from the low-power mode, or after a burst signal detection process is completed, the state machine is initialized to the initial detection state. The initial detection state corresponds to the lowest level amplitude threshold, which is used to monitor the weak amplitude change in the initial stage of the burst signal.
[0090] Accordingly, in step S2, statistical determination based on the sliding window is performed on the signal sample sequence, and the step-by-step determination process is controlled to proceed or terminate according to the statistical determination results corresponding to each level amplitude threshold, which specifically includes:
[0091] Step S201: When the state machine is in any detection state, a sliding window based statistical decision is performed on the signal sample sequence for the amplitude threshold corresponding to the current detection state, to obtain a statistical decision result corresponding to the current detection state.
[0092] When the state machine is in any detection state, the amplitude threshold corresponding to the current detection state is determined according to the current detection state, and a sliding window based statistical decision is performed on the signal sample sequence for the amplitude threshold. That is, a sliding window with a preset window length is constructed on the signal sample sequence, so that the sliding window covers the consecutive sampling points of the input signal in the latest time interval. As the sampling time advances, the sliding window continuously moves forward along the signal sample sequence and keeps the window length constant.
[0093] In the sampling interval covered by the sliding window, the signal sample values are statistically analyzed, the distribution of the sample values falling within the amplitude threshold range corresponding to the current detection state is counted, and a statistical decision result corresponding to the current detection state is formed accordingly. The statistical decision result is used to represent whether the signal has sufficient time continuity and stability within the current amplitude threshold range.
[0094] Step S202: When the statistical decision result meets the decision condition corresponding to the current detection state, the state machine is controlled to switch to the detection state corresponding to the next level amplitude threshold.
[0095] When the statistical decision result meets the decision condition corresponding to the current detection state, the state machine is controlled to switch to the detection state corresponding to the next level amplitude threshold. After the state machine completes the state switching, the statistical decision for the current level amplitude threshold is stopped, and the detection condition configuration for the next level amplitude threshold is started, so that the detection process is gradually advanced along the multi-level amplitude thresholds from low to high, to match the gradual rising change process of the amplitude of the burst signal. When the state machine sequentially completes the statistical decision corresponding to each detection state according to the level order of the multi-level amplitude thresholds, and the statistical decision result meets the decision condition corresponding to the detection state at the highest level amplitude threshold, it is determined that the current input signal is a valid burst signal, and a wake-up instruction for triggering system state switching is generated.
[0096] Step S203: When the statistical decision result does not meet the decision condition corresponding to the current detection state, the current level-by-level decision process is terminated, and the state machine is controlled to return to the initial detection state.
[0097] In the detection process, if the statistical determination result fails to meet the determination condition corresponding to the current detection state in any detection state, for example, the signal sample value does not maintain sufficient continuity in the time interval covered by the sliding window, or the proportion of valid sample values is lower than the preset threshold, it is determined that the current detection process fails. At this time, the control state machine returns to the initial detection state and re-monitors the lowest level amplitude threshold to wait for the emergence of a new burst signal.
[0098] In a preferred embodiment, the determination condition corresponding to the current detection state includes:
[0099] In the preset sliding window, the number of signal sample values in the signal sample sequence falling within the amplitude threshold range corresponding to the current detection state is counted;
[0100] The ratio of the number of signal sample values to the length of the sliding window is calculated, and the ratio is compared with the valid signal proportion threshold corresponding to the current detection state;
[0101] When the ratio is greater than or equal to the valid signal proportion threshold, it is determined that the determination condition of the current detection state is met;
[0102] When the ratio is less than the valid signal proportion threshold, it is determined that the determination condition of the current detection state is not met.
[0103] Specifically, in the time interval covered by the preset sliding window, the number of signal sample values in the signal sample sequence whose amplitudes fall within the amplitude threshold range corresponding to the current detection state is counted, and the number of signal sample values is recorded as the valid sample number M. After obtaining the valid sample number M, the ratio of the valid sample number M to the length of the sliding window N is calculated, and the ratio is compared with the valid signal proportion threshold corresponding to the current detection state. When the ratio is greater than or equal to the valid signal proportion threshold, it is determined that the signal has sufficient time continuity and stability in the current amplitude stage, thereby determining that the determination condition corresponding to the current detection state is met; when the ratio is less than the valid signal proportion threshold, it is determined that the signal does not have sufficient continuity in the current amplitude stage, and it is determined that the determination condition corresponding to the current detection state is not met.
[0104] The embodiment can proportionally represent the time continuity and stability of the signal in the current amplitude stage. Compared with the determination method based on single amplitude comparison or fixed number of counts, the determination mechanism can effectively reduce the influence of sampling frequency variation, window length configuration difference on the detection result, and avoid that short glitches or random noise in the local time are misjudged as valid signals. Therefore, by constraining the proportion of the signal in the time dimension, only the signal with sufficient persistence in the time interval covered by the sliding window can pass the determination of the current detection state, thereby improving the accuracy and anti-interference ability of the burst signal detection.
[0105] Through the processing of steps S201-S203, the application adopts multi-stage amplitude threshold step-by-step judgment based on state machine control in the burst signal detection process, and verifies the continuity and stability of the signal in the time dimension in combination with the statistical judgment based on the sliding window, so that the detection process can match the change characteristics of the burst signal amplitude from weak to strong. When the signal fails to maintain sufficient time continuity in any amplitude stage, the detection is terminated in time and falls back to the initial state, thereby effectively suppressing the false judgment of interference signals such as noise and glitches; and when the signal continues to be stable and meets the judgment conditions of each stage in turn, the effective burst signal can be quickly confirmed. Thus, while ensuring the detection sensitivity, the anti-interference ability is improved and the detection response time is shortened, which is conducive to reducing the false wake-up probability of low-power systems.
[0106] In a preferred embodiment, the samples in the sliding window are dynamically updated over time, specifically including:
[0107] Step B101: According to a preset window length, a continuous signal sample value is selected from the signal sample sequence to construct an initial sliding window, and the window length is used to control the number of continuous signal sample values contained in the sliding window during operation.
[0108] According to a preset window length, a continuous signal sample value is selected from the signal sample sequence to construct an initial sliding window, and the window length is used to control the number of continuous signal sample values contained in the sliding window during operation.
[0109] In the initialization stage, a plurality of continuous signal sample values recently acquired from the signal sample sequence are selected in the order of sampling time as the content of the initial sliding window. For example, when the window length is set to N, N continuous signal sample values are selected from the signal sample sequence and written into the sliding window in the order of sampling time, so that the earliest position in the sliding window corresponds to the signal sample value with the earliest time, and the latest position corresponds to the signal sample value with the latest time. Through this sequential data organization method, the sliding window can intuitively reflect the sampling change of the input signal in a continuous time interval.
[0110] Each storage position in the sliding window is used to store a signal sample value, and can also store the sampling order identifier, sampling index or implicit time position information in association, for representing the relative time relationship of the signal sample value in the signal sample sequence. The window length, as a configurable parameter, is used to limit the number of signal sample values in the sliding window, so that the subsequent statistical analysis based on the sliding window is always performed within a unified data range.
[0111] Step B102: When a new signal sample value is obtained in each sampling period, the new signal sample value is added to the sliding window, and the earliest signal sample value in the sliding window is removed synchronously to keep the window length of the sliding window constant.
[0112] After receiving a new signal sample value, the signal sample value is written to the corresponding storage location of the sliding window. The writing operation can be implemented by a shift register structure, that is, the existing signal sample values in the sliding window are moved forward by one storage location in chronological order, and the new signal sample value is written to the end position of the sliding window; or by a ring buffer structure, that is, by updating the write pointer, the new signal sample value is written to the current writing position. Regardless of the implementation, the storage location of the new signal sample value in the sliding window corresponds to its latest time sequence in the signal sample sequence.
[0113] At the same time, in order to keep the window length of the sliding window constant, the earliest signal sample value in the sliding window is removed synchronously when the new signal sample value is added. The removal operation can be implemented by covering the data in the earliest storage location, updating the read pointer, or adjusting the valid data index, so that only a number of continuous signal sample values recently obtained are always retained in the sliding window. Through the synchronous execution of adding and removing, the number of signal sample values contained in the sliding window at any time is consistent with the preset window length, and the operation of adding a new signal sample value and removing the earliest signal sample value is completed in the same sampling period, so as to ensure the continuity and consistency of the content of the sliding window in the time dimension, and avoid the out-of-control of the data scale due to the continuous growth of the signal sample sequence.
[0114] Step B103: The sliding window is continuously moved forward along the sampling time axis, so that the sliding window always covers the continuous signal sample values in the latest time interval.
[0115] With the update operation of the sliding window in step B102, the sliding window continuously moves forward along the sampling time axis in the time dimension with the addition of new signal sample values and the removal of the oldest signal sample values. That is, when a new signal sample value is obtained and the sliding window is updated, the signal sampling time interval covered by the sliding window as a whole is pushed back by one sampling period, so that the sliding window always contains continuous signal sample values of the input signal in the latest time interval. The time advance of the sliding window does not depend on the explicit recording of absolute time stamps for each signal sample value, but implicitly represents the time relationship through the relative storage order of the signal sample values in the sliding window. The earliest position in the sliding window corresponds to the earliest sampling time, and the latest position corresponds to the latest sampling time, so that the sliding window is always logically aligned with the latest position of the sampling time axis. As the sampling period advances, the signal sample value set in the sliding window is continuously updated, and the corresponding time interval also continuously slides. By continuously moving the sliding window along the sampling time axis, the time-varying characteristics of the input signal can be continuously tracked in the low-power mode, avoiding the response lag caused by the static sliding window or the too large time span covered by the sliding window, and facilitating the real-time and stability of signal determination in a complex interference environment.
[0116] In a preferred embodiment, the method further comprises: adaptively configuring the window length of the sliding window, and the adaptive configuration comprises:
[0117] Step B10101: Within a preset statistical time range, based on the statistical analysis result of the sliding window, historical determination data for characterizing the timing characteristics of the input signal are collected.
[0118] In the execution of the foregoing signal statistical determination process based on the sliding window, data related to the determination process is recorded and buffered after each determination process is completed, and the statistical analysis result is output. The historical determination data at least includes: the starting time or time index corresponding to the sliding window, the window length parameter, the number of sampling points participating in the statistics, the number or proportion of the first sampling point in the window, and the final determination result (valid burst signal or interference signal).
[0119] The preset statistical time range is used to limit the collection interval of the historical determination data, which can be configured with a fixed time length, such as the last several milliseconds, several seconds, or several low-power working periods; or a fixed number of sliding window determination times, such as the last several statistical determination results.
[0120] Step B10102: Based on the historical determination data, at least one time statistical parameter for characterizing the timing distribution characteristics of the interference signal is calculated, and the time statistical parameter includes at least one of the interference signal duration, the interference signal occurrence density, and the adjacent interference signal interval.
[0121] The determination records determined as interference signals are screened out from the historical determination data, and distribution of the interference signals on a time axis is sorted and analyzed according to corresponding time indexes or timestamp information. In this embodiment, the time statistical parameters can include at least one of an interference signal duration, an interference signal occurrence density, and an adjacent interference signal interval.
[0122] In one embodiment, when the interference signal duration is calculated, a plurality of sliding windows determined as interference signals successively can be combined, and a length of a time interval in which the interference signals successively exist on the time axis is determined based on a time relationship between adjacent interference signal determination results, so as to obtain the duration parameter reflecting the continuity of the interference signals.
[0123] When the interference signal occurrence density is calculated, a number of times of the interference signal determination results occurring in a preset statistical time range can be counted, and a frequency of the interference signal occurring per unit time is calculated based on a time length of the statistical time range, so as to reflect the intensive degree of the interference signals in the time dimension.
[0124] When the adjacent interference signal interval is calculated, a time interval parameter between adjacent interference signals can be obtained based on a time difference between two adjacent determination records determined as interference signals, so as to represent the discrete distribution characteristics of the interference signals on the time axis.
[0125] In this embodiment, the time statistical parameters can be calculated individually or combined according to actual needs, so as to form a parameter set for comprehensively reflecting the time sequence distribution characteristics of the interference signals.
[0126] Step B10103: calculating a corresponding target window length or window length adjustment amount based on the time statistical parameters.
[0127] The time statistical parameter is taken as a quantitative input reflecting the distribution characteristics of the interference signal in the time dimension, and the time scale of the sliding window is evaluated according to a preset window adjustment strategy. The window adjustment strategy is used to establish the correspondence between the time statistical parameter and the sliding window length, which can be realized in the form of regular configuration, parameter mapping or interval division. For example, when the time statistical parameter indicates that the duration of the interference signal is short, the interval between adjacent interference signals is large or the occurrence density is low, a smaller target window length can be determined, or an adjustment amount for reducing the current window length can be calculated, so that the coverage range of the sliding window on the time axis is more concentrated, thereby improving the response speed to the effective burst signal. On the contrary, when the time statistical parameter indicates that the duration of the interference signal is long, the occurrence density is high or the interval between adjacent interference signals is short, a larger target window length can be determined, or an adjustment amount for increasing the current window length can be calculated, so as to enhance the time coverage ability of the sliding window to the continuous interference signal.
[0128] The target window length can be directly represented as the number of sampling points contained in the sliding window, and the window length adjustment amount can be represented as an incremental value or a decremental value relative to the current window length. In the calculation process, the upper limit value and the lower limit value of the preset window length can also be combined to constrain the calculation result, so as to avoid that the adjustment amplitude of the window length is too large to affect the real-time performance or the stability of the system.
[0129] Step B10104: updating the window length of the sliding window according to the target window length or the window length adjustment amount.
[0130] When the output of step B10103 is the target window length, the target window length is taken as a new window length parameter to replace the window length configuration used by the current sliding window; when the output of step B10103 is the window length adjustment amount, the incremental or decremental update is performed according to the adjustment amount on the basis of the current window length to obtain a new window length parameter. The window length parameter is used to limit the number of continuous sampling points contained in the sliding window during operation.
[0131] In this embodiment, in order to ensure the stability and controllability of the window length updating process, the updated window length can be subjected to boundary constraint processing. For example, the minimum value and the maximum value of the window length can be set in advance, and when the target window length or the adjustment result calculated exceeds the boundary range, it is clipped or limited to prevent the window length from being too small to cause unstable statistical results, or the window length from being too large to introduce too much historical data and reduce the response speed of the determination.
[0132] Step B10105: applying the updated window length to the sliding window statistical analysis process corresponding to the new input signal to be determined.
[0133] When a new input signal to be determined is received, the previous window length configuration is no longer used, and a sliding window is constructed or adjusted based on the updated window length parameter. During the sampling point introduction, removal and window update process, the sliding window determines its coverage on the time axis according to the updated window length, so that the number of continuous sampling points contained in the sliding window matches the timing distribution characteristics of the current interference signal. The updated window length will also directly participate in the subsequent sampling point validity determination, first sampling point statistics, and step-by-step statistical determination process based on the sliding window, so that the observation scale of the sliding window on the input signal in the time dimension dynamically adjusts with the changes in the interference characteristics.
[0134] Through the processing of steps B10101-B10105, the present application can quantitatively analyze the timing distribution characteristics of the interference signal in the input signal based on the historical determination data accumulated in the sliding window statistical determination process, and accordingly adaptively adjust the window length of the sliding window, so that the sliding window matches the persistence, intensity and interval characteristics of the current interference signal in the time scale. Applying the updated window length to the new sliding window statistical analysis process, the system can dynamically adjust the determination observation range when the timing characteristics of the interference signal change, improve the filtering ability of continuous or intensive interference signals without significantly increasing the computational complexity and power consumption, and avoid determination delay or misjudgment caused by fixed window length.
[0135] In a preferred embodiment, the method further comprises adaptive optimization adjustment based on the interference signal, specifically including:
[0136] Step C101: In a preset statistical time range, collect sampling points determined as interference signals in multiple statistical determination processes.
[0137] During the method operation, the determination results generated by each statistical determination based on the sliding window are monitored. When the final output result of a statistical determination is an interference signal, for example, when the valid signal proportion threshold is not met in the statistical determination corresponding to the highest amplitude threshold, or when the determination condition for entering the next level amplitude threshold is not met in the statistical determination corresponding to the intermediate level amplitude threshold and is terminated in advance, the signal sampling values in the sliding window related to this determination are written into the interference sample buffer area as the sample source for subsequent adaptive optimization adjustment.
[0138] The preset statistical time range is used to limit the collection time span or sample size of the interference samples, so as to avoid unlimited increase of the sample quantity. For example, the statistical time range can be set as the last T seconds, the last Q times of statistical determination period or the last R times of sliding window update period; the interference samples falling within the statistical time range are managed uniformly in time sequence or determination sequence number, and the oldest interference sample is discarded by using an overlay update strategy when the range is exceeded, so that the collected samples can reflect the interference signal characteristics in the current stage.
[0139] The sampling points determined as interference signals can include all signal sampling values participating in the statistical determination in the sliding window, or include a sampling value set not satisfying any level of amplitude threshold determination condition; in some implementation manners, the amplitude interval identifier, sliding window position index or determination stage information corresponding to the sampling value can also be recorded synchronously to support subsequent multi-dimensional statistical analysis.
[0140] Step C102: based on the sampling points determined as interference signals, at least one statistical characteristic parameter for characterizing the interference signal characteristics is calculated, and the statistical characteristic parameter includes at least one of an amplitude distribution parameter, an occurrence frequency parameter and a time density parameter.
[0141] The interference samples collected in step C101 are taken as input, and the distribution characteristics of the interference sampling points in the amplitude dimension and the time dimension are statistically analyzed, so that at least one statistical characteristic parameter for characterizing the interference signal behavior characteristics is calculated. The statistical characteristic parameter is used to reflect the typical amplitude range of the interference signal, the occurrence frequency and the distribution density on the time axis.
[0142] The amplitude distribution parameter is calculated to describe the overall distribution form of the interference signal on the amplitude axis. The amplitude distribution parameter can be calculated in the following manner, for example, the amplitude values of the interference sampling points are segmented and counted or interval histogram statistics are performed to obtain the occurrence proportion of the interference sampling points in different amplitude intervals; or the statistical quantities such as mean value, variance and quantile of the interference sampling points are calculated to reflect the typical amplitude level and the dispersion degree of the interference signal. Through the amplitude distribution parameter, it can be judged whether the interference signal is mainly concentrated in the low amplitude interval or frequently approaches a certain amplitude threshold boundary, so as to reveal the potential influence of the interference signal on the amplitude determination.
[0143] The occurrence frequency parameter is calculated, the number of sliding windows determined as interference signals in the preset statistical time range is counted, or the number of occurrences of the interference sampling points in a unit time is counted, so that the occurrence frequency index of the interference signal is obtained. The occurrence frequency parameter can reflect the activity degree of the current interference environment, and is used to distinguish between incidental interference and persistent interference.
[0144] The time density parameter can be calculated to statistically determine the continuous distribution of the interference sampling points in the sliding window, for example, the time interval between adjacent interference sampling points, the concentration of the interference sampling points in a single sliding window, or the overlapping degree of the interference sampling points in multiple adjacent windows. Through the time density parameter, the aggregation or dispersion characteristics of the interference signal on the time axis are described.
[0145] Step C103: Based on the statistical feature parameters, a parameter model for characterizing the interference characteristics is constructed.
[0146] The statistical feature parameters are taken as model inputs, which are organized, fused, and normalized to eliminate the differences in dimensions, value ranges, or statistical periods of different statistical features. In an implementation, the amplitude distribution parameter, the occurrence frequency parameter, and the time density parameter can be standardized respectively, and fused according to a preset weight relationship or combination rule to form a feature vector or parameter set for comprehensively characterizing the interference characteristics.
[0147] The parameter model can be constructed in a hierarchical or segmented structure. For example, an amplitude characteristic sub-model, a time characteristic sub-model, and a frequency characteristic sub-model can be constructed respectively, and the outputs of the sub-models are integrated through a preset association rule or mapping relationship to obtain a comprehensive parameter model for characterizing the current interference characteristics. The model structure can be any of a rule model, a statistical model, or a weighted model.
[0148] The parameter model does not directly participate in the valid burst signal determination of the input signal, but is used to reflect the overall behavior characteristics and variation trend of the interference signal in the current statistical time range. By constructing the above parameter model, the discrete statistical feature parameters can be converted into an overall semantic interference characteristic description, providing a unified and stable reference basis for determining the adjustment direction and adjustment amplitude of the valid signal proportion threshold.
[0149] Step C104: Based on the parameter model, the adjustment amount of the valid signal proportion threshold is determined.
[0150] According to the interference characteristics reflected by the parameter model, the direction and amplitude of adjusting the current valid signal proportion threshold are determined. For example, when the parameter model characterizes the interference signal in the sliding window as having high density and high frequency characteristics, the valid signal proportion threshold is determined to be adjusted upward to increase the strictness of the burst signal determination; when the parameter model characterizes the interference signal as having a reduced occurrence frequency or a dispersed amplitude distribution, the valid signal proportion threshold is determined to be adjusted downward to avoid missing real burst signals due to an excessively high threshold setting.
[0151] The adjustment amount of the valid signal proportion threshold value can be expressed as an increment or decrement relative to the current threshold value and is limited within a preset adjustment range to prevent the threshold value from changing drastically in a short time and affecting the stability of the determination.
[0152] Step C105: Apply the adjusted valid signal proportion threshold value to the sliding window statistical analysis process corresponding to the new signal sample sequence to be determined to reduce the probability of misjudging the interference signal as an effective burst signal.
[0153] After completing the adjustment of the valid signal proportion threshold value, the adjusted valid signal proportion threshold value is updated to the threshold configuration unit or parameter storage unit used for burst signal determination. When a new input signal to be determined is received and the corresponding sliding window is constructed, the updated valid signal proportion threshold value is called as the basis for determination in the statistical analysis and step-by-step determination process based on the sliding window, and the threshold value before adjustment is no longer used.
[0154] Through the processing of steps C101-C105, an adaptive optimization mechanism for interference signal characteristics is introduced in the burst signal detection process based on sliding window statistical determination, so that the valid signal proportion threshold value can be dynamically adjusted according to the actual interference behavior in the historical determination process. The adjusted threshold value is applied to the new sliding window statistical analysis process, so that the burst signal determination standard can be updated adaptively with the change of the interference environment, thereby effectively suppressing the false wake-up caused by the change of interference characteristics without reducing the detection ability of the real burst signal.
[0155] Step S3: When the signal sample sequence passes through the step-by-step determination corresponding to the multiple amplitude threshold values in sequence and completes the statistical determination corresponding to the highest amplitude threshold value, a burst signal is generated to trigger the system state switching.
[0156] In the step-by-step determination process, the signal sample sequence satisfies the determination conditions corresponding to each amplitude threshold value in the order of amplitude change from weak to strong, and completes the statistical determination based on the sliding window at each amplitude threshold value. When the signal sample value in the sliding window satisfies the preset valid signal proportion threshold value in the statistical determination corresponding to the highest amplitude threshold value, it is determined that the signal has sufficient continuity and stability in both amplitude and time dimensions, so that the input signal corresponding to the current signal sample sequence is determined as an effective burst signal.
[0157] After determining to generate the burst signal, a corresponding trigger instruction can be outputted for triggering the system state switching. For example, in a low-power running scenario, the burst signal is used to trigger the system to switch from a low-power state to a normal working state, so as to restore the data transmission of the communication link or perform subsequent service processing. By generating the burst signal only after completing the statistical determination corresponding to the highest level amplitude threshold, it can be ensured that the determination result of the burst signal is based on complete step-by-step determination and statistical verification, thereby avoiding premature triggering of system state switching due to local rising or short-term fluctuation of the signal.
[0158] Step S4: In the step-by-step determination process, when the statistical determination corresponding to any level amplitude threshold does not satisfy the determination condition of the current level amplitude threshold, the input signal corresponding to the signal sample sequence is determined as an interference signal, the current detection process is terminated, and the monitoring of the signal sample value in the communication link is continued.
[0159] After entering the determination stage corresponding to a certain current level amplitude threshold, the signal sample sequence is constrained in a preset detection time range, the occurrence number of the signal sample value satisfying the amplitude greater than or equal to the current level amplitude threshold is counted in the detection time range, or the duration of the signal sample value remaining above the current level amplitude threshold is counted in the detection time range, and the occurrence number or the duration is compared with a preset number threshold. When the occurrence number or the duration is less than the number threshold, it is determined that the determination condition of the current level amplitude threshold is not satisfied, indicating that the signal does not have the required minimum persistence characteristic in this amplitude stage.
[0160] After determining that the determination condition of the current level amplitude threshold is not satisfied, it is determined that the input signal corresponding to the current signal sample sequence is an interference signal, for example, a non-persistent signal change caused by a glitch, transient noise or short-term amplitude fluctuation, and the step-by-step determination process corresponding to the current level amplitude threshold is terminated, without entering the determination stage of a higher level amplitude threshold or triggering the subsequent statistical determination process based on the sliding window. Subsequently, the detection process returns to the initial monitoring state, and the monitoring of the signal sample value in the communication link is continued, so as to wait for a subsequent new signal sample sequence to enter the determination process.
[0161] In summary, the burst signal detection method provided by the embodiments of the present application realizes effective balance among detection sensitivity, anti-interference capability and response speed in the burst signal detection process by introducing a step-by-step judgment mechanism of multiple amplitude thresholds and combining a statistical judgment strategy based on a sliding window. Instead of instantaneously judging the signal by a single fixed threshold, the signal change process from weak to strong is analyzed in stages based on the time evolution characteristics of the signal sampling sequence, and the judgment process is dynamically controlled to proceed or terminate by the sliding window statistical results at each stage, so that the effective signal trend can be identified in advance in the case of low initial amplitude or gradual increase of the burst signal, and the detection delay is reduced. At the same time, when the signal only meets the threshold condition in a local or short time, it can be judged as an interference signal in time and the detection process is terminated, so as to avoid false triggering caused by glitch signals. Therefore, the present application can improve the accuracy and reliability of burst signal detection in a complex link attenuation and noise interference environment, reduce the false wake-up probability of a low-power system, and is conducive to maintaining the stable operation and energy efficiency of the system as a whole.
[0162] The step division of the above methods is only for the purpose of clear description, and in implementation, one step can be combined or some steps can be split and decomposed into multiple steps, as long as the same logical relationship is included, and all are within the protection scope of the present application; adding insignificant modifications or introducing insignificant designs in the algorithm or flow, but not changing the core design of the algorithm and flow, are within the protection scope of the present application.
[0163] Some embodiments of the present application also relate to a burst signal detection system, referring to FIG. 1, which comprises: Figure 2
[0164] A sampling module is configured to obtain signal sampling values from a communication link and form a signal sampling sequence for detection according to the sampling time sequence of the signal sampling values;
[0165] A step-by-step judgment module is configured to perform step-by-step judgment on the signal sampling sequence according to a preset multi-level amplitude threshold based on the signal sampling sequence, wherein the multi-level amplitude threshold corresponds to different amplitude stages in the signal change process from weak to strong;
[0166] A sliding window statistical module is configured to perform statistical judgment based on a sliding window on the signal sampling sequence and output corresponding statistical judgment results when the judgment condition of the current level amplitude threshold is met in the step-by-step judgment process;
[0167] A state control module is configured to control the advancement or termination of the step-by-step judgment process according to the statistical judgment results corresponding to the amplitude thresholds of each level;
[0168] When the signal sample sequence sequentially passes through the step-by-step judgment corresponding to the multi-level amplitude threshold and completes the statistical judgment corresponding to the highest level amplitude threshold, the state control module generates a burst signal detection result for triggering system state switching.
[0169] When the statistical judgment corresponding to any level amplitude threshold does not satisfy the judgment condition of the current level amplitude threshold in the step-by-step judgment process, the state control module determines that the input signal corresponding to the signal sample sequence is an interference signal, terminates the current detection process, and controls the sampling module to continue monitoring the signal sampling value in the communication link.
[0170] Specifically, the burst signal detection system provided in the embodiment is used for detecting and determining a burst signal in an input signal when a communication link is in a monitoring state. The system includes a sampling module, a step-by-step judgment module, a sliding window statistical module, and a state control module, which work cooperatively to complete the detection process of the burst signal.
[0171] The sampling module is used for obtaining a signal sampling value from the communication link and organizing the obtained signal sampling value in a sampling time sequence to form a signal sample sequence for detection. The signal sample sequence reflects the continuous change of the input signal in the communication link in the time dimension, providing basic data for subsequent step-by-step judgment and statistical analysis.
[0172] The step-by-step judgment module performs step-by-step judgment on the signal based on the signal sample sequence according to a preset multi-level amplitude threshold. The multi-level amplitude threshold corresponds to different amplitude stages in the weak-to-strong change process of the signal, and is used for identifying the evolution process of the signal amplitude in stages. In the step-by-step judgment process, the signal sample sequence is sequentially matched with each level of amplitude threshold to determine whether the signal enters the corresponding amplitude stage.
[0173] In the step-by-step judgment process, when the signal sample sequence satisfies the judgment condition corresponding to the current level amplitude threshold, the sliding window statistical module performs statistical judgment processing based on a sliding window on the signal sample sequence. Specifically, the sliding window statistical module constructs a sliding window on the signal sample sequence, and performs statistical analysis on the signal sampling value satisfying the condition of the current level amplitude threshold in the time interval covered by the window, and outputs the corresponding statistical judgment result, which is used to represent the continuity and stability of the signal in the current amplitude stage.
[0174] The state control module controls the step-by-step judgment process according to the statistical determination result corresponding to each level of amplitude threshold. When the statistical determination result indicates that the signal meets the determination requirement corresponding to the current level of amplitude threshold, the state control module controls the step-by-step judgment process to proceed to the next level of amplitude threshold; when the statistical determination result does not meet the determination condition of the current level of amplitude threshold, the state control module terminates the current detection process, and determines that the input signal corresponding to the signal sampling sequence is an interference signal.
[0175] When the signal sampling sequence sequentially passes through the step-by-step judgment corresponding to the multiple levels of amplitude threshold, and completes the statistical determination corresponding to the highest level of amplitude threshold, the state control module generates a burst signal detection result, which is used to trigger the system state switching, for example, triggering the device to switch from the low-power state to the normal working state.
[0176] After determining that it is an interference signal and terminating the current detection process, the system continues to monitor the signal sampling value in the communication link to wait for the appearance of a new signal to be detected. Through the above system structure and the cooperative work between the modules, reliable detection of the burst signal is realized, and false judgment caused by transient interference or glitch signals is effectively suppressed.
[0177] The contents in the above-mentioned burst signal detection method embodiments are all applicable to the present system embodiment, the present system embodiment specifically realizes the same functions as the above-mentioned burst signal detection method embodiments, and achieves the same beneficial effects as the above-mentioned burst signal detection method embodiments. In order to reduce repetition, it will not be repeated here.
[0178] In addition, some embodiments of the present application also provide an electronic device. The electronic device can be various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, etc. The electronic device can also be various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices, and other similar computing devices.
[0179] The electronic device includes one or more processors, and a memory storing computer program instructions, which, when executed, cause the processor to perform a burst signal detection method provided by any one or more of the above embodiments. Figure 3An exemplary configuration of the electronic device is disclosed. The electronic device includes one or more processors 1101, a memory 1102, and an interface for connecting the components, including a high-speed interface and a low-speed interface. The components are interconnected through different buses, and can be mounted on a common main board or otherwise installed as needed. The processor can process instructions executed within the electronic device, including instructions stored in the memory or on the memory to display a GUI on an external input / output device such as a display device coupled to the interface. In some other embodiments, a plurality of processors and / or buses can be used with a plurality of memories and a plurality of memory, if necessary. Also, a plurality of electronic devices can be connected, each device providing part of the necessary operations. Among them, the components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the present application described and / or claimed herein.
[0180] The electronic device can further include an input device 1103 and an output device 1104. The processor 1101, the memory 1102, the input device 1103, and the output device 1104 can be connected through a bus or otherwise, Figure 3 The connection through the bus is taken as an example in the middle.
[0181] The input device 1103 can receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 1104 can include a display device, an auxiliary lighting device (e.g., an LED), and a tactile feedback device (e.g., a vibration motor), etc. The display device can include, but is not limited to, a liquid crystal display, a light-emitting diode display, and a plasma display. In some embodiments, the display device can be a touch screen.
[0182] To provide interaction with the user, the electronic device can be a computer. The computer has a display device (e.g., a cathode ray tube or an LCD monitor) for displaying information to the user, and a keyboard and a pointing device (e.g., a mouse) through which the user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback); and input from the user can be received in any form (e.g., voice input or tactile input).
[0183] In the embodiments of the present application, the computer readable medium stores computer programs / instructions, and the computer programs / instructions are executed by the processor to implement the burst signal detection method provided by any one or more of the above embodiments. The computer readable medium can be included in the electronic device described in the above embodiments, or can exist separately and not be assembled into the device. The computer readable medium carries one or more computer readable instructions.
[0184] The memory 1102 can be used as a non-transitory computer readable medium to store non-transitory software programs, non-transitory computer executable programs and modules. The processor 1101 executes various functions and data processing of the server by running the non-transitory software programs, instructions and modules stored in the memory 1102, so as to implement the program instructions / modules corresponding to the method provided by any one or more of the above embodiments in the embodiments of the present application.
[0185] The memory 1102 can include a program storage area and a data storage area. The program storage area can store an operating system and at least one application required by a function; the data storage area can store data created according to the use of the electronic device, etc. In addition, the memory 1102 can include a high-speed random access memory, and can also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory 1102 can optionally include a memory disposed remotely with respect to the processor 1101, and these remote memories can be connected to the electronic device through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0186] It should be noted that the computer readable medium described in the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the above two. The computer readable medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or component, or any combination of the above. More specific examples of computer readable storage media can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical fiber, a portable compact disk read-only memory, an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer readable medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or component.
[0187] Computer-readable media includes permanent and non-permanent, movable and non-movable media that can be implemented by any method or technology for information storage. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change memory, static random access memory, dynamic random access memory, other types of random access memory, read-only memory, electrically erasable programmable read-only memory, flash memory or other memory technology, read-only optical disc, digital versatile disc or other optical storage, magnetic cassette, magnetic tape disc storage or other magnetic storage device, or any other non-transmission medium that can be used to store information accessible to a computing device.
[0188] Computer program code for carrying out operations of the present application can be written in one or more programming languages or combinations of languages including object-oriented, such as Java, Smalltalk, C++, conventional procedural programming languages, such as the C programming language or similar programming languages. Program code can be executed entirely on a user computer, partially on a user computer, as an independent software package, partially on a user computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network or a wide area network, or can be connected to an external computer (for example, through the Internet using an Internet service provider).
[0189] In the above embodiments, all or part can be implemented by software, hardware, firmware or any combination thereof. For example, a dedicated integrated circuit, a general-purpose computer or any other similar hardware device can be used. In some embodiments, the software program of the present application can be executed by a processor to implement the above steps or functions. Similarly, the software program of the present application (including related data structures) can be stored in a computer-readable recording medium, such as RAM memory, magnetic or optical drive or floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented by hardware, for example, as a circuit cooperating with the processor to perform each step or function.
[0190] The computer program product provided by the embodiments of the present application includes one or more computer programs / instructions, which, when executed by a processor, generate all or part of the processes or functions described in the embodiments of the present application. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be magnetic media (such as floppy disk, hard disk, magnetic tape), optical media (such as DVD), or semiconductor media (such as solid state disk), etc.
[0191] The flowcharts or block diagrams in the drawings illustrate the architecture, functionality, and operation of possible implementations of devices, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowcharts or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in a different order than that shown in the figures. For example, two blocks noted in succession can actually be executed substantially concurrently, or they can sometimes be executed in reverse order, depending on the functionality involved. It should also be noted that each block in the block diagrams and / or flowcharts, as well as combinations of blocks in the block diagrams and / or flowcharts, can be implemented by dedicated hardware-based systems that perform the specified functions or operations, or they can be implemented by a combination of dedicated hardware and computer instructions.
[0192] The scope of the present application is defined by the appended claims rather than the description set forth above, and therefore the intent of the specification is to encompass all changes and modifications that fall within the meaning and range of equivalents of the claims. Any reference signs in the claims should not be construed as limiting the claims to the figures in which the reference signs are used. Furthermore, the words "comprise", "comprising", "include", "including" and the like are to be construed in their broadest sense as placing a limitation to the claim rather than as an exclusion of further or additional members, steps or steps. Multiple units or devices recited in a device claim can also be implemented by one unit or device by software or hardware. The words "first", "second" and the like are used only to distinguish descriptions and do not indicate any particular order or importance.
[0193] The above merely provides specific examples of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, which should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims, and the above examples should be regarded as exemplary and non-limiting.
Claims
1. A method for detecting burst signals, characterized in that, include: Acquire signal sample values in the communication link, and the signal sample values are arranged in the order of sampling time to form a signal sampling sequence for detection; Based on the signal sampling sequence, a step-by-step judgment is performed according to a preset multi-level amplitude threshold. During the step-by-step judgment process, when the judgment condition of the current level amplitude threshold is met, a sliding window-based statistical judgment is performed on the signal sampling sequence. Based on the statistical judgment results corresponding to each level amplitude threshold, the advancement or termination of the step-by-step judgment process is controlled. The multi-level amplitude thresholds correspond to different amplitude stages in the process of the signal changing from weak to strong. A state machine with state progression and reset control is used to determine the preset multi-level amplitude thresholds step by step. The multi-level amplitude thresholds are mapped to multiple detection states in the state machine, wherein the detection state corresponding to the lowest level amplitude threshold is used as the initial detection state. The step of performing a sliding window-based statistical determination on the signal sampling sequence, and controlling the advancement or termination of the step-by-step determination process based on the statistical determination results corresponding to each amplitude threshold, includes: When the state machine is in any detection state, a sliding window-based statistical determination is performed on the signal sampling sequence for the amplitude threshold corresponding to the current detection state to obtain the statistical determination result corresponding to the current detection state. When the statistical determination result meets the determination condition corresponding to the current detection state, the state machine is controlled to switch to the detection state corresponding to the next level amplitude threshold. When the statistical determination result does not meet the determination condition corresponding to the current detection state, the current step-by-step determination process is terminated, and the state machine is controlled to return to the initial detection state. The judgment conditions corresponding to the current detection status include: Within a preset sliding window, count the number of signal sample values in the signal sampling sequence that fall within the amplitude threshold range corresponding to the current detection state; Calculate the ratio of the number of signal sampled values to the length of the sliding window, and compare the ratio with the effective signal ratio threshold set for the current detection state; When the ratio is greater than or equal to the effective signal percentage threshold, it is determined that the determination condition of the current detection state is met. When the ratio is less than the effective signal percentage threshold, it is determined that the determination condition of the current detection state is not met. When the signal sampling sequence passes through the step-by-step judgment corresponding to the multi-level amplitude thresholds in sequence, and completes the statistical judgment corresponding to the highest level amplitude threshold, a burst signal is generated to trigger the system state switching. During the step-by-step determination process, if the statistical determination corresponding to any level amplitude threshold does not meet the determination condition of the current level amplitude threshold, the input signal corresponding to the signal sampling sequence is determined to be an interference signal, the current detection process is terminated, and the signal sampling value in the communication link continues to be monitored.
2. The burst signal detection method according to claim 1, characterized in that, Also includes: The multi-level amplitude threshold is dynamically updated based on the attenuation state of the communication link, specifically including: Monitor the magnitude of change in communication link attenuation parameters and compare the magnitude of change with a preset change threshold; When the change amplitude exceeds the preset change threshold, an update process is triggered for the threshold generation parameter set corresponding to the multi-level amplitude threshold. The multi-level amplitude threshold is determined based on the updated threshold parameter set.
3. The burst signal detection method according to claim 1, characterized in that, Also includes: The sampling within the sliding window is dynamically updated over time, specifically including: According to a preset window length, continuous signal sample values are selected from the signal sampling sequence to construct an initial sliding window. The window length is used to control the number of continuous signal sample values included in the sliding window during operation. When acquiring a new signal sample value in each sampling period, the new signal sample value is added to the sliding window, and the earliest signal sample value in the sliding window is simultaneously removed to keep the window length of the sliding window constant. The sliding window is continuously moved forward along the sampling time axis, so that the sliding window always covers the continuous signal sampling values within the most recent time interval.
4. The burst signal detection method according to claim 1, characterized in that, Also includes: Adaptive optimization adjustment based on interference signals, the adaptive optimization adjustment including: Within a preset statistical time range, sampling points that are identified as interference signals during multiple statistical judgment processes are collected; Based on the sampling points determined to be interference signals, at least one statistical characteristic parameter is calculated to characterize the characteristics of the interference signal. The statistical characteristic parameter includes at least one of amplitude distribution parameter, occurrence frequency parameter, and time density parameter. Based on the statistical characteristic parameters, a parametric model for characterizing interference characteristics is constructed; Based on the parameter model, determine the adjustment amount of the effective signal proportion threshold; The adjusted effective signal proportion threshold is applied to the sliding window statistical analysis process corresponding to the new sampled sequence of the signal to be judged, so as to reduce the probability that the interference signal is misjudged as an effective burst signal.
5. A burst signal detection system, characterized in that, include: The sampling module is used to acquire signal sample values from the communication link and construct a signal sampling sequence for detection according to the sampling time order of the signal sample values; The step-by-step determination module is used to perform step-by-step determination on the signal sampling sequence according to preset multi-level amplitude thresholds, wherein the multi-level amplitude thresholds correspond to different amplitude stages in the process of signal change from weak to strong, and is specifically used for: A state machine with state progression and reset control is used to determine the preset multi-level amplitude thresholds step by step. The multi-level amplitude thresholds are mapped to multiple detection states in the state machine, wherein the detection state corresponding to the lowest level amplitude threshold is used as the initial detection state. The sliding window statistics module is used to perform sliding window-based statistical determination on the signal sampling sequence during the step-by-step determination process, when the determination condition of the current level amplitude threshold is met, and output the corresponding statistical determination result. Specifically, it is used for: When the state machine is in any detection state, a sliding window-based statistical determination is performed on the signal sampling sequence for the amplitude threshold corresponding to the current detection state to obtain the statistical determination result corresponding to the current detection state. The state control module is used to control the advancement or termination of the step-by-step judgment process based on the statistical judgment results corresponding to each level of amplitude threshold. Specifically, it is used for: When the statistical determination result meets the determination condition corresponding to the current detection state, the state machine is controlled to switch to the detection state corresponding to the next level amplitude threshold. When the statistical determination result does not meet the determination condition corresponding to the current detection state, the current step-by-step determination process is terminated, and the state machine is controlled to return to the initial detection state. The judgment conditions corresponding to the current detection status include: Within a preset sliding window, count the number of signal sample values in the signal sampling sequence that fall within the amplitude threshold range corresponding to the current detection state; Calculate the ratio of the number of signal sampled values to the length of the sliding window, and compare the ratio with the effective signal ratio threshold set for the current detection state; When the ratio is greater than or equal to the effective signal percentage threshold, it is determined that the determination condition of the current detection state is met. When the ratio is less than the effective signal percentage threshold, it is determined that the determination condition of the current detection state is not met. When the signal sampling sequence passes through the step-by-step judgment corresponding to the multi-level amplitude thresholds in sequence and completes the statistical judgment corresponding to the highest level amplitude threshold, the state control module generates a burst signal detection result to trigger the system state switch. Furthermore, when, during the step-by-step determination process, the statistical determination corresponding to any level amplitude threshold fails to meet the determination condition of the current level amplitude threshold, the state control module determines that the input signal corresponding to the signal sampling sequence is an interference signal, terminates the current detection process, and controls the sampling module to continue monitoring the signal sampling values in the communication link.
6. An electronic device, characterized in that, The electronic device includes: One or more processors; and a memory storing computer program instructions, which, when executed, cause the processors to perform the burst signal detection method as described in any one of claims 1-4.
7. A computer-readable storage medium having a computer program and / or instructions stored thereon, characterized in that, When the computer program and / or instructions are executed by the processor, they implement the burst signal detection method as described in any one of claims 1-4.
8. A computer program product, comprising a computer program and / or instructions, characterized in that, When the computer program and / or instructions are executed by the processor, they implement the burst signal detection method as described in any one of claims 1-4.
Citation Information
Patent Citations
Burst communication signal detection method
CN107733516A
Intelligent substation communication link fault self-healing regulation and control method and system
CN120602406A