Self-adaptive threshold generation method and device based on background spectrum, equipment, medium and program product

By generating and processing background spectrum in real time, dynamically calculating signal detection threshold values, the accuracy and reliability problems of traditional signal detection methods in complex environments are solved, and automated and simple signal detection is achieved.

CN120257004APending Publication Date: 2025-07-04SOUTHWEST CHINA RES INST OF ELECTRONICS EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510318931.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-18
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

Traditional signal detection methods are difficult to adapt to complex and changeable environments, resulting in reduced accuracy, serious misjudgment and misjudgment phenomena, and cumbersome adjustment of threshold values manually.

Method used

By collecting electromagnetic background signals in real time, generating the first background spectrum, performing processing operations to obtain the second background spectrum, and dynamically calculate the signal detection threshold value in real time spectrum to achieve adaptive adjustment.

Benefits of technology

It improves the accuracy and reliability of signal detection, reduces misjudgment and misjudgment, simplifies operational processes, and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120257004A_ABST
    Figure CN120257004A_ABST
Patent Text Reader

Abstract

The invention relates to the field of signal processing, and provides a background spectrum-based adaptive threshold generation method, device and equipment, a medium and a program product, and the method comprises the steps: collecting an electromagnetic background signal in real time, and obtaining a first background spectrum based on the electromagnetic background signal collected in real time; performing processing operation on the first background spectrum to obtain a second background spectrum; combining the real-time frequency spectrum with the second background spectrum, and dynamically calculating a signal detection threshold value in real time; and performing signal detection based on the signal detection threshold value. According to the invention, the accuracy of signal detection can be improved, the reliability of signal detection is enhanced, and the operation and maintenance are simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of signal processing, and more particularly, to an adaptive threshold generation method, apparatus, device, medium, and program product based on a background spectrum. Background Art

[0002] In the field of signal processing, signal detection is a crucial link. Traditional signal detection methods include:

[0003] 1. Signal detection based on a fixed threshold value. However, due to the influence of factors such as environmental noise and interference signals, the fixed threshold value is often difficult to adapt to complex and changing actual scenarios, resulting in a decrease in the accuracy of signal detection and even misjudgment and missed judgment;

[0004] 2. Signal detection based on the noise floor threshold value, which can solve the adverse effects brought by environmental noise, but still cannot solve the influence of interference signals and is prone to misjudgment;

[0005] 3. Signal detection based on an artificial threshold value, which completely depends on manual threshold adjustment and cannot dynamically adjust the threshold value in real time, requiring a certain level of prior knowledge of the operator and bringing a relatively large burden to operation and use.

[0006] Therefore, how to dynamically adjust the signal detection threshold value in real time according to the environment, improve the accuracy of signal detection, simplify operation and use, and improve the automation level is an urgent problem to be solved in the current field of signal processing. Summary of the Invention

[0007] To solve the above existing problems, the present invention provides an adaptive threshold generation method, apparatus, device, medium, and program product based on a background spectrum to improve the accuracy and reliability of signal detection.

[0008] In a first aspect, an adaptive threshold generation method based on a background spectrum provided by the present invention includes:

[0009] Real-time collecting an electromagnetic background signal and obtaining a first background spectrum based on the real-time collected electromagnetic background signal;

[0010] Processing and calculating the first background spectrum to obtain a second background spectrum;

[0011] Combining the real-time spectrum with the second background spectrum and dynamically calculating the signal detection threshold value in real time;

[0012] Performing signal detection based on the signal detection threshold value.

[0013] In some embodiments, obtaining the first background spectrum based on the real-time collected electromagnetic background signal includes:

[0014] Perform short-time Fourier transform on the collected electromagnetic background signal to obtain instantaneous spectrum data;

[0015] Take the maximum value of the continuously obtained instantaneous spectrum data multiple times to obtain the first background spectrum.

[0016] In some embodiments, the processing operation on the first background spectrum includes:

[0017] Accumulate and average multiple consecutive frames of the first background spectrum to obtain the second background spectrum.

[0018] In some embodiments, when the second background spectrum needs to be updated, perform an update processing operation on the first background spectrum and the second background spectrum in sequence.

[0019] In some embodiments, the combination of the real-time spectrum and the second background spectrum to calculate the signal detection threshold dynamically in real time includes:

[0020] T = F + max(Δ, λ)

[0021]

[0022] where T is the signal detection threshold, F is the second background spectrum, Δ is the fixed upward increment; P f is the real-time spectrum, Q(·) is the complementary integral function of the normal Gaussian, and σ 2 is the variance of the continuously N-frame short-time maximum hold spectrum data.

[0023] In some embodiments, the signal detection based on the signal detection threshold includes:

[0024] If the real-time spectrum intensity of the received signal exceeds the signal detection threshold, determine that the received signal is a valid signal;

[0025] If the real-time spectrum intensity of the received signal does not exceed the signal detection threshold, determine that the received signal is an invalid signal.

[0026] In a second aspect, the present invention provides an adaptive threshold generation device based on a background spectrum, including:

[0027] A background spectrum acquisition module for real-time acquisition of electromagnetic background signals and obtaining a first background spectrum based on the real-time acquired electromagnetic background signals;

[0028] A background spectrum processing module for performing a processing operation on the first background spectrum to obtain a second background spectrum;

[0029] A threshold generation module for combining the real-time spectrum and the second background spectrum to calculate the signal detection threshold dynamically in real time;

[0030] A signal detection module for performing signal detection based on the signal detection threshold value.

[0031] In a third aspect, the present invention provides an electronic device, comprising:

[0032] At least one processor; and a memory communicatively connected to the at least one processor;

[0033] Wherein, the memory stores instructions executable by the at least one processor, and the at least one processor, by executing the instructions stored in the memory, causes the at least one processor to execute the above method.

[0034] In a fourth aspect, the present invention provides a computer-readable storage medium for storing instructions, which when executed, implement the above method.

[0035] In a fifth aspect, the present invention provides a computer program product, which when called by a computer, causes the computer to execute the above method.

[0036] In summary, due to the adoption of the above technical solutions, the beneficial effects of the present invention are:

[0037] 1. Improve the accuracy of signal detection: By collecting and analyzing the background spectrum, the present invention can more accurately judge the levels of environmental noise and interference signals, thereby setting a more reasonable signal detection threshold value and reducing the possibilities of false positives and missed detections.

[0038] 2. Enhance the reliability of signal detection: The present invention can dynamically adjust the signal detection threshold value according to environmental changes in different scenarios, with strong adaptability and high reliability.

[0039] 3. Simplify operation and maintenance: The present invention adopts an automated collection and analysis method, without manual intervention, with simple operation and low maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a flowchart of an adaptive threshold generation method based on background spectrum provided by an embodiment of the present invention.

[0041] Figure 2 It is a schematic structural diagram of an adaptive threshold generation device based on background spectrum provided by an embodiment of the present invention.

[0042] Figure 3 It is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0043] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. The components of the embodiments of the present invention described and illustrated herein can be arranged and designed in various different configurations.

[0044] Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of protection of the present invention.

[0045] Embodiment

[0046] As Figure 1 shown, an adaptive threshold generation method based on a background spectrum is proposed in an embodiment of the present invention, including the following steps:

[0047] S100, Background spectrum acquisition: Real-time acquisition of electromagnetic background signals, and obtaining a first background spectrum based on the real-time acquired electromagnetic background signals.

[0048] S200, Background spectrum processing: Performing processing operations on the first background spectrum to obtain a second background spectrum;

[0049] S300, Threshold generation: Combining the real-time spectrum and the second background spectrum, and dynamically calculating the signal detection threshold value in real time;

[0050] S400, Signal detection: Performing signal detection based on the signal detection threshold value.

[0051] Through the above process, the effects of the present invention are as follows:

[0052] 1. Improving the accuracy of signal detection: By collecting and analyzing the background spectrum, the present invention can more accurately judge the levels of environmental noise and interference signals, thereby setting a more reasonable signal detection threshold value and reducing the possibilities of misjudgment and missed detection.

[0053] 2. Enhancing the reliability of signal detection: The present invention can dynamically adjust the signal detection threshold value according to environmental changes in different scenarios, with strong adaptability and high reliability.

[0054] 3. Simplifying operation and maintenance: The present invention adopts an automated acquisition and analysis method, without manual intervention, with simple operation and low maintenance costs.

[0055] In some embodiments, in step S100, the obtaining of the first background spectrum based on the real-time acquired electromagnetic background signals includes:

[0056] Perform a short-time Fourier transform on the collected electromagnetic background signal to obtain instantaneous spectrum data;

[0057] Take the maximum value of the continuously obtained instantaneous spectrum data multiple times to obtain the first background spectrum.

[0058] For example, perform a short-time Fourier transform on the collected electromagnetic background signal to obtain instantaneous spectrum data F i , and take the maximum value of the instantaneous spectrum data F i (i = 1, 2, … N) obtained continuously N times to obtain the first background spectrum

[0059] In some embodiments, in step S200, the processing operation on the first background spectrum includes: accumulating and averaging multiple consecutive frames of the first background spectrum to obtain a second background spectrum. The specific mathematical expression is as follows:

[0060]

[0061] where F represents the second background spectrum and M represents the number of consecutive frames. In practical applications, when the background spectrum needs to be updated, a processing operation is performed on the first background spectrum and the second background spectrum in sequence for one update.

[0062] In some embodiments, in step S300, the combination of the real-time spectrum and the second background spectrum to calculate the signal detection threshold dynamically in real time is as follows:

[0063] T = F + max(Δ, λ)

[0064]

[0065] where T is the signal detection threshold, F is the second background spectrum, Δ is a fixed upward increment; P f is the real-time spectrum, Q(·) is the complementary cumulative distribution function of the normal Gaussian distribution, σ 2 is the variance of the real-time spectrum data of N consecutive frames; λ is an intermediate parameter.

[0066] In some embodiments, in step S400, the signal detection based on the signal detection threshold includes:

[0067] If the real-time spectrum intensity of the received signal exceeds the signal detection threshold, it is determined that the received signal is a valid signal;

[0068] If the real-time spectrum intensity of the received signal does not exceed the signal detection threshold, it is determined that the received signal is an invalid signal.

[0069] Such as Figure 2As shown in the figure, based on the method of the above embodiments, an embodiment of the present invention further provides an adaptive threshold generation device based on a background spectrum, including:

[0070] A background spectrum acquisition module, configured to collect electromagnetic background signals in real time and obtain a first background spectrum based on the collected electromagnetic background signals in real time;

[0071] A background spectrum processing module, configured to perform processing operations on the first background spectrum to obtain a second background spectrum;

[0072] A threshold generation module, configured to combine the real-time spectrum with the second background spectrum and dynamically calculate the signal detection threshold value in real time;

[0073] A signal detection module, configured to perform signal detection based on the signal detection threshold value.

[0074] In some specific implementation manners, the background spectrum processing module may be deployed on an upper PC, and the background spectrum acquisition module, the threshold generation module, and the signal detection module are deployed on a receiving and processing device. As for the specific processing manners of each module in the above device, reference may be made to the specific description of the above method, which will not be elaborated here.

[0075] Based on the same technical concept, an embodiment of the present application further provides an electronic device, which can implement the process of the adaptive threshold generation method based on the background spectrum provided in the above embodiments of the present application. In one embodiment, the electronic device may be a server, or a terminal device or other electronic devices. As Figure 3 shown, the electronic device may include:

[0076] At least one processor, and a memory connected to at least one processor. In the embodiments of the present application, the specific connection medium between the processor and the memory is not limited. Figure 3 In Figure 3 it, the connection between the processor and the memory through a bus is taken as an example. The bus is Figure 3 shown by a thick line in

[0077] it. The connection manners between other components are only for illustrative purposes and are not limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 3 it is only shown by a thick line in

[0077] it, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor may also be referred to as a controller, and the name is not limited.

[0077] In the embodiments of the present application, the memory stores instructions executable by at least one processor. By executing the instructions stored in the memory, at least one processor can execute an adaptive threshold generation method based on a background spectrum described above. The processor can implement Figure 3 the functions of each module in the device shown in

[0078] Among them, the processor is the control center of the device. It can connect various parts of the entire control device through various interfaces and circuits. By running or executing instructions stored in the memory and calling data stored in the memory, it can perform various functions and process data of the device, thereby monitoring the device as a whole.

[0079] In an alternative design, the processor may include one or more processing units. The processor may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor either. In some embodiments, the processor and the memory may be implemented on the same chip, and in some embodiments, they may also be separately implemented on independent chips.

[0080] The processor may be a general-purpose processor, such as a CPU, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, which can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of an adaptive threshold generation method based on background spectrum disclosed in the embodiments of the present application in combination can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0081] As a non-volatile computer-readable storage medium, the memory can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The memory may include at least one type of storage medium. For example, it may include flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic memory, magnetic disk, optical disk, and so on. The memory is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory in the embodiments of the present application may also be a circuit or any other device capable of implementing a storage function, for storing program instructions and / or data.

[0082] By programming the design of the processor, the code corresponding to an adaptive threshold generation method based on the background spectrum introduced in the foregoing embodiments can be solidified into the chip, so that the chip can execute the steps of the method in the foregoing embodiments when running. How to program the design of the processor is a well-known technology to those skilled in the art and will not be elaborated here.

[0083] Based on the same inventive concept, an embodiment of the present application also provides a storage medium storing computer instructions, which when run on a computer, cause the computer to execute an adaptive threshold generation method based on the background spectrum described above.

[0084] In some alternative embodiments, the various aspects of an adaptive threshold generation method based on the background spectrum provided by the present application can also be implemented in the form of a program product, which includes program code. When the program product runs on a device, the program code is used to cause the control device to execute the steps in an adaptive threshold generation method according to various exemplary embodiments of the present application described above in this specification.

[0085] It should be noted that although several units or subunits of the device are mentioned in the foregoing detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of the two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided and embodied by multiple units. In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution.

[0086] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0087] This application is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a server, such that the instructions executed by the processor of the computer or other programmable data processing device generate means for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or means for implementing the functions specified in multiple blocks.

[0088] Program code for performing the operations of this application can be written using any combination of one or more programming languages. The programming languages include object-oriented programming languages such as Java, C++, etc., and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0089] In the case of a remote computing device, the remote computing device can be connected to the user's computing device through any type of network including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., connected through the Internet using an Internet service provider).

[0090] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufacture including instruction means that implement the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or means for implementing the functions specified in multiple blocks.

[0091] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or means for implementing the functions specified in multiple blocks.

[0092] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. An adaptive threshold generation method based on a background spectrum, characterized in that, Including: Collecting electromagnetic background signals in real time and obtaining a first background spectrum based on the collected electromagnetic background signals in real time; Performing processing operations on the first background spectrum to obtain a second background spectrum; Combining the real-time spectrum and the second background spectrum to dynamically calculate the signal detection threshold in real time; Performing signal detection based on the signal detection threshold.

2. The adaptive threshold generation method based on a background spectrum according to claim 1, wherein The obtaining of the first background spectrum based on the collected electromagnetic background signals in real time includes: Performing short-time Fourier transform on the collected electromagnetic background signals to obtain instantaneous spectrum data; Taking the maximum of the continuously obtained instantaneous spectrum data to obtain the first background spectrum.

3. The adaptive threshold generation method based on a background spectrum according to claim 1, wherein The performing of processing operations on the first background spectrum includes: Accumulating and averaging multiple consecutive frames of the first background spectrum to obtain the second background spectrum.

4. The adaptive threshold generation method based on the background spectrum according to claim 3, wherein When it is necessary to update the second background spectrum, perform an update processing operation on the first background spectrum and the second background spectrum in sequence.

5. The adaptive threshold generation method based on a background spectrum according to claim 1, wherein The combining of the real-time spectrum and the second background spectrum to dynamically calculate the signal detection threshold in real time includes: T = F + max(Δ, λ) where T is the signal detection threshold, F is the second background spectrum, Δ is the fixed upward increment; P f is the real-time spectrum, Q(·) is the normal Gaussian complementary integral function, and σ 2 is the variance of the real-time spectrum data of continuous N frames.

6. The adaptive threshold generation method based on a background spectrum according to claim 1, wherein The performing of signal detection based on the signal detection threshold includes: If the real-time spectrum intensity of the received signal exceeds the signal detection threshold, determine that the received signal is a valid signal; If the real-time spectrum intensity of the received signal does not exceed the signal detection threshold, determine that the received signal is an invalid signal.

7. An adaptive threshold generation device based on a background spectrum, characterized in that, Including: A background spectrum acquisition module for collecting electromagnetic background signals in real time and obtaining a first background spectrum based on the collected electromagnetic background signals in real time; A background spectrum processing module for performing processing operations on the first background spectrum to obtain a second background spectrum; A threshold generation module for combining the real-time spectrum and the second background spectrum to dynamically calculate the signal detection threshold in real time; A signal detection module for performing signal detection based on the signal detection threshold.

8. An electronic device, characterized in that, Including: At least one processor; And a memory communicatively connected to the at least one processor; Wherein, the memory stores instructions executable by the at least one processor, and the at least one processor, by executing the instructions stored in the memory, causes the at least one processor to execute the method according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store instructions, and when the instructions are executed, the method according to any one of claims 1-6 is implemented.

10. A computer program product, characterized in that, When the computer program product is called by a computer, the computer is caused to execute the method according to any one of claims 1-6.