Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements throughout, the principles of the present application are illustrated in an appropriate computing environment. The following description is based on illustrative embodiments of the application and should not be taken as limiting other embodiments of the application not described in detail herein.
In the description that follows, specific embodiments of the application will be described with reference to steps and symbols performed by one or more computers, unless otherwise indicated. Thus, these steps and operations will be referred to in several instances as being performed by a computer, which as referred to herein performs operations that include processing units by the computer that represent electronic signals that represent data in a structured form. This operation transforms the data or maintains it in place in the computer's memory system, which may reconfigure or otherwise alter the computer's operation in a manner well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of the present application are described in the foregoing text and are not meant to be limiting, and one skilled in the art will recognize that various steps and operations described below may also be implemented in hardware.
The terms "first," "second," and "third," etc. in this disclosure are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the particular steps or modules listed and certain embodiments may include additional steps or modules not listed or inherent to such process, method, article, or apparatus.
When physiological data are measured, the main stream wearable equipment on the market generally collects data with the time length of 30 seconds or more, and when the collection time length meets the requirement, subsequent processing and diagnosis are carried out according to the collected signals, and because the analyzed data are shorter than the traditional electrocardio, the quality of the collected 30-second signals is required to be relatively higher in order to obtain better measurement results, and therefore a better mechanism is required to ensure that the collected 30-second signals are effective signals as much as possible.
The conventional retest triggering mechanism is two, one is to detect the movement condition of the wrist by using an acceleration sensor in the wearable device, the other is the shedding detection of the hardware, such as the shedding of the electrocardiograph lead and the shedding of the blood oxygen sensor, and the threshold value for judging the shedding is very large, and the condition of the shedding detection can be met only when the signal quality is very bad, and the condition of the shedding is not met, but the condition of interference affecting diagnosis can not trigger retest, and the useless signals can be collected, so that the false result judgment can be caused.
Referring to fig. 1, fig. 1 is a schematic flow chart of a signal acquisition method according to an embodiment of the application. The signal acquisition method provided by the embodiment of the application is applied to electronic equipment, and the specific flow can be as follows:
step 101, dividing the preset acquisition time length of the signal into a plurality of preset time periods.
In the embodiment of the application, the signal acquisition method is applied to electronic equipment, and the electronic equipment can be handheld equipment such as a mobile phone, a tablet personal computer and the like, and can also be wearable electronic equipment such as an intelligent bracelet, an intelligent watch and the like. Sensors are integrated into the above electronic devices for acquiring physiological signals of the user, such as ECG (electrocardiogram), PPG (photoplethysmographic, photoplethysmogram), RESP (respiration ), HR (HEART RATE, heart rate) and the like of the user.
For example, taking a wearable watch or a bracelet as an example, when an ECG electrocardiograph signal is collected, a user wears the watch on one wrist to make the back of the watch fit with the wrist, and the index finger of the other hand is placed on the crown to maintain the state for a certain period of time, so that the electrocardiograph signal of the human body for a certain period of time can be recorded and a measurement result can be given. When the wearable watch or the bracelet is used for measuring the blood oxygen and the heart rate of a human body, the user wears the bracelet on any wrist, and after the measurement is started for a period of time, the measurement result can be given through calculation of a related algorithm.
The preset collection time length is the optimal collection time length corresponding to the signal, and can be preset by electronic equipment, for example, the electrocardiosignal is taken as an example, and the accurate measurement result can be obtained only by collecting 30 seconds of electrocardiosignal data, so that the preset collection time length of the electrocardiosignal can be set to 30 seconds. Different types of physiological signals may have different preset acquisition durations, for example, the preset acquisition duration of blood oxygen may be set to 20 seconds, the preset acquisition duration of heart rate may be set to 40 seconds, and so on.
In an embodiment, after determining the corresponding preset acquisition duration according to the acquired signal type, the preset acquisition duration of the signal is further divided into a plurality of preset time periods, please refer to fig. 2, and fig. 2 is a schematic diagram of a scenario for dividing the preset time periods according to the embodiment of the present application. For example, to measure 30 seconds of electrocardiographic signals, we can divide 30 seconds into 6 segments, 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, in units of 5 seconds.
Step 102, when the signal collection is started, acquiring the current continuous collection duration in real time, and determining a target preset time period corresponding to the continuous collection duration.
In the embodiment of the application, when the signal is started to be acquired, the current continuous acquisition time length is acquired in real time, and particularly, the continuous acquisition time length of the signal can be acquired in real time by a timer, for example, the signal is started to be acquired, when the continuous acquisition time length is 12 seconds, the corresponding target preset time period is the above 11S-15S time period, and therefore, when the continuous acquisition time length is 12 seconds, the corresponding target preset time period is determined to be the 11S-15S time period.
In an embodiment, the duration of acquisition of the acquisition signal may be acquired every other period of time, such as by a timer every 1 second. To further improve accuracy, the time interval for the acquisition duration may be shortened in other embodiments, such as acquiring once every 0.5 seconds by a timer or once every 0.1 seconds, etc.
Step 103, acquiring a signal acquisition standard corresponding to a target preset time period.
In the embodiment of the application, the plurality of preset time periods respectively correspond to different signal acquisition standards, and the signal acquisition standards corresponding to the different preset time periods are different. For example, when the continuous acquisition duration is 12 seconds, determining that the corresponding target preset time period is 11S-15S time period, and further acquiring a signal acquisition standard corresponding to the 11S-15S time period, so as to judge whether the signal acquired in the preset time period is qualified or not according to the standard.
When whether the collected signal is qualified or not is judged according to the signal collection standard, if the collected signal is unqualified, the signal needs to be collected again, and when the signal is repeated, the time cost of the signal collection can be defined as Cx, wherein the larger x is, the higher the time cost is, for example, C5 is that the retest is started in about 5 seconds, C10 is that the retest is started in about 10 seconds, and the more the retest is triggered, the later the retest time is, the larger the retest time cost is. C5 and C10 are only examples, and the actual implementation process may be divided into different time cost granularities, which is not further limited in this embodiment.
Correspondingly, the total time length used after the signal acquisition is completed is also related to the number of retests and the time length, the total time length of the signal acquisition can be defined as Tx, wherein the larger x is, the longer the total time spent by the successful measurement is, the successful measurement represents that the retest is not started within 30 seconds after the countdown, the signals acquired in each preset time period meet the corresponding signal acquisition standards, and a more correct result can be given according to the measured signals. Assuming that a total of N times has been measured before success, the total length of time for success is the sum of the time Cx of the previous (N-1) times and the time for 30 seconds of the last measurement.
In an embodiment, the signal acquisition criteria may include data such as signal strength, signal interference value, interference duration, etc., for example, the signal acquisition criteria may specify a minimum value of signal strength, or may also specify a maximum value of signal interference value, a maximum signal interference duration, etc., so as to determine whether the acquired signal meets the criteria.
Further, the present application may further divide the signal interference values into a plurality of levels, so as to facilitate the subsequent comparison, for example, define a signal interference level Lx, where the larger x is, the greater the interference level is, for example, the signal interference values may be divided into 4 levels, which respectively correspond to the signal interference values of different intervals, and may be defined as L0, L1, L2 and L3, where L0 represents no interference, L1 represents low-level interference, L2 represents medium-level interference, L3 represents high-level interference, where L0, L1, L2 and L3 are only illustrative, and may be divided into more levels in the practical implementation process. As can be seen by definition, the higher the interference level contained in a signal, the worse its signal quality, and the higher the probability that it may lead to failure of the acquired signal.
In addition, the application can also define the signal interference duration as Kx, wherein the larger x is, the longer the interference duration is. For example, K0 represents no interference in the signal, K5 represents 5 seconds of interference in the signal, and K10 represents 10 seconds of interference in the signal, where K0, K5, and K10 are only examples, and may be divided into more long-duration interference in the actual process. As can be seen by definition, the longer the duration of the continuous interference in the signal, the higher the probability that it may lead to failure of the acquired signal.
Step 104, judging whether the quality of the currently acquired signal meets the signal acquisition standard, if not, executing step 105.
In the embodiment of the application, the signals are continuously collected, whether the collected signals meet the signal collection standards corresponding to the corresponding preset time period is judged, and if the signals are collected until the signals are collected, namely, the signals collected within 30 seconds of the preset collection time period meet the standards, the signals are collected successfully. If the acquired signal does not meet the signal acquisition criteria, step 105 is performed and re-acquisition is performed.
For example, assuming that a measurement is successful, because the mechanism of determining retests for each measurement is the same, the time cost Cx of triggering retests for each measurement directly affects the total duration Tx of the final measurement success, assuming that a measurement is not successful more than twice, assuming that a first measurement may trigger retests and a second measurement does not trigger retests, the total duration is (cx+30) seconds. And the total duration of the measurement success is determined to be the duration of triggering retest.
Therefore, in this embodiment, the lower the time cost is, the looser the condition for triggering retesting is set. For example, when the time cost is less than T5, i.e. in the 1S-5S time period, the time cost for starting the retest is low, even if the retest is triggered here, the impact is small, and the total duration of the finally collected data is less affected, so the condition for triggering the retest is set to be loose, if the interference exceeding the L0 level occurs in the first 5 seconds signal and the duration exceeds K2 seconds, it is determined that the retest needs to be started. That is, in this embodiment, the signal acquisition criteria includes a signal interference level threshold and a signal interference duration threshold, and the step of determining whether the currently acquired signal quality meets the signal acquisition criteria includes:
Acquiring signals acquired in the target preset time period, and determining a signal interference level and a signal interference duration corresponding to the signal interference level according to the acquired signals;
Judging whether the signal interference level is larger than the signal interference level threshold value or not and whether the signal interference duration is larger than the signal interference duration threshold value or not;
And if the signal quality is larger than the signal acquisition standard, determining that the currently acquired signal quality does not meet the signal acquisition standard.
If only one of the signal interference level and the signal interference duration exceeds the corresponding threshold, it is determined that the signal acquisition standard is satisfied, and retesting is not required. In addition, the signal interference levels determined according to the collected signals can be multiple, and the multiple signal interference levels have respective corresponding signal interference durations. For example, there is a 3 second L0 level interference and a1 second L1 level interference in the signals acquired during the 1S-5S period.
Step 105, the acquisition of the signal is restarted.
If the signal interference level is greater than the signal interference level threshold and the signal interference time length is greater than the signal interference time length threshold, determining that the quality of the currently acquired signal does not meet the signal acquisition standard, acquiring the signal again, resetting the timer and starting timing from the beginning when the signal is acquired again, and continuously acquiring the current continuous acquisition time length in real time when the signal is acquired again.
As can be seen from the above, the signal acquisition method provided by the embodiment of the present application can divide the preset acquisition duration of the signal into a plurality of preset time periods, when the signal acquisition is started, acquire the current continuous acquisition duration in real time, determine the target preset time period corresponding to the continuous acquisition duration, acquire the signal acquisition standard corresponding to the target preset time period, determine whether the quality of the currently acquired signal meets the signal acquisition standard, and if not, restart the signal acquisition. According to the embodiment of the application, different acquisition standards can be adopted according to the time length of signal acquisition, so that the accuracy of acquired signals is improved and the acquisition efficiency is improved.
The signal acquisition method of the present application will be further described based on the method described in the above embodiment. Referring to fig. 3, fig. 3 is another flow chart of a signal acquisition method according to an embodiment of the present application, where the signal acquisition method includes:
in step 201, the preset collection duration of the signal is divided into a plurality of preset time periods.
The preset collection time length is the optimal collection time length corresponding to the signal, and can be preset by electronic equipment, for example, the electrocardiosignal is taken as an example, and the accurate measurement result can be obtained only by collecting 30 seconds of electrocardiosignal data, so that the preset collection time length of the electrocardiosignal 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.
Step 202, when the signal collection is started, acquiring the current continuous collection duration in real time, and determining a target preset time period corresponding to the continuous collection duration.
In the embodiment of the application, when the signal is started to be acquired, the current continuous acquisition duration is acquired in real time, and specifically, the continuous acquisition duration of the signal can be acquired in real time by a timer in a timing manner, for example, the signal is started to be acquired, and when the continuous acquisition duration is 12 seconds, the corresponding target preset time period is the 11S-15S time period.
Step 203, acquiring a starting time point and a cut-off time point of the target preset time period.
Step 204, determining 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 according to the starting time point or the ending time point, thereby obtaining a signal acquisition standard corresponding to the target preset time period.
In the embodiment of the application, the plurality of preset time periods respectively correspond to different signal acquisition standards, and the signal acquisition standards corresponding to the different preset time periods are different. The determination may be made in particular from the starting point in time or from the ending point in time. The signal acquisition criteria 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.
The first signal interference level threshold and the first signal interference duration threshold may be a maximum interference level and a maximum signal interference duration set in a current preset time period, and the second signal interference level threshold and the second signal interference duration threshold may be a maximum interference level and a maximum signal interference duration set in a time period up to a current total acquisition duration. After the signal acquisition standard is obtained, whether the signal acquired in the preset time period is qualified or not can be further judged.
In the actual use process, if the collected signals are judged to be unqualified for retesting for a plurality of times, the signal collection standard can be properly reduced so as to improve the collection efficiency. For example, after retesting is performed twice, the signal acquisition criteria corresponding to each preset time period is reduced, and after retesting is performed four times, the signal acquisition criteria corresponding to each preset time period is reduced again. That is, the step of obtaining the signal acquisition standard corresponding to the target preset time period may include:
acquiring the number of times of current re-acquisition of the signal;
And determining a signal acquisition standard corresponding to the target preset time period according to the times and the target preset time period.
Step 205, acquiring a first signal acquired in a target preset time period, and determining a first signal interference level and a first signal interference duration corresponding to the first signal interference level according to the first signal.
Step 206, obtaining the second signal continuously collected up to the current time point, and determining a second signal interference level and a second signal interference duration corresponding to the second signal interference level according to the second signal.
Step 207, it is determined whether the first signal interference level is greater than a first signal interference level threshold, whether the first signal interference duration is greater than a first signal interference duration threshold, whether the second signal interference level is greater than a second signal interference level threshold, and whether the second signal interference duration is greater than a second signal interference duration threshold, and if both are greater than the first signal interference duration threshold, step 208 is performed.
In the embodiment of the application, the signal acquisition standards corresponding to different time periods are different, and the condition for triggering retest is more strict when the time is more later. For example, when the time cost is T5, that is, when the time cost of starting retest is low, even if retest is triggered here, the influence of the time cost is small, and the influence on the total duration of the finally acquired data is small, so that the condition of triggering retest is loose here, if the interference exceeding the level L0 occurs in the first 5 seconds signal and the duration exceeds K2 seconds, it is determined that the signal acquisition standard is not satisfied, and retest needs to be started.
When the time cost is T10, the time cost for starting the retest becomes higher than T5, so that the condition for triggering the retest becomes strict, and if the interference above the L1 level exceeding K3 seconds is required in the latest 5 seconds and the interference above the L0 level exceeding 5 seconds is shared in the previous 10 seconds, it is determined that the signal acquisition standard is not satisfied and the retest needs to be started. At this time, it is necessary to determine not only the magnitude between the first signal interference level and the first signal interference level threshold and the magnitude between the first signal interference duration and the first signal interference duration threshold, but also the magnitude between the second signal interference level and the second signal interference level threshold and the magnitude between the second signal interference duration and the second signal interference duration threshold, and 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 criteria is not satisfied at this time, and retesting is required to be started.
Further, according to the above principle, when Tx is longer, the mechanism for triggering retest is more strict, for example, when the time cost is T25, the condition for triggering retest is not as simple as that of T5 and T10, and besides the interference level and duration in the current last 5 seconds, the overall situation of signal quality in the previous 25 seconds needs to be counted, and retest is triggered only when interference exceeding the level L2 exists in the last 5 seconds and the duration exceeds 2 seconds, and interference exceeding the level L0 for exceeding 10 seconds also exists in the current 25 seconds.
When the time cost is T30, if the retest is triggered, the time cost is the highest, so that the condition determined in this time is more severe, if no interference exceeding the L2 level or more is generated in other 25 seconds except the last 5 seconds, it is determined that the retest is not triggered again even if the last 5 seconds have a large degree of interference, and the signal with good relative quality in the previous 25 seconds is enough to support the subsequent analysis, so that the retest is not triggered easily.
Step 208, determining that the quality of the currently acquired signal does not meet the signal acquisition criteria, and restarting acquiring the signal.
When the signal is collected again, the current continuous collection duration is continuously obtained in real time. According to the embodiment of the application, through designing the scheme for triggering retest, interference retest mechanisms with different degrees are combined at different moments, so that the electronic equipment can trigger retest at proper moments in the whole signal acquisition process, the effectiveness of signal acquisition is ensured, and the time spent in the acquisition process is most reasonable.
As can be seen from the foregoing, the signal acquisition method provided by the embodiment of the present application may divide the preset acquisition duration of the signal into a plurality of preset time periods, when the signal acquisition is started, acquire the current continuous acquisition duration in real time, determine the target preset time period corresponding to the continuous acquisition duration, acquire the start time point and the intercept time point of the target preset time period, 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 start time point or the intercept time point, thereby obtaining the signal acquisition standard corresponding to the target preset time period, acquire the first signal acquired in the target preset time period, determine the first signal interference level and the first signal interference duration corresponding to the first signal interference level according to the first signal, acquire the second signal continuously acquired at 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. Judging whether the first signal interference level is larger than a first signal interference level threshold, whether the first signal interference duration is larger than a first signal interference duration threshold, whether the second signal interference level is larger than a second signal interference level threshold and whether the second signal interference duration is larger than a second signal interference duration threshold, if both the first signal interference level and the second signal interference duration are larger than the second signal interference duration threshold, determining that the quality of the currently acquired signal does not meet the signal acquisition standard, and restarting acquiring the signal. According to the embodiment of the application, different acquisition standards can be adopted according to the time length of signal acquisition, so that the accuracy of acquired signals is improved and the acquisition efficiency is improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a signal acquisition device according to an embodiment of the application. Wherein the signal acquisition device 30 comprises:
a dividing module 301, configured to divide a preset collection duration of a signal into a plurality of preset time periods;
the determining module 302 is configured to obtain, in real time, a current duration of continuous acquisition when the signal starts to be acquired, and determine a target preset time period corresponding to the duration of continuous acquisition;
an obtaining module 303, configured to obtain a signal acquisition standard corresponding to the target preset time period;
A judging module 304, configured to judge whether the quality of the currently collected signal meets the signal collection standard;
and the processing module 305 is configured to restart acquisition of the signal when the judging module judges no.
In an embodiment, referring to fig. 5, in this embodiment, the obtaining module 303 may include:
A first obtaining submodule 3031, configured to obtain a start time point and an intercept time point of the target preset time period;
And the determining submodule 3032 is configured 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 a signal acquisition standard corresponding to the target preset time period.
In an embodiment, the determining module 304 may include:
The second obtaining sub-module 3041 is configured to obtain a first signal collected in 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 acquiring sub-module 3042, configured to acquire a second signal continuously acquired 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;
and the judging submodule 3043 is configured 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, and if both are greater than the first signal interference level threshold, determine that the currently acquired signal quality does not meet the signal acquisition standard.
As can be seen from the foregoing, the signal acquisition device 30 according to the embodiment of the present application may divide the preset acquisition time period of the signal into a plurality of preset time periods, acquire the current continuous acquisition time period in real time when the signal starts to be acquired, determine the target preset time period corresponding to the continuous acquisition time period, acquire the signal acquisition standard corresponding to the target preset time period, determine whether the quality of the currently acquired signal meets the signal acquisition standard, and restart to acquire the signal if the quality does not meet the signal acquisition standard. According to the embodiment of the application, different acquisition standards can be adopted according to the time length of signal acquisition, so that the accuracy of acquired signals is improved and the acquisition efficiency is improved.
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, and any method provided in the signal acquisition method embodiment may be operated on the signal acquisition device, and the specific implementation process is detailed in the signal acquisition method embodiment, which is not described herein again.
The term "module" as used herein may be considered a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as implementing objects on the computing system. The apparatus and methods described herein may be implemented in software, but may also be implemented in hardware, and are within the scope of the present application.
The embodiment of the application also provides a storage medium, on which a computer program is stored, which when run on a computer causes the computer to execute the signal acquisition method.
The embodiment of the application also provides electronic equipment such as a tablet personal computer, a mobile phone and the like. The processor in the electronic device loads the instructions corresponding to the processes of one or more application programs into the memory according to the following steps, and the processor runs the application programs stored in the memory, so as to realize various functions:
dividing the preset acquisition time length of the signal into a plurality of preset time periods;
When the signal is started to be acquired, acquiring the current continuous acquisition time length in real time, and determining a target preset time period corresponding to the continuous acquisition time length;
acquiring a signal acquisition standard corresponding to the target preset time period;
judging whether the quality of the currently acquired signal meets the signal acquisition standard or not;
If not, restarting to collect the signal.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
Referring to fig. 6, the electronic device 400 includes a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 400 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs 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 performing overall monitoring of the electronic device 400.
The memory 402 may be used to store software programs and modules, and 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 storage program area that may store an operating system, a computer program required for at least one function (such as a sound playing function, an image playing function, etc.), etc., and a storage data area that may store data created according to the use of the electronic device, etc. In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
In the embodiment of the present application, the processor 401 in the electronic device 400 loads the instructions corresponding to the processes of one or more computer programs into the memory 402 according to the following steps, and the processor 401 executes the computer programs stored in the memory 402, so as to implement various functions, as follows:
dividing the preset acquisition time length of the signal into a plurality of preset time periods;
When the signal is started to be acquired, acquiring the current continuous acquisition time length in real time, and determining a target preset time period corresponding to the continuous acquisition time length;
acquiring a signal acquisition standard corresponding to the target preset time period;
judging whether the quality of the currently acquired signal meets the signal acquisition standard or not;
If not, restarting to collect the signal.
Referring also to FIG. 7, in some embodiments, the electronic device 400 may further include a display 403, a radio frequency circuit 404, an audio circuit 405, and a power supply 406. Wherein, 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.
The display 403 may be used to display information entered by a user or provided to a user as well as various graphical user interfaces that may be composed of graphics, text, icons, video, and any combination thereof. The display 403 may include a display panel, which in some embodiments may be configured in the form of a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), or an Organic Light-Emitting Diode (OLED), or the like.
The radio frequency circuitry 404 may be used to transceive radio frequency signals to establish wireless communications with a network device or other electronic device via wireless communications. Typically, the radio frequency circuitry 501 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM, subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, low Noise Amplifier), a duplexer, and the like.
The audio circuitry 405 may be used to provide an audio interface between a user and an electronic device through a speaker, microphone. The audio circuit 506 may convert the received audio data into an electrical signal, transmit to a speaker, and be converted into a sound signal output by the speaker.
The power supply 406 may be used to power the various components of the electronic device 400. In some embodiments, the power supply 406 may be logically connected to the processor 401 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system. The power supply 406 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown in fig. 7, the electronic device 400 may further include a camera, a bluetooth module, etc., which will not be described herein.
In an 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 (Random Access Memory, RAM), etc.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
It should be noted that, for the signal acquisition method according to the embodiment of the present application, it will be understood by those skilled in the art that all or part of the flow of implementing the signal acquisition method according to the embodiment of the present application may be implemented by controlling related hardware by a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and the execution process may include the flow of the embodiment of the signal acquisition method. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
For the signal acquisition device of the embodiment of the application, each functional module can be integrated in one processing chip, each module can exist alone physically, and two or more modules can be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules, if implemented as software functional modules and sold or used as a stand-alone product, may also be stored on a computer readable storage medium such as read-only memory, magnetic or optical disk, etc.
The foregoing describes in detail a signal acquisition method, apparatus, storage medium and electronic device provided by the embodiments of the present application, and specific examples are applied to describe the principles and implementations of the present application, and the description of the foregoing examples is only for aiding in understanding the method and core concept of the present application, and meanwhile, for those skilled in the art, according to the concept of the present application, there are variations in the specific implementations and application ranges, so that the disclosure should not be interpreted as limiting the present application.