Data processing method, system, and apparatus for multi-channel filter, device, and medium
By pre-storing the target data and judging the filter core status in a multi-channel digital filter, the problem that different filtering processing of different channels in the prior art is solved, and effective data processing and loss avoidance are achieved.
Patent Information
- Application Number
- PCT/CN2023/133101
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-13
- Filing Date
- 2023-11-22
- Publication Date
- 2025-05-22
AI Technical Summary
Existing multi-channel digital filters cannot perform different filtering processing on different channels of data, resulting in data loss.
By obtaining the target data of multiple channels and the corresponding filtering method, the target data is stored in the corresponding registers, and it is determined whether the filter core corresponding to the register is in an idle state. If it is idle, the target data is sent to the filter core for filtering processing.
It effectively solves the problem of data loss and realizes the function of performing different filtering processing on data from different channels.
Smart Images

Figure CN2023133101_22052025_PF_FP_ABST
Abstract
Description
Multi-channel filter data processing method, system, device, equipment and medium
[0001] This application claims priority to Chinese Patent Application No. 202311511737.5 filed on November 13, 2023. The entire disclosure of the above Chinese patent application is incorporated by reference as a part of this application. Technical Field
[0002] The present invention relates to the field of data processing, and in particular to a data processing method, system, device, equipment and medium for a multi-channel filter. Background Art
[0003] The multi-channel synchronous sampling analog-to-digital data conversion system samples multi-channel data simultaneously and transmits it continuously. These data will more or less introduce some noise during the sampling or transmission process, so the data will be filtered before use.
[0004] Digital filters are composed of multiple multipliers, adders, and delay units. Because multipliers occupy too many resources, some high-order digital filters only have a single filter core. Therefore, for multi-channel digital filters, only one filter core is connected to multiple external data channels. Data from different channels is used to poll the filter core, and the use of multiple signals on the filter core is achieved through frequency division counters and switch counters.
[0005] The existing technical solution uses the same filter for data information from different channels, and cannot adopt different filtering processing for data from different channels, which has great limitations; the time interval between the multi-channel digital filter receiving each set of data has errors. When data is input and the filter is still performing operations on the previous set of data, data loss will occur.
[0006] Summary of the Invention
[0007] The present invention provides a data processing method, system, device, equipment and medium for a multi-channel filter, which can pre-store target data in a register and send it to different filter cores for processing according to the filtering method, effectively solving the problem of data loss.
[0008] According to one aspect of the present invention, a data processing method for a multi-channel filter is provided, comprising:
[0009] Obtain multi-channel target data and corresponding filtering methods;
[0010] storing the target data in corresponding registers based on the filtering method; wherein the registers correspond to the filtering methods;
[0011] Determine whether the filter kernel corresponding to the register is in an idle state;
[0012] If the filter kernel is in an idle state, the target data is sent to the filter kernel for filtering.
[0013] Optionally, before obtaining multi-channel target data and corresponding filtering methods, the method further includes:
[0014] The filter kernel parameters corresponding to the filtering method are configured for the filter kernel of each channel respectively; wherein the filter kernel parameters include order and / or coefficient.
[0015] Optionally, determining whether the filter kernel corresponding to the register is in an idle state includes:
[0016] Get the operation signal corresponding to the filter kernel;
[0017] If the operation signal is at a high level, the filter core is not in an idle state;
[0018] If the operation signal is at a low level, the filter core is in an idle state.
[0019] Optionally, after storing the target data in registers respectively, the method further includes:
[0020] Setting the flag bit corresponding to the register to a first set value;
[0021] When the target data is input into the filter kernel, the flag bit of the register is set to a second set value.
[0022] Optionally, the filter kernel uses a multiplier; the number of the filter kernels corresponds to the number of the filtering modes.
[0023] According to another aspect of the present invention, there is provided a data processing system for a multi-channel filter, comprising: a plurality of registers, and the plurality of registers corresponding to a plurality of filter kernels respectively;
[0024] The plurality of registers are respectively used to store target data of corresponding channels; wherein the registers correspond to filtering modes, and the filtering modes correspond to the target data;
[0025] The filter kernel is used to perform filtering processing on input target data when in an idle state.
[0026] According to another aspect of the present invention, there is provided a data processing device for a multi-channel filter, comprising:
[0027] Data acquisition module, used to obtain multi-channel target data and corresponding filtering methods;
[0028] A register storage module, configured to store the target data in corresponding registers based on the filtering method; wherein the registers correspond to the filtering methods;
[0029] A filter core state judgment module, used to judge whether the filter core corresponding to the register is in an idle state;
[0030] The filtering processing module is used to send the target data into the filter kernel for filtering processing if the filter kernel is in an idle state.
[0031] Optionally, also include;
[0032] The filter kernel configuration module is used to configure the filter kernel parameters corresponding to the filtering method for the filter kernel of each channel before obtaining the target data of multiple channels and the corresponding filtering method; wherein the filter kernel parameters include order and / or coefficient.
[0033] According to another aspect of the present invention, an electronic device is provided, comprising:
[0034] at least one processor; and
[0035] a memory communicatively connected to the at least one processor; wherein,
[0036] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the data processing method for the multi-channel filter according to any embodiment of the present invention.
[0037] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data processing method of the multi-channel filter according to any embodiment of the present invention when executed.
[0038] The technical solution of an embodiment of the present invention obtains multi-channel target data and corresponding filtering methods; stores the target data in corresponding registers based on the filtering methods; wherein the registers correspond to the filtering methods; determines whether the filter kernel corresponding to the register is idle; and if the filter kernel is idle, feeds the target data into the filter kernel for filtering. This technical solution allows the target data to be pre-stored in registers and then fed into different filter kernels for processing based on the filtering methods, effectively resolving the problem of data loss.
[0039] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.
[0041] FIG1 is a flow chart of a data processing method for a multi-channel filter provided according to a first embodiment of the present invention;
[0042] 2 is a flow chart of a data processing system for a multi-channel filter provided according to a second embodiment of the present invention;
[0043] FIG3 is an overall diagram of a digital filter chip according to a second embodiment of the present invention;
[0044] FIG4 is a schematic structural diagram of a data processing device for a multi-channel filter according to a third embodiment of the present invention;
[0045] FIG5 is a schematic structural diagram of an electronic device provided according to a fourth embodiment of the present invention. DETAILED DESCRIPTION
[0046] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described 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 making creative efforts should fall within the scope of protection of the present invention.
[0047] It should be noted that the terms "first", "second", and "target" in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including", "having", and "etc." and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or that are inherent to these processes, methods, products, or apparatus.
[0048] Example 1
[0049] FIG1 is a flow chart of a data processing method for a multi-channel filter provided according to a first embodiment of the present invention. This embodiment is applicable to processing data of a multi-channel filter. The method can be executed by a data processing device for a multi-channel filter. The data processing device for a multi-channel filter can be implemented in the form of hardware and / or software. The data processing device for a multi-channel filter can be configured in an electronic device with data processing capabilities. As shown in FIG1 , the method includes:
[0050] This embodiment can be performed by a multi-channel filter data processing system. This embodiment performs filtering processing on data from a multi-channel synchronous sampling analog-to-digital data conversion system, and provides multiple different configurable filter cores in a multi-channel digital filter chip to perform filtering operations on multi-channel data.
[0051] S110 , obtaining multi-channel target data and corresponding filtering methods.
[0052] Among them, the target data can be understood as the data of multiple channels collected by the multi-channel synchronous sampling analog-to-digital data conversion system. The target data can be a digital signal. In this embodiment, the data collected in the conversion system can be preprocessed. After the data preprocessing operation, the analog signal can be converted into a digital signal. The filtering method can be understood as the required filtering effect corresponding to the target data. In this embodiment, according to the noise carried by the acquired multi-channel target data, a corresponding filtering method needs to be performed to remove the noise, and then the corresponding filtering method of the target data is determined. Exemplarily, the filtering method can be high-pass, low-pass, band-pass, band-stop and full-pass, etc. The filtering method in this embodiment can be determined according to actual needs, and this embodiment does not limit this. In this embodiment, the target data collected by the multi-channel synchronous sampling analog-to-digital data conversion system can be used, and the filtering method corresponding to the target data can be obtained.
[0053] In this embodiment, optionally, before acquiring multi-channel target data and corresponding filtering methods, the method further includes: configuring filter kernel parameters corresponding to the filtering methods for the filter kernels of each channel.
[0054] The filter kernel parameters may include an order and / or a coefficient. The filter kernel parameters may include an order or a coefficient of the filter kernel, or may include an order and a coefficient of the filter kernel. In this embodiment, before acquiring multi-channel target data and a corresponding filtering mode, the filter kernel parameters corresponding to the filtering mode can be configured for the filter kernel of each channel. In this embodiment, the filter kernel parameters can be configured to achieve the effects of different filtering modes.
[0055] Through such an arrangement, this embodiment can configure the order of each filter kernel and its system to achieve a specific filtering effect on data of different channels.
[0056] S120 , storing the target data into corresponding registers based on the filtering method.
[0057] The registers correspond to the filtering methods. The registers in this embodiment can correspond to different filtering methods. The registers in this embodiment can correspond to different filter kernels. In this embodiment, target data of different channels can be distributed and stored in registers corresponding to different filter kernels based on the filtering methods corresponding to the target data.
[0058] In this embodiment, optionally, after the target data are stored in the registers respectively, the method further includes: setting the flag bit corresponding to the register to the first set value; when the target data is sent to the filter kernel, setting the flag bit of the register to the second set value.
[0059] Among them, the first set value can be 1. The second set value can be 0. In this embodiment, when the target data is stored in the registers corresponding to different filter kernels, the flag bit corresponding to the register can be set, that is, the flag bit corresponding to the register can be set to 1. In this embodiment, the flag bit can be understood as changing from a low level to a high level. When the filter kernel corresponding to the register is in an idle state, the target data can be directly sent to the filter kernel for processing. When the target data is sent to the corresponding filter kernel, the flag bit corresponding to the register can be set to the second set value. In this embodiment, through such a setting, when the filter kernel is not idle, the target data can be pre-stored in the corresponding register, and the state of the register can also be determined, which effectively solves the problem of data loss.
[0060] S130: Determine whether the filter kernel corresponding to the register is in an idle state.
[0061] The idle state can be understood as the state in which no operation is being performed in the filter core corresponding to the register. In this embodiment, the state of the filter core can be determined based on the operation signal corresponding to the filter core. In this embodiment, whether the filter core corresponding to the register is processing the idle state can be determined based on the operation signal of the filter core.
[0062] In this embodiment, optionally, the filter kernel adopts a multiplier; the number of filter kernels corresponds to the number of filtering modes.
[0063] The filter kernel in this embodiment can use a single multiplier to extend the filter filtering time, thereby allowing for expansion of multiple filter kernels. The number of filter kernels in this embodiment can correspond to the number of filtering modes, and the specific number of filter kernels can be determined based on the number of filtering modes for the target data. For example, the number of filter kernels in this embodiment can be eight. Through this configuration in this embodiment, each filter kernel uses fewer multipliers, saving hardware resources.
[0064] In this embodiment, optionally, determining whether the filter core corresponding to the register is in an idle state includes: obtaining an operation signal corresponding to the filter core; if the operation signal is a high level, the filter core is not in an idle state; if the operation signal is a low level, the filter core is in an idle state.
[0065] The operation signal can be used to determine whether the filter core is in an idle state. In this embodiment, when target data is input into the filter core for operation, the filter core will issue an operation signal. At this time, the operation signal is high, indicating that the operation is in progress. When the operation of the target data in the filter core is completed, the operation signal is also issued. At this time, the operation signal is low, indicating that the operation of the filter core is complete.
[0066] In this embodiment, the operation signal corresponding to each filter kernel can be obtained. If the operation signal is high, the current filter kernel is currently operating and is not in an idle state. If the operation signal is low, the current filter kernel is not currently operating and is in an idle state. This configuration allows the current filter kernel's state to be determined using the operation signal. When the filter kernel is not in an idle state, data can be pre-stored in the register unit, preventing data loss caused by excessively high sampling frequencies in a multi-channel synchronous sampling analog-to-digital data conversion system.
[0067] S140: If the filter kernel is in an idle state, the target data is sent to the filter kernel for filtering.
[0068] In this embodiment, if it is determined that the filter kernel is in an idle state by judging the operation signal, the target data can be sent to the filter kernel for filtering processing.
[0069] The technical solution of an embodiment of the present invention obtains multi-channel target data and corresponding filtering methods; stores the target data in corresponding registers based on the filtering methods; wherein the registers correspond to the filtering methods; determines whether the filter kernel corresponding to the register is idle; and if the filter kernel is idle, feeds the target data into the filter kernel for filtering. This technical solution allows the target data to be pre-stored in registers and then fed into different filter kernels for processing based on the filtering methods, effectively solving the problem of data loss.
[0070] Example 2
[0071] FIG2 is a flow chart of a data processing system for a multi-channel filter according to a second embodiment of the present invention. As shown in FIG2 , the system includes multiple registers, and each of the multiple registers corresponds to a plurality of filter kernels. As shown in FIG2 , register 1 corresponds to filter kernel 1, register 2 corresponds to filter kernel 2, register 3 corresponds to filter kernel 3, and so on, with register n corresponding to filter kernel n.
[0072] The data processing system for the multi-channel filter of this embodiment can be used to execute the data processing method for the multi-channel filter.
[0073] The plurality of registers are respectively used to store target data of corresponding channels; wherein the registers correspond to the filtering modes, and the filtering modes correspond to the target data.
[0074] The data processing system of the multi-channel filter in this embodiment can store target data of different channels in corresponding multiple registers respectively.
[0075] The filter kernel is used to filter the input target data when it is in an idle state.
[0076] The filter core of the data processing system of the multi-channel filter in this embodiment can perform filtering processing on input target data when in an idle state.
[0077] For example, an overall diagram of the digital filter chip in this embodiment is shown in Figure 3. The data and data_en signals can be signals that transmit the target data for data acquisition to the chip. data_en represents the data enable signal, and data represents the data signal. data1, data2, datai, and datan correspond to the target data stored in registers 1, 2, i, and n, respectively, and are fed into the corresponding filter kernels 1, 2, i, and N, respectively. The data processed by the different filter kernels is output via output1, output2, outputi, and outputn, and the filtered data output is stored.
[0078] In the technical solution of an embodiment of the present invention, a data processing system for a multi-channel filter includes multiple registers, each corresponding to a plurality of filter cores. The multiple registers are used to store target data for the corresponding channels. The filter cores are used to filter the input target data when idle. The target data can be pre-stored in the registers and then fed into different filter cores for processing based on the filtering method, effectively resolving the problem of data loss.
[0079] Example 3
[0080] FIG4 is a schematic diagram of the structure of a data processing device for a multi-channel filter according to a third embodiment of the present invention. As shown in FIG4 , the device includes:
[0081] The data acquisition module 410 is used to acquire multi-channel target data and corresponding filtering methods.
[0082] The register storage module 420 is used to store the target data in corresponding registers based on the filtering method; wherein the registers correspond to the filtering methods.
[0083] The filter core state determination module 430 is configured to determine whether the filter core corresponding to the register is in an idle state.
[0084] The filtering processing module 440 is configured to send the target data into the filter kernel for filtering processing if the filter kernel is in an idle state.
[0085] Optionally, the device further comprises:
[0086] The filter kernel configuration module is used to configure the filter kernel parameters corresponding to the filtering mode for the filter kernel of each channel before obtaining the target data of multiple channels and the corresponding filtering mode; wherein the filter kernel parameters include order and / or coefficient.
[0087] Optionally, the filter core state judgment module 430 is specifically used to obtain an operation signal corresponding to the filter core; if the operation signal is high, the filter core is not in an idle state; if the operation signal is low, the filter core is in an idle state.
[0088] Optionally, a register flag setting module is configured to set a flag corresponding to the register to a first set value after storing the target data in the register respectively;
[0089] When the target data is input into the filter kernel, the flag bit of the register is set to the second set value.
[0090] Optionally, the filter kernel uses a multiplier; the number of filter kernels corresponds to the number of filtering modes.
[0091] A data processing device for a multi-channel filter provided in an embodiment of the present invention can execute a data processing method for a multi-channel filter provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method.
[0092] Example 4
[0093] FIG5 is a schematic diagram of the structure of an electronic device provided according to Embodiment 4 of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0094] As shown in FIG5 , the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 and a random access memory (RAM) 13, that is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0095] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0096] The processor 11 can be various general-purpose and / or specialized processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the data processing method for the multi-channel filter.
[0097] In some embodiments, the data processing method for the multi-channel filter can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the data processing method for the multi-channel filter described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the data processing method for the multi-channel filter by any other appropriate means (e.g., by means of firmware).
[0098] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0099] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0100] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0101] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0102] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0103] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0104] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0105] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A data processing method for a multi-channel filter, It is characterized in that include: Obtain multi-channel target data and corresponding filtering methods; Based on the filtering method, the target data are stored in corresponding registers respectively; wherein the registers correspond to the filtering methods; Determine whether the filter kernel corresponding to the register is in an idle state; If the filter kernel is in an idle state, the target data is sent to the filter kernel for filtering.
2. The method according to claim 1, It is characterized in that Before obtaining multi-channel target data and corresponding filtering methods, it also includes: The filter kernel parameters corresponding to the filtering method are respectively configured for the filter kernel of each channel; wherein the filter kernel parameters include order and / or coefficient.
3. The method according to claim 1, It is characterized in that The determining whether the filter kernel corresponding to the register is in an idle state comprises: Get the operation signal corresponding to the filter kernel; If the operation signal is at a high level, the filter core is not in an idle state; If the operation signal is at a low level, the filter core is in an idle state.
4. The method according to claim 1, It is characterized in that After storing the target data in the registers respectively, the method further includes: Setting the flag bit corresponding to the register to a first set value; When the target data is sent to the filter kernel, the flag bit of the register is set to a second set value.
5. The method according to claim 1, It is characterized in that The filter kernel uses a multiplier; the number of the filter kernels corresponds to the number of the filtering modes.
6. A data processing system for a multi-channel filter, It is characterized in that include: A plurality of registers, and a plurality of registers corresponding to a plurality of filter cores; The multiple registers are respectively used to store target data of corresponding channels; wherein the registers correspond to filtering modes, and the filtering modes correspond to the target data; The filter kernel is used to perform filtering processing on input target data when in an idle state.
7. A data processing device for a multi-channel filter, It is characterized in that include: A data acquisition module is used to acquire multi-channel target data and corresponding filtering methods; A register storage module, used to store the target data in corresponding registers based on the filtering method; wherein the registers correspond to the filtering methods; A filter kernel state judgment module, used to judge whether the filter kernel corresponding to the register is in an idle state; The filtering processing module is used to send the target data into the filter kernel for filtering processing if the filter kernel is in an idle state.
8. The device according to claim 7, It is characterized in that Also includes; The filter kernel configuration module is used to configure the filter kernel parameters corresponding to the filtering method for the filter kernel of each channel before acquiring the target data of multiple channels and the corresponding filtering method; wherein the filter kernel parameters include order and / or coefficient.
9. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the data processing method for the multi-channel filter according to any one of claims 1 to 5.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data processing method for the multi-channel filter according to any one of claims 1 to 5 when executed.
Citation Information
Patent Citations
Method for filtering data with arbitrary kernel filters
CN101261733A
Method for realizing multi-message mechanism in CAN (Controller Area Network) controller
CN102053601A
Multi-channel digital filter based on FPGA
CN104467740A
Systems and methods for image processing in a deep convolution network
US20160379073A1
Cited By
Signal processor, filtering system, filter and data filtering method
CN120415376A