Signal acquisition method, device, storage medium and electronic device

By dividing the signal acquisition time into multiple preset time periods and dynamically adjusting the signal acquisition standards according to the current acquisition time, the problem of poor signal quality and frequent retesting caused by interference in the acquisition of human physiological signals is solved, and more efficient and accurate signal acquisition is achieved.

CN114652268BActive Publication Date: 2025-04-15GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011555722.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-23
Publication Date
2025-04-15
Estimated Expiration
2040-12-23

AI Technical Summary

Technical Problem

Existing wearable devices are easily disturbed when collecting physiological signals in the human body, resulting in poor signal quality and frequent retesting, affecting efficiency.

Method used

将信号的预设采集时长划分为多个预设时间段,实时获取当前的持续采集时长,并确定对应的目标预设时间段,获取该时间段的信号采集标准,判断信号质量是否满足标准,若不满足则重新开始采集。

Benefits of technology

By dynamically adjusting signal acquisition standards, the accuracy and efficiency of signal acquisition can be improved, the number of retests is reduced, and time costs are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114652268B_ABST
    Figure CN114652268B_ABST
Patent Text Reader

Abstract

The present application discloses a signal acquisition method, device, storage medium and electronic device, the method comprising: dividing the preset acquisition duration of the signal into multiple preset time periods, when starting to acquire the signal, acquiring the current continuous acquisition duration in real time, and determining the target preset time period corresponding to the continuous acquisition duration, acquiring the signal acquisition standard corresponding to the target preset time period, judging whether the quality of the currently acquired signal meets the signal acquisition standard, and if not, restarting the acquisition of the signal. The embodiment of the present application can adopt different acquisition standards according to the duration of signal acquisition, thereby improving the accuracy of the acquired signal and improving the acquisition efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of font adjustment technology, and in particular, relates to a signal acquisition method, device, storage medium and electronic equipment. Background Art

[0002] With the rapid development of science and technology, a large number of wearable devices have emerged. In the field of health, wearable devices refer to portable health electronic devices that can be worn directly on the body during clinical and daily health activities. With the support of relevant software, they can sense, record, analyze, manage health data and even treat diseases. At present, the measurement of human physiological signals based on wearable devices has become more and more common. In addition to watches and bracelets, there are some other forms of wearable devices, such as glasses, headphones, rings, wearable fabrics, etc. The physiological signals that can be collected are also diverse, such as electrocardiogram (ECG), photoplethysmography (PPG), respiration (RESP) and other parameters. By measuring the above physiological parameters, the corresponding waveforms and measurement calculation results can be obtained.

[0003] Since its acquisition form and application scenarios are quite different from those of traditional medical equipment, it is more susceptible to interference during the acquisition process. In the existing technology, if the interference received exceeds a certain level or the acquired signal does not meet the required standard, the re-measurement mechanism will be triggered, and then the measurement will be re-performed. However, if the above standard is too high, the re-measurement will be triggered frequently, affecting the efficiency of signal acquisition, and if the standard is too low, the accuracy of the final acquired signal will be poor. Summary of the invention

[0004] The present application provides a signal acquisition method, device, storage medium and electronic device, which can improve the accuracy of collected signals and improve acquisition efficiency.

[0005] In a first aspect, an embodiment of the present application provides a signal acquisition method, including:

[0006] Divide the preset acquisition time of the signal into a plurality of preset time periods;

[0007] When the signal is collected, the current continuous collection duration is obtained in real time, and a target preset time period corresponding to the continuous collection duration is determined;

[0008] Obtaining a signal acquisition standard corresponding to the target preset time period;

[0009] Determine whether the quality of the currently collected signal meets the signal collection standard;

[0010] If not satisfied, the signal acquisition is restarted.

[0011] In a second aspect, an embodiment of the present application provides a signal acquisition device, including:

[0012] A division module, used to divide the preset acquisition time of the signal into a plurality of preset time periods;

[0013] A determination module, used for acquiring the current continuous acquisition duration in real time when the signal is started to be acquired, and determining the target preset time period corresponding to the continuous acquisition duration;

[0014] An acquisition module, used to acquire a signal acquisition standard corresponding to the target preset time period;

[0015] A judging module, used to judge whether the quality of the currently collected signal meets the signal collection standard;

[0016] The processing module is used for restarting to collect the signal when the judging module judges as no.

[0017] In a third aspect, an embodiment of the present application provides a storage medium on which a computer program is stored. When the computer program is run on a computer, the computer executes the above-mentioned signal acquisition method.

[0018] In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions in the memory to perform the following steps:

[0019] Divide the preset acquisition time of the signal into a plurality of preset time periods;

[0020] When the signal is collected, the current continuous collection duration is obtained in real time, and a target preset time period corresponding to the continuous collection duration is determined;

[0021] Obtaining a signal acquisition standard corresponding to the target preset time period;

[0022] Determine whether the quality of the currently collected signal meets the signal collection standard;

[0023] If not satisfied, the signal acquisition is restarted.

[0024] The signal acquisition method provided in the embodiment of the present application can divide the preset acquisition duration of the signal into multiple preset time periods. When the signal acquisition starts, the current continuous acquisition duration is obtained in real time, and the target preset time period corresponding to the continuous acquisition duration is determined, and the signal acquisition standard corresponding to the target preset time period is obtained, and it is determined whether the quality of the currently acquired signal meets the signal acquisition standard. If not, the signal acquisition is restarted. The embodiment of the present application can adopt different acquisition standards according to the duration of signal acquisition, thereby improving the accuracy of the acquired signal and improving the acquisition efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0026] Figure 1 A flow chart of a signal acquisition method provided in an embodiment of the present application.

[0027] Figure 2 A schematic diagram of a scenario divided into multiple preset time periods provided in an embodiment of the present application.

[0028] Figure 3 Another flowchart of the signal acquisition method provided in an embodiment of the present application.

[0029] Figure 4 A schematic diagram of the structure of a signal acquisition device provided in an embodiment of the present application.

[0030] Figure 5 Another structural schematic diagram of the signal acquisition device provided in an embodiment of the present application.

[0031] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0032] Figure 7 Another schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] Please refer to the drawings, where the same component symbols represent the same components, and the principles of the present application are illustrated by implementing them in an appropriate computing environment. The following description is based on the illustrated specific embodiments of the present application, which should not be considered as limiting other specific embodiments of the present application that are not described in detail herein.

[0034] In the following description, the specific embodiments of the present application will be described with reference to the steps and symbols performed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be mentioned several times as being performed by a computer, and the computer execution referred to herein includes the operation of a computer processing unit by an electronic signal representing data in a structured form. This operation converts the data or maintains it at a location in the memory system of the computer, which can be reconfigured or otherwise change the operation of the computer in a manner familiar to testers in the field. The data structure maintained by the data is a physical location in the memory, which has specific characteristics defined by the data format. However, the principles of the present application are described in the above text, which does not represent a limitation, and testers in the field will understand that the various steps and operations described below can also be implemented in hardware.

[0035] The terms "first", "second", and "third" in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or modules, but some embodiments also include steps or modules that are not listed, or some embodiments also include other steps or modules inherent to these processes, methods, products, or devices.

[0036] When measuring physiological data, mainstream wearable devices on the market usually collect data for 30 seconds or more. When the collection time meets the requirements, subsequent processing and diagnosis are performed based on the collected signals. Because the analyzed data is shorter than traditional ECG, in order to obtain better measurement results, the quality of the collected 30-second signal is required to be relatively high. Therefore, a better mechanism is needed here to ensure that the collected 30-second signal is as effective as possible.

[0037] Currently, there are two commonly used retest trigger mechanisms. One is to use the accelerometer in the wearable device to detect the movement of the wrist, and the other is the hardware's own detachment detection, such as the detachment of ECG leads and blood oxygen sensor. The threshold for judging detachment is very large. Only when the signal quality is very poor will the conditions for detachment detection be met. If the detachment conditions are not met but the interference has affected the diagnosis, the retest cannot be triggered, and such useless signals will be collected, which may cause incorrect result judgments.

[0038] See also Figure 1 , Figure 1 A schematic diagram of a flow chart of a signal acquisition method provided in an embodiment of the present application. The signal acquisition method provided in an embodiment of the present application is applied to an electronic device, and the specific flow chart may be as follows:

[0039] Step 101: Divide a preset signal acquisition time into a plurality of preset time periods.

[0040] In the embodiment of the present application, the above signal acquisition method is applied to an electronic device, which may be a handheld device such as a mobile phone, a tablet computer, etc., or a wearable electronic device such as a smart bracelet, a smart watch, etc. Sensors are integrated in the above electronic devices to collect the user's physiological signals, such as the user's ECG (electrocardiogram), PPG (photoplethysmographic), RESP (respiration), and HR (heart rate).

[0041] For example, taking a wearable watch or bracelet as an example, when collecting ECG signals, the user wears the watch on one wrist, so that the back of the watch fits the wrist, and the index finger of the other hand is placed on the crown. Maintaining this state for a certain period of time, the human ECG signal for a certain period of time can be recorded and the measurement results can be given. When using a wearable watch or bracelet to measure human blood oxygen and heart rate, the user wears the bracelet on either wrist, starts the measurement for a period of time, and the measurement results will be given after calculation by the relevant algorithm.

[0042] The above preset collection time is the optimal collection time corresponding to the above signal, which can be pre-set by the electronic device. For example, taking the ECG signal as an example, 30 seconds of ECG signal data need to be collected to obtain a more accurate measurement result, so the preset collection time of the ECG signal can be set to 30 seconds. Different types of physiological signals can have different preset collection times. For example, the preset collection time of blood oxygen can be set to 20 seconds, the preset collection time of heart rate can be set to 40 seconds, and so on.

[0043] In one embodiment, after determining the corresponding preset acquisition time according to the collected signal type, the preset acquisition time of the above signal is further divided into a plurality of preset time periods, see Figure 2 , Figure 2 A schematic diagram of a scenario for dividing multiple preset time periods provided in an embodiment of the present application. For example, if a 30-second ECG signal needs to be measured, we can divide the 30 seconds into 6 segments in units of 5 seconds, namely, a 1S-5S time period, a 6S-10S time period, a 11S-15S time period, a 16S-20S time period, a 21S-25S time period, and a 26S-30S time period.

[0044] Step 102, when signal collection starts, the current continuous collection duration is obtained in real time, and a target preset time period corresponding to the continuous collection duration is determined.

[0045] In an embodiment of the present application, when the above-mentioned signal is started to be collected, the current continuous collection duration is obtained in real time. Specifically, the continuous collection duration of the signal can be obtained in real time by timing with a timer. For example, the timing starts from the beginning of signal collection. When the continuous collection duration is 12 seconds, the corresponding target preset time period is the above 11S-15S time period. Therefore, when the continuous collection duration is 12 seconds, the corresponding target preset time period is determined to be the 11S-15S time period.

[0046] In one embodiment, the continuous acquisition duration of the acquisition signal can be obtained once every time period, such as once every 1 second through a timer. In order to further improve the accuracy, in other embodiments, the time interval for obtaining the continuous acquisition duration can be shortened, such as once every 0.5 seconds or once every 0.1 seconds through a timer.

[0047] Step 103: Acquire the signal collection standard corresponding to the target preset time period.

[0048] In the embodiment of the present application, each of the above-mentioned multiple preset time periods corresponds to a different signal acquisition standard, and the signal acquisition standards corresponding to different preset time periods are different. For example, when the continuous acquisition duration is 12 seconds, the corresponding target preset time period is determined to be the 11S-15S time period, and the signal acquisition standard corresponding to the 11S-15S time period is further obtained to determine whether the signal collected in the preset time period is qualified according to the standard.

[0049] Among them, when judging whether the collected signal is qualified according to the signal collection standard, if it is judged to be unqualified, the signal needs to be collected again, and each time the signal is re-tested, the time cost of this signal collection will increase. The above time cost can be defined as Cx, where the larger the x, the higher the time cost. For example, C5 means starting the retest at about the 5th second, and C10 means starting the retest at about the 10th second, and so on. The later the time of triggering the retest, the greater the time cost of the retest. Here, C5 and C10 are only examples. In the actual implementation process, they can be divided into different time cost granularities, and this embodiment does not make further limitations on this.

[0050] Correspondingly, the total time used after the signal acquisition is completed is also related to the number and duration of re-measurements. The total time of the above signal acquisition can be defined as Tx, where the larger the x, the longer the total time it takes to successfully measure once. A successful measurement means that no re-measurement is started within the countdown of 30 seconds, and the signals obtained in each preset time period meet the corresponding signal acquisition standards, and a more correct result can be given based on the measured signal. Assuming that a total of N measurements are successful, the total time for successful measurement is the sum of the time Cx of the previous (N-1) times and the time of the last measurement of 30 seconds.

[0051] In one embodiment, the above-mentioned signal acquisition standard may include data such as signal strength, signal interference value, interference duration, etc. For example, the signal acquisition standard may specify the minimum value of signal strength, or may also specify the maximum value of signal interference value and maximum signal interference duration, etc., to determine whether the collected signal meets the standard.

[0052] Furthermore, the present application can also divide the above-mentioned signal interference values ​​into multiple levels for subsequent comparison, such as defining the signal interference level Lx, where the larger the x, the greater the degree of interference. For example, the signal interference value can be divided into 4 levels, corresponding to the signal interference values ​​in different intervals, which can be defined as L0, L1, L2 and L3. L0 represents no interference, L1 represents a low level of interference, L2 represents a medium level of interference, and L3 represents a high level of interference. Here, L0, L1, L2, and L3 are only examples. In the actual implementation process, more levels of interference can be divided. As can be seen from the definition, the higher the interference level contained in the signal, the worse the signal quality, and the higher the probability that the collected signal may be unqualified.

[0053] In addition, the present application may also define the above signal interference duration as Kx, where the larger the x, the longer the interference duration. For example, K0 represents no interference in the signal, K5 represents 5 seconds of interference in the signal, and K10 represents 10s of interference in the signal. Here, K0, K5, and K10 are only examples, and the actual process can be divided into more interference durations. It can be seen from the definition that the longer the duration of continuous interference in the signal, the higher the probability that the collected signal may be unqualified.

[0054] Step 104 , determining whether the quality of the currently collected signal meets the signal collection standard, if not, executing step 105 .

[0055] In the embodiment of the present application, the signal is continuously collected and it is determined whether the collected signal meets the signal collection standard corresponding to the corresponding preset time period. If the collected signal meets the above standard until the signal collection is completed, that is, within the preset collection time of 30 seconds, the signal collection is successful. If the collected signal does not meet the above signal collection standard, it is necessary to execute step 105 and re-collect.

[0056] For example, assuming a measurement is successful, because the mechanism for determining retest is the same for each measurement, the time cost Cx of each measurement triggering retest will directly affect the total duration Tx of the final successful measurement. Therefore, assuming that the number of successful measurements does not exceed two, assuming that the first measurement may trigger a retest, and the second measurement does not trigger a retest, the total duration is (Cx+30) seconds. The total duration of successful measurement is determined by the duration of triggering the retest.

[0057] Therefore, in this embodiment, when the time cost is less, the conditions for setting the trigger retest will be more relaxed. For example, when the time cost is less than T5, that is, within the 1S-5S time period, the time cost of starting the retest is relatively low. Even if the retest is triggered here, the impact it brings is small, and the impact on the total duration of the final data collection is small. Therefore, the conditions for setting the trigger retest here are relatively loose. For example, as long as there is interference exceeding the L0 level in the signal in the first 5 seconds, and the duration exceeds K2 seconds, it is determined that a retest needs to be started. That is, in this embodiment, the signal acquisition standard includes a signal interference level threshold and a signal interference duration threshold, and the step of judging whether the quality of the currently collected signal meets the signal acquisition standard includes:

[0058] Acquire signals collected within the target preset time period, and determine a signal interference level and a signal interference duration corresponding to the signal interference level according to the collected signals;

[0059] Determine whether the signal interference level is greater than the signal interference level threshold and whether the signal interference duration is greater than the signal interference duration threshold;

[0060] If both are greater than, it is determined that the quality of the currently acquired signal does not meet the signal acquisition standard.

[0061] It should be noted that if only one of the above signal interference level and signal interference duration exceeds the corresponding threshold, it is determined that the signal collection standard is met and no retest is required. In addition, there can be multiple signal interference levels determined based on the collected signal, and these multiple signal interference levels have their own corresponding signal interference durations. For example, in the signal collected in the 1S-5S time period, there is interference that reaches the L0 level for 3 seconds and interference that reaches the L1 level for 1 second.

[0062] Step 105, restart collecting the signal.

[0063] If the signal interference level is greater than the signal interference level threshold, and the signal interference duration is greater than the signal interference duration threshold, it is determined that the currently collected signal quality does not meet the signal collection standard and the signal needs to be recollected. When recollecting, the timer is reset and starts from the beginning. When recollecting the signal, the current continuous collection duration continues to be obtained in real time.

[0064] As can be seen from the above, the signal acquisition method provided in the embodiment of the present application can divide the preset acquisition duration of the signal into multiple preset time periods. When the signal acquisition starts, the current continuous acquisition duration is obtained in real time, and the target preset time period corresponding to the continuous acquisition duration is determined, and the signal acquisition standard corresponding to the target preset time period is obtained, and it is determined whether the quality of the currently acquired signal meets the signal acquisition standard. If not, the signal acquisition is restarted. The embodiment of the present application can adopt different acquisition standards according to the duration of signal acquisition, thereby improving the accuracy of the acquired signal and improving the acquisition efficiency.

[0065] The following will further introduce the signal acquisition method of the present application based on the method described in the above embodiment. Figure 3 , Figure 3 Another schematic diagram of a signal acquisition method provided in an embodiment of the present application, the signal acquisition method includes:

[0066] Step 201: Divide a preset signal acquisition time into a plurality of preset time periods.

[0067] The above preset acquisition time is the optimal acquisition time corresponding to the above signal, which can be preset by the electronic device. For example, taking the ECG signal as an example, 30 seconds of ECG signal data need to be collected to obtain a more accurate measurement result, so the preset acquisition time of the ECG signal can be set to 30 seconds. We can divide 30 seconds into 6 segments in units of 5 seconds, namely, 1S-5S time period, 6S-10S time period, 11S-15S time period, 16S-20S time period, 21S-25S time period and 26S-30S time period.

[0068] Step 202, when signal collection starts, the current continuous collection duration is obtained in real time, and a target preset time period corresponding to the continuous collection duration is determined.

[0069] In an embodiment of the present application, when the above-mentioned signal is collected, the current continuous collection duration is obtained in real time. Specifically, the continuous collection duration of the signal can be obtained in real time by timing with a timer. For example, the timing starts from the beginning of signal collection. When the continuous collection duration is 12 seconds, the corresponding target preset time period is the above 11S-15S time period.

[0070] Step 203: Obtain the start time point and end time point of the target preset time period.

[0071] Step 204, determining the first signal interference level threshold, the first signal interference duration threshold, the second signal interference level threshold and the second signal interference duration threshold according to the starting time point or the ending time point, so as to obtain the signal collection standard corresponding to the target preset time period.

[0072] In an embodiment of the present application, each of the above-mentioned multiple preset time periods corresponds to a different signal acquisition standard, and the signal acquisition standards corresponding to different preset time periods are different. Specifically, it can be determined according to the starting time point or the ending time point. The above-mentioned signal acquisition standard may include a first signal interference level threshold, a first signal interference duration threshold, a second signal interference level threshold, and a second signal interference duration threshold.

[0073] The first signal interference level threshold and the first signal interference duration threshold may be the maximum interference level and the maximum signal interference duration set in the current preset time period, and the second signal interference level threshold and the second signal interference duration threshold may be the maximum interference level and the maximum signal interference duration set in the entire acquisition duration up to the current time period. After obtaining the above signal acquisition standard, it can be further determined whether the signal collected in the preset time period is qualified.

[0074] In actual use, if the collected signal is judged to be unqualified for multiple times and retested, the signal collection standard can be appropriately lowered to improve the collection efficiency. For example, after retesting twice, the signal collection standard corresponding to each preset time period is lowered. After retesting four times, the signal collection standard corresponding to each preset time period is lowered again. That is, the step of obtaining the signal collection standard corresponding to the target preset time period may include:

[0075] Obtain the number of times the signal is currently re-collected;

[0076] A signal collection standard corresponding to the target preset time period is determined according to the number of times and the target preset time period.

[0077] Step 205: Acquire the first signal collected within the target preset time period, and determine the first signal interference level and the first signal interference duration corresponding to the first signal interference level according to the first signal.

[0078] Step 206: Acquire the second signal continuously collected up to the current time point, and determine the second signal interference level and the second signal interference duration corresponding to the second signal interference level according to the second signal.

[0079] Step 207, determine whether the first signal interference level is greater than the first signal interference level threshold, whether the first signal interference duration is greater than the first signal interference duration threshold, whether the second signal interference level is greater than the second signal interference level threshold, and whether the second signal interference duration is greater than the second signal interference duration threshold. If all are greater, execute step 208.

[0080] In the embodiment of the present application, the signal acquisition standards corresponding to different time periods are different, and the conditions for triggering retesting are stricter when the time is later. For example, when the time cost is T5, that is, the time cost of starting retesting at this time is low, even if retesting is triggered here, the impact it brings is small, and the impact on the total duration of the final collected data is small, so the conditions for triggering retesting are set here to be relatively loose. For example, as long as there is interference above the L0 level in the first 5 seconds of the signal, and the duration exceeds K2 seconds, it is determined that the signal acquisition standard is not met and retesting needs to be started.

[0081] When the time cost is T10, the time cost of starting retest at this time is higher than T5, so the conditions for triggering retest will become stricter. For example, if there is more than K3 seconds of L1 level interference in the latest 5 seconds, and there is more than 5 seconds of L0 level interference in the previous 10 seconds of data, it is determined that the signal acquisition standard is not met and retest needs to be started. At this time, it is necessary not only to judge the size between the first signal interference level and the first signal interference level threshold and the size between the first signal interference duration and the first signal interference duration threshold, but also to judge the size between the second signal interference level and the second signal interference level threshold and the size between the second signal interference duration and the second signal interference duration threshold. If the first signal interference level is greater than the first signal interference level threshold, the first signal interference duration is greater than the first signal interference duration threshold, the second signal interference level is greater than the second signal interference level threshold, and the second signal interference duration is greater than the second signal interference duration threshold, it is determined that the signal acquisition standard is not met and retest needs to be started.

[0082] Furthermore, according to the above principle, the longer the Tx, the stricter the mechanism for triggering retest will be. For example, when the time cost is T25, the condition for triggering retest is not as simple as at T5 and T10. In addition to looking at the interference level and duration in the current 5 seconds, it is also necessary to count the overall signal quality in the previous 25 seconds. Retest will only be triggered when there is interference exceeding the L2 level in the latest 5 seconds and the duration exceeds 2 seconds, and there is interference exceeding the L0 level for more than 10 seconds in the current 25 seconds.

[0083] When the time cost is T30, if a retest is triggered at this time, the time cost is the highest, so the judgment conditions at this time are more stringent. If there is no interference exceeding L2 level or above in the other 25 seconds except the last 5 seconds, it will be determined that this section of data has a large degree of interference in the last 5 seconds, and retest will not be triggered again, because the relatively good quality signal in the first 25 seconds is sufficient to support subsequent analysis, so retest will not be easily triggered.

[0084] Step 208: determine that the quality of the currently collected signal does not meet the signal collection standard, and restart signal collection.

[0085] When re-collecting, the timer is reset and starts from the beginning. When the signal is collected again, the current continuous collection duration is obtained in real time. The embodiment of the present application designs the above-mentioned trigger re-measurement scheme, combines the interference re-measurement mechanism of different degrees at different times, and ensures that the electronic device can trigger re-measurement at the appropriate time during the entire signal collection process, which not only ensures the effectiveness of signal collection, but also makes the collection process take the most reasonable time.

[0086] As can be seen from the above, the signal acquisition method provided in the embodiment of the present application can divide the preset acquisition time of the signal into multiple preset time periods. When the signal acquisition starts, the current continuous acquisition time is obtained in real time, and the target preset time period corresponding to the continuous acquisition time is determined, the starting time point and the ending time point of the target preset time period are obtained, and the first signal interference level threshold, the first signal interference time threshold, the second signal interference level threshold and the second signal interference time threshold are determined according to the starting time point or the ending time point, so as to obtain the signal acquisition standard corresponding to the target preset time period, obtain the first signal collected within the target preset time period, and determine the first signal interference level and the first signal interference time corresponding to the first signal interference level according to the first signal, obtain the second signal continuously collected up to the current time point, and determine the second signal interference level and the second signal interference time corresponding to the second signal interference level according to the second signal. Determine whether the first signal interference level is greater than the first signal interference level threshold, whether the first signal interference duration is greater than the first signal interference duration threshold, whether the second signal interference level is greater than the second signal interference level threshold, and whether the second signal interference duration is greater than the second signal interference duration threshold. If all are greater than, determine that the quality of the currently collected signal does not meet the signal collection standard, and restart signal collection. The embodiment of the present application can adopt different collection standards according to the duration of signal collection, thereby improving the accuracy of the collected signal and improving the collection efficiency.

[0087] See also Figure 4 , Figure 4 A schematic diagram of the structure of a signal acquisition device provided in an embodiment of the present application. The signal acquisition device 30 includes:

[0088] A division module 301 is used to divide the preset acquisition time of the signal into a plurality of preset time periods;

[0089] The determination module 302 is used to obtain the current continuous acquisition time in real time when the signal is started to be acquired, and determine the target preset time period corresponding to the continuous acquisition time;

[0090] An acquisition module 303 is used to acquire a signal acquisition standard corresponding to the target preset time period;

[0091] A judgment module 304 is used to judge whether the quality of the currently collected signal meets the signal collection standard;

[0092] The processing module 305 is used to restart collecting the signal when the judging module judges that the signal is negative.

[0093] In one embodiment, see Figure 5 In this embodiment, the acquisition module 303 may include:

[0094] The first acquisition submodule 3031 is used to acquire the starting time point and the ending time point of the target preset time period;

[0095] The determination submodule 3032 is used to determine the first signal interference level threshold, the first signal interference duration threshold, the second signal interference level threshold and the second signal interference duration threshold according to the starting time point or the ending time point, so as to obtain the signal collection standard corresponding to the target preset time period.

[0096] In one embodiment, the determining module 304 may include:

[0097] The second acquisition submodule 3041 is used to acquire the first signal collected within the target preset time period, and determine the first signal interference level and the first signal interference duration corresponding to the first signal interference level according to the first signal;

[0098] The third acquisition submodule 3042 is used to acquire the second signal continuously collected up to the current time point, and determine the second signal interference level and the second signal interference duration corresponding to the second signal interference level according to the second signal;

[0099] The judgment submodule 3043 is used to judge whether the first signal interference level is greater than the first signal interference level threshold, whether the first signal interference duration is greater than the first signal interference duration threshold, whether the second signal interference level is greater than the second signal interference level threshold, and whether the second signal interference duration is greater than the second signal interference duration threshold. If all of them are greater than the above, it is determined that the currently collected signal quality does not meet the signal collection standard.

[0100] As can be seen from the above, the signal acquisition device 30 of the embodiment of the present application can divide the preset acquisition duration of the signal into multiple preset time periods. When starting to acquire the signal, the current continuous acquisition duration is acquired in real time, and the target preset time period corresponding to the continuous acquisition duration is determined, and the signal acquisition standard corresponding to the target preset time period is acquired, and it is determined whether the quality of the currently acquired signal meets the signal acquisition standard. If not, the signal acquisition is restarted. The embodiment of the present application can adopt different acquisition standards according to the duration of signal acquisition, thereby improving the accuracy of the acquired signal and improving the acquisition efficiency.

[0101] In the embodiment of the present application, the signal acquisition device and the signal acquisition method in the above embodiment belong to the same concept. Any method provided in the signal acquisition method embodiment can be run on the signal acquisition device. The specific implementation process is detailed in the embodiment of the signal acquisition method and will not be repeated here.

[0102] The term "module" used herein can be regarded as a software object executed on the computing system. The different components, modules, engines and services described herein can be regarded as implementation objects on the computing system. The apparatus and method described herein can be implemented in software, and of course can also be implemented in hardware, all within the scope of protection of this application.

[0103] An embodiment of the present application further provides a storage medium on which a computer program is stored. When the computer program is executed on a computer, the computer is enabled to execute the above-mentioned signal acquisition method.

[0104] The embodiment of the present application also provides an electronic device, such as a tablet computer, a mobile phone, etc. The processor in the electronic device will load instructions corresponding to the processes of one or more application programs into the memory according to the following steps, and the processor will run the application programs stored in the memory to implement various functions:

[0105] Divide the preset acquisition time of the signal into a plurality of preset time periods;

[0106] When the signal is collected, the current continuous collection duration is obtained in real time, and a target preset time period corresponding to the continuous collection duration is determined;

[0107] Obtaining a signal acquisition standard corresponding to the target preset time period;

[0108] Determine whether the quality of the currently collected signal meets the signal collection standard;

[0109] If not satisfied, the signal acquisition is restarted.

[0110] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0111] See also Figure 6 , the electronic device 400 includes a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.

[0112] The processor 400 is the control center of the electronic device 400. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device 400 and processes data by running or loading computer programs stored in the memory 402 and calling data stored in the memory 402, thereby monitoring the electronic device 400 as a whole.

[0113] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the computer programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0114] In the embodiment of the present application, the processor 401 in the electronic device 400 will load instructions corresponding to the processes of one or more computer programs into the memory 402 according to the following steps, and the processor 401 will run the computer program stored in the memory 402, thereby realizing various functions, as follows:

[0115] Divide the preset acquisition time of the signal into a plurality of preset time periods;

[0116] When the signal is collected, the current continuous collection duration is obtained in real time, and a target preset time period corresponding to the continuous collection duration is determined;

[0117] Obtaining a signal acquisition standard corresponding to the target preset time period;

[0118] Determine whether the quality of the currently collected signal meets the signal collection standard;

[0119] If not satisfied, the signal acquisition is restarted.

[0120] Please also read Figure 7 In some implementations, the electronic device 400 may further include: a display 403, a radio frequency circuit 404, an audio circuit 405, and a power supply 406. The display 403, the radio frequency circuit 404, the audio circuit 405, and the power supply 406 are electrically connected to the processor 401, respectively.

[0121] The display 403 may be used to display information input by the user or information provided to the user and various graphical user interfaces, which may be composed of graphics, text, icons, videos, and any combination thereof. The display 403 may include a display panel, and in some embodiments, the display panel may be configured in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED).

[0122] The radio frequency circuit 404 can be used to send and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to send and receive signals between network devices or other electronic devices. Generally, the radio frequency circuit 501 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc.

[0123] The audio circuit 405 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 506 can convert the received audio data into an electrical signal, transmit it to the speaker, and convert it into a sound signal for output by the speaker.

[0124] The power supply 406 can be used to supply power to various components of the electronic device 400. In some embodiments, the power supply 406 can be logically connected to the processor 401 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 406 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0125] although Figure 7Not shown, the electronic device 400 may also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0126] In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0127] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0128] It should be noted that, for the signal acquisition method of the embodiment of the present application, ordinary testers in the field can understand that all or part of the process of implementing the signal acquisition method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, such as stored in the memory of an electronic device, and executed by at least one processor in the electronic device, and the execution process may include the process of the embodiment of the signal acquisition method. Among them, the storage medium can be a disk, an optical disk, a read-only memory, a random access memory, etc.

[0129] For the signal acquisition device of the embodiment of the present application, each functional module can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk.

[0130] The above is a detailed introduction to a signal acquisition method, device, storage medium and electronic device provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A signal acquisition method, characterized in that: The method comprises the following steps: After determining the corresponding preset acquisition time according to the type of the collected signal, dividing the preset acquisition time of the signal into a plurality of preset time periods; When the signal is collected, the current continuous collection duration is obtained in real time, and the target preset time period corresponding to the continuous collection duration is determined; wherein the continuous collection duration of the collected signal is obtained once every preset time; Acquiring the signal collection standard corresponding to the target preset time period, comprising: acquiring the number of times the signal is currently recollected; determining the signal collection standard corresponding to the target preset time period according to the number and the target preset time period; wherein each of the multiple preset time periods corresponds to a different signal collection standard; Determine whether the quality of the currently collected signal meets the signal collection standard; If not satisfied, the signal acquisition is restarted.

2. The signal acquisition method according to claim 1, characterized in that: The signal acquisition standard includes a signal interference level threshold and a signal interference duration threshold, and the step of determining whether the quality of the currently acquired signal meets the signal acquisition standard includes: Acquire signals collected within the target preset time period, and determine a signal interference level and a signal interference duration corresponding to the signal interference level according to the collected signals; Determine whether the signal interference level is greater than the signal interference level threshold and whether the signal interference duration is greater than the signal interference duration threshold; If both are greater than, it is determined that the quality of the currently acquired signal does not meet the signal acquisition standard.

3. The signal acquisition method according to claim 1, characterized in that: The signal acquisition standard includes a first signal interference level threshold, a first signal interference duration threshold, a second signal interference level threshold, and a second signal interference duration threshold. The step of determining whether the quality of the currently acquired signal meets the signal acquisition standard includes: Acquire a first signal collected within the target preset time period, and determine a first signal interference level and a first signal interference duration corresponding to the first signal interference level according to the first signal; Acquire a second signal continuously collected up to a current time point, and determine a second signal interference level and a second signal interference duration corresponding to the second signal interference level according to the second signal; Determine whether the first signal interference level is greater than the first signal interference level threshold, whether the first signal interference duration is greater than the first signal interference duration threshold, whether the second signal interference level is greater than the second signal interference level threshold, and whether the second signal interference duration is greater than the second signal interference duration threshold; If both are greater than, it is determined that the quality of the currently acquired signal does not meet the signal acquisition standard.

4. The signal acquisition method according to claim 3, characterized in that: The step of obtaining the signal acquisition standard corresponding to the target preset time period includes: Obtaining the starting time point and the ending time point of the target preset time period; The first signal interference level threshold, the first signal interference duration threshold, the second signal interference level threshold and the second signal interference duration threshold are determined according to the starting time point or the ending time point, so as to obtain the signal collection standard corresponding to the target preset time period.

5. A signal acquisition device, characterized in that: The device comprises: A division module, for dividing the preset acquisition time of the signal into a plurality of preset time periods after determining the corresponding preset acquisition time according to the acquired signal type; A determination module, used for obtaining the current continuous acquisition duration in real time when the signal is collected, and determining the target preset time period corresponding to the continuous acquisition duration; wherein the continuous acquisition duration of the collected signal is obtained once every preset time; An acquisition module, used to acquire the signal acquisition standard corresponding to the target preset time period, including: acquiring the number of times the signal is currently re-acquired; determining the signal acquisition standard corresponding to the target preset time period according to the number and the target preset time period; wherein each of the multiple preset time periods corresponds to a different signal acquisition standard; A judging module, used to judge whether the quality of the currently collected signal meets the signal collection standard; The processing module is used for restarting to collect the signal when the judging module judges as no.

6. The signal acquisition device according to claim 5, characterized in that: The acquisition module comprises: A first acquisition submodule is used to acquire the starting time point and the ending time point of the target preset time period; A determination submodule is used to determine the first signal interference level threshold, the first signal interference duration threshold, the second signal interference level threshold and the second signal interference duration threshold according to the starting time point or the ending time point, so as to obtain the signal acquisition standard corresponding to the target preset time period.

7. The signal acquisition device according to claim 6, characterized in that: The judging module comprises: A second acquisition submodule is used to acquire the first signal collected within the target preset time period, and determine a first signal interference level and a first signal interference duration corresponding to the first signal interference level according to the first signal; a third acquisition submodule, configured to acquire the second signal continuously collected up to the current time point, and determine a second signal interference level and a second signal interference duration corresponding to the second signal interference level according to the second signal; A judgment submodule is used to judge whether the first signal interference level is greater than the first signal interference level threshold, whether the first signal interference duration is greater than the first signal interference duration threshold, whether the second signal interference level is greater than the second signal interference level threshold, and whether the second signal interference duration is greater than the second signal interference duration threshold. If all of them are greater than, it is determined that the currently collected signal quality does not meet the signal collection standard.

8. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed on a computer, the computer is enabled to execute the signal acquisition method according to any one of claims 1 to 4.

9. An electronic device, comprising a processor and a memory, wherein the memory stores a plurality of instructions, characterized in that: The processor loads the instructions in the memory for executing the following steps: After determining the corresponding preset acquisition time according to the type of the collected signal, dividing the preset acquisition time of the signal into a plurality of preset time periods; When the signal is collected, the current continuous collection duration is obtained in real time, and the target preset time period corresponding to the continuous collection duration is determined; wherein the continuous collection duration of the collected signal is obtained once every preset time; Acquiring the signal collection standard corresponding to the target preset time period, comprising: acquiring the number of times the signal is currently recollected; determining the signal collection standard corresponding to the target preset time period according to the number and the target preset time period; wherein each of the multiple preset time periods corresponds to a different signal collection standard; Determine whether the quality of the currently collected signal meets the signal collection standard; If not satisfied, the signal acquisition is restarted.

Citation Information

Patent Citations

  • Intelligent lead switching method and device based on respiration parameters

    CN105286868A

  • ECG (electrocardiogram) signal collecting method and device, terminal and computer readable storage medium

    CN109893121A