CN113288049A - Data acquisition method, terminal equipment and storage medium - Google Patents

Data acquisition method, terminal equipment and storage medium Download PDF

Info

Publication number
CN113288049A
CN113288049A CN202010115816.4A CN202010115816A CN113288049A CN 113288049 A CN113288049 A CN 113288049A CN 202010115816 A CN202010115816 A CN 202010115816A CN 113288049 A CN113288049 A CN 113288049A
Authority
CN
China
Prior art keywords
data
interference event
interference
acquired
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010115816.4A
Other languages
Chinese (zh)
Inventor
吴宙真
吴黄伟
黄曦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010115816.4A priority Critical patent/CN113288049A/en
Priority to PCT/CN2020/131531 priority patent/WO2021169443A1/en
Publication of CN113288049A publication Critical patent/CN113288049A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/0002Remote monitoring of patients using telemetry, e.g. transmission of vital signals via a communication network
    • A61B5/0015Remote monitoring of patients using telemetry, e.g. transmission of vital signals via a communication network characterised by features of the telemetry system
    • A61B5/0022Monitoring a patient using a global network, e.g. telephone networks, internet
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items
    • A61B5/681Wristwatch-type devices
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7203Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7225Details of analog processing, e.g. isolation amplifier, gain or sensitivity adjustment, filtering, baseline or drift compensation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • A61B5/7405Details of notification to user or communication with user or patient ; user input means using sound
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • A61B5/746Alarms related to a physiological condition, e.g. details of setting alarm thresholds or avoiding false alarms
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2576/00Medical imaging apparatus involving image processing or analysis
    • A61B2576/02Medical imaging apparatus involving image processing or analysis specially adapted for a particular organ or body part
    • A61B2576/023Medical imaging apparatus involving image processing or analysis specially adapted for a particular organ or body part for the heart

Abstract

The application is applicable to the technical field of electronics, and provides a data acquisition method, terminal equipment and a storage medium, wherein the data acquisition method comprises the following steps: if an interference event occurs in the data acquisition process and the interference event is an interference event to be processed in real time, storing the acquired data, accessing the interference event, and starting background data acquisition while accessing the interference event; and obtaining target acquisition data according to the data fragments acquired before the access interference event and the data fragments acquired in the background. The method and the device can open the background to continuously acquire data when the interference event to be processed in real time is processed, namely the event needing real-time processing can be processed in time, the data can be continuously acquired, the measurement process is not influenced, the effective information collected before interference can be guaranteed not to be discarded, the condition that partial effective data are omitted is avoided, the reliability and the availability of the collected data are effectively improved, and the total time of measurement is shortened.

Description

Data acquisition method, terminal equipment and storage medium
Technical Field
The present application relates to the field of electronics, and in particular, to a data acquisition method, a terminal device, and a storage medium.
Background
With the rapid development of electronic technology, functions that wearable equipment can realize are more and more, for example, various human physiological data such as electrocardiosignals and blood oxygen signals of a human body can be collected. The method assists in machine learning, and can effectively help to screen paroxysmal cardiovascular diseases, such as atrial fibrillation, premature beat and other cardiovascular diseases, through a plurality of effective single measurements in a long time. When various interferences such as call interference, information interference and the like occur in a single measurement process, the traditional wearable device can directly shield the interference and inform a user after the measurement is finished. However, the direct shielding interference may cause the user to miss some important information, so that some important information cannot be processed in time. In order to ensure that important information is processed in time, the existing wearable device can interrupt measurement and restart new measurement after the interference is finished. However, interrupting the measurement may result in difficulty accumulating a sufficient number of valid measurements over a period of time, easily missing paroxysmal symptoms, and restarting a new measurement may also result in partial loss of valid data;
therefore, in the traditional wearable device data acquisition process, on the premise of ensuring that important information is processed in time, part of effective data is easy to miss, so that the reliability and the availability of the acquired data are low, and the measurement time consumption is long.
Disclosure of Invention
The application provides a data acquisition method, terminal equipment and a storage medium, and solves the problems that in the traditional wearable equipment data acquisition process, on the premise of ensuring that important information is processed in time, part of effective data is easy to omit, so that the reliability and the availability of the acquired data are low, and the measurement time consumption is long.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a data acquisition method is provided, which may include:
if an interference event occurs in the data acquisition process and is monitored to be processed in real time, storing the acquired data, accessing the interference event, and starting background data acquisition while accessing the interference event;
and obtaining target acquisition data according to the data fragments acquired before the interference event is accessed and the data fragments acquired in the background.
Here, the targeted collected data may be used to assist in screening for paroxysmal cardiovascular disease.
The data acquisition method provided by the embodiment of the application can open the background to continuously acquire data while processing the interference event to be processed in real time, and then after the interference is finished, the data fragment before the interference event is accessed and the data fragment acquired by the background are spliced to obtain target acquisition data, namely, the event needing real-time processing can be processed in time, and the data can be continuously acquired, so that the measurement process is not influenced, the effective information acquired before the interference is avoided, the measurement process for screening paroxysmal cardiovascular diseases can be continuously carried out, the condition that partial effective data are omitted is effectively avoided, the accuracy of the analysis result of analyzing the paroxysmal cardiovascular diseases based on the target acquisition data is improved, the reliability and the availability of the data are effectively improved, and the total time consumption of measurement is shortened.
In a possible implementation manner of the first aspect, if an interference event occurs in a data acquisition process and the interference event is an interference event to be processed in real time, the method further includes, after the monitoring of the occurrence of the interference event in the data acquisition process and the interference event being an interference event to be processed in real time, storing the acquired data, accessing the interference event, and starting background data acquisition while accessing the interference event, the method further includes:
if the interference data fragments exist in the data fragments acquired by the background, deleting the interference data fragments to obtain effective data fragments;
correspondingly, the obtaining target acquisition data according to the data segment acquired before the access of the interference event and the data segment acquired in the background comprises:
and carrying out data splicing on the data segment acquired before the interference event is accessed and the effective data segment to obtain target acquisition data.
In the above embodiment, because there may be a situation that interference is caused to the acquired data (such as a situation of a mobile terminal device) in the process of accessing the interference event, when there is an interference data segment in the data segment acquired in the background, the interference data segment is deleted, and then the saved data segment and the effective data segment from which the interference data segment is deleted are subjected to data splicing to obtain the target acquired data, so that data interference can be effectively reduced, and the accuracy of the analysis result of the paroxysmal cardiovascular disease analysis based on the target acquired data can be improved.
In a possible implementation manner of the first aspect, before deleting an interference data segment to obtain a valid data segment if the interference data segment exists in data segments acquired by a background, the method further includes:
acquiring motion data, and determining a motion amplitude of the motion data according to the motion data;
determining a target data segment which meets a preset motion state in data acquired simultaneously with the motion data according to the motion amplitude of the motion data;
and if the interference degree of the target data segment exceeds a preset interference range, determining the target data segment as an interference data segment.
In the above embodiment, the motion data and the target data segment are combined to effectively determine whether an interference data segment exists in the data segments acquired by the background.
In a possible implementation manner of the first aspect, the obtaining target acquisition data according to a data segment acquired before accessing the interference event and a data segment acquired in a background includes:
and carrying out data splicing according to the acquisition time of the data fragments acquired before the interference event is accessed and the acquisition time of the data fragments acquired in the background to obtain the target acquisition data.
In the above embodiment, the data segments are spliced based on the acquisition time, so as to obtain a continuous section of acquired data, which is target acquired data to be subsequently used for data analysis.
In a possible implementation manner of the first aspect, if an interference event occurs in a data acquisition process and the interference event is an interference event to be processed in real time, the method further includes, before starting background data acquisition while accessing the interference event, storing the acquired data and accessing the interference event:
monitoring whether an interference event occurs in the data acquisition process;
and if an interference event occurs in the data acquisition process, judging whether the interference event is an interference event to be processed in real time.
In the embodiment, whether an interference event occurs in the data acquisition process is monitored in real time, and whether the interference event is an interference event to be processed in real time and needs to be processed in real time is identified under the condition that the interference event occurs, so that a corresponding processing strategy can be effectively selected according to the type of the interference event, data for helping screening paroxysmal cardiovascular diseases can be continuously acquired, the reliability and the availability of the data are effectively improved, and the total consumed time is shortened.
In a possible implementation manner of the first aspect, the determining, if an interference event occurs in the data acquisition process, whether the interference event is an interference event to be processed in real time includes:
acquiring the priority of the interference event;
if the priority of the interference event is a first preset priority level, determining the interference event as an interference event to be processed in real time;
and if the priority of the interference event is a second preset priority level, determining that the interference event is a non-to-be-processed interference event in real time.
In the above embodiment, the priority of each interference event may be preset, when an interference event occurs, the priority of the interference event may be determined, and then a corresponding processing policy may be selected based on the priority of the interference event, so as to improve reliability and availability of data acquisition in the data acquisition process, and reduce total time consumption.
In one possible implementation manner of the first aspect, the data acquisition method further includes:
and if an interference event occurs in the acquisition process and is monitored to be a non-interference event to be processed in real time, accessing the interference event after the measurement is finished.
In the above embodiment, during the data acquisition process, the interference event that is not to be processed in real time may not be processed temporarily, data acquisition is continued until the measurement is finished, the measurement process is not affected, and the interference event is accessed after the measurement is finished, thereby ensuring that the interference event can be processed in time and is not ignored.
In a second aspect, an embodiment of the present application provides a terminal device, including:
the device comprises a first processing unit, a second processing unit and a processing unit, wherein the first processing unit is used for monitoring whether an interference event occurs in the data acquisition process and is an interference event to be processed in real time; storing the collected data, accessing the interference event, and starting background data collection while accessing the interference event;
and the splicing unit is used for obtaining target acquisition data according to the data fragments acquired before the interference event is accessed and the acquired data fragments acquired after the interference event is accessed.
In a possible implementation manner of the second aspect, the terminal device further includes a deleting unit, where the deleting unit is configured to delete an interference data segment if the interference data segment exists in the data segments acquired by the background, so as to obtain an effective data segment. Correspondingly, the splicing unit is specifically configured to splice the data segment acquired before the access of the interference event and the valid data segment to obtain target acquisition data.
In a possible implementation manner of the second aspect, the terminal device further includes a first determining unit, a second determining unit, and a verifying unit.
The first determining unit is used for acquiring motion data and determining the motion amplitude of the motion data according to the motion data.
The second determining unit is configured to determine, according to the motion amplitude of the motion data, a target data segment that satisfies a preset motion state in data acquired simultaneously with the motion data.
The verification unit is used for determining the target data segment as an interference data segment if the interference degree of the target data segment exceeds a preset interference range.
In a possible implementation manner of the second aspect, the splicing unit is specifically configured to splice data according to the acquisition time of the data segment acquired before the access of the interference event and the acquisition time of the data segment acquired in the background, so as to obtain the target acquisition data.
In a possible implementation manner of the second aspect, the terminal device further includes a monitoring unit and an identification unit.
The monitoring unit is used for monitoring whether an interference event occurs in the data acquisition process.
The identification unit is used for judging whether the interference event is to-be-processed in real time or not if the interference event occurs in the data acquisition process.
In a possible implementation manner of the second aspect, the identification unit includes a priority acquisition unit and a judgment unit.
The priority acquiring unit is used for acquiring the priority of the interference event.
The judging unit is used for determining the interference event as the interference event to be processed in real time if the priority of the interference event is a first preset priority level; and if the priority of the interference event is a second preset priority level, determining that the interference event is a non-to-be-processed interference event in real time.
In a possible implementation manner of the second aspect, the terminal device further includes a second processing unit, where the second processing unit is configured to access the interference event after the measurement is finished if the interference event occurring in the acquisition process and the interference event is a non-interference event to be processed in real time is monitored.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the data acquisition method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the data acquisition method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the data acquisition method described in any one of the above first aspects.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware structure of a terminal device to which a data acquisition method provided in an embodiment of the present application is applied;
fig. 2 is a block diagram of a data acquisition system according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a data acquisition method according to an embodiment of the present application;
fig. 4 is a schematic flow chart of an interference event identification process to be processed in real time according to an embodiment of the present application;
fig. 5 is a schematic data structure diagram of target acquisition data obtained by splicing a data segment acquired before an access interference event and a data segment acquired in a background according to an embodiment of the present application;
fig. 6 is a schematic data structure diagram of target acquisition data obtained by splicing a data segment acquired before an access interference event and an effective data segment according to an embodiment of the present application
Fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another terminal device provided in the embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The data acquisition method provided by the embodiment of the application can be applied to terminal equipment, the terminal equipment can be wearable equipment, and can also be mobile phones, tablet computers, vehicle-mounted equipment, Augmented Reality (AR)/Virtual Reality (VR) equipment, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, Personal Digital Assistants (PDAs) and other mobile terminals, and the embodiment of the application does not limit the specific types of the terminal equipment at all.
For example, the terminal device may specifically be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Personal Digital Assistant (PDA) device, a handheld device with a wireless communication function, a computing device or other processing device connected to a wireless modem, a handheld communication device, a handheld computing device and/or other devices for Network communication on a wireless system, and a next generation communication system, for example, a Mobile terminal in a 5G Network or a Mobile terminal in a future-evolution Public Land Mobile Network (PLMN) Network, and the like.
By way of example and not limitation, when the terminal device is a wearable device, the wearable device may also be a generic term for intelligently designing daily wearing by applying wearable technology, developing wearable devices, such as glasses, gloves, watches, clothing, shoes, and the like. A wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction. The generalized wearable intelligent device has the advantages that the generalized wearable intelligent device is complete in function and large in size, can realize complete or partial functions without depending on a smart phone, such as a smart watch or smart glasses, and only is concentrated on a certain application function, and the generalized wearable intelligent device needs to be matched with other devices such as the smart phone for use, such as various smart bracelets, smart jewelry and the like which can acquire human physiological data, acquire human motion data, monitor vital signs and the like.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a terminal device to which a data acquisition method according to an embodiment of the present disclosure is applied. As shown in fig. 1, the terminal device 100 may be a wearable device, or may be a mobile terminal such as a mobile phone or a tablet computer. Specifically, in the present application, taking the terminal device 100 as a wearable device as an example, the terminal device 100 may specifically include: a Radio Frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a short-range wireless communication module 170, a processor 180, and a power supply 190. Those skilled in the art will appreciate that the configuration of terminal device 100 shown in fig. 1 is not intended to be limiting, and that terminal devices may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each constituent element of the terminal device 100 with reference to fig. 1:
the RF circuit 110 may be used for receiving and transmitting information, or receiving and transmitting signals during a call, and in particular, receives downlink information of a base station and then sends the received downlink information to the processor 180; in addition, the uplink data is transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the terminal device 100 by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, and an application program required by at least one function (such as a human physiological data analysis function, a human motion data analysis function, etc.); the storage data area may store data (human body physiological data, motion data of a portion of the human body to be collected) created according to the use of the terminal device 100, and the like. For example, when the terminal device 100 is a wearable device, the wearable device may store data collected by a sensor in a storage data area thereof; when the terminal device 100 is a mobile terminal such as a mobile phone or a tablet computer, the mobile terminal may receive data sent by the wearable device and store the data in a storage data area of the mobile terminal. Further, the memory 120 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.
The input unit 130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device 100. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 131 (e.g., operations of the user on or near the touch panel 131 using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program.
The display unit 140 can be used to display information input by the user or information provided to the user and various menus of the terminal device 100, such as outputting a received electrocardiographic signal. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 131 can cover the display panel 141, and when the touch panel 131 detects a touch operation on or near the touch panel 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in fig. 1, the touch panel 131 and the display panel 141 are two independent components to implement the input and output functions of the terminal device 100, in some embodiments, the touch panel 131 and the display panel 141 may be integrated to implement the input and output functions of the terminal device 100.
The terminal device 100 may also include at least one sensor 150. Illustratively, when the mobile terminal 100 is a wearable device, the sensor 150 may include, for example, a motion sensor, an electrocardiograph sensor, or the like. Specifically, as one of the motion sensors, the accelerometer sensor may detect the magnitude of acceleration in each direction (generally, three axes), and may detect the magnitude and direction of gravity when stationary, and may be used for applications of recognizing the posture of the terminal device 100 (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device 100, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and terminal device 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then transmits the audio data to, for example, another terminal device 100 via the RF circuit 110, or outputs the audio data to the memory 120 for further processing.
The terminal device 100 may wirelessly communicate with other devices through the short-range Wireless communication module 170, for example, the short-range Wireless communication module 170 may be integrated with at least one of a near field communication module, a bluetooth communication module, a Wireless local area network (WiFi) module, and the like. For example, when the terminal device 100 is a wearable device, the wearable device may establish a wireless communication connection with a mobile terminal such as a mobile phone or a tablet computer through a short-distance wireless communication module, and send preset human physiological data and/or motion data of a collected part of a human body, which are collected through a sensor, to the mobile terminal; when the terminal device 100 is a mobile terminal such as a mobile phone or a tablet computer, the mobile terminal may establish a wireless communication connection with the wearable device through the short-distance wireless communication module, and receive preset human physiological data and/or motion data of a collected part of a human body and the like sent by the wearable device.
It is understood that, although not shown in fig. 1, the terminal device 100 may further include a wired communication interface, such as a Universal Serial Bus (USB) interface, through which the terminal device 100 can establish a wired communication connection with other terminal devices 100 and perform wired communication. For example, when the terminal device 100 is a wearable device, the wearable device may establish a wired communication connection with a mobile terminal such as a mobile phone or a tablet computer through a USB interface, and send preset human body physiological data and/or motion data of a collected part of a human body, which are collected by a sensor, to the mobile terminal through a USB data line; when the terminal device 100 is a mobile terminal such as a mobile phone or a tablet computer, the mobile terminal may receive preset human physiological data and/or motion data of a collected part of a human body, which are sent by the wearable device, through the USB interface.
The processor 180 is a control center of the terminal device 100, connects various parts of the entire terminal device 100 by various interfaces and lines, and performs various functions of the terminal device 100 and processes data by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the terminal device 100. Alternatively, processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The terminal device 100 further includes a power supply 190 (e.g., a battery) for supplying power to the various components, and preferably, the power supply may be logically connected to the processor 180 via a power management system, so as to manage charging, discharging, and power consumption via the power management system.
Referring to fig. 2, fig. 2 is a block diagram of an exemplary structure of a data acquisition system according to an embodiment of the present application, where data acquired by the data acquisition system is mainly used to assist in screening paroxysmal cardiovascular diseases, and as shown in fig. 2, the data acquisition system includes a mobile terminal 210 and a wearable device 220. The wearable device 220 may establish a wireless communication connection with the mobile terminal 210 through a short-range wireless communication manner, or the wearable device 220 may also establish a wired communication connection with the mobile terminal 210 through a wired communication manner, and the embodiment of the present application does not limit any specific communication manner between the wearable device 220 and the mobile terminal 210.
Specifically, after the user wears the wearable device 220 and starts the data collection function of the wearable device 220, the wearable device 220 may collect data of the user through a sensor built in the wearable device for collecting data. The data can be set according to actual requirements, for example, the data can be electrocardiosignals of a human body, acceleration motion data (auxiliary identification interference data) of the human body, and the like.
The wearable device 220 may upload the data of the sensor to the mobile terminal 210. For example, the wearable device 220 may establish a communication connection with the mobile terminal 210 through a short-range wireless communication manner or a wired communication manner, and upload data of the sensor to the mobile terminal 210. The mobile terminal 210 may store data from the sensors of the wearable device 220. Here, the mobile terminal 210 may be used as a device for data processing, data analysis, and measurement result presentation. The wearable device 220 may send the collected data to the mobile terminal 210, and the mobile terminal 210 processes the data (for example, performs rectangular filtering, smooth denoising, interference data deletion, data splicing, and the like), analyzes whether the user has paroxysmal cardiovascular disease based on the existing machine learning method, and displays the measurement result through a display unit of the mobile terminal 210, or performs voice notification through a speaker. It should be noted that, the above is only an example of the way of displaying the measurement result, and it is not limited to this application, and other ways may also be adopted in the embodiment of the present application to display the measurement result, which is not particularly limited in this embodiment.
In addition, the mobile terminal 210 may also be only used as a device for verifying the wearable device 220, and based on that the mobile terminal 210 performs identity authentication on the wearable device, the logged-in wearable device is bound to the mobile terminal 210, and the bound wearable device can receive information of the mobile device, such as a call notification, a short message notification, and an instant messaging notification. Here, the data collection, data processing, data analysis, and measurement result display are implemented by the wearable device 220. To this end, after the wearable device bound with the mobile terminal 210 starts the measurement function (i.e., starts to collect data), data for helping to screen paroxysmal cardiovascular diseases may be collected, and after the collected data is processed (such as rectangular filtering, smooth denoising, interference data deletion, data splicing, etc.), whether the paroxysmal cardiovascular diseases exist in the user is analyzed based on the existing machine learning method for the processed data, and the measurement result is displayed through the display unit of the wearable device 220, or is notified through a speaker. It should be noted that, the above is only an example of the way of displaying the measurement result, and it is not limited to this application, and other ways may also be adopted in the embodiment of the present application to display the measurement result, which is not particularly limited in this embodiment.
In addition, the wearable device 220 may also process the acquired data, and then upload the processed data to the mobile terminal 210, and perform data analysis through the mobile terminal 210, and the mobile terminal 210 may perform measurement result display through the mobile terminal 210 after performing data analysis. It is understood that the mobile terminal 210 may also send the analyzed measurement result to the wearable device 220 for presentation by the wearable device 220.
It can be understood that the data acquisition system may further include only the wearable device 220, the wearable device 220 may implement a call function, an information transceiving function, and the like, and meanwhile, the wearable device 220 further has a data acquisition function, a data processing function, a data analysis function, and a measurement result display function.
The following embodiment will describe a data acquisition method provided in the embodiment of the present application, taking the terminal device 100 as an example.
Referring to fig. 3, fig. 3 is a schematic flowchart of a data acquisition method provided in an embodiment of the present application, and in the embodiment, an execution subject of the process is a terminal device, which may be, for example and without limitation, the wearable device 220 shown in fig. 2 or the mobile terminal 210 shown in fig. 2.
As shown in fig. 3, the data acquisition method provided in this embodiment specifically includes steps S110 to S190, which are detailed as follows:
s110: the data acquisition function is started.
In this embodiment, when the terminal device is a wearable device, that is, the execution subject of the process is a wearable device, the user may start the data acquisition function of the wearable device after wearing the wearable device, and after the data acquisition function of the wearable device is turned on, the wearable device may acquire the physiological data of the sporter through a built-in sensor for acquiring the physiological data (such as a cardiac signal). Here, the user can send an instruction for starting the measurement function of the wearable device to the wearable device through the mobile terminal, and then start the measurement function of the wearable device, and also can directly start the measurement function through the wearable device, for example, a button or a control for starting the function is pressed, and then a corresponding start instruction is generated, and then the measurement function of the wearable device is started. In addition, the measurement function can be started to collect the physiological data and the motion data of a specific position of the human body. The motion data can be used to assist in detecting whether the user moves the wearable device and whether the magnitude of the motion meets a preset motion state (e.g., an action to answer a call).
In this embodiment, the sensor may be a sensor provided in the wearable device. The specific type of the data may be set according to actual requirements, and is not limited herein, for example, when a preset physiological characteristic of a human body needs to be detected, the data may include human physiological data capable of representing the preset physiological characteristic, for example, when an activity characteristic of a human heart needs to be detected, the data may include an electrocardiographic signal capable of representing the activity characteristic of the human heart; or, when the motion state of the human body needs to be detected, the data may further include motion data capable of characterizing the motion state of the human body, such as acceleration of the human body.
In a specific application, different sensors corresponding to data can be configured in the wearable device according to different data types. For example, when the data includes an electrocardiographic signal of a human body, an electrocardiographic sensor for acquiring the electrocardiographic signal of the human body may be configured in the wearable device, wherein the electrocardiographic sensor may include, but is not limited to, a photoplethysmography (PPG) sensor, an Electrocardiograph (ECG) sensor, or the like. Specifically, as an example and not by way of limitation, when the wearable device is an electronic device such as a bracelet or a watch capable of directly contacting the skin of the user, and the electrocardiograph sensor is a PPG sensor, the PPG sensor may be disposed in an area near the back of the watch face in the watch face of the bracelet or the watch, so that the user wears the bracelet or the watch, and when the area on the back of the watch face of the bracelet or the watch is in contact with the skin of the user, the PPG sensor in the bracelet or the watch may acquire electrocardiograph signals of the user based on the change in blood volume of the part worn by the user. Further, when acquiring an electrocardiographic signal of a human body, if the data further includes motion data of an acquired part of the human body, a motion sensor for acquiring the motion data of the human body may be further configured in the wearable device, where the motion sensor may include, but is not limited to, an acceleration sensor, and the like. The human body is gathered the position that the human body wore wearable equipment.
In this embodiment, when the user wears the wearable device and starts the data collection function of the wearable device, the wearable device may control the corresponding sensor to collect data for the user. Illustratively, when the data comprises electrocardiosignals of a human body, a user can start an electrocardiosignal acquisition function of the wearable device, and when the wearable device detects that the user starts the electrocardiosignal acquisition function, the wearable device controls the electrocardiosignal sensor to acquire the electrocardiosignals of the user, wherein the electrocardiosignals of the user acquired by the sensor are the data to be acquired by the application; when the data also include the motion data of the part of the human body to be collected, the user can start the motion data collection function of the wearable device, and when the wearable device detects that the user starts the motion data collection function, the motion sensor is controlled to collect the motion data of the part of the user to be collected.
In this embodiment, when the terminal device is a mobile terminal such as a mobile phone and a tablet computer, that is, the execution subject of the process is the mobile terminal such as a mobile phone and a tablet computer, the start data acquisition function may be that the mobile terminal sends an instruction for starting the data acquisition function to the wearable device, so as to start the data acquisition function.
In this embodiment, after the data acquisition function is started, the terminal device may perform related data acquisition, and the terminal device may further store the acquired data in a local storage for storage.
In this embodiment, when the terminal device is a wearable device, that is, when the execution subject of the process is a wearable device, the wearable device may store data from the sensor in its local memory, and based on this, when performing data analysis based on the collected data, the wearable device may obtain the data from its local memory. In another possible implementation manner of this embodiment, when the terminal device is a mobile terminal such as a mobile phone and a tablet computer, that is, an execution subject of the process is the mobile terminal such as the mobile phone and the tablet computer, the wearable device may upload data from the sensor to the mobile terminal, and the mobile terminal may store the data sent by the wearable device in a local storage of the mobile terminal, and based on this, when performing data analysis based on the collected data, the mobile terminal may obtain the data from the local storage thereof.
S120: monitoring whether an interference event occurs in the data acquisition process; and if an interference event occurs in the data acquisition process, executing S130, otherwise, continuously monitoring until the measurement is finished.
In this embodiment, since the measurement process requires a long period of time, an interference event is likely to occur in the measurement process, and therefore, in the process of data acquisition, the terminal device may also monitor whether an interference event occurs in real time. It can be understood that some of the above interference events are events that need to be processed by the user in time to avoid missing important information, such as real-time call events; some interference events are events that can be processed after the measurement is finished, such as information check events; still other interference events are interference events caused by the user greatly moving the terminal device, such as action interference events like the user answering a call.
In this embodiment, whether an interference event occurs in the data acquisition process of the mobile terminal can be classified into the following two cases:
1. it is monitored whether a clearly defined interference event occurs.
In this case, the terminal device can unambiguously determine such an interference event that is the meaning of the interference event, for example, a real-time call event, a short message check event, an instant messaging check event, an information push event of an application of the terminal device, etc. For these interference events, the terminal device can directly determine which interference event the interference event is specific to. For example, when a call is made (i.e. a real-time call event occurs), the terminal device receives a corresponding message prompt requesting a real-time call, and may determine that the interference event is a real-time call event. That is, when the terminal device receives the message prompt requesting the real-time call, it may be determined that an interference event, i.e., a real-time call event, occurs in the data acquisition process. For another example, when the terminal device receives the short message, the terminal device receives the corresponding message alert of receiving the short message, and further may determine that the interference event is a short message check-in event. That is, when the terminal device receives the message alert of receiving the short message, it can be determined that the interference event of checking and receiving the short message occurs in the data acquisition process.
When monitoring whether a definite interference event occurs, only monitoring whether a corresponding message prompt is received, and if the corresponding message prompt is received, indicating that the interference event corresponding to the message prompt occurs.
2. Monitoring whether a disturbance event without definite meaning occurs.
Here, during data collection, a user wearing the wearable device may inadvertently lift a hand, or shake a hand, or wait for an action-disturbing event, and there is no way for the wearable device to determine what disturbance specifically occurred. I.e. interference events of no clear significance. For such a disturbance event, it may be recognized whether a disturbance event occurs based on assistance data of an auxiliary sensor (e.g., an acceleration sensor, etc.) of the terminal device and based on an existing motion gesture algorithm.
S130: judging whether the interference event is an interference event to be processed in real time; if the interference event is to be processed in real time, executing S140, otherwise executing S200
In this embodiment, when it is monitored that an interference event occurs in the data acquisition process, the terminal device may determine which interference event the interference event is, and further determine whether the interference event is an interference event to be processed in real time. In this embodiment, the interference event to be processed in real time refers to an event that needs to be processed by the user in real time. Here, the priority of each type of interference event may be preset, and then whether the interference event is an interference event to be processed in real time may be determined based on the priority of the interference event.
In addition, the interference event sent by the specific user can be set as an interference event to be processed in real time, for example, a call made by the specific user, information (including but not limited to a short message and an instant messaging message) sent by the specific user, and the like. It should be noted that the number of specific users may be one or multiple, and is not limited herein. The specific user can be added to the specific user list by setting the specific user list, each time the terminal device receives the interference event, the user initiating the interference event is obtained, whether the user is the specific user or not is judged, and if the user is the specific user (in the specific user list), the interference event is determined to be the interference event to be processed in real time. If the user is not a specific user (not in the specific user list), the priority corresponding to the interference event may be further determined, and then it is determined whether the interference event is an interference event to be processed in real time based on the priority of the interference event. The above specific user list may be defined by a user, the user adds a user considered important by the user to the list, the list may include a user identifier (such as a telephone number, a name, a nickname, and other identifiers), and whether the user initiating the interference event is in the specific user list is determined by the user identifier, which is not described in detail herein.
Referring to fig. 4, as an implementation manner of this embodiment, the process of identifying whether the interference event is an interference event to be processed in real time may specifically include the following steps:
s131: obtaining a priority of the interference event.
S132: if the priority of the interference event is a first preset priority level, determining the interference event as an interference event to be processed in real time; and if the priority of the interference event is a second preset priority level, determining that the interference event is a non-to-be-processed interference event in real time.
In a specific application, the priority of each interference event type can be preset. The interference events can be classified into three types in advance, wherein the first type is the interference event needing to be processed in real time; the second type is an interference event that can be processed after the measurement is finished; the third category is motion disturbance events. The priority of the first type of interference event is preset as a first preset priority level, the priority of the second type of interference event is preset as a second preset priority level, and the priority of the third type of interference event is preset as a third preset priority level. When the terminal equipment monitors that the interference event occurs, the corresponding processing strategy can be adopted to process the interference event by determining the priority of the interference event.
It should be noted that the first preset priority level, the second preset priority level, and the third preset priority level are preset for distinguishing various interference events, and a user may preset which interference events are included in various interference events according to actual application requirements, and may also preset a priority order of each preset priority level. Here, the priority of the first preset priority level may be set higher than the priority of the second preset priority level. Similarly, the priority of the first preset priority level may also be set to be lower than the priority of the second preset priority level, which is not limited herein.
S140: and storing the collected data, accessing the interference event, and starting background data collection while accessing the interference event.
In this embodiment, when it is determined that the interference event is an interference event to be processed in real time, which needs to be processed in real time, the acquired data is first stored, for example, the acquired data is stored in a memory of the terminal device. After the acquired data is stored, accessing the interference event to be processed in real time, such as accessing a real-time call event, and meanwhile, starting a background of the terminal device to continue to acquire data, so as to ensure that the data acquisition process is not interrupted.
S150: and acquiring motion data, and determining the motion amplitude of the motion data according to the motion data.
S160: and determining a target data segment which meets a preset motion state in data acquired simultaneously with the motion data according to the motion amplitude of the motion data.
S170: and if the interference degree of the target data segment exceeds a preset interference range, determining the target data segment as an interference data segment.
In this embodiment, in the process of collecting data, the mobile wearable device or the mobile terminal (for example, an action of lifting a hand or picking up a mobile phone when answering a call) may interfere with the collected data, so that the collected data has interference information. By acquiring motion data based on a motion sensor while acquiring target data (i.e., physiological data for analyzing cardiovascular disease), a target data segment satisfying a preset motion state is then determined based on a motion amplitude of the motion data. And determining whether the target data segment is an interference data segment based on the signal interference degree of the target data segment. Because the interference generated by some action interference on the acquired data is relatively small, whether the target data segment is the interference data segment or not needs to be further determined according to the signal interference degree of the target data segment, only when the interference degree of the target data segment exceeds a preset interference range, the target data segment is determined as the interference data segment, effective data is kept as far as possible, and when background data is stored, the interference data is deleted, so that the influence of the interference data on an analysis result is avoided, and the accuracy of a measurement result is improved.
It should be noted that, the meeting of the preset motion state refers to that the motion amplitude of the motion data is greater than a preset amplitude threshold, and the preset amplitude threshold may be set according to an actual requirement, which is not limited herein. It should be further noted that the interference degree may be determined according to a signal-to-noise ratio of the acquired data, and the preset interference range may be set according to an actual situation, which is not limited herein.
S180: and if the interference data segments exist in the data segments acquired by the background, deleting the interference data segments to obtain effective data segments.
Here, when the interference data segment is identified to exist in the data segment acquired in the background, in order to avoid the influence of the interference data on the analysis result, the accuracy of the measurement result is provided, and the interference data segment may be deleted from the data segment acquired in the background, so as to obtain an effective data segment without interference.
S190: and obtaining target acquisition data according to the data fragments acquired before the interference event is accessed and the data fragments acquired in the background.
In this embodiment, the terminal device may perform data splicing on the data segment acquired before accessing the interference event and the data segment acquired in the background based on the acquisition time of each data segment, so as to obtain the target acquisition data.
Referring to fig. 5, a DP1 is a data fragment acquired before accessing the interference event, a DP2 is a data fragment acquired in the background, and based on the acquisition time of the data fragment acquired in the background and the acquisition time of the data fragment acquired in the background, the terminal device may splice DP1 and DP2 in order from early to late to obtain the target acquisition data 1.
Referring to fig. 6, as a possible implementation manner of this embodiment, when there is an interference data fragment DP3 in a data fragment DP2 acquired in the background, the interference data fragment DP3 may be deleted from the data fragment DP2 acquired in the background to obtain a remaining valid data fragment DP4, and then the data fragment DP1 acquired before the interference event is accessed is data-spliced with the valid data fragment DP4 to obtain the target acquisition data 2.
It should be noted that the terminal device may also splice the data segment acquired before accessing the interference event and the data segment acquired at the background, then screen out the interference data segment in the spliced data, and then delete the interference data segment from the spliced data, thereby obtaining the target data segment.
It should be further noted that, there may not be an interference data segment in the data segment acquired by the background, there may also be only one interference data segment, and there may also be multiple interference data segments, which is not limited herein. For the condition that multiple interference data fragments exist in the data fragments acquired by the background, multiple effective data fragments can be obtained after the data fragments acquired by the multiple interference data fragments from the background are deleted, at the moment, only data splicing is needed to be carried out according to the acquisition time of each effective data fragment and the sequence from morning to evening, and then a section of continuous acquired data can be obtained, and the continuous liniment data is the target acquired data for data analysis.
S200: and accessing the interference event after the measurement is finished.
In this embodiment, when it is determined that the interference event is a non-to-be-processed interference event that does not need to be processed in real time, the non-to-be-processed interference event may not be processed temporarily in the data acquisition process, and the terminal device may continue to acquire data until the measurement is completed, so that the interference event does not affect the measurement process, and the interference event is accessed after the measurement is completed, thereby ensuring that the interference event can be processed in time and is not ignored. For example, a short message notification, an instant messaging notification, an application push notification, etc. are displayed after the measurement is finished.
The data acquisition method provided by the embodiment of the application can open the background to continuously acquire data while processing the interference event to be processed in real time, and then after the interference is finished, the data fragment before the interference event is accessed and the data fragment acquired by the background are spliced to obtain target acquisition data, namely, the event needing real-time processing can be processed in time, and the data can be continuously acquired, so that the measurement process is not influenced, the effective information acquired before the interference is arrived can be ensured not to be discarded, the condition of omitting partial effective data is avoided, the reliability and the availability of the acquired data are effectively improved, and the total time consumption of measurement is shortened. In the data acquisition process, the interference event which is not to be processed in real time can be temporarily not processed, data acquisition is continued until the measurement is finished, the measurement process is not influenced, the interference event is accessed after the measurement is finished, and the interference event can be timely processed and is not ignored. Different processing strategies are adopted for interference events with different priority levels, so that important information is not missed while the data acquisition efficiency is improved. The problems that partial effective data are easy to omit, reliability and availability of the acquired data are low, and measurement time consumption is long due to the fact that the conventional wearable device data acquisition process guarantees that important information is processed in time are effectively solved.
Corresponding to the data acquisition method described in the foregoing embodiment, fig. 7 shows a structural block diagram of a terminal device provided in the present embodiment, where each unit included in the terminal device is used to execute each step in the foregoing embodiment, and please refer to the relevant description in the foregoing embodiment specifically, and for convenience of description, only the relevant parts related to the present embodiment are shown. In practical application, the terminal device may be a wearable device, or may be a mobile terminal such as a mobile phone and a tablet computer. Referring to fig. 7, the terminal device 100 includes a first processing unit 110 and a splicing unit 120. Wherein:
the first processing unit 110 is configured to, if an interference event is monitored to occur in a data acquisition process, determine that the interference event is an interference event to be processed in real time; storing the collected data, accessing the interference event, and starting background data collection while accessing the interference event.
The splicing unit 120 is configured to obtain target acquisition data according to the data segment acquired before the access to the interference event and the acquired data segment acquired after the access to the interference event.
In an embodiment of the application, the terminal device further includes a deleting unit, where the deleting unit is configured to delete an interference data segment if the interference data segment exists in the data segments acquired by the background, so as to obtain an effective data segment. Correspondingly, the splicing unit is specifically configured to splice the data segment acquired before the access of the interference event and the valid data segment to obtain target acquisition data.
In an embodiment of the present application, the terminal device further includes a first determining unit, a second determining unit, and a verifying unit. Wherein:
the first determining unit is used for acquiring motion data and determining the motion amplitude of the motion data according to the motion data.
And the second determining unit is used for determining a target data segment which meets a preset motion state in data acquired simultaneously with the motion data according to the motion amplitude of the motion data.
The checking unit is used for determining the target data segment as an interference data segment if the interference degree of the target data segment exceeds a preset interference range.
In an embodiment of the application, the splicing unit is specifically configured to splice data according to the acquisition time of the data segment acquired before the access of the interference event and the acquisition time of the data segment acquired in the background, so as to obtain the target acquisition data.
In an embodiment of the present application, the terminal device further includes a monitoring unit and an identification unit. Wherein:
the monitoring unit is used for monitoring whether an interference event occurs in the data acquisition process.
The identification unit is used for judging whether the interference event is to-be-processed in real time or not if the interference event occurs in the data acquisition process.
In an embodiment of the present application, the identifying unit includes a priority obtaining unit and a determining unit. Wherein:
the priority acquiring unit is used for acquiring the priority of the interference event.
The judging unit is used for determining the interference event as the interference event to be processed in real time if the priority of the interference event is a first preset priority level; and if the priority of the interference event is a second preset priority level, determining that the interference event is a non-to-be-processed interference event in real time.
In an embodiment of the application, the terminal device further includes a second processing unit, where the second processing unit is configured to access the interference event after the measurement is finished if the interference event is monitored to occur in the acquisition process and the interference event is a non-to-be-processed interference event.
It can be seen from the above that, the terminal device provided in the embodiment of the present application can start the background to continuously collect data while processing the interference event to be processed in real time, and then after the interference is finished, splice the data fragment before the access interference event and the data fragment collected by the background to obtain the target collected data, i.e., can timely process the event to be processed in real time, and can continuously collect data, without affecting the measurement process, and can also ensure that the collected effective information before the interference arrives is not discarded, thereby avoiding the situation of missing part of the effective data, effectively improving the reliability and the availability of the collected data, and shortening the total time consumed by measurement.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a terminal device according to another embodiment of the present application. As shown in fig. 8, the terminal device 100 of this embodiment includes: at least one processor 80 (only one shown in fig. 8), a memory 81, and a computer program 82 stored in the memory 81 and executable on the at least one processor 80, the processor 80 implementing the steps in any of the various data acquisition method embodiments described above when executing the computer program 82.
The terminal device 100 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 80, a memory 81. Those skilled in the art will appreciate that fig. 8 is merely an example of the terminal device 100, and does not constitute a limitation of the terminal device 100, and may include more or less components than those shown, or combine some components, or different components, such as an input/output device, a network access device, and the like.
The Processor 80 may be a Central Processing Unit (CPU), and the Processor 80 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 81 may be an internal storage unit of the terminal device 100 in some embodiments, for example, a hard disk or a memory of the terminal device 100. The memory 81 may also be an external storage device of the terminal device 100 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are equipped on the terminal device 100. Further, the memory 81 may also include both an internal storage unit and an external storage device of the terminal device 100. The memory 81 is used for storing an operating system, an application program, a Boot Loader (Boot Loader), data, and other programs, such as program codes of the computer programs. The memory 81 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps in the data acquisition method can be implemented.
The embodiment of the application provides a computer program product, and when the computer program product runs on a mobile terminal, the steps in the data acquisition method can be realized when the mobile terminal executes the computer program product.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be respectively connected to a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Finally, it should be noted that: the above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of data acquisition, comprising:
if an interference event occurs in the data acquisition process and is monitored to be processed in real time, storing the acquired data, accessing the interference event, and starting background data acquisition while accessing the interference event;
and obtaining target acquisition data according to the data fragments acquired before the interference event is accessed and the data fragments acquired in the background.
2. The data acquisition method according to claim 1, wherein if an interference event occurs during data acquisition and the interference event is an interference event to be processed in real time, the acquired data is saved and the interference event is accessed, and after background data acquisition is started while the interference event is accessed, the method further comprises:
if the interference data fragments exist in the data fragments acquired by the background, deleting the interference data fragments to obtain effective data fragments;
correspondingly, the obtaining target acquisition data according to the data segment acquired before the access of the interference event and the data segment acquired in the background comprises:
and carrying out data splicing on the data segment acquired before the interference event is accessed and the effective data segment to obtain target acquisition data.
3. The data acquisition method according to claim 2, wherein before deleting the interference data segment to obtain the valid data segment if there is an interference data segment in the data segments acquired in the background, the method further comprises:
acquiring motion data, and determining a motion amplitude of the motion data according to the motion data;
determining a target data segment which meets a preset motion state in data acquired simultaneously with the motion data according to the motion amplitude of the motion data;
and if the interference degree of the target data segment exceeds a preset interference range, determining the target data segment as an interference data segment.
4. The data acquisition method according to any one of claims 1 to 3, wherein the obtaining target acquisition data according to the data segment acquired before accessing the interference event and the data segment acquired in the background comprises:
and carrying out data splicing according to the acquisition time of the data fragments acquired before the interference event is accessed and the acquisition time of the data fragments acquired in the background to obtain the target acquisition data.
5. The data acquisition method according to claim 1, wherein if an interference event occurs during the data acquisition process and the interference event is an interference event to be processed in real time, the acquired data is saved and the interference event is accessed, and before starting background data acquisition while accessing the interference event, the method further comprises:
monitoring whether an interference event occurs in the data acquisition process;
and if an interference event occurs in the data acquisition process, judging whether the interference event is an interference event to be processed in real time.
6. The data acquisition method according to claim 5, wherein if an interference event occurs during the data acquisition process, determining whether the interference event is an interference event to be processed in real time includes:
acquiring the priority of the interference event;
if the priority of the interference event is a first preset priority level, determining the interference event as an interference event to be processed in real time;
and if the priority of the interference event is a second preset priority level, determining that the interference event is a non-to-be-processed interference event in real time.
7. The data acquisition method according to any one of claims 1 to 5, further comprising:
and if an interference event occurs in the acquisition process and is monitored to be a non-interference event to be processed in real time, accessing the interference event after the measurement is finished.
8. A terminal device, comprising:
the device comprises a first processing unit, a second processing unit and a processing unit, wherein the first processing unit is used for monitoring whether an interference event occurs in the data acquisition process and is an interference event to be processed in real time; storing the collected data, accessing the interference event, and starting background data collection while accessing the interference event;
and the splicing unit is used for obtaining target acquisition data according to the data fragments acquired before the interference event is accessed and the acquired data fragments acquired after the interference event is accessed.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the data acquisition method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the data acquisition method according to any one of claims 1 to 7.
CN202010115816.4A 2020-02-24 2020-02-24 Data acquisition method, terminal equipment and storage medium Pending CN113288049A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010115816.4A CN113288049A (en) 2020-02-24 2020-02-24 Data acquisition method, terminal equipment and storage medium
PCT/CN2020/131531 WO2021169443A1 (en) 2020-02-24 2020-11-25 Data collection method, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010115816.4A CN113288049A (en) 2020-02-24 2020-02-24 Data acquisition method, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113288049A true CN113288049A (en) 2021-08-24

Family

ID=77317843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010115816.4A Pending CN113288049A (en) 2020-02-24 2020-02-24 Data acquisition method, terminal equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113288049A (en)
WO (1) WO2021169443A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115903681A (en) * 2022-10-26 2023-04-04 江苏合信环境发展有限公司 Method and system for acquiring energy consumption data of sewage plant

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105493496A (en) * 2014-12-14 2016-04-13 深圳市大疆创新科技有限公司 Video processing method, and device and image system
CN106155610A (en) * 2015-04-16 2016-11-23 中兴通讯股份有限公司 A kind of screen operating method and device
CN106502804A (en) * 2016-10-31 2017-03-15 武汉斗鱼网络科技有限公司 A kind of pop-up methods of exhibiting and system based on queue structure
WO2017088156A1 (en) * 2015-11-26 2017-06-01 华为技术有限公司 Blood pressure parameter measuring method and user equipment
CN107837082A (en) * 2017-11-27 2018-03-27 乐普(北京)医疗器械股份有限公司 Electrocardiogram automatic analysis method and device based on artificial intelligence self study
CN109758140A (en) * 2019-01-09 2019-05-17 平安科技(深圳)有限公司 A kind of heart rate detection method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR112015001898A2 (en) * 2012-08-01 2017-07-04 Koninklijke Philips Nv system for identifying movement artifacts; and method for identifying movement artifacts
CN104935727B (en) * 2015-04-24 2018-08-31 广东小天才科技有限公司 A kind of method and device that intelligent wearable device receives calls
US10154129B2 (en) * 2015-05-15 2018-12-11 Polar Electro Oy Wearable electronic apparatus
US11166640B2 (en) * 2017-06-02 2021-11-09 Apple Inc. Physiological sampling during predetermined activities
CN107550489A (en) * 2017-10-16 2018-01-09 何史林 Without invasion formula ECG Signal Sampling System
CN108184021A (en) * 2017-12-28 2018-06-19 维沃移动通信有限公司 A kind of application operation condition control method and mobile terminal
US10778833B2 (en) * 2018-03-13 2020-09-15 T-Mobile Usa, Inc. Mobile computing device notification mode determination

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105493496A (en) * 2014-12-14 2016-04-13 深圳市大疆创新科技有限公司 Video processing method, and device and image system
CN106155610A (en) * 2015-04-16 2016-11-23 中兴通讯股份有限公司 A kind of screen operating method and device
WO2017088156A1 (en) * 2015-11-26 2017-06-01 华为技术有限公司 Blood pressure parameter measuring method and user equipment
CN106502804A (en) * 2016-10-31 2017-03-15 武汉斗鱼网络科技有限公司 A kind of pop-up methods of exhibiting and system based on queue structure
CN107837082A (en) * 2017-11-27 2018-03-27 乐普(北京)医疗器械股份有限公司 Electrocardiogram automatic analysis method and device based on artificial intelligence self study
CN109758140A (en) * 2019-01-09 2019-05-17 平安科技(深圳)有限公司 A kind of heart rate detection method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115903681A (en) * 2022-10-26 2023-04-04 江苏合信环境发展有限公司 Method and system for acquiring energy consumption data of sewage plant
CN115903681B (en) * 2022-10-26 2023-10-24 江苏合信环境发展有限公司 Sewage plant energy consumption data acquisition method and system

Also Published As

Publication number Publication date
WO2021169443A1 (en) 2021-09-02

Similar Documents

Publication Publication Date Title
CN105930631B (en) Method for measuring bio-signals and wearable electronic device thereof
KR102620178B1 (en) Electronic device and operating method thereof
KR20170136317A (en) Electronic apparatus and operating method thereof
CN104636034A (en) Assembled electronic apparatus and control method thereof
KR102223376B1 (en) Method for Determining Data Source
CN109561420B (en) Emergency help-seeking method and related equipment
CN112015502A (en) Display processing method and device
AU2018299499B2 (en) Method for iris recognition and related products
CN110476404A (en) Message acquisition method and device
CN108958593A (en) A kind of method and mobile terminal of determining communication object
CN105807908B (en) A kind of method and apparatus of switching working mode
CN113040778B (en) Diagnostic report generation method and device, terminal equipment and readable storage medium
CN112764543B (en) Information output method, terminal equipment and computer readable storage medium
WO2021169443A1 (en) Data collection method, terminal device and storage medium
WO2021031979A1 (en) Acquisition method and device for physiological parameter and processing method and device for physiological parameter
CN109246595A (en) Method of locating terminal, mobile terminal and computer readable storage medium
WO2021135932A1 (en) Data acquisition method, terminal device, and storage medium
CN107506628A (en) Biometric discrimination method and Related product
CN114532992A (en) Method, device and system for detecting snooze state and computer readable storage medium
CN111603154B (en) Method and device for detecting heart rhythm, storage medium and mobile terminal
CN113703641A (en) Message preview method and device, wearable device and computer readable storage medium
CN113873075A (en) Notification message management method, system and mobile terminal
CN109902484B (en) Processing method of associated application and terminal
CN112101215A (en) Face input method, terminal equipment and computer readable storage medium
CN111613333A (en) Self-service health detection method and device, storage medium and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination