A data filtering method, device, computer equipment and storage medium

Through the data filtering method of multiplication amplification and offset parameter determination, the problem of analog signal interference in the missile flight environment is solved, and the effective filtering of occasional data jumps and periodic signal interference is realized, which improves the authenticity and stability of data acquisition.

CN114679156BActive Publication Date: 2025-04-01BEIJING ONE SPACE ELECTRONICS CO LTD +4
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210285144.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-23
Publication Date
2025-04-01
Estimated Expiration
2042-03-23

AI Technical Summary

Technical Problem

In environments with high missile flight altitudes, analog signals are easily disturbed by external environments, resulting in signal amplitude jump and periodic alternating interference. It is difficult for existing filtering methods to effectively identify and remove these interferences.

Method used

By obtaining the basic data to be filtered, the multiplication amplification and cancellation parameters are determined, and finally the multiplication amplification and signal exclusion are performed to obtain the target data to achieve filtering of occasional data jumps and periodic signal interference.

Benefits of technology

This method can dynamically approach zero's difference between the target data and the basic data, realize the data collection closest to the real data, avoid the disadvantage of the value collected in the case of poor quality of the hardware output signal and the harsh working environment, and enhance the effect of data filtering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114679156B_ABST
    Figure CN114679156B_ABST
Patent Text Reader

Abstract

The present invention provides a data filtering method, including: obtaining the first basic data to be filtered, determining the corresponding first multiple data according to the first basic data; amplifying the first basic data according to the first multiple data to obtain the first integrated data; determining the corresponding first offset parameter according to the first basic data and the first multiple data; reducing the first integrated data according to the first offset parameter, and excluding the signal falling outside the first target interval to obtain the first target data. A data filtering device, a computer device and a storage medium are also provided. The acquired basic data is amplified, and then reduced according to the determined offset parameter, so that the difference between the target data and the basic data is finally dynamically approached to 0. The entire calculation process filters out occasional data jumps, periodic signal interference, and various stray adverse signals, thereby achieving data collection that is closest to real data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data filtering method, device, computer equipment and storage medium. Background Art

[0002] When the power supply system is working, it is necessary to collect data on many analog signals. Since the missile's flight altitude can generally reach more than 10,000 meters, the power supply and external electromagnetic interference and other external environmental interference will cause the analog signal amplitude to be at risk of jumping, and even periodic AC interference. When the MCU performs analog acquisition, the original signal and signal interference cannot be obtained.

[0003] In response to the above problems, in the prior art, the collected AD values ​​can be stored in corresponding registers for average value filtering and RC filtering, but in this method, there is a possibility of recognition errors when processing some periodic interference signals; the original data can also be processed by median filtering, but in this method, data restoration and response timeliness are greatly tested when the data fluctuates greatly. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention provides a data filtering method, device, computer equipment and storage medium.

[0005] In a first aspect, in one embodiment, the present invention provides a data filtering method, comprising:

[0006] Acquire first basic data to be filtered, and determine corresponding first multiple data according to the first basic data;

[0007] Amplify the first basic data by multiples according to the first multiples data to obtain first integrated data;

[0008] Determine a corresponding first offset parameter according to the first basic data and the first multiple data;

[0009] The first integrated data is reduced in magnitude according to the first offset parameter, and signals outside the first target interval are excluded to obtain first target data.

[0010] In one embodiment, before the step of obtaining the first basic data to be filtered, the data filtering method further includes:

[0011] The collected data sources are first sorted to exclude signals outside the first target interval to obtain first basic data.

[0012] In one embodiment, the collected data sources are first sorted, including:

[0013] Sort the collected data sources;

[0014] Remove and discard the data on both sides of the sequence obtained by sorting;

[0015] The interval where the remaining data is located is taken as the first target interval.

[0016] In one embodiment, determining the corresponding first offset parameter according to the first basic data and the first multiple data includes: Obtain a first offset parameter X;

[0017] Wherein, A[a] is the ath array in the first basic data, n is the total number of arrays of the first basic data, Q is the first exclusion factor, and B is the first multiple data.

[0018] In one embodiment, the data filtering method further includes:

[0019] Acquire the second basic data to be filtered, and determine the corresponding second multiple data according to the second basic data;

[0020] Amplifying the second basic data by multiples according to the second multiples data to obtain second integrated data;

[0021] Determine a corresponding second offset parameter according to the second basic data and the second multiple data;

[0022] The second integrated data is reduced in magnitude according to the second offset parameter, and signals falling outside the second target interval are excluded to obtain second target data;

[0023] The final target data is obtained according to the first target data and the second target data.

[0024] In one embodiment, before the step of obtaining the second basic data to be filtered, the data filtering method further includes:

[0025] The collected data sources are subjected to a second sorting operation to exclude signals outside the second target interval, thereby obtaining second basic data.

[0026] In one embodiment, performing a second sorting on the collected data sources includes:

[0027] Sort the collected data sources;

[0028] Remove and discard the data on both sides of the sequence obtained by sorting;

[0029] The interval where the remaining data is located is taken as the second target interval.

[0030] In a second aspect, in one embodiment, the present invention provides a data filtering device, comprising:

[0031] A first multiple data determination module, used for acquiring first basic data to be filtered, and determining corresponding first multiple data according to the first basic data;

[0032] A first multiple amplification module, used to multiple the first basic data according to the first multiple data to obtain first integrated data;

[0033] A first offset parameter determination module, used to determine a corresponding first offset parameter according to the first basic data and the first multiple data;

[0034] The first reduction module is used to reduce the first integrated data by multiples according to the first offset parameter and exclude signals falling outside the first target interval to obtain the first target data.

[0035] In a third aspect, in one embodiment, the present invention provides a computer device, including a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the following steps:

[0036] Acquire first basic data to be filtered, and determine corresponding first multiple data according to the first basic data;

[0037] Amplify the first basic data by multiples according to the first multiples data to obtain first integrated data;

[0038] Determine a corresponding first offset parameter according to the first basic data and the first multiple data;

[0039] The first integrated data is reduced in magnitude according to the first offset parameter, and signals outside the first target interval are excluded to obtain first target data.

[0040] In a fourth aspect, in one embodiment, the present invention provides a storage medium storing a computer program, which, when executed by a processor, causes the processor to perform the following steps:

[0041] Acquire first basic data to be filtered, and determine corresponding first multiple data according to the first basic data;

[0042] Amplify the first basic data by multiples according to the first multiples data to obtain first integrated data;

[0043] Determine a corresponding first offset parameter according to the first basic data and the first multiple data;

[0044] The first integrated data is reduced in magnitude according to the first offset parameter, and signals outside the first target interval are excluded to obtain first target data.

[0045] Through the above-mentioned data filtering method, device, computer equipment and storage medium, the acquired basic data is amplified and then reduced according to the determined offset parameters, so that the difference between the target data and the basic data is finally dynamically approached to 0. The entire calculation process filters out occasional data jumps, periodic signal interference, and various stray adverse signals, thereby achieving data collection that is closest to the real data, avoiding the shortcomings of poor quality of hardware output signals and the deviation of the collected values ​​from the real values ​​under harsh working environments, further enhancing the effect of data filtering, and making the collection results more real and stable. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0047] in:

[0048] Figure 1 A schematic diagram of a flow chart of a data filtering method in one embodiment of the present invention;

[0049] Figure 2 A schematic diagram of a specific process of receiving a data source in one embodiment of the present invention;

[0050] Figure 3 A schematic diagram of a specific process of amplification in one embodiment of the present invention;

[0051] Figure 4 A schematic diagram of a specific process of performing multiple reduction in one embodiment of the present invention;

[0052] Figure 5 The figure is a schematic diagram of the internal structure of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0055] First, as Figure 1 As shown, in one embodiment, the present invention provides a data filtering method, comprising:

[0056] Step 102, obtaining first basic data to be filtered, and determining corresponding first multiple data according to the first basic data;

[0057] The first basic data is obtained after denoising, and all arrays thereof fall within the first target interval, which is convenient for subsequent further processing; different types of basic data require different magnifications, for example, basic data with high amplitude requires a smaller magnification, so in this embodiment, it is necessary to determine reasonable first multiple data based on the first basic data;

[0058] Step 104, amplifying the first basic data by multiples according to the first multiples data to obtain first integrated data;

[0059] The specific amplification process is to multiply each array in the first basic data by the first multiple data, thereby obtaining a plurality of amplified arrays, namely, the first integrated data;

[0060] Step 106, determining a corresponding first offset parameter according to the first basic data and the first multiple data;

[0061] It should be noted that the first offset parameter is used to reduce the first integrated data, and the first offset parameter and the first multiple data are close (the first offset parameter is slightly smaller than the first multiple data) but not equal, otherwise the process is meaningless;

[0062] Step 108, reducing the first integrated data by multiples according to the first offset parameter, and excluding signals falling outside the first target interval, to obtain first target data;

[0063] Due to the slight difference between the first offset parameter and the first multiple data, a small portion of the array that originally all falls within the first target interval will fall outside the first target interval, thereby excluding the array outside the interval.

[0064] Through the above data filtering method, the acquired basic data is amplified and then reduced according to the determined offset parameters, so that the difference between the target data and the basic data is finally dynamically approached to 0. The entire calculation process filters out occasional data jumps, periodic signal interference, and various stray adverse signals, thereby achieving data collection that is closest to the real data, avoiding the shortcomings of poor quality of hardware output signals and the deviation of the collected values ​​from the real values ​​under harsh working environments, further enhancing the effect of data filtering, and making the collection results more real and stable.

[0065] In one embodiment, before the step of obtaining the first basic data to be filtered, the data filtering method further includes:

[0066] The collected data sources are first sorted to exclude signals outside the first target interval to obtain first basic data.

[0067] Among them, Figure 2 As shown, the collected data source enters the receiving interrupt and is stored, the data source is sorted to obtain a sequence of K1, K2, K3, K4, K5……………Kn, the data is parsed, the data on both sides of the sequence are discarded, and the interval where the remaining data is located is the target interval (in this embodiment, the first target interval), and the data in the target interval is the basic data (in this embodiment, the first basic data) and is recorded as A[1--n]; in order to save MCU resources and increase the running speed, the current buffer is cleared when the buffer area reaches the threshold to facilitate the next data reception, and the sorted A[1--n] is output to the next storage unit for use.

[0068] In one embodiment, Figure 3 As shown, the first basic data is amplified according to the first multiple data to obtain the first integrated data, including:

[0069] The basic data (the first basic data in this embodiment) A[1--n] and the multiple data (the first multiple data in this embodiment) enter the receiving interrupt. At this time, the data type is distinguished by the channel and stored in the corresponding sorting unit respectively. The data is further integrated. The multiple data is recorded as B, and the obtained integrated data (the first integrated data in this embodiment) C[1--n]=A[1--n]*B.

[0070] like Figure 4 As shown, in one embodiment, the first offset parameter corresponding to the first basic data and the first multiple data is determined, including

[0071] According to the formula Obtaining a compensation parameter (a first compensation parameter in this embodiment) X;

[0072] Among them, A[a] is the a-th array in the basic data (the first basic data in this embodiment), n is the total number of arrays of the basic data, Q is the exclusion factor (the first exclusion factor in this embodiment), and B is the multiple data (the first multiple data in this embodiment).

[0073] Among them, the exclusion factor Q is mainly used to eliminate the stray values ​​at both ends of a series of numbers from large to small, and only take the middle part;

[0074] Specifically, BANK data (ie, basic data stored in BANK) and multiple data are input into the offset parameter calculation unit to obtain corresponding offset parameters.

[0075] like Figure 3 As shown, in one embodiment, the first integrated data is scaled down according to the first offset parameter, including:

[0076] The BANK data (i.e., the basic data stored in the BANK (the first basic data in this embodiment)), multiple data, and integrated data (the first integrated data in this embodiment) C[1--n] are input into the data cache interval of the unit, and the cache interval determines whether there is data. Further, if so, the corresponding integrated data is stored in the sorting unit, and the offset parameters are stored in the updating unit for data analysis. The data analysis obtains the final result through the calculation formula: C[1--n] / X1. The data in the storage area is always locked in a smaller range through feedback parameter correction, which avoids data jumps and makes the data acquisition curve smooth.

[0077] In one embodiment, the data filtering method further includes:

[0078] Acquire the second basic data to be filtered, and determine the corresponding second multiple data according to the second basic data;

[0079] Amplifying the second basic data by multiples according to the second multiples data to obtain second integrated data;

[0080] Determine a corresponding second offset parameter according to the second basic data and the second multiple data;

[0081] The second integrated data is reduced in magnitude according to the second offset parameter, and signals falling outside the second target interval are excluded to obtain second target data;

[0082] Final target data is obtained according to the first target data and the second target data.

[0083] Among them, the difference between this embodiment and the above embodiment is that the multiple data and corresponding offset parameters used are different. The purpose is to filter the data source with different emphases. For example, the above embodiment focuses on filtering out interference signals with small amplitude and small frequency or large amplitude and large frequency, while the focus of this embodiment is on filtering out interference signals with small amplitude and small frequency and large amplitude and large frequency at the same time, so as to achieve better filtering effect.

[0084] In one embodiment, before the step of obtaining the second basic data to be filtered, the data filtering method further includes:

[0085] The collected data sources are subjected to a second sorting operation to exclude signals outside the second target interval, thereby obtaining second basic data.

[0086] In one embodiment, performing a second sorting on the collected data sources includes:

[0087] Sort the collected data sources;

[0088] Remove and discard the data on both sides of the sequence obtained by sorting;

[0089] The interval where the remaining data is located is taken as the second target interval.

[0090] Among them, the specific implementation process and related explanations corresponding to the second basic data, second multiple data, second integrated data, second offset parameter and second target data in this embodiment can refer to the first basic data, first multiple data, first integrated data, first offset parameter and first target data in the above embodiments, and will not be repeated here.

[0091] In a second aspect, in one embodiment, the present invention provides a data filtering device, comprising:

[0092] A first multiple data determination module, used for acquiring first basic data to be filtered, and determining corresponding first multiple data according to the first basic data;

[0093] A first multiple amplification module, used to multiple the first basic data according to the first multiple data to obtain first integrated data;

[0094] A first offset parameter determination module, used to determine a corresponding first offset parameter according to the first basic data and the first multiple data;

[0095] The first reduction module is used to reduce the first integrated data by multiples according to the first offset parameter and exclude signals falling outside the first target interval to obtain the first target data.

[0096] Through the above-mentioned data filtering device, the acquired basic data is amplified and then reduced according to the determined offset parameters, so that the difference between the target data and the basic data is finally dynamically approached to 0. The entire calculation process filters out occasional data jumps, periodic signal interference, and various stray adverse signals, thereby achieving data collection that is closest to the real data, avoiding the shortcomings of poor quality of hardware output signals and the deviation of collected values ​​from the real values ​​under harsh working environments, further enhancing the effect of data filtering, and making the collection results more real and stable.

[0097] In one embodiment, the data filtering device further includes:

[0098] The first data sorting unit is used to perform a first sorting on the collected data source before the step of obtaining the first basic data to be filtered, exclude signals falling outside the first target interval, and obtain the first basic data.

[0099] In one embodiment, the first data sorting unit is specifically used to sort the collected data sources; discard the data on both sides of the sorted sequence; and use the interval where the remaining data is located as the first target interval.

[0100] In one embodiment, the first offset parameter determination module is specifically configured to determine the offset parameter according to the formula Obtain a first offset parameter X;

[0101] Wherein, A[a] is the ath array in the first basic data, n is the total number of arrays of the first basic data, Q is the first exclusion factor, and B is the first multiple data.

[0102] In one embodiment, the data filtering device further includes:

[0103] A second multiple data determination module, used for acquiring second basic data to be filtered, and determining corresponding second multiple data according to the second basic data;

[0104] A second amplification module, used to amplify the second basic data according to the second amplification data to obtain second integrated data;

[0105] A second offset parameter determination module, used to determine a corresponding second offset parameter according to the second basic data and the second multiple data;

[0106] A second reduction module, used to reduce the second integrated data by multiples according to a second offset parameter and exclude signals falling outside a second target interval to obtain second target data;

[0107] The data fusion unit is used to obtain final target data according to the first target data and the second target data.

[0108] In one embodiment, the data filtering device further includes:

[0109] The second data sorting unit is used to perform a second sorting on the collected data source before the step of obtaining the second basic data to be filtered, exclude signals falling outside the second target interval, and obtain the second basic data.

[0110] In one embodiment, the second data sorting unit is specifically used to sort the collected data sources; discard the data on both sides of the sorted sequence; and use the interval where the remaining data is located as the second target interval.

[0111] In one embodiment, the present invention provides a computer device, the internal structure diagram of the computer device is as follows: Figure 5 As shown. The computer device includes a processor, a memory and a network interface connected via a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can execute the data filtering method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute the data filtering method. Those skilled in the art can understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0112] In one embodiment, a data filtering method provided by the present invention can be implemented in the form of a computer program. The computer program can be used in Figure 5 The computer device shown in the figure is run. The memory of the computer device can store various program modules constituting a data filtering device, such as a first multiple data determination module, a first multiple amplification module, a first offset parameter determination module, a first multiple reduction module, etc.

[0113] In a third aspect, in one embodiment, the present invention provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the following steps:

[0114] Acquire first basic data to be filtered, and determine corresponding first multiple data according to the first basic data;

[0115] Amplify the first basic data by multiples according to the first multiples data to obtain first integrated data;

[0116] Determine a corresponding first offset parameter according to the first basic data and the first multiple data;

[0117] The first integrated data is reduced in magnitude according to the first offset parameter, and signals outside the first target interval are excluded to obtain first target data.

[0118] Through the above-mentioned computer equipment, the acquired basic data is amplified and then reduced according to the determined offset parameters, so that the difference between the target data and the basic data is finally dynamically approached to 0. The entire calculation process filters out occasional data jumps, periodic signal interference, and various stray adverse signals, thereby achieving data collection that is closest to the real data, avoiding the shortcomings of poor quality of hardware output signals and the deviation of collected values ​​from the real values ​​under harsh working environments, further enhancing the effect of data filtering, and making the collection results more real and stable.

[0119] In one embodiment, before the step of obtaining the first basic data to be filtered, when the computer program is executed by the processor, the processor further executes the following steps:

[0120] The collected data sources are first sorted to exclude signals outside the first target interval to obtain first basic data.

[0121] In one embodiment, the collected data sources are first sorted, including:

[0122] Sort the collected data sources;

[0123] Remove and discard the data on both sides of the sequence obtained by sorting;

[0124] The interval where the remaining data is located is taken as the first target interval.

[0125] In one embodiment, determining the corresponding first offset parameter according to the first basic data and the first multiple data includes: Obtain a first offset parameter X;

[0126] Wherein, A[a] is the ath array in the first basic data, n is the total number of arrays of the first basic data, Q is the first exclusion factor, and B is the first multiple data.

[0127] In one embodiment, when the computer program is executed by a processor, the processor further performs the following steps:

[0128] Acquire the second basic data to be filtered, and determine the corresponding second multiple data according to the second basic data;

[0129] Amplifying the second basic data by multiples according to the second multiples data to obtain second integrated data;

[0130] Determine a corresponding second offset parameter according to the second basic data and the second multiple data;

[0131] The second integrated data is reduced in magnitude according to the second offset parameter, and signals falling outside the second target interval are excluded to obtain second target data;

[0132] The final target data is obtained according to the first target data and the second target data.

[0133] In one embodiment, before the step of obtaining the second basic data to be filtered, when the computer program is executed by the processor, the processor further executes the following steps:

[0134] The collected data sources are subjected to a second sorting operation to exclude signals outside the second target interval, thereby obtaining second basic data.

[0135] In one embodiment, performing a second sorting on the collected data sources includes:

[0136] Sort the collected data sources;

[0137] Remove and discard the data on both sides of the sequence obtained by sorting;

[0138] The interval where the remaining data is located is taken as the second target interval.

[0139] In a fourth aspect, in one embodiment, the present invention provides a storage medium storing a computer program, which, when executed by a processor, causes the processor to perform the following steps:

[0140] Acquire first basic data to be filtered, and determine corresponding first multiple data according to the first basic data;

[0141] Amplify the first basic data by multiples according to the first multiples data to obtain first integrated data;

[0142] Determine a corresponding first offset parameter according to the first basic data and the first multiple data;

[0143] The first integrated data is reduced in magnitude according to the first offset parameter, and signals outside the first target interval are excluded to obtain first target data.

[0144] Through the above storage medium, the acquired basic data is amplified and then reduced according to the determined offset parameters, so that the difference between the target data and the basic data is finally dynamically approached to 0. The entire calculation process filters out occasional data jumps, periodic signal interference, and various stray adverse signals, thereby achieving data collection that is closest to the real data, avoiding the shortcomings of poor quality of hardware output signals and the deviation of the collected values ​​from the real values ​​under harsh working environments, further enhancing the effect of data filtering, and making the collection results more real and stable.

[0145] In one embodiment, before the step of obtaining the first basic data to be filtered, when the computer program is executed by the processor, the processor further executes the following steps:

[0146] The collected data sources are first sorted to exclude signals outside the first target interval to obtain first basic data.

[0147] In one embodiment, the collected data sources are first sorted, including:

[0148] Sort the collected data sources;

[0149] Remove and discard the data on both sides of the sequence obtained by sorting;

[0150] The interval where the remaining data is located is taken as the first target interval.

[0151] In one embodiment, determining the corresponding first offset parameter according to the first basic data and the first multiple data includes: Obtain a first offset parameter X;

[0152] Wherein, A[a] is the ath array in the first basic data, n is the total number of arrays of the first basic data, Q is the first exclusion factor, and B is the first multiple data.

[0153] In one embodiment, when the computer program is executed by a processor, the processor further performs the following steps:

[0154] Acquire the second basic data to be filtered, and determine the corresponding second multiple data according to the second basic data;

[0155] Amplifying the second basic data by multiples according to the second multiples data to obtain second integrated data;

[0156] Determine a corresponding second offset parameter according to the second basic data and the second multiple data;

[0157] The second integrated data is reduced in magnitude according to the second offset parameter, and signals falling outside the second target interval are excluded to obtain second target data;

[0158] The final target data is obtained according to the first target data and the second target data.

[0159] In one embodiment, before the step of obtaining the second basic data to be filtered, when the computer program is executed by the processor, the processor further executes the following steps:

[0160] The collected data sources are subjected to a second sorting operation to exclude signals outside the second target interval, thereby obtaining second basic data.

[0161] In one embodiment, performing a second sorting on the collected data sources includes:

[0162] Sort the collected data sources;

[0163] Remove and discard the data on both sides of the sequence obtained by sorting;

[0164] The interval where the remaining data is located is taken as the second target interval.

[0165] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0166] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0167] The above-described embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the attached claims.

Claims

1. A data filtering method, characterized in that: include: Acquire first basic data to be filtered, and determine corresponding first multiple data according to the first basic data; Amplify the first basic data by multiples according to the first multiples data to obtain first integrated data; Determine a corresponding first offset parameter according to the first basic data and the first multiple data; The first integrated data is reduced in magnitude according to the first offset parameter, and signals outside a first target interval are excluded to obtain first target data.

2. The data filtering method according to claim 1, characterized in that: Before the step of obtaining the first basic data to be filtered, the method further includes: The collected data sources are first sorted to exclude signals falling outside the first target interval to obtain the first basic data.

3. The data filtering method according to claim 2, characterized in that: The first sorting of the collected data sources includes: Sort the collected data sources; Remove and discard the data on both sides of the sequence obtained by sorting; The interval where the remaining data is located is taken as the first target interval.

4. The data filtering method according to claim 1, characterized in that: The determining of the corresponding first offset parameter according to the first basic data and the first multiple data includes: According to the formula Obtaining the first offset parameter X; Among them, A[a] is the ath array in the first basic data, n is the total number of arrays of the first basic data, Q is the first exclusion factor, and B is the first multiple data.

5. The data filtering method according to claim 1, characterized in that: Also includes: Acquire second basic data to be filtered, and determine corresponding second multiple data according to the second basic data; Amplify the second basic data by multiples according to the second multiples data to obtain second integrated data; Determine a corresponding second offset parameter according to the second basic data and the second multiple data; The second integrated data is reduced in magnitude according to the second offset parameter, and signals falling outside the second target interval are excluded to obtain second target data; Final target data is obtained according to the first target data and the second target data.

6. The data filtering method according to claim 5, characterized in that: Before the step of obtaining the second basic data to be filtered, the method further includes: The collected data sources are subjected to a second sorting operation to exclude signals outside the second target interval, thereby obtaining the second basic data.

7. The data filtering method according to claim 6, characterized in that: The second sorting of the collected data sources includes: Sort the collected data sources; Remove and discard the data on both sides of the sequence obtained by sorting; The interval where the remaining data is located is taken as the second target interval.

8. A data filtering device, characterized in that: include: A first multiple data determination module, used for acquiring first basic data to be filtered, and determining corresponding first multiple data according to the first basic data; A first multiple amplification module, used for multiple amplifying the first basic data according to the first multiple data to obtain first integrated data; A first offset parameter determination module, configured to determine a corresponding first offset parameter according to the first basic data and the first multiple data; The first reduction module is used to reduce the first integrated data by multiples according to the first offset parameter and exclude signals falling outside the first target interval to obtain first target data.

9. A computer device comprising a processor and a memory, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor executes the steps of the data filtering method according to any one of claims 1 to 7.

10. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is caused to perform the steps of the data filtering method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Filtering method and apparatus thereof, and crosstalk counteracting method and system thereof

    CN101312360A

  • Filter circuit and its control method

    JP1994061791A