[go: up one dir, main page]

CN116244637B - Burst signal acquisition method and device - Google Patents

Burst signal acquisition method and device Download PDF

Info

Publication number
CN116244637B
CN116244637B CN202310532659.0A CN202310532659A CN116244637B CN 116244637 B CN116244637 B CN 116244637B CN 202310532659 A CN202310532659 A CN 202310532659A CN 116244637 B CN116244637 B CN 116244637B
Authority
CN
China
Prior art keywords
signal data
window
burst signal
data
burst
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310532659.0A
Other languages
Chinese (zh)
Other versions
CN116244637A (en
Inventor
杜海兵
杨胜领
程军强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongxing Lianhua Technology Beijing Co ltd
Original Assignee
Zhongxing Lianhua Technology Beijing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongxing Lianhua Technology Beijing Co ltd filed Critical Zhongxing Lianhua Technology Beijing Co ltd
Priority to CN202310532659.0A priority Critical patent/CN116244637B/en
Publication of CN116244637A publication Critical patent/CN116244637A/en
Application granted granted Critical
Publication of CN116244637B publication Critical patent/CN116244637B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

本发明提供一种突发信号采集方法及装置,属于信号检测技术领域,包括:将信号数据存入缓存队列中,检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据;根据每个窗口对应的检测结果,确定所述窗口中信号数据采集的起始窗口和结束窗口;采集所述缓存队列中从起始窗口到结束窗口的信号数据。本发明通过设置缓存队列和划分窗口,实现了突发信号检出时,信号数据仍在缓存队列中,进而在无人值守的情况下实现了对突发信号从出现时刻到消失时刻的完整无损采集。

The present invention provides a burst signal acquisition method and device, belonging to the technical field of signal detection, including: storing signal data in a cache queue, and detecting whether the signal data in each window in the cache queue is burst signal data; According to the detection result corresponding to each window, determine the start window and end window of signal data collection in the window; collect the signal data from the start window to the end window in the buffer queue. The present invention realizes that when the burst signal is detected, the signal data is still in the cache queue by setting the buffer queue and dividing the window, and then realizes the complete and non-destructive detection of the burst signal from the moment of appearance to the moment of disappearance under the condition of unattended collection.

Description

突发信号采集方法及装置Burst signal acquisition method and device

技术领域technical field

本发明涉及信号检测技术领域,尤其涉及一种突发信号采集方法及装置。The invention relates to the technical field of signal detection, in particular to a burst signal acquisition method and device.

背景技术Background technique

传统的信号采集设备能够对各种不同带宽的信号进行持续不间断地采集记录,采集容限仅仅取决于设备硬盘的容量。这种采集记录方式适用于持续稳定的信号采集,或者是对环境信号的采集记录。Traditional signal acquisition equipment can continuously acquire and record signals of various bandwidths, and the acquisition tolerance only depends on the capacity of the hard disk of the equipment. This collection and recording method is suitable for continuous and stable signal collection, or the collection and recording of environmental signals.

如果采集对象是随机出现的短突发信号,这种持续采集记录方式会采集到大量无目标信号的噪声数据,不能精准记录有效信号。而无效的噪声数据不仅占用了宝贵的数据存储空间,并且还需要后续进行大量的处理工作才能把含有突发信号的数据挑选出来。因此持续采集记录方式难以适用于对短突发信号的采集。If the acquisition object is short burst signals that appear randomly, this continuous acquisition and recording method will collect a large amount of noise data without target signals, and cannot accurately record effective signals. Ineffective noise data not only takes up valuable data storage space, but also requires a lot of follow-up processing to select data containing burst signals. Therefore, the continuous acquisition and recording method is difficult to apply to the acquisition of short burst signals.

如果通过人工操作对突发信号进行采集记录,只能在观察到信号时启动采集,由于信号突然出现,且持续时间较短,很难采集到完整的突发信号,并且人工也很难长时间关注随机出现的短突发信号。If the burst signal is collected and recorded manually, the collection can only be started when the signal is observed. Since the signal appears suddenly and lasts for a short time, it is difficult to collect a complete burst signal, and it is also difficult to manually collect the burst signal for a long time. Focus on short bursts of signals that occur randomly.

发明内容Contents of the invention

本发明提供一种突发信号采集方法及装置,用以解决现有技术中难以完整采集突发信号的缺陷,实现自动对突发信号进行准确识别后,完整采集突发信号。The invention provides a method and device for collecting burst signals, which are used to solve the defect that it is difficult to completely collect burst signals in the prior art, and realize the complete collection of burst signals after automatic and accurate identification of burst signals.

本发明提供一种突发信号采集方法,包括:The present invention provides a burst signal acquisition method, comprising:

将信号数据存入缓存队列中,检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据;Store the signal data in the buffer queue, and detect whether the signal data in each window in the buffer queue is burst signal data;

根据每个窗口对应的检测结果,确定所述窗口中信号数据采集的起始窗口和结束窗口;According to the detection result corresponding to each window, determine the start window and end window of signal data collection in the window;

采集所述缓存队列中从起始窗口到结束窗口的信号数据。Collect signal data from the start window to the end window in the buffer queue.

根据本发明提供的一种突发信号采集方法,在所述将信号数据存入缓存队列中,检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据的步骤之前还包括:According to a burst signal acquisition method provided by the present invention, before the step of storing the signal data in the cache queue and detecting whether the signal data in each window in the cache queue is burst signal data, the method further includes:

根据所述信号数据的采样率和所述突发信号数据检测的预设频率分辨率,确定所述窗口的宽度;determining the width of the window according to the sampling rate of the signal data and the preset frequency resolution of the detection of the burst signal data;

根据所述信号数据的采样率和所述突发信号数据检测的预设时间分辨率,确定所述窗口的步进。The step of the window is determined according to the sampling rate of the signal data and the preset time resolution of the detection of the burst signal data.

根据本发明提供的一种突发信号采集方法,所述检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据的步骤包括:According to a burst signal acquisition method provided by the present invention, the step of detecting whether the signal data in each window in the buffer queue is burst signal data includes:

对每个窗口内的信号数据进行快速傅里叶变换和频谱拼接,获取所述信号数据的频谱数据;Perform fast Fourier transform and spectrum splicing on the signal data in each window to obtain the spectrum data of the signal data;

将每个窗口对应的各频谱数据与第一预设阈值进行比较,统计每个窗口对应的大于所述第一预设阈值的频谱数据个数;Comparing the spectral data corresponding to each window with a first preset threshold, and counting the number of spectral data corresponding to each window greater than the first preset threshold;

在所述频谱数据个数大于第二预设阈值的情况下,确定所述窗口内的信号数据为突发信号数据。If the number of spectrum data is greater than a second preset threshold, it is determined that the signal data in the window is burst signal data.

根据本发明提供的一种突发信号采集方法,所述在所述频谱数据个数大于第二预设阈值的情况下,确定所述窗口内的信号数据为突发信号数据包括:According to a burst signal acquisition method provided by the present invention, when the number of spectrum data is greater than a second preset threshold, determining that the signal data in the window is burst signal data includes:

提取每个所述窗口内的信号数据的特征,将所述信号数据的特征与目标突发信号的特征进行匹配;extracting the features of the signal data in each window, and matching the features of the signal data with the features of the target burst signal;

在所述信号数据的特征和所述目标突发信号的特征匹配成功,且在所述频谱数据个数大于第二预设阈值的情况下,确定所述窗口内的信号数据为突发信号数据。When the characteristics of the signal data and the characteristics of the target burst signal are successfully matched, and when the number of the spectrum data is greater than a second preset threshold, determine that the signal data in the window is burst signal data .

根据本发明提供的一种突发信号采集方法,所述根据每个窗口对应的检测结果,确定所述窗口中信号数据采集的起始窗口和结束窗口的步骤包括:According to a burst signal acquisition method provided by the present invention, the step of determining the start window and end window of signal data acquisition in the window according to the detection result corresponding to each window includes:

在最近一次采集所述信号数据之后,将首个检测结果为突发信号数据的窗口作为所述信号数据采集的起始窗口;After the latest collection of the signal data, the first detection result is a window of burst signal data as the initial window of the signal data collection;

在连续预设个数的窗口的检测结果不为突发信号数据的情况下,根据所述连续预设个数的窗口确定所述信号数据采集的结束窗口。In the case that the detection result of the continuous preset number of windows is not burst signal data, the end window of the signal data collection is determined according to the continuous preset number of windows.

根据本发明提供的一种突发信号采集方法,还包括:According to a kind of burst signal acquisition method provided by the present invention, also comprise:

根据所述缓存队列的长度和所述信号数据的采样率,确定所述缓存队列对应的采样时长;Determine the sampling duration corresponding to the buffer queue according to the length of the buffer queue and the sampling rate of the signal data;

根据所述缓存队列的长度和所述窗口的步进,确定所述缓存队列对应的窗口数量;determining the number of windows corresponding to the buffer queue according to the length of the buffer queue and the step of the window;

在所述采样时长内检测完所述窗口数量对应窗口内的信号数据是否为突发信号数据。Whether the signal data in the window corresponding to the number of windows is detected within the sampling duration is burst signal data.

根据本发明提供的一种突发信号采集方法,通过图形处理器检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据,使得所述缓存队列中所有窗口的检测时长小于所述采样时长。According to a burst signal acquisition method provided by the present invention, whether the signal data in each window in the cache queue is detected by a graphics processor is burst signal data, so that the detection duration of all windows in the cache queue is less than the specified The above sampling time.

发明还提供一种突发信号采集装置,包括:The invention also provides a burst signal acquisition device, including:

检测模块,用于将信号数据存入缓存队列中,检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据;A detection module, configured to store signal data in a cache queue, and detect whether the signal data in each window in the cache queue is burst signal data;

确定模块,用于根据每个窗口对应的检测结果,确定所述窗口中信号数据采集的起始窗口和结束窗口;A determining module, configured to determine a start window and an end window for signal data collection in the window according to the detection result corresponding to each window;

采集模块,用于采集所述缓存队列中从起始窗口到结束窗口的信号数据。A collection module, configured to collect signal data from the start window to the end window in the buffer queue.

本发明还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述任一种所述突发信号采集方法。The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, it realizes any of the burst signals described above. collection method.

本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述突发信号采集方法。The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the burst signal acquisition methods described above can be realized.

本发明提供的一种突发信号采集方法及装置,通过将信号数据输入缓存队列,在缓存队列中通过设置多个窗口快速完成对每个窗口内信号数据的检测,提高了信号数据检测的速度,并在检测出突发信号的情况下,自起始窗口至结束窗口完整采集缓存队列中暂存的突发信号数据;由于突发信号检出时,信号数据仍在缓存队列中,进而在无人值守的情况下实现了对突发信号从出现时刻到消失时刻的完整无损采集。A burst signal acquisition method and device provided by the present invention, by inputting the signal data into the cache queue, setting multiple windows in the cache queue to quickly complete the detection of the signal data in each window, improving the speed of signal data detection , and when a burst signal is detected, the burst signal data temporarily stored in the buffer queue is completely collected from the start window to the end window; when the burst signal is detected, the signal data is still in the buffer queue, and then in Under unattended conditions, the complete and non-destructive collection of burst signals from the moment of appearance to the moment of disappearance is realized.

附图说明Description of drawings

为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the present invention or the technical solutions in the prior art, the accompanying drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are the present invention. For some embodiments of the invention, those skilled in the art can also obtain other drawings based on these drawings without creative effort.

图1是本发明提供的突发信号采集方法的流程示意图;Fig. 1 is the schematic flow chart of the burst signal acquisition method provided by the present invention;

图2是本发明提供的突发信号采集方法中缓存队列与窗口的示意图;Fig. 2 is the schematic diagram of cache queue and window in the burst signal acquisition method provided by the present invention;

图3是本发明提供的突发信号采集方法的中检测缓存队列中每个窗口内的信号数据的流程图;Fig. 3 is the flow chart of detecting the signal data in each window in the buffer queue in the burst signal acquisition method provided by the present invention;

图4是本发明提供的突发信号采集装置的结构示意图;Fig. 4 is a schematic structural diagram of a burst signal acquisition device provided by the present invention;

图5是本发明提供的电子设备的结构示意图。Fig. 5 is a schematic structural diagram of an electronic device provided by the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

下面结合图1-图3描述本发明的一种突发信号采集方法,包括:A kind of burst signal acquisition method of the present invention is described below in conjunction with Fig. 1-Fig. 3, comprises:

步骤101,将信号数据存入缓存队列中,检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据;Step 101, storing signal data in a buffer queue, and detecting whether the signal data in each window in the buffer queue is burst signal data;

将信号数据输入缓存队列前,对信号数据进行模数转换,将模拟信号转换为数字信号。Before inputting the signal data into the buffer queue, analog-to-digital conversion is performed on the signal data, and the analog signal is converted into a digital signal.

突发信号的检测和数据记录密不可分,为了同时实现突发信号的检测识别和信号采集,预先设定数据缓存队列,并划分出多个窗口,在每个窗口中检测信号数据是否为突发信号数据。Burst signal detection and data recording are inseparable. In order to realize burst signal detection and signal acquisition at the same time, the data buffer queue is set in advance, and multiple windows are divided to detect whether the signal data is burst in each window. signal data.

本实施例对窗口的类型不做限定。This embodiment does not limit the type of the window.

可选地,窗口可为滚动窗口。具体地,将缓存队列均匀划分出多个窗口,每个窗口间互不重叠且相邻两个窗口间没有间隔。在缓存队列中对每个窗口内的信号数据进行检测,并确定每个窗口内的信号数据是否为突发信号数据。Optionally, the window may be a scrolling window. Specifically, the cache queue is evenly divided into multiple windows, each window does not overlap with each other and there is no interval between two adjacent windows. The signal data in each window is detected in the buffer queue, and whether the signal data in each window is burst signal data is determined.

可选地,窗口可为滑动窗口。具体地,以某一固定步进将缓存队列划分出多个大小相同的窗口,在缓存队列中对每个窗口内的信号数据进行检测,并确定每个窗口内的信号数据是否为突发信号数据。Optionally, the window may be a sliding window. Specifically, divide the buffer queue into multiple windows of the same size at a fixed step, detect the signal data in each window in the buffer queue, and determine whether the signal data in each window is a burst signal data.

其中,每个窗口至少需要能够容纳一次完整的信号采集的数据。Wherein, each window needs to be able to accommodate at least one complete signal acquisition data.

本实施例对缓存队列的大小不做限定。在一种可行的实施方式中,将1秒中内采样的信号数据输入缓存队列中。This embodiment does not limit the size of the cache queue. In a feasible implementation manner, the signal data sampled within 1 second is input into the cache queue.

可选地,缓存队列可为一个或多个。Optionally, there may be one or more cache queues.

缓存队列为一个时,将所有窗口内的信号数据检测完成后,下一组信号数据进入该缓存队列,以避免信号数据的遗失。When there is one buffer queue, after the detection of signal data in all windows is completed, the next set of signal data enters the buffer queue to avoid loss of signal data.

缓存队列为多个时,可以采用并行处理技术检测每个窗口中的信号数据,以实现数据流的循环,使得信号数据能够持续进入缓存队列,提升信号采集的效率。When there are multiple buffer queues, parallel processing technology can be used to detect signal data in each window to realize the cycle of data flow, so that signal data can continuously enter the buffer queue and improve the efficiency of signal acquisition.

并行处理技术可以为ping-pong buffer(乒乓缓冲)。The parallel processing technology may be ping-pong buffer (ping-pong buffer).

本实施例中的检测方式可为傅里叶变换、快速傅里叶变换或能量检测等,本实施例对信号数据检测的方式不做限定。The detection method in this embodiment may be Fourier transform, fast Fourier transform, energy detection, etc., and the method of signal data detection is not limited in this embodiment.

步骤102,根据每个窗口对应的检测结果,确定所述窗口中信号数据采集的起始窗口和结束窗口;Step 102, according to the detection results corresponding to each window, determine the start window and end window of signal data collection in the window;

自起始窗口至结束窗口的所有窗口共同记录完成一个完整的突发信号。All windows from the start window to the end window record together to complete a complete burst signal.

缓存队列中,第一个检测出突发信号的窗口为数据采集的起始窗口。In the cache queue, the first window in which a burst signal is detected is the start window of data collection.

可选地,结束窗口位于出现突发信号后,第一次未检测出突发信号的窗口之后,以增加突发信号记录的完整性。Optionally, the end window is located after the burst signal occurs and after the window in which the burst signal is not detected for the first time, so as to increase the integrity of burst signal recording.

步骤103,采集所述缓存队列中从起始窗口到结束窗口的信号数据。Step 103, collect signal data from the start window to the end window in the buffer queue.

缓存队列中自起始窗口到结束窗口的信号数据共同构成一个完成的突发信号数据。The signal data from the start window to the end window in the buffer queue together constitute a completed burst signal data.

可选地,在所有窗口内的信号数据检测完成后,下一组信号数据才进入该缓存队列的情况下,待缓存队列中所有窗口的信号数据检测完成后,采集缓存队列中的突发信号数据。Optionally, when the next set of signal data enters the buffer queue after the detection of signal data in all windows is completed, the burst signal in the buffer queue is collected after the detection of signal data in all windows in the buffer queue is completed data.

可选地,在对窗口内的信号数据的检测和对检测出的突发信号数据采集并列进行的情况下,对于检测出突发信号的窗口,按窗口完成检测的顺序采集缓存队列中的突发信号数据。Optionally, when the detection of the signal data in the window is performed in parallel with the collection of the detected burst signal data, for the window in which the burst signal is detected, the bursts in the buffer queue are collected in the order in which the detection of the window is completed. Signaling data.

本发明首先检出突发信号,并启动数据采集;然后在采集过程中实时检测信号的消失情况,并在确认信号消失后停止采集。将信号数据持续输入缓存队列中,一边检测一边决定采集策略,直到将整个信号数据处理完成。The invention first detects the burst signal and starts data collection; then detects the disappearance of the signal in real time during the collection process, and stops the collection after confirming that the signal disappears. The signal data is continuously input into the buffer queue, and the acquisition strategy is determined while detecting, until the entire signal data is processed.

本发明突发信号采集方法通过将信号数据输入缓存队列,在缓存队列中通过设置多个窗口快速完成对每个窗口内信号数据的检测,提高了信号数据检测的速度,并在检测出突发信号的情况下,自起始窗口至结束窗口完整采集缓存队列中暂存的突发信号数据;由于突发信号检出时,信号数据仍在缓存队列中,进而在无人值守的情况下实现了突发信号出现时刻对信号数据的无损采集。The burst signal acquisition method of the present invention inputs the signal data into the cache queue, and quickly completes the detection of the signal data in each window by setting a plurality of windows in the cache queue, thereby improving the speed of signal data detection, and detecting the burst In the case of a signal, the burst signal data temporarily stored in the buffer queue is completely collected from the start window to the end window; since the signal data is still in the buffer queue when the burst signal is detected, it can be realized in an unattended condition It realizes the lossless collection of signal data when the burst signal occurs.

本发明一种突发信号采集方法中,在所述将信号数据存入缓存队列中,检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据的步骤之前还包括:In a burst signal acquisition method of the present invention, before the step of storing the signal data in the cache queue and detecting whether the signal data in each window in the cache queue is burst signal data, it also includes:

可选地,根据信号数据的带宽确定信号数据的采样率S。通常情况下,采样率S高于信号数据的带宽的两倍,以免出现混叠现象。Optionally, the sampling rate S of the signal data is determined according to the bandwidth of the signal data. Typically, the sampling rate S is higher than twice the bandwidth of the signal data to avoid aliasing.

进一步的,通过采样率确定缓存队列中的采样点的数量。具体地,采样率S乘以采样时间T即可计算得出缓存队列中采样点的数量L。Further, the number of sampling points in the cache queue is determined by the sampling rate. Specifically, the number L of sampling points in the buffer queue can be calculated by multiplying the sampling rate S by the sampling time T.

根据所述信号数据的采样率和所述突发信号数据检测的预设频率分辨率,确定所述窗口的宽度;determining the width of the window according to the sampling rate of the signal data and the preset frequency resolution of the detection of the burst signal data;

预设频率分辨率根据信号数据自身的特点预先设定。The preset frequency resolution is preset according to the characteristics of the signal data itself.

可选地,预设频率分辨率Δf=S/L。通过选取合适的采样率S和采样点数L确定预设频率分辨率Δf,以保证在该预设频率分辨率下能够准确的地分析信号的频率特征,且减少对计算资源的浪费。Optionally, the preset frequency resolution Δf=S/L. The preset frequency resolution Δf is determined by selecting an appropriate sampling rate S and the number of sampling points L, so as to ensure that the frequency characteristics of the signal can be accurately analyzed under the preset frequency resolution, and the waste of computing resources is reduced.

如图2所示,窗口的宽度N即窗口内包含的采样点的数量,也是每次检测时用到的采样点的数量。As shown in FIG. 2, the width N of the window is the number of sampling points contained in the window, and is also the number of sampling points used in each detection.

窗口的宽度通过信号数据的采样率和突发信号数据检测的预设频率分辨率确定。具体地,窗口的宽度N=S/Δf。The width of the window is determined by the sampling rate of the signal data and the preset frequency resolution of the burst signal data detection. Specifically, the width of the window N=S/Δf.

通过确定合适的预设频率分辨率确定合适的窗口的宽度,以保证窗口的大小使其至少能够完成一次完整的信号采样,又不因为包含的信号采样数据过多导致对每个窗口内数据检测的计算量过大。Determine the appropriate window width by determining the appropriate preset frequency resolution, so as to ensure that the size of the window enables at least one complete signal sampling, and does not cause data detection in each window due to too much signal sampling data contained The amount of calculation is too large.

根据所述信号数据的采样率和所述突发信号数据检测的预设时间分辨率,确定所述窗口的步进。The step of the window is determined according to the sampling rate of the signal data and the preset time resolution of the detection of the burst signal data.

预设时间分辨率Δt即能够检测出突发持续时长大于等于Δt的突发信号,也就是说,预设时间分辨率Δt小于等于能够检测出突发信号的突发持续时长。The preset time resolution Δt is able to detect the burst signal whose burst duration is greater than or equal to Δt, that is, the preset time resolution Δt is less than or equal to the burst duration that can detect the burst signal.

为了使缓存队列中的信号数据不被分割至两个相邻窗口导致漏检,本实施例中的窗口为滑动窗口。由于滑动窗口的步进太大会导致较小的信号数据被遗漏,需要通过采样率和预设时间分辨率确定窗口的步进。In order to prevent the signal data in the buffer queue from being divided into two adjacent windows and cause missed detection, the window in this embodiment is a sliding window. Since the step of the sliding window is too large, smaller signal data will be missed, and the step of the window needs to be determined by the sampling rate and the preset time resolution.

本实施例中,窗口的步进Δn=Δt×S。In this embodiment, the window step Δn=Δt×S.

本发明突发信号采集方法通过设置滑动窗口,且选取合理的窗口步进,使突发信号能被一个窗口完整检测,减少突发信号识别的遗漏,完整记录随机出现的短突发信号从出现到消失的过程,进而提高了突发信号记录的完整性。The burst signal acquisition method of the present invention sets a sliding window and selects a reasonable window step, so that the burst signal can be completely detected by one window, reduces the omission of burst signal identification, and completely records the randomly occurring short burst signal from its appearance The process of disappearing, thereby improving the integrity of burst signal recording.

本发明一种突发信号采集方法中,所述检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据的步骤包括:In a burst signal acquisition method of the present invention, the step of detecting whether the signal data in each window in the buffer queue is burst signal data includes:

对每个窗口内的信号数据进行快速傅里叶变换和频谱拼接,获取所述信号数据的频谱数据;Perform fast Fourier transform and spectrum splicing on the signal data in each window to obtain the spectrum data of the signal data;

本实施例中,检测缓存队列中每个窗口内的信号数据是否为突发信号数据的流程图如图3所示。In this embodiment, a flow chart of detecting whether the signal data in each window in the cache queue is burst signal data is shown in FIG. 3 .

对每个窗口内的信号数据采用快速傅里叶变换的方式进行运算,将信号数据从时域转换至频域。The signal data in each window is operated by fast Fourier transform, and the signal data is converted from the time domain to the frequency domain.

然后对快速傅里叶变换的运算结果进行如下所示的数据变换和频谱拼接,从而得到该窗口内信号数据的完整频谱:Then perform the following data transformation and spectrum splicing on the operation results of the fast Fourier transform, so as to obtain the complete spectrum of the signal data in the window:

将FFT运算后的结果记为,其中N为窗口宽度。Record the result after FFT operation as , where N is the window width.

记频谱结果数据为,则通过倒置运算完成频谱拼接后:Record the spectrum result data as , after the spectrum stitching is completed through the inversion operation:

.

通过以上方式实现频谱拼接后,即可得到窗口内一个完整的信号数据的频谱数据。After the spectrum splicing is realized through the above method, the spectrum data of a complete signal data in the window can be obtained.

将每个窗口对应的各频谱数据与第一预设阈值进行比较,统计每个窗口对应的大于所述第一预设阈值的频谱数据个数;Comparing the spectral data corresponding to each window with a first preset threshold, and counting the number of spectral data corresponding to each window greater than the first preset threshold;

第一预设阈值的大小根据经验确定。The size of the first preset threshold is determined based on experience.

可选地,第一预设阈值可为信号检测门限。对于每一个窗口中的信号数据,将这些数据逐一与信号检测门限比较,统计超出信号检测门限的频谱数据个数。Optionally, the first preset threshold may be a signal detection threshold. For the signal data in each window, these data are compared with the signal detection threshold one by one, and the number of spectrum data exceeding the signal detection threshold is counted.

可选地,第一预设阈值可为信号检测峰值。对于每一个窗口中的信号数据,将这些信号数据逐一与信号检测峰值比较,统计信号峰值超出第一预设阈值的频谱数据个数。Optionally, the first preset threshold may be a signal detection peak value. For the signal data in each window, these signal data are compared with the signal detection peak value one by one, and the number of frequency spectrum data whose signal peak value exceeds the first preset threshold is counted.

在所述频谱数据个数大于第二预设阈值的情况下,确定所述窗口内的信号数据为突发信号数据。If the number of spectrum data is greater than a second preset threshold, it is determined that the signal data in the window is burst signal data.

第二预设阈值根据经验确定。当频谱数据个数大于第二预设阈值时,即连续有信号检出,则确定窗口内的信号数据为突发信号数据,以避免噪声或不稳定信号对信号检测的影响。The second preset threshold is determined based on experience. When the number of spectrum data is greater than the second preset threshold, that is, signals are detected continuously, the signal data in the window is determined to be burst signal data, so as to avoid the influence of noise or unstable signals on signal detection.

本实施例在频谱数据个数时,对其连续性不做限定。In this embodiment, there is no limitation on the continuity of the number of spectrum data.

例如,每个窗口中含有1000个样点,当第二预设阈值为10时,若每个窗口中有12个样点的频谱数据大于第一预设阈值,即窗口中频谱数据个数大于第二预设阈值,此时确定窗口内的信号数据为突发信号数据。For example, each window contains 1000 samples, when the second preset threshold is 10, if the spectral data of 12 samples in each window is greater than the first preset threshold, that is, the number of spectral data in the window is greater than The second preset threshold, at this time, it is determined that the signal data within the window is burst signal data.

本发明一种突发信号采集方法通过将每个窗口内多个样点的频谱数据与第一预设阈值对比,在超过第一预设阈值的频谱数据个数大于第二预设阈值的情况下,排除噪声和不稳定信号对检测结果的影响,确定窗口内出现突发信号,提高了对突发信号识别的准确性,减少了对无效噪声数据的采集,且具有普适性。A burst signal acquisition method of the present invention compares the spectrum data of multiple sample points in each window with the first preset threshold, and when the number of spectrum data exceeding the first preset threshold is greater than the second preset threshold Under this condition, the influence of noise and unstable signals on the detection results is eliminated, and burst signals appear in the determined window, which improves the accuracy of burst signal identification, reduces the collection of invalid noise data, and has universal applicability.

本发明一种突发信号采集方法中,所述在所述频谱数据个数大于第二预设阈值的情况下,确定所述窗口内的信号数据为突发信号数据包括:In a burst signal acquisition method of the present invention, in the case where the number of spectrum data is greater than a second preset threshold, determining that the signal data in the window is burst signal data includes:

提取每个所述窗口内的信号数据的特征,将所述信号数据的特征与目标突发信号的特征进行匹配;extracting the features of the signal data in each window, and matching the features of the signal data with the features of the target burst signal;

目标突发信号为期望采集的突发信号。信号特征可以为基于目标突发信号确定的专有特征。The target burst signal is the burst signal expected to be collected. The signal feature may be a proprietary feature determined based on the target burst signal.

可选地,信号数据的特征可以包括信号的时域特征、频域特征、统计特征、时频特征及非线性特征中的一种或多种。Optionally, the features of the signal data may include one or more of time-domain features, frequency-domain features, statistical features, time-frequency features, and nonlinear features of the signal.

其中,信号的时域特征描述信号在时间上的变化规律,包括信号的幅度、相位、频率和周期等。Among them, the time-domain characteristics of the signal describe the change law of the signal in time, including the amplitude, phase, frequency and period of the signal.

信号的频域特征描述信号在频域上的分布规律,包括信号的频率、带宽和谱形等。The frequency domain characteristics of a signal describe the distribution of the signal in the frequency domain, including the frequency, bandwidth, and spectral shape of the signal.

信号的统计特征描述信号的概率分布,包括信号的均值、方差和概率密度函数等。The statistical characteristics of the signal describe the probability distribution of the signal, including the mean value, variance and probability density function of the signal.

信号的时频特征描述信号在时域和频域上的变化规律,包括信号的瞬时频率、瞬时幅度和瞬时相位等。The time-frequency characteristics of the signal describe the variation law of the signal in the time domain and frequency domain, including the instantaneous frequency, instantaneous amplitude and instantaneous phase of the signal.

信号的非线性特征描述信号的非线性特性,包括信号的混沌值、自相似性和自适应性等。The nonlinear characteristics of the signal describe the nonlinear characteristics of the signal, including the chaotic value, self-similarity and adaptability of the signal.

不同的信号具有不同的特征,通过灵活设置信号数据的特征,将其与目标突发信号的特征进行匹配,进而对检测出的突发信号进行筛选。Different signals have different characteristics. By flexibly setting the characteristics of the signal data, it is matched with the characteristics of the target burst signal, and then the detected burst signal is screened.

在所述信号数据的特征和所述目标突发信号的特征匹配成功,且在所述频谱数据个数大于第二预设阈值的情况下,确定所述窗口内的信号数据为突发信号数据。When the characteristics of the signal data and the characteristics of the target burst signal are successfully matched, and when the number of the spectrum data is greater than a second preset threshold, determine that the signal data in the window is burst signal data .

可选地,当信号数据的特征与目标突发信号的特征相似度超过第三预设阈值时,确定信号数据的特征和目标突发信号的特征匹配成功,该突发信号的种类与目标突发信号的种类相同。其中,第三预设阈值通过经验设定。Optionally, when the similarity between the feature of the signal data and the feature of the target burst signal exceeds the third preset threshold, it is determined that the feature of the signal data matches the feature of the target burst signal successfully, and the type of the burst signal is similar to the target burst signal. Signaling is of the same kind. Wherein, the third preset threshold is set through experience.

在此基础上,当特征匹配成功的信号数据的频谱数据个数大于第二预设阈值的情况下,确定窗口内的信号数据为期望采集的突发信号数据。On this basis, when the number of frequency spectrum data of the signal data whose features are successfully matched is greater than the second preset threshold, it is determined that the signal data within the window is burst signal data expected to be collected.

本发明突出信号采集方法通过对窗口内的信号数据根据目标突发信号的特征进行匹配,筛选出信号种类与目标突发信号相同的突发信号数据,实现对突发信号的定向检测和精准匹配,尽可能避免对无效数据的存储和处理,节省了数据存储空间,大幅度提高了信号采集的效率。The outstanding signal acquisition method of the present invention matches the signal data in the window according to the characteristics of the target burst signal, and screens out the burst signal data whose signal type is the same as the target burst signal, so as to realize the directional detection and precise matching of the burst signal , to avoid the storage and processing of invalid data as much as possible, save data storage space, and greatly improve the efficiency of signal acquisition.

本发明一种突发信号采集方法中,所述根据每个窗口对应的检测结果,确定所述窗口中信号数据采集的起始窗口和结束窗口的步骤包括:In a burst signal acquisition method of the present invention, the step of determining the start window and end window of signal data acquisition in the window according to the detection result corresponding to each window includes:

在最近一次采集所述信号数据之后,将首个检测结果为突发信号数据的窗口作为所述信号数据采集的起始窗口;After the latest collection of the signal data, the first detection result is a window of burst signal data as the initial window of the signal data collection;

也就是说,当存在窗口中的信号数据检测结果为图像信号数据时,即启动信号数据采集工作,从首个检测结果为突发信号数据的窗口开始连续采集突发信号。That is to say, when the detection result of the signal data in the existing window is image signal data, the signal data acquisition work is started, and the burst signal is continuously collected from the first window in which the detection result is burst signal data.

在连续预设个数的窗口的检测结果不为突发信号数据的情况下,根据所述连续预设个数的窗口确定所述信号数据采集的结束窗口。In the case that the detection result of the continuous preset number of windows is not burst signal data, the end window of the signal data collection is determined according to the continuous preset number of windows.

连续预设个数根据经验确定。The number of consecutive presets is determined based on experience.

在一种可行的实施方式中,将检测出突发信号的窗口标记为1,将未检出突发信号的窗口标记为0,若连续预设个数的窗口均标记为0,则表示突发信号消失,可以终止本次信号采集。In a feasible implementation, the window in which the burst signal is detected is marked as 1, and the window in which the burst signal is not detected is marked as 0. If the signal disappears, this signal acquisition can be terminated.

可选地,在信号数据能够持续进入缓存队列的情况下,当连续预设个数的窗口标记为0后,将最后一个标记为0的窗口作为结束窗口。Optionally, when the signal data can continue to enter the buffer queue, after a preset number of consecutive windows are marked as 0, the last window marked as 0 is used as the end window.

可选地,在将所有窗口内的信号数据检测完成后,下一组信号数据才进入该缓存队列的情况下,连续预设个数的窗口标记为0后,将倒数第二个标记为0的窗口作为结束窗口。Optionally, when the next set of signal data enters the buffer queue after the detection of signal data in all windows is completed, after a preset number of consecutive windows are marked as 0, the penultimate one is marked as 0 window as the end window.

本发明突发信号采集方法通过根据连续预设个数的检测结果不为突发信号数据的窗口确定数据采集的结束窗口,尽可能降低了信号波动导致的信号不连贯对突发信号采集的影响,能够准确检测突发信号消失时刻并停止数据记录,更加完整地采集突发信号。The burst signal collection method of the present invention determines the end window of data collection according to the continuous preset number of detection results not being the burst signal data window, thereby reducing the impact of signal incoherence caused by signal fluctuations on burst signal collection as much as possible , can accurately detect the moment when the burst signal disappears and stop data recording, and collect the burst signal more completely.

本发明一种突发信号采集方法中,还包括:In a kind of burst signal acquisition method of the present invention, also comprise:

根据所述缓存队列的长度和所述信号数据的采样率,确定所述缓存队列对应的采样时长;Determine the sampling duration corresponding to the buffer queue according to the length of the buffer queue and the sampling rate of the signal data;

采样时长即采样的信号数据填满一列缓存队列的时间,采样时长等于缓存队列的长度L除以采样率S。The sampling duration is the time when the sampled signal data fills a buffer queue, and the sampling duration is equal to the length L of the buffer queue divided by the sampling rate S.

根据所述缓存队列的长度和所述窗口的步进,确定所述缓存队列对应的窗口数量;determining the number of windows corresponding to the buffer queue according to the length of the buffer queue and the step of the window;

缓存队列对应的窗口数量即每个缓存队列需要完成信号检测的数据帧数量,具体为L/Δn=L/(Δt×S)。The number of windows corresponding to the cache queue is the number of data frames that each cache queue needs to complete signal detection, specifically L/Δn=L/(Δt×S).

在所述采样时长内检测完所述窗口数量对应窗口内的信号数据是否为突发信号数据。Whether the signal data in the window corresponding to the number of windows is detected within the sampling duration is burst signal data.

在信号数据能够持续进入缓存队列的情况下,为了实现突发信号的实时检出和无损采集,需要在缓存队列对应的采样时长内完成对所有窗口的信号数据的检测,以避免有突发信号数据在完成检测前被后续进入的信号数据覆盖,导致突发信号无法完整采集。In the case that the signal data can continue to enter the buffer queue, in order to realize the real-time detection and lossless acquisition of burst signals, it is necessary to complete the detection of the signal data of all windows within the sampling time corresponding to the buffer queue to avoid burst signals The data is overwritten by subsequent incoming signal data before the detection is completed, resulting in incomplete collection of burst signals.

也就是说,需要在L/S的时间内能够完成L/(Δt×S)个数据帧的检测。That is to say, the detection of L/(Δt×S) data frames needs to be completed within the time of L/S.

本发明突发信号采集方法中,通过确定每个窗口的最大检测时长,确保在缓存队列中的数据被覆盖前,完成所有窗口内信号数据的检测和采集,同时达成了准确高效的突发信号检测识别和突发信号数据的记录,并保障了突发信号采集的完整性,实现了了信号检测与数据采集的一体化解决方案。In the burst signal collection method of the present invention, by determining the maximum detection duration of each window, it is ensured that the detection and collection of signal data in all windows are completed before the data in the cache queue is overwritten, and an accurate and efficient burst signal is achieved at the same time It detects and identifies and records burst signal data, and ensures the integrity of burst signal acquisition, realizing an integrated solution for signal detection and data acquisition.

本发明一种突发信号采集方法中,所述检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据的步骤包括:In a burst signal acquisition method of the present invention, the step of detecting whether the signal data in each window in the buffer queue is burst signal data includes:

通过图形处理器检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据,使得所述缓存队列中所有窗口的检测时长小于所述采样时长。The graphics processor detects whether the signal data in each window in the buffer queue is burst signal data, so that the detection duration of all windows in the buffer queue is shorter than the sampling duration.

为了满足快速傅里叶算法对算力的要求,实现每个窗口的检测时长小于每个窗口对应的最大检测时长,在一种可行的实施方式中,将突发数据检测移植到图形处理器上完成并行运算,以实现缓存队列中所有窗口的检测时长小于采样时长。In order to meet the computing power requirements of the Fast Fourier algorithm and realize that the detection duration of each window is less than the maximum detection duration corresponding to each window, in a feasible implementation, the burst data detection is transplanted to the graphics processor Complete the parallel operation to realize that the detection duration of all windows in the cache queue is less than the sampling duration.

具体地,采集信号数据后,在图形处理器中对信号数据完成快速傅里叶运算,并对快速傅里叶运算的结果进行数据变换和频谱拼接,并确定起始窗口和结束窗口。Specifically, after the signal data is collected, a fast Fourier operation is performed on the signal data in the graphics processor, data transformation and spectrum splicing are performed on the result of the fast Fourier operation, and a start window and an end window are determined.

本发明突发信号采集方法通过在图形处理器中检测缓存队列中每个窗口内的信号数据是否为突发信号数据,满足了时间分辨率的要求,使得信号检测运算速率超出数据采样速率。The burst signal acquisition method of the present invention meets the requirement of time resolution by detecting whether the signal data in each window in the buffer queue is burst signal data in the graphics processor, so that the signal detection operation rate exceeds the data sampling rate.

下面对本发明提供的突发信号采集装置进行描述,下文描述的突发信号采集装置与上文描述的突发信号采集方法可相互对应参照。The burst signal acquisition device provided by the present invention is described below, and the burst signal acquisition device described below and the burst signal acquisition method described above can be referred to in correspondence.

如图4所示,该装置包括检测模块401、确定模块402和采集模块403,其中:As shown in Figure 4, the device includes a detection module 401, a determination module 402 and an acquisition module 403, wherein:

检测模块401,用于将信号数据存入缓存队列中,检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据;A detection module 401, configured to store signal data in a cache queue, and detect whether the signal data in each window in the cache queue is burst signal data;

突发信号的检测和数据记录密不可分,为了同时实现突发信号的检测识别和信号采集,预先设定数据缓存队列,并划分出多个窗口,在每个窗口中检测信号数据是否为突发信号数据。Burst signal detection and data recording are inseparable. In order to realize burst signal detection and signal acquisition at the same time, the data buffer queue is set in advance, and multiple windows are divided to detect whether the signal data is burst in each window. signal data.

本实施例对窗口的类型不做限定。This embodiment does not limit the type of the window.

可选地,窗口可为滚动窗口。具体地,将缓存队列均匀划分出多个窗口,每个窗口间互不重叠且相邻两个窗口间没有间隔。在缓存队列中对每个窗口内的信号数据进行检测,并确定每个窗口内的信号数据是否为突发信号数据。Optionally, the window may be a scrolling window. Specifically, the cache queue is evenly divided into multiple windows, each window does not overlap with each other and there is no interval between two adjacent windows. The signal data in each window is detected in the buffer queue, and whether the signal data in each window is burst signal data is determined.

可选地,窗口可为滑动窗口。具体地,以某一固定步进将缓存队列划分出多个大小相同的窗口,在缓存队列中对每个窗口内的信号数据进行检测,并确定每个窗口内的信号数据是否为突发信号数据。Optionally, the window may be a sliding window. Specifically, divide the buffer queue into multiple windows of the same size at a fixed step, detect the signal data in each window in the buffer queue, and determine whether the signal data in each window is a burst signal data.

其中,每个窗口至少需要能够容纳一次完整的信号采集的数据。Wherein, each window needs to be able to accommodate at least one complete signal acquisition data.

本实施例对缓存队列的大小不做限定。在一种可行的实施方式中,将1秒中内采样的信号数据输入缓存队列中。This embodiment does not limit the size of the cache queue. In a feasible implementation manner, the signal data sampled within 1 second is input into the cache queue.

可选地,缓存队列可为一个或多个。Optionally, there may be one or more cache queues.

缓存队列为一个时,将所有窗口内的信号数据检测完成后,下一组信号数据进入该缓存队列,以避免信号数据的遗失。When there is one buffer queue, after the detection of signal data in all windows is completed, the next set of signal data enters the buffer queue to avoid loss of signal data.

缓存队列为多个时,可以采用并行处理技术检测每个窗口中的信号数据,以实现数据流的循环,使得信号数据能够持续进入缓存队列,提升信号采集的效率。When there are multiple buffer queues, parallel processing technology can be used to detect signal data in each window to realize the cycle of data flow, so that signal data can continuously enter the buffer queue and improve the efficiency of signal acquisition.

并行处理技术可以为ping-pong buffer(乒乓缓冲)。The parallel processing technology may be ping-pong buffer (ping-pong buffer).

本实施例中的检测方式可为傅里叶变换、快速傅里叶变换或能量检测等,本实施例对信号数据检测的方式不做限定。The detection method in this embodiment may be Fourier transform, fast Fourier transform, energy detection, etc., and the method of signal data detection is not limited in this embodiment.

确定模块402,用于根据每个窗口对应的检测结果,确定所述窗口中信号数据采集的起始窗口和结束窗口;A determination module 402, configured to determine a start window and an end window for signal data collection in the window according to the detection result corresponding to each window;

自起始窗口至结束窗口的所有窗口共同记录完成一个完整的突发信号。All windows from the start window to the end window record together to complete a complete burst signal.

缓存队列中,第一个检测出突发信号的窗口为数据采集的起始窗口。In the cache queue, the first window in which a burst signal is detected is the start window of data acquisition.

可选地,结束窗口位于出现突发信号后,第一次未检测出突发信号的窗口之后,以增加突发信号记录的完整性。Optionally, the end window is located after the burst signal occurs and after the window in which the burst signal is not detected for the first time, so as to increase the integrity of burst signal recording.

采集模块403,用于采集所述缓存队列中从起始窗口到结束窗口的信号数据。The collection module 403 is configured to collect signal data from the start window to the end window in the buffer queue.

缓存队列中自起始窗口到结束窗口的信号数据共同构成一个完成的突发信号数据。The signal data from the start window to the end window in the buffer queue together constitute a completed burst signal data.

可选地,在所有窗口内的信号数据检测完成后,下一组信号数据才进入该缓存队列的情况下,待缓存队列中所有窗口的信号数据检测完成后,采集缓存队列中的突发信号数据。Optionally, when the next set of signal data enters the buffer queue after the detection of signal data in all windows is completed, the burst signal in the buffer queue is collected after the detection of signal data in all windows in the buffer queue is completed data.

可选地,在对窗口内的信号数据的检测和对检测出的突发信号数据采集并列进行的情况下,对于检测出突发信号的窗口,按窗口完成检测的顺序采集缓存队列中的突发信号数据。Optionally, when the detection of the signal data in the window is performed in parallel with the collection of the detected burst signal data, for the window in which the burst signal is detected, the bursts in the buffer queue are collected in the order in which the detection of the window is completed. Signaling data.

本发明首先检出突发信号,并启动数据采集;然后在采集过程中实时检测信号的消失情况,并在确认信号消失后停止采集。将信号数据持续输入缓存队列中,一边检测一边决定采集策略,直到将整个信号数据处理完成。The invention first detects the burst signal and starts data collection; then detects the disappearance of the signal in real time during the collection process, and stops the collection after confirming that the signal disappears. The signal data is continuously input into the buffer queue, and the acquisition strategy is determined while detecting, until the entire signal data is processed.

本发明突发信号采集方法通过将信号数据输入缓存队列,在缓存队列中通过设置多个窗口快速完成对每个窗口内信号数据的检测,提高了信号数据检测的速度,并在检测出突发信号的情况下,自起始窗口至结束窗口完整采集缓存队列中暂存的突发信号数据;由于突发信号检出时,信号数据仍在缓存队列中,进而在无人值守的情况下实现了突发信号出现时刻对信号数据的无损采集。The burst signal acquisition method of the present invention inputs the signal data into the cache queue, and quickly completes the detection of the signal data in each window by setting a plurality of windows in the cache queue, thereby improving the speed of signal data detection, and detecting the burst In the case of a signal, the burst signal data temporarily stored in the buffer queue is completely collected from the start window to the end window; since the signal data is still in the buffer queue when the burst signal is detected, it can be realized in an unattended condition It realizes the lossless collection of signal data when the burst signal occurs.

图5示例了一种电子设备的实体结构示意图,如图5所示,该电子设备可以包括:处理器(processor)510、通信接口(Communications Interface)520、存储器(memory)530和通信总线540,其中,处理器510,通信接口520,存储器530通过通信总线540完成相互间的通信。处理器510可以调用存储器530中的逻辑指令,以执行突发信号采集方法,该方法包括:将信号数据存入缓存队列中,检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据;根据每个窗口对应的检测结果,确定所述窗口中信号数据采集的起始窗口和结束窗口;采集所述缓存队列中从起始窗口到结束窗口的信号数据。FIG. 5 illustrates a schematic diagram of the physical structure of an electronic device. As shown in FIG. 5, the electronic device may include: a processor (processor) 510, a communication interface (Communications Interface) 520, a memory (memory) 530 and a communication bus 540, Wherein, the processor 510 , the communication interface 520 , and the memory 530 communicate with each other through the communication bus 540 . The processor 510 can call the logic instructions in the memory 530 to execute the burst signal acquisition method. The method includes: storing the signal data in the cache queue, and detecting whether the signal data in each window in the cache queue is burst Signal data; according to the detection results corresponding to each window, determine the start window and end window of signal data collection in the window; collect the signal data from the start window to the end window in the buffer queue.

此外,上述的存储器530中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above logic instructions in the memory 530 may be implemented in the form of software function units and be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program codes. .

又一方面,本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法提供的突发信号采集方法,该方法包括:将信号数据存入缓存队列中,检测所述缓存队列中每个窗口内的信号数据是否为突发信号数据;根据每个窗口对应的检测结果,确定所述窗口中信号数据采集的起始窗口和结束窗口;采集所述缓存队列中从起始窗口到结束窗口的信号数据。In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it is implemented to perform the burst signal acquisition method provided by the above-mentioned methods, the method Including: storing signal data in a buffer queue, detecting whether the signal data in each window in the buffer queue is burst signal data; determining the starting point of signal data acquisition in the window according to the detection result corresponding to each window start window and end window; collect signal data from the start window to the end window in the buffer queue.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic Disks, CDs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (9)

1. The burst signal acquisition method is characterized by comprising the following steps:
storing signal data into a buffer queue, and detecting whether the signal data in each window in the buffer queue is burst signal data or not;
determining a start window and an end window of signal data acquisition in each window according to a detection result corresponding to each window;
collecting signal data from a start window to an end window in the buffer queue;
before the step of storing the signal data into the buffer queue and detecting whether the signal data in each window in the buffer queue is burst signal data, the method further comprises:
determining the width of the window according to the sampling rate of the signal data and the preset frequency resolution of the burst signal data detection;
determining the step of the window according to the sampling rate of the signal data and the preset time resolution of the burst signal data detection;
wherein the number of the cache queues is multiple.
2. The burst signal acquisition method as claimed in claim 1, wherein the step of detecting whether the signal data in each window in the buffer queue is burst signal data comprises:
performing fast Fourier transform and spectrum splicing on the signal data in each window to obtain spectrum data of the signal data;
comparing each spectrum data corresponding to each window with a first preset threshold value, and counting the number of spectrum data which is larger than the first preset threshold value and corresponds to each window;
and under the condition that the number of the frequency spectrum data is larger than a second preset threshold value, determining the signal data in the window as burst signal data.
3. The method for collecting burst signals according to claim 2, wherein determining that the signal data in the window is burst signal data when the number of the spectrum data is greater than a second preset threshold value comprises:
extracting the characteristics of the signal data in each window, and matching the characteristics of the signal data with the characteristics of the target burst signal;
and under the condition that the characteristics of the signal data and the characteristics of the target burst signal are successfully matched and the number of the frequency spectrum data is larger than a second preset threshold value, determining the signal data in the window as burst signal data.
4. A burst signal acquisition method as claimed in any one of claims 1 to 3, wherein the step of determining a start window and an end window of signal data acquisition in the windows according to the detection result corresponding to each window comprises:
after the signal data is acquired last time, taking a window with a first detection result being burst signal data as a starting window for the signal data acquisition;
and under the condition that the detection result of the windows with the continuous preset number is not burst signal data, determining an ending window of signal data acquisition according to the windows with the continuous preset number.
5. A burst signal acquisition method according to any one of claims 1-3, further comprising:
determining the sampling time length corresponding to the buffer queue according to the length of the buffer queue and the sampling rate of the signal data;
determining the number of windows corresponding to the cache queue according to the length of the cache queue and the steps of the windows;
and detecting whether the signal data in the window corresponding to the number of the windows is burst signal data or not in the sampling time length.
6. The burst signal acquisition method as claimed in claim 5, wherein the step of detecting whether the signal data in each window in the buffer queue is burst signal data comprises:
and detecting whether the signal data in each window in the buffer queue is burst signal data or not through a graphic processor, so that the detection duration of all windows in the buffer queue is smaller than the sampling duration.
7. A burst signal acquisition device, comprising:
the detection module is used for storing the signal data into a buffer queue and detecting whether the signal data in each window in the buffer queue is burst signal data or not;
the determining module is used for determining a starting window and an ending window of signal data acquisition in each window according to the detection result corresponding to each window;
the acquisition module is used for acquiring signal data from a start window to an end window in the buffer queue;
the device also comprises a selection module, a control module and a control module, wherein the selection module is used for determining the width of the window according to the sampling rate of the signal data and the preset frequency resolution of the burst signal data detection;
determining the step of the window according to the sampling rate of the signal data and the preset time resolution of the burst signal data detection;
wherein the number of the cache queues is multiple.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the burst signal acquisition method according to any one of claims 1 to 6 when the program is executed by the processor.
9. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the burst signal acquisition method according to any one of claims 1 to 6.
CN202310532659.0A 2023-05-12 2023-05-12 Burst signal acquisition method and device Active CN116244637B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310532659.0A CN116244637B (en) 2023-05-12 2023-05-12 Burst signal acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310532659.0A CN116244637B (en) 2023-05-12 2023-05-12 Burst signal acquisition method and device

Publications (2)

Publication Number Publication Date
CN116244637A CN116244637A (en) 2023-06-09
CN116244637B true CN116244637B (en) 2023-08-01

Family

ID=86633489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310532659.0A Active CN116244637B (en) 2023-05-12 2023-05-12 Burst signal acquisition method and device

Country Status (1)

Country Link
CN (1) CN116244637B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118921140B (en) * 2024-10-08 2024-12-17 成都华日通讯技术股份有限公司 Interphone relay station signal identification method, device, medium and equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116055271A (en) * 2023-01-13 2023-05-02 重庆大学 A Burst Signal Detection Method with Double Sliding Windows under Specific Waveform Structure

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100436166B1 (en) * 2001-12-27 2004-06-12 한국전자통신연구원 Apparatus for detecting burst signal and method thereof
CN110929842B (en) * 2019-10-15 2023-06-20 中国人民解放军国防科技大学 Accurate intelligent detection method for non-cooperative radio signal burst time region
CN111600647B (en) * 2020-05-22 2021-07-06 上海航天电子通讯设备研究所 System and method for detecting collision energy of satellite-borne AIS signal multiple time slots
CN113407903B (en) * 2021-08-20 2021-12-24 成都云溯新起点科技有限公司 Smooth fitting-based frequency spectrum splicing method
CN114280368B (en) * 2021-12-28 2023-08-11 成都爱科特科技发展有限公司 Burst signal detection method and system in complex environment
CN114584227B (en) * 2022-01-12 2023-08-22 中国电子科技集团公司第十研究所 Automatic burst signal detection method
CN115951124A (en) * 2022-12-30 2023-04-11 中国电子科技集团公司第十研究所 Time-frequency domain combined continuous and burst signal detection method and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116055271A (en) * 2023-01-13 2023-05-02 重庆大学 A Burst Signal Detection Method with Double Sliding Windows under Specific Waveform Structure

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于FPGA的实时双目图像采集与预处理系统设计;任梦茹等;《自动化与仪表》(01);全文 *

Also Published As

Publication number Publication date
CN116244637A (en) 2023-06-09

Similar Documents

Publication Publication Date Title
WO2017181772A1 (en) Speech detection method and apparatus, and storage medium
CN116244637B (en) Burst signal acquisition method and device
CN110689885B (en) Machine synthesized voice recognition method, device, storage medium and electronic equipment
WO2020228107A1 (en) Audio repair method and device, and readable storage medium
CN108737318A (en) Ofdm signal recognition methods based on signal structure characteristic and system
CN111210817B (en) Data processing method and device
CN106254007B (en) A kind of frequency spectrum sensing method and device applied to LTE230 system
CN113325414B (en) Target detection equipment and storage
CN115545082B (en) Mass spectrogram generation method, device and system and readable storage medium
CN109507645B (en) Method and device for extracting pulse description word
CN112834875A (en) Partial discharge pulse segmentation method and system
CN110632563A (en) A method for measuring parameters of intrapulse frequency-encoded signals based on short-time Fourier transform
CN117560037A (en) Real-time acquisition detection method and system for frequency hopping signals
CN110931021A (en) Audio signal processing method and device
CN112002345B (en) Recording detection method and device suitable for sound waves
CN113163424B (en) NR cell PSS search method and detection equipment for detection equipment
CN110796644B (en) Defect detection method for audio file and related equipment
CN112750458B (en) Touch screen sound detection method and device
CN115347978A (en) Method, device and storage medium for identifying AIS frame header data
CN119010950B (en) Method, device, equipment and medium for estimating frequency hopping signal parameters based on clustering
CN111812404A (en) Signal processing method and processing device
CN113109630B (en) Pulse data processing method, device and blood cell analyzer
CN115242332B (en) Short wave channel fading estimation method, device, communication equipment and storage medium
CN108761441A (en) A kind of radar signal phase comparing recognition methods and device
CN114999537B (en) Abnormal sound signal detection method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 100176 room 1403, 14th floor, building 4, yard 15, Ronghua South Road, economic and Technological Development Zone, Daxing District, Beijing

Patentee after: Zhongxing Lianhua Technology (Beijing) Co.,Ltd.

Country or region after: China

Address before: Room 1403, 14th Floor, Building 4, No.15 Ronghua South Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing

Patentee before: ZHONGXING LIANHUA TECHNOLOGY (BEIJING) CO.,LTD.

Country or region before: China

CP03 Change of name, title or address