Signal processing method and apparatus, electronic device, storage medium, and program product

CN122963436APending Publication Date: 2026-10-23BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510515209.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-23
Publication Date
2026-10-23

AI Technical Summary

Benefits of technology

[0063]响应于所述信号的信号类型为所述第二信号类型,将所述预设存储区域中的第二区域确定为所述目标区域,在所述预设存储区域中所述第一区域包括的存储位置位于所述第二区域包括的存储位置之前。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122963436A_ABST
    Figure CN122963436A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a signal processing method and device, electronic equipment, storage medium and program product. The method comprises obtaining sampling data of each signal in a plurality of signals, the plurality of signals being associated with a same target object, and the signal frequency of at least two signals in the plurality of signals being different, the sampling data of each signal in the plurality of signals being obtained based on a same target sampling frequency; and storing the sampling data of each signal based on the signal frequency of each signal, wherein the data amount of the stored data in the sampling data of the signal is positively correlated with the signal frequency of the signal. The present disclosure can store sufficient sampling data of signals with higher signal frequency, improve the accuracy and efficiency of signal processing, and effectively utilize storage resources, avoiding unnecessary data redundancy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of signal processing technology, and in particular to a signal processing method, apparatus, electronic device, storage medium, and program product. Background Technology

[0002] In embedded systems, the analog-to-digital converter (ADC) is a key component that converts analog signals into digital signals. An ADC can perform analog-to-digital conversion on signals from multiple input channels simultaneously. Summary of the Invention

[0003] To overcome the problems existing in related technologies, this disclosure provides a signal processing method, apparatus, electronic device, storage medium, and program product.

[0004] According to a first aspect of the present disclosure, a signal processing method is provided, comprising:

[0005] The sampling data of each of a plurality of signals is acquired, wherein the plurality of signals are associated with the same target object and at least two of the plurality of signals have different signal frequencies, and the sampling data of each of the plurality of signals is obtained based on the same target sampling frequency;

[0006] Based on the signal frequency of each signal, the sampled data of each signal is stored, wherein the amount of data stored in the sampled data of the signal is positively correlated with the signal frequency of the signal.

[0007] In this embodiment, since the amount of sampled signal data stored is positively correlated with the signal frequency, signals with higher frequencies will have more data stored, while signals with lower frequencies will have less data stored. This on-demand storage method allows for the storage of sufficient sampled data for signals with higher frequencies, improving the accuracy and efficiency of signal processing, and effectively utilizing storage resources while avoiding unnecessary data redundancy.

[0008] In some embodiments, storing the sampled data of each signal based on the signal frequency of each signal includes:

[0009] Based on the signal frequency of each signal, the signal type of each signal is determined, wherein the signal type includes any one of at least two signal types, and the signal frequencies of signals of different signal types are different;

[0010] Based on the signal type of each signal, the sampled data of each signal is stored.

[0011] In this embodiment of the disclosure, signals can be categorized into different types and stored according to signal type, thereby achieving more granular storage management. Furthermore, by classifying storage, the most suitable storage resources can be allocated to each signal type, thereby improving storage efficiency.

[0012] In some embodiments, storing the sampled data of each signal based on the signal type of each signal includes:

[0013] For each signal, based on the signal type of the signal, a target area in a preset storage region is determined for storing the sampled data of the signal, with different signal types corresponding to different areas in the preset storage region;

[0014] Based on the signal type of the signal, the sampled data of the signal is stored in the target area.

[0015] In this embodiment of the disclosure, by storing sampled data of different signal types in different target areas, storage space can be allocated according to the actual needs of each signal type, thereby optimizing the use of storage resources. Furthermore, by storing sampled data of different signal types in different target areas, the required data can be quickly located and retrieved. For example, when processing a certain type of signal, the storage area for that type can be directly accessed, thereby reducing retrieval time and computational resource consumption.

[0016] In some embodiments, the at least two signal types include a first signal type and a second signal type, wherein the signal frequency of the first signal type is greater than the signal frequency of the second signal type;

[0017] The step of determining a target area in a preset storage region for storing the sampled data of the signal based on the signal type of the signal includes:

[0018] In response to the signal type being the first signal type, a first region within the preset storage area is determined as the target region; or...

[0019] In response to the signal type being the second signal type, the second region in the preset storage region is determined as the target region, wherein the storage location included in the first region in the preset storage region is located before the storage location included in the second region.

[0020] In this embodiment, signals with higher frequencies require rapid processing and analysis. Storing the sampled data of these higher-frequency signals in the first region provides more storage space, allowing for faster access and reduced data retrieval time. Storing the sampled data of lower-frequency signals in the second region, with the storage locations in the second region preceding those in the first region, avoids allocating excessive storage space for these lower-frequency signals, thus optimizing storage resource utilization and better managing the sampled data.

[0021] In some embodiments, storing the sampled data of each signal based on the signal type of each signal includes:

[0022] In response to the signal type being a preset signal type, target data to be stored is selected from the sampled data of the signal based on the preset signal type;

[0023] The target data is stored.

[0024] In this embodiment of the disclosure, storing the selected data to be stored for a preset signal type ensures that the stored data has higher value and reduces the storage of redundant data. Furthermore, storing the selected data to be stored for a preset signal type also allows for the rational allocation of storage space, ensuring that limited storage resources are used efficiently.

[0025] In some embodiments, selecting target data to be stored from the sampled data of the signal based on the preset signal type includes:

[0026] Based on the preset signal type, a first sampling period is determined, wherein the first sampling period is a sampling period associated with the preset signal type;

[0027] Based on the first sampling period and the second sampling period, target data to be stored is selected from the sampled data of the signal. The sampled data of the signal is data collected in multiple consecutive second sampling periods. The second sampling period is determined based on the target sampling frequency. The duration of the first sampling period is greater than the duration of the second sampling period.

[0028] In this embodiment of the disclosure, the signal sampling data is collected based on the second sampling period, while the first sampling period is a sampling period more suitable for the preset signal type. Therefore, the target data to be stored can be selected from the signal sampling data based on the first sampling period, thereby selecting the sampling data that matches the first sampling period for storage, thereby reducing data redundancy and improving the accuracy of the stored data.

[0029] In some embodiments, the start time of the first sampling period is the same as the start time of the first second sampling period in the plurality of consecutive second sampling periods, and the duration of the plurality of consecutive second sampling periods is greater than or equal to the duration of the first sampling period.

[0030] The step of selecting target data to be stored from the sampled data of the signal based on the first sampling period and the second sampling period includes:

[0031] Determine a first time period within the first sampling period; the first time period is the time period during which data is collected based on the first sampling period.

[0032] Based on the first time period, a second time period is determined within the consecutive multiple second sampling periods; the duration of the first time period and the duration of the second time period are the same, and the start time of the first time period and the start time of the second time period are the same.

[0033] The data collected during the second time period from the sampled data of the signal is determined as the target data.

[0034] In this embodiment of the present disclosure, target data to be stored can be selected from the sampled data of the signal based on a first time period and a second time period, thereby selecting sampled data that matches the first sampling period for storage, which can improve the accuracy and reliability of the target data and facilitate subsequent data processing and analysis of the sampled data.

[0035] In some embodiments, determining the signal type of each signal based on the signal frequency of each signal includes:

[0036] The signal type of each signal is determined based on the relative magnitudes of the signal frequencies of each of the plurality of signals.

[0037] In this embodiment of the disclosure, signals can be dynamically classified by comparing their relative magnitudes, thereby avoiding reliance on absolute frequency values ​​and improving classification flexibility. Furthermore, even when the absolute frequencies of multiple signals change, the signal type can still be correctly identified as long as the relative magnitude relationships remain constant.

[0038] In some embodiments, the method further includes:

[0039] The sampling frequency corresponding to the largest signal frequency among multiple signals is determined as the target sampling frequency.

[0040] In this embodiment of the disclosure, by setting the target sampling frequency to the sampling frequency corresponding to the maximum signal frequency, it can be ensured that all details of the signal are accurately captured, avoiding signal distortion or information loss due to insufficient sampling frequency.

[0041] In some embodiments, acquiring sampled data for each of the plurality of signals includes:

[0042] Based on the target sampling frequency, each signal is subjected to analog-to-digital conversion to obtain the sampling data of each signal.

[0043] In this embodiment of the disclosure, each signal can be processed by analog-to-digital conversion, thereby converting the signal data from analog signal data into digital signal data, so that the data can be efficiently stored in digital storage media, reducing the storage space requirement.

[0044] In some embodiments, storing the sampled data of each signal based on the signal frequency of each signal includes:

[0045] The sampled data of each signal is stored in a target storage area; the target storage area is used to store the data obtained after the signal has undergone analog-to-digital conversion.

[0046] Based on the signal frequency of each signal, the sampled data of each signal stored in the target storage area is transferred to a preset storage area.

[0047] In this embodiment of the disclosure, the data after analog-to-digital conversion can be temporarily stored in the target storage area, and the data can be transferred from the target storage area to a preset storage area, enabling longer-term storage. This allows for efficient data management and optimized use of storage resources.

[0048] According to a second aspect of the present disclosure, a signal processing apparatus is provided, comprising:

[0049] An acquisition module is used to acquire sampling data of each of a plurality of signals, wherein the plurality of signals are associated with the same target object, and at least two of the plurality of signals have different signal frequencies, and the sampling data of each of the plurality of signals is obtained based on the same target sampling frequency;

[0050] The processing module is used to store the sampled data of each signal based on the signal frequency of each signal, wherein the amount of data stored in the sampled data of the signal is positively correlated with the signal frequency of the signal.

[0051] In this embodiment, since the amount of sampled signal data stored is positively correlated with the signal frequency, signals with higher frequencies will have more data stored, while signals with lower frequencies will have less data stored. This on-demand storage method allows for the storage of sufficient sampled data for signals with higher frequencies, improving the accuracy and efficiency of signal processing, and effectively utilizing storage resources while avoiding unnecessary data redundancy.

[0052] In some embodiments, the processing module is configured to:

[0053] Based on the signal frequency of each signal, the signal type of each signal is determined, wherein the signal type includes any one of at least two signal types, and the signal frequencies of signals of different signal types are different;

[0054] Based on the signal type of each signal, the sampled data of each signal is stored.

[0055] In this embodiment of the disclosure, signals can be categorized into different types and stored according to signal type, thereby achieving more granular storage management. Furthermore, by classifying storage, the most suitable storage resources can be allocated to each signal type, thereby improving storage efficiency.

[0056] In some embodiments, the processing module is configured to:

[0057] For each signal, based on the signal type of the signal, a target area in a preset storage region is determined for storing the sampled data of the signal, with different signal types corresponding to different areas in the preset storage region;

[0058] Based on the signal type of the signal, the sampled data of the signal is stored in the target area.

[0059] In this embodiment of the disclosure, by storing sampled data of different signal types in different target areas, storage space can be allocated according to the actual needs of each signal type, thereby optimizing the use of storage resources. Furthermore, by storing sampled data of different signal types in different target areas, the required data can be quickly located and retrieved. For example, when processing a certain type of signal, the storage area for that type can be directly accessed, thereby reducing retrieval time and computational resource consumption.

[0060] In some embodiments, the at least two signal types include a first signal type and a second signal type, wherein the signal frequency of the first signal type is greater than the signal frequency of the second signal type;

[0061] The processing module is configured as follows:

[0062] In response to the signal type being the first signal type, a first region within the preset storage area is determined as the target region; or...

[0063] In response to the signal type being the second signal type, the second region in the preset storage region is determined as the target region, wherein the storage location included in the first region in the preset storage region is located before the storage location included in the second region.

[0064] In this embodiment, signals with higher frequencies require rapid processing and analysis. Storing the sampled data of these higher-frequency signals in the first region provides more storage space, allowing for faster access and reduced data retrieval time. Storing the sampled data of lower-frequency signals in the second region, with the storage locations in the second region preceding those in the first region, avoids allocating excessive storage space for these lower-frequency signals, thus optimizing storage resource utilization and better managing the sampled data.

[0065] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0066] processor;

[0067] Memory used to store processor-executable instructions;

[0068] The processor is configured to perform the signal processing method as described in the first aspect of this disclosure.

[0069] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the signal processing method as described in the first aspect of the present disclosure.

[0070] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the signal processing method as described in the first aspect of the present disclosure.

[0071] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0072] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0073] Figure 1This is a flowchart illustrating a signal processing method according to an exemplary embodiment.

[0074] Figure 2 This is a flowchart illustrating a signal processing method according to an exemplary embodiment.

[0075] Figure 3 This is a flowchart illustrating a signal processing method according to an exemplary embodiment.

[0076] Figure 4 This is a block diagram of a signal processing apparatus according to an exemplary embodiment.

[0077] Figure 5 This is a block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation

[0078] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0079] The signal processing method provided in this disclosure is executed by an electronic device, which may specifically be a mobile phone, tablet computer, laptop, smart robot, smart wearable device, or other smart device. Furthermore, the electronic device also includes various hardware resources and energy storage devices that provide power for the operation of these hardware resources.

[0080] Figure 1 This is a flowchart illustrating a signal processing method according to an exemplary embodiment, executed by an electronic device, see [link to flowchart]. Figure 1 The method includes the following steps:

[0081] Step S101: Obtain the sampling data of each of the multiple signals. The multiple signals are associated with the same target object, and at least two of the multiple signals have different signal frequencies. The sampling data of each of the multiple signals is obtained based on the same target sampling frequency.

[0082] In some embodiments, multiple signal channels may be used to acquire multiple signals of the same target object, and based on the acquired multiple signals, the sampling data of each of the multiple signals may be determined.

[0083] In some embodiments, the properties of the multiple signals of the target object acquired by multiple signal channels may differ depending on the application scenario, and the methods for acquiring multiple signals may also differ. The process of acquiring multiple signals is illustrated below using three application scenarios as examples.

[0084] In one example, in applications such as industrial automation and environmental monitoring, signals from multiple different types of sensors can be acquired, such as temperature signals, humidity signals, photosensitivity signals, and pressure signals. For instance, in any monitoring scenario, temperature, humidity, and pressure signals can be obtained by monitoring with temperature sensors, humidity sensors, and pressure sensors. Then, each of the multiple signal channels can be used to acquire the temperature, humidity, and pressure signals separately, thus obtaining multiple signals.

[0085] In one example, in a communication system application scenario, audio signals, radio frequency signals, etc., can be acquired. For instance, in a multi-channel audio system, multiple microphones can be used to collect sound signals from different directions, and then multiple sound signals can be obtained through multiple signal channels to obtain multiple sound signals.

[0086] In one example, in applications such as biomedical signal detection, multiple physiological signals can be acquired. For instance, in electrocardiogram (ECG) monitoring, multiple electrical activity signals of the heart can be collected by attaching multiple electrodes to different parts of the body, and these signals can be obtained through multiple signal channels, thus yielding multiple electrical activity signals.

[0087] In some embodiments, at least two of the multiple signals have different signal frequencies. For example, the multiple signals include signal 1, signal 2, and signal 3, where the signal frequency of signal 1 can be 1kHz, the signal frequency of signal 2 can be 10Hz, and the signal frequency of signal 3 can be 1Hz, with all three signals having different frequencies. Correspondingly, different signal channels can acquire signals of different frequencies. When the signal frequencies acquired by a signal channel are different, the channel's attributes differ. For example, when a signal channel acquires a relatively high-frequency signal, its attribute can be a high-frequency channel; when it acquires a relatively low-frequency signal, its attribute can be a low-frequency channel. Accordingly, the attributes of each of the multiple signal channels can be the same or different.

[0088] Sampling data can refer to the data after analog-to-digital conversion (ADC) of each signal. ADC converts signals from analog to digital and includes sampling and conversion processes. In some embodiments, a target sampling frequency can be used to perform ADC on each of the multiple signals to obtain sampling data for each signal.

[0089] The target sampling frequency can be set and selected according to actual needs. Optionally, the sampling frequency corresponding to the highest signal frequency among multiple signals can be determined as the target sampling frequency. For example, if multiple signals include signal 1, signal 2, and signal 3, where the signal frequency of signal 1 can be 1kHz, the signal frequency of signal 2 can be 10Hz, and the signal frequency of signal 3 can be 1Hz, then the target sampling frequency is 1kHz. In this way, by setting the target sampling frequency to the sampling frequency corresponding to the highest signal frequency, it can be ensured that all details of the signal are accurately captured, avoiding signal distortion or information loss due to insufficient sampling frequency.

[0090] In some embodiments, a target sampling frequency can be used to perform analog-to-digital conversion on each of the multiple signals simultaneously.

[0091] In some embodiments, the multiple signal channels can be the multiple signal channels included in the analog-to-digital conversion module, such as the multiple signal channels included in the analog-to-digital converter. Accordingly, multiple signals can be acquired using the multiple signal channels in the analog-to-digital conversion module, and the analog-to-digital conversion module can be used to perform analog-to-digital conversion processing on each signal to obtain the sampled data of each signal.

[0092] The following is a brief explanation of the process of performing analog-to-digital conversion on each signal to obtain the sampled data of each signal.

[0093] In some embodiments, each signal can be sampled to obtain first data for each signal, and the first data for each signal can be converted to obtain second data for each signal. The second data for each signal is then determined as the sampled data for each signal. The first data is analog signal data, and the second data is digital signal data. Analog signal data and digital signal data are two different types of data. An analog signal is a continuously changing signal whose amplitude, frequency, or phase changes continuously over time. An analog signal can be represented as a continuous function, such as using a continuous waveform. A digital signal is a discrete signal whose amplitude and time are both discrete. A digital signal can be represented as discrete numerical values, such as using binary form (0 and 1).

[0094] It should be noted that after sampling, the signal type does not change; the first data remains an analog signal, but it is represented as discrete data. Through conversion processing, the first data can be converted from analog signal data to digital signal data, meaning the second data becomes digital signal data.

[0095] Step S102: Based on the signal frequency of each signal, the sampled data of each signal is stored, wherein the amount of data stored in the sampled data of the signal is positively correlated with the signal frequency of the signal.

[0096] In some embodiments, the sampled data of each signal can be stored in a target storage area; the target storage area is used to store the data obtained after the signal is converted from analog to digital; based on the signal frequency of each signal, the sampled data of each signal stored in the target storage area is transferred to a preset storage area.

[0097] In some embodiments, the electronic device includes an analog-to-digital conversion module, which includes a storage area. A target storage area can be used to characterize the storage area of ​​the analog-to-digital conversion module. That is, after obtaining the sampled data of each signal, the sampled data of each signal can be temporarily stored in the target storage area. Then, the sampled data of each signal can be retrieved from the target storage area and stored in a preset storage area. It should be noted that before storing the sampled data of each signal in the preset storage area, the sampled data of each signal is stored in the target storage area. Furthermore, in this embodiment, after the signal is sampled and converted, the sampled data of that sampling point can be stored in the target storage area.

[0098] The preset storage area can refer to the Direct Memory Access Buffer (DMA) buffer area. The preset storage area can read data from the target storage area and store the data in the target storage area.

[0099] In related technologies, since multiple signals may have different frequencies, using the same sampling frequency for sampling and conversion of each signal may result in data redundancy for higher-frequency signals, while the amount of sampled data may meet the actual sampling requirements. Here, "higher-frequency" refers to a signal with a higher frequency relative to the others, and "lower-frequency" refers to a signal with a lower frequency relative to the others. Therefore, storing all the sampled data for each signal would consume significant memory resources, leading to wasted memory. In resource-constrained embedded systems, this memory waste can severely impact overall system performance and scalability. For example, for signals 1-3 above, if the target sampling frequency corresponds to the sampling frequency of the largest signal frequency among the multiple signal frequencies, i.e., 1kHz for signal 1, then the sampling data of signal 1 meets its signal frequency requirement. However, the signal frequencies of signal 2 and signal 3 have a large frequency difference from the signal frequency of signal 1. Therefore, the sampling data of signal 2 and signal 3 will generate a large amount of redundant data. Subsequently, when storing the sampling data of signals 1-3, it will lead to memory waste and data redundancy.

[0100] In some embodiments, the amount of data stored in the sampled data of each signal can be determined based on the signal frequency of each signal, and the corresponding amount of sampled data can be stored. In some embodiments, for the signal with the highest signal frequency among multiple signals, all the sampled data of that signal can be stored. For signals with a signal frequency lower than the highest signal frequency, the amount of data stored in the sampled data of that signal can be reduced as the signal frequency decreases.

[0101] In this way, for higher-frequency signals, more sampled data can be stored, thus preserving more key information from the sampled data of higher-frequency signals. Conversely, for lower-frequency signals, the amount of sampled data stored can be reduced, avoiding redundancy issues caused by lower-frequency signal sampled data, reducing memory resource consumption, and enabling more efficient execution of other tasks, such as real-time signal processing. Furthermore, performing the steps described in this disclosure on an embedded system can also solve the resource constraints of embedded systems, promoting the widespread application and development of embedded systems in more fields.

[0102] The method provided in this disclosure stores a number of sampled signals whose data volume is positively correlated with the signal frequency. Signals with higher frequencies will have more data stored, while signals with lower frequencies will have less data stored. This on-demand storage method allows for the storage of sufficient sampled data for higher-frequency signals, improving the accuracy and efficiency of signal processing. Furthermore, it effectively utilizes storage resources and avoids unnecessary data redundancy.

[0103] In some embodiments, the following is by Figure 2 The illustrated embodiment describes the process of storing sampled data for each signal based on the signal frequency of each signal.

[0104] Figure 2 This is a flowchart illustrating a signal processing method according to an exemplary embodiment, executed by an electronic device, see [link to flowchart]. Figure 2 The method includes the following steps:

[0105] Step S201: Based on the signal frequency of each signal, determine the signal type of each signal. The signal type includes any one of at least two signal types, and the signal frequencies of signals of different signal types are different.

[0106] In some embodiments, the signal type of each signal can be determined based on the relative magnitudes of their frequencies. That is, the signal type is determined based on the relative magnitudes of their frequencies. In some embodiments, the same signal type can include signals with different frequencies. Thus, signals with similar frequencies can be grouped into the same signal type, while signals with significantly different frequencies can be grouped into different signal types. In this way, by comparing the relative magnitudes of their frequencies, signals can be dynamically classified, avoiding reliance on absolute frequency values ​​and improving classification flexibility. Furthermore, even when the absolute frequencies of multiple signals change, the signal type can still be correctly identified as long as the relative magnitudes remain constant.

[0107] For example, given signals 1-3 above, if the frequency of signal 1 is greater than the frequencies of signals 2 and 3, then signal 1 can be classified as the first signal type, and signals 2 and 3 can be classified as the second signal type. Similarly, if the frequency of signal 1 is greater than the frequencies of signals 2 and 3, and the frequency of signal 2 is greater than the frequency of signal 3, then signal 1 can be classified as the first signal type, signal 2 as the second signal type, and signal 3 as the third signal type. Furthermore, when two signals exist, the signal type of the signal with the relatively higher frequency can be designated as the first signal type, and the signal type of the signal with the relatively lower frequency can be designated as the second signal type.

[0108] In some embodiments, the signal type of each signal can be determined based on a preset signal frequency threshold. For example, if the signal frequency is greater than the preset signal frequency threshold, the signal type can be determined to be a first signal type; or if the signal frequency is less than or equal to the preset signal frequency threshold, the signal type can be determined to be a second signal type.

[0109] In some embodiments, for each signal, a target area for storing the signal's sampled data can be determined within a preset storage region based on the signal type. Then, the signal's sampled data is stored in the target area based on the signal type; different signal types correspond to different areas within the preset storage region. That is, sampled data for signals of different types can be stored in different areas of the preset storage region. In this way, storage space can be allocated according to the actual needs of each signal type, thereby optimizing the use of storage resources. Furthermore, when sampled data for a specific signal needs to be retrieved, the required data can be quickly located and retrieved, thereby reducing retrieval time and computational resource consumption.

[0110] In some embodiments, in response to the data volume in the target area exceeding a preset threshold, the data stored in the target area can be read, and a preset operation can be triggered based on the data stored in the target area. The preset operation may include subsequent analysis / processing operations related to the sampled data, such as data cleaning, data feature extraction (time domain feature extraction, frequency domain feature extraction, etc.), statistical analysis between data, and data-based modeling and prediction. Furthermore, after reading the data stored in the target area, the sampled data stored in the target area can be deleted. In subsequent storage processes, sampled data can continue to be stored in the target area.

[0111] In some embodiments, the electronic device pre-stores a correspondence between signal types and target regions. Accordingly, the target region corresponding to a signal type can be determined based on this correspondence. For example, for a first signal type, the first signal type corresponds to a first region; for a second signal type, the second signal type corresponds to a second region; and for a third signal type, the third signal type corresponds to a third region.

[0112] In some embodiments, within a preset storage area, the storage locations of different target areas corresponding to different signal types are sequentially related. Furthermore, the higher the signal frequency of a signal type, the earlier its target area is located in the preset storage area; conversely, the lower the signal frequency, the later its target area is located. This allows for prioritizing the storage of sampled data for higher-frequency signals in the earlier part of the preset storage area, enabling faster access and reducing latency. Conversely, storing sampled data for lower-frequency signals in the later part of the preset storage area avoids allocating excessive storage space for them, thus reducing storage space usage.

[0113] Optionally, the physical addresses included in the preset storage regions can be determined, and different physical addresses can be assigned to the storage locations included in different target regions. Based on the size of the physical addresses, the order of the storage locations included in different target regions can be determined. For example, if the physical address range of the storage locations included in the first region is 0x1000-0x10FF, and the physical address range of the storage locations included in the second region is 0x2000-0x20FF, then the storage locations included in the first region are located before the storage locations included in the second region. It should be noted that the higher the signal frequency of the signal corresponding to the signal type, the earlier the physical address of the storage location included in the target region corresponding to the signal type is assigned.

[0114] In one example, taking at least two signal types, including a first signal type and a second signal type, the process of determining the target area for storing sampled data of a signal in a preset storage region based on the signal type is explained. Here, the signal frequency of the signal of the first signal type is greater than the signal frequency of the signal of the second signal type. It can be understood that in this example, the first signal type can be a high-frequency signal type, and the second signal type can be a low-frequency signal type. When the signal has a higher frequency than other signals among multiple signals, the signal type can be determined to be a high-frequency signal, and correspondingly, the signal is a high-frequency signal; when the signal has a lower frequency than other signals among multiple signals, the signal type can be determined to be a low-frequency signal, and correspondingly, the signal is a low-frequency signal.

[0115] In response to a signal of the first signal type, a first region in a preset storage area is determined as the target region; or, in response to a signal of the second signal type, a second region in a preset storage area is determined as the target region, wherein the storage location included in the first region in the preset storage area is located before the storage location included in the second region.

[0116] That is, in response to the signal type of the signal being a high-frequency signal, the first region is determined as the target region of the high-frequency signal type; in response to the signal type of the signal being a low-frequency signal, the second region is determined as the target region of the low-frequency signal type, and the storage location included in the first region is located before the storage location included in the second region.

[0117] In this way, by storing the sampling data of high-frequency signals and low-frequency signals in different areas, redundant data generated by low-frequency signals at high sampling rates can be reduced, thereby improving storage efficiency.

[0118] Step S202: Store the sampled data of each signal based on the signal type of each signal.

[0119] In some embodiments, target data to be stored can be selected from the sampled data of a signal based on the signal type of each signal; and the target data can be stored. That is, for any signal type, target data to be stored can be selected from the sampled data of the signal based on actual needs. For example, for a signal of the first signal type, all data of the signal's sampled data can be stored; for a signal of the second signal type, half of the data of the signal's sampled data can be stored; or, for either the first or the second signal type, target data to be stored can be randomly selected from the signal's sampled data.

[0120] In some embodiments, the signal type responding to the signal is a preset signal type. Based on the preset signal type, target data to be stored can be selected from the sampled data of the signal; the target data is then stored. The preset signal type can be set and selected based on actual needs.

[0121] In some embodiments, a preset signal type can be used to characterize a signal whose frequency is lower than a target sampling frequency, and the sampled data includes redundant data. That is, when the signal type is the preset signal type, the sampled data is selectively stored. Therefore, based on the preset signal type, target data to be stored can be selected from the sampled data, thereby removing redundant data and reducing storage space usage. Optionally, for signals whose signal type is other than the preset signal type, all sampled data of that signal can be stored.

[0122] Optionally, the preset signal type can be the low-frequency signal type among the high-frequency signal type and low-frequency signal type mentioned above. Optionally, when the signal type of each signal includes three or more signal types, the preset signal type can include multiple signal types. For example, the preset signal type can include the second signal type and the third signal type among the first signal type, the second signal type and the third signal type in the example above.

[0123] In some embodiments, the target data to be stored may differ depending on the specific type of the preset signal type. For example, the preset signal type includes a second signal type and a third signal type. The target data to be stored corresponding to the second signal type is the first n samples of the signal's sampled data, while the target data to be stored corresponding to the third signal type is the first m samples of the signal's sampled data. Therefore, the target data to be stored corresponding to the preset signal type can be selected from the signal's sampled data based on the preset signal type.

[0124] In some embodiments, when there are both high-frequency and low-frequency signal types, all sampling data of the high-frequency signal corresponding to the high-frequency signal type can be stored, while the sampling data of the low-frequency signal corresponding to the low-frequency signal type can be selectively stored. This ensures the integrity of the sampling data corresponding to the high-frequency signal, preventing the loss of critical information, and also removes redundant low-frequency signal sampling data, reducing memory usage. Furthermore, it improves the overall efficiency of signal processing.

[0125] In some embodiments, the process of selecting target data to be stored from the sampled data of a signal based on a preset signal type is described below.

[0126] In some embodiments, target data to be stored can be selected from the sampled data of the signal based on a first sampling period and a second sampling period. The first sampling period is a sampling period associated with a preset signal type, and is determined based on a sampling frequency associated with the preset signal type. The sampling frequency associated with the preset signal type can be the signal frequency of a signal of the preset signal type. The second sampling period is determined based on a target sampling frequency. In some embodiments, the first and second sampling periods are determined based on the relationship between sampling period and sampling frequency in related technologies, which will not be elaborated further here. Thus, the target data to be stored can be determined based on the actual required sampling period of the signal and the current sampling period, thereby improving the correlation between the target data to be stored and the actual sampling requirements of the signal.

[0127] In some embodiments, a first sampling period can be determined based on a preset signal type. Based on the first sampling period and a second sampling period, target data to be stored is selected from the sampled data of the signal. The sampled data of the signal is data collected in a series of consecutive second sampling periods. The duration of the first sampling period is greater than the duration of the second sampling period. The start time of the first sampling period is the same as the start time of the first second sampling period in the series of consecutive second sampling periods. The duration of the series of consecutive second sampling periods is greater than or equal to the duration of the first sampling period.

[0128] In some embodiments, a first time period within a first sampling period can be determined; the first time period is the time period when data is collected based on the first sampling period; based on the first time period, a second time period within a series of second sampling periods is determined; the duration of the first time period is the same as the duration of the second time period, and the start time of the first time period is the same as the start time of the second time period; the data collected in the second time period from the sampled data of the signal is determined as the target data.

[0129] The duration and start time of the first time period can be set and selected based on actual needs, as can the duration and start time of the second time period. In some embodiments, the sampled data included in the second time period that overlaps with the first time period within multiple second sampling periods can be determined, and this sampled data can be identified as the target data. For example, if the first sampling period is 10 milliseconds, the second sampling period is 100 microseconds, and the first time period is the 9th to 10th millisecond within the 10 milliseconds, then the second time period is the time period that overlaps with the 9th to 10th millisecond within multiple consecutive second sampling periods, i.e., the 9000th to 10000th microsecond. Accordingly, the data collected from the 9000th to 10000th microsecond can be identified as the target data. That is, the last ten sampled data points among the sampled data collected in multiple consecutive second sampling periods within the first sampling period are taken as the target data.

[0130] In some embodiments, a target second sampling period can be determined at preset intervals of a number of second sampling periods. The sampling data collected in the target second sampling period is used as the target data, until the amount of the determined sampling data meets the required amount of data. For example, sampling data can be collected in 10 second sampling periods, and the collected sampling data can be used as the target data.

[0131] The method provided in this disclosure can classify signals into different types and store them according to signal type, thereby achieving more granular storage management. Furthermore, by classifying storage, the most suitable storage resources can be allocated to each signal type, thereby improving storage efficiency.

[0132] Figure 3 This is a flowchart illustrating a signal processing method according to an exemplary embodiment, executed by an electronic device, see [link to flowchart]. Figure 3 The method includes the following steps:

[0133] Step S301: Obtain the sampling data of each of the multiple signals.

[0134] Step S302: Based on the relative magnitudes of the signal frequencies of each signal among the multiple signals, determine the signal type of each signal. If the signal type is a first signal type, proceed to step S303; if the signal type is a second signal type, proceed to step S305.

[0135] In step S303, in response to the signal type being the first signal type, the first region in the preset storage area is determined as the target region.

[0136] Step S304: Store the sampled signal data in the first area of ​​the preset storage area.

[0137] In step S305, in response to the signal type being the second signal type, the second region in the preset storage area is determined as the target region.

[0138] Step S306: Based on the preset signal type, select the target data to be stored from the sampled data of the signal and store the target data in the second area of ​​the preset storage area.

[0139] In some embodiments, a hardware module can be added to the electronic device to filter the sampled data, thereby reducing redundant data. The hardware module can be configured and selected based on actual needs; for example, it can be a hardware filter or other modules with data filtering functions. In this way, when storing the sampled data, redundant data can be effectively removed, reducing memory usage and improving the operating speed of the electronic device.

[0140] Figure 4 This is a block diagram illustrating a signal processing apparatus according to an exemplary embodiment, configured in an electronic device, see [link to relevant documentation]. Figure 4 The device includes:

[0141] The acquisition module 401 is used to acquire the sampling data of each of the multiple signals, the multiple signals are associated with the same target object, and at least two of the multiple signals have different signal frequencies, and the sampling data of each of the multiple signals is obtained based on the same target sampling frequency;

[0142] The processing module 402 is used to store the sampled data of each signal based on the signal frequency of each signal, wherein the amount of data stored in the sampled data of the signal is positively correlated with the signal frequency of the signal.

[0143] In some embodiments, the processing module 402 is configured to:

[0144] Based on the signal frequency of each signal, determine the signal type of each signal. The signal type includes any one of at least two signal types, and signals of different signal types have different signal frequencies.

[0145] Based on the signal type of each signal, the sampled data of each signal is stored.

[0146] In some embodiments, the processing module 402 is configured to:

[0147] For each signal, based on the signal type, a target area in the preset storage region is determined for storing the sampled data of the signal. Different signal types correspond to different areas in the preset storage region.

[0148] Based on the signal type, the sampled data of the signal is stored in the target area.

[0149] In some embodiments, at least two signal types include a first signal type and a second signal type, wherein the signal frequency of the first signal type is greater than the signal frequency of the second signal type.

[0150] Processing module 402 is configured as follows:

[0151] In response to a signal of the first signal type, the first region within the preset storage area is determined as the target region; or...

[0152] In response to the signal type being the second signal type, the second region in the preset storage area is determined as the target region, and the storage location included in the first region in the preset storage area is located before the storage location included in the second region.

[0153] In some embodiments, the processing module 402 is configured to:

[0154] The signal type of the signal is a preset signal type. Based on the preset signal type, the target data to be stored is selected from the sampled data of the signal.

[0155] Store the target data.

[0156] In some embodiments, the processing module 402 is configured to:

[0157] Based on a preset signal type, a first sampling period is determined, which is a sampling period associated with the preset signal type;

[0158] Based on the first sampling period and the second sampling period, target data to be stored is selected from the sampled data of the signal. The sampled data of the signal is the data collected in multiple consecutive second sampling periods. The second sampling period is determined based on the target sampling frequency, and the duration of the first sampling period is longer than the duration of the second sampling period.

[0159] In some embodiments, the start time of the first sampling period is the same as the start time of the first second sampling period in a plurality of consecutive second sampling periods, and the duration of the plurality of consecutive second sampling periods is greater than or equal to the duration of the first sampling period.

[0160] Processing module 402 is configured as follows:

[0161] Determine the first time period within the first sampling period; the first time period is the time period during which data is collected based on the first sampling period.

[0162] Based on the first time period, a second time period is determined within a series of consecutive second sampling periods; the duration of the first time period and the duration of the second time period are the same, and the start time of the first time period and the start time of the second time period are the same.

[0163] The data collected during the second time period from the sampled signal data is identified as the target data.

[0164] In some embodiments, the processing module 402 is configured to:

[0165] The signal type of each signal is determined based on the relative magnitudes of the signal frequencies of each of the multiple signals.

[0166] In some embodiments, the processing module 402 is further configured to:

[0167] The sampling frequency corresponding to the largest signal frequency among multiple signals is determined as the target sampling frequency.

[0168] In some embodiments, the acquisition module 401 is configured to:

[0169] Based on the target sampling frequency, each signal is subjected to analog-to-digital conversion to obtain the sampled data of each signal.

[0170] In some embodiments, the processing module 402 is further configured to:

[0171] Each signal's sampled data is stored in the target storage area; the target storage area is used to store the data obtained after the signal has undergone analog-to-digital conversion.

[0172] Based on the signal frequency of each signal, the sampled data of each signal stored in the target storage area is transferred to the preset storage area.

[0173] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0174] This disclosure also provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the signal processing method described above.

[0175] Figure 5 This is a block diagram of an electronic device 500 according to an exemplary embodiment.

[0176] Reference Figure 5 The electronic device 500 may include one or more of the following components: processing component 502, memory 504, power supply component 506, multimedia component 508, audio component 510, input / output (I / O) interface 512, sensor component 514, and communication component 516.

[0177] Processing component 502 typically controls the overall operation of electronic device 500, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 502 may include one or more processors 520 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 502 may include one or more modules to facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.

[0178] Memory 504 is configured to store various types of data to support the operation of electronic device 500. Examples of such data include instructions for any application or method operating on electronic device 500, contact data, phonebook data, messages, pictures, videos, etc. Memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0179] Power supply component 506 provides power to various components of electronic device 500. Power supply component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 500.

[0180] Multimedia component 508 includes a screen that provides an output interface between the electronic device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 508 includes a front-facing camera and / or a rear-facing camera. When the electronic device 500 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0181] Audio component 510 is configured to output and / or input audio signals. For example, audio component 510 includes a microphone (MIC) configured to receive external audio signals when electronic device 500 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 504 or transmitted via communication component 516. In some embodiments, audio component 510 also includes a speaker for outputting audio signals.

[0182] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0183] Sensor assembly 514 includes one or more sensors for providing state assessments of various aspects of electronic device 500. For example, sensor assembly 514 may detect the on / off state of electronic device 500, the relative positioning of components such as the display and keypad of electronic device 500, changes in position of electronic device 500 or a component of electronic device 500, the presence or absence of user contact with electronic device 500, orientation or acceleration / deceleration of electronic device 500, and temperature changes of electronic device 500. Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 514 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0184] Communication component 516 is configured to facilitate wired or wireless communication between electronic device 500 and other devices. Electronic device 500 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 516 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0185] In an exemplary embodiment, the electronic device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0186] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, which can be executed by a processor 520 of an electronic device 500 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0187] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the signal processing methods provided in exemplary embodiments of this disclosure.

[0188] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the signal processing method described in the above embodiments.

[0189] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0190] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A signal processing method, characterized in that, include: The sampling data of each of a plurality of signals is acquired, wherein the plurality of signals are associated with the same target object and at least two of the plurality of signals have different signal frequencies, and the sampling data of each of the plurality of signals is obtained based on the same target sampling frequency; Based on the signal frequency of each signal, the sampled data of each signal is stored, wherein the amount of data stored in the sampled data of the signal is positively correlated with the signal frequency of the signal.

2. The signal processing method according to claim 1, characterized in that, The step of storing the sampled data of each signal based on the signal frequency of each signal includes: Based on the signal frequency of each signal, the signal type of each signal is determined, wherein the signal type includes any one of at least two signal types, and the signal frequencies of signals of different signal types are different; Based on the signal type of each signal, the sampled data of each signal is stored.

3. The signal processing method according to claim 2, characterized in that, The storage of sampled data for each signal based on its signal type includes: For each signal, based on the signal type of the signal, a target area in a preset storage region is determined for storing the sampled data of the signal, with different signal types corresponding to different areas in the preset storage region; Based on the signal type of the signal, the sampled data of the signal is stored in the target area.

4. The signal processing method according to claim 3, characterized in that, The at least two signal types include a first signal type and a second signal type, wherein the signal frequency of the first signal type is greater than the signal frequency of the second signal type. The step of determining a target area in a preset storage region for storing the sampled data of the signal based on the signal type of the signal includes: In response to the signal type being the first signal type, a first region within the preset storage area is determined as the target region; or... In response to the signal type being the second signal type, the second region in the preset storage region is determined as the target region, wherein the storage location included in the first region in the preset storage region is located before the storage location included in the second region.

5. The signal processing method according to claim 2, characterized in that, The storage of sampled data for each signal based on its signal type includes: In response to the signal type being a preset signal type, target data to be stored is selected from the sampled data of the signal based on the preset signal type; The target data is stored.

6. The signal processing method according to claim 5, characterized in that, The step of selecting target data to be stored from the sampled data of the signal based on the preset signal type includes: Based on the preset signal type, a first sampling period is determined, wherein the first sampling period is a sampling period associated with the preset signal type; Based on the first sampling period and the second sampling period, target data to be stored is selected from the sampled data of the signal. The sampled data of the signal is data collected in multiple consecutive second sampling periods. The second sampling period is determined based on the target sampling frequency. The duration of the first sampling period is greater than the duration of the second sampling period.

7. The signal processing method according to claim 6, characterized in that, The start time of the first sampling period is the same as the start time of the first second sampling period in the plurality of consecutive second sampling periods, and the duration of the plurality of consecutive second sampling periods is greater than or equal to the duration of the first sampling period; The step of selecting target data to be stored from the sampled data of the signal based on the first sampling period and the second sampling period includes: Determine a first time period within the first sampling period; the first time period is the time period during which data is collected based on the first sampling period. Based on the first time period, a second time period is determined within the consecutive multiple second sampling periods; the duration of the first time period and the duration of the second time period are the same, and the start time of the first time period and the start time of the second time period are the same. The data collected during the second time period from the sampled data of the signal is determined as the target data.

8. The signal processing method according to claim 2, characterized in that, Determining the signal type of each signal based on its signal frequency includes: The signal type of each signal is determined based on the relative magnitudes of the signal frequencies of each of the plurality of signals.

9. The signal processing method according to any one of claims 1 to 8, characterized in that, The method further includes: The sampling frequency corresponding to the largest signal frequency among multiple signals is determined as the target sampling frequency.

10. The signal processing method according to any one of claims 1 to 8, characterized in that, The acquisition of sampled data for each of the multiple signals includes: Based on the target sampling frequency, each signal is subjected to analog-to-digital conversion to obtain the sampling data of each signal.

11. The signal processing method according to claim 10, characterized in that, The step of storing the sampled data of each signal based on the signal frequency of each signal includes: The sampled data of each signal is stored in a target storage area; the target storage area is used to store the data obtained after the signal has undergone analog-to-digital conversion. Based on the signal frequency of each signal, the sampled data of each signal stored in the target storage area is transferred to a preset storage area.

12. A signal processing apparatus, characterized in that, include: An acquisition module is used to acquire sampling data of each of a plurality of signals, wherein the plurality of signals are associated with the same target object, and at least two of the plurality of signals have different signal frequencies, and the sampling data of each of the plurality of signals is obtained based on the same target sampling frequency; The processing module is used to store the sampled data of each signal based on the signal frequency of each signal, wherein the amount of data stored in the sampled data of the signal is positively correlated with the signal frequency of the signal.

13. The signal processing apparatus according to claim 12, characterized in that, The processing module is configured as follows: Based on the signal frequency of each signal, the signal type of each signal is determined, wherein the signal type includes any one of at least two signal types, and the signal frequencies of signals of different signal types are different; Based on the signal type of each signal, the sampled data of each signal is stored.

14. The signal processing apparatus according to claim 13, characterized in that, The processing module is configured as follows: For each signal, based on the signal type of the signal, a target area in a preset storage region is determined for storing the sampled data of the signal, with different signal types corresponding to different areas in the preset storage region; Based on the signal type of the signal, the sampled data of the signal is stored in the target area.

15. The signal processing apparatus according to claim 14, characterized in that, The at least two signal types include a first signal type and a second signal type, wherein the signal frequency of the first signal type is greater than the signal frequency of the second signal type. The processing module is configured as follows: In response to the signal type being the first signal type, the first region in the preset storage region is determined as the target region; or, In response to the signal type being the second signal type, the second region in the preset storage region is determined as the target region, wherein the storage location included in the first region in the preset storage region is located before the storage location included in the second region.

16. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the signal processing method as described in any one of claims 1-11.

17. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the signal processing method as described in any one of claims 1-11.

18. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the signal processing method as described in any one of claims 1-11.