Data acquisition method, chip, circuit, electronic device, storage medium and computer program product

CN122507589APending Publication Date: 2026-08-04SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
Filing Date
2026-06-26
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

在此过程中,处理器需承担数据读取、阈值判断、采集控制等任务,在多传感器并行采集场景下,处理器需频繁中断处理当前任务,占用处理器大量计算资源,且响应滞后

Benefits of technology

[0024]In the above solution, chips such as the BMC handle sensor signal acquisition, storage, and threshold comparison, without requiring processor intervention in related calculations and judgments. This effectively reduces processor interruptions, completely frees up processor computing resources, and decouples sensor data acquisition from the processor. Dynamic thresholds are periodically generated based on all data stored in the cache area and compared with the currently acquired sensor signals. This adapts to various state changes during electronic device operation, avoiding judgment errors that can easily occur with fixed thresholds. Simultaneously, signal acquisition and threshold comparison operations are directly executed by chips such as the BMC, significantly improving overall response speed. Combining multi-level dynamic thresholds allows for matching different acquisition strategies and flexible adjustment of sensor acquisition frequency. While ensuring data acquisition effectiveness, it also allows for reasonable control of overall power consumption, making the status monitoring and fault early warning of electronic devices more stable and efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122507589A_ABST
    Figure CN122507589A_ABST
Patent Text Reader

Abstract

This application provides a data acquisition method, chip, circuit, electronic device, storage medium, and computer program product, relating to the field of data processing. The method includes: acquiring sensor signals collected by a sensor and storing them in a buffer area; comparing the sensor signals with a dynamic threshold to obtain a comparison result, wherein the dynamic threshold is periodically determined based on multiple sensor signals collected within a preset time period; and executing a corresponding acquisition strategy based on the comparison result, wherein the acquisition strategy includes at least notifying a processor to read the sensor signals.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of data processing, and in particular to a data acquisition method, a chip, a circuit, an electronic device, a storage medium and a computer program product. BACKGROUND

[0002] In current servers, industrial control systems and the like, sensor data acquisition is a core link for realizing device state monitoring and fault early warning. With the increase in system complexity, a single device can integrate multiple types of sensors such as temperature, humidity, voltage and vibration, and real-time performance, power consumption control and reliability of data acquisition become key challenges. Traditional sensor data acquisition relies on a processor to perform periodic reading, or triggers acquisition according to a fixed threshold through the processor. The data acquisition process of a traditional sensor is that a sensor acquires a sensor signal and transmits it to a processor through a data bus, the processor runs an algorithm to determine whether to acquire the sensor signal, and if it is determined that acquisition is needed, a control signal is generated and fed back to an execution unit. In this process, the processor needs to undertake tasks such as data reading, threshold determination and acquisition control, and in the case of parallel acquisition of multiple sensors, the processor needs to frequently interrupt the processing of the current task, occupying a large amount of computing resources of the processor, and the response is lagging. SUMMARY

[0003] The present application provides a data acquisition method, a chip, a circuit, an electronic device, a storage medium and a computer program product.

[0004] The present application provides a data acquisition method, a chip, a circuit, an electronic device, a storage medium and a computer program product. acquiring a sensor signal collected by a sensor and storing it in a cache area; comparing the sensor signal with a dynamic threshold to obtain a comparison result, the dynamic threshold being determined periodically according to a plurality of sensor signals collected within a preset time period; executing a corresponding acquisition strategy according to the comparison result, the acquisition strategy at least including notifying a processor to read the sensor signal.

[0005] The method further comprises: determining that a target condition is met, determining the dynamic threshold according to a plurality of sensor signals collected within a preset time period, the target condition being that after initialization, every preset time period elapses or a current signal mean change amount is greater than a preset multiple of a current signal standard deviation, the current signal mean change amount and the current signal standard deviation being determined by all sensor signals in the cache area.

[0006] The dynamic threshold is determined according to the plurality of sensor signals collected within the preset time period, comprising: determining a signal mean and a signal standard deviation according to the plurality of sensor signals; A first dynamic threshold, a second dynamic threshold, and a third dynamic threshold are determined based on the signal mean and the signal standard deviation, wherein the third dynamic threshold is less than the first dynamic threshold, and the first dynamic threshold is less than the second dynamic threshold.

[0007] The step of comparing the sensor signal with a dynamic threshold and executing a corresponding acquisition strategy based on the comparison result includes: If the comparison result indicates that the sensor signal is greater than the first dynamic threshold and less than or equal to the second dynamic threshold, the sensor signal is written into the queue. A first request is sent to the processor to cause the processor to execute a target task according to the first request. The target task is to interrupt the current task to read the sensor signal from the queue, read the sensor signal from the queue after completing the current task, or not read the sensor signal.

[0008] The step of comparing the sensor signal with a dynamic threshold and executing a corresponding acquisition strategy based on the comparison result includes: If the comparison result indicates that the sensor signal is greater than the second dynamic threshold, the sensor is controlled to increase its signal acquisition frequency. Write the sensor signal into the queue; A second request is sent to the processor to cause the processor to interrupt its current task and read the sensor signal from the queue.

[0009] Sending the first request to the processor includes: Obtain configuration information, determine the target task based on the configuration information, generate a first request corresponding to the target task, and send the first request to the processor so that the processor executes the target task; Alternatively, a first request may be sent to the processor so that the processor determines and executes the target task based on the priority information of the current task.

[0010] The method further includes: The target sensor signal is determined based on the write timestamp corresponding to each sensor signal in the cache area, and the target sensor signal is moved out of the cache area. The signal priority of each sensor signal in the buffer area is determined, the target sensor signal is determined according to the signal priority of the sensor signal, and the target sensor signal is moved out of the buffer area. The signal priority represents the degree of deviation of the sensor signal from the dynamic threshold. Alternatively, based on each sensor signal in the buffer region, a target sensor signal is determined from the multiple sensor signals adjacent to it in the buffer region, and the target sensor signal is moved out of the buffer region.

[0011] The method further includes: If the comparison result indicates that the sensor signal is less than the third dynamic threshold, the sensor is controlled to reduce its signal acquisition frequency.

[0012] Another embodiment of this application provides a chip, the chip including: a signal processing module, a core control unit, and a storage module; the signal processing module and the core control unit are electrically connected. The signal processing module is used to acquire the sensor signals collected by the sensor and transmit them to the storage module for storage; The core control unit is used to compare the sensor signal with a dynamic threshold to obtain a comparison result, wherein the dynamic threshold is periodically determined based on multiple sensor signals collected within a preset time period; and to execute a corresponding acquisition strategy based on the comparison result, wherein the acquisition strategy includes at least notifying the processor to read the sensor signal.

[0013] The core control unit is used to determine whether the target condition is met. It determines the dynamic threshold based on multiple sensor signals collected within a preset time period. The target condition is that after initialization, the change in the mean of the current signal is greater than a preset multiple of the standard deviation of the current signal after a preset time period or the current signal standard deviation is greater than a preset multiple. The change in the mean of the current signal and the standard deviation of the current signal are both determined by all sensor signals in the buffer area.

[0014] The core control unit is used to determine the signal mean and signal standard deviation based on the signals from the plurality of sensors; and to determine a first dynamic threshold, a second dynamic threshold and a third dynamic threshold based on the signal mean and the signal standard deviation, wherein the third dynamic threshold is less than the first dynamic threshold and the first dynamic threshold is less than the second dynamic threshold.

[0015] The core control unit is configured to write the sensor signal into a queue when the comparison result indicates that the sensor signal is greater than the first dynamic threshold and less than or equal to the second dynamic threshold; and to send a first request to the processor so that the processor executes a target task according to the first request, wherein the target task is to interrupt the current task to read the sensor signal from the queue, read the sensor signal from the queue after completing the current task, or not read the sensor signal.

[0016] The core control unit is configured to, when the comparison result indicates that the sensor signal is greater than the first dynamic threshold and less than or equal to the second dynamic threshold, control the sensor to increase its signal acquisition frequency; write the sensor signal into a queue; and send a second request to the processor to cause the processor to interrupt its current task and read the sensor signal from the queue.

[0017] The core control unit is used to obtain configuration information, determine the target task based on the configuration information, generate a first request corresponding to the target task, and send the first request to the processor so that the processor executes the target task; or, send the first request to the processor so that the processor determines and executes the target task based on the priority information of the current task.

[0018] The core control unit is configured to: determine a target sensor signal based on the write timestamp corresponding to each sensor signal in the queue; remove the target sensor signal from the queue; determine the signal priority of each sensor signal in the queue; determine the target sensor signal based on the signal priority of the sensor signal; remove the target sensor signal from the queue, wherein the signal priority characterizes the degree of deviation of the sensor signal from the dynamic threshold; and determine the target sensor signal based on multiple sensor signals adjacent to each sensor signal in the queue in the buffer area; remove the target sensor signal from the queue.

[0019] The core control unit is used to control the sensor to reduce its signal acquisition frequency when the comparison result indicates that the sensor signal is less than the third dynamic threshold.

[0020] Another embodiment of this application provides a circuit, the circuit including a chip, the chip being capable of performing the data acquisition method.

[0021] Another embodiment of this application provides an electronic device, the electronic device including a circuit, the circuit including a chip, the chip being capable of executing the data acquisition method.

[0022] Another embodiment of this application provides a computer-readable storage medium storing a computer program for executing the data acquisition method described above.

[0023] Another aspect of this application provides a computer program product, including a computer program or instructions, for inducing a processor to execute and implement the data acquisition method provided in this application.

[0024] In the above solution, chips such as the BMC handle sensor signal acquisition, storage, and threshold comparison, without requiring processor intervention in related calculations and judgments. This effectively reduces processor interruptions, completely frees up processor computing resources, and decouples sensor data acquisition from the processor. Dynamic thresholds are periodically generated based on all data stored in the cache area and compared with the currently acquired sensor signals. This adapts to various state changes during electronic device operation, avoiding judgment errors that can easily occur with fixed thresholds. Simultaneously, signal acquisition and threshold comparison operations are directly executed by chips such as the BMC, significantly improving overall response speed. Combining multi-level dynamic thresholds allows for matching different acquisition strategies and flexible adjustment of sensor acquisition frequency. While ensuring data acquisition effectiveness, it also allows for reasonable control of overall power consumption, making the status monitoring and fault early warning of electronic devices more stable and efficient.

[0025] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description

[0026] The above and other objects, features, and advantages of exemplary embodiments of this application will become readily apparent from the following detailed description taken in conjunction with the accompanying drawings. Several embodiments of this application are illustrated in the drawings by way of example and not limitation, in which: In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts.

[0027] Figure 1 A flowchart of a data acquisition method according to an embodiment of this application is shown; Figure 2 A flowchart of a method for determining a dynamic threshold based on multiple sensor signals acquired within a pre-preset time period, according to an embodiment of this application, is shown. Figure 3 A flowchart is shown of a method according to an embodiment of this application for comparing a sensor signal with a dynamic threshold and executing a corresponding acquisition strategy based on the comparison result; Figure 4 A flowchart is shown of a method according to another embodiment of this application for comparing a sensor signal with a dynamic threshold and executing a corresponding acquisition strategy based on the comparison result; Figure 5 A flowchart of a method for sending a first request to a processor according to an embodiment of this application is shown; Figure 6 A flowchart of a method for removing sensor signals from a buffer region according to an embodiment of this application is shown; Figure 7 A schematic diagram of the structure of a chip according to an embodiment of this application is shown; Figure 8 A schematic diagram of the composition structure of an electronic device according to an embodiment of this application is shown. Detailed Implementation

[0028] To make the objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0029] To reduce processor interrupt frequency, thereby eliminating the need for processor computing resources and improving response speed, one embodiment of this application provides a data acquisition method, such as... Figure 1 As shown, the method includes: Step 101: Acquire the sensor signal collected by the sensor and store it in the buffer area.

[0030] In this embodiment, the chip acquires sensor signals collected by the sensors. The sensors include temperature sensors, humidity sensors, vibration sensors, voltage sensors, etc., and the chip can acquire sensor signals collected by one or more sensors. The chip can be a BMC (Baseboard Management Controller), MCU (Microcontroller Unit), or other chips with processing and computing functions.

[0031] After the chip acquires the sensor signal, it stores the sensor signal in the buffer area of ​​the chip.

[0032] The cache area is a fixed-size cache window. In this embodiment, the cache area is set to a window of size 256. In other embodiments, the size can be set according to specific needs.

[0033] Step 102: Compare the sensor signal with the dynamic threshold to obtain the comparison result. The dynamic threshold is periodically determined based on multiple sensor signals collected within a preset time period.

[0034] The dynamic threshold can be determined in several ways: The first method is determined by the mean and standard deviation of all data within the cache area.

[0035] The second method involves extracting the peak and trough values ​​of all data within the cache area, and then generating a dynamic threshold after adjusting for environmental fluctuation parameters.

[0036] For example, the temperature data collected by the temperature sensor in the buffer area has a peak value of 58 degrees and a trough value of 52 degrees. The difference between the two is 6 degrees, and the average value is 55 degrees. The environmental fluctuation parameter is set to 1.2. Therefore, the correction for fluctuation is 6. 1.2 = 7.2. Therefore, the first-level dynamic threshold can be set to 55 + 7.2 = 62.2, and the second-level dynamic threshold can be set to 55 + 2. 7.2 = 69.4, the third-level dynamic threshold can be set to 55 - 7.2 = 47.8.

[0037] The third method involves calculating the rate of change and fluctuation range of data within the buffer area, and dynamically adjusting the threshold size based on the signal change trend.

[0038] According to the rate of change Match the trend correction coefficient with the following formula :

[0039] For example, the voltage data collected by the voltage sensor in the buffer region has a maximum value of 12.15V and a minimum value of 11.85V, resulting in a fluctuation range of 0.3V. The last two voltage data points stored in the buffer region are 12.02V and 12.08V, with a collection interval of 0.1 seconds between them, resulting in a change rate of 0.6V / second. Based on this change rate, a corresponding trend correction coefficient of 1.5 is assigned. Furthermore, the reference voltage is set to 12V. Therefore, the first-level dynamic threshold can be set to 12 + 0.3V. 1.5 = 12.45, the secondary dynamic threshold can be set to 12 + 2 0.3 1.5 = 12.9, so the level 3 dynamic threshold can be set to 12 + 0.3. 1.5 = 12.45 = 11.55.

[0040] In this embodiment, the dynamic threshold is updated periodically in the manner described above, such as every 10 seconds.

[0041] Step 103: Execute the corresponding acquisition strategy based on the comparison result. The acquisition strategy includes at least notifying the processor to read the sensor signal.

[0042] When the dynamic threshold is set to only one level, the acquisition strategy is to notify the processor to read the sensor signal. For example, if the comparison result indicates that the sensor signal exceeds the first-level dynamic threshold, the acquisition strategy is to notify the processor to read the currently acquired sensor signal.

[0043] When multiple dynamic thresholds are set, different acquisition strategies are determined by comparing the currently acquired sensor signal with the multiple dynamic thresholds. For example, if the comparison result indicates that the sensor signal exceeds the first-level dynamic threshold but is less than the second-level dynamic threshold, the acquisition strategy is to instruct the processor to read the currently acquired sensor signal. If the comparison result indicates that the sensor signal exceeds the second-level dynamic threshold, the acquisition strategy is to instruct the processor to read the currently acquired sensor signal and simultaneously control the sensor to increase the acquisition frequency. If the comparison result indicates that the sensor signal is less than the third-level dynamic threshold, the acquisition strategy is to control the sensor to decrease the acquisition frequency.

[0044] After reading the sensor signal, the processor dynamically adjusts the clock frequency, PWM (pulse width modulation) duty cycle, etc. of the corresponding hardware or peripherals according to the sensor signal to control the corresponding temperature, humidity, vibration or voltage data.

[0045] In the above solution, chips such as the BMC handle sensor signal acquisition, storage, and threshold comparison, without requiring processor intervention in related calculations and judgments. This effectively reduces processor interruptions, completely frees up processor computing resources, and decouples sensor data acquisition from the processor. Dynamic thresholds are periodically generated based on all data stored in the cache area and compared with the currently acquired sensor signals. This adapts to various state changes during electronic device operation, avoiding judgment errors that can easily occur with fixed thresholds. Simultaneously, signal acquisition and threshold comparison operations are directly executed by chips such as the BMC, significantly improving overall response speed. Combining multi-level dynamic thresholds allows for matching different acquisition strategies and flexible adjustment of sensor acquisition frequency. While ensuring data acquisition effectiveness, it also allows for reasonable control of overall power consumption, making the status monitoring and fault early warning of electronic devices more stable and efficient.

[0046] This application also provides a data acquisition method in one example, the method further comprising: Once the target condition is met, the dynamic threshold is determined based on multiple sensor signals collected within a preset time period. The target condition is that after initialization, the change in the mean of the current signal is greater than a preset multiple of the standard deviation of the current signal after a preset time period or the current signal standard deviation is greater than a preset multiple. The change in the mean of the current signal and the standard deviation of the current signal are both determined by all sensor signals in the buffer area.

[0047] When the target conditions are met, the dynamic threshold is updated based on multiple sensor signals stored in the cache area within the previous preset time period.

[0048] The target conditions include two types. The first type is to update the dynamic threshold every preset time interval according to the preset time interval.

[0049] For example, if the preset duration is set to 5 seconds, then every 5 seconds, the dynamic threshold is updated based on all sensor signals collected within the buffer area during those 5 seconds.

[0050] The second approach involves updating the dynamic threshold when the change in the current signal mean exceeds a preset multiple of the current signal standard deviation. The change in the current signal mean is determined by first calculating the mean of all sensor signals in the buffer region (excluding the current sensor signal), then calculating the mean of all sensor signals in the buffer region, and finally determining the absolute value of the difference between these two means. The current signal standard deviation is the standard deviation of all sensor signals in the buffer region. In this embodiment, the preset multiple is set to 3; in other embodiments, the preset multiple can be set based on specific requirements.

[0051] In the above scheme, by periodically updating the dynamic threshold according to a preset time interval, the dynamic threshold can be made to adapt to the changing state of the sensor signal in real time, thereby effectively improving the timeliness of the dynamic threshold. When the change in the mean signal within the buffer area exceeds a preset multiple of the signal standard deviation, it indicates that the sensor signal has experienced significant overall fluctuations, and the operating state of the electronic device has changed significantly. At this time, updating the dynamic threshold immediately can quickly adapt to the current signal changes, avoid using potentially outdated dynamic thresholds that could lead to misjudgments, and make the dynamic threshold more accurate and reliable.

[0052] This application also provides a data acquisition method in one example, such as Figure 2 As shown, determining the dynamic threshold based on multiple sensor signals collected within a pre-set time period includes: Step 201: Determine the signal mean and signal standard deviation based on the signals from the multiple sensors.

[0053] For example, after the chip reads the current sensor signal from the temperature sensor, it determines that nine sensor signals are stored in the buffer area, namely 47 degrees, 48 ​​degrees, 49 degrees, 50 degrees, 50 degrees, 50 degrees, 51 degrees, 52 degrees, and 53 degrees. Based on these nine sensor signals, the mean is determined to be 50 degrees, and then the standard deviation of the signal is calculated to be approximately 1.76 based on the difference between each data point and the mean.

[0054] Step 202: Determine a first dynamic threshold, a second dynamic threshold, and a third dynamic threshold based on the signal mean and the signal standard deviation, wherein the third dynamic threshold is less than the first dynamic threshold, and the first dynamic threshold is less than the second dynamic threshold.

[0055] The first dynamic threshold can be determined based on the signal mean and signal standard deviation using the following formula. :

[0056] in, The mean of the signal. The standard deviation of the signal. This is the preset first correction parameter.

[0057] The second dynamic threshold can be determined based on the signal mean and signal standard deviation using the following formula. :

[0058] in, The mean of the signal. The standard deviation of the signal. This is the preset second correction parameter.

[0059] The third dynamic threshold can be determined based on the signal mean and signal standard deviation using the following formula. :

[0060] in, The mean of the signal. This represents the standard deviation of the signal.

[0061] In this embodiment, the preset first correction parameter is set to 1.5-3, and the preset second correction parameter is set to 3-5. The plus or minus signs in the formula for determining the third dynamic threshold can be set based on specific requirements. In other embodiments, both the preset first correction parameter and the preset second correction parameter can be set based on specific requirements.

[0062] Continuing with the previous example, the first correction parameter is preset to 2, the second correction parameter is preset to 3, and the plus / minus sign in the formula for determining the third dynamic threshold is changed to a minus sign. Therefore, based on the signal mean and signal standard deviation, the first dynamic threshold is determined to be 53.52, the second dynamic threshold to be 55.28, and the third dynamic threshold to be 49.12.

[0063] In the above scheme, by statistically analyzing the average value and standard deviation of sensor signals within a preset time period in the buffer area, and combining this with different correction parameters, three levels of dynamic thresholds are calculated. These thresholds are used to classify different signal judgment criteria, thereby accurately distinguishing different states of sensor signals. Dynamic thresholds are generated based on the overall signal data characteristics within the preset time period, ensuring that the dynamic thresholds reflect the signal patterns during normal operation of the electronic device and reducing judgment biases caused by environmental and operating condition changes. The multi-level thresholds allow for differentiated acquisition strategies based on the signal's location within a given interval, resulting in more accurate monitoring of the electronic device's status.

[0064] This application also provides a data acquisition method in one example, such as Figure 3As shown, the step of comparing the sensor signal with a dynamic threshold and executing a corresponding acquisition strategy based on the comparison result includes: Step 301: If the comparison result indicates that the sensor signal is greater than the first dynamic threshold and less than or equal to the second dynamic threshold, write the sensor signal into the queue.

[0065] If the current sensor signal is compared with the dynamic threshold, and the comparison result indicates that the current sensor signal is greater than the first dynamic threshold and less than or equal to the second dynamic threshold, then the current sensor signal is written into the queue.

[0066] For example, the first dynamic threshold is 53.52, and the second dynamic threshold is 55.28. If the current sensor signal is 54 degrees, which is greater than the first dynamic threshold and less than or equal to the second dynamic threshold, then the current sensor signal is written into the queue.

[0067] Step 302: Send a first request to the processor so that the processor executes a target task according to the first request. The target task is to interrupt the current task to read the sensor signal from the queue, read the sensor signal from the queue after completing the current task, or not read the sensor signal.

[0068] Send a first request to the processor, instructing the processor to execute the target task according to the first request.

[0069] Based on preset configuration parameters, the processor can determine one of the following as the target task to be executed: interrupting the current task to read the current sensor signal from the queue, reading the current sensor signal from the queue after completing the current task, or not reading the current sensor signal. A corresponding first request is then sent to the processor. Upon receiving the first request, the processor executes the corresponding target task.

[0070] In the above scheme, when the sensor signal is between the first dynamic threshold and the second dynamic threshold, it indicates that the electronic device is in an abnormal state. However, the risk level of this abnormal state is relatively controllable, so different processing methods can be flexibly selected according to the preset configuration parameters. A corresponding first request can be sent to the processor according to the preset configuration parameters, causing the processor to forcibly interrupt the currently executing task and read the current sensor signal from the queue, complete the currently executing task and then read the current sensor signal from the queue, or not read the current sensor signal at all. Since the risk level of this abnormal state is relatively controllable, it is preferable to set it to complete the currently executing task before reading the current sensor signal from the queue, which can further reduce the frequency of forced interruption of the processor.

[0071] This application also provides a data acquisition method in one example, such as Figure 4As shown, the step of comparing the sensor signal with a dynamic threshold and executing a corresponding acquisition strategy based on the comparison result includes: Step 401: If the comparison result indicates that the sensor signal is greater than the second dynamic threshold, control the sensor to increase its signal acquisition frequency.

[0072] If the current sensor signal is compared with a dynamic threshold, and the comparison result indicates that the current sensor signal is greater than the second dynamic threshold, then the corresponding sensor is controlled to increase its signal acquisition frequency.

[0073] For example, the second dynamic threshold is 55.28. If the current sensor signal is 56 degrees, which is greater than the second dynamic threshold, the temperature sensor is controlled to increase its signal acquisition frequency from 5Hz (5 times / second) to 10Hz (10 times / second).

[0074] Step 402: Write the sensor signal into the queue.

[0075] While controlling the corresponding sensor to increase its signal acquisition frequency, the current sensor signal is written into the queue.

[0076] Step 403: Send a second request to the processor to cause the processor to interrupt the current task and read the sensor signal from the queue.

[0077] A second request is sent to the processor, instructing the processor to forcibly interrupt the currently executing task and read the current sensor signal from the queue.

[0078] In the above scheme, when the sensor signal exceeds the second dynamic threshold, it indicates a serious abnormality in the electronic device. At this point, controlling the signal acquisition frequency of the corresponding sensor allows for the acquisition of more continuous signal data, enabling more comprehensive monitoring of the electronic device's data state changes. Simultaneously, the acquired signals are written to a queue, and a second request is sent to the processor, causing the processor to forcibly interrupt its currently executing task and read the current sensor signal from the queue. This allows the processor to immediately detect a serious abnormality in the electronic device, promptly initiate subsequent handling procedures, and effectively improve the timeliness of electronic device fault handling and overall operational safety.

[0079] This application also provides a data acquisition method in one example, such as Figure 5 As shown, sending the first request to the processor includes: Step 501: Obtain configuration information, determine the target task based on the configuration information, generate a first request corresponding to the target task, and send the first request to the processor so that the processor executes the target task.

[0080] Alternatively, in step 502, a first request is sent to the processor so that the processor determines and executes the target task based on the priority information of the current task.

[0081] When the current sensor signal is greater than the first dynamic threshold and less than or equal to the second dynamic threshold, and a first request needs to be sent to the processor, there are two ways to send the request: The first method involves obtaining pre-set configuration information, determining the corresponding target task based on the configuration information, generating a corresponding first request, and sending it to the processor so that the processor can execute the corresponding target task.

[0082] The second method involves directly sending a first request to the processor. Upon receiving the first request, the processor determines the target task based on the priority information of the current task: interrupting the current task, reading the current sensor signal from the queue, reading the current sensor signal from the queue after completing the current task, or not reading the current sensor signal.

[0083] Priority information can be pre-set for various running tasks. After the processor receives the first request, it compares the priority information of the currently executing task with the priority information of reading sensor signals to determine the target task.

[0084] For example, the priority information for reading sensor signals can be set to level 2. For urgent tasks, such as core equipment operation control and real-time fault protection, the priority information is level 1. When the processor is currently executing this type of task, it ensures the normal operation of this task and does not read sensor signals from the queue. For routine important tasks, such as logging and communication with other devices, the priority information is level 2. The processor prioritizes completing the currently executing task of this type before reading sensor signals from the queue. For ordinary running tasks, such as interface status refresh and timed status inspection, the priority information is level 3. The processor can interrupt the currently executing task of this type and immediately read sensor signals from the queue. For low-priority background tasks, such as system redundant data organization, non-critical configuration synchronization, and background cache clearing, the priority information is level 4. The processor can also interrupt the currently executing task of this type and immediately read sensor signals from the queue.

[0085] The above solution provides two methods for sending the first request. The first method determines the target task to be executed based on preset configuration information and sends the corresponding first request to the processor. This allows for unified handling of abnormal states of the electronic device according to user needs, making the processing strategy more aligned with user requirements. The second method allows the processor to autonomously determine the execution action based on the priority information of its currently executing tasks, flexibly adapting to the current operating state of the electronic device. These two methods satisfy both standardized processing requirements in fixed scenarios and dynamic changes during different task executions, rationally coordinating the relationship between data reading operations and the processor's original tasks, avoiding mutual interference, and making the overall operation of the electronic device more stable and efficient.

[0086] This application also provides a data acquisition method in one example, such as Figure 6 As shown, the method further includes: Step 601: Determine the target sensor signal based on the write timestamp corresponding to each sensor signal in the buffer area, and move the target sensor signal out of the buffer area.

[0087] When the buffer area is full, the sensor signals in the buffer area need to be removed.

[0088] In this embodiment, when the buffer area is full, the sensor signals in the buffer area can be removed in the following three ways: The first method is to remove the earliest stored sensor signal from the cache area based on the timestamp of the sensor signal stored in the cache area.

[0089] Step 602: Determine the signal priority of each sensor signal in the buffer area, determine the target sensor signal based on the signal priority of the sensor signal, and move the target sensor signal out of the buffer area. The signal priority represents the degree of deviation of the sensor signal from the dynamic threshold.

[0090] The second method involves determining the corresponding signal priority based on the degree of deviation between the sensor signal in the buffer area and the dynamic threshold.

[0091] Specifically, the signal priority of the sensor signal can be determined using the following formula. :

[0092] in, , , All are preset weights. For sensor signals, This is the average of all sensor signals in the buffer region. The first dynamic threshold, This is the second dynamic threshold.

[0093] In this embodiment, It can be set to 1. It can be set to 1. It can be set to 2. In other implementations, it can be set according to specific needs.

[0094] Signal priority characterizes the degree of positive deviation of a sensor signal from a dynamic threshold. That is, a sensor signal with a higher threshold has a higher signal priority. It can also characterize the degree of absolute deviation from the signal mean. That is, a sensor signal with a higher difference from the signal mean has a higher signal priority.

[0095] After determining the signal priority of each sensor signal, the sensor signal with the highest signal priority is removed. If there are multiple sensor signals with the highest signal priority, i.e., equal signal priority, the sensor signal with the higher priority or the one that was stored in the buffer earlier is removed first.

[0096] Alternatively, in step 603, a target sensor signal is determined based on each sensor signal in the buffer area and its adjacent multiple sensor signals in the buffer area, and the target sensor signal is moved out of the buffer area.

[0097] The second method involves determining the target sensor signal based on multiple adjacent sensor signals within the buffer region.

[0098] Determine the absolute value of the difference between the sensor signal and other sensor signals that are adjacent to it in the buffer area within a preset number of steps, and divide this value by the number of adjacent sensor signals to obtain the mutation score. Then, remove the sensor signal with the highest mutation score. If multiple sensor signals have the highest mutation scores (i.e., equal scores), prioritize removing the sensor signal with the higher score or the one that was stored in the buffer area earlier.

[0099] In this embodiment, the preset number of steps can be set to 1 or 2. In other embodiments, the number of steps can be set according to specific needs.

[0100] For example, the preset step count is 1. The sensor signals in the buffer area are 47, 48, 60, 50, 50, 50, 51, 52, and 53. The abrupt change score of the first sensor signal 47 is 1. The abrupt change score of the second sensor signal 48 is 6.5. The abrupt change score of the third sensor signal 60 is 11. The abrupt change score of the fourth sensor signal 50 is 5. The abrupt change score of the fifth sensor signal 50 is 0. The abrupt change score of the sixth sensor signal 50 is 0.5. The abrupt change score of the seventh sensor signal 51 is 1. The abrupt change score of the eighth sensor signal 52 is 1. The abrupt change score of the ninth sensor signal 53 is 1. Therefore, the third sensor signal 60, which has the highest abrupt change score, is removed.

[0101] In the above scheme, when the cache area is full and data needs to be removed, data can be removed in three ways. The first method removes the oldest data based on its timestamp, requiring no additional calculations and maintaining the timeliness of the cached data. The second method calculates signal priority by combining the deviation of the data from the overall mean and two levels of dynamic thresholds, prioritizing the removal of extreme data with large deviations to reduce interference from abnormal data on monitoring results. The third method calculates a mutation score by comparing the data with adjacent data, prioritizing the removal of data with significant fluctuations to ensure consistent data trends within the cache area. This approach is adaptable to different use cases, ensuring data quality within the cache area while removing data.

[0102] This application also provides a data acquisition method in one example, the method further comprising: If the comparison result indicates that the sensor signal is less than the third dynamic threshold, the sensor is controlled to reduce its signal acquisition frequency.

[0103] If the current sensor signal is compared with the dynamic threshold, and the comparison result indicates that the current sensor signal is less than the third dynamic threshold, then the corresponding sensor is controlled to reduce its signal acquisition frequency.

[0104] For example, the third dynamic threshold is 49.12. If the current sensor signal is 49 degrees, which is less than the third dynamic threshold, the temperature sensor is controlled to reduce its signal acquisition frequency from 10Hz to 5Hz.

[0105] In the above scheme, when the sensor signal is below the third dynamic threshold, it indicates that the electronic device is operating stably and normally. At this time, reducing the sensor's signal acquisition frequency can reduce the sensor's data acquisition workload and lower the power consumption of the electronic device.

[0106] It should be noted that the above data acquisition methods can all be implemented by hardware circuits (such as BMC, MCU, etc.) or by software programs.

[0107] To implement the above data acquisition method, such as Figure 7 As shown, an example of this application provides a chip 700, which includes: a signal processing module 701, a core control unit 702, and a storage module 703; the signal processing module 701 and the core control unit 702 are electrically connected; one end of the storage module 703 is electrically connected to the signal processing module 701, and the other end is electrically connected to the core control unit 702; The signal processing module 701 is used to acquire the sensor signal collected by the sensor and transmit it to the storage module 703 for storage; The signal processing module 701 includes a programmable 0-64x adjustable gain amplifier, a low-pass filter circuit, and a temperature compensation circuit. The signal processing module 701 conditions the weak signal output by the sensor into a standard signal that can be recognized by the AD converter (analog-to-digital converter).

[0108] The core control unit 702 is used to compare the sensor signal with a dynamic threshold to obtain a comparison result, wherein the dynamic threshold is periodically determined based on multiple sensor signals collected within a preset time period; and to execute a corresponding acquisition strategy based on the comparison result, wherein the acquisition strategy includes at least notifying the processor to read the sensor signal.

[0109] The core control unit 702 includes an adaptive threshold calculation unit and a trigger-based acquisition control module. The adaptive threshold calculation unit includes a storage array and a statistical calculation circuit. The storage array is used to construct a data buffer, storing multiple recent sensor signals. The statistical calculation circuit is used to calculate the mean and standard deviation of the data in the data buffer in real time via a hardware accelerator, and calculates a three-level dynamic threshold based on the mean and standard deviation. The three-level dynamic threshold is updated periodically or when the change in the mean exceeds a preset multiple of the standard deviation. The trigger-based acquisition control module includes a high-speed comparator array and an AD converter. The high-speed comparator array includes two parallel comparators with a response time of less than or equal to 100 ns. These two parallel comparators are used to monitor the relationship between the sensor signal and the warning threshold and alarm threshold, respectively, supporting both rising and falling edge trigger modes. Based on the comparison result between the sensor signal and the dynamic threshold, the operating mode is switched. The operating modes include normal mode (acquisition only during triggering, power consumption less than or equal to 1mA), tracking mode (increases the sensor acquisition frequency for a preset time after triggering), and forced mode (forces the processor to interrupt and read the current sensor signal via external instructions, such as BMC query). An AD converter is used to convert analog sensor signals into digital signals and store them in a queue when it is determined that the processor needs to read the current sensor signal.

[0110] Chip 700 also includes module-level power gating, which is used to shut down the power supply to modules such as AD converters and statistical calculation circuits when the processor is not required to read sensor signals, while keeping the power supply to modules such as high-speed comparator arrays and clock circuits, in order to further reduce the power consumption of electronic devices.

[0111] The core control unit 702 is used to determine whether the target condition is met. It determines the dynamic threshold based on multiple sensor signals collected within a preset time period. The target condition is that after initialization, the change in the mean of the current signal is greater than a preset multiple of the standard deviation of the current signal after a preset time period or the current signal standard deviation is greater than a preset multiple. The change in the mean of the current signal and the standard deviation of the current signal are both determined by all sensor signals in the buffer area.

[0112] The core control unit 702 is used to determine the signal mean and signal standard deviation based on the multiple sensor signals; and to determine a first dynamic threshold, a second dynamic threshold and a third dynamic threshold based on the signal mean and the signal standard deviation, wherein the third dynamic threshold is less than the first dynamic threshold and the first dynamic threshold is less than the second dynamic threshold.

[0113] The core control unit 702 is configured to write the sensor signal into a queue when the comparison result indicates that the sensor signal is greater than the first dynamic threshold and less than or equal to the second dynamic threshold; and to send a first request to the processor so that the processor executes a target task according to the first request, wherein the target task is to interrupt the current task to read the sensor signal from the queue, read the sensor signal from the queue after completing the current task, or not read the sensor signal.

[0114] The core control unit 702 is configured to, when the comparison result indicates that the sensor signal is greater than the first dynamic threshold and less than or equal to the second dynamic threshold, control the sensor to increase its signal acquisition frequency; write the sensor signal into a queue; and send a second request to the processor to cause the processor to interrupt its current task and read the sensor signal from the queue.

[0115] The core control unit 702 is used to obtain configuration information, determine the target task based on the configuration information, generate a first request corresponding to the target task, and send the first request to the processor so that the processor executes the target task; or, send the first request to the processor so that the processor determines and executes the target task based on the priority information of the current task.

[0116] The core control unit 702 is configured to: determine a target sensor signal based on the write timestamp corresponding to each sensor signal in the queue; remove the target sensor signal from the queue; determine the signal priority of each sensor signal in the queue; determine a target sensor signal based on the signal priority of the sensor signal; remove the target sensor signal from the queue, wherein the signal priority characterizes the degree of deviation of the sensor signal from the dynamic threshold; and determine a target sensor signal based on multiple sensor signals adjacent to each sensor signal in the queue in the buffer area; remove the target sensor signal from the queue.

[0117] The core control unit 702 is used to control the sensor to reduce its signal acquisition frequency when the comparison result indicates that the sensor signal is less than the third dynamic threshold.

[0118] This application also provides a circuit, which includes a chip capable of executing the data acquisition method provided in this application.

[0119] This application also provides an electronic device. Figure 8 A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure is shown. The electronic device 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 processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0120] like Figure 8 As shown, the electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes based on a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. The RAM 803 may also store various programs and data required for the operation of the electronic device 800. The computing unit 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0121] Multiple components in electronic device 800 are connected to I / O interface 805, including: input unit 806, such as keyboard, mouse, etc.; output unit 807, such as various types of displays, speakers, etc.; storage unit 808, such as disk, optical disk, etc.; and communication unit 809, such as network card, modem, wireless transceiver, etc. Communication unit 809 allows electronic device 800 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0122] The computing unit 801 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as data acquisition methods. For example, in some embodiments, the data acquisition method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the data acquisition method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the data acquisition method by any other suitable means (e.g., by means of firmware).

[0123] This application provides a computer-readable storage medium storing executable instructions, wherein a computer program is stored, the computer program being used to execute the data acquisition method provided in this application.

[0124] This application provides a computer program product, which includes a computer program or instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or instructions from the computer-readable storage medium and executes the computer program or instructions, causing the computer device to perform the data acquisition method described in this application.

[0125] Various embodiments of the systems and techniques described above 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-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0126] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0127] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0128] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, 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 sound input, voice input, or tactile input).

[0129] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend 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 technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0130] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.

[0131] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0132] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means two or more, unless otherwise explicitly specified.

[0133] The above description is merely a specific embodiment of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this disclosure should be included within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.

Claims

1. A data acquisition method, characterized in that, The method includes: Acquire sensor signals collected by the sensor and store them in the buffer area; The sensor signal is compared with a dynamic threshold to obtain a comparison result. The dynamic threshold is periodically determined based on multiple sensor signals collected within a preset time period. Based on the comparison results, a corresponding acquisition strategy is executed, and the acquisition strategy includes at least notifying the processor to read the sensor signal.

2. The method according to claim 1, characterized in that, The method further includes: Once the target condition is met, the dynamic threshold is determined based on multiple sensor signals collected within a preset time period. The target condition is that after initialization, the change in the mean of the current signal is greater than a preset multiple of the standard deviation of the current signal after a preset time period or the current signal standard deviation is greater than a preset multiple. The change in the mean of the current signal and the standard deviation of the current signal are both determined by all sensor signals in the buffer area.

3. The method according to claim 2, characterized in that, The step of determining the dynamic threshold based on multiple sensor signals collected within a pre-set time period includes: The signal mean and signal standard deviation are determined based on the signals from the multiple sensors. A first dynamic threshold, a second dynamic threshold, and a third dynamic threshold are determined based on the signal mean and the signal standard deviation, wherein the third dynamic threshold is less than the first dynamic threshold, and the first dynamic threshold is less than the second dynamic threshold.

4. The method according to claim 3, characterized in that, The step of comparing the sensor signal with a dynamic threshold and executing a corresponding acquisition strategy based on the comparison result includes: If the comparison result indicates that the sensor signal is greater than the first dynamic threshold and less than or equal to the second dynamic threshold, the sensor signal is written into the queue. A first request is sent to the processor to cause the processor to execute a target task according to the first request. The target task is to interrupt the current task to read the sensor signal from the queue, read the sensor signal from the queue after completing the current task, or not read the sensor signal.

5. The method according to claim 3, characterized in that, The step of comparing the sensor signal with a dynamic threshold and executing a corresponding acquisition strategy based on the comparison result includes: If the comparison result indicates that the sensor signal is greater than the second dynamic threshold, the sensor is controlled to increase its signal acquisition frequency. Write the sensor signal into the queue; A second request is sent to the processor to cause the processor to interrupt its current task and read the sensor signal from the queue.

6. The method according to claim 4, characterized in that, Sending the first request to the processor includes: Obtain configuration information, determine the target task based on the configuration information, generate a first request corresponding to the target task, and send the first request to the processor so that the processor executes the target task; Alternatively, a first request may be sent to the processor so that the processor determines and executes the target task based on the priority information of the current task.

7. The method according to claim 4 or 5, characterized in that, The method further includes: The target sensor signal is determined based on the write timestamp corresponding to each sensor signal in the cache area, and the target sensor signal is moved out of the cache area. The signal priority of each sensor signal in the buffer area is determined, the target sensor signal is determined according to the signal priority of the sensor signal, and the target sensor signal is moved out of the buffer area. The signal priority represents the degree of deviation of the sensor signal from the dynamic threshold. Alternatively, based on each sensor signal in the buffer region, a target sensor signal is determined from the multiple sensor signals adjacent to it in the buffer region, and the target sensor signal is moved out of the buffer region.

8. The method according to claim 3, characterized in that, The method further includes: If the comparison result indicates that the sensor signal is less than the third dynamic threshold, the sensor is controlled to reduce its signal acquisition frequency.

9. A chip, characterized in that, The chip includes: a signal processing module, a core control unit, and a storage module; the signal processing module and the core control unit are electrically connected; one end of the storage module is electrically connected to the signal processing module, and the other end is electrically connected to the core control unit; The signal processing module is used to acquire sensor signals collected by the sensor and store them in the cache area of ​​the storage module; The core control unit is used to compare the sensor signal with a dynamic threshold to obtain a comparison result, wherein the dynamic threshold is periodically determined based on multiple sensor signals collected within a preset time period; and to execute a corresponding acquisition strategy based on the comparison result, wherein the acquisition strategy includes at least notifying the processor to read the sensor signal.

10. The chip according to claim 9, characterized in that, include: The core control unit is used to determine whether the target condition is met. It determines the dynamic threshold based on multiple sensor signals collected within a preset time period. The target condition is that after initialization, the change in the mean of the current signal is greater than a preset multiple of the standard deviation of the current signal after a preset time period or the current signal mean change is greater than a preset multiple. The change in the mean of the current signal and the current signal standard deviation are both determined by all sensor signals in the buffer area.

11. The chip according to claim 10, characterized in that, include: The core control unit is used to determine the signal mean and signal standard deviation based on the signals from the multiple sensors. And a first dynamic threshold, a second dynamic threshold, and a third dynamic threshold are determined based on the signal mean and the signal standard deviation, wherein the third dynamic threshold is less than the first dynamic threshold, and the first dynamic threshold is less than the second dynamic threshold.

12. The chip according to claim 11, characterized in that, include: The core control unit is used to write the sensor signal into a queue when the comparison result indicates that the sensor signal is greater than the first dynamic threshold and less than or equal to the second dynamic threshold. And send a first request to the processor so that the processor executes a target task according to the first request, the target task being to interrupt the current task to read the sensor signal from the queue, read the sensor signal from the queue after completing the current task, or not read the sensor signal.

13. The chip according to claim 11, characterized in that, include: The core control unit is configured to, when the comparison result indicates that the sensor signal is greater than the first dynamic threshold and less than or equal to the second dynamic threshold, control the sensor to increase its signal acquisition frequency; write the sensor signal into a queue; and send a second request to the processor to cause the processor to interrupt its current task and read the sensor signal from the queue.

14. The chip according to claim 12, characterized in that, include: The core control unit is used to obtain configuration information, determine the target task based on the configuration information, generate a first request corresponding to the target task, and send the first request to the processor so that the processor executes the target task. Alternatively, a first request may be sent to the processor so that the processor determines and executes the target task based on the priority information of the current task.

15. The chip according to claim 12 or 13, characterized in that, include: The core control unit is used to determine the target sensor signal based on the write timestamp corresponding to each sensor signal in the queue, and remove the target sensor signal from the queue. The signal priority of each sensor signal in the queue is determined, a target sensor signal is determined based on the signal priority of the sensor signal, and the target sensor signal is removed from the queue. The signal priority represents the degree of deviation of the sensor signal from the dynamic threshold. The target sensor signal is determined based on the multiple sensor signals adjacent to each sensor signal in the buffer area in the queue, and the target sensor signal is removed from the queue.

16. The chip according to claim 11, characterized in that, include: The core control unit is used to control the sensor to reduce its signal acquisition frequency when the comparison result indicates that the sensor signal is less than the third dynamic threshold.

17. A circuit, characterized in that, The circuit includes a chip capable of performing the data acquisition method according to any one of claims 1 to 8.

18. An electronic device, characterized in that, The electronic device includes a circuit, the circuit including a chip, the chip being capable of performing the data acquisition method according to any one of claims 1 to 8.

19. A computer-readable storage medium, characterized in that, The storage medium stores a computer program for executing the data acquisition method according to any one of claims 1 to 8.

20. A computer program product comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by the processor, they implement the data acquisition method according to any one of claims 1 to 8.